2008-11-14 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-14  Dan Williams  <dcbw@redhat.com>
2
3         Handle gateways on different subnets
4
5         * src/NetworkManagerSystem.c
6                 - (add_ip4_route_to_gateway): gateway route should be link scope and
7                         a host route
8                 - (replace_default_ip4_route): use a destination address too; gateway
9                         address should be /0; don't leak the gateway route object
10
11 2008-11-14  Dan Williams  <dcbw@redhat.com>
12
13         * libnm-glib/libnm_glib.ver
14           libnm-glib/nm-dbus-settings-system.c
15           libnm-glib/nm-dbus-settings-system.h
16                 - Add libnm-glib bits for CanModify
17
18 2008-11-14  Dan Williams  <dcbw@redhat.com>
19
20         * introspection/nm-settings-system.xml
21           system-settings/src/dbus-settings.c
22           system-settings/src/dbus-settings.h
23                 - Add a "CanModify" property to indicate if any plugins support
24                         connection modification
25
26 2008-11-14  Dan Williams  <dcbw@redhat.com>
27
28         Relicense libnm-glib to LGPLv2+ with agreement from contributors
29
30 2008-11-14  Dan Williams  <dcbw@redhat.com>
31
32         * vpn-manager/nm-vpn-connection.c
33                 - (plugin_state_changed): clear VPN secrets on error to ensure they
34                         are always requested from the settings service (rh #429287)
35
36 2008-11-13  Dan Williams  <dcbw@redhat.com>
37
38         * libnm-util/crypto.c
39                 - (crypto_get_private_key_data): fix bad initial arg type checking
40                         from pkcs#12 patch
41
42 2008-11-13  Dan Williams  <dcbw@redhat.com>
43
44         Add support for PKCS#12 private keys (bgo #558982)
45
46         * libnm-util/crypto.c
47           libnm-util/crypto.h
48                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
49                         take a GByteArray instead of a filename
50                 - (file_to_g_byte_array): handle private key files too
51                 - (decrypt_key): take a GByteArray rather than data + len
52                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
53                         one function that takes a filename, and one that takes raw data;
54                         detect pkcs#12 files as well
55                 - (crypto_load_and_verify_certificate): detect file type
56                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
57                         functions
58
59         * libnm-util/crypto_gnutls.c
60                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
61                         whereby tail padding was incorrectly handled, leading to erroneous
62                         successes when trying to decrypt the data
63                 - (crypto_verify_cert): rework somewhat
64                 - (crypto_verify_pkcs12): validate pkcs#12 keys
65
66         * libnm-util/crypto_nss.c
67                 - (crypto_init): enable various pkcs#12 ciphers
68                 - (crypto_decrypt): take a GByteArray rather than data + len
69                 - (crypto_verify_cert): clean up
70                 - (crypto_verify_pkcs12): validate pkcs#12 keys
71
72         * libnm-util/test-crypto.c
73                 - Handle pkcs#12 keys
74
75         * libnm-util/nm-setting-8021x.c
76           libnm-util/nm-setting-8021x.h
77           libnm-util/libnm-util.ver
78                 - Add two new properties, 'private-key-password' and
79                         'phase2-private-key-password', to be used in conjunction with
80                         pkcs#12 keys
81                 - (nm_setting_802_1x_set_ca_cert_from_file,
82                    nm_setting_802_1x_set_client_cert_from_file,
83                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
84                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
85                         type
86                 - (nm_setting_802_1x_get_private_key_password,
87                    nm_setting_802_1x_get_phase2_private_key_password): return private
88                         key passwords
89                 - (nm_setting_802_1x_set_private_key_from_file,
90                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
91                         key from a file, and update the private key password at the same time
92                 - (nm_setting_802_1x_get_private_key_type,
93                    nm_setting_802_1x_get_phase2_private_key_type): return the private
94                         key type
95
96         * src/supplicant-manager/nm-supplicant-settings-verify.c
97                 - Whitelist private key passwords
98
99         * src/supplicant-manager/nm-supplicant-config.c
100                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
101                         add the private key password to the supplicant config, but do not
102                         add the client certificate (as required by wpa_supplicant)
103
104 2008-11-12  Tambet Ingo  <tambet@gmail.com>
105
106         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
107         (add_secrets): Don't add empty secrets to the secrets hash table.
108
109 2008-11-07  Dan Williams  <dcbw@redhat.com>
110
111         * libnm-util/nm-setting-wireless.c
112                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
113                         that cased this function to return garbage, breaking hidden AP
114                         detection
115
116 2008-11-07  Dan Williams  <dcbw@redhat.com>
117
118         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
119
120         * src/NetworkManagerSystem.c
121           src/NetworkManagerSystem.h
122                 - (nm_system_device_set_ip4_route): return the route that was added
123                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
124                         public, clean up, and return the route that was added
125                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
126                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
127                         flags to allow only certain attributes of the NMIP4Config to be
128                         applied
129
130         * src/nm-device.c
131                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
132                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
133                         what's really changed between the old and new configs; don't export
134                         the new IP4 config on failure; always send the DNS info to the
135                         named manager
136
137         * src/vpn-manager/nm-vpn-connection.c
138                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
139                         parent device's IP4Config and re-add the VPN gateway route when it
140                         changes
141                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
142                         nm_system_apply_ip4_config() no longer does) and cache it for later
143                 - (connection_state_changed): move cleanup code to its own function
144                 - (vpn_cleanup): delete any previously added VPN gateway route; and
145                         re-apply the parent device's addresses and routes using
146                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
147
148 2008-11-07  Dan Williams  <dcbw@redhat.com>
149
150         * src/nm-ip4-config.c
151           src/nm-ip4-config.h
152                 - (nm_ip4_config_diff): new function; return the difference between two
153                         IP4 configs
154                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
155
156 2008-11-05  Dan Williams  <dcbw@redhat.com>
157
158         * nm-ip4-config.c
159           nm-ip4-config.h
160                 - (nm_ip4_config_compare): compare two IP4 configs
161
162 2008-11-05  Dan Williams  <dcbw@redhat.com>
163
164         * src/NetworkManagerPolicy.c
165                 - (update_etc_hosts): only add newline if not the last line of the file
166                         (Jonathan Miner)
167
168 2008-11-05  Dan Williams  <dcbw@redhat.com>
169
170         * src/dhcp-manager/nm-dhcp-dhclient.c
171                 - (get_leasefile_for_iface): move lease files back to where dhclient
172                         puts them
173
174 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
175
176         * initscripts/Debian/NetworkManager
177                 - Update to what Debian is actually using
178
179 2008-11-05  Tambet Ingo  <tambet@gmail.com>
180
181         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
182
183 2008-11-03  Dan Williams  <dcbw@redhat.com>
184
185         * system-settings/src/main.c
186                 - (add_default_dhcp_connection): make the fallback connection read-only
187
188         * libnm-glib/nm-settings.c
189           libnm-glib/nm-settings.h
190                 - Add detailed errors
191                 - (impl_exported_connection_update, impl_exported_connection_delete):
192                         return an error if the connection is read-only
193
194         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
195           system-settings/plugins/keyfile/nm-keyfile-connection.c
196           system-settings/src/main.c
197                 - Use more detailed errors
198
199         * system-settings/src/nm-system-config-error.c
200           system-settings/src/nm-system-config-error.h
201           system-settings/src/dbus-settings.c
202                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
203                         NM_SETTINGS_ERROR_INVALID_CONNECTION
204
205 2008-11-02  Dan Williams  <dcbw@redhat.com>
206
207         * Add license headers to everything in src/
208
209 2008-11-02  Dan Williams  <dcbw@redhat.com>
210
211         * Tag 0.7.0-rc1
212
213 2008-11-02  Dan Williams  <dcbw@redhat.com>
214
215         * src/NetworkManagerAP.c
216                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
217                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
218                         secrets when connecting to an encrypted network failed
219
220 2008-10-30  Dan Williams  <dcbw@redhat.com>
221
222         * libnm-util/libnm-util.ver
223           libnm-util/nm-setting-ip6-config.c
224           libnm-util/nm-setting-ip6-config.h
225           libnm-util/Makefile.am
226                 - Make properties private and add accessor functions
227                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
228
229         * libnm-util/nm-connection.c
230           libnm-util/nm-utils.c
231           libnm-util/nm-utils.h
232                 - Ignore IPv6 stuff for now
233
234 2008-10-30  Dan Williams  <dcbw@redhat.com>
235
236         * libnm-util/libnm-util.ver
237           libnm-util/nm-setting-8021x.c
238           libnm-util/nm-setting-8021x.h
239                 - Make properties private and add accessor functions
240
241         * src/supplicant-manager/nm-supplicant-config.c
242           system-settings/plugins/ifcfg-suse/parser.c
243                 - Use 802.1x setting accessors
244
245 2008-10-30  Dan Williams  <dcbw@redhat.com>
246
247         * libnm-util/libnm-util.ver
248           libnm-util/nm-setting-wireless-security.c
249           libnm-util/nm-setting-wireless-security.h
250                 - Make properties private and add accessor functions
251
252         * libnm-util/nm-setting-wireless.c
253           src/NetworkManagerAP.c
254           src/nm-device-wifi.c
255           src/supplicant-manager/nm-supplicant-config.c
256           system-settings/plugins/ifcfg-fedora/reader.c
257           system-settings/plugins/ifcfg-suse/parser.c
258                 - Use wireless security accessors
259
260 2008-10-30  Dan Williams  <dcbw@redhat.com>
261
262         * src/nm-device-ethernet.c
263           src/nm-device-wifi.c
264           src/nm-device.c
265           src/ppp-manager/nm-ppp-manager.c
266                 - Harmonize return checking of ioctl
267
268         * system-settings/plugins/ifcfg-fedora/reader.c
269                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
270
271 2008-10-30  Dan Williams  <dcbw@redhat.com>
272
273         * src/ppp-manager/nm-ppp-manager.c
274                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
275                         ppp_generic module to create it (bgo #533064)
276
277 2008-10-30  Dan Williams  <dcbw@redhat.com>
278
279         Patch from Alexander Sack <asac@canonical.com>
280
281         Fix "ppp connections don't honour ip4 connection settings"
282
283         * src/nm-device-ethernet.c
284                 - (real_act_stage4_get_ip4_config): merge ip4config settings
285                         with results from ppp manager
286
287         * src/nm-serial-device.c
288                 - (real_act_stage4_get_ip4_config): merge ip4config settings
289                         with results from ppp manager
290
291 2008-10-29  Dan Williams  <dcbw@redhat.com>
292
293         * libnm-util/libnm-util.ver
294           libnm-util/nm-setting-ip4-config.c
295           libnm-util/nm-setting-ip4-config.h
296                 - Make properties private and add accessor functions
297
298         * callouts/nm-dispatcher-action.c
299           libnm-glib/libnm-glib-test.c
300           libnm-util/nm-utils.c
301           src/NetworkManagerPolicy.c
302           src/NetworkManagerSystem.c
303           src/NetworkManagerUtils.c
304           src/dhcp-manager/nm-dhcp-dhclient.c
305           src/dhcp-manager/nm-dhcp-manager.c
306           src/dnsmasq-manager/nm-dnsmasq-manager.c
307           src/nm-device-wifi.c
308           src/nm-device.c
309           src/nm-hso-gsm-device.c
310           src/nm-ip4-config.c
311           src/nm-ip4-config.h
312           src/ppp-manager/nm-ppp-manager.c
313           src/vpn-manager/nm-vpn-connection.c
314           system-settings/plugins/ifcfg-fedora/reader.c
315           system-settings/plugins/ifcfg-suse/parser.c
316           system-settings/plugins/ifcfg-suse/plugin.c
317           system-settings/plugins/ifupdown/parser.c
318           test/nm-tool.c
319           vpn-daemons/vpnc/properties/nm-vpnc.c
320                 - Use IP4 accessor functions
321
322 2008-10-29  Tambet Ingo  <tambet@gmail.com>
323
324         Half of it by Dan Williams <dcbw@redhat.com>
325
326         * libnm-util/libnm-util.ver
327         libnm-util/nm-setting-vpn.c
328         libnm-util/nm-setting-vpn.h
329                 - Make properties private and add accessor functions.
330
331         * src/vpn-manager/nm-vpn-connection.c
332         src/vpn-manager/nm-vpn-manager.c
333         system-settings/plugins/keyfile/reader.c
334         vpn-daemons/openvpn/properties/auth-helpers.c
335         vpn-daemons/openvpn/properties/import-export.c
336         vpn-daemons/openvpn/properties/nm-openvpn.c
337         vpn-daemons/openvpn/src/nm-openvpn-service.c
338         vpn-daemons/pptp/auth-dialog/main.c
339         vpn-daemons/pptp/properties/advanced-dialog.c
340         vpn-daemons/pptp/properties/nm-pptp.c
341         vpn-daemons/pptp/src/nm-pptp-service.c
342         vpn-daemons/vpnc/properties/nm-vpnc.c
343         vpn-daemons/vpnc/src/nm-vpnc-service.c
344                 - Use VPN setting accessors.
345
346 2008-10-28  Dan Williams  <dcbw@redhat.com>
347
348         Patch from Tambet Ingo <tambet@gmail.com>
349
350         * libnm-util/libnm-util.ver
351           libnm-util/nm-setting-wireless.c
352           libnm-util/nm-setting-wireless.h
353                 - Make properties private and add accessor functions
354
355         * src/NetworkManagerAP.c
356           src/nm-device-wifi.c
357           src/nm-manager.c
358           src/supplicant-manager/nm-supplicant-config.c
359           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
360           system-settings/plugins/ifcfg-fedora/reader.c
361           system-settings/plugins/ifcfg-suse/parser.c
362           system-settings/plugins/ifupdown/parser.c
363                 - Use wireless setting accessors
364
365 2008-10-27  Dan Williams  <dcbw@redhat.com>
366
367         Patch from Tambet Ingo <tambet@gmail.com>
368
369         * libnm-util/libnm-util.ver
370           libnm-util/nm-setting-ppp.c
371           libnm-util/nm-setting-ppp.h
372                 - Make properties private and add accessor functions
373
374         * src/ppp-manager/nm-ppp-manager.c
375                 - Use ppp setting accessors
376
377 2008-10-27  Dan Williams  <dcbw@redhat.com>
378
379         Patch from Tambet Ingo <tambet@gmail.com>
380
381         * libnm-util/nm-setting.h
382           libnm-util/nm-setting.c
383                 - Make properties private and add accessor functions
384
385         * libnm-util/nm-connection.c
386           libnm-util/nm-setting-8021x.c
387           libnm-util/nm-setting-cdma.c
388           libnm-util/nm-setting-connection.c
389           libnm-util/nm-setting-gsm.c
390           libnm-util/nm-setting-ip4-config.c
391           libnm-util/nm-setting-ip6-config.c
392           libnm-util/nm-setting-ppp.c
393           libnm-util/nm-setting-pppoe.c
394           libnm-util/nm-setting-serial.c
395           libnm-util/nm-setting-template.c
396           libnm-util/nm-setting-vpn.c
397           libnm-util/nm-setting-wired.c
398           libnm-util/nm-setting-wireless-security.c
399           libnm-util/nm-setting-wireless.c
400           system-settings/plugins/keyfile/reader.c
401           system-settings/plugins/keyfile/writer.c
402                 - Use setting accessors
403
404 2008-10-27  Dan Williams  <dcbw@redhat.com>
405
406         * libnm-util/libnm-util.ver
407           libnm-util/nm-setting-connection.c
408           libnm-util/nm-setting-connection.h
409                 - Add a 'read-only' property that indicates the connection cannot be
410                         modified
411
412         * system-settings/plugins/ifcfg-fedora/reader.c
413           system-settings/plugins/ifcfg-suse/parser.c
414           system-settings/plugins/ifupdown/parser.c
415                 - These plugins are read-only at the moment
416
417         * system-settings/plugins/keyfile/reader.c
418           system-settings/plugins/keyfile/writer.c
419                 - Read-only shouldn't get saved out to files or read in from them
420
421 2008-10-27  Tambet Ingo  <tambet@gmail.com>
422
423         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
424         correct speed reporting for fast devices (kernel >= 2.6.27).
425
426 2008-10-26  Dan Williams  <dcbw@redhat.com>
427
428         Attempt to compensate for modems that don't enable full AT parsing before
429         the PIN has been entered.
430
431         * src/nm-gsm-device.c
432                 - (init_modem): accept different init strings
433                 - (init_done): try different init strings on failure
434                 - (check_pin_done): on PIN success, do full modem init
435
436 2008-10-26  Dan Williams  <dcbw@redhat.com>
437
438         Patch from Tambet Ingo <tambet@gmail.com>
439
440         * libnm-util/libnm-util.ver
441           libnm-util/nm-setting-connection.c
442           libnm-util/nm-setting-connection.h
443                 - Make properties private and add accessor functions
444
445         * src/NetworkManagerPolicy.c
446           src/nm-cdma-device.c
447           src/nm-device-ethernet.c
448           src/nm-device-interface.c
449           src/nm-device-wifi.c
450           src/nm-gsm-device.c
451           src/nm-manager.c
452           src/ppp-manager/nm-ppp-manager.c
453           src/vpn-manager/nm-vpn-connection.c
454           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
455           system-settings/plugins/ifcfg-fedora/plugin.c
456           system-settings/plugins/ifcfg-fedora/reader.c
457           system-settings/plugins/ifcfg-suse/parser.c
458           system-settings/plugins/ifupdown/parser.c
459           system-settings/plugins/keyfile/nm-keyfile-connection.c
460           system-settings/plugins/keyfile/plugin.c
461           system-settings/plugins/keyfile/writer.c
462           system-settings/src/main.c
463                 - Use those accessors
464
465 2008-10-26  Dan Williams  <dcbw@redhat.com>
466
467         Patch from Tambet Ingo <tambet@gmail.com>
468
469         * libnm-util/libnm-util.ver
470           libnm-util/nm-setting-gsm.c
471           libnm-util/nm-setting-gsm.h
472                 - Make properties private and add accessor functions
473
474         * src/nm-gsm-device.c
475           src/nm-hso-gsm-device.c
476           src/ppp-manager/nm-ppp-manager.c
477                 - Use those accessors
478
479 2008-10-26  Dan Williams  <dcbw@redhat.com>
480
481         Patch from Tambet Ingo <tambet@gmail.com>
482
483         * libnm-util/libnm-util.ver
484           libnm-util/nm-setting-cdma.c
485           libnm-util/nm-setting-cdma.h
486                 - Make properties private and add accessor functions
487
488         * src/nm-cdma-device.c
489           src/ppp-manager/nm-ppp-manager.c
490                 - Use those accessors
491
492 2008-10-26  Dan Williams  <dcbw@redhat.com>
493
494         Patch from Tambet Ingo <tambet@gmail.com>
495
496         * libnm-util/libnm-util.ver
497           libnm-util/nm-setting-pppoe.c
498           libnm-util/nm-setting-pppoe.h
499                 - Make properties private and add accessor functions
500
501         * src/nm-device-ethernet.c
502           src/ppp-manager/nm-ppp-manager.c
503                 - Use those accessors
504
505 2008-10-26  Dan Williams  <dcbw@redhat.com>
506
507         Patch from Tambet Ingo <tambet@gmail.com>
508
509         * libnm-util/libnm-util.ver
510           libnm-util/nm-setting-wired.c
511           libnm-util/nm-setting-wired.h
512                 - Make properties private and add accessor functions
513
514         * src/nm-device-ethernet.c
515           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
516           system-settings/plugins/ifcfg-suse/parser.c
517           system-settings/src/main.c
518                 - Use those accessors
519
520 2008-10-26  Dan Williams  <dcbw@redhat.com>
521
522         Patch from Tambet Ingo <tambet@gmail.com>
523
524         * libnm-util/libnm-util.ver
525           libnm-util/nm-setting-serial.c
526           libnm-util/nm-setting-serial.h
527           src/nm-serial-device.c
528                 - Make properties private and use accessors instead
529
530 2008-10-26  Dan Williams  <dcbw@redhat.com>
531
532         * src/supplicant-manager/nm-supplicant-interface.c
533           src/supplicant-manager/nm-supplicant-interface.h
534           src/supplicant-manager/nm-supplicant-manager.c
535           src/supplicant-manager/nm-supplicant-manager.h
536                 - Add state-to-string conversion functions
537
538         * src/nm-device-wifi.c
539           src/nm-device-ethernet.c
540                 - Normalize state info logging and use strings instead of numbers
541
542 2008-10-26  Dan Williams  <dcbw@redhat.com>
543
544         * src/NetworkManagerPolicy.c
545                 - (update_routing_and_dns): ignore host routes when determining whether
546                         a VPN connection should own the default route (bgo #552594)
547
548 2008-10-24  Dan Williams  <dcbw@redhat.com>
549
550         * src/nm-gsm-device.c
551                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
552
553 2008-10-23  Dan Williams  <dcbw@redhat.com>
554
555         * src/ppp-manager/nm-ppp-manager.c
556                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
557                         add really important stuff to the command line to ensure that NM
558                         overrides /etc/ppp/options (bgo #556781)
559
560 2008-10-22  Dan Williams  <dcbw@redhat.com>
561
562         * src/NetworkManagerSystem.c
563           src/nm-device.c
564                 - Use the device's IP interface where appropriate (Per Hallsmark)
565
566 2008-10-22  Dan Williams  <dcbw@redhat.com>
567
568         * src/nm-gsm-device.c
569                 - (schedule_automatic_registration_again): use a short timeout here
570                         instead of an idle handler to avoid using too much CPU polling for
571                         something we should be waiting a bit for anyway
572
573 2008-10-22  Dan Williams  <dcbw@redhat.com>
574
575         * include/NetworkManager.h
576           introspection/nm-device.xml
577                 - Add device state change reason for carrier changes
578
579         * src/nm-device-ethernet.c
580                 - (set_carrier): use the carrier change reason when changing device
581                         state in response to carrier changes
582
583 2008-10-21  Dan Williams  <dcbw@redhat.com>
584
585         * src/NetworkManagerPolicy.c
586                 - (update_etc_hosts): don't leak errors, and ensure that
587                         g_file_set_contents() gets a valid error placeholder (rh #461933)
588
589 2008-10-21  Dan Williams  <dcbw@redhat.com>
590
591         * src/nm-manager.c
592                 - (free_get_settings_info): don't use the DBusGProxy which could be
593                         disposed of by the time the function is called
594                 - (internal_new_connection_cb): save connection scope
595                 - (connection_get_settings_cb): don't replace a connection unless it's
596                         actually different from the existing one; fixes an issue where
597                         killing the settings service wouldn't deactivate an active connection
598                         provided by that settings service, because it was using a connection
599                         that had already been replaced in the system or user hash
600
601 2008-10-21  Dan Williams  <dcbw@redhat.com>
602
603         * src/NetworkManager.c
604                 - (main): keep the DHCP manager around since it's a singleton; fixes
605                         a use-after-free exposed by r4196 since the DHCP manager singleton
606                         variable isn't cleared when the DHCP manager object is finalized
607
608 2008-10-20  Dan Williams  <dcbw@redhat.com>
609
610         * libnm-util/nm-setting-wireless-security.c
611                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
612
613 2008-10-20  Dan Williams  <dcbw@redhat.com>
614
615         * src/supplicant-manager/nm-supplicant-config.c
616                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
617
618 2008-10-20  Dan Williams  <dcbw@redhat.com>
619
620         * src/dhcp-manager/nm-dhcp-manager.c
621                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
622                         manager object already refs it once
623                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
624                         also get cleaned up by nm_dhcp_device_destroy() to prevent
625                         double-frees
626
627 2008-10-20  Dan Williams  <dcbw@redhat.com>
628
629         * src/nm-manager.c
630                 - (initial_get_connections): use private dbus manager, don't keep
631                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
632                         manager object.
633
634 2008-10-18  Dan Williams  <dcbw@redhat.com>
635
636         * libnm-glib/nm-settings.c
637           libnm-glib/nm-settings.h
638                 - Rename the "get_secrets" virtual function "service_get_secrets" to
639                         clarify when it's used; NMExportedConnetion is a base-class for both
640                         the client and service side, which is sort of confusing, and
641                         get_secrets only makes sense on the service side.
642
643         * libnm-glib/nm-dbus-connection.c
644                 - (get_secrets): remove, unused, and clients need to do extra work to
645                         get secrets anyway since the call can block on the remote side
646
647         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
648           system-settings/plugins/keyfile/nm-keyfile-connection.c
649                 - Fix up for get_secrets -> service_get_secrets
650
651 2008-10-16  Dan Williams  <dcbw@redhat.com>
652
653         * src/nm-device-wifi.c
654                 - (constructor): correctly determine encryption capabilities
655
656 2008-10-15  Dan Williams  <dcbw@redhat.com>
657
658         * src/nm-device-wifi.c
659                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
660                         (Johannes Berg)
661
662 2008-10-15  Dan Williams  <dcbw@redhat.com>
663
664         * src/NetworkManagerSystem.c
665                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
666                         if the ip4_dest is in a smaller subnet contained within a subnet
667                         the machine is currently on, the destination is in the same subnet
668                 - (nm_system_device_set_ip4_route): move subnet checks to callers
669                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
670                         subnet as the parent device, and if so, don't add the direct
671                         host route via the parent device's gateway (bgo #481620)
672                 - (nm_system_apply_ip4_config): check whether the route to be added
673                         is contained within a subnet the device is already on
674
675 2008-10-11  Dan Williams  <dcbw@redhat.com>
676
677         * include/NetworkManager.h
678           introspection/nm-device.xml
679           include/NetworkManagerVPN.h
680                 - Add a few more state reasons for the device deactivated state
681
682         * src/nm-device-interface.c
683           src/nm-device-interface.h
684                 - (nm_device_interface_deactivate): add a 'reason' argument
685
686         * src/nm-device.c
687           src/nm-device.h
688                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
689                 - (nm_device_state_changed): pass the state change reason to
690                         nm_device_take_down()
691                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
692                         to the state change function
693
694         * src/nm-manager.c
695           src/nm-manager.h
696                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
697                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
698                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
699                         something reasonable along to VPN deactivation
700
701         * src/vpn-manager/nm-vpn-manager.c
702           src/vpn-manager/nm-vpn-manager.h
703                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
704                         pass that along to nm_vpn_connection_disconnect()
705
706 2008-10-11  Dan Williams  <dcbw@redhat.com>
707
708         * src/nm-device-wifi.c
709                 - (can_scan): remove old madwifi hack for not scanning while connected
710
711 2008-10-11  Dan Williams  <dcbw@redhat.com>
712
713         Add support for VPN subnet gateways (bgo #549196)
714
715         * include/NetworkManager.h
716                 - Add key for internal VPN subnet gateway
717
718         * src/vpn-manager/nm-vpn-connection.c
719                 - (ip_address_to_string): return a const from a static buffer so we
720                         don't leak a lot of strings
721                 - (print_vpn_config): print internal VPN gateway as well
722                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
723                         VPN service too
724                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
725
726         * src/NetworkManagerSystem.c
727           src/NetworkManagerSystem.h
728                 - (nm_system_device_replace_default_ip4_route): split into two, one for
729                         VPN connections and one for normal devices
730                 - (replace_default_ip4_route): break out route stuff into its own function
731                 - (nm_system_replace_default_ip4_route_vpn,
732                    nm_system_replace_default_ip4_route): simplify by having two cases,
733                         one for VPNs and one for normal devices
734
735         * src/NetworkManagerPolicy.c
736                 - (update_routing_and_dns): simplify, use split default route replacement
737                         functions
738
739 2008-10-10  Dan Williams  <dcbw@redhat.com>
740
741         Rework default route handling to consolidate decisions in the policy,
742         and to take active VPN connections into account when changing the default
743         route (bgo #545912)
744
745         * src/NetworkManager.c
746                 - (main): pass the vpn_manager to the policy so it knows about active
747                         VPN connections; clean up the named manager which wasn't done before
748
749         * src/NetworkManagerPolicy.c
750           src/NetworkManagerPolicy.h
751                 - (nm_policy_new): get a clue about the vpn_manager
752                 - (update_default_route): remove, fold into update_routing_and_dns()
753                 - (update_routing_and_dns): handle active VPN connections too; an
754                         active VPN connection becomes the default route if it does not have
755                         server-specified or user-specified custom routes.  Otherwise, the
756                         best active device gets the default route
757                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
758                    nm_policy_destroy): track VPN connection activation and deactivation
759                         and update the default route when appropriate
760
761         * src/NetworkManagerSystem.c
762           src/NetworkManagerSystem.h
763                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
764                         in the VPN connection itself
765                 - (nm_system_vpn_device_set_from_ip4_config,
766                    nm_system_device_set_from_ip4_config): merge together to make
767                         nm_system_apply_ip4_config()
768                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
769                         via the parent device
770                 - (nm_system_apply_ip4_config): simplify
771                 - (add_ip4_route_to_gateway): new function; add a direct route to the
772                         gateway if needed
773                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
774                         route stuff out into add_ip4_route_to_gateway() for clarity
775
776         * src/nm-device.c
777                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
778
779         * src/vpn-manager/nm-vpn-connection.c
780           src/vpn-manager/nm-vpn-connection.h
781                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
782                    nm_vpn_connection_get_parent_device): add
783                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
784                         device explicit
785                 - (connection_state_changed): update the named manager now that
786                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
787                         useful on errors
788
789         * src/vpn-manager/nm-vpn-manager.c
790           src/vpn-manager/nm-vpn-manager.h
791                 - Add a 'connection-activated' signal
792                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
793                         policy to find out about active VPN connections
794
795 2008-10-10  Tambet Ingo  <tambet@gmail.com>
796
797         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
798         a daemon to prevent NM logging spew on console on startup and shutdown (due
799         to dependency loop between NM and syslog).
800
801 2008-10-10  Alexander Sack  <asac@ubuntu.com>
802
803         Implement managed mode. We bind devices configured in /etc/network/interfaces
804         to their connections by updating wired/wireless setting with the
805         mac address of the device.
806
807         * system-settings/plugins/ifupdown/plugin.c
808                 - (get_net_address_for_udi): implement function to retrieve MAC
809                         address of udi from hal in GByteArray format
810                 - (bind_device_to_connection): bind mac address of device to
811                         wired/wireless system connection
812                 - (hal_device_added_cb): call bind_device_to_connection for
813                         system connections with a matching interface.name
814                 - (hal_device_added_cb): ensure that all code paths
815                         properly free the "iface" string.
816
817 2008-10-10  Alexander Sack  <asac@ubuntu.com>
818
819         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
820         mode of the ifupdown system config plugin.
821
822         * system-settings/plugins/ifupdown/plugin.c
823                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
824                         private unmanage_well_known state field accordingly
825
826 2008-10-10  Alexander Sack  <asac@ubuntu.com>
827
828         Implement unmanaged mode that will prevent all devices in the
829         well_known_udis set from being touched by NetworkManager
830
831         * system-settings/plugins/ifupdown/plugin.c
832                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
833                         unmanage_well_known field used to turn on/off unmanaged
834                         mode
835                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
836                         signal when well_known_udis get added/removed
837                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
838                         if we are in unmanaged mode
839
840 2008-10-10  Alexander Sack  <asac@ubuntu.com>
841
842         Add support to track network devices that have a configuration
843         with a matching interface.name in /etc/network/interfaces
844
845         * system-settings/plugins/ifupdown/plugin.c
846                 - (typedef struct SCPluginIfupdownPrivate): add hash table
847                         to track |well_known_udis|
848                 - (get_iface_for_udi): helper function to get interface.name
849                         for a udi
850                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
851                         that add and remove devices to and from the well_known_udis
852                         set depending on whether their |interface.name| matches
853                         any interface definition in /etc/network/interfaces
854                 - (SCPluginIfupdown_init): connect callbacks from above with
855                         hal_mgr and setup well_known_udis hashtable
856                 - (GObject__dispose): destroy well_known_udis hashtable
857                 - (hal_device_added_cb2): implement wrapper callback with GFunc
858                         signature. user_data is supposed to be a triple (hal_mgr,
859                         config and devtype)
860                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
861                         startup and call hal_device_added_cb2
862
863 2008-10-10  Alexander Sack  <asac@ubuntu.com>
864
865         Remove implementation for not used NMSystemConfigInterface callback functions
866         in ifupdown plugin
867
868         * system-settings/plugins/ifupdown/plugin.c
869                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
870                 - (SCPluginIfupdown_connection_added): removed
871
872 2008-10-08  Dan Williams  <dcbw@redhat.com>
873
874         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
875
876         * src/NetworkManagerUtils.c
877                 - (nm_utils_call_dispatcher): add a 'hostname' action
878
879         * src/NetworkManagerPolicy.c
880                 - (set_system_hostname): dispatch hostname changes
881
882         * callouts/nm-dispatcher-action.c
883                 - (nm_dispatcher_action): handle 'hostname' actions
884
885 2008-10-08  Dan Williams  <dcbw@redhat.com>
886
887         * src/NetworkManagerSystem.c
888                 - (find_route): ref the route so it doesn't get destroyed when the cache
889                         is cleared
890                 - (nm_system_device_set_priority): unref the route here after it's done
891                         being used
892
893 2008-10-08  Dan Williams  <dcbw@redhat.com>
894
895         * src/nm-serial-device.c
896                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
897
898 2008-10-08  Tambet Ingo  <tambet@gmail.com>
899
900         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
901         connection with new settings before saving it.
902
903 2008-10-06  Dan Williams  <dcbw@redhat.com>
904
905         * src/nm-ip4-config.c
906           src/nm-ip4-config.h
907                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
908
909         * src/nm-device-interface.c
910                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
911                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
912                         by using '/' for the object path
913
914         * src/nm-device.c
915                 - (src/nm-device.c): marshal missing/unexported ip4-config through
916                         dbus as '/' since dbus-glib can't handle NULL objects nor can
917                         dbus handle NULL object paths
918
919 2008-10-03  Alexander Sack  <asac@ubuntu.com>
920
921         Implement system hostname support for debian/ubuntu
922
923         * system-settings/plugins/ifupdown/plugin.c
924                 - (GObject__get_property): extend announced capabilities; add
925                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
926                 - (GObject__set_property,write_system_hostname): implement
927                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
928                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
929                    update_system_hostname, get_hostname):
930                         implement hostname property that watches and
931                         parses /etc/hostname
932
933 2008-10-03  Alexander Sack  <asac@ubuntu.com>
934
935         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
936           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
937           system-settings/plugins/ifcfg-fedora/Makefile.am
938           system-settings/src/nm-inotify-helper.c
939           system-settings/src/nm-inotify-helper.h
940           src/Makefile.am
941                 - Move ifcfg-fedora inotify helpers to the system settings service so
942                         they are available to all plugins
943
944 2008-10-03  Alexander Sack  <asac@ubuntu.com>
945
946         Implement support for wep-tx-keyidx in ifupdown system
947         config plugin.
948
949         * system-settings/plugins/ifupdown/parser.c
950                 - (update_wireless_security_setting_from_if_block): introduce
951                         free_type_mapping func table; rename a few local
952                         variables to improve readability; add wpa security mapping
953                         for wep-tx-keyidx property
954                 - (string_to_gpointerint): new function used for the auto_type_mapping
955                         of new wep-tx-keyidx property
956                 - (slist_free_all): free func used for mapped slist types
957
958 2008-10-03  Alexander Sack  <asac@ubuntu.com>
959
960         * system-settings/src/main.c:
961                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
962                         always used as the hash key; fixes a crash when removing wired
963                         devices
964
965 2008-10-02  Dan Williams  <dcbw@redhat.com>
966
967         * src/nm-gsm-device.c
968                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
969                         pass the required GSM secret along via user_data rather than keeping
970                         it around in the private data where it sometimes didn't get cleared
971                 - (real_get_ppp_name): implement using the GSM username
972
973 2008-10-02  Dan Williams  <dcbw@redhat.com>
974
975         * src/ppp-manager/nm-ppp-manager.c
976           src/ppp-manager/nm-ppp-manager.h
977                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
978                         the settings daemon for completely new ones
979                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
980                         local PPP peer name; allow PPP debuging by launching NM with
981                         the environment variable NM_PPP_DEBUG defined
982                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
983                         create_pppd_cmd_line()
984
985         * src/nm-serial-device.c
986           src/nm-serial-device.h
987                 - New 'get_ppp_name' function for subclasses to implement to return the
988                         local PPP peer name
989                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
990                         and pass that name to the PPP manager
991
992         * src/nm-device-ethernet.c
993                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
994                         the local peer name
995
996         * src/nm-cdma-device.c
997                 - (real_get_ppp_name): implement using the CDMA username
998
999 2008-10-02  Dan Williams  <dcbw@redhat.com>
1000
1001         Patch from Alexander Sack <asac ubuntu com>
1002
1003         * system-settings/plugins/ifupdown/parser.c
1004                 - Implement more graceful ip4 config parsing for cases where
1005                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1006                   by using default values
1007
1008 2008-10-02  Dan Williams  <dcbw@redhat.com>
1009
1010         * src/NetworkManagerPolicy.c
1011                 - (device_state_changed): when marking a connection invalid, clear its
1012                         secrets too so that fresh secrets get requested the next time
1013
1014 2008-10-01  Dan Williams  <dcbw@redhat.com>
1015
1016         * system-settings/src/dbus-settings.c
1017                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1018                         a fallback if no plugin provides a hostname
1019                 - (get_property): fall back to cached hostname if no plugin provides
1020                         a hostname
1021
1022 2008-10-01  Dan Williams  <dcbw@redhat.com>
1023
1024         Fix setting value comparison issue that caused some settings to look the
1025         same when they were really different (rh #464417)
1026
1027         * libnm-util/nm-param-spec-specialized.c
1028                 - (type_is_fixed_size): return fundamental size of the fixed type too
1029                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1030                         in the comparison so that the _entire_ fixed type collection gets
1031                         compared rather than just the first 'len1' bytes
1032
1033 2008-09-30  Dan Williams  <dcbw@redhat.com>
1034
1035         * src/NetworkManagerPolicy.c
1036                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1037                         idle handler could have already run and freed the LookupThread
1038                         structure
1039
1040 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1041
1042         * src/nm-device.c (nm_device_get_priority): Implement.
1043         (nm_device_set_ip4_config): Send the device priority to system ip4 
1044         config setter.
1045
1046         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1047         Add priority argument and if it's >= 0, set the priority of the network
1048         route added automatically by netlink (or kernel?).
1049         (nm_system_device_set_priority): Implement.
1050
1051         * src/NetworkManagerPolicy.c (get_best_device): Use 
1052         nm_device_get_priority() instead of home-grown version. Revert the
1053         meaning, best priority is the lowest one.
1054
1055 2008-09-29  Dan Williams  <dcbw@redhat.com>
1056
1057         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1058         when it returns EAGAIN (rh #362421)
1059
1060         * src/nm-device-wifi.c
1061                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1062                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1063
1064 2008-09-28  Dan Williams  <dcbw@redhat.com>
1065
1066         * src/nm-serial-device.c
1067           src/nm-serial-device.h
1068                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1069                         cleaned at the right times when subclasses close the serial port too
1070                 - (nm_serial_device_send_command): use a default send delay; don't
1071                         spin forever on EAGAIN
1072                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1073                         remove, no longer used
1074                 - (find_response): return the matched response if any
1075                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1076                         while doing so
1077                 - (wait_for_reply_done): pass the matched response to the callback
1078                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1079                         handling
1080                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1081                         const since they never get modified
1082                 - (cleanup_device): split out common cleanup stuff to a new function
1083                 - (real_deactivate_quickly, finalize): use cleanup_device()
1084
1085         * src/nm-gsm-device.c
1086                 - (modem_get_reply): remove, unused
1087                 - (set_apn): give the card a bit more time to respond
1088                 - (manual_registration_again, schedule_manual_registration_again,
1089                    manual_registration_response, manual_registration): handle manual
1090                         registration timeouts better by retrying registration a few times
1091                         because cards are a bit slow after CFUN=1
1092                 - (automatic_registration_get_network, get_network_response): use
1093                         modem_wait_for_reply() because it interacts better with the serial
1094                         buffer and does more intelligent matching; need to wait for 'OK'
1095                         rather than just matching terminators
1096                 - (schedule_automatic_registration_again,
1097                    automatic_registration_response, automatic_registration): retry
1098                         registration a few times on timeout or "searching" because cards
1099                         take a bit to find a network after being powered up with CFUN=1
1100                 - (power_up_response, power_up, init_full_done, enter_pin,
1101                    check_pin_done): power up the card with CFUN=1 before trying to
1102                         register with the network
1103                 - (init_modem_full, init_modem): use more standard 3G init strings
1104
1105         * src/nm-hso-gsm-device.c
1106                 - (modem_get_reply): remove, unused
1107                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1108                         modem_wait_for_reply() to match actual responses instead of single
1109                         termination characters; it doesn't leave stuff in the serial buffer
1110                         that might confuse later calls
1111                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1112                         to ensure that the call is really disconnected and not leave extra
1113                         stuff in the serial buffer
1114
1115         * src/nm-cdma-device.c
1116                 - (power_up_response, power_up, init_done): try Sierra-style modem
1117                         power up before attempting to connect
1118
1119 2008-09-27  Dan Williams  <dcbw@redhat.com>
1120
1121         * libnm-util/nm-setting-gsm.c
1122                 - (verify): verify GSM network ID
1123
1124 2008-09-25  Dan Williams  <dcbw@redhat.com>
1125
1126         * libnm-util/nm-setting-gsm.c
1127           libnm-util/nm-setting-gsm.h
1128                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1129                         technology terms (bgo #551361)
1130
1131 2008-09-25  Dan Williams  <dcbw@redhat.com>
1132
1133         Fix bgo #549401 (inspired by patch from Alexander Sack)
1134
1135         * src/nm-device-ethernet.c
1136                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1137                 - (remove_supplicant_interface_error_handler): remove the supplicant
1138                         error idle callback too
1139                 - (supplicant_interface_release): rename from supplicant_interface_clean
1140                         to match nm-device-wifi.c; clean up supplicant interface-related
1141                         state tasks when the supplicant interface is disposed of
1142                 - (schedule_state_handler): add scheduled tasks to a list so they can
1143                         be cleaned up later
1144                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1145                    supplicant_iface_connection_state_cb_handler): use
1146                         finish_supplicant_task() to clean up each completed task
1147                 - (supplicant_iface_connection_error_cb_handler,
1148                    supplicant_connection_timeout_cb): clear source id when the task is
1149                         complete
1150                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1151                         later cleanup
1152                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1153                         tasks
1154
1155         * src/nm-device-wifi.c
1156                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1157                 - (remove_supplicant_interface_error_handler): remove the supplicant
1158                         error idle callback too
1159                 - (supplicant_interface_release): clean up supplicant interface-related
1160                         state tasks when the supplicant interface is disposed of
1161                 - (schedule_state_handler): add scheduled tasks to a list so they can
1162                         be cleaned up later
1163                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1164                    supplicant_iface_connection_state_cb_handler): use
1165                         finish_supplicant_task() to clean up each completed task
1166                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1167                         the task is complete
1168                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1169                         later cleanup
1170                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1171
1172 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1173
1174         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1175         method and get/set hostname property.
1176
1177 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1178
1179         * src/supplicant-manager/nm-supplicant-interface.c
1180         (nm_supplicant_interface_disconnect): Don't increment the reference 
1181         count when disconnecting. The problem is on shutdown, when the replies
1182         to these commands do not arrive before NM exits, resulting on never
1183         calling supplicant interface's dispose(), which removes the interface
1184         from supplicant.
1185
1186 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1187
1188         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1189         all the public function arguments.
1190
1191 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1192
1193         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1194         "Failure" signal from VPN plugins, store the failure reason, and
1195         use it when the state is changed to failure.
1196
1197         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1198         description.
1199
1200         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1201         reason to the end of the list to not break the API.
1202         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1203         so it can be shared by plugins and daemon.
1204
1205 2008-09-18  Dan Williams  <dcbw@redhat.com>
1206
1207         Patch from Alexander Sack <asac@ubuntu.com>
1208
1209         * configure.in
1210           system-settings/plugins/Makefile.am
1211           system-settings/plugins/ifupdown/Makefile.am
1212           system-settings/plugins/ifupdown/interface_parser.c
1213           system-settings/plugins/ifupdown/interface_parser.h
1214           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1215           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1216           system-settings/plugins/ifupdown/parser.c
1217           system-settings/plugins/ifupdown/parser.h
1218           system-settings/plugins/ifupdown/plugin.c
1219           system-settings/plugins/ifupdown/plugin.h
1220                 - Implement a Debian/Ubuntu legacy network configuration plugin
1221                         (gnome.org #551941)
1222
1223 2008-09-18  Dan Williams  <dcbw@redhat.com>
1224
1225         Implement support for honoring configured and automatic hostnames, and for
1226         setting the configured hostname.
1227
1228         * introspection/nm-ip4-config.xml
1229           src/nm-ip4-config.c
1230           src/nm-ip4-config.h
1231           src/dhcp-manager/nm-dhcp-manager.c
1232                 - Remove useless hostname property; it's not really part of the IPv4
1233                         config
1234
1235         * introspection/nm-settings-system.xml
1236           libnm-glib/nm-dbus-settings-system.c
1237           libnm-glib/nm-dbus-settings-system.h
1238                 - Add SetHostname() call to system settings D-Bus interface
1239                 - Add Hostname property to system settings D-Bus interface
1240                 - (nm_dbus_settings_system_save_hostname,
1241                    nm_dbus_settings_system_get_hostname): implement
1242
1243         * src/nm-device.c
1244           src/nm-device.h
1245                 - (nm_device_get_dhcp4_config): implement
1246
1247         * src/nm-manager.c
1248           src/nm-manager.h
1249                 - Fetch and track system settings service hostname changes, and proxy
1250                         the changes via a GObject property of the manager
1251
1252         * system-settings/src/nm-system-config-interface.c
1253           system-settings/src/nm-system-config-interface.h
1254                 - Replace nm_system_config_interface_supports_add() with a capabilities
1255                         bitfield
1256
1257         * system-settings/src/nm-system-config-error.c
1258           system-settings/src/nm-system-config-error.h
1259                 - Add additional errors
1260
1261         * system-settings/src/dbus-settings.c
1262           system-settings/src/dbus-settings.h
1263                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1264                         property; first plugin returning a hostname wins
1265                 - (impl_settings_add_connection): use plugin capabilities instead of
1266                         nm_system_config_interface_supports_add()
1267                 - (impl_settings_save_hostname): implement hostname saving
1268
1269         * src/NetworkManagerPolicy.c
1270                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1271                    lookup_thread_die): implement an asynchronous hostname lookup thread
1272                         which given an IPv4 address tries to look up the hostname for that
1273                         address with reverse DNS
1274                 - (get_best_device): split out best device code from
1275                         update_routing_and_dns()
1276                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1277                         to preserve the 127.0.0.1 reverse mapping that so many things require
1278                 - (set_system_hostname): set a given hostname
1279                 - (update_system_hostname): implement hostname policy; a configured
1280                         hostname (from the system settings service) is used if available,
1281                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1282                         If there was no automatically determined hostname, reverse DNS of
1283                         the best device's IP address will be used, and as a last resort the
1284                         hostname 'localhost.localdomain' is set.
1285                 - (update_routing_and_dns): use get_best_device(); update the system
1286                         hostname when the network config changes
1287                 - (hostname_changed): update system hostname if the system settings
1288                         service signals a hostname change
1289                 - (nm_policy_new): list for system settings service hostname changes
1290                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1291                         gets told to die
1292
1293         * system-settings/plugins/keyfile/plugin.c
1294           system-settings/plugins/ifcfg-suse/plugin.c
1295                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1296                         capabilities properties
1297
1298         * system-settings/plugins/ifcfg-fedora/shvar.c
1299                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1300                         writes out /etc/sysconfig/network now
1301
1302         * system-settings/plugins/ifcfg-fedora/plugin.c
1303                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1304                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1305                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1306                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1307                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1308                         hostname get/set and capabilities get
1309
1310 2008-09-18  Dan Williams  <dcbw@redhat.com>
1311
1312         * libnm-util/nm-setting-wireless.c
1313                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1314                         group ciphers if the wireless-security setting explicitly specified
1315                         them, effectively making the default be "all ciphers"  (idea from
1316                         Alexander Sack)
1317
1318 2008-09-15  Dan Williams  <dcbw@redhat.com>
1319
1320         Patch from Alexander Sack <asac@ubuntu.com>
1321
1322         * src/named-manager/nm-named-manager.c
1323                 - (dispatch_resolvconf): respect resolvconf exit code
1324
1325 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1326
1327         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1328         again. Add some debugging.
1329
1330 2008-09-11  Dan Williams  <dcbw@redhat.com>
1331
1332         * system-settings/plugins/keyfile/plugin.c
1333                 - (update_connection_settings): update connection manually, since
1334                         nm_exported_connection_update() does authentication
1335                 - (dir_changed): update_connection_settings() doesn't need to return
1336                         an error
1337
1338 2008-09-09  Dan Williams  <dcbw@redhat.com>
1339
1340         * libnm-glib/nm-vpn-plugin-ui-interface.c
1341           libnm-glib/nm-vpn-plugin-ui-interface.h
1342           libnm-glib/libnm_glib_vpn.ver
1343                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1344                         should clean up resources related to the connection (like keyring
1345                         secrets)
1346                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1347                         should save user-scope secrets (like to the keyring)
1348
1349 2008-09-08  Dan Williams  <dcbw@redhat.com>
1350
1351         Patch from Alexander Sack <asac@ubuntu.com>
1352
1353         * libnm-util/crypto_gnutls.c
1354           libnm-util/crypto_nss.c
1355                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1356
1357         * libnm-util/nm-utils.c
1358           libnm-util/nm-utils.h
1359           libnm-util/libnm-util.ver
1360                 - (nm_utils_init): initialize libnm-util
1361                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1362
1363         * libnm-util/nm-setting-8021x.c
1364                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1365
1366 2008-09-05  Dan Williams  <dcbw@redhat.com>
1367
1368         Patch from Roy Marples <roy@marples.name> and others
1369
1370         * configure.in
1371           src/named-manager/nm-named-manager.c
1372                 - Add support for resolvconf; use --with-resolvconf at configure time
1373                         to enable it
1374
1375 2008-09-05  Dan Williams  <dcbw@redhat.com>
1376
1377         * libnm-util/crypto_nss.c
1378           libnm-util/crypto_gnutls.c
1379           libnm-util/crypto.h
1380                 - (crypto_init): return error when init fails
1381
1382 2008-09-05  Dan Williams  <dcbw@redhat.com>
1383
1384         * libnm-glib/nm-device-wifi.c
1385                 - (access_point_removed_proxy): clean up the active access point too
1386                         just in case the active ap changed signal didn't come through yet
1387                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1388
1389 2008-09-05  Dan Williams  <dcbw@redhat.com>
1390
1391         * libnm-glib/nm-client.c
1392                 - (constructor): get initial state after we know whether NM is running
1393                         or not
1394
1395 2008-09-05  Dan Williams  <dcbw@redhat.com>
1396
1397         * libnm-glib/nm-ip4-config.c
1398           libnm-glib/nm-dhcp4-config.c
1399                 - (finalize): clean up the DBusGProxy
1400
1401 2008-09-04  Dan Williams  <dcbw@redhat.com>
1402
1403         * src/nm-ip4-config.c
1404           src/nm-ip4-config.h
1405                 - (nm_ip4_config_new): don't export over D-Bus here
1406                 - (nm_ip4_config_export): new function; export the config over D-Bus
1407                 - (nm_ip4_config_is_exported): new function
1408
1409         * src/nm-device.c
1410                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1411                         objects by balancing the IP4Config constructor; the device holds
1412                         a reference to the IP4Config already
1413                 - (nm_device_set_ip4_config): export the IP4Config when needed
1414
1415 2008-09-04  Dan Williams  <dcbw@redhat.com>
1416
1417         * src/supplicant-manager/nm-supplicant-settings-verify.c
1418                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1419
1420 2008-09-04  Dan Williams  <dcbw@redhat.com>
1421
1422         * libnm-util/nm-setting-vpn.c
1423           libnm-util/nm-setting-vpn.h
1424                 - Split VPN secrets from VPN data so that settings services can actually
1425                         figure out that they are secrets and store them accordingly
1426
1427         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1428           system-settings/plugins/keyfile/reader.c
1429           system-settings/plugins/keyfile/reader.h
1430           system-settings/plugins/keyfile/writer.c
1431                 - Store VPN secrets separately from VPN data so that they can be fetched
1432                         on demand
1433                 - Implement the get_secrets() call so that (a) secrets don't leak out
1434                         to unprivileged callers, and (b) secrets can be sent to privileged
1435                         callers when needed
1436
1437         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1438                 - Handle split VPN secrets
1439
1440 2008-08-27  Dan Williams  <dcbw@redhat.com>
1441
1442         * system-settings/plugins/ifcfg-fedora/reader.c
1443                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1444
1445 2008-08-27  Dan Williams  <dcbw@redhat.com>
1446
1447         Ensure zombie children get cleaned up.  To get notifications when children
1448         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1449         that requires calling waitpid() yourself if you've removed the child watch
1450         handler before the process has actually died, which NM needs to do in a few
1451         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1452         cleans up after the child when required.  Should fix problems trying to
1453         activate mobile broadband connections after a previous failure.
1454
1455         * src/dhcp-manager/nm-dhcp-dhclient.c
1456           src/dhcp-manager/nm-dhcp-dhcpcd.c
1457                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1458
1459         * src/dhcp-manager/nm-dhcp-manager.c
1460                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1461                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1462                         block on child quitting, since the non-blocking functionality was
1463                         never actually used
1464
1465         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1466                 - (dm_watch_cb): child is already reaped here
1467                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1468
1469         * src/nm-device.c
1470                 - (aipd_cleanup): block until child is dead
1471
1472         * src/named-manager/nm-named-manager.c
1473                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1474                         event bothering to watch the child
1475
1476         * src/ppp-manager/nm-ppp-manager.c
1477                 - (ppp_watch_cb): child is already reaped here
1478                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1479
1480         * src/vpn-manager/nm-vpn-service.c
1481                 - (vpn_service_watch_cb): child is already reaped here
1482                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1483                         status of the child is actually tracked
1484                 - (ensure_killed, finalize): block until child is dead
1485
1486 2008-08-26  Dan Williams  <dcbw@redhat.com>
1487
1488         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1489                 - (update): Update filename of the connection if the connection id
1490                         was changed
1491
1492         * system-settings/plugins/keyfile/plugin.c
1493                 - (dir_changed): first pass at handling connection renames correctly
1494
1495         * system-settings/plugins/keyfile/writer.c
1496           system-settings/plugins/keyfile/writer.h
1497                 - (write_connection): replace '/' with '*' when writing out the filename
1498                         from the connection id
1499
1500 2008-08-26  Dan Williams  <dcbw@redhat.com>
1501
1502         Add connection UUIDs, since connection names can be changed, and since
1503         old-style connection IDs could change over the life of the connection.  The
1504         UUID should be assigned at connection creation time, be stable for a given
1505         connection, and should be unique among all connections for a given settings
1506         service.
1507
1508         * configure.in
1509           libnm-util/Makefile.am
1510                 - Require libuuid
1511
1512         * introspection/nm-exported-connection.xml
1513                 - Remove "GetID" method
1514
1515         * libnm-glib/nm-dbus-connection.c
1516           libnm-glib/nm-settings.c
1517           libnm-glib/nm-settings.h
1518                 - Remove id-related stuff
1519
1520         * libnm-util/nm-utils.c
1521           libnm-util/nm-utils.h
1522           libnm-util/libnm-util.ver
1523                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1524                         utility functions to generate UUIDs
1525
1526         * libnm-util/nm-setting-connection.c
1527           libnm-util/nm-setting-connection.h
1528                 - Add 'uuid' member to the connection setting
1529                 - (verify): require valid 'uuid' for a valid connection
1530
1531         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1532           system-settings/plugins/ifcfg-fedora/reader.c
1533           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1534           system-settings/plugins/ifcfg-suse/parser.c
1535           system-settings/plugins/keyfile/nm-keyfile-connection.c
1536           system-settings/src/main.c
1537                 - Remove id-related stuff
1538                 - Give connections UUIDs where needed
1539
1540 2008-08-25  Dan Williams  <dcbw@redhat.com>
1541
1542         * libnm-util/crypto_gnutls.c
1543           libnm-util/crypto_nss.c
1544                 - (crypto_init, crypto_deinit): refcount init/deinit
1545                 - (crypto_md5_hash): allow NULL salt
1546
1547 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1548
1549         * libnm-glib/Makefile.am
1550           libnm-util/Makefile.am
1551           libnm-glib/libnm_glib.ver
1552           libnm-glib/libnm_glib_vpn.ver
1553           libnm-util/libnm-util.ver
1554                 - Use linker version scripts to control the list of exported 
1555                 symbols. List each exported symbol explicitely.
1556         * libnm-util/Makefile.am
1557                 - Fix compilation of the test-crypto binary. The crypto
1558                 functions are no longer part of the libnm-util API. Add 
1559                 crypto_*.c to test_crypto_SOURCES and link against the correct
1560                 crypto libraries.
1561
1562 2008-08-19  Dan Williams  <dcbw@redhat.com>
1563
1564         * configure.in
1565           test/Makefile.am
1566                 - Don't build test/test-common
1567                 - Remove unused stuff
1568
1569         * test/nm-set-fallback
1570           test/nmtestdevices.c
1571           test/test-common/.cvsignore
1572           test/test-common/Makefile.am
1573           test/test-common/test-common.c
1574           test/test-common/test-common.h
1575                 - delete
1576
1577 2008-08-18  Dan Williams  <dcbw@redhat.com>
1578
1579         * libnm-util/nm-utils.c
1580           libnm-util/nm-utils.h
1581                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1582                         export anything that needs to be converted with this function
1583
1584         * src/dhcp-manager/nm-dhcp-manager.c
1585                 - (garray_to_string): convert a byte array to a UTF-8 string with
1586                         minimal validation; the DHCP client sends it in ASCII anyway
1587                 - (get_option, copy_option): use garray_to_string()
1588
1589 2008-08-18  Dan Williams  <dcbw@redhat.com>
1590
1591         * include/NetworkManager.h
1592           introspection/nm-device.xml
1593                 - Add a "missing firmware" device state reason
1594
1595         * src/NetworkManagerSystem.c
1596           src/NetworkManagerSystem.h
1597                 - (nm_system_device_set_up_down): add a no_firmware argument
1598                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1599                         IFF_UP is ENOENT, that almost always means missing firmware
1600
1601         * src/backends/NetworkManagerGeneric.c
1602           src/nm-device-ethernet.c
1603           src/nm-device-private.h
1604           src/nm-device-wifi.c
1605           src/nm-device.c
1606           src/nm-device.h
1607           src/nm-hso-gsm-device.c
1608           src/vpn-manager/nm-vpn-connection.c
1609                 - Pass no_firmware along; check it where appropriate
1610
1611 2008-08-18  Dan Williams  <dcbw@redhat.com>
1612
1613         Patch from Robert Buchholz <rbu@gentoo.org>
1614
1615         * autogen.sh
1616           configure.in
1617                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1618                         1003.1-1988, allowing for file names longer than 99 characters
1619
1620 2008-08-17  Dan Williams  <dcbw@redhat.com>
1621
1622         * include/NetworkManager.h
1623           introspection/nm-device.xml
1624           src/nm-gsm-device.c
1625                 - Finer-grained GSM registration failure error codes
1626
1627 2008-08-17  Dan Williams  <dcbw@redhat.com>
1628
1629         * callouts/Makefile.am
1630           src/Makefile.am
1631                 - Move dispatcher directory creation to callouts/Makefile.am
1632
1633         * system-settings/plugins/keyfile/Makefile.am
1634                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1635
1636 2008-08-15  Dan Williams  <dcbw@redhat.com>
1637
1638         Do connection sharing in a cleaner manner; all required iptables rules
1639         are now stored in the activation request and pertain only to the device
1640         which is being shared to other computers. (rh #458625)
1641
1642         * src/nm-activation-request.c
1643           src/nm-activation-request.h
1644                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1645                         the activation request which will get torn down automatically when
1646                         the activation request dies
1647                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1648                         is started, and tear them down when sharing is stopped
1649
1650         * src/nm-device.c
1651                 - (start_sharing): start up sharing by doing the required iptables magic
1652                 - (share_init): poke the right bits of the kernel and load the right
1653                         modules for NAT
1654                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1655                         connection if it's a 'shared' connection
1656
1657         * src/NetworkManagerPolicy.c
1658                 - Remove all sharing stuff; done in the device code itself
1659
1660 2008-08-15  Dan Williams  <dcbw@redhat.com>
1661
1662         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1663                 - (create_dm_cmd_line): send the right router address
1664
1665 2008-08-15  Dan Williams  <dcbw@redhat.com>
1666
1667         * src/ppp-manager/nm-ppp-manager.c
1668                 - (pppd_timed_out): ensure timeouts fail the connection
1669
1670 2008-08-14  Dan Williams  <dcbw@redhat.com>
1671
1672         * src/nm-properties-changed-signal.c
1673           src/nm-properties-changed-signal.h
1674                 - Add a property spec flag for "don't export this property" in
1675                         property changed signals
1676
1677         * src/nm-hso-gsm-device.c
1678           src/nm-gsm-device.c
1679           src/nm-cdma-device.c
1680                 - Don't export monitor interface or netdev interface properties
1681
1682 2008-08-14  Dan Williams  <dcbw@redhat.com>
1683
1684         * src/NetworkManagerPolicy.c
1685                 - (update_routing_and_dns): 'hso' devices can be default even if they
1686                         don't have a gateway
1687
1688 2008-08-14  Dan Williams  <dcbw@redhat.com>
1689
1690         * src/nm-device.c
1691                 - (nm_device_deactivate_quickly): tear down activation request after
1692                         calling device-specific deactivation
1693
1694         * src/nm-hso-gsm-device.c
1695                 - (real_deactivate_quickly): terminate connection when deactivating
1696
1697 2008-08-14  Dan Williams  <dcbw@redhat.com>
1698
1699         * src/nm-activation-request.h
1700                 - Add HSO secrets caller
1701
1702         * src/nm-gsm-device.c
1703           src/nm-gsm-device.h
1704                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1705                         something to the callback function
1706                 - (set_apn, set_apn_done): call class dial function, not a static one
1707                 - (nm_gsm_device_class_init): add a class 'dial' function
1708
1709         * src/nm-hal-manager.c
1710                 - (get_hso_netdev): find the hso-driven hardware's net device
1711                 - (modem_device_creator): recognize hso-driven hardware and create the
1712                         right type of device object for it
1713
1714         * src/Makefile.am
1715           src/nm-hso-gsm-device.c
1716           src/nm-hso-gsm-device.h
1717                 - Implement support for devices driven by the 'hso' driver as a subclass
1718                         of NMGsmDevice
1719
1720 2008-08-14  Dan Williams  <dcbw@redhat.com>
1721
1722         * src/NetworkManagerSystem.c
1723                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1724                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1725                         success if the operation really was successful
1726
1727 2008-08-14  Dan Williams  <dcbw@redhat.com>
1728
1729         * src/nm-netlink-monitor.c
1730           src/nm-netlink-monitor.h
1731           src/nm-device-ethernet.c
1732                 - (nm_netlink_monitor_request_status): return an error on failure
1733                 - (constructor): don't segfault on missing error
1734
1735 2008-08-13  Dan Williams  <dcbw@redhat.com>
1736
1737         * callouts/nm-dispatcher-action.c
1738                 - Add IP4 config info to script environment
1739
1740 2008-08-12  Dan Williams  <dcbw@redhat.com>
1741
1742         * src/nm-device.c
1743                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1744                         that want to use DHCP hostnames should use dispatcher scripts
1745                         for that
1746
1747         * src/NetworkManagerSystem.h
1748           src/backends/NetworkManagerArch.c
1749           src/backends/NetworkManagerDebian.c
1750           src/backends/NetworkManagerFrugalware.c
1751           src/backends/NetworkManagerGeneric.c
1752           src/backends/NetworkManagerGeneric.h
1753           src/backends/NetworkManagerGentoo.c
1754           src/backends/NetworkManagerMandriva.c
1755           src/backends/NetworkManagerPaldo.c
1756           src/backends/NetworkManagerRedHat.c
1757           src/backends/NetworkManagerSlackware.c
1758           src/backends/NetworkManagerSuSE.c
1759                 - Remove nm_system_set_hostname(), no longer used
1760           
1761         * src/backends/Makefile.am
1762           src/backends/shvar.c
1763           src/backends/shvar.h
1764                 - Remove shvar.*; no longer used
1765
1766 2008-08-12  Dan Williams  <dcbw@redhat.com>
1767
1768         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1769         hostname is updated at runtime.  Distros or users who want hostname updates
1770         can use dispatcher scripts to update the hostname if they need it.
1771
1772 2008-08-12  Dan Williams  <dcbw@redhat.com>
1773
1774         * introspection/nm-settings-system.xml
1775           system-settings/src/dbus-settings.c
1776           system-settings/src/dbus-settings.h
1777                 - Add a 'Hostname' property (rw) which represents the configured
1778                         hostname and domain of the system, if any
1779
1780         * system-settings/src/nm-system-config-error.c
1781           system-settings/src/nm-system-config-error.h
1782           system-settings/src/nm-system-config-interface.c
1783           system-settings/src/nm-system-config-interface.h
1784                 - Add a 'hostname' property to the plugin interface
1785                 - Add a method to send updated hostname to plugins to save in their
1786                         backing configuration store
1787
1788         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1789           system-settings/plugins/keyfile/plugin.c
1790           system-settings/plugins/keyfile/writer.c
1791           system-settings/plugins/keyfile/writer.h
1792           system-settings/plugins/ifcfg-suse/plugin.c
1793                 - Add minimal hostname support
1794
1795         * system-settings/plugins/ifcfg-fedora/plugin.c
1796                 - Add support for updating system hostname in /etc/sysconfig/network
1797
1798 2008-08-12  Dan Williams  <dcbw@redhat.com>
1799
1800         * system-settings/plugins/ifcfg-fedora/shvar.c
1801           system-settings/plugins/ifcfg-fedora/shvar.c
1802                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1803
1804 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1805
1806         * Makefile.am: Fix distcheck.
1807
1808 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1809
1810         * libnm-glib/*.c. Document some more.
1811
1812 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1813
1814         Start documenting libnm-glib public API using gtk-doc.
1815
1816         * libnm-glib/nm-serial-device.c: 
1817         * libnm-glib/nm-object.c: 
1818         * libnm-glib/nm-gsm-device.c: 
1819         * libnm-glib/nm-device.c: 
1820         * libnm-glib/nm-device-wifi.c: 
1821         * libnm-glib/nm-device-ethernet.c: 
1822         * libnm-glib/nm-client.c: 
1823         * libnm-glib/nm-cdma-device.c: Document the public API.
1824
1825         * docs/libnm-glib/libnm-glib.types: Implement.
1826
1827         * docs/libnm-glib/Makefile.am: Implement.
1828
1829         * autogen.sh: 
1830         * configure.in: 
1831         * Makefile.am: Add gtk-doc support.
1832
1833 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1834
1835         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1836
1837         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1838         the composite result of all the IP4 configurations and call a distro
1839         specific update_resolv_conf().
1840         (update_resolv_conf): Implement one for directly writing to 
1841         /etc/resolv.conf and one for opensuse to call netconfig.
1842
1843 2008-08-11  Dan Williams  <dcbw@redhat.com>
1844
1845         * src/ppp-manager/nm-ppp-manager.c
1846                 - (impl_ppp_manager_need_secrets): pass interface as required
1847
1848 2008-08-11  Dan Williams  <dcbw@redhat.com>
1849
1850         Merge the vpn-properties setting with the vpn setting since it was pointless
1851         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1852         of string:string (instead of string:variant) so that system settings plugins
1853         can have an easier time dealing with the arbitrary key/value pairs.
1854
1855 2008-08-11  Dan Williams  <dcbw@redhat.com>
1856
1857         * libnm-util/nm-utils.c
1858                 - (nm_utils_register_value_transformations): add value transform for
1859                         a hash table of string:string
1860
1861 2008-08-10  Dan Williams  <dcbw@redhat.com>
1862
1863         * libnm-glib/nm-vpn-plugin.c
1864                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1865                         an idle handler so the Connect reply gets delivered before the
1866                         stop StateChanged signal
1867
1868 2008-08-10  Dan Williams  <dcbw@redhat.com>
1869
1870         * src/nm-ip4-config.c
1871                 - (get_property): use common ip4 address/route conversion functions
1872                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1873                         copy the new route here, not take ownership
1874
1875 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1876
1877         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1878         Update the IP4 setting's method name.
1879
1880 2008-08-07  Dan Williams  <dcbw@redhat.com>
1881
1882         * introspection/nm-ip4-config.xml
1883           libnm-glib/libnm-glib-test.c
1884           libnm-glib/nm-ip4-config.c
1885           libnm-glib/nm-ip4-config.h
1886           src/NetworkManagerSystem.h
1887           src/backends/NetworkManagerArch.c
1888           src/backends/NetworkManagerDebian.c
1889           src/backends/NetworkManagerFrugalware.c
1890           src/backends/NetworkManagerGeneric.c
1891           src/backends/NetworkManagerGeneric.h
1892           src/backends/NetworkManagerGentoo.c
1893           src/backends/NetworkManagerMandriva.c
1894           src/backends/NetworkManagerPaldo.c
1895           src/backends/NetworkManagerRedHat.c
1896           src/backends/NetworkManagerSlackware.c
1897           src/backends/NetworkManagerSuSE.c
1898           src/dhcp-manager/nm-dhcp-manager.c
1899           src/nm-device.c
1900           src/nm-ip4-config.c
1901           src/nm-ip4-config.h
1902                 - Remove NIS logic; should be done from dispatcher scripts instead
1903
1904 2008-08-07  Dan Williams  <dcbw@redhat.com>
1905
1906         * src/dhcp-manager/nm-dhcp-manager.c
1907                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1908                         mis-handling of DHCP responses that returned more than one router
1909                         (found by Grant Williamson)
1910
1911 2008-08-07  Dan Williams  <dcbw@redhat.com>
1912
1913         * callouts/nm-dispatcher-action.c
1914                 - (nm_dispatcher_action): grab device path and create the device; pass
1915                         the device's DHCP4 config to script caller
1916                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1917                         scripts
1918
1919         * libnm-glib/nm-dhcp4-config.c
1920           libnm-glib/nm-dhcp4-config.h
1921                 - (nm_dhcp4_config_get_options): expose
1922                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1923
1924 2008-08-07  Dan Williams  <dcbw@redhat.com>
1925
1926         * include/NetworkManager.h
1927                 - Add the DHCP4Config D-Bus interface
1928
1929         * libnm-glib/Makefile.am
1930           libnm-glib/nm-dhcp4-config.c
1931           libnm-glib/nm-dhcp4-config.h
1932                 - Handle DHCP4 config objects exported by NM over D-Bus
1933
1934         * libnm-glib/nm-device.c
1935           libnm-glib/nm-device.h
1936                 - Add a 'dhcp4-config' property
1937
1938         * libnm-glib/libnm-glib-test.c
1939                 - Print out DHCP4 config for devices
1940                 - Fix some crashes when no connections are active
1941
1942         * src/nm-device-interface.c
1943           src/nm-device.c
1944           src/nm-dhcp4-config.c
1945           src/nm-dhcp4-config.h
1946                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1947                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1948                         doesn't let us do when the property type is G_TYPE_OBJECT
1949
1950 2008-08-07  Dan Williams  <dcbw@redhat.com>
1951
1952         * src/NetworkManager.c
1953           src/NetworkManagerSystem.h
1954           src/backends/NetworkManagerArch.c
1955           src/backends/NetworkManagerDebian.c
1956           src/backends/NetworkManagerFrugalware.c
1957           src/backends/NetworkManagerGeneric.c
1958           src/backends/NetworkManagerGeneric.h
1959           src/backends/NetworkManagerGentoo.c
1960           src/backends/NetworkManagerMandriva.c
1961           src/backends/NetworkManagerPaldo.c
1962           src/backends/NetworkManagerRedHat.c
1963           src/backends/NetworkManagerSlackware.c
1964           src/backends/NetworkManagerSuSE.c
1965                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1966
1967 2008-08-06  Dan Williams  <dcbw@redhat.com>
1968
1969         * libnm-glib/nm-ip4-config.c
1970           libnm-glib/nm-ip4-config.h
1971                 - Add 'routes' property
1972
1973         * libnm-util/nm-setting-vpn.c
1974           libnm-util/nm-setting-vpn.h
1975                 - Remove 'routes' property
1976
1977         * libnm-util/nm-setting-ip4-config.c
1978           libnm-util/nm-setting-ip4-config.h
1979                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1980                 - Add 'ignore-auto-routes' property
1981                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1982                         accomodate route metrics
1983                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1984
1985         * libnm-util/nm-utils.c
1986           libnm-util/nm-utils.h
1987                 - Add helpers for marshalling IP4 routes
1988
1989         * src/NetworkManagerUtils.c
1990                 - (nm_utils_merge_ip4_config): handle property renames and new route
1991                         structure
1992
1993         * src/NetworkManagerSystem.c
1994                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1995                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1996
1997         * src/dhcp-manager/nm-dhcp-manager.c
1998                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1999
2000         * system-settings/plugins/ifcfg-fedora/reader.c
2001           system-settings/plugins/ifcfg-fedora/writer.c
2002                 - Handle routes separately from addresses now that routes have a different
2003                         format
2004
2005         * introspection/nm-ip4-config.xml
2006           src/nm-ip4-config.c
2007           src/nm-ip4-config.h
2008                 - Rename internal routing functions
2009                 - 'static-routes' renamed to 'routes'
2010
2011 2008-08-04  Dan Williams  <dcbw@redhat.com>
2012
2013         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2014
2015         * src/NetworkManager.c
2016           src/nm-manager.c
2017           src/nm-manager.h
2018                 - More explicitly make the NMManager a singleton
2019
2020 2008-08-04  Dan Williams  <dcbw@redhat.com>
2021
2022         * libnm-util/nm-connection.c
2023           libnm-util/nm-connection.h
2024                 - (nm_connection_verify): return error on missing 'connection' setting
2025                         (found by Sjoerd Simons)
2026
2027 2008-08-04  Dan Williams  <dcbw@redhat.com>
2028
2029         Handle multiple concurrent PPP connections.
2030
2031         * src/ppp-manager/nm-ppp-manager.c
2032           src/ppp-manager/nm-ppp-manager.h
2033                 - (constructor): only PPP Manager request bus name once; each
2034                         NMPPPManager object gets a unique object path
2035                 - (nm_ppp_manager_class_init, get_property, set_property,
2036                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2037                         at construct time
2038                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2039                         remove timeout until PPP manager gets an IP4 config
2040                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2041                         the plugin can call back to this specific PPP manager instance
2042
2043         * src/nm-device-ethernet.c
2044           src/nm-serial-device.c
2045                 - Pass parent device in nm_ppp_manager_new()
2046
2047         * src/nm-gsm-device.c
2048           src/nm-cdma-device.c
2049                 - (device_state_changed): don't close serial device on NEED_AUTH
2050                         state changed, that's not a failure case like the rest are
2051
2052         * src/ppp-manager/nm-pppd-plugin.c
2053                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2054                         binds one interface to any pppd process, thus the correct index
2055                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2056                         problems; try harder to get a peer address in spite of pppd
2057                 - (plugin_init): use 'ipparam' as the object path back to our specific
2058                         PPP manager instance
2059
2060 2008-08-04  Dan Williams  <dcbw@redhat.com>
2061
2062         * src/ppp-manager/nm-ppp-manager.c
2063                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2064                         since the GSM and CDMA settings now implement need_secrets, we can
2065                         rely on them to do the right thing.  Where secrets are not required,
2066                         just pass empty strings back to the pppd plugin.
2067                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2068                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2069                         on successful IP4 config receipt
2070
2071 2008-08-04  Dan Williams  <dcbw@redhat.com>
2072
2073         * libnm-util/nm-setting-cdma.c
2074           libnm-util/nm-setting-gsm.c
2075                 - (verify): validate username & password if they exist
2076                 - (need_secrets): if username given, require a password too
2077
2078 2008-08-04  Dan Williams  <dcbw@redhat.com>
2079
2080         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2081                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2082                         manpage says about --listen-address without --interface
2083                         (bgo #546033)
2084
2085 2008-08-01  Dan Williams  <dcbw@redhat.com>
2086
2087         * libnm-glib/nm-device.c
2088                 - (proxy_get_string): util function for querying a HAL property
2089                 - (get_ancestor_device): split out from get_product_and_vendor()
2090                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2091                         from PCI devices by querying subsys properties
2092                 - (nm_device_update_description): simplify
2093
2094 2008-08-01  Dan Williams  <dcbw@redhat.com>
2095
2096         * libnm-util/nm-setting-ip4-config.c
2097           libnm-util/nm-setting-ip4-config.h
2098                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2099                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2100                         settings, and they don't necessarily use DHCP.
2101
2102         * src/NetworkManagerPolicy.c
2103           src/nm-device.c
2104           system-settings/plugins/ifcfg-fedora/reader.c
2105           system-settings/plugins/ifcfg-suse/parser.c
2106                 - Fixup for method changes
2107
2108 2008-07-31  Dan Williams  <dcbw@redhat.com>
2109
2110         * src/nm-activation-request.c
2111           src/vpn-manager/nm-vpn-connection.c
2112                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2113                         itself should be attached to the activation request or the VPN
2114                         connection, not the NMConnection object, since the call is not
2115                         expected to live as long as the NMConnection itself
2116
2117 2008-07-31  Dan Williams  <dcbw@redhat.com>
2118
2119         * src/nm-device-wifi.c
2120                 - (real_act_stage2_config): fix issue where association would continue
2121                         even though secrets were needed; 'goto out' was in wrong scope and
2122                         result of handle_auth_or_fail() should have been dumped directly to
2123                         'ret' to ensure that the association was postponed until secrets
2124                         are available
2125
2126 2008-07-31  Dan Williams  <dcbw@redhat.com>
2127
2128         * system-settings/plugins/ifcfg-fedora/plugin.c
2129           system-settings/plugins/ifcfg-fedora/reader.c
2130                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2131                         valid NM connection
2132
2133 2008-07-29  Dan Williams  <dcbw@redhat.com>
2134
2135         * src/nm-gsm-device.c
2136                 - (automatic_registration_response, automatic_registration): recognize
2137                         denied registration and reorder responses
2138
2139 2008-07-29  Dan Williams  <dcbw@redhat.com>
2140
2141         * src/nm-serial-device.c
2142                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2143                         time(2) is used for current time, which returns seconds, we shouldn't
2144                         be multiplying by 1000.
2145
2146 2008-07-28  Dan Williams  <dcbw@redhat.com>
2147
2148         Patch from Fabrice Bellet <fabrice@bellet.info>
2149
2150         * src/NetworkManagerSystem.c
2151                 - (route_in_same_subnet): mask addresses and compare them so that the
2152                         function actually does what it says it's going to do (rh #456685)
2153
2154 2008-07-27  Dan Williams  <dcbw@redhat.com>
2155
2156         * libnm-util/nm-setting-ip6-config.c
2157                 - (set_property): add missing break that caused routes to be overwritten
2158                         with addresses
2159
2160         * libnm-util/nm-setting-ip6-config.c
2161                 - (verify): validate routes and return GError everywhere on invalid setting
2162                 - (finalize): don't leak routes
2163                 - (set_property): add missing break that caused routes to be overwritten
2164                         with addresses
2165
2166 2008-07-27  Dan Williams  <dcbw@redhat.com>
2167
2168         * libnm-util/*
2169                 - Relicense to LGPLv2+
2170
2171 2008-07-27  Dan Williams  <dcbw@redhat.com>
2172
2173         * system-settings/plugins/ifcfg-fedora/reader.c
2174                 - (make_ip4_setting): fix parsing automatic configs
2175
2176 2008-07-27  Dan Williams  <dcbw@redhat.com>
2177
2178         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2179           src/nm-device.c
2180           src/ppp-manager/nm-ppp-manager.c
2181                 - Ensure child process gets reaped.  The child watch function may be
2182                         removed from the mainloop before the child gets killed, so we have
2183                         to make sure the child is reaped when it's told to die intentionally
2184
2185 2008-07-27  Dan Williams  <dcbw@redhat.com>
2186
2187         Patch from Roy Marples <roy@marples.name>
2188
2189         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2190                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2191
2192 2008-07-27  Dan Williams  <dcbw@redhat.com>
2193
2194         * src/nm-gsm-device.c
2195                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2196                         Huawei devices turn echo back on after CPIN (rh #456770)
2197
2198 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2199
2200         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2201         format argument to g_set_error() call.
2202
2203         * src/backends/interface_parser.[ch]: Remove.
2204
2205         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2206
2207 2008-07-21  Dan Williams  <dcbw@redhat.com>
2208
2209         * src/ppp-manager/nm-ppp-manager.c
2210                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2211                         to prevent pppd from picking up some random local address from an
2212                         interface that doesn't have anything to do with the one we're
2213                         interested in (rh #455348)
2214
2215 2008-07-17  Dan Williams  <dcbw@redhat.com>
2216
2217         * libnm-util/nm-utils.c
2218                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2219                         by locale
2220                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2221                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2222
2223 2008-07-17  Dan Williams  <dcbw@redhat.com>
2224
2225         * introspection/Makefile.am
2226           introspection/nm-device.xml
2227           introspection/nm-dhcp4-config.xml
2228                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2229                         itself
2230         * src/nm-device-interface.c
2231           src/nm-device-interface.h
2232                 - Add the DHCP4Config property
2233
2234         * src/nm-device.c
2235                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2236                         D-Bus clients when it changes
2237
2238         * src/nm-dhcp4-config.c
2239           src/nm-dhcp4-config.h
2240                 - Simple object to store DHCP4 options, export them over D-Bus, and
2241                         notify when they change
2242
2243         * src/dhcp-manager/nm-dhcp-manager.c
2244           src/dhcp-manager/nm-dhcp-manager.h
2245                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2246                         filter server-returned DHCP options into an NMDHCP4Config object
2247
2248 2008-07-16  Dan Williams  <dcbw@redhat.com>
2249
2250         * introspection/nm-device.xml
2251                 - Add device state reasons
2252
2253 2008-07-16  Dan Williams  <dcbw@redhat.com>
2254
2255         Patch from Roy Marples <roy@marples.name>
2256
2257         * configure.in
2258                 - Add --with-dhcp-client option
2259
2260         * src/dhcp-manager/Makefile.am
2261                 - pass DHCP_CLIENT_PATH on compile line
2262
2263         * src/dhcp-manager/nm-dhcp-manager.c
2264           src/dhcp-manager/nm-dhcp-manager.h
2265                 - Genericize for both dhcpcd and dhclient
2266
2267         * src/dhcp-manager/nm-dhcp-dhclient.c
2268                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2269
2270         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2271                 - Implement support for dhcpcd too
2272
2273 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2274
2275         * system-settings/src/nm-system-config-interface.c 
2276         (nm_system_config_interface_supports_add): Implement.
2277         (nm_system_config_interface_add_connection): Return a boolean to notify
2278         of errors.
2279
2280         * system-settings/src/nm-polkit-helpers.c: 
2281         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2282         a separate file.
2283
2284         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2285         Return an error when none of the plugins support add or if addition
2286         failed for some reason.
2287
2288         * system-settings/src/nm-system-config-error.h: 
2289         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2290         here from nm-polkit-helpers.[ch].
2291
2292         * system-settings/src/Makefile.am: Build new files.
2293
2294         * system-settings/plugins/keyfile/reader.c 
2295         (read_array_of_array_of_uint): Make it more general so that it would
2296         work for routes as well.
2297
2298         * system-settings/plugins/keyfile/writer.c
2299         (write_array_of_array_of_uint): Ditto.
2300         Fix the netmask/prefix writing.
2301
2302         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2303         boolean to notify errors.
2304
2305         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2306         Return more specific error.
2307         (delete): Ditto.
2308
2309 2008-07-11  Dan Williams  <dcbw@redhat.com>
2310
2311         Modify the NMDevice::state-changed signal to include the previous state
2312         and reason. Enables the applet to provide more information why device
2313         activation failed.
2314
2315 2008-07-09  Dan Williams  <dcbw@redhat.com>
2316
2317         * callouts/Makefile.am
2318           callouts/nm-avahi-autoipd-action.c
2319           callouts/nm-avahi-autoipd.conf
2320                 - avahi-autoipd callout to send options back to NM
2321
2322         * src/autoip.c
2323           src/autoip.h
2324                 - remove
2325
2326         * src/nm-device.c
2327           src/nm-device-private.h
2328           src/nm-manager.c
2329                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2330                         old custom stuff
2331
2332 2008-07-07  Dan Williams  <dcbw@redhat.com>
2333
2334         * system-settings/plugins/ifcfg-fedora/reader.c
2335                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2336                         handle PREFIX too; clean up
2337
2338 2008-07-07  Dan Williams  <dcbw@redhat.com>
2339
2340         Convert to using IPv4 prefixes instead of netmasks.
2341
2342 2008-07-03  Dan Williams  <dcbw@redhat.com>
2343
2344         * libnm-util/nm-setting-ip4-config.c
2345           libnm-util/nm-setting-ip4-config.h
2346                 - Add properties for DHCP Client Identifier and DHCP Hostname
2347
2348         * src/dhcp-manager/nm-dhcp-manager.c
2349           src/dhcp-manager/nm-dhcp-manager.h
2350                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2351                         setting as an argument to pass on to the dhclient config file
2352                         creation function
2353                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2354                         DHCP is torn down
2355                 - (dhclient_run): punt config file handling to create_dhclient_config()
2356                 - (create_dhclient_config): create an interface-specific dhclient
2357                         config file since there may need to be interface-specific options
2358                         passed to dhclient
2359                 - (merge_dhclient_config): merge normal distro dhclient config file and
2360                         add options from the connection
2361                 - (nm_dhcp_device_new): generate the interface specific dhclient
2362                         config file path once
2363                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2364                         dhclient config file path
2365
2366         * src/nm-device.c
2367                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2368                         DHCP manager when starting DHCP
2369
2370 2008-07-02  Dan Williams  <dcbw@redhat.com>
2371
2372         * libnm-util/nm-setting-8021x.c
2373                 - (verify): allow forcing the PEAP label to 0
2374
2375 2008-07-02  Dan Williams  <dcbw@redhat.com>
2376
2377         * introspection/nm-active-connection.xml
2378           introspection/nm-vpn-connection.xml
2379           libnm-glib/nm-active-connection.c
2380           src/nm-activation-request.c
2381           src/nm-active-connection.h
2382           src/vpn-manager/nm-vpn-connection.c
2383                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2384                         and libnm-glib API since sharing didn't get implemented that way
2385
2386 2008-07-02  Dan Williams  <dcbw@redhat.com>
2387
2388         * src/nm-device-wifi.c
2389                 - (can_scan): don't scan when a shared connection is activated since
2390                         that makes drivers mad (causing disconnects); also NM doesn't need
2391                         to hedge against disconnects by keeping up-to-date network topology
2392                         because the connection originates from the local machine, and thus
2393                         there should be no disconnects
2394
2395 2008-07-01  Dan Williams  <dcbw@redhat.com>
2396
2397         Fix mobile broadband username/password issues.  NM was never requesting
2398         mobile broadband secrets, nor was it passing back the username and password
2399         if it had them.
2400
2401         * marshallers/nm-marshal.list
2402                 - Add some new types for activation request objects
2403
2404         * src/nm-activation-request.c
2405           src/nm-activation-request.h
2406                 - (get_secrets_cb): pass the caller type in the signal
2407                 - (nm_act_request_request_connection_secrets): take a caller type, so
2408                         that GetSecrets() reply handlers know who asked for the secrets in
2409                         the first place; use secret hints too so the settings service can
2410                         figure out exactly what NM wants (ie, PIN or the PPP password)
2411
2412         * src/ppp-manager/nm-ppp-manager.c
2413           src/ppp-manager/nm-ppp-manager.h
2414                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2415                         detect needed secrets when the secret could be blank, like GSM/CDMA
2416                         passwords.  So always ask for secrets, and send a hint as to what
2417                         secret we really want.
2418                 - (nm_ppp_manager_update_secrets): make function more generic by making
2419                         the device specific class figure out the username and password, and
2420                         accept an error argument to return back over D-Bus
2421
2422         * src/nm-device-wifi.c
2423                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2424                         nm_act_request_request_connection_secrets()
2425                 - (real_connection_secrets_updated): update for 'caller' changes
2426
2427         * src/nm-device.c
2428           src/nm-device.h
2429                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2430                         for 'caller' changes
2431
2432         * src/nm-device-ethernet.c
2433                 - (real_connection_secrets_updated): update for 'caller' changes and
2434                         move logic for getting PPPoE username and password here before
2435                         calling nm_ppp_manager_update_secrets()
2436                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2437                         nm_act_request_request_connection_secrets()
2438
2439         * src/nm-cdma-device.c
2440                 - (real_connection_secrets_updated): pass username and password back
2441                         to the PPP manager when required
2442
2443         * src/nm-gsm-device.c
2444                 - (enter_pin): send the required secret name to the settings service
2445                 - (real_connection_secrets_updated): pass username and password back
2446                         to the PPP manager when required
2447
2448 2008-06-30  Dan Williams  <dcbw@redhat.com>
2449
2450         * src/nm-device-wifi.c
2451                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2452
2453 2008-06-30  Dan Williams  <dcbw@redhat.com>
2454
2455         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2456         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2457         priv->supplicant.iface.  When either condition is false, the device should
2458         transition back to UNAVAILABLE because it cannot be used.
2459
2460         * src/nm-device-wifi.c
2461                 - (constructor): cleanup; connect to supplicant manager here since the
2462                         supplicant manager is always around
2463                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2464                         ensure the supplicant manager is in the IDLE state
2465                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2466                         cancel any pending scans too
2467                 - (real_bring_up): don't set up the supplicnat interface here, because
2468                         we need the supplicant interface at times when the device may not
2469                         be "up"
2470                 - (real_take_down): just remove the periodic source
2471                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2472                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2473                         do anything if there's no supplicant interface
2474                 - (cleanup_association_attempt): cleanup
2475                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2476                         the interface enters the READY state; transition to UNAVAILABLE
2477                         state when the interface goes down because the device can't be used
2478                         without a supplicant interface
2479                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2480                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2481                         acquire the supplicant interface and transition to DISCONNECTED
2482                         if the radio isn't killed
2483                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2484                 - (state_changed_cb): release any existing supplicant interface; if the
2485                         radio is enabled then try to acquire a new supplicant interface;
2486                         if the radio is enabled and a supplicant interface has been acquired,
2487                         we can transition to DISCONNECTED
2488                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2489                         don't enable the radio, because HAL probably lied to us about the
2490                         killswitch being off.  If bringing the hardware up worked, then
2491                         try to grab a supplicant interface, and if that was successful,
2492                         transition to DISCONNECTED
2493
2494 2008-06-30  Dan Williams  <dcbw@redhat.com>
2495
2496         * src/supplicant-manager/nm-supplicant-interface.c
2497                 - (request_scan_results, nm_supplicant_interface_dispose,
2498                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2499                         the id of the timeout, not a GSource
2500
2501 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2502
2503         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2504         bunch of typoes introduced by "Patch from David Cantrell 
2505         <dcantrell@redhat.com> and me".
2506
2507 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2508
2509         * src/nm-serial-device.c: 
2510         * src/nm-gsm-device.c: 
2511         * src/nm-cdma-device.c: Move the pending call handling to a common location
2512         in serial device. Handle setting device state to failed in one place as well.
2513
2514 2008-06-29  Dan Williams <dcbw@redhat.com>
2515
2516         * src/nm-hal-manager.c
2517                 - Rework killswitch handling to query killswitch status immediately
2518                         when the first killswitch is added, so that rfkill state is
2519                         known as early as possible
2520                 - Also treat failure of GetPower() as rfkill when the dbus method
2521                         call times out (but not when the HAL callout returns an error)
2522
2523 2008-06-26  Dan Williams <dcbw@redhat.com>
2524
2525         Patch from David Cantrell <dcantrell@redhat.com> and me
2526
2527         * include/nm-dbus-glib-types.h
2528                 - Add IP6 address types
2529
2530         * libnm-util/Makefile.am
2531           libnm-util/nm-setting-ip6-config.c
2532           libnm-util/nm-setting-ip6-config.h
2533                 - Add IP6 settings object
2534
2535         * libnm-util/nm-connection.c
2536                 - (register_default_settings): register ip6 settings object
2537
2538         * libnm-util/nm-utils.c
2539           libnm-util/nm-utils.h
2540                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2541                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2542                         ip6 address conversion functions
2543         
2544 2008-06-26  Dan Williams <dcbw@redhat.com>
2545
2546         Patch from David Cantrell <dcantrell@redhat.com>
2547         
2548         * Use inet_ntop() and inet_pton() everwhere and check for errors
2549
2550 2008-06-26  Dan Williams <dcbw@redhat.com>
2551
2552         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2553
2554 2008-06-26  Dan Williams <dcbw@redhat.com>
2555
2556         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2557
2558         * src/nm-device-wifi.c
2559                 - (link_timeout_cb): don't ignore disconnects due to scanning
2560                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2561                         a longer timeout when scanning; avoids case where supplicant can't
2562                         find the AP and just keeps scanning forever but isn't connected
2563
2564 2008-06-26  Dan Williams <dcbw@redhat.com>
2565
2566         Patch from Michael Biebl <biebl@debian.org>
2567
2568         * Clean up build system stuff
2569
2570 2008-06-23  Christian Persch  <chpe@gnome.org>
2571
2572         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2573         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2574         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2575         (impl_get_object):
2576         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2577         (impl_get_object):
2578         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2579         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2580         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2581         (impl_get_object):
2582         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2583         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2584         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2585         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2586         * vpn-daemons/pptp/properties/vpnui_opt.c:
2587         (vpnui_opt_connect_signals):
2588         * vpn-daemons/pptp/properties/vpnui_opt.h:
2589         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2590         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2591         deprecated gtk type macros. Bug #539325.
2592
2593 2008-06-20  Dan Williams  <dcbw@redhat.com>
2594
2595         * libnm-glib/nm-vpn-plugin-ui-interface.c
2596           libnm-glib/nm-vpn-plugin-ui-interface.h
2597                 - 'validity-changed' -> 'changed' to work better with the connection
2598                         editor.  Plugin UI widgets should emit 'changed' whenever their
2599                         UI values change in a meaningful way.
2600                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2601                         update_connection member now returns validity of the UI widget
2602
2603 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2604
2605         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2606
2607 2008-06-17  Dan Williams  <dcbw@redhat.com>
2608
2609         * libnm-glib/nm-vpn-plugin-ui-interface.c
2610           libnm-glib/nm-vpn-plugin-ui-interface.h
2611                 - Add "desc" property for longer descriptions of the VPN plugin
2612
2613 2008-06-16  Dan Williams  <dcbw@redhat.com>
2614
2615         * configure.in
2616           libnm-glib/libnm_glib_vpn.pc.in
2617                 - add a .pc file for libnm_glib_vpn
2618
2619         * libnm-glib/nm-vpn-plugin-ui-interface.c
2620           libnm-glib/nm-vpn-plugin-ui-interface.h
2621                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2622                         rework it substantially
2623
2624 2008-06-12  Dan Williams  <dcbw@redhat.com>
2625
2626         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2627         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2628         returns a descriptive GError when verification fails.
2629
2630 2008-06-11  Dan Williams  <dcbw@redhat.com>
2631
2632         Patch from Tambet Ingo <tambet@gmail.com>
2633
2634         * libnm-util/nm-setting-gsm.c
2635                 - (verify): validate APN
2636
2637         * src/nm-gsm-device.c
2638                 - (manual_registration_done): start setting APN if needed
2639                 - (set_apn, set_apn_done): set the APN
2640                 - (do_dial): use the APN when dialing
2641
2642 2008-06-11  Dan Williams  <dcbw@redhat.com>
2643
2644         * src/NetworkManagerSystem.c
2645                 - (nm_system_device_set_ip4_route,
2646                    nm_system_device_replace_default_ip4_route): check for the right
2647                         return value from rtnl_route_add() to know when to add a gateway
2648                         route (from Tambet)
2649
2650 2008-06-11  Dan Williams  <dcbw@redhat.com>
2651
2652         * src/NetworkManagerPolicy.c
2653                 - do_ipt_cmd -> do_cmd
2654                 - (sharing_init): use do_cmd() instead of system()
2655
2656 2008-06-10  Dan Williams  <dcbw@redhat.com>
2657
2658         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2659         and use "wifi" everwhere instead.
2660
2661 2008-06-10  Dan Williams  <dcbw@redhat.com>
2662
2663         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2664
2665 2008-06-10  Dan Williams  <dcbw@redhat.com>
2666
2667         Patch from Tambet Ingo <tambet@gmail.com>
2668
2669         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2670                 changes.
2671
2672         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2673                 a signal to emit these changes over dbus.
2674
2675         * src/Makefile.am: Genereate nm-serial-device-glue.
2676
2677         * libnm-glib/nm-serial-device.[ch]: Implement.
2678
2679         * libnm-glib/nm-cdma-device.[ch]
2680           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2681
2682         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2683
2684         * introspection/nm-device-serial.xml: Implement.
2685
2686         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2687
2688         * introspection/Makefile.am: Add nm-device-serial.xml.
2689
2690         * include/NetworkManager.h: Add a DBus interface for serial device.
2691
2692 2008-06-10  Dan Williams  <dcbw@redhat.com>
2693
2694         * configure.in
2695                 - Add TARGET_* define to config.h to distinguish distros
2696
2697         * src/dhcp-manager/nm-dhcp-manager.c
2698                 - (dhclient_run): use distro-specific path for dhclient config file
2699
2700 2008-06-09  Dan Williams  <dcbw@redhat.com>
2701
2702         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2703           src/dnsmasq-manager/nm-dnsmasq-manager.h
2704                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2705                         calculate the addresses passed to dnsmasq instead of hard-coding
2706                         them
2707
2708         * src/nm-device.c
2709                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2710                         IP addresses for shared connections to guard against shared
2711                         connection address collisions
2712                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2713                         error conditions
2714                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2715                         the dnsmasq manager
2716
2717 2008-06-09  Dan Williams  <dcbw@redhat.com>
2718
2719         * src/NetworkManagerPolicy.c
2720                 - (update_routing_and_dns): set the default connection _after_ unsetting
2721                         default on all non-default connections so that two connections can
2722                         never be default at the same time
2723                 - (device_state_changed): start and stop connection sharing when
2724                         needed
2725                 - (active_connection_default_changed): restart or stop sharing when
2726                         the default connection changes to keep shared connections always
2727                         NAT-ed through the default connection
2728                 - (check_sharing): handle activation/deactivation of shared connections
2729                 - (sharing_restart): atom-bomb approach to connection sharing until we
2730                         can use libnl; reinit all sharing when the default connection or
2731                         shared connections change
2732                 - (sharing_init, sharing_stop): evil functions that init and deinit
2733                         iptables
2734
2735 2008-06-09  Dan Williams  <dcbw@redhat.com>
2736
2737         * src/nm-activation-request.c
2738           src/nm-activation-request.h
2739                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2740                    nm_act_request_get_device): new functions to facilitate connection
2741                         sharing
2742
2743 2008-06-09  Dan Williams  <dcbw@redhat.com>
2744
2745         * src/nm-device.c
2746                 - (clear_act_request): unset the 'default' property of the activation
2747                         request when clearing it to ensure the property changed signal gets
2748                         delivered and handled
2749
2750 2008-06-09  Dan Williams  <dcbw@redhat.com>
2751
2752         * libnm-glib/nm-device-802-11-wireless.c
2753                 - (access_point_removed_proxy): actually unref the AP after removing
2754                         it from the device's AP list.  Fixes refcounting bug for APs that
2755                         caused them to get mixed up in the applet's menu.
2756
2757 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2758
2759         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2760         (nm_dhcp_device_destroy): Destroy the device options hash table.
2761
2762 2008-06-06  Dan Williams <dcbw@redhat.com>
2763
2764         * system-settings/src/nm-polkit-helpers.c
2765                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2766                         unref the context if the initialization fails; also avoid spew when
2767                         the error isn't set
2768
2769 2008-06-06  Dan Williams <dcbw@redhat.com>
2770
2771         Patch from Tambet Ingo  <tambet@gmail.com>
2772
2773         * src/NetworkManagerSystem.c
2774           src/NetworkManagerSystem.h
2775                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2776                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2777                 - (nm_system_device_set_ip4_route): clean up
2778                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2779
2780         * src/nm-device.c
2781                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2782
2783         * src/vpn-manager/nm-vpn-connection.c
2784                 - (ip_address_to_string): new function
2785                 - (print_vpn_config): use ip_address_to_string
2786                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2787                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2788
2789         * include/NetworkManagerVPN.h
2790                 - Add 'routes' key
2791
2792 2008-06-05  Dan Williams <dcbw@redhat.com>
2793
2794         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2795
2796         * test/nm-tool.c
2797                 - Show which device is the default device
2798
2799 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2800
2801         Fix memory leaks.
2802
2803         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2804         Free data returned from dbus method call.
2805
2806         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2807         dbus_g_method_get_sender() returns a duplicated string, free it 
2808         when done.
2809         (check_polkit_privileges): Looks like policykit sometimes returns
2810         error and non-null return value, don't leak errors in that case.
2811
2812         * system-settings/src/main.c (find_plugin): Don't leak existing 
2813         plugin names.
2814         (load_stuff): Don't leak device list and list items.
2815         (have_connection_for_device): Don't leak connection list.
2816
2817         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2818         Free the data received from g_keyfile_get_*.
2819
2820         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2821         the key when the security object is updated.
2822
2823         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2824         Free data returned from dbus method call.
2825         (iface_state_cb): Ditto.
2826         (add_network_cb): Ditto.
2827         (nm_supplicant_interface_add_cb): Don't make another copy of already
2828         duplicated object path.
2829         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2830         when done.
2831
2832         * src/supplicant-manager/nm-supplicant-config.c 
2833         (ADD_STRING_LIST_VAL): Fix a memory leak.
2834
2835         * src/nm-manager.c (free_get_settings_info): Free the allocated
2836         memory slice.
2837         (list_connections_cb): Free data returned from dbus method call.
2838         (system_settings_get_unmanaged_devices_cb): Ditto.
2839
2840         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2841
2842         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2843         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2844         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2845         of the GList.
2846
2847         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2848         arguments after the object is created.
2849
2850 2008-06-04  Dan Williams <dcbw@redhat.com>
2851
2852         * libnm-util/Makefile.am
2853                 - Don't distribute nm-param-spec-specialized.h
2854
2855 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2856
2857         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2858
2859         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2860         NMIP4Address, update the getters and setters.
2861
2862         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2863         Use the updated NMIP4Config routes api.
2864
2865         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2866         static routes as well.
2867
2868         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2869         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2870         routes api.
2871
2872 2008-05-30  Dan Williams <dcbw@redhat.com>
2873
2874         * src/named-manager/nm-named-manager.c
2875           src/named-manager/nm-named-manager.h
2876                 - Remove stale/obsolete bits for controlling bind over DBus
2877
2878 2008-05-29  Dan Williams <dcbw@redhat.com>
2879
2880         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2881           src/dnsmasq-manager/nm-dnsmasq-manager.h
2882                 - (nm_dnsmasq_manager_new): move iface argument here
2883                 - (constructor): remove, not needed
2884                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2885                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2886
2887         * src/nm-device.c
2888                 - (real_act_stage4_get_ip4_config,
2889                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2890                         changes
2891
2892 2008-05-29  Dan Williams <dcbw@redhat.com>
2893
2894         * src/nm-device.c
2895                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2896                         something happens to dnsmasq
2897                 - (nm_device_new_ip4_shared_config): new function; create a new
2898                         ip4-config for shared connections.  Shared connections always use a
2899                         fixed static IP address.
2900                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2901                         autoip connections by actually using the returned ip4-config and
2902                         not leaking it
2903                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2904                         connections
2905                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2906                         if its active
2907
2908 2008-05-29  Dan Williams <dcbw@redhat.com>
2909
2910         * src/nm-device-802-11-wireless.c
2911                 - (real_get_best_auto_connection): auto-activate 'shared' method
2912                         connections too
2913
2914 2008-05-29  Dan Williams <dcbw@redhat.com>
2915
2916         * libnm-util/nm-setting-ip4-config.c
2917           libnm-util/nm-setting-ip4-config.h
2918                 - Add a 'shared' method to indicate that this connection should be
2919                         brought up with a DHCP and proxy DNS server to facilitate
2920                         connection sharing.
2921                 - (verify): 'shared' method doesn't allow DNS or searches either
2922
2923 2008-05-29  Dan Williams <dcbw@redhat.com>
2924
2925         * configure.in
2926           src/Makefile.am
2927           src/dnsmasq-manager/Makefile.am
2928           src/dnsmasq-manager/nm-dnsmasq-manager.c
2929           src/dnsmasq-manager/nm-dnsmasq-manager.h
2930                 - Add a dnsmasq daemon manager to facilitate connection sharing
2931
2932 2008-05-29  Dan Williams <dcbw@redhat.com>
2933
2934         * src/nm-device-private.h
2935                 - Remove unused prototypes and clean up
2936
2937         * src/nm-device.c
2938                 - Remove anything related to system_config_data, which is no longer used
2939                 - (nm_device_new_ip4_autoip_config): make static
2940
2941 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2942
2943         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2944         (file_changed): Fix a bug where suse system settings plugin didn't
2945         update the connections automatically when the files changed.
2946
2947 2008-05-28  Dan Williams  <dcbw@redhat.com>
2948
2949         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2950
2951 2008-05-28  Dan Williams  <dcbw@redhat.com>
2952
2953         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2954
2955         * src/NetworkManagerSystem.c
2956                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2957                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2958                         was causing -EINVAL errors since the libnl code actually does flush
2959                         the routes on VPN interfaces now
2960
2961         * src/backends/NetworkManagerArch.c
2962           src/backends/NetworkManagerDebian.c
2963           src/backends/NetworkManagerFrugalware.c
2964           src/backends/NetworkManagerGeneric.c
2965           src/backends/NetworkManagerGentoo.c
2966           src/backends/NetworkManagerMandriva.c
2967           src/backends/NetworkManagerPaldo.c
2968           src/backends/NetworkManagerRedHat.c
2969           src/backends/NetworkManagerSlackware.c
2970           src/backends/NetworkManagerSuSE.c
2971                 - (nm_system_device_flush_ip4_routes,
2972                    nm_system_device_flush_ip4_routes_with_iface): remove
2973
2974 2008-05-28  Dan Williams  <dcbw@redhat.com>
2975
2976         * libnm-util/nm-setting-wireless.c
2977           libnm-util/nm-setting-wireless.h
2978                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2979                         'adhoc-create' property, which when TRUE indicates that NM should
2980                         create this connection as an adhoc wifi network if it's not found
2981                         as an adhoc network during scanning.  Can be used to auto-create
2982                         adhoc networks when used in combination with autoconnect.
2983
2984 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2985
2986         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2987
2988         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2989         checked, it doesn't work on some devices.
2990
2991 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2992
2993         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2994         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2995
2996         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2997         Use inet_aton() everywhere to improve error detection.
2998         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2999         provided.
3000
3001 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3002
3003         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3004         Fix a typo.
3005
3006 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3007
3008         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3009         reference counting issue.
3010
3011 2008-05-23  Dan Williams  <dcbw@redhat.com>
3012
3013         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3014
3015         * src/backends/NetworkManagerGeneric.c
3016                 - (nm_generic_enable_loopback): use libnl
3017
3018 2008-05-23  Dan Williams  <dcbw@redhat.com>
3019
3020         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3021
3022         * src/NetworkManagerSystem.h
3023           src/backends/NetworkManagerArch.c
3024           src/backends/NetworkManagerDebian.c
3025           src/backends/NetworkManagerFrugalware.c
3026           src/backends/NetworkManagerGentoo.c
3027           src/backends/NetworkManagerMandriva.c
3028           src/backends/NetworkManagerPaldo.c
3029           src/backends/NetworkManagerRedHat.c
3030           src/backends/NetworkManagerSlackware.c
3031           src/backends/NetworkManagerSuSE.c
3032                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3033                    nm_system_flush_arp_cache): remove, unused
3034
3035         * src/backends/NetworkManagerGeneric.c
3036           src/backends/NetworkManagerGeneric.h
3037                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3038                    nm_generic_flush_arp_cache): remove, unused
3039
3040 2008-05-23  Dan Williams  <dcbw@redhat.com>
3041
3042         * system-settings/plugins/ifcfg-fedora/reader.c
3043                 - (make_ip4_setting): honor PEERDNS setting
3044
3045 2008-05-23  Dan Williams  <dcbw@redhat.com>
3046
3047         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3048
3049         * src/NetworkManagerSystem.c
3050                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3051                         libnl
3052
3053         * src/backends/NetworkManagerArch.c
3054           src/backends/NetworkManagerDebian.c
3055           src/backends/NetworkManagerFrugalware.c
3056           src/backends/NetworkManagerGentoo.c
3057           src/backends/NetworkManagerMandriva.c
3058           src/backends/NetworkManagerPaldo.c
3059           src/backends/NetworkManagerRedHat.c
3060           src/backends/NetworkManagerSlackware.c
3061           src/backends/NetworkManagerSuSE.c
3062                 - (nm_system_device_flush_ip4_addresses,
3063                    nm_system_device_flush_ip4_addresses_with_iface): remove
3064
3065         * src/backends/NetworkManagerGeneric.c
3066                 - (nm_generic_device_flush_ip4_addresses,
3067                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3068
3069 2008-05-23  Dan Williams  <dcbw@redhat.com>
3070
3071         * src/supplicant-manager/nm-supplicant-settings-verify.c
3072                 - Switch 'bssid' from bytes to keyword type
3073                 - (validate_type_keyword): allow NULL keyword lists
3074
3075         * src/supplicant-manager/nm-supplicant-config.c
3076                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3077                         a byte array to string form, which is what the supplicant expects
3078
3079 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3080
3081         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3082         information received from DHCP.
3083
3084         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3085         to make it possible to ignore the DNS information (both servers and 
3086         searches) returned by DHCP server.
3087
3088         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3089         name servers and searches if "ignore_dhcp_dns" is set.
3090
3091         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3092         (nm_ip4_config_reset_searches): Implement.
3093
3094 2008-05-22  Dan Williams  <dcbw@redhat.com>
3095
3096         Remove anything mDNS related.  This is better done from a distro-specific
3097         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3098         avahi, since avahi can handle interface changes just fine using netlink.
3099
3100         * configure.in
3101                 - Remove --with-mdns-provider
3102
3103         * src/NetworkManagerPolicy.c
3104                 - (global_state_changed): don't restart the mdns provider
3105
3106         * src/NetworkManagerSystem.h
3107           src/backends/NetworkManagerArch.c
3108           src/backends/NetworkManagerDebian.c
3109           src/backends/NetworkManagerFrugalware.c
3110           src/backends/NetworkManagerGentoo.c
3111           src/backends/NetworkManagerMandriva.c
3112           src/backends/NetworkManagerPaldo.c
3113           src/backends/NetworkManagerRedHat.c
3114           src/backends/NetworkManagerSlackware.c
3115           src/backends/NetworkManagerSuSE.c
3116                 - (nm_system_restart_mdns_responder): remove
3117
3118         * src/backends/NetworkManagerGeneric.c
3119           src/backends/NetworkManagerGeneric.h
3120                 - (nm_generic_restart_mdns_responder): remove
3121
3122 2008-05-22  Dan Williams  <dcbw@redhat.com>
3123
3124         * configure.in
3125                 - clean up crypto options; just use --with-crypto=nss or
3126                         --with-crypto=gnutls
3127
3128 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3129
3130         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3131         anymore, do it right away.
3132
3133 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3134
3135         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3136         serial device open when we're not connecting or connected.
3137
3138         * src/nm-cdma-device.c (device_state_changed): Ditto.
3139
3140 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3141
3142         Don't remove all devices on waking up, sync with HAL.
3143
3144         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3145         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3146         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3147
3148 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3149
3150         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3151         If the default gateway is unreachable, add a route to gateway and try
3152         again.
3153
3154 2008-05-20  Dan Williams  <dcbw@redhat.com>
3155
3156         * system-settings/plugins/ifcfg-fedora/reader.c
3157                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3158
3159 2008-05-19  Dan Williams  <dcbw@redhat.com>
3160
3161         * system-settings/plugins/ifcfg-fedora/reader.c
3162                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3163                         if the ifcfg doesn't specify one (rh #446527)
3164
3165 2008-05-19  Dan Williams  <dcbw@redhat.com>
3166
3167         Make the system settings service exit when the bus goes away.  Since it's
3168         a bus-activated service, it's lifetime is limited to the bus that activated
3169         it (rh #444976).
3170
3171         * system-settings/src/Makefile.am
3172           system-settings/src/nm-system-config-hal-manager-private.h
3173                 - Remove nm-system-config-hal-manager-private.h
3174
3175         * system-settings/src/nm-system-config-hal-manager.c
3176                 - (nm_system_config_hal_manager_reinit_dbus,
3177                    nm_system_config_hal_manager_deinit_dbus): remove
3178
3179         * system-settings/src/main.c
3180                 - (dbus_reconnect): remove
3181                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3182                 - (destroy_cb): just quit when the bus goes away
3183                 - (start_dbus_service, dbus_init): simplify
3184                 - (main): destroy the wired devices hash table after destroying
3185                         the HAL manager so we don't have to disconnect signals from the
3186                         HAL manager
3187
3188 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3189
3190         Move crypto functions from nm-applet to libnm-util.
3191
3192         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3193         (nm_setting_802_1x_set_client_cert)
3194         (nm_setting_802_1x_set_phase2_ca_cert)
3195         (nm_setting_802_1x_set_phase2_client_cert)
3196         (nm_setting_802_1x_set_private_key)
3197         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3198         file (or private key and it's password), read the certificate data.
3199
3200         * libnm-util/crypto_nss.c: 
3201         * libnm-util/crypto_gnutls.c: 
3202         * libnm-util/crypto.[ch]: Move here from nm-applet.
3203
3204         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3205
3206         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3207         Imlement WPA-EAP configuration reading from sysconfig.
3208
3209 2008-05-16  Dan Williams  <dcbw@redhat.com>
3210
3211         * src/nm-device-802-11-wireless.c
3212                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3213                         wireless
3214
3215 2008-05-14  Dan Williams  <dcbw@redhat.com>
3216
3217         Fix Linus' bug in rh #134886
3218
3219         * src/nm-device-802-3-ethernet.c
3220                 - (constructor): request initial carrier state
3221
3222         * src/nm-netlink-monitor.c
3223                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3224                         signals after refilling the link cache.  Because the refill is a 
3225                         synchronous operation, the normal message hander won't get called
3226                         since libnl has already consumed the messages.
3227                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3228
3229 2008-05-14  Dan Williams  <dcbw@redhat.com>
3230
3231         * src/NetworkManagerSystem.c
3232                 - (nm_system_device_is_up_with_iface): clean up
3233
3234 2008-05-13  Dan Williams  <dcbw@redhat.com>
3235
3236         Fix refcounting issues over sleep/wake when a VPN connection was active that
3237         caused NM to try registering an object path for a device upon wake that was
3238         the same as an already registered object path.
3239
3240         * src/nm-device.c
3241                 - (nm_device_take_down): properly handle cases where the device is
3242                         no longer active but was just active, and therefore must be
3243                         deactivated.  When a device moves to unmanaged mode, this function
3244                         previously would not deactivate the device, because the state was
3245                         already unmanaged by the time this function was called.
3246
3247         * src/vpn-manager/nm-vpn-connection.c
3248                 - (device_state_changed): properly handle multiple devices states in
3249                         which the device is now deactivated.  Code previously didn't handle
3250                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3251                         UNMANAGED states.
3252
3253 2008-05-13  Dan Williams  <dcbw@redhat.com>
3254
3255         * src/nm-device-private.h
3256           src/nm-device.c
3257                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3258
3259         * src/nm-device-802-11-wireless.c
3260                 - (nm_device_802_11_wireless_set_enabled): take devices up
3261                         and down as appropriate for the rfkill state
3262
3263 2008-05-13  Dan Williams  <dcbw@redhat.com>
3264
3265         * marshallers/nm-marshal.list
3266                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3267
3268         * system-settings/plugins/ifcfg-fedora/Makefile.am
3269           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3270           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3271                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3272                         events.  Solely for use watching ifcfg files to pick up changes
3273                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3274
3275         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3276                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3277                         file contents change
3278                 - (finalize): clean up inotify watches
3279                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3280                         and the connection ifcfg for changes on their hardlinks
3281                 - (files_changed_cb): proxy the changed signal back out to listeners
3282
3283         * system-settings/plugins/ifcfg-fedora/plugin.c
3284                 - (dir_changed): 
3285                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3286                         changes
3287                 - (read_one_connection): connect to change signals on the new connection
3288                 - (dir_changed, connection_changed_handler,
3289                    handle_connection_remove_or_new): break out connection change
3290                         handling and connection new/remove handling so it can be used from
3291                         both the GFileMonitor callback and the NMIfcfgConnection changed
3292                         signals
3293
3294         * system-settings/plugins/ifcfg-fedora/reader.c
3295           system-settings/plugins/ifcfg-fedora/reader.h
3296                 - (connection_from_file): return the keyfile path the connection would use
3297
3298 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3299
3300         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3301         single PolKitContext which is shared by all. PolKitContext::unref leaks
3302         just about everything, including all open file descriptiors and results
3303         in 99% cpu usage when data arrives to any of the fds that don't belong
3304         to any context anymore.
3305
3306 2008-05-12  Dan Williams  <dcbw@redhat.com>
3307
3308         * gfilemonitor/glocaldirectorymonitor.c
3309           gfilemonitor/glocaldirectorymonitor.h
3310                 - (g_local_directory_monitor_constructor): actually subscribe to the
3311                         watch
3312                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3313
3314         * gfilemonitor/glocalfilemonitor.c
3315           gfilemonitor/glocalfilemonitor.h
3316                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3317                 - (_g_local_file_monitor_new): ensure that inotify is started up
3318
3319 2008-05-11  Dan Williams  <dcbw@redhat.com>
3320
3321         * configure.in
3322                 - record PolicyKit version
3323
3324         * system-settings/src/nm-polkit-helpers.c
3325                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3326                         with PolicyKit <= 0.6
3327
3328 2008-05-11  Dan Williams  <dcbw@redhat.com>
3329
3330         Update Fedora system-settings plugin to support latest API and use
3331         GFileMonitor rather than home-rolled inotify code.
3332
3333         * system-settings/plugins/ifcfg-fedora/Makefile.am
3334           system-settings/plugins/ifcfg-fedora/common.h
3335           system-settings/plugins/ifcfg-fedora/plugin.c
3336                 - Update to latest system settings plugin API; use GIO instead of
3337                         custom inotify code; use NMIfcfgConnection objects instead of
3338                         ConnectionData structures tacked onto NMConnection objects
3339
3340         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3341           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3342                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3343                         connections
3344
3345         * system-settings/plugins/ifcfg-fedora/reader.c
3346           system-settings/plugins/ifcfg-fedora/reader.h
3347                 - Move ifcfg parsing bits here from parser.c
3348
3349         * system-settings/plugins/ifcfg-fedora/parser.c
3350           system-settings/plugins/ifcfg-fedora/parser.h
3351                 - Remove; most code moved to reader.c
3352
3353 2008-05-11  Dan Williams  <dcbw@redhat.com>
3354
3355         * configure.in
3356           Makefile.am
3357           gfilemonitor/*
3358                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3359                         implementation, so that the same change monitoring code can be used
3360                         on systems without glib-2.14 (like Fedora 8)
3361
3362         * system-settings/plugins/keyfile/Makefile.am
3363           system-settings/plugins/keyfile/plugin.c
3364           system-settings/plugins/ifcfg-suse/Makefile.am
3365           system-settings/plugins/ifcfg-suse/plugin.c
3366                 - Use private gfilemonitor code if GIO is not present
3367
3368 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3369
3370         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3371         NMExportedConnection's 'update' and 'delete' and return error with
3372         descriptive message.
3373
3374 2008-05-08  Dan Williams  <dcbw@redhat.com>
3375
3376         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3377
3378         * src/nm-gsm-device.c
3379           src/nm-cdma-device.c
3380                 - (real_get_best_auto_connection): implement; allow autoconnection
3381                         to GSM & CDMA devices
3382
3383 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3384
3385         Use PolicyKit to authorize the system settings' AddConnection method
3386         and the system settings connections' Update and Delete methods.
3387         
3388         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3389         (impl_exported_connection_delete, nm_exported_connection_update)
3390         (nm_exported_connection_delete): Return boolean and fill GError
3391         to notify the callers of the reasons why it might have failed.
3392
3393         * libnm-glib/nm-dbus-settings-system.c
3394         (nm_dbus_settings_system_add_connection): Return the error from dbus
3395         call so that the callers can see why it failed.
3396
3397         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3398         signatures.
3399
3400         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3401
3402         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3403         abstract base class that checks PolicyKit permissions.
3404
3405         * system-settings/src/dbus-settings.c:
3406         (impl_settings_add_connection): Check the policy before carring out
3407         the request.
3408
3409         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3410         Inherit from NMSysconfigConnection, check the policies before
3411         allowing updating or removing.
3412
3413         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3414         Inherit from NMSysconfigConnection.
3415
3416         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3417         "Delete" methods with async flag so that the implementations can get
3418         access to DBusGMethodInvocation.
3419
3420         * system-settings/src/dbus-settings.c 
3421         (settings_add_connection_check_privileges): Implement.
3422         (impl_settings_add_connection): Check the privileges before adding a new
3423         connection. Improve error reporting.
3424
3425         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3426         async so that the implementation can access DBusGMethodInvocation.
3427
3428         * configure.in: Check for PolicyKit.
3429
3430         * policy/org.freedesktop.network-manager-settings.system.policy: 
3431         New file.
3432
3433         * policy/Makefile.am: Install the policy file.
3434
3435         * configure.in: Add 'policy' subdir.
3436
3437 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3438
3439         Rewrite the suse system settings plugin.
3440
3441         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3442
3443         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3444
3445         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3446
3447         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3448
3449         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3450
3451         * system-settings/src/main.c (load_plugins): Improve error reporting.
3452
3453         * system-settings/src/sha1.[ch] Add.
3454
3455         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3456
3457 2008-05-07  Dan Williams  <dcbw@redhat.com>
3458
3459         * system-settings/plugins/keyfile/reader.c
3460                 - (read_one_setting_value): handle IP address items separately
3461                 - (read_array_of_uint): read IPv4 DNS option as a string array
3462                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3463                         array
3464
3465         * system-settings/plugins/keyfile/writer.c
3466                 - (write_setting_value): handle IP address items separately
3467                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3468                         not an array of uint, so that it's user-editable
3469                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3470                         arrays, so they are user-editable
3471
3472 2008-05-07  Dan Williams  <dcbw@redhat.com>
3473
3474         * system-settings/plugins/keyfile/Makefile.am
3475                 - Change location of the keyfile plugin settings to
3476                         /etc/NetworkManager/system-connections
3477
3478 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3479
3480         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3481
3482         * system-settings/plugins/keyfile/plugin.c: Work with
3483         NMKeyfileConnections.
3484
3485         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3486         Plugins are supposed to return NMExportedConnections now and handle the
3487         updated(), removed(), and GetSecrets().
3488         Store the internal list of connections in hash table to make it easier
3489         to find duplicates.
3490
3491 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3492
3493         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3494         for multiple IP addresses.
3495
3496 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3497
3498         Patch from André Lemos.
3499
3500         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3501         corruption.
3502
3503 2008-05-06  Dan Williams  <dcbw@redhat.com>
3504
3505         * src/dhcp-manager/nm-dhcp-manager.c
3506                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3507                         NMIP4Config to support multiple IP addresses
3508
3509         * src/NetworkManagerUtils.c
3510                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3511
3512         * src/nm-ip4-config.c
3513           src/nm-ip4-config.h
3514                 - Store a list of IPv4 address/netmask/gateway tuples
3515                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3516                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3517                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3518                    nm_ip4_config_set_address): remove
3519                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3520                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3521                         new functions; handle multiple IPv4 addresses
3522
3523         * src/nm-device.c
3524           src/ppp-manager/nm-ppp-manager.c
3525           src/vpn-manager/nm-vpn-connection.c
3526           src/NetworkManagerPolicy.c
3527           test/nm-tool.c
3528           libnm-glib/libnm-glib-test.c
3529                 - update for changes to NMIP4Config for multiple IPv4 addresses
3530
3531         * src/NetworkManagerSystem.c
3532                 - (nm_system_device_set_ip4_route): don't add the route if any address
3533                         is on the same subnet as the destination
3534                 - (check_one_address): ignore the exact match, just match family and
3535                         interface index
3536                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3537                         an interface
3538                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3539                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3540
3541         * introspection/nm-ip4-config.xml
3542                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3543                 - Add 'addresses' property which is an array of (uuu) tuples of
3544                         address/netmask/gateway
3545
3546         * libnm-util/nm-setting-ip4-config.c
3547                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3548
3549         * libnm-glib/nm-ip4-config.c
3550           libnm-glib/nm-ip4-config.h
3551                 - Handle D-Bus interface changes to support multiple IP addresses
3552
3553 2008-05-06  Dan Williams  <dcbw@redhat.com>
3554
3555         * libnm-util/nm-utils.c
3556           libnm-util/nm-utils.h
3557                 - (nm_utils_ip4_addresses_from_gvalue,
3558                    nm_utils_ip4_addresses_to_gvalue): new functions
3559
3560 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3561
3562         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3563         the returned connection paths.
3564
3565 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3566
3567         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3568         "PropertiesChanged" signal signature.
3569
3570         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3571         defined in nm-dbus-glib-types.h.
3572         Don't register the connection on dbus, we're a proxy class to 
3573         communicate with an already registered connection over dbus.
3574
3575 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3576
3577         Implement new subclasses of NMSettings and NMExportedConnection to make
3578         it easier for the applet to access and modify system settings.
3579
3580         * libnm-glib/nm-dbus-connection.[ch]:
3581         * libnm-glib/nm-dbus-settings.[ch]:
3582         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3583
3584         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3585         bindings and glue.
3586
3587         * include/NetworkManager.h: Define the system settings DBus interface.
3588
3589 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3590
3591         Implement additional C API for exported connections to make them identical
3592         with the DBus API. Change the (list_connections) virtual function to be
3593         more usable from C - instead of requiring implementers to return a GPtrArray
3594         of dbus paths, return a list of connections.
3595
3596         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3597         (nm_settings_list_connections):
3598         (nm_exported_connection_new):
3599         (nm_exported_connection_update):
3600         (nm_exported_connection_delete): Implement.
3601
3602         (impl_settings_list_connections):
3603         (impl_exported_connection_update):
3604         (impl_exported_connection_delete): Use the new public functions to make 
3605         sure the C and dbus interfaces stay in sync.
3606
3607         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3608         connections.
3609
3610 2008-05-02  Dan Williams  <dcbw@redhat.com>
3611
3612         * system-settings/plugins/ifcfg-fedora/plugin.c
3613                 - (dispose): use right unref call on the DBusGConnection
3614
3615 2008-05-02  Dan Williams  <dcbw@redhat.com>
3616
3617         * src/nm-serial-device.c
3618                 - (find_terminator): don't compare the whole line, just the size of the
3619                         terminator, since some modems put stuff after the terminator, like
3620                         "CONNECT 9600"
3621
3622 2008-05-01  Dan Williams  <dcbw@redhat.com>
3623
3624         Patch from Michael Biebl <biebl@debian.org>
3625
3626         * callouts/Makefile.am
3627           callouts/org.freedesktop.nm_dispatcher.service.in
3628           system-settings/src/Makefile.am
3629           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3630                 - use the right install location for dbus-activated stuff
3631
3632 2008-04-30  Dan Williams  <dcbw@redhat.com>
3633
3634         * src/nm-gsm-device.c
3635                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3636                         PIN or PUK
3637
3638 2008-04-30  Dan Williams  <dcbw@redhat.com>
3639
3640         * src/nm-manager.c
3641                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3642
3643 2008-04-30  Dan Williams  <dcbw@redhat.com>
3644
3645         * src/nm-device-802-3-ethernet.c
3646           src/nm-device-802-11-wireless.c
3647                 - (real_is_up): return true instead of chaining up to unimplemented
3648                         parent method
3649
3650 2008-04-30  Dan Williams  <dcbw@redhat.com>
3651
3652         * src/NetworkManagerSystem.c
3653           src/NetworkManagerSystem.h
3654                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3655                         functions to check device flags for IFF_UP
3656
3657         * src/nm-serial-device.c
3658                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3659                         implement is_up
3660
3661         * src/nm-device-802-3-ethernet.c
3662           src/nm-device-802-11-wireless.c
3663                 - (real_hw_is_up): call nm_system_device_is_up()
3664
3665         * src/nm-device.c
3666                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3667                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3668                         does not implement
3669
3670 2008-04-29  Dan Williams  <dcbw@redhat.com>
3671
3672         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3673
3674         * marshallers/nm-marshal.list
3675                 - Add marshaller
3676
3677         * src/NetworkManager.c
3678                 - (main): let the NMManager handle the NMHalManager
3679
3680         * src/nm-hal-manager.c
3681           src/nm-hal-manager.h
3682                 - convert to a GObject, and emit singals when stuff changes.  Let the
3683                         NMManager handle the signals, instead of the NMHalManager calling
3684                         into the NMManager.  
3685
3686         * src/nm-manager.c
3687           src/nm-manager.h
3688                 - (remove_one_device): consolidate device removals here
3689                 - (dispose): use remove_one_device()
3690                 - (nm_manager_get_device_by_udi): make static
3691                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3692                         manager for devices at startup or wakeup time
3693                 - (nm_manager_new): create and monitor the HAL manager
3694                 - (hal_manager_udi_added_cb): new function; do what
3695                         nm_manager_add_device() used to do when signalled by the hal manager
3696                 - (hal_manager_udi_removed_cb): new function; do what
3697                         nm_manager_remove_device() used to do when signalled by the hal
3698                         manager
3699                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3700                         hal manager
3701                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3702                         in our device list that aren't known to HAL
3703                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3704                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3705                         commits ago
3706                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3707                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3708                    nm_manager_wireless_hardware_enabled,
3709                    nm_manager_set_wireless_hardware_enabled): remove, unused
3710
3711 2008-04-28  Dan Williams  <dcbw@redhat.com>
3712
3713         Fix the device up/down ambiguities.  Up/down state used to be a
3714         conglomeration of hardware state (IFF_UP) and any device-specific things
3715         (supplicant, periodic timers, etc) that the device used to indicate
3716         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3717         reason, then the device specific stuff wouldn't get run, and the device
3718         would be stuck.
3719
3720         * src/nm-device.c
3721           src/nm-device.h
3722                 - Create hw_is_up, hw_bring_up, and hw_take_down
3723                 - Rename bring_down -> take_down
3724                 - (real_hw_is_up): check interface flags for IFF_UP
3725                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3726                 - (nm_device_is_up): make static; only used locally
3727                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3728                         if the device is already up; if the device isn't up, bring it up
3729                 - (nm_device_hw_take_down): just take down hardware
3730                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3731                 - (nm_device_take_down): always deactivate device when called; always
3732                         try to take hardware down too
3733                 - (nm_device_state_changed): take device down when entering unmanaged
3734                         state from a higher state
3735
3736         * src/nm-device-802-11-wireless.c
3737                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3738                         check IFF_UP really
3739                 - (real_take_down, supplicant_iface_state_cb_handler, 
3740                    supplicant_iface_connection_state_cb_handler,
3741                    supplicant_mgr_state_cb_handler): fix some messages
3742
3743         * src/nm-device-802-3-ethernet.c
3744                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3745                         check IFF_UP really
3746
3747 2008-04-28  Dan Williams  <dcbw@redhat.com>
3748
3749         * src/nm-manager.c
3750           src/nm-manager.h
3751                 - (nm_manager_error_get_type): add new error
3752                 - (nm_manager_remove_device): don't bother taking down the device here,
3753                         the state change from unmanaging the device will do it
3754                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3755                         uses it; when going to sleep, just unmanage the device instead of
3756                         taking it down, because stuff will cleaned up correctly when the
3757                         device gets unmanaged
3758
3759 2008-04-28  Dan Williams  <dcbw@redhat.com>
3760
3761         * src/nm-hal-manager.c
3762                 - (add_initial_devices): convert to a GSourceFunc prototype
3763                 - (nm_manager_state_changed): when coming out of sleep, punt the
3764                         device re-addition to an idle handler to let D-Bus events go out
3765                         first, fixing a potential dbus-glib assert if the old device was
3766                         not yet disposed (due to references held while emitting the D-Bus
3767                         signals) but the new device was found, because the mainloop didn't
3768                         run between signal emission and add_initial_devices()
3769
3770 2008-04-27  Dan Williams  <dcbw@redhat.com>
3771
3772         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3773
3774         * initscript/paldo/NetworkManager.in
3775           initscript/SUSE/networkmanager.in
3776                 - Remove last bits of dhcdbd
3777
3778 2008-04-27  Dan Williams  <dcbw@redhat.com>
3779
3780         * src/nm-device-802-11-wireless.c
3781                 - (link_timeout_cb): don't ask for secrets when disconnected during
3782                         association/authentication phase, drivers are still just too crappy
3783
3784 2008-04-27  Dan Williams  <dcbw@redhat.com>
3785
3786         * Makefile.am
3787           configure.in
3788           dispatcher-daemon/Makefile.am
3789           dispatcher-daemon/NetworkManagerDispatcher.c
3790           initscript/Arch/Makefile.am
3791           initscript/Arch/networkmanager-dispatcher.in
3792           initscript/Gentoo/Makefile.am
3793           initscript/Gentoo/NetworkManagerDispatcher.in
3794           initscript/Mandriva/Makefile.am
3795           initscript/Mandriva/networkmanagerdispatcher.in
3796           initscript/RedHat/Makefile.am
3797           initscript/RedHat/NetworkManagerDispatcher.in
3798           initscript/SUSE/Makefile.am
3799           initscript/SUSE/networkmanager-dispatcher.in
3800           initscript/Slackware/Makefile.am
3801           initscript/Slackware/rc.networkmanager-dispatcher.in
3802           initscript/paldo/Makefile.am
3803           initscript/paldo/NetworkManagerDispatcher.in
3804           man/Makefile.am
3805           man/NetworkManagerDispatcher.8.in
3806                 - Remove the dispatcher daemon
3807
3808 2008-04-27  Dan Williams  <dcbw@redhat.com>
3809
3810         * callouts/Makefile.am
3811           callouts/nm-dispatcher-action.c
3812           callouts/nm-dispatcher-action.h
3813           callouts/nm-dispatcher.conf
3814           callouts/nm-dispatcher.xml
3815           callouts/org.freedesktop.nm_dispatcher.service
3816                 - Re-implement the dispatcher as a system-bus activated service that
3817                         NM calls on-demand, rather than an always running daemon
3818
3819         * src/Makefile.am
3820                 - Add callouts dir to includes to pick up dispatcher defines
3821
3822         * src/nm-device.c
3823                 - (nm_device_state_changed): call dispatcher on device activated/
3824                         deactivated
3825
3826         * src/vpn-manager/nm-vpn-connection.c
3827                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3828                         go up and down
3829
3830         * src/NetworkManagerUtils.c
3831           src/NetworkManagerUtils.h
3832                 - (nm_utils_call_dispatcher): helper to call dispatcher
3833
3834 2008-04-27  Dan Williams  <dcbw@redhat.com>
3835
3836         * src/NetworkManagerUtils.c
3837           src/NetworkManagerUtils.h
3838                 - remove unneeded includes
3839                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3840                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3841                    nm_timeval_cmp, nm_timeval_add): remove, unused
3842                 - clean up formatting
3843                 - (nm_spawn_process): de-uglify
3844
3845         * src/nm-device-802-11-wireless.c
3846                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3847
3848 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3849
3850         * initscript/Gentoo/NetworkManager.in:
3851                 Fix for starting the daemon.
3852
3853 2008-04-25  Dan Williams  <dcbw@redhat.com>
3854
3855         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3856
3857         * src/NetworkManagerSystem.c
3858                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3859
3860 2008-04-25  Dan Williams  <dcbw@redhat.com>
3861
3862         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3863
3864         * src/NetworkManagerSystem.c
3865                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3866                         implementation of nm_system_device_replace_default_route()
3867
3868         * src/NetworkManagerPolicy.c
3869                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3870
3871         * src/backends/NetworkManagerArch.c
3872           src/backends/NetworkManagerDebian.c
3873           src/backends/NetworkManagerFrugalware.c
3874           src/backends/NetworkManagerGeneric.c
3875           src/backends/NetworkManagerGeneric.h
3876           src/backends/NetworkManagerGentoo.c
3877           src/backends/NetworkManagerMandriva.c
3878           src/backends/NetworkManagerPaldo.c
3879           src/backends/NetworkManagerRedHat.c
3880           src/backends/NetworkManagerSlackware.c
3881           src/backends/NetworkManagerSuSE.c
3882                 - (nm_system_device_replace_default_route): remove
3883
3884 2008-04-25  Dan Williams  <dcbw@redhat.com>
3885
3886         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3887
3888         * src/NetworkManagerSystem.c
3889                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3890                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3891                         replace nm_system_device_add_route_via_device_with_iface() in the
3892                         backends
3893
3894         * src/backends/NetworkManagerArch.c
3895           src/backends/NetworkManagerDebian.c
3896           src/backends/NetworkManagerFrugalware.c
3897           src/backends/NetworkManagerGeneric.c
3898           src/backends/NetworkManagerGeneric.h
3899           src/backends/NetworkManagerGentoo.c
3900           src/backends/NetworkManagerMandriva.c
3901           src/backends/NetworkManagerPaldo.c
3902           src/backends/NetworkManagerRedHat.c
3903           src/backends/NetworkManagerSlackware.c
3904           src/backends/NetworkManagerSuSE.c
3905                 - Remove nm_system_device_add_route_via_device_with_iface()
3906
3907 2008-04-25  Dan Williams  <dcbw@redhat.com>
3908
3909         * system-settings/plugins/ifcfg-fedora/parser.c
3910                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3911
3912 2008-04-24  Dan Williams  <dcbw@redhat.com>
3913
3914         * dispatcher-daemon/NetworkManagerDispatcher.c
3915                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3916
3917 2008-04-24  Dan Williams  <dcbw@redhat.com>
3918
3919         * initscript/RedHat/NetworkManager.in
3920           initscript/RedHat/NetworkManagerDispatcher.in
3921                 - Be active at runlevel 2
3922                 - Adjust priorities earlier
3923
3924 2008-04-22  Dan Williams  <dcbw@redhat.com>
3925
3926         * src/NetworkManagerPolicy.c
3927                 - (update_routing_and_dns): when checking for a gateway, look at the
3928                         composite IP4 config, not the connection's ip4-config setting, which
3929                         doesn't include DHCP-returned information
3930
3931 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3932
3933         Implement GKeyFile system settings plugin.
3934         Implement writing system settings (currently supported only by GKeyFile plugin).
3935
3936         * system-settings/src/main.c: 
3937         * system-settings/src/dbus-settings.c: Move the communication with plugins
3938         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3939         plugins for adding/updating/removing connections.
3940
3941         * system-settings/src/nm-system-config-interface.c
3942         (nm_system_config_interface_add_connection): Implement
3943         (nm_system_config_interface_update_connection): Implement.
3944         (nm_system_config_interface_remove_connection): Implement.
3945
3946         * system-settings/plugins/keyfile/Makefile.am:
3947         * system-settings/plugins/keyfile/plugin.[ch]:
3948         * system-settings/plugins/keyfile/writer.[ch]:
3949         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3950
3951         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3952
3953         * configure.in: Generate GKeyFile Makefile.
3954
3955         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3956         corruption, need to duplicate the returned string.
3957         (impl_exported_connection_update): Implement.
3958         (impl_exported_connection_delete): Implement.
3959
3960         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3961
3962         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3963
3964 2008-04-22  Dan Williams  <dcbw@redhat.com>
3965
3966         Patch from Charles R. Anderson (cra@wpi.edu)
3967
3968         * src/NetworkManagerPolicy.c
3969                 - (update_routing_and_dns): don't select devices without a gateway
3970                         as having the default route (rh #437338)
3971
3972 2008-04-21  Dan Williams  <dcbw@redhat.com>
3973
3974         * src/nm-activation-request.c
3975           src/nm-activation-request.h
3976                 - (dispose): ensure to disconnect from the device's state-changed signal
3977                         when appropriate so the signal doesn't get handled by an already
3978                         disposed NMActRequest
3979                 - (device_state_changed): update is_default here too just to make sure
3980                         default is only True when the child device is activated
3981                 - (nm_act_request_set_default): new function
3982
3983         * src/NetworkManagerPolicy.c
3984                 - (update_routing_and_dns): set 'default' on the active connection which
3985                         has the default route and DNS
3986
3987 2008-04-21  Dan Williams  <dcbw@redhat.com>
3988
3989         * src/NetworkManagerPolicy.c
3990                 - (device_state_changed): update routing and DNS when a device goes
3991                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3992
3993 2008-04-21  Dan Williams  <dcbw@redhat.com>
3994
3995         * include/NetworkManager.h
3996                 - Add NMActiveConnectionState enum
3997
3998         * introspection/nm-active-connection.xml
3999           introspection/nm-vpn-connection.xml
4000                 - Add 'State' property for overall active connection state
4001                 - Add 'Default' property, when True means this active connection
4002                         has the default route
4003                 - Add PropertyChanged signals so changes actually go out over the bus
4004
4005         * src/nm-active-connection.h
4006                 - Add defines for State & Default properties
4007
4008         * src/nm-activation-request.c
4009                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4010                         signal to determine active connection state
4011
4012         * src/vpn-manager/nm-vpn-connection.c
4013           src/vpn-manager/nm-vpn-connection.h
4014           src/vpn-manager/nm-vpn-manager.c
4015           src/vpn-manager/nm-vpn-service.c
4016                 - Rename old 'state' to 'vpn-state'
4017                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4018                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4019                         'vpn-state-changed' signal
4020
4021         * libnm-glib/nm-active-connection.c
4022           libnm-glib/nm-active-connection.h
4023                 - Add new 'state' and 'default' properties and accessors
4024
4025         * libnm-glib/nm-vpn-connection.c
4026           libnm-glib/nm-vpn-connection.h
4027                 - Rename old 'state' property to 'vpn-state'
4028                 - Add new 'state' and 'default' properties and accessors
4029
4030 2008-04-21  Dan Williams  <dcbw@redhat.com>
4031
4032         * src/nm-ip4-config.c
4033                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4034                         not specified (rh #443474)
4035
4036 2008-04-20  Dan Williams  <dcbw@redhat.com>
4037
4038         * src/NetworkManagerUtils.c
4039           src/NetworkManagerUtils.h
4040                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4041                         NMSettingIP4Config to an NMIP4Config object
4042
4043         * src/nm-device.c
4044                 - (merge_ip4_config): move to NetworkManagerUtils.c
4045
4046         * src/vpn-manager/nm-vpn-connection.c
4047                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4048                         too
4049
4050 2008-04-18  Dan Williams  <dcbw@redhat.com>
4051
4052         * libnm-util/nm-setting-ppp.c
4053           libnm-util/nm-setting-ppp.h
4054                 - Add 'no-vj-comp' option for TCP header compression
4055                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4056                         uint32
4057
4058 2008-04-18  Dan Williams  <dcbw@redhat.com>
4059
4060         * libnm-util/nm-setting-ppp.c
4061           libnm-util/nm-setting-ppp.h
4062           src/ppp-manager/nm-ppp-manager.c
4063                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4064
4065 2008-04-18  Dan Williams  <dcbw@redhat.com>
4066
4067         * libnm-util/nm-setting-ppp.c
4068           libnm-util/nm-setting-ppp.h
4069           src/ppp-manager/nm-ppp-manager.c
4070                 - Remove the 'usepeerdns' option and always request DNS servers from
4071                         the PPP server; the connection chooses to use/override/ignore the
4072                         DNS servers returned from the PPP server
4073
4074 2008-04-18  Dan Williams  <dcbw@redhat.com>
4075
4076         * libnm-util/nm-setting-ppp.c
4077           libnm-util/nm-setting-ppp.h
4078           src/ppp-manager/nm-ppp-manager.c
4079                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4080                         it seems to have been an erroneous addition to the PPTP plugin in
4081                         the first place (from which the ppp-manager is derived)
4082
4083 2008-04-17  Dan Williams  <dcbw@redhat.com>
4084
4085         * libnm-util/nm-setting-pppoe.c
4086                 - (verify): require a PPP setting too
4087
4088         * src/ppp-manager/nm-ppp-manager.c
4089                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4090                         segfaulting
4091
4092 2008-04-17  Dan Williams  <dcbw@redhat.com>
4093
4094         * src/nm-device.c
4095                 - (nm_device_state_changed): do deactivation and and promotion to
4096                         unavailable here, so that the device gets cleaned up before the
4097                         manager runs and starts emitting signals; do the
4098                         FAILED->DISCONNECTED transition from an idle handler rather than
4099                         immediately to guard against recursion
4100                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4101                         FAILED->DISCONNECTED handler if it's scheduled
4102
4103 2008-04-17  Dan Williams  <dcbw@redhat.com>
4104
4105         * src/nm-device-802-11-wireless.c
4106                 - (state_changed_cb): clear AP list when device transitions to
4107                         unavailable or unmanaged
4108                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4109                         since this is already done in device_cleanup()
4110                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4111                         isn't available or managed
4112                 - (device_cleanup): use remove_all_aps()
4113                 - (remove_all_aps): consolidate code removing all APs
4114
4115 2008-04-17  Dan Williams  <dcbw@redhat.com>
4116
4117         * src/nm-serial-device.c
4118           src/nm-serial-device.h
4119                 - (wait_for_reply_got_data): break input into lines, and search each
4120                         line for responses _and_ terminator strings; also make sure that
4121                         the read loop doesn't continue after the timeout is supposed to fire
4122                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4123
4124         * src/nm-gsm-device.c
4125           src/nm-cdma-device.c
4126                 - Send terminators to nm_serial_device_wait_for_reply()
4127
4128 2008-04-16  Dan Williams  <dcbw@redhat.com>
4129
4130         Patch from 陈鑫 <znscnchen@gmail.com>
4131
4132         * src/ppp-manager/nm-pppd-plugin.c
4133                 - (get_credentials): return correct value for success; handle case where
4134                         pppd just does some checking but doesn't want a password
4135                 - (plugin_init): make CHAP work too
4136
4137 2008-04-16  Dan Williams  <dcbw@redhat.com>
4138
4139         Patch from 陈鑫 <znscnchen@gmail.com>
4140
4141         * src/ppp-manager/nm-ppp-manager.c
4142                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4143
4144 2008-04-16  Dan Williams  <dcbw@redhat.com>
4145
4146         Patch from 陈鑫 <znscnchen@gmail.com>
4147
4148         * src/nm-device-802-3-ethernet.c
4149                 - (real_deactivate_quickly): clear the IP interface name on
4150                         deactivation, otherwise the wrong interface might get used later
4151                         for routing and IP management
4152
4153 2008-04-15  Dan Williams  <dcbw@redhat.com>
4154
4155         * libnm-glib/nm-device.c
4156                 - (get_product_and_vendor): handle serial devices correctly
4157                 - (nm_device_update_description): pass device to get_product_and_vendor()
4158
4159 2008-04-15  Dan Williams  <dcbw@redhat.com>
4160
4161         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4162
4163         * src/NetworkManagerSystem.h
4164           src/backends/NetworkManagerArch.c
4165           src/backends/NetworkManagerDebian.c
4166           src/backends/NetworkManagerFrugalware.c
4167           src/backends/NetworkManagerGeneric.c
4168           src/backends/NetworkManagerGeneric.h
4169           src/backends/NetworkManagerGentoo.c
4170           src/backends/NetworkManagerMandriva.c
4171           src/backends/NetworkManagerPaldo.c
4172           src/backends/NetworkManagerRedHat.c
4173           src/backends/NetworkManagerSlackware.c
4174           src/backends/NetworkManagerSuSE.c
4175           src/nm-device.c
4176                 - (nm_generic_device_add_ip6_link_address,
4177                    nm_system_device_add_ip6_link_address): remove
4178
4179 2008-04-15  Dan Williams  <dcbw@redhat.com>
4180
4181         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4182
4183         * src/backends/NetworkManagerArch.c
4184           src/backends/NetworkManagerDebian.c
4185           src/backends/NetworkManagerFrugalware.c
4186           src/backends/NetworkManagerGeneric.c
4187           src/backends/NetworkManagerGeneric.h
4188           src/backends/NetworkManagerGentoo.c
4189           src/backends/NetworkManagerMandriva.c
4190           src/backends/NetworkManagerPaldo.c
4191           src/backends/NetworkManagerRedHat.c
4192           src/backends/NetworkManagerSlackware.c
4193           src/backends/NetworkManagerSuSE.c
4194           src/NetworkManagerSystem.h
4195                 - flush_routes -> flush_ip4_routes
4196                 - flush_addresses -> flush_ip4_addresses
4197
4198         * src/NetworkManagerSystem.c
4199           src/nm-device.c
4200           src/vpn-manager/nm-vpn-connection.c
4201                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4202
4203 2008-04-15  Dan Williams  <dcbw@redhat.com>
4204
4205         Remove exposure of wireless-tools mode types in the API.
4206
4207         * include/NetworkManager.h
4208                 - Define NM80211Mode enum
4209
4210         * introspection/generic-types.xml
4211                 - Describe NM_802_11_MODE enum
4212                 - Remove IW_MODE_* enum
4213
4214         * introspection/nm-access-point.xml
4215           libnm-glib/nm-access-point.c
4216           libnm-glib/nm-access-point.h
4217                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4218
4219         * introspection/nm-device-802-11-wireless.xml
4220           libnm-glib/nm-device-802-11-wireless.c
4221           libnm-glib/nm-device-802-11-wireless.h
4222                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4223
4224         * libnm-util/nm-setting-wireless.c
4225           src/NetworkManagerAP.c
4226           src/NetworkManagerAP.h
4227           src/nm-device-802-11-wireless.c
4228           src/nm-device-802-11-wireless.h
4229           test/nm-tool.c
4230                 - Use NM80211Mode not IW_MODE_*
4231
4232 2008-04-15  Dan Williams  <dcbw@redhat.com>
4233
4234         Enhance nm-online based on a patch from Bill Nottingham.
4235
4236         * test/nm-online.c
4237                 - Add a '-q' option
4238                 - Add help messages and option summary
4239                 - Add long-format options
4240                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4241
4242 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4243
4244         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4245
4246         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4247
4248 2008-04-15  Dan Williams  <dcbw@redhat.com>
4249
4250         * nm-setting-ip4-config.c
4251                 - (ip4_addresses_from_gvalue): handle NULL address array
4252
4253         * nm-setting-8021x.c
4254                 - (verify_tls, verify_ttls): warn on failed verification
4255
4256 2008-04-10  Dan Williams  <dcbw@redhat.com>
4257
4258         * src/nm-gsm-device.c
4259                 - (automatic_registration): accept "+CREG: 0,0"
4260                 - (automatic_registration_response): fail on "+CREG: 0,0"
4261
4262 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4263
4264         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4265
4266 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4267
4268         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4269         Make it compile again by commenting out broken code that at first didn't work and
4270         now didn't compile either.
4271
4272 2008-04-08  Dan Williams  <dcbw@redhat.com>
4273
4274         * libnm-glib/nm-object-cache.c
4275           libnm-glib/nm-settings.c
4276           src/dhcp-manager/nm-dhcp-manager.c
4277           system-settings/plugins/ifcfg-fedora/plugin.c
4278           system-settings/plugins/ifcfg-suse/plugin.c
4279           system-settings/src/nm-system-config-hal-manager.c
4280           libnm-util/nm-utils.c
4281                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4282                         not threadsafe anyway
4283
4284 2008-04-08  Dan Williams  <dcbw@redhat.com>
4285
4286         * system-settings/src/main.c
4287                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4288                         callbacks take a device type too
4289
4290 2008-04-08  Dan Williams  <dcbw@redhat.com>
4291
4292         The system settings service will now create a new default DHCP connection
4293         for wired devices that have no existing applicable connection.
4294
4295         * system-settings/src/nm-system-config-hal-manager.c
4296           system-settings/src/nm-system-config-hal-manager.h
4297                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4298
4299         * system-settings/src/dbus-settings.c
4300           system-settings/src/dbus-settings.h
4301                 - (nm_sysconfig_settings_get_connections): new function
4302                 - (nm_sysconfig_settings_is_device_managed): new function
4303
4304         * system-settings/src/main.c
4305                 - (load_stuff): check for wired devices that need a default connection
4306                 - (get_details_for_udi): get interface and MAC address from HAL
4307                 - (add_default_dhcp_connection): add a default connection for a wired
4308                         device if needed
4309                 - (device_added_cb, device_removed_cb): do the right thing with
4310                         wired devices and their default connections on HAL device events
4311
4312 2008-04-07  Dan Williams  <dcbw@redhat.com>
4313
4314         * libnm-glib/nm-device.c
4315           libnm-glib/nm-device.h
4316                 - Proxy the 'managed' property
4317
4318 2008-04-07  Dan Williams  <dcbw@redhat.com>
4319
4320         * src/nm-gsm-device.c
4321           src/nm-cdma-device.c
4322                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4323                         handler to transition to DISCONNECTED
4324
4325 2008-04-07  Dan Williams  <dcbw@redhat.com>
4326
4327         Patch from Bill Nottingham
4328
4329         * dispatcher-daemon/NetworkManagerDispatcher.c
4330                 - ignore backup/packaging crufy (rh #440143)
4331
4332 2008-04-07  Dan Williams  <dcbw@redhat.com>
4333
4334         * include/NetworkManager.h
4335                 - Remove the DOWN and CANCELLED device states
4336                 - Add UNMANAGED and UNAVAILABLE device states
4337                 - Document the device states
4338
4339         * introspection/nm-device.xml
4340           src/nm-device-interface.c
4341           src/nm-device-interface.h
4342                 - Add the 'managed' property
4343
4344         * test/nm-tool.c
4345                 - (detail_device): print out device state
4346
4347         * src/NetworkManagerSystem.h
4348           src/backends/NetworkManagerArch.c
4349           src/backends/NetworkManagerDebian.c
4350           src/backends/NetworkManagerFrugalware.c
4351           src/backends/NetworkManagerGentoo.c
4352           src/backends/NetworkManagerMandriva.c
4353           src/backends/NetworkManagerPaldo.c
4354           src/backends/NetworkManagerRedHat.c
4355           src/backends/NetworkManagerSlackware.c
4356           src/backends/NetworkManagerSuSE.c
4357                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4358                    nm_system_device_free_system_config): remove; they were unused and
4359                         their functionality should be re-implemented in each distro's
4360                         system settings service plugin 
4361
4362         * src/nm-gsm-device.c
4363           src/nm-gsm-device.h
4364           src/nm-cdma-device.c
4365           src/nm-cdma-device.h
4366                 - (*_new): take the 'managed' argument
4367
4368         * src/nm-device.c
4369                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4370                 - (nm_device_init): start in unmanaged state, not disconnected
4371                 - (constructor): don't start device until the system settings service
4372                         has had a chance to figure out if the device is managed or not
4373                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4374                         don't set device state here, let callers handle that as appropriate
4375                 - (nm_device_dispose): don't touch the device if it's not managed
4376                 - (set_property, get_property, nm_device_class_init): implement the
4377                         'managed' property
4378                 - (nm_device_state_changed): bring the device up if its now managed,
4379                         and deactivate it if it used to be active
4380                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4381                         with the managed state
4382
4383         * src/nm-hal-manager.c
4384                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4385                         take initial managed state and pass it along to device constructors
4386                 - (create_device_and_add_to_list): get managed state and pass to
4387                         type creators
4388
4389         * src/nm-device-802-11-wireless.c
4390                 - (real_can_activate): fold in most of
4391                         nm_device_802_11_wireless_can_activate()
4392                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4393                 - (link_timeout_cb): instead of deactivating, change device state and
4394                         let the device state handler to it
4395                 - (real_update_hw_address): clean up
4396                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4397                         handler to transition to DISCONNECTED if the device isn't rfkilled
4398
4399         * src/nm-device-802-3-ethernet.c
4400                 - (set_carrier): move above callers and get rid of prototype
4401                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4402                         idle handler to transition to DISCONNECTED if the device has a
4403                         carrier
4404                 - (real_update_hw_address): clean up
4405                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4406                         deactivation directly as deactivation doesn't change state anymore
4407
4408         * src/NetworkManagerPolicy.c
4409                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4410                         the NMManager and wireless devices work that out themselves now
4411                 - (device_state_changed): change to a switch and update for new device
4412                         states
4413                 - (device_carrier_changed): remove; device handles this now through
4414                         state changes
4415                 - (device_added): don't care about carrier any more; the initial
4416                         activation check will happen when the device transitions to
4417                         DISCONNECTED
4418
4419         * src/nm-manager.c
4420                 - (dispose): clear unmanaged devices
4421                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4422                         the managed property on each device when needed
4423                 - (system_settings_properties_changed_cb): handle signals from the
4424                         system settings service
4425                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4426                         getting the unmanaged device list method call
4427                 - (query_unmanaged_devices): ask the system settings service for its
4428                         list of unmanaged devices
4429                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4430                         devices
4431                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4432                         devices directly and let them handle the necessary state transitions
4433                 - (manager_device_state_changed): update for new device states
4434                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4435                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4436                 - (nm_manager_activate_connection): return error if the device is
4437                         unmanaged
4438                 - (nm_manager_sleep): handle new device states correctly; don't change
4439                         the state of unavailable/unmanaged devices
4440
4441         * libnm-glib/nm-device-802-11-wireless.c
4442                 - (state_changed_cb): update for new device states
4443
4444 2008-04-07  Dan Williams  <dcbw@redhat.com>
4445
4446         * marshallers/nm-marshal.list
4447                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4448
4449 2008-04-07  Dan Williams  <dcbw@redhat.com>
4450
4451         * system-settings/src/main.c
4452                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4453                         plugins to the dbus settings object
4454                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4455                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4456                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4457                 - (main): switch default logging to syslog with a 'debug' option to
4458                         output to console; start up the HAL manager
4459
4460 2008-04-07  Dan Williams  <dcbw@redhat.com>
4461
4462         * introspection/nm-settings-system.xml
4463           introspection/Makefile.am
4464                 - Define the unmanaged devices interface for the system settings service
4465
4466         * system-settings/src/nm-system-config-hal-manager.c
4467           system-settings/src/nm-system-config-hal-manager.h
4468           system-settings/src/nm-system-config-hal-manager-private.h
4469           system-settings/src/Makefile.am
4470                 - Add a lightweight HAL manager object for tracking network devices for
4471                         the purpose of determining unmanaged devices and which devices need
4472                         the default DHCP connections
4473
4474         * system-settings/src/nm-system-config-interface.c
4475           system-settings/src/nm-system-config-interface.h
4476                 - (nm_system_config_interface_init): add the HAL manager as an argument
4477                 - (nm_system_config_interface_get_unmanaged_devices): implement
4478                 - Define 'unmanaged-devices-changed' signal
4479
4480         * system-settings/src/dbus-settings.c
4481           system-settings/src/dbus-settings.h
4482                 - Implement the unmanaged devices interface; some cleanups
4483
4484         * system-settings/plugins/ifcfg-suse/plugin.c
4485                 - Fixup for plugin interface changes
4486
4487         * system-settings/plugins/ifcfg-fedora/plugin.c
4488                 - (get_ether_device_udi): new function; find the device that has
4489                         a specified MAC address and return its UDI
4490                 - (get_udi_for_connection): new function; try to find the specific
4491                         device a connection is locked to, if any
4492                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4493                         response to HAL events
4494                 - (get_unmanaged_devices): new function; return unmanaged device list
4495                 - (build_one_connection): set the connection's locked device, if any
4496                 - (write_auto_wired_connection): remove
4497                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4498                 - (handle_connection_changed): alert listeners that the unmanaged device
4499                         list has changed
4500                 - (init): fixup for plugin interface changes, implement unmanaged devices
4501
4502         * system-settings/plugins/ifcfg-fedora/parser.c
4503           system-settings/plugins/ifcfg-fedora/parser.h
4504                 - (connection_data_free): clean up connection UDI
4505
4506 2008-04-07  Dan Williams  <dcbw@redhat.com>
4507
4508         * system-settings/plugins/ifcfg-fedora/parser.c
4509                 - (make_ip4_setting): fix parsing of DNS servers
4510
4511 2008-04-05  Dan Williams  <dcbw@redhat.com>
4512
4513         * Makefile.am
4514           configure.in
4515           marshallers/Makefile.am
4516           marshallers/nm-marshal-main.c
4517           marshallers/nm-marshal.list
4518                 - Consolidate marshallers
4519
4520         * libnm-glib/nm-marshal-main.c
4521           libnm-glib/nm-marshal.list
4522           src/marshallers/Makefile.am
4523           src/marshallers/nm-marshal-main.c
4524           src/marshallers/nm-marshal.list
4525                 - Remove
4526
4527         * libnm-glib/Makefile.am
4528           src/Makefile.am
4529           src/dhcp-manager/Makefile.am
4530           src/ppp-manager/Makefile.am
4531           src/supplicant-manager/Makefile.am
4532           src/vpn-manager/Makefile.am
4533                 - Use consolidated marshallers
4534
4535 2008-04-04  Dan Williams  <dcbw@redhat.com>
4536
4537         * src/nm-hal-manager.c
4538           src/nm-hal-manager.h
4539                 - (hal_init): don't look for hardware here
4540                 - (nm_hal_manager_start): new function; look for hardware here instead,
4541                         which can be done at a later time than hal_init()
4542
4543         * src/NetworkManager.c
4544                 - (main): start HAL manager after entering the main loop
4545
4546 2008-04-03  Dan Williams  <dcbw@redhat.com>
4547
4548         * libnm-glib/nm-settings.c
4549           libnm-glib/nm-settings.h
4550             - (nm_exported_connection_get_id): new function
4551                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4552
4553 2008-04-02  Dan Williams  <dcbw@redhat.com>
4554
4555         * src/nm-device-interface.c
4556           src/nm-device-interface.h
4557           src/nm-device.c
4558           src/nm-device.h
4559                 - Rename check_connection_conflicts() to check_connection_compatible()
4560
4561         * src/nm-device-802-11-wireless.c
4562                 - (real_check_connection_conflicts): remove
4563                 - (real_check_connection_compatible): implement; match MAC address
4564
4565         * src/nm-device-802-3-ethernet.c
4566                 - (real_check_connection_conflicts): remove
4567                 - (real_check_connection_compatible): implement; match MAC address
4568                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4569
4570         * src/nm-manager.c
4571                 - (check_connection_allowed): remove; unused until PolicyKit integration
4572                 - (internal_activate_device): check whether the connection is compatible
4573                         with the device before trying to activate it
4574
4575 2008-04-02  Dan Williams  <dcbw@redhat.com>
4576
4577         * system-settings/plugins/ifcfg-fedora/parser.c
4578                 - (read_mac_address): new function; read in MAC address and stuff it
4579                         into the connection
4580                 - (add_one_wep_key): remove debug spew
4581                 - (make_wireless_security_setting): validate the default TX key; don't
4582                         add the wireless-security setting if the connection doesn't need
4583                         security; don't leak the keys shvarFile on error cases
4584                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4585                         address
4586
4587 2008-04-02  Dan Williams  <dcbw@redhat.com>
4588
4589         * libnm-util/nm-setting-connection.c
4590           libnm-util/nm-setting-connection.h
4591                 - (set_property, get_property, nm_setting_connection_class_init): remove
4592                         the 'lockdown' property; it's functionality will be replaced by
4593                         PolicyKit instead
4594
4595 2008-04-01  Dan Williams  <dcbw@redhat.com>
4596
4597         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4598
4599         * configure.in
4600           initscript/Makefile.am
4601           initscript/Mandriva/Makefile.am
4602           initscript/Mandriva/networkmanager.in
4603           initscript/Mandriva/networkmanagerdispatcher.in
4604           src/backends/Makefile.am
4605           src/backends/NetworkManagerMandriva.c
4606           system-settings/plugins/Makefile.am
4607                 - Add Mandriva support
4608
4609 2008-03-31  Dan Williams  <dcbw@redhat.com>
4610
4611         * src/vpn-manager/nm-vpn-service.c
4612                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4613                         errors can be passed back to the caller; also no longer scheduled
4614                         as an idle handler, but called directly; and bump up VPN service
4615                         spawn timeout, 2s is really short
4616                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4617                         but call it directly so that errors are reported on return from
4618                         ActivateConnection() and don't get lost.  If scheduled as an idle
4619                         handler, clients don't have the time to query NM for the new VPN
4620                         connection's properties before the VPN connection is torn down again
4621                         if the service couldn't be launched, and therefore launch errors
4622                         get lost.
4623
4624 2008-03-31  Dan Williams  <dcbw@redhat.com>
4625
4626         * src/vpn-manager/nm-vpn-connection.c
4627                 - (device_state_changed): send correct state on device failure too
4628                 - (plugin_state_changed): failed state means unexpected disconnection,
4629                         thus if the service goes away while the VPN connection is activated
4630                         that's a failure too
4631
4632 2008-03-31  Dan Williams  <dcbw@redhat.com>
4633
4634         * src/vpn-manager/nm-vpn-manager.c
4635           src/vpn-manager/nm-vpn-manager.h
4636                 - Make VPNManager errors more available; add a service-start-failed error
4637
4638 2008-03-31  Dan Williams  <dcbw@redhat.com>
4639
4640         * libnm-glib/nm-client.c
4641           libnm-glib/nm-client.h
4642                 - (activate_cb): pass the new active connection to callback; fix
4643                         message when no callback is specified
4644
4645 2008-03-30  Dan Williams  <dcbw@redhat.com>
4646
4647         * libnm-util/nm-setting-wireless-security.c
4648                 - (need_secrets): only require key0 if the transmit key index is also
4649                         0
4650                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4651
4652 2008-03-29  Dan Williams  <dcbw@redhat.com>
4653
4654         * libnm-util/nm-setting-8021x.c
4655           libnm-util/nm-setting-ip4-config.c
4656           libnm-util/nm-setting-vpn-properties.c
4657           libnm-util/nm-setting-vpn.c
4658           libnm-util/nm-setting-wireless-security.c
4659           libnm-util/nm-setting-wireless.c
4660           libnm-util/nm-utils.c
4661           src/dhcp-manager/nm-dhcp-manager.c
4662           src/nm-activation-request.c
4663           src/nm-ip4-config.c
4664           src/nm-manager.c
4665           src/nm-properties-changed-signal.c
4666           src/ppp-manager/nm-pppd-plugin.c
4667           src/supplicant-manager/nm-supplicant-interface.c
4668           src/vpn-manager/nm-vpn-connection.c
4669                 - consistently use nm-dbus-glib-types.h
4670
4671 2008-03-29  Dan Williams  <dcbw@redhat.com>
4672
4673         * src/vpn-manager/nm-vpn-connection.c
4674                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4675                         not string
4676
4677         * src/nm-activation-request.c
4678                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4679                         not string
4680
4681 2008-03-29  Dan Williams  <dcbw@redhat.com>
4682
4683         * libnm-glib/nm-device-802-11-wireless.c
4684                 - (access_point_added_proxy): create new APs if not found
4685
4686 2008-03-29  Dan Williams  <dcbw@redhat.com>
4687
4688         * libnm-glib/nm-client.c
4689                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4690                         before freeing them
4691
4692 2008-03-29  Dan Williams  <dcbw@redhat.com>
4693
4694         * system-settings/plugins/ifcfg-fedora/parser.c
4695                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4696                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4697
4698 2008-03-29  Dan Williams  <dcbw@redhat.com>
4699
4700         * system-settings/plugins/ifcfg-fedora/parser.c
4701                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4702
4703 2008-03-27  Dan Williams  <dcbw@redhat.com>
4704
4705         * nm-object.c
4706                 - (nm_object_queue_notify): don't notify multiple times for the same
4707                         property
4708
4709         * nm-object-private.h
4710                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4711                         if it has zero elements
4712
4713         * nm-ip4-config.c
4714                 - (finalize): use g_ptr_array_foreach() when freeing domains
4715                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4716
4717         * nm-active-connection.c
4718                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4719
4720         * nm-device-802-11-wireless.c
4721           nm-device-802-11-wireless.h
4722                 - (nm_device_802_11_wireless_get_access_points): return const; use
4723                         handle_ptr_array_return()
4724
4725         * nm-types.c
4726                 - (nm_object_array_demarshal): always create an array, even of length
4727                         zero, to distinguish between "NM returned no items" and "haven't
4728                         asked NM yet"
4729
4730         * nm-client.c
4731                 - (dispose): free active connections too
4732                 - (proxy_name_owner_changed): free active connections too when NM goes
4733                         away
4734                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4735                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4736
4737 2008-03-26  Dan Williams  <dcbw@redhat.com>
4738
4739         Rework VPN connection handling for a more consistent D-Bus API.  The
4740         VPNManager object has been removed, and active VPN connections are now the
4741         same as any other active connection.  The Manager object's ActivateConnection
4742         and DeactivateConnection methods are used to start and stop a VPN connection,
4743         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4744         When activating a VPN connection, pass the path of the active connection
4745         to which the VPN connection is tied in the 'specific_object' argument.
4746
4747         Consequently, the libnm-glib API has been reworked to match this arrangement,
4748         with the VPNManager object removed, and the NMVPNConnection objects now
4749         being subclasses of NMActiveConnection.
4750
4751 2008-03-25  Dan Williams  <dcbw@redhat.com>
4752
4753         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4754
4755         * initscript/Arch/networkmanager.in
4756           initscript/Arch/networkmanager-dispatcher.in
4757                 - Updates for Arch Linux (gnome.org #523701)
4758
4759 2008-03-25  Dan Williams  <dcbw@redhat.com>
4760
4761         * libnm-glib/nm-ip4-config.c
4762           libnm-glib/nm-active-connection.c
4763           libnm-glib/nm-access-point.c
4764                 - Use nm_object_queue_notify() instead of g_object_notify()
4765
4766         * libnm-glib/nm-device.c
4767                 - (demarshal_ip4_config): distinguish between successful but missing
4768                         ip4-config request, and unsuccessful and missing ip4-config request
4769                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4770                         path
4771                 - Use nm_object_queue_notify() instead of g_object_notify()
4772
4773         * libnm-glib/nm-device-802-11-wireless.c
4774                 - (demarshal_active_ap): distinguish between successfull but missing
4775                         active-ap request, and unsuccessful and missing active-ap request
4776                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4777                         code
4778                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4779                         for the NMClient to notify the device that wireless is disabled,
4780                         and therefore to clear the AP list and active AP
4781                 - Use nm_object_queue_notify() instead of g_object_notify()
4782
4783         * libnm-glib/nm-client.c
4784                 - (poke_wireless_devices_with_rf_status): new function
4785                 - (update_wireless_status): notify wireless devices of the rfkill status
4786                         so they can clean up if needed
4787                 - Use nm_object_queue_notify() instead of g_object_notify()
4788
4789 2008-03-25  Dan Williams  <dcbw@redhat.com>
4790
4791         * libnm-glib/nm-object.c
4792           libnm-glib/nm-object-private.h
4793                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4794                         signals to an idle handler
4795                 - (nm_object_get_property): add a timeout to the D-Bus method call
4796
4797 2008-03-25  Dan Williams  <dcbw@redhat.com>
4798
4799         * introspection/nm-device-cdma.xml
4800           introspection/nm-device-gsm.xml
4801           introspection/Makefile.am
4802           introspection/all.xml
4803                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4804
4805         * src/nm-gsm-device.h
4806           src/nm-gsm-device.c
4807           src/nm-cdma-device.h
4808           src/nm-cdma-device.c
4809           src/Makefile.am
4810                 - Implement PropertiesChanged signals
4811
4812         * libnm-glib/nm-cdma-device.c
4813           libnm-glib/nm-cdma-device.c
4814                 - Attach to PropertiesChanged signals
4815
4816 2008-03-24  Dan Williams  <dcbw@redhat.com>
4817
4818         * libnm-glib/nm-client.c
4819                 - (client_device_added_proxy): add new devices to the internal device
4820                         list so they appear to clients
4821
4822 2008-03-24  Dan Williams  <dcbw@redhat.com>
4823
4824         Massive fixup of libnm-glib to:
4825         a) have all objects (with the exception of VPN) cache their properties and
4826                 update them asynchronously on PropertiesChanged signals from NM
4827         b) return internal const data for most attributes/properties instead of
4828                 allocated values that the caller must free
4829         c) cache wrapped objects such that a given D-Bus path will always map to the
4830                 same GObject returned by libnm-glib
4831         d) remove a few signals and move them to GObject property notifications
4832         e) match recent NM D-Bus API changes for activation/deactivation
4833         f) remove some private functions from libnm-glib headers
4834
4835 2008-03-20  Dan Williams  <dcbw@redhat.com>
4836
4837         * src/nm-manager.c
4838                 - (nm_manager_update_state, manager_device_state_changed,
4839                    nm_manager_activate_device, connection_added_default_handler,
4840                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4841                         queue PropertyChanged singals when the active connections change
4842
4843 2008-03-20  Dan Williams  <dcbw@redhat.com>
4844
4845         * introspection/nm-manager.xml
4846           introspection/nm-manager-client.xml
4847                 - (ActivateConnection): return the object path of the active connection
4848                         on success
4849                 - (GetActiveConnections): remove
4850                 - (DeactivateConnection): new function; deactivate a currently active
4851                         connection
4852                 - Add an ActiveConnections property which returns an array of
4853                         active connection object paths
4854
4855         * introspection/nm-device.xml
4856                 - (Deactivate): remove
4857
4858         * introspection/all.xml
4859                 - Add ActiveConnection introspection
4860
4861         * introspection/nm-active-connection.xml
4862                 - Add the ActiveConnection object
4863
4864         * include/NetworkManager.h
4865                 - Add the Connection.Active D-Bus interface
4866
4867         * src/nm-device-interface.c
4868                 - (impl_device_deactivate): remove
4869
4870         * src/nm-activation-request.c
4871           src/nm-activation-request.c
4872           src/Makefile.am
4873                 - Implement the Connection.Active D-Bus interface
4874
4875         * src/nm-manager.c
4876                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4877                 - (nm_manager_activate_device): return the active connection path
4878                 - (connection_added_default_handler, impl_manager_activate_connection):
4879                         return the active connection to the caller
4880                 - (add_one_connection_element, impl_manager_get_active_connections):
4881                         remove
4882                 - (impl_manager_deactivate_connection): new function; deactivate an
4883                         active connection
4884
4885         * libnm-glib/nm-device.c
4886           libnm-glib/nm-device.h
4887                 - Remove Deactivate() function
4888
4889 2008-03-19  Dan Williams  <dcbw@redhat.com>
4890
4891         * introspection/nm-manager.xml
4892           introspection/nm-manager-client.xml
4893                 - Rename the ActivateDevice method to ActivateConnection to better
4894                         reflect it's usage; it's arguments get reordered a bit too
4895                 - Convert GetActiveConnections method return from a struct to a dict
4896
4897         * include/NetworkManager.h
4898                 - Define the dict keys for return value of GetActiveConnections
4899
4900         * src/nm-manager.c
4901                 - impl_manager_activate_device -> impl_manager_activate_connection
4902                 - (add_one_connection_element): return a populated hash table, not
4903                         a structure
4904
4905         * libnm-glib/nm-client.c
4906           libnm-glib/nm-client.h
4907                 - nm_client_activate_device -> nm_client_activate_connection
4908                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4909                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4910                         instead of the custom structures.  Each element of the returned list
4911                         must be freed with nm_client_free_active_connections_element()
4912
4913 2008-03-18  Dan Williams  <dcbw@redhat.com>
4914
4915         * system-settings/plugins/ifcfg-fedora/parser.c
4916           system-settings/plugins/ifcfg-fedora/parser.h
4917           system-settings/plugins/ifcfg-fedora/plugin.c
4918                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4919                         profiles.  DNS servers and searches must now be stored in the ifcfg
4920                         files themselves
4921
4922 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4923
4924         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4925         print out username and password, it's supposed to be a secret.
4926
4927         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4928         request and set the device state accordingly.
4929
4930 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4931
4932         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4933
4934         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4935
4936 2008-03-18  Dan Williams  <dcbw@redhat.com>
4937
4938         * src/vpn-manager/nm-vpn-connection.c
4939                 - (get_secrets_cb): handle new GetSecrets return format
4940
4941 2008-03-18  Dan Williams  <dcbw@redhat.com>
4942
4943         Adapt system settings service for split 802.1x.
4944
4945         * system-settings/src/nm-system-config-interface.h
4946                 - clarify return value of get_secrets()
4947
4948         * system-settings/src/dbus-settings.c
4949                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4950                 - (check_for_secrets): check if there actually secrets returned by a
4951                         plugin
4952                 - (exported_connection_get_secrets): just return the plugin-returned
4953                         hash of settings' secrets if it looks valid
4954
4955         * system-settings/plugins/ifcfg-fedora/plugin.c
4956                 - (get_secrets): add split secrets with correct format to reply hash
4957
4958         * system-settings/plugins/ifcfg-fedora/parser.c
4959           system-settings/plugins/ifcfg-fedora/parser.h
4960                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4961                    connection_data_free, connection_data_add): keep secrets for
4962                         different settings in different hashes
4963
4964 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4965
4966         Clean up activating device deactivation.
4967
4968         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4969         should be done whether the device activation gets cancelled or the device
4970         is just getting deactivated.
4971         (nm_device_activation_cancel): Remove.
4972         (nm_device_deactivate_quickly): Handle the case where device is activating.
4973
4974         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4975         It does the exact same thing as real_deactivate_quickly().
4976
4977 2008-03-17  Dan Williams  <dcbw@redhat.com>
4978
4979         Split the 802.1x bits out of the wireless-security setting so they are
4980         generalized enough for wired 802.1x to use too.
4981
4982         * introspection/nm-exported-connection.xml
4983                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4984                         of just a hash of the secrets for one setting
4985
4986         * libnm-util/nm-setting-wireless-security.c
4987           libnm-util/nm-setting-wireless-security.h
4988                 - Remove 802.1x-specific stuff
4989                 - Added leap-username and leap-password properties for old-school LEAP
4990
4991         * src/nm-device.c
4992           src/nm-device.h
4993                 - (connection_secrets_updated_cb): take a list of updated settings names,
4994                         not just one
4995
4996         * src/supplicant-manager/nm-supplicant-config.c
4997           src/supplicant-manager/nm-supplicant-config.h
4998                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4999                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5000                         to nm_supplicant_config_add_setting_8021x()
5001                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5002                         the supplicant config
5003
5004         * src/nm-device-802-11-wireless.c
5005                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5006                 - (real_connection_secrets_updated): take a list of updated settings
5007                         names, not just one
5008
5009         * src/nm-device-802-3-ethernet.c
5010           src/nm-cdma-device.c
5011           src/nm-gsm-device.c
5012                 - (real_connection_secrets_updated_cb): take a list of updated settings
5013                         names, not just one
5014
5015         * src/nm-activation-request.c
5016           src/nm-activation-request.h
5017                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5018                         now passes a list of updated settings names, not just one
5019                 - (update_one_setting): new function; handle one updated setting
5020                 - (get_secrets_cb): handle multiple settings returned from the
5021                         settings service; have to be careful of ordering here as there are
5022                         some dependencies between settings (ex. wireless-security and 802.1x
5023                         in some cases)
5024
5025         * src/marshallers/nm-marshal.list
5026                 - new marshaller for connection-secrets-updated signal
5027
5028         * libnm-util/nm-setting-8021x.c
5029                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5030                         methods
5031                 - (verify): a valid 'eap' property is now required
5032
5033         * libnm-util/nm-connection.c
5034                 - (register_default_settings): add priorities to settings; there are
5035                         some dependencies between settings, and during the need_secrets
5036                         calls this priority needs to be respected.  For example, only the
5037                         wireless-security setting knows whether or not the connection is
5038                         going to use 802.1x or now, so it must be asked for secrets before
5039                         any existing 802.1x setting is
5040                 - (nm_connection_lookup_setting_type): expose
5041
5042         * libnm-util/nm-setting-wireless.c
5043                 - (verify): should verify even if all_settings is NULL; otherwise won't
5044                         catch the case where there is missing security
5045
5046         * libnm-util/nm-setting-wireless-security.c
5047                 - Remove everything to do with 802.1x
5048                 - Add old-school LEAP specific properties for username and password
5049                 - (need_secrets): rework LEAP secrets checking
5050                 - (verify): rework for LEAP and 802.1x verification
5051
5052 2008-03-17  Dan Williams  <dcbw@redhat.com>
5053
5054         * src/NetworkManagerPolicy.c
5055                 - (auto_activate_device): always remove the current activation check
5056                         from the pending activation list, otherwise when the policy gets
5057                         destroyed on NM exit it will attempt to free the already freed
5058                         activation check
5059
5060 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5061
5062         * src/backends/NetworkManagerSlackware.c 
5063         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5064
5065         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5066
5067 2008-03-14  Dan Williams  <dcbw@redhat.com>
5068
5069         * src/nm-manager.c
5070                 - (nm_device_interface_get_iface): g_object_get() will return an
5071                         allocated value, so this function must not return const
5072                 - (nm_device_interface_activate): free returned iface
5073
5074 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5075
5076         * libnm-util/Makefile.am: Add new files to build.
5077
5078         * libnm-util/nm-connection.c: Register NMSetting8021x.
5079
5080         * libnm-util/nm-setting-8021x.c
5081         * libnm-util/nm-setting-8021x.h: Implement.
5082
5083 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5084
5085         * libnm-util/Makefile.am: Add new files to build.
5086
5087         * libnm-util/nm-connection.c: Register NMSetting8021x.
5088
5089         * libnm-util/nm-setting-8021x.c
5090         * libnm-util/nm-setting-8021x.h: Implement.
5091
5092 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5093
5094         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5095         data.
5096
5097 2008-03-14  Dan Williams  <dcbw@redhat.com>
5098
5099         * include/wireless-helper.h
5100           include/Makefile.am
5101                 - One place for all the junk needed for #including wireless.h
5102
5103         * test/nm-tool.c
5104           src/NetworkManagerAP.c
5105           src/wpa.c
5106           src/Makefile.am
5107           libnm-util/nm-utils.c
5108           libnm-util/nm-setting-wireless.c
5109           libnm-glib/nm-device-802-11-wireless.c
5110           libnm-glib/nm-access-point.c
5111           libnm-glib/libnm-glib-test.c
5112                 - include wireless-helper.h, not iwlib.h
5113
5114         * configure.in
5115                 - Don't need libiw really, just need to check for wireless.h
5116
5117         * src/kernel-types.h
5118                 - Remove; used types moved into wpa.c
5119
5120         * src/nm-device-802-11-wireless.c
5121                 - (nm_device_802_11_wireless_update_signal_strength,
5122                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5123                    nm_device_802_11_wireless_set_mode,
5124                    nm_device_802_11_wireless_get_frequency,
5125                    nm_device_802_11_wireless_get_ssid,
5126                    nm_device_802_11_wireless_set_ssid,
5127                    nm_device_802_11_wireless_get_bitrate,
5128                    nm_device_802_11_wireless_get_bssid,
5129                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5130                         instead of iwlib functions
5131
5132 2008-03-14  Dan Williams  <dcbw@redhat.com>
5133
5134         * src/ppp-manager/nm-ppp-manager.c
5135                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5136                         should only take the DBusGMethodInvocation argument, not user/pass
5137                         too.  With dbus-glib, async functions only take 2 C arguments since
5138                         the real dbus method arguments get passed back with
5139                         dbus_g_method_return()
5140
5141 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5142
5143         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5144         Adapt the changes of NMSettingIP4Config.
5145
5146 2008-03-13  Dan Williams  <dcbw@redhat.com>
5147
5148         * src/NetworkManagerUtils.c
5149           src/NetworkManagerUtils.h
5150                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5151
5152         * src/NetworkManagerAP.c
5153           src/nm-device-802-11-wireless.c
5154           src/nm-device-802-3-ethernet.c
5155                 - s/iw_ether_ntop/nm_ether_ntop/g
5156
5157 2008-03-13  Dan Williams  <dcbw@redhat.com>
5158
5159         * src/NetworkManagerPolicy.c
5160                 - (update_routing_and_dns): never set the default route through an
5161                         IPv4LL addressed device
5162
5163 2008-03-13  Dan Williams  <dcbw@redhat.com>
5164
5165         * NetworkManagerUtils.c
5166           NetworkManagerUtils.h
5167                 - Remove NMSock stuff
5168                 - Remove the completion stuff
5169
5170         * nm-device.c
5171           nm-device.h
5172           NetworkManager.c
5173           NetworkManagerSystem.c
5174           autoip.c
5175           nm-device-802-11-wireless.c
5176           nm-device-802-3-ethernet.c
5177                 - Remove NMSock and completion stuff
5178                 - Remove nm_ioctl_info()
5179
5180 2008-03-12  Dan Williams  <dcbw@redhat.com>
5181
5182         * src/nm-device.c
5183                 - (merge_ip4_config): avoid duplicates
5184
5185 2008-03-12  Dan Williams  <dcbw@redhat.com>
5186
5187         * libnm-util/nm-setting-ip4-config.c
5188           libnm-util/nm-setting-ip4-config.h
5189                 - Remove 'manual' and 'autoip' properties
5190                 - Add 'method' property
5191                 - (verify): fix verification with 'method'
5192                 - (finalize): free 'method'
5193                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5194                         up for 'method'
5195
5196         * src/nm-device.c
5197                 - (real_act_stage3_ip_config_start): check IP4Config method
5198                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5199                         the future
5200                 - (merge_ip4_config): IP settings are valid with DHCP too
5201                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5202                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5203
5204         * src/nm-device-802-11-wireless.c
5205                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5206                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5207                         only on demand
5208
5209         * system-settings/plugins/ifcfg-fedora/parser.c
5210           system-settings/plugins/ifcfg-suse/parser.c
5211                 - (make_ip4_setting): fix up for 'method'
5212
5213 2008-03-12  Dan Williams  <dcbw@redhat.com>
5214
5215         * system-settings/plugins/ifcfg-fedora/parser.c
5216           system-settings/plugins/ifcfg-fedora/parser.h
5217                 - (get_ifcfg_name): ignore more file suffixes
5218                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5219
5220 2008-03-12  Dan Williams  <dcbw@redhat.com>
5221
5222         * configure.in
5223                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5224
5225 2008-03-12  Dan Williams  <dcbw@redhat.com>
5226
5227         * system-settings/plugins/ifcfg-fedora/plugin.c
5228                 - (write_auto_wired_connection): new function; write out an auto
5229                         wired connection file since the applet isn't doing it any more
5230                 - (reload_all_connections): write out the auto wired connection file
5231                         if there aren't any wired connections already
5232                 - (init): don't leak a GError
5233
5234 2008-03-12  Dan Williams  <dcbw@redhat.com>
5235
5236         * src/nm-device-interface.c
5237                 - (nm_device_interface_activate): print the ID of the connection
5238                         that's about to be activated
5239
5240 2008-03-12  Dan Williams  <dcbw@redhat.com>
5241
5242         Harmonize the 802.11 bitrate API
5243
5244         * introspection/nm-access-point.xml
5245                 - 'Rate' -> 'MaxBitrate'; clarify units
5246
5247         * introspection/nm-device-802-11-wireless.xml
5248                 - Clarify units of 'Bitrate'
5249
5250         * src/NetworkManagerAP.c
5251           src/NetworkManagerAP.h
5252                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5253                         property to 'max-bitrate'
5254                 - (foreach_property_cb): convert rate to Kb/s
5255
5256         * src/nm-device-802-11-wireless.c
5257                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5258
5259         * libnm-glib/nm-access-point.c
5260           libnm-glib/nm-access-point.h
5261                 - 'rate' -> 'max-bitrate'
5262
5263         * test/nm-tool.c
5264           libnm-glib/libnm-glib-test.c
5265                 - Fix up for these changes
5266
5267 2008-03-12  Dan Williams  <dcbw@redhat.com>
5268
5269         * src/nm-device.c
5270                 - (nm_device_set_ip4_config): don't send property notifications when
5271                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5272                         which dbus-glib can't parse because the value is NULL, which isn't
5273                         a legal object path.  Setting the IP4 config to NULL is only
5274                         valid when deactivating a device anyway, so the device state change
5275                         will alert listeners that the ip4 config is invalid.
5276
5277 2008-03-12  Dan Williams  <dcbw@redhat.com>
5278
5279         * src/nm-properties-changed-signal.c
5280                 - (add_to_string): better handling of NULL objects
5281
5282 2008-03-12  Dan Williams  <dcbw@redhat.com>
5283
5284         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5285         convert the libnm-glib NMDevice8023Ethernet to cached properties
5286
5287         * introspection/nm-device-802-3-ethernet.xml
5288                 - New 'Carrier' property
5289                 - New 'PropertiesChanged' signal
5290
5291         * introspection/nm-device.xml
5292                 - Remove 'Carrier' property
5293                 - Remove 'CarrierChanged' signal
5294
5295         * src/nm-device-interface.c
5296           src/nm-device-interface.h
5297                 - (nm_device_interface_init): remove 'carrier' property and
5298                         'carrier-changed' signal
5299
5300         * src/nm-device.c
5301           src/nm-device.h
5302                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5303                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5304                         the link here; wired device will handle that
5305                 - (handle_dhcp_lease_change): don't bother updating link here
5306                 - (get_property, nm_device_class_init): remove carrier property
5307
5308         * src/nm-device-802-11-wireless.c
5309                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5310                         real_update_link(); wireless devices don't use carrier at all
5311                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5312                    supplicant_iface_connection_state_cb_handler,
5313                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5314
5315         * src/nm-device-802-3-ethernet.c
5316           src/nm-device-802-3-ethernet.h
5317                 - (nm_device_802_3_ethernet_carrier_on,
5318                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5319                         instead of nm_device_set_carrier()
5320                 - (device_state_changed): update link from sysfs on activation;
5321                         replaces real_update_link()
5322                 - (real_update_link): remove, replaced by device_state_changed()
5323                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5324                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5325                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5326                         new get_carrier function
5327                 - (get_property): add 'carrier' property
5328                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5329                         hook into property-changed signal helper
5330
5331         * src/NetworkManagerPolicy.c
5332                 - (device_carrier_changed): will only ever be called with a wired device
5333                 - (device_added): only hook up to carrier-changed for wired devices
5334
5335         * libnm-glib/nm-device.c
5336           libnm-glib/nm-device.h
5337                 - (constructor, nm_device_class_init): remove carrier-changed signal
5338                 - (device_carrier_changed_proxy): remove; unused
5339                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5340
5341         * libnm-glib/nm-device-802-3-ethernet.c
5342           libnm-glib/nm-device-802-3-ethernet.h
5343                 - Convert to cached properties like AP and Wireless objects
5344                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5345                         instead of a 'char *', return value should not be freed
5346                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5347                 - (constructor): hook into properties-changed helper
5348                 - (set_property, get_property): new functions
5349                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5350
5351         * test/nm-tool.c
5352                 - (detail_device): strdup the wired hardware address too since it's
5353                         cached now
5354
5355         * libnm-glib/libnm-glib-test.c
5356                 - (dump_wired): strdup the wired hardware address too since it's
5357                         cached now
5358
5359 2008-03-12  Dan Williams  <dcbw@redhat.com>
5360
5361         * libnm-util/nm-setting-ip4-config.c
5362           libnm-util/nm-setting-ip4-config.h
5363                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5364                         the 'autoip' property from the spec
5365
5366 2008-03-11  Dan Williams  <dcbw@redhat.com>
5367
5368         * src/backends/NetworkManagerGeneric.c
5369           src/backends/NetworkManagerGeneric.h
5370                 - (nm_generic_device_get_use_dhcp): remove
5371
5372 2008-03-11  Dan Williams  <dcbw@redhat.com>
5373
5374         * src/nm-device.c
5375                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5376                         already in nm_device_set_ip4_config()
5377                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5378                         due to a DHCP rebind fails
5379                 - (nm_device_set_ip4_config): send property notifications when the
5380                         ip4 config changes
5381                 - (get_property): only report IP4Config property during valid states
5382
5383         * src/NetworkManagerPolicy.c
5384                 - (update_routing_and_dns): ignore devices that don't have an ip4
5385                         config; add parameter 'force_update' to allow callers to specify
5386                         that changes should be made even if the default device doesn't change
5387                 - (device_ip4_config_changed): update DNS and routing when the device's
5388                         IP4Config changes, like for DHCP updates
5389                 - (device_added): listen for ip4-config property changes
5390
5391 2008-03-11  Dan Williams  <dcbw@redhat.com>
5392
5393         Fix address handling as a result of DHCP rebind/renew/reboot.
5394
5395         * src/NetworkManagerSystem.c
5396                 - (check_one_address): delete an address if it doesn't match a given
5397                         one for the same interface
5398                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5399                         be smarter about flushing addresses (only flush ones that don't
5400                         match the one we're about to apply)
5401
5402         * src/backends/NetworkManagerDebian.c
5403           src/backends/NetworkManagerSuSE.c
5404           src/backends/NetworkManagerArch.c
5405           src/backends/NetworkManagerSlackware.c
5406           src/backends/NetworkManagerRedHat.c
5407           src/backends/NetworkManagerPaldo.c
5408           src/backends/NetworkManagerFrugalware.c
5409           src/backends/NetworkManagerGentoo.c
5410                 - (nm_system_delete_default_route): remove
5411
5412         * src/backends/NetworkManagerGeneric.c
5413           src/backends/NetworkManagerGeneric.h
5414                 - (nm_generic_enable_loopback): fix the loopback device label
5415                 - (nm_generic_delete_default_route): remove; no longer used
5416
5417 2008-03-11  Dan Williams  <dcbw@redhat.com>
5418
5419         * src/nm-device-interface.h
5420                 - Delimit property name words with '-', otherwise g_object_notify()
5421                         doesn't work the way we expect
5422
5423 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5424
5425         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5426
5427 2008-03-11  Dan Williams  <dcbw@redhat.com>
5428
5429         * src/NetworkManagerPolicy.c
5430                 - (update_routing_and_dns): don't change anything if the default device
5431                         hasn't changed; print something out when switching the default route
5432                         and DNS
5433
5434 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5435
5436         Implement PPPoE.
5437
5438         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5439         setting. Use "nic-$eth".
5440
5441         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5442         the device is activating here to fix a race condition.
5443
5444         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5445
5446         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5447         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5448         (nm_ppp_manager_start): Take activation request instead of connection, we might
5449         need it for asking secrets.
5450         (nm_ppp_manager_update_secrets): Implement.
5451
5452         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5453         ppp manager start. It might be needed for asking secrets.
5454
5455         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5456         (ppp_state_changed): Handle pppd daemon disappearing.
5457         (pppoe_stage2_config): Send activation request to ppp manager start.
5458
5459         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5460
5461         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5462         username and password.
5463         
5464 2008-03-10  Dan Williams  <dcbw@redhat.com>
5465
5466         * src/nm-device.c
5467                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5468                         response to a DHCP lease change
5469                 - (dhcp_state_changed): handle DHCP lease changes while activated
5470                 - (nm_device_set_ip4_config): remove a previously set named config
5471                         when setting an ip4 config
5472
5473 2008-03-10  Dan Williams  <dcbw@redhat.com>
5474
5475         * src/nm-serial-device.c
5476                 - (nm_serial_device_send_command): report errno on error
5477                 - (get_reply_got_data): limit the size of the overall buffer
5478                 - (wait_for_reply_info_destroy): destroy result string
5479                 - (wait_for_reply_got_data): append received data to an overall buffer
5480                         until timeout, filled buffer, or error instead of keeping a per-call
5481                         buffer.  Some devices send data slowly enough that this function
5482                         gets called multiple times for the same command stream.
5483                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5484                         wait_for_reply_got_data() here
5485
5486 2008-03-10  Dan Williams  <dcbw@redhat.com>
5487
5488         * src/nm-cdma-device.c
5489                 - (do_dial, init_modem): handle errors from
5490                         nm_serial_device_send_command_string()
5491
5492         * src/nm-gsm-device.c
5493                 - (do_dial, manual_registration, automatic_registration_get_network,
5494                    automatic_registration, enter_pin, check_pin, init_modem): handle
5495                         errors from nm_serial_device_send_command_string()
5496
5497 2008-03-10  Dan Williams  <dcbw@redhat.com>
5498
5499         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5500
5501         * src/named-manager/nm-named-manager.c
5502                 - (compute_searches): prefer searches before domains
5503                 - (compute_domain): new function
5504                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5505                 - (merge_one_ip4_config): if there are no searches in the source config,
5506                         merge domains of the source config into the target config
5507                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5508
5509 2008-03-10  Dan Williams  <dcbw@redhat.com>
5510
5511         * src/nm-serial-device.c
5512                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5513                 - (wait_for_reply_got_data): try to handle slower serial devices where
5514                         the reply is broken up into multiple reads by concatenating replies
5515                         together until either an error is received or the search string is
5516                         found
5517
5518 2008-03-10  Dan Williams  <dcbw@redhat.com>
5519
5520         * src/nm-device.c
5521                 - (nm_device_bring_down): deactivate the device if it's activating too,
5522                         not just if it's already activated.  This makes sure that everything
5523                         from an association attempt is cleaned up (like DHCP for example)
5524
5525 2008-03-10  Dan Williams  <dcbw@redhat.com>
5526
5527         * src/nm-serial-device.c
5528                 - (config_fd): report error from TCSETA
5529                 - (nm_serial_device_open): fail when config_fd() fails
5530
5531 2008-03-10  Dan Williams  <dcbw@redhat.com>
5532
5533         * src/nm-ip4-config.c
5534                 - (nm_ip4_config_init): allocate searches list
5535                 - (finalize): free searches list
5536
5537 2008-03-09  Dan Williams  <dcbw@redhat.com>
5538
5539         Patch from Bas Zoetekouw <bas@debian.org>
5540
5541         * src/dhcp-manager/nm-dhcp-manager.c
5542                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5543
5544 2008-03-09  Dan Williams  <dcbw@redhat.com>
5545
5546         Patch from Bas Zoetekouw <bas@debian.org>
5547
5548         * src/nm-ip4-config.c
5549           src/nm-ip4-config.h
5550                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5551                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5552                         domains.  'searches' is the correct way to store multiple search
5553                         domains, whereas 'domains' is really just supposed to store one
5554                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5555                         search domains to the client.
5556                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5557
5558 2008-03-09  Dan Williams  <dcbw@redhat.com>
5559
5560         * src/dhcp-manager/nm-dhcp-manager.c
5561                 - (dhclient_run): send interface-specific config files to dhclient
5562
5563 2008-03-07  Dan Williams  <dcbw@redhat.com>
5564
5565         * system-settings/plugins/ifcfg-fedora/parser.c
5566                 - (is_wireless_device): new function; test a device for wireless
5567                         extensions
5568                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5569                         test the device for wireless extensions to determine the type
5570
5571 2008-03-07  Dan Williams  <dcbw@redhat.com>
5572
5573         Change manager's StateChange signal to StateChanged for consistency.
5574
5575         * introspection/nm-manager.xml
5576                 - Add 'StateChanged' signal
5577                 - Move 'StateChange' down to the deprecated section
5578
5579         * src/nm-hal-manager.c
5580                 - (nm_hal_manager_new): connect to 'state-changed' instead
5581
5582         * src/NetworkManagerPolicy.c
5583                 - (nm_policy_new): connect to 'state-changed' instead
5584
5585         * src/nm-manager.c
5586           src/nm-manager.h
5587                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5588                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5589                         of 'state-change'
5590
5591         * libnm-glib/nm-client.c
5592           libnm-glib/nm-client.h
5593                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5594                         track and proxy 'state-changed' instead of 'state-change'
5595
5596 2008-03-07  Dan Williams  <dcbw@redhat.com>
5597
5598         First pass of multiple active device support.  Expect bugs.
5599
5600         * src/nm-ip4-config.c
5601           src/nm-ip4-config.h
5602                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5603                         there are better ways to do this in the named manager
5604
5605         * src/nm-device.c
5606           src/nm-device.h
5607                 - (nm_device_can_activate): return whether the device can activate a
5608                         connection right now; taking into account things like carrier state
5609                         and rfkill state
5610                 - (nm_device_get_best_auto_connection): renamed from
5611                         nm_device_get_best_connection
5612                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5613                         device subclasses themselves, so that each device can override the
5614                         MTU from it's NMSetting subclass if needed
5615                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5616                         in NetworkManagerSystem.c, not here
5617
5618         * src/named-manager/nm-named-manager.c
5619           src/named-manager/nm-named-manager.h
5620                 - (nm_named_manager_name_owner_changed,
5621                    nm_named_manager_dbus_connection_changed): fix for changes to
5622                         rewrite_resolv_conf()
5623                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5624                         from parameter list
5625                 - (merge_one_ip4_config): new function; merge ip4 configs together
5626                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5627                         ip4 configs; the VPN config takes precedence, then the best
5628                         device config, then the rest of the configs
5629                 - (get_domain_for_config): take the NMNamedManager as an argument
5630                         to check whether the config is the VPN config
5631                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5632                         attribute from ip4 configs
5633                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5634                 - (remove_ip4_config_from_named): fix for changes to
5635                         get_domain_for_config()
5636                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5637                         based on its type; callers must pass in the type now
5638                 - (get_last_default_domain): remove, unused
5639                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5640
5641         * src/nm-device-802-11-wireless.c
5642                 - (real_can_activate): new function
5643                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5644                 - (real_act_stage4_get_ip4_config): handle MTU override
5645
5646         * src/nm-device-802-3-ethernet.c
5647                 - (real_can_activate): new function
5648                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5649                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5650
5651         * src/vpn-manager/nm-vpn-connection.c
5652                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5653                         attribute on the ip4 config
5654
5655         * src/NetworkManagerPolicy.c
5656                 - (nm_policy_auto_get_best_device): remove
5657                 - (nm_policy_device_change_check): remove
5658                 - (update_default_route): new function; set the default route via
5659                         the specified device
5660                 - (get_device_priority): new function; return the priority number of
5661                         a device type WRT which one should have the default route.  Order is
5662                         (highest to lowest)  wired, wireless, GSM, CDMA.
5663                 - (update_routing_and_dns): new function; determine which device should
5664                         have the default route, then update the routing table and DNS
5665                 - (maybe_auto_activate_device): new function; if a device is now
5666                         available for activation, find out what connection it would like to
5667                         activate and do it
5668                 - (schedule_activate_check): new function; if a device can be activated
5669                         now, schedule the activation.  Each device may have only one
5670                         pending activation at a given time.
5671                 - (device_state_changed): if activation was canceled, try again,
5672                         possibly with another connection; if the device was activated,
5673                         update routing and DNS; if the device was deactivated, try again
5674                         with another connection
5675                 - (device_carrier_changed): if there is no carrier, deactivate the
5676                         device; otherwise schedule an activation check for the device
5677                 - (wireless_networks_changed): schedule an activation check for the
5678                         device
5679                 - (device_added): keep track of the signal handler IDs so they can
5680                         be removed when the device goes away
5681                 - (device_removed): remove any signal handlers that might be attached
5682                         to the device; update routing and DNS
5683                 - (schedule_activate_all): new function
5684                 - (connections_added, connection_added, connection_updated): when
5685                         connections change, schedule all devices for an activation check
5686                 - (connection_removed): when a device is deactivated because its
5687                         connection was removed, schedule another activation check for it
5688                 - (nm_policy_destroy): destroy pending activations and disconnect
5689                         all device signal handlers
5690
5691         * src/nm-manager.c
5692                 - (nm_manager_activate_device): if the device was already actived,
5693                         deactivate it
5694                 - (deactivate_old_device): remove
5695                 - (connection_added_default_handler, impl_manager_activate_device):
5696                         don't deactivate other devices when activating this one
5697
5698         * src/backends/NetworkManagerGentoo.c
5699           src/backends/NetworkManagerFrugalware.c
5700           src/backends/NetworkManagerPaldo.c
5701           src/backends/NetworkManagerRedHat.c
5702           src/backends/NetworkManagerSlackware.c
5703           src/backends/NetworkManagerArch.c
5704           src/backends/NetworkManagerSuSE.c
5705           src/backends/NetworkManagerDebian.c
5706                 - (nm_system_get_mtu): remove; MTU should be provided through the
5707                         distro's system settings service plugin instead
5708                 - (nm_system_device_add_default_route_via_device): remove
5709                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5710                 - (nm_system_device_replace_default_route): new function; call
5711                         generic implementation
5712
5713         * src/backends/NetworkManagerGeneric.c
5714           src/backends/NetworkManagerGeneric.h
5715                 - (nm_generic_device_add_default_route_via_device,
5716                    nm_generic_device_add_default_route_via_device_with_iface): remove
5717                 - (nm_generic_device_replace_default_route): replace the default route
5718                         with the given route via some gateway
5719
5720         * src/NetworkManagerSystem.c
5721           src/NetworkManagerSystem.h
5722                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5723                         to routing and DNS; but set the MTU here
5724                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5725                         ip_iface of the active device; use the standard MTU setting function
5726                 - (nm_system_set_mtu): remove
5727                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5728
5729 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5730
5731         Rework the interaction between ppp manager and pppd plugin. Register a well
5732         known DBUS service in manager and let the plugin call it's methods instead
5733         of listening plugin's signals.
5734
5735         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5736         of emitting signals.
5737
5738         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5739
5740         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5741
5742         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5743         nm_ppp_manager_start().
5744
5745         * introspection/nm-ppp-manager.xml: New file.
5746
5747         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5748         the case correctly where driver is trying to send -1 for the speed, which gets
5749         casted to u16 and thus is always > 0.
5750
5751 2008-03-07  Dan Williams  <dcbw@redhat.com>
5752
5753         * src/nm-hal-manager.c
5754                 - (nm_get_device_driver_name): use net.originating_device first, fall
5755                         back to physical device.  HAL has deprecated physical_device.
5756
5757         * libnm-glib/nm-device.c
5758                 - (get_product_and_vendor): use net.originating_device first, fall
5759                         back to physical device.  HAL has deprecated physical_device.
5760                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5761
5762 2008-03-07  Dan Williams  <dcbw@redhat.com>
5763
5764         * src/nm-netlink.c
5765                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5766                         last commit; fix that
5767                 - (get_link_cache): print error string
5768
5769 2008-03-07  Dan Williams  <dcbw@redhat.com>
5770
5771         * src/nm-netlink.c
5772                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5773                         don't need this hack any more (Benoit Boissinot)
5774
5775 2008-03-06  Dan Williams  <dcbw@redhat.com>
5776
5777         * autogen.sh
5778                 - Die gnome-common, die
5779
5780 2008-03-04  Dan Williams  <dcbw@redhat.com>
5781
5782         Patch from Michael Biebl <biebl@debian.org>
5783
5784         * NetworkManager.pc.in
5785                 - doesn't actually depend on dbus-1
5786
5787         * libnm-util/nm-utils.h
5788                 - remove unused #include <dbus/dbus.h>
5789
5790         * libnm-glib/libnm_glib.pc.in
5791                 - depends on glib and dbus-glib
5792
5793 2008-03-02  Dan Williams  <dcbw@redhat.com>
5794
5795         * src/NetworkManagerPolicy.c
5796                 - s/device_state_changed_idle_id/update_state_id/
5797
5798 2008-03-02  Dan Williams  <dcbw@redhat.com>
5799
5800         * src/nm-device.c
5801           src/nm-device.h
5802           src/nm-device-802-11-wireless.c
5803           src/nm-device-802-3-ethernet.c
5804           src/NetworkManagerPolicy.c
5805                 - s/link_active/carrier
5806                 - nm_device_set_active_link() -> nm_device_set_carrier()
5807                 - nm_device_has_active_link() -> nm_device_get_carrier()
5808
5809 2008-03-02  Dan Williams  <dcbw@redhat.com>
5810
5811         * system-settings/plugins/ifcfg-fedora/parser.c
5812                 - (make_wireless_setting): fail connection creation on missing SSID
5813
5814 2008-02-29  Dan Williams  <dcbw@redhat.com>
5815
5816         * src/NetworkManagerPolicy.c
5817                 - (nm_policy_device_change_check): ensure that a previously active
5818                         device with a system connection has a link before denying a switch
5819                         to a user connection
5820
5821 2008-02-29  Dan Williams  <dcbw@redhat.com>
5822
5823         * src/nm-device-802-11-wireless.c
5824                 - (link_timeout_cb): try again if scanning; deactivate the device when
5825                         activated if the link dies
5826                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5827                         15 seconds
5828
5829 2008-02-29  Dan Williams  <dcbw@redhat.com>
5830
5831         * src/nm-device-802-11-wireless.c
5832           src/nm-device-802-11-wireless.h
5833                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5834                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5835                 - (device_cleanup): reset the scan interval lower when the device
5836                         deactivates
5837                 - (can_scan): base decision mostly off device state, not supplicant
5838                         interface state since the supplicant interface state isn't a
5839                         great indicator of whether the device is active or not
5840                 - (request_wireless_scan): clean up; schedule the next scan here
5841                 - (schedule_scan): only back the scan interval off if a new scan
5842                         actually gets scheduled; and make scan intervals tighter when the
5843                         device is disconnected
5844                 - (supplicant_iface_state_cb_handler): fold in the bits of
5845                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5846                         interval to minimum
5847                 - (activation_success_handler): reset scan interval to something
5848                         reasonable 
5849
5850 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5851
5852         reviewed by: Steev <steev@steev.net>
5853
5854         * configure.in:
5855         * src/backends/NetworkManagerGentoo.c:
5856         (nm_system_restart_mdns_responder):
5857                 Howl is no longer a supported mDNS provider
5858
5859 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5860
5861         Get rid of a bunch of unused distro specific functions.
5862
5863 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5864
5865         Implement suse plugin for system settings daemon.
5866
5867         * system-settings/plugins/ifcfg-suse/*: Implement.
5868
5869         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5870         suse.
5871
5872         * configure.in: Check (without failing) for gio.
5873         Create ifcfg-suse plugin's Makefile.
5874
5875 2008-02-20  Dan Williams  <dcbw@redhat.com>
5876
5877         * libnm-util/nm-connection.c
5878           libnm-util/nm-connection.h
5879                 - (nm_connection_compare): accept compare flags and pass them to the
5880                         setting compare function
5881
5882         * libnm-util/nm-setting.c
5883           libnm-util/nm-setting.h
5884                 - (nm_setting_compare): accept compare flags; ignore properties that are
5885                         marked fuzzy
5886
5887         * libnm-util/nm-setting-connection.c
5888           libnm-util/nm-setting-wireless.c
5889           libnm-util/nm-setting-ppp.c
5890           libnm-util/nm-setting-wired.c
5891                 - Mark some setting properties as ignorable when doing a fuzzy compare
5892
5893         * src/nm-device.c
5894                 - (device_activation_precheck): use exact compare
5895
5896 2008-02-20  Dan Williams  <dcbw@redhat.com>
5897
5898         * src/NetworkManagerPolicy.c
5899                 - (nm_policy_device_change_check): get scope off the connection, not
5900                         using the manager helper
5901
5902         * src/nm-manager.c
5903           src/nm-manager.h
5904                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5905                 - (connection_get_settings_cb): set scope and path on connection, not
5906                         using GObject data items
5907                 - (get_connection_for_proxy): don't need to return path, since that
5908                         can be gotten from the connection
5909                 - (get_connection_for_proxy): get path off the connection, not from
5910                         parameters
5911                 - (connection_removed_cb, connection_updated_cb): don't need to get
5912                         path from get_connection_for_proxy(); get scope off the connection
5913                         instead of using GObject data items
5914                 - (connection_added_default_handler, add_one_connection_element): use
5915                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5916                 - (nm_manager_get_connection_dbus_path): remove
5917                 - (nm_manager_get_connection_scope): remove
5918
5919 2008-02-20  Dan Williams  <dcbw@redhat.com>
5920
5921         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5922                 on confusing names
5923
5924         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5925                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5926                 NMExportedConnection
5927
5928         * Internally rename NMConnectionType -> NMConnectionScope
5929
5930         * Provide default implementations of the 'get_id' and 'get_settings' methods
5931                 of NMExportedConnection
5932
5933 2008-02-15  Dan Williams  <dcbw@redhat.com>
5934
5935         * src/nm-device-802-11-wireless.c
5936                 - (device_cleanup): release the AP list here too so that the AP list
5937                         doesn't survive across suspend/resume and up/down.  There is some
5938                         room for optimization, for example blow the list away when the card
5939                         brought back up, but only if the device has only been down for a
5940                         minute or more.
5941
5942 2008-02-15  Dan Williams  <dcbw@redhat.com>
5943
5944         * src/nm-hal-manager.c
5945                 - (modem_device_creator): recognize new HAL modem capabilities
5946
5947 2008-02-12  Dan Williams  <dcbw@redhat.com>
5948
5949         * system-settings/plugins/ifcfg-fedora/plugin.c
5950                 - (watch_path): handle IN_DELETE_SELF too
5951                 - (handle_connection_changed): notify when removing a connection
5952                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5953                         case of a file moving out of the profile directory
5954
5955 2008-02-12  Dan Williams  <dcbw@redhat.com>
5956
5957         * system-settings/plugins/ifcfg-fedora/parser.c
5958                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5959
5960 2008-02-12  Dan Williams  <dcbw@redhat.com>
5961
5962         * libnm-util/nm-utils.c
5963                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5964                         just any empty array
5965
5966 2008-02-12  Dan Williams  <dcbw@redhat.com>
5967
5968         * system-settings/src/nm-system-config-interface.c
5969           system-settings/src/nm-system-config-interface.h
5970                 - (load_connections): get_connections() should now return an allocated
5971                         GSList that the system settings service will free
5972
5973         * system-settings/plugins/ifcfg-fedora/plugin.c
5974           system-settings/plugins/ifcfg-fedora/parser.h
5975           system-settings/plugins/ifcfg-fedora/parser.c
5976                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5977                         in the profile directory, handle resolv.conf file changes
5978
5979 2008-02-10  Dan Williams  <dcbw@redhat.com>
5980
5981         * src/nm-device-802-3-ethernet.c
5982                 - (real_bring_up): save the supplicant interface state signal id
5983                 - (real_bring_down): disconnect from the supplicant interface state
5984                         signal
5985
5986 2008-02-07  Dan Williams  <dcbw@redhat.com>
5987
5988         * initscript/RedHat/NetworkManager.in
5989           initscript/RedHat/NetworkManagerDispatcher.in
5990                 - Add new-style LSB init headers
5991
5992 2008-02-07  Dan Williams  <dcbw@redhat.com>
5993
5994         * system-settings/src/dbus-settings.c
5995           system-settings/src/dbus-settings.h
5996                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5997                         table of secrets
5998                 - (connection_settings_get_secrets): consolidate error returns into
5999                         one place; use the new get_secrets() plugin interface function to
6000                         get secrets from the plugin itself rather than using GObject data
6001                         magic
6002
6003         * system-settings/src/main.c
6004                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6005                    load_connections): keep a private list of the plugin-returned
6006                         connections, don't use the plugin's GSList
6007
6008         * system-settings/plugins/ifcfg-fedora/plugin.c
6009                 - (watch_path): watch the path, not the filename (duh)
6010                 - (reload_all_connections): use the direct hash/equal functions; the
6011                         ones for int aren't appropriate here
6012                 - (get_secrets, system_config_interface_init): implement the
6013                         get_secrets() function
6014                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6015                         now in the connection's ConnectionData instead of being a GObject
6016                         data property
6017                 - (handle_profile_item_changed): ifcfg file path is now in the
6018                         connection's ConnectionData instead of being a GObject data property;
6019                         be sure to copy secrets over from the new connection to the existing
6020                         connection when updating the connection's settings
6021                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6022                         file descriptor
6023
6024         * system-settings/plugins/ifcfg-fedora/parser.c
6025           system-settings/plugins/ifcfg-fedora/parser.h
6026                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6027                    connection_data_copy_secrets, connection_data_free,
6028                    connection_data_add): new functions; connection data manipulation
6029                 - (make_wireless_security_setting): stuff secrets into the
6030                         connection data, not as GObject data items; make sure to close
6031                         the keys ifcfg file
6032                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6033                         connection data to the connection
6034
6035 2008-02-07  Dan Williams  <dcbw@redhat.com>
6036
6037         * system-settings/src/nm-system-config-interface.c
6038           system-settings/src/nm-system-config-interface.h
6039                 - Add a get_secrets() interface function to retrieve secrets for a
6040                         specific setting of a specific connection.  Document the interface
6041                         a bit more too.
6042
6043 2008-02-07  Dan Williams  <dcbw@redhat.com>
6044
6045         * src/nm-device-802-11-wireless.c
6046                 - (handle_auth_or_fail): new function; consolidate device activation
6047                         failure check after a certain number of failures getting secrets
6048                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6049                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6050                         the connection if secrets were requested more than a few times
6051                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6052                         tries here; otherwise they are cleared before the IP configure
6053                         timeout, which happens with open system WEP when key is wrong
6054                 - (activation_success_handler): clear wireless secrets tries here too
6055
6056 2008-02-07  Dan Williams  <dcbw@redhat.com>
6057
6058         * src/NetworkManagerPolicy.c
6059                 - (connection_updated): clear invalid tag when connection gets updated
6060                         to allow that connection to be tried again
6061                 - (nm_policy_new): save signal ids so they can be disconnected when
6062                         the policy is destroyed
6063                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6064                         and disconnect all signals from the manager object so that none
6065                         of the policy functions gets called after the policy is destroyed
6066
6067 2008-02-06  Dan Williams  <dcbw@redhat.com>
6068
6069         * src/nm-manager.c
6070                 - (finalize): remove devices a bit earlier; clean up system settings
6071                         poke
6072                 - (nm_manager_name_owner_changed): clean up system settings poke when
6073                         the service appears, and try to restart it if it fails
6074                 - (poke_system_settings_daemon_cb): try to get the system settings
6075                         service started through D-Bus service activation
6076                 - (initial_get_connections): start the system settings daemon if it's
6077                         not already running
6078
6079 2008-02-05  Dan Williams  <dcbw@redhat.com>
6080
6081         * src/supplicant-manager/nm-supplicant-config.c
6082                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6083                         broadcast networks too
6084
6085 2008-02-04  Dan Williams  <dcbw@redhat.com>
6086
6087         * system-settings/plugins/ifcfg-fedora/parser.c
6088                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6089                         need key_mgmt set too
6090                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6091                         .bak files; ensure that an error is set whenever NULL gets returned
6092
6093 2008-02-04  Dan Williams  <dcbw@redhat.com>
6094
6095         * system-settings/src/Makefile.am
6096                 - Install D-Bus service activation file for the system settings
6097                         service
6098
6099         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6100                 - D-Bus service activation file for system settings service
6101
6102 2008-02-04  Dan Williams  <dcbw@redhat.com>
6103
6104         * system-settings/src/main.c
6105                 - (parse_config_file): parse a config file
6106                 - (main): accept --config option and read plugins from config file
6107
6108 2008-02-04  Dan Williams  <dcbw@redhat.com>
6109
6110         * system-settings/plugins/ifcfg-fedora/plugin.c
6111                 - Change reported name to 'ifcfg-fedora'
6112                 - Use IFCFG_PLUGIN_NAME
6113
6114         * system-settings/plugins/ifcfg-fedora/plugin.c
6115                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6116
6117 2008-02-04  Dan Williams  <dcbw@redhat.com>
6118
6119         * system-settings/plugins/ifcfg-fedora/parser.c
6120                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6121                 - (make_connection_setting): use get_ifcfg_name()
6122                 - (make_wireless_security_setting): handle shadow key files
6123                 - (get_one_wep_key): treat empty string as NULL
6124
6125 2008-02-04  Dan Williams  <dcbw@redhat.com>
6126
6127         * src/supplicant-manager/nm-supplicant-manager.c
6128                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6129                         glib automatically reschedule
6130                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6131                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6132                         the supplicant
6133
6134 2008-02-01  Dan Williams  <dcbw@redhat.com>
6135
6136         * src/NetworkManagerPolicy.c
6137                 - (device_state_changed): schedule a change check when a device gets
6138                         deactivated so something happens if you disconnect GSM/CDMA
6139
6140 2008-01-31  Dan Williams  <dcbw@redhat.com>
6141
6142         * src/nm-device-802-11-wireless.h
6143           src/nm-device-802-11-wireless.c
6144                 - (ap_list_get_ap_by_ssid, is_associated,
6145                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6146                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6147                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6148                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6149                         function
6150
6151 2008-01-30  Dan Williams  <dcbw@redhat.com>
6152
6153         * system-settings/plugins/ifcfg
6154         * system-settings/plugins/ifcfg-fedora
6155                 - Move the ifcfg plugin to ifcfg-fedora
6156
6157 2008-01-24  Dan Williams  <dcbw@redhat.com>
6158
6159         * libnm-glib/nm-device-802-11-wireless.c
6160                 - (get_access_point): move the "/" check here; check for invalid path
6161                         too
6162                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6163                         to get_access_point()
6164                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6165                         to send signals for non-existent access points
6166
6167 2008-01-24  Dan Williams  <dcbw@redhat.com>
6168
6169         * libnm-glib/nm-device-802-11-wireless.c
6170                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6171
6172 2008-01-23  Dan Williams  <dcbw@redhat.com>
6173
6174         * libnm-glib/libnm_glib.c
6175                 - (libnm_glib_init): make thread joinable
6176                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6177
6178 2008-01-23  Dan Williams  <dcbw@redhat.com>
6179
6180         * test/libnm_glib_test.c
6181                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6182                 - (main): set up signal handlers; call libnm_glib_shutdown
6183
6184 2008-01-21  Dan Williams  <dcbw@redhat.com>
6185
6186         * include/NetworkManager.h
6187                 - Add CDMA mobile broadband card device type
6188
6189         * src/nm-hal-manager.c
6190                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6191                         must now be tagged with 'cdma' or 'gsm' capability
6192
6193         * src/nm-cdma-device.c
6194           src/nm-cdma-device.h
6195           src/Makefile.am
6196                 - Add the CDMA mobile broadband card device class
6197
6198         * libnm-util/nm-connection.c
6199                 - (register_default_settings): add NMSettingCdma
6200
6201         * libnm-util/nm-setting-cdma.c
6202           libnm-util/nm-setting-cdma.h
6203           libnm-util/Makefile.am
6204                 - Add the CDMA mobile broadband card setting class
6205
6206         * libnm-glib/nm-cdma-device.c
6207           libnm-glib/nm-cdma-device.h
6208           libnm-glib/Makefile.am
6209                 - Add the CDMA mobile broadband card GLib proxy class
6210
6211         * libnm-glib/nm-client.c
6212                 - (get_device): handle CDMA devices too
6213
6214 2008-01-21  Dan Williams  <dcbw@redhat.com>
6215
6216         * src/ppp-manager/nm-ppp-manager.c
6217                 - (ip4_config_get): set peer address too
6218
6219         * src/ppp-manager/nm-pppd-plugin.c
6220                 - (nm_ip_up): try harder to get the peer's address
6221
6222         * src/NetworkManagerSystem.c
6223                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6224                         address, use that too.  Otherwise, some PPP connections won't work.
6225
6226 2008-01-19  Dan Williams  <dcbw@redhat.com>
6227
6228         * src/NetworkManagerPolicy.c
6229                 - (nm_policy_device_change_check): system connections override user
6230                         connections; don't activate a user connection if there's a currently
6231                         active system connection, and new, better system connections always
6232                         interrupt user connections
6233
6234 2008-01-19  Dan Williams  <dcbw@redhat.com>
6235
6236         * src/nm-manager.h
6237                 - (nm_manager_get_connection_type): new function
6238
6239 2008-01-19  Dan Williams  <dcbw@redhat.com>
6240
6241         * src/nm-device-802-11-wireless.c
6242                 - (real_get_best_connection): collapse find_best_connection() into this
6243                         function
6244
6245 2008-01-19  Dan Williams  <dcbw@redhat.com>
6246
6247         * src/nm-device-802-3-ethernet.c
6248                 - (real_get_best_connection): collapse find_best_connection() into this
6249                         function
6250
6251 2008-01-18  Dan Williams  <dcbw@redhat.com>
6252
6253         * src/nm-device-802-3-ethernet.c
6254                 - (find_best_connection): check MAC address too
6255                 - (real_get_best_connection): let autoconnect=True connections activate
6256                         for devices that don't have carrier detection
6257
6258         * src/nm-device-802-11-wireless.c
6259                 - (find_best_connection): check MAC address too
6260
6261 2008-01-18  Dan Williams  <dcbw@redhat.com>
6262
6263         * system-settings/plugins/ifcfg/parser.c
6264                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6265
6266 2008-01-17  Dan Williams  <dcbw@redhat.com>
6267
6268         * src/nm-device-802-3-ethernet.c
6269                 - (nm_device_802_3_ethernet_carrier_on,
6270                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6271                         carrier events that might come in for devices that don't support
6272                         carrier detect
6273
6274 2008-01-17  Dan Williams  <dcbw@redhat.com>
6275
6276         * src/nm-device-interface.c
6277                 - (nm_device_interface_check_connection_conflicts): need to actually
6278                         get the interface, not cast to the object
6279
6280         * src/nm-device.c
6281                 - (nm_device_check_connection_conflicts): need to get the device class,
6282                         not cast the device to the device class
6283
6284 2008-01-17  Dan Williams  <dcbw@redhat.com>
6285
6286         * src/nm-device-802-11-wireless.c
6287                 - (real_check_connection_conflicts): ignore connections that aren't
6288                         wireless connections
6289
6290 2008-01-17  Dan Williams  <dcbw@redhat.com>
6291
6292         * src/NetworkManagerPolicy.c
6293                 - (nm_policy_device_change_check): clear change check idle here
6294                 - (device_change_check_done): remove
6295                 - (schedule_change_check): simplify
6296
6297 2008-01-17  Dan Williams  <dcbw@redhat.com>
6298
6299         * src/nm-manager.c
6300                 - (check_connection_allowed): take an NMDeviceInterface instead of
6301                         an NMDevice object as an argument
6302                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6303                         check_connection_allowed()
6304
6305 2008-01-13  Dan Williams  <dcbw@redhat.com>
6306
6307         * libnm-glib/nm-device-802-11-wireless.c
6308                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6309
6310 2008-01-12  Dan Williams  <dcbw@redhat.com>
6311
6312         * src/nm-device-802-11-wireless.c
6313                 - (activation_success_handler): if a match was found in the scan list
6314                         and that match is a hidden AP, update that AP's SSID
6315
6316 2008-01-11  Dan Williams  <dcbw@redhat.com>
6317
6318         * src/NetworkManagerAP.c
6319                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6320
6321         * src/nm-device-802-11-wireless.c
6322                 - (get_active_ap): do two passes over the scan list if the caller
6323                         requests that hidden APs get matched too; during the second pass
6324                         when matching hidden APs, ignore the SSID since hidden APs in the
6325                         scan list don't have an SSID yet
6326                 - (periodic_update): move some checks to
6327                         nm_device_802_11_periodic_update() because not all callers need them
6328                 - (nm_device_802_11_periodic_update): move some checks here from
6329                         perodic_update()
6330                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6331                         matching on incoming scan results, because the fake AP's flags
6332                         might be slightly different (yet still compatible) with the incoming
6333                         scan result's flags and they might actually be the same AP; update
6334                         the rate on merged APs too
6335                 - (activation_success_handler): update the frequency of the fake AP
6336                         on successful connection; match hidden APs too since if the
6337                         current AP is fake, there might already be a scan result in the
6338                         scan list for the desired AP, just without it's SSID filled in yet
6339
6340 2008-01-10  Dan Williams  <dcbw@redhat.com>
6341
6342         * src/NetworkManagerAP.c
6343                 - (foreach_property_cb): catch more hidden SSID formats
6344
6345 2008-01-10  Dan Williams  <dcbw@redhat.com>
6346
6347         Fix gnome.org #464215.  Requires the kernel patch titled
6348         "Introduce WEXT scan capabilities" but will handle the patch not being
6349         present, you'll just continue to have problems with hidden SSIDs when
6350         using mac80211-based drivers.
6351
6352         * src/supplicant-manager/nm-supplicant-config.h
6353           src/supplicant-manager/nm-supplicant-config.c
6354                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6355                         whether the driver supports SSID scans or not.  If it does, and if
6356                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6357
6358         * src/nm-device-802-11-wireless.c
6359                 - (constructor): check whether or not the driver supports SSID scans
6360                 - (build_supplicant_config): pass driver SSID scan capability when
6361                         building the wireless bits of the supplicant config
6362
6363 2008-01-09  Dan Williams  <dcbw@redhat.com>
6364
6365         * src/nm-device.c
6366           src/nm-device.h
6367                 - (device_activation_precheck, check_connection_complete): remove this
6368                         virtual function; incomplete connections should be invalid by
6369                         definition, complete-ness should be checked in the setting's
6370                         verify function
6371
6372         * src/nm-serial-device.c
6373           src/nm-gsm-device.c
6374                 - (real_check_connection_complete): remove
6375
6376         * libnm-util/nm-setting-serial.c
6377                 - (verify): new function; ensure there is a PPP setting too
6378
6379         * libnm-util/nm-setting-gsm.c
6380                 - (verify): ensure there is a serial setting too
6381
6382 2008-01-06  Dan Williams  <dcbw@redhat.com>
6383
6384         * src/dhcp-manager/nm-dhcp-manager.c
6385                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6386                         (gnome.org #332953)
6387
6388 2008-01-04  Dan Williams  <dcbw@redhat.com>
6389
6390         * src/named-manager/nm-named-manager.c
6391                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6392                         nameservers if the secondary config doesn't have any
6393                         (gnome.org #346833)
6394
6395 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6396
6397         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6398         with G_PARAM_CONSTRUCT so that they get the default values.
6399
6400         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6401         the monitoring device and prints out the output for now. Or more precicely, doesn't
6402         do absolutely anything right now since the montoring device argument is never set.
6403
6404         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6405         requires it's own knob to turn it on.
6406         (config_fd): Add NMSettingSerial to the arguments list.
6407         (nm_serial_device_open): Ditto.
6408         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6409         (nm_serial_device_get_io_channel): Implement.
6410
6411         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6412         a new reference every time (and forgetting to release it sometimes) is a pain and
6413         it's not like NMManager could work without dbus.
6414         (nm_manager_add_device): Register the added device on dbus here.
6415
6416         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6417         device.
6418
6419         * src/nm-device.c (constructor): Don't export the device here, instead export
6420         it when it's added to the NMManager's device list.
6421
6422 2007-12-31  Dan Williams  <dcbw@redhat.com>
6423
6424         * src/nm-device-interface.c
6425           src/nm-device-interface.h
6426                 - (nm_device_interface_check_connection_conflicts): new function
6427
6428         * src/nm-device.c
6429           src/nm-device.h
6430                 - (nm_device_check_connection_conflicts): new function
6431                 - (device_activation_precheck): don't require subclasses to implement
6432                         check_connection_complete()
6433                 - check_connection() -> check_connection_complete()
6434
6435         * src/nm-device-802-11-wireless.c
6436                 - (real_check_connection): remove; unused
6437                 - (real_check_connection_conflicts): implement, handle lockdown for
6438                         system connections
6439
6440         * src/nm-device-802-3-ethernet.c
6441                 - (real_check_connection): remove; unused
6442
6443         * src/nm-manager.c
6444                 - (check_connection_allowed): new function
6445                 - (nm_manager_activate_device): ensure the connection being requested
6446                         is allowed to be activated
6447
6448         * src/nm-serial-device.c
6449           src/nm-gsm-device.c
6450                 - real_check_connection() -> real_check_connection_complete()
6451
6452 2007-12-27  Dan Williams  <dcbw@redhat.com>
6453
6454         * src/nm-device-interface.c
6455           src/nm-device-interface.h
6456                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6457                         normalize and expand errors
6458                 - (nm_device_interface_init): register errors so they can be marshalled
6459                         through dbus-glib
6460                 - (nm_device_interface_activate): ensure that failure of activation
6461                         returns an error
6462
6463         * src/nm-device.c
6464           src/nm-device.h
6465                 - (device_activation_precheck): implementations of check_connection()
6466                         now take a GError and must fill it in if the check fails.  Return
6467                         more descriptive error if the requested connection is already
6468                         activating
6469                 - (nm_device_activate): actually try to return descriptive errors on
6470                         failures
6471
6472         * src/nm-device-802-11-wireless.c
6473           src/nm-device-802-3-ethernet.c
6474           src/nm-serial-device.c
6475           src/nm-gsm-device.c
6476                 - (real_check_connection): return more descriptive errors on failure
6477
6478         * src/NetworkManagerPolicy.c
6479                 - (nm_policy_device_change_check): print activation errors in the logs
6480
6481         * src/nm-manager.c
6482                 - (nm_manager_error_quark, nm_manager_error_get_type,
6483                    nm_manager_class_init): new errors
6484                 - (nm_manager_activate_device): handle errors
6485                 - (nm_manager_error_new): removed
6486                 - (wait_for_connection_expired, connection_added_default_handler,
6487                    impl_manager_activate_device): better error handling
6488
6489 2007-12-27  Dan Williams  <dcbw@redhat.com>
6490
6491         Fixes gnome.org #466954
6492
6493         * src/supplicant-manager/nm-supplicant-settings-verify.c
6494                 - Allow 'frequency' network property
6495
6496         * src/supplicant-manager/nm-supplicant-config.c
6497           src/supplicant-manager/nm-supplicant-config.h
6498                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6499                         for callers to specify the frequency an Ad-Hoc network should operate
6500                         on.  Some drivers require this to successfully create an Ad-Hoc
6501                         network.
6502
6503         * src/nm-device-802-11-wireless.c
6504                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6505                         guint32 value in MHz
6506                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6507                         iw_freq_to_uint32()
6508                 - (find_supported_frequency): new function; find a free supported
6509                         frequency for a user-created Ad-Hoc network
6510                 - (build_supplicant_config): if no frequency was specified for a user-
6511                         created Ad-Hoc network, find a free one to use
6512                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6513                         a specific object as user-created
6514
6515 2007-12-27  Dan Williams  <dcbw@redhat.com>
6516
6517         * libnm-util/nm-utils.c
6518           libnm-util/nm-utils.h
6519                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6520                         for adhoc networks
6521
6522 2007-12-24  Dan Williams  <dcbw@redhat.com>
6523
6524         * libnm-util/nm-setting-wireless.c
6525                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6526                         185, 187, 188, 192, and 196
6527
6528 2007-12-24  Dan Williams  <dcbw@redhat.com>
6529
6530         * src/nm-device-802-11-wireless.c
6531                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6532                         a channel # instead of a frequency
6533
6534 2007-12-24  Dan Williams  <dcbw@redhat.com>
6535
6536         * src/NetworkManagerAP.c
6537           src/NetworkManagerAP.h
6538                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6539                 - (freq_to_channel): handle split band tables
6540                 - (channel_to_freq): handle split band tables, take a band argument
6541
6542 2007-12-24  Dan Williams  <dcbw@redhat.com>
6543
6544         * libnm-util/nm-setting-connection.h
6545           libnm-util/nm-setting-connection.c
6546                 - Add 'lockdown' member
6547
6548 2007-12-22  Dan Williams  <dcbw@redhat.com>
6549
6550         * libnm-util/nm-setting-wireless.c
6551                 - (nm_setting_wireless_class_init): add missing 'rate' property
6552                         specification
6553
6554 2007-12-18  Dan Williams  <dcbw@redhat.com>
6555
6556         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6557
6558         * src/nm-netlink-monitor.c
6559           src/nm-netlink-monitor.h
6560                 - Remove handrolled netlink, use libnl instead
6561
6562         * src/nm-device-802-3-ethernet.c
6563                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6564                    nm_device_802_3_ethernet_carrier_on): use new names
6565
6566 2007-12-17  Dan Williams  <dcbw@redhat.com>
6567
6568         * configure.in
6569                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6570                         and fixes memory leaks)
6571
6572         * src/nm-netlink.c
6573                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6574                         automatically handle the netlink PID
6575
6576 2007-12-17  Dan Williams  <dcbw@redhat.com>
6577
6578         Patch from Michael Biebl <biebl@debian.org>
6579
6580         * configure.in
6581           src/ppp-manager/Makefile.am
6582                 - fix up install dir of pppd plugin
6583                 - clean up configure.in a bit
6584
6585 2007-12-12  Dan Williams  <dcbw@redhat.com>
6586
6587         * system-settings/src/nm-system-settings.conf
6588                 - Allow non-root clients (like the applet) to read settings
6589
6590 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6591
6592         * Replace all occurences of 'UMTS' with 'GSM'.
6593
6594 2007-12-07  Dan Williams  <dcbw@redhat.com>
6595
6596         * src/nm-serial-device.c
6597                 - (real_is_up): serial devices are always "up"
6598
6599 2007-12-07  Dan Williams  <dcbw@redhat.com>
6600
6601         * src/nm-netlink.c
6602           src/NetworkManagerSystem.c
6603                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6604                         twice (gnome.org #491047)
6605                 - Make more robust against allocation-related failures should they occur
6606
6607 2007-12-07  Dan Williams  <dcbw@redhat.com>
6608
6609         Noticed by Christian Persch <chpe@gnome.org>
6610
6611         Always chain up to parent object in dispose and finalize handlers.
6612                 (gnome.org #433112)
6613
6614 2007-12-07  Dan Williams  <dcbw@redhat.com>
6615
6616         * src/nm-device-802-11-wireless.c
6617                 - Wrap #include of linux/mii.h to fix redefined structures due to
6618                         incorrect kernel headers (gnome.org #350061)
6619
6620 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6621
6622         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6623         before doing anything else.
6624         (init_modem): Move modem initialization here.
6625
6626         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6627         (nm_serial_device_flash): Implement.
6628
6629         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6630         changes signal is "StateChanged" and not "Status".
6631         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6632
6633 2007-12-06  Dan Williams  <dcbw@redhat.com>
6634
6635         * src/supplicant-manager/nm-supplicant-config.c
6636                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6637                         to only send some options when they make sense; also send phase2
6638                         option to the supplicant (possible fix for rh #399631)
6639
6640 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6641
6642         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6643         arguments: This whole file shouldn't really know anything about NMDevices, it
6644         should deal only with device interfaces. Devices might have different ifaces for
6645         different stuff and this place shouldn't know anything about it.
6646
6647         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6648         (global_state_changed): Implement. In the current NM it's not really important,
6649         but will be required in the case of multiple active devices. (Or even better,
6650         if stuff like that gets moved out from NM).
6651
6652         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6653         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6654         instead.
6655
6656         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6657         devices like serial devices (ttyS0 and ppp0 for example).
6658         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6659         set.
6660         (nm_device_set_ip_iface): Implement.
6661         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6662         after setting ip4_config from here ...
6663         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6664         than this function should call nm_system_device_set_from_ip4_config() because no
6665         other code has enough information on which arguments to use. So instead, other code
6666         could just set the new ip4 config using this function and everyone is happy.
6667
6668         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6669         if we happen to get deactivated while something is pending.
6670         (automatic_registration): Handle the response that indicates pending network
6671         registration and wait until the pending registration is done.
6672         (real_deactivate_quickly): If there's a pending operation, cancel it.
6673
6674         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6675         (real_deactivate_quickly): ... and remove it when it's down.
6676         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6677         it if needed.
6678         (nm_serial_device_wait_for_reply): Ditto.
6679
6680 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6681
6682         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6683         (get_network_done): Remove newline, nm_info() does it already.
6684         (real_act_stage1_prepare): Turn the modem echo off.
6685
6686         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6687         device, set the route to the device interface. This is a hack.
6688
6689         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6690         return, no need for a new-line.
6691         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6692         Change the device iface here (ugh).
6693         (real_act_stage4_get_ip4_config): Implement.
6694         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6695         Restore the device iface.
6696
6697         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6698         device is not wired or wireless (eg, automatically upped) device.
6699
6700         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6701         it isn't.
6702         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6703
6704         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6705         before calling it's is_device_fn().
6706
6707 2007-12-05  Dan Williams  <dcbw@redhat.com>
6708
6709         * libnm-util/nm-utils.c
6710                 - (nm_utils_register_value_transformations,
6711                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6712                         GHashTables of GValues too
6713
6714 2007-12-04  Dan Williams  <dcbw@redhat.com>
6715
6716         * initscript/RedHat/NetworkManager.in
6717                 - No longer start named; it's D-Bus interface is going away
6718
6719 2007-12-04  Dan Williams  <dcbw@redhat.com>
6720
6721         Patch from Michael Biebl <biebl@debian.org>
6722
6723         * system-settings/plugins/ifcfg/Makefile.am
6724           system-settings/src/main.c
6725           system-settings/src/Makefile.am
6726                 - Put system settings plugins in NM plugins dir
6727
6728         * src/ppp-manager/Makefile.am
6729           src/ppp-manager/nm-ppp-manager.c
6730                 - Move pppd plugin to NM plugins dir
6731
6732 2007-12-04  Dan Williams  <dcbw@redhat.com>
6733
6734         * libnm-util/nm-setting-vpn-properties.h
6735                 - Clarify usage of the 'data' member of the setting
6736
6737         * libnm-util/nm-setting-vpn-properties.c
6738                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6739                 - (set_property): just remove all the settings; don't recreate the has
6740                 - (update_one_secret): don't need to create the hash table here since
6741                         it should always be present
6742
6743 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6744
6745         Implement PIN and PUK requesting.
6746
6747         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6748         (enter_pin): Handle PIN and PUK requests.
6749         (real_act_stage1_prepare): Clear the secret type.
6750         (real_connection_secrets_updated): Implement this class method to get
6751         notified when new secrets arrive.
6752         (nm_umts_device_class_init): Add private data back to the umts device class
6753         to store the required secret type.
6754
6755 2007-12-01  Dan Williams  <dcbw@redhat.com>
6756
6757         * system-settings/plugins/ifcfg/parser.c
6758                 - (parser_parse_file): don't try to verify NULL connections
6759
6760 2007-12-01  Dan Williams  <dcbw@redhat.com>
6761
6762         * system-settings/src/main.c
6763                 - (load_connections, add_connection_to_settings): actually export
6764                         plugin-provided connections over D-Bus so NM can get them
6765
6766 2007-12-01  Dan Williams  <dcbw@redhat.com>
6767
6768         * system-settings/plugins/ifcfg/parser.c
6769           system-settings/plugins/ifcfg/parser.h
6770           system-settings/plugins/ifcfg/plugin.c
6771                 - Hook up more inotify bits (untested)
6772
6773 2007-11-29  Dan Williams  <dcbw@redhat.com>
6774
6775         * system-settings/src/nm-system-config-interface.h
6776           system-settings/src/nm-system-config-interface.c
6777                 - (nm_system_config_interface_init,
6778                    nm_system_config_interface_get_connections): add
6779
6780         * system-settings/src/main.c
6781                 - (load_plugins, load_connections, main): use a GSList for plugins
6782                         to ensure priority ordering
6783
6784         * system-settings/plugins/ifcfg/parser.c
6785                 - (ifcfg_error_quark): move to plugin.c, and rename
6786
6787         * system-settings/plugins/ifcfg/plugin.h
6788           system-settings/plugins/ifcfg/plugin.c
6789                 - (ifcfg_plugin_error_quark): move here from parser.c
6790                 - rework connection loading and initialization
6791                 - Add preliminary inotify support for network profile config file
6792
6793 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6794
6795         Merge the beginnings of the new GSM card support.
6796
6797         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6798         ppp watch source before killing pppd - If this happens from g_object_unref()
6799         then the ppp manager is already destroyed by the time the watch callback runs.
6800
6801         * src/nm-hal-manager.c: Add a device_type_name string to the device
6802         creators, so that we can print a nice human readable string when a
6803         device is added.
6804
6805         * src/nm-umts-device.c (automatic_registration_get_network): Query
6806         for the activated network, not much is done with the result thought.
6807
6808         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6809         (ppp_ip4_config): Change the device state to activated here for now.
6810         (real_check_connection): Make sure the connection includes ppp setting.
6811
6812         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6813
6814         * libnm-glib/Makefile.am: Add the new files to build.
6815
6816         * libnm-glib/nm-umts-device.c: 
6817         * libnm-glib/nm-umts-device.h: Implement.
6818
6819 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6820
6821         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6822         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6823
6824         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6825         the timeout source - this function is only called when the timeout source has
6826         been removed.
6827         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6828         to be big enough to contain the terminating zero element as well.
6829         The timeout argument is meant to be in seconds now.
6830         (real_deactivate_quickly): Implement.
6831
6832         * src/NetworkManager.conf: Allow root to own 
6833         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6834
6835         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6836         (not unsigned ints).
6837
6838         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6839         small issue with parity bounds - capital letters have lower ascii codes
6840         than lower case letters.
6841
6842         * libnm-util/nm-connection.c (register_default_settings): Register serial
6843         and umts settings.
6844
6845 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6846
6847         Remove the "index" property from devices as not all device types have this.
6848
6849         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6850
6851         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6852         (wired_device_creator): Get the device interface from hal to create the device.
6853         (wireless_device_creator): Ditto.
6854
6855         * src/nm-device.c (nm_device_init): Remove the index member.
6856         (constructor): Remove the checks for index property, make interface property
6857         a require constructor property.
6858         Use the HAL udi for DBus path for devices.
6859         (nm_device_get_index): Remove.
6860         (set_property): Remove index handling.
6861         (get_property): Ditto.
6862         (nm_device_get_dbus_path): Remove.
6863
6864         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6865         property.
6866
6867         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6868         Access the device index through it's interface.
6869         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6870         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6871         index argument. Add interface argument.
6872
6873         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6874         the useless test_dev argument. Remove index argument. Add interface arugment.
6875
6876         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6877         device index through interface.
6878         (nm_system_set_mtu): Ditto.
6879
6880         * introspection/nm-device.xml: Remove the "Index" property.
6881
6882 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6883
6884         * src/nm-serial-device.c: 
6885         * src/nm-serial-device.c: 
6886         * src/nm-umts-device.c:
6887         * src/nm-umts-device.h: Implement.
6888
6889         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6890         allocated by libhal.
6891         (modem_device_creator): Implement.
6892         (register_built_in_creators): Register the modem creator.
6893
6894         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6895         Remove the unused test_dev argument.
6896
6897         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6898
6899         * src/Makefile.am: Add new files to build.
6900         Link in ppp-manager.
6901
6902         * libnm-util/nm-setting-umts.c: 
6903         * libnm-util/nm-setting-umts.h: 
6904         * libnm-util/nm-setting-serial.c: 
6905         * libnm-util/nm-setting-serial.h: Implement.
6906
6907         * libnm-util/Makefile.am: Add new files to build.
6908
6909 2007-11-28  Dan Williams  <dcbw@redhat.com>
6910
6911         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6912
6913         Support DHCP-provided static routes.
6914
6915         * src/nm-ip4-config.h
6916           src/nm-ip4-config.c
6917                 - Add get/set functions for static routes
6918
6919         * src/dhcp-manager/nm-dhcp-manager.c
6920                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6921                         DHCP response
6922
6923         * src/NetworkManagerSystem.c
6924                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6925                         interface when applying the IP4Config
6926
6927 2007-11-28  Dan Williams  <dcbw@redhat.com>
6928
6929         * src/nm-device-802-11-wireless.c
6930                 - (real_act_stage1_prepare): mark APs created for hidden networks
6931                         as non-broadcasting
6932
6933 2007-11-27  Dan Williams  <dcbw@redhat.com>
6934
6935         * system-settings/src/nm-system-config-interface.h
6936                 - Note how to store secrets on NMSetting objects
6937
6938         * system-settings/src/dbus-settings.c
6939                 - (connection_settings_get_secrets): implement
6940
6941 2007-11-27  Dan Williams  <dcbw@redhat.com>
6942
6943         * system-settings/plugins/ifcfg/Makefile.am
6944           system-settings/plugins/ifcfg/parser.c
6945           system-settings/plugins/ifcfg/parser.h
6946           system-settings/plugins/ifcfg/plugin.c
6947                 - Parse wireless connections too
6948
6949         * system-settings/src/dbus-settings.c
6950           system-settings/src/dbus-settings.h
6951           system-settings/src/main.c
6952                 - Handle connection update/removal if the plugin supports it
6953
6954 2007-11-27  Dan Williams  <dcbw@redhat.com>
6955
6956         * src/nm-dbus-manager.h
6957           src/nm-hal-manager.c
6958                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6959                         do it for them
6960
6961         * src/Makefile.am
6962           src/NetworkManagerDbusUtils.c
6963           src/NetworkManagerDbusUtils.h
6964                 - Remove these two source files; they are unused
6965
6966 2007-11-27  Dan Williams  <dcbw@redhat.com>
6967
6968         * src/vpn-manager/nm-vpn-manager.c
6969                 - (impl_vpn_manager_connect): fix system settings check (found by
6970                         James M. Leddy)
6971
6972 2007-11-26  Dan Williams  <dcbw@redhat.com>
6973
6974         * Fix warnings so everything compiles with --enable-more-warnings
6975
6976 2007-11-25  Dan Williams  <dcbw@redhat.com>
6977
6978         * system-settings/*
6979                 - Rework structure and code to use GModule-loaded plugins and a plugin
6980                         interface that plugins export to the system settings service
6981
6982 2007-11-21  Dan Williams  <dcbw@redhat.com>
6983
6984         * system-settings/*
6985                 - Add Soren's system settings service.  Needs work for distros other
6986                         than Fedora; the backends from NM should mostly migrate to here
6987                         and be converted to GObjects
6988
6989 2007-11-21  Dan Williams  <dcbw@redhat.com>
6990
6991         * libnm-util/nm-setting-vpn-properties.c
6992                 - (set_property): must deep-copy the given settings hash, otherwise
6993                         double-free errors occur when the setting is disposed of
6994
6995 2007-11-21  Dan Williams  <dcbw@redhat.com>
6996
6997         * src/vpn-manager/nm-vpn-act-request.h
6998           src/vpn-manager/nm-vpn-act-request.c
6999                 - Remove; unused
7000
7001 2007-11-20  Dan Williams  <dcbw@redhat.com>
7002
7003         * libnm-util/nm-utils.c
7004                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7005                    nm_utils_convert_ip4_addr_struct_array_to_string,
7006                    nm_utils_register_value_transformations): print out the readable
7007                         values of more types of properties of NMSettings subclasses
7008
7009 2007-11-20  Dan Williams  <dcbw@redhat.com>
7010
7011         * libnm-util/nm-setting-ip4-config.c
7012                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7013                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7014                         marshal GValueArrays inside collections, so switch to types that it
7015                         can actually marshal/demarshal
7016
7017 2007-11-16  Dan Williams  <dcbw@redhat.com>
7018
7019         * libnm-util/nm-setting-wireless-security.c
7020                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7021                         minimal verification of EAP methods too
7022                 - (verify): verify phase1 eap methods too
7023
7024 2007-11-15  Dan Williams  <dcbw@redhat.com>
7025
7026         * libnm-glib/nm-device.h
7027           libnm-glib/nm-device.c
7028                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7029                         const char *
7030
7031 2007-11-15  Dan Williams  <dcbw@redhat.com>
7032
7033         * libnm-glib/nm-device.c
7034                 - (get_product_and_vendor): don't try to free things that should be
7035                         freed
7036
7037 2007-11-15  Dan Williams  <dcbw@redhat.com>
7038
7039         * src/NetworkManagerUtils.c
7040                 - (nm_ethernet_address_is_valid): unbreak previous fix
7041
7042 2007-11-15  Dan Williams  <dcbw@redhat.com>
7043
7044         * src/supplicant-manager/nm-supplicant-config.c
7045                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7046                         options
7047
7048 2007-11-15  Dan Williams  <dcbw@redhat.com>
7049
7050         * src/NetworkManagerUtils.c
7051                 - (nm_ethernet_address_is_valid): fix style, clarify
7052                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7053
7054         * src/nm-device-802-11-wireless.c
7055                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7056                 - (nm_device_802_11_wireless_get_ssid,
7057                    nm_device_802_11_wireless_get_bssid,
7058                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7059                         before calling the ioctl; fixes valgrind-reported jump depends on
7060                         uninitialized value errors
7061
7062 2007-11-15  Dan Williams  <dcbw@redhat.com>
7063
7064         * libnm-util/nm-setting.c
7065                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7066                         unecessary to serialize 'name'
7067
7068         * src/nm-activation-request.c
7069                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7070                         the GetSecrets call
7071
7072 2007-11-15  Dan Williams  <dcbw@redhat.com>
7073
7074         * libnm-util/nm-setting-connection.h
7075           libnm-util/nm-setting-connection.c
7076                 - Rename the 'name' property to 'id', because it conflicted with the
7077                         NMSetting superclass' 'name' property.
7078
7079         * libnm-util/nm-setting.c
7080                 - (nm_setting_to_hash): serialize the 'name' property
7081                 - (one_property_cb): ignore 'name' on deserialization of a connection
7082
7083         * src/nm-device-802-11-wireless.c
7084           src/vpn-manager/nm-vpn-connection.c
7085           src/NetworkManagerPolicy.c
7086                 - Fix up for NMSettingConnection 'name'->'id' changes
7087
7088 2007-11-13  Dan Williams  <dcbw@redhat.com>
7089
7090         * libnm-glib/nm-device-802-11-wireless.h
7091           libnm-glib/nm-device-802-11-wireless.c
7092                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7093
7094         * test/nm-tool.c
7095           libnm-glib/libnm-glib-test.c
7096                 - Fixes for above change
7097
7098 2007-11-12  Dan Williams  <dcbw@redhat.com>
7099
7100         * src/supplicant-manager/nm-supplicant-settings-verify.c
7101                 - Allow fragment_size option
7102
7103         * src/supplicant-manager/nm-supplicant-settings-verify.c
7104                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7105                         EAP fragment size than the default to help some TLS connections
7106
7107 2007-11-12  Dan Williams  <dcbw@redhat.com>
7108
7109         Make certs actually work.  The private key is now a secret, and should be
7110         decrypted when requested by NM.  The private key and phase2 private key
7111         passwords are no longer interesting to NM because they should be used by
7112         the settings service to decrypt the private key itself before passing it
7113         to NM, and hence have been removed as fields.
7114
7115         * libnm-util/nm-setting-wireless-security.h
7116           libnm-util/nm-setting-wireless-security.c
7117                 - Remove private-key-passwd and phase2-private-key-passwd from
7118                         properties
7119                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7120                    need_secrets): use property #defines instead strings to keep things
7121                         consistent
7122                 - (need_secrets_tls): if a client certificate is present but no
7123                         private key, request the private key
7124                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7125                         remove private key password stuff, mark private keys as secret
7126
7127         * src/supplicant-manager/nm-supplicant-settings-verify.c
7128                 - Remove private_key_passwd and private_key2_passwd from opt_table
7129
7130 2007-11-09  Dan Williams  <dcbw@redhat.com>
7131
7132         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7133         Since the vpn-properties are managed and known by the VPN daemons themselves,
7134         libnm-util doesn't know what's secret and what's in the setting's 'data'
7135         member.
7136
7137         * libnm-util/nm-setting.h
7138           libnm-util/nm-setting.c
7139                 - Add the ability for subclasses to override update_one_secret
7140
7141         * libnm-util/nm-setting-vpn-properties.c
7142                 - Override update_one_secret and just copy the values into the
7143                         internal table
7144
7145 2007-11-09  Dan Williams  <dcbw@redhat.com>
7146
7147         * libnm-glib/nm-settings.h
7148           libnm-glib/nm-settings.c
7149                 - (nm_settings_new_error): remove
7150                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7151                         clients should use g_set_error() with NM_SETTINGS_ERROR
7152
7153 2007-11-09  Dan Williams  <dcbw@redhat.com>
7154
7155         * src/supplicant-manager/nm-supplicant-config.c
7156                 - (nm_supplicant_config_add_setting_wireless_security): private key
7157                         passwords are never sent to wpa_supplicant, because the supplicant
7158                         should never be reading random files from the disk.  Clients like
7159                         the applet are required to decrypt the private keys and send NM
7160                         the decrypted blobs.
7161
7162 2007-11-08  Dan Williams  <dcbw@redhat.com>
7163
7164         * libnm-util/nm-setting-wireless-security.h
7165           libnm-util/nm-setting-wireless-security.c
7166                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7167                         members to 802-11-wireless-security structure.  This should be used
7168                         to indicate that the values in private-key and phase2-private-key
7169                         are already decrypted by the user agent, and that no
7170                         private-key-passwd or phase2-private-key-passwd should be expected.
7171                         It is not meant to be a stored configuration value, but meant to
7172                         be set when the conneciton is sent to NM over dbus.
7173
7174 2007-11-08  Dan Williams  <dcbw@redhat.com>
7175
7176         * libnm-util/nm-connection.h
7177           libnm-util/nm-connection.c
7178                 - (nm_connection_need_secrets): add argument to return hints
7179
7180         * src/nm-device-802-11-wireless.c
7181                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7182                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7183                         nm_connection_need_secrets() change
7184
7185 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7186
7187         Rework NMSetting structures: Move each setting to it's own file.
7188         Convert to GObject. Remove home grown setting types and use GTypes.
7189         Use GObject property introspection for hash conversion, enumerating
7190         properties, etc.
7191
7192         * libnm-util/nm-setting-connection.[ch]
7193         * libnm-util/nm-setting-ip4-config.[ch]
7194         * libnm-util/nm-setting-ppp.[ch]
7195         * libnm-util/nm-setting-vpn.[ch]
7196         * libnm-util/nm-setting-vpn-properties.[ch]
7197         * libnm-util/nm-setting-wired.[ch]
7198         * libnm-util/nm-setting-wireless.[ch]
7199         * libnm-util/nm-setting-wireless-security.[ch]
7200
7201         New files, each containing a setting.
7202
7203         * libnm-util/nm-setting-template.[ch]: A template for creating new
7204         settings. To use it, just replace 'template' with the new setting
7205         name, and you're half-way done.
7206
7207         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7208         introspection instead of internal types and tables.
7209
7210         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7211
7212         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7213         GValue types defined by dbus-glib for composed types like collections,
7214         structures and maps.
7215
7216         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7217         a setting from connection takes the setting type now. Also, since
7218         the settings are in multiple files, include relevant settings.
7219
7220 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7221
7222         * configure.in:
7223         * src/backends/NetworkManagerGentoo.c:
7224         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7225         providers in Gentoo.
7226
7227 2007-10-31  Dan Williams  <dcbw@redhat.com>
7228
7229         * libnm-util/nm-connection.c
7230                 - (gvalue_to_string): handle UINT32 arrays
7231
7232 2007-10-31  Dan Williams  <dcbw@redhat.com>
7233
7234         * libnm-glib/nm-device.h
7235           libnm-glib/nm-device.c
7236                 - (nm_device_get_description): remove
7237                 - (nm_device_get_product, nm_device_get_vendor): add
7238                 - (nm_device_update_description): new function (private); walk HAL
7239                         devices to get product and vendor IDs for a specific device
7240
7241 2007-10-31  Dan Williams  <dcbw@redhat.com>
7242
7243         * src/nm-device-802-11-wireless.c
7244                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7245
7246 2007-10-29  Dan Williams  <dcbw@redhat.com>
7247
7248         * src/nm-hal-manager.c
7249                 - (device_added, device_new_capability): ignore device additions while
7250                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7251                         kernel module is unloaded and reloaded and recognized by NM again.
7252
7253 2007-10-26  Dan Williams  <dcbw@redhat.com>
7254
7255         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7256
7257         * src/NetworkManagerAP.c
7258           src/NetworkManagerAP.h
7259           libnm-glib/nm-access-point.c
7260           libnm-glib/nm-access-point.h
7261                 - Make 'rate' property a guint32 to better match with WEXT and
7262                         wpa_supplicant and to allow representation of higher bitrates
7263
7264         * src/nm-device-802-11-wireless.c
7265           introspection/nm-device-802-11-wireless.xml
7266           libnm-glib/nm-device-802-11-wireless.c
7267           libnm-glib/nm-device-802-11-wireless.h
7268                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7269
7270         * src/nm-device-802-3-ethernet.c
7271           src/nm-device-802-3-ethernet.h
7272           introspection/nm-device-802-3-ethernet.xml
7273           libnm-glib/nm-device-802-3-ethernet.c
7274           libnm-glib/nm-device-802-3-ethernet.h
7275                 - Make 'speed' property a guint32 to match other speed/rate types
7276                 - Make nm_device_802_3_ethernet_get_speed() static
7277
7278         * test/nm-tool.c
7279                 - Update for the changes above
7280
7281 2007-10-26  Dan Williams  <dcbw@redhat.com>
7282
7283         * src/named-manager/nm-named-manager.c
7284                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7285                     not calling fclose() twice on some error conditions
7286
7287 2007-10-26  Dan Williams  <dcbw@redhat.com>
7288
7289         * src/nm-activation-request.c
7290                 - (dispose): clean up indentation; get the right DBusGProxy object to
7291                         cancel the GetSecrets pending call on.  Need to use the Secrets
7292                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7293                         pending call doesn't get canceled, and pressing Cancel in the
7294                         applet's password dialog could cause get_secrets_cb() to be called
7295                         after the activation request has already been destroyed
7296
7297 2007-10-24  Dan Williams  <dcbw@redhat.com>
7298
7299         * src/supplicant-manager/nm-supplicant-config.c
7300                 - (nm_supplicant_config_add_blob): pass blob data and length for
7301                         verification
7302                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7303
7304 2007-10-24  Dan Williams  <dcbw@redhat.com>
7305
7306         * src/supplicant-manager/nm-supplicant-settings-verify.c
7307                 - (opt_table): max length for certificates should be 65536
7308
7309 2007-10-24  Dan Williams  <dcbw@redhat.com>
7310
7311         * src/supplicant-manager/nm-supplicant-interface.c
7312                 - (blob_free): correctly free blob data after use
7313                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7314
7315 2007-10-24  Dan Williams  <dcbw@redhat.com>
7316
7317         * libnm-util/nm-setting.c
7318                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7319                         EAP method need secrets
7320
7321 2007-10-24  Dan Williams  <dcbw@redhat.com>
7322
7323         * src/backends/NetworkManagerRedHat.c
7324                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7325
7326 2007-10-23  Dan Williams  <dcbw@redhat.com>
7327
7328         * libnm-util/nm-setting.c
7329           libnm-util/nm-setting.c
7330                 - (nm_setting_compare): implement
7331                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7332                    compare_one_hash_gvalue): compare the contents of a setting
7333
7334         * libnm-util/nm-connection.c
7335                 - (nm_connection_compare): implement
7336
7337 2007-10-23  Dan Williams  <dcbw@redhat.com>
7338
7339         * src/nm-activation-request.c
7340                 - (get_secrets_cb): handle getting a setting back that is more than
7341                         just secrets (ie, user changed auth or EAP method or something)
7342
7343 2007-10-23  Dan Williams  <dcbw@redhat.com>
7344
7345         * libnm-util/nm-setting.c
7346           libnm-util/nm-setting.h
7347                 - (nm_setting_verify): new function; verify one setting
7348                 - (nm_settings_verify_all): rename from nm_settings_verify()
7349                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7350                         all_settings
7351
7352         * libnm-util/nm-connection.c
7353                 - (nm_connection_replace_settings, nm_connection_verify,
7354                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7355
7356 2007-10-23  Dan Williams  <dcbw@redhat.com>
7357
7358         * src/nm-device-802-11-wireless.c
7359                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7360                         desired behavior
7361
7362 2007-10-23  Dan Williams  <dcbw@redhat.com>
7363
7364         * src/supplicant-manager/nm-supplicant-settings-verify.c
7365                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7366                         nm-settings.c
7367
7368 2007-10-23  Dan Williams  <dcbw@redhat.com>
7369
7370         * src/nm-device-802-11-wireless.c
7371                 - (real_act_stage2_config): after the first association failure,
7372                         if the connection still needs secrets ask the user for them
7373                         explicitly.  After the fourth association failure due to bad
7374                         secrets, fail the connection entirely.  Handles the GetSecrets
7375                         loop that NM gets into when the provided secrets don't match up
7376                         with the connection details.
7377
7378 2007-10-23  Dan Williams  <dcbw@redhat.com>
7379
7380         * src/supplicant-manager/nm-supplicant-config.c
7381                 - (nm_supplicant_config_add_setting_wireless_security): only add
7382                         WPA-specific options when WPA is in use
7383
7384 2007-10-23  Dan Williams  <dcbw@redhat.com>
7385
7386         * src/supplicant-manager/nm-supplicant-config.c
7387                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7388                         secret doesn't need to be unhexified
7389
7390 2007-10-23  Dan Williams  <dcbw@redhat.com>
7391
7392         * libnm-util/nm-setting.c
7393                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7394                         before trying to do something with it
7395
7396 2007-10-23  Dan Williams  <dcbw@redhat.com>
7397
7398         * src/nm-device-802-11-wireless.c
7399                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7400
7401 2007-10-23  Dan Williams  <dcbw@redhat.com>
7402
7403         * src/nm-device-802-11-wireless.c
7404                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7405                         non-SSID-broadcasting APs
7406
7407 2007-10-23  Dan Williams  <dcbw@redhat.com>
7408
7409         * src/NetworkManagerAP.c
7410                 - (match_cipher, security_compatible): remove
7411                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7412                         libnm-util instead
7413
7414 2007-10-23  Dan Williams  <dcbw@redhat.com>
7415
7416         * libnm-util/nm-utils.c
7417           libnm-util/nm-utils.h
7418                 - (nm_utils_ap_security_compatible): common function for checking
7419                         whether a specific AP is compatible with an NMConnection
7420
7421 2007-10-23  Dan Williams  <dcbw@redhat.com>
7422
7423         * libnm-util/nm-setting.c
7424                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7425                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7426                    need_secrets_password, setting_wireless_security_verify): fix
7427                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7428                         secrets logic for each supported EAP method
7429
7430 2007-10-23  Dan Williams  <dcbw@redhat.com>
7431
7432         * src/supplicant-manager/nm-supplicant-config.c
7433                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7434                         config option name, should be "private_key2_passwd"
7435
7436 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7437
7438         Implement support for static IP addresses, additional/overridden DNS and
7439         DNS domain search lists.
7440
7441         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7442         (ip4_addresses_to_gvalue): Implement.
7443         (convert_array_to_byte_array): Implement.
7444         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7445         NM_S_TYPE_IP4_ADDRESSES.
7446         (nm_setting_hash): Ditto.
7447         (default_setting_clear_secrets): Add a default case for the switch: IP address
7448         shouldn't be secret, ever.
7449         (setting_ip4_config_verify): Update, requires addresses in case of manual
7450         configurations.
7451         (setting_ip4_config_destroy): Free stuff.
7452
7453         * src/nm-device.c (merge_ip4_config): Implement.
7454         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7455
7456 2007-10-22  Dan Williams  <dcbw@redhat.com>
7457
7458         * libnm-util/nm-setting.c
7459                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7460                         pairwise cipher options for Dynamic WEP
7461
7462 2007-10-21  Dan Williams  <dcbw@redhat.com>
7463
7464         * src/NetworkManagerAP.c
7465           src/NetworkManagerAP.h
7466                 - Rename 'articifical' -> 'fake' since that's what they are until
7467                         noticed in scans
7468                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7469                         from the attributes in an NMConnection object
7470                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7471                         WPA Enterprise
7472                 - (nm_ap_match_in_list): find a matching AP in a scan list
7473
7474         * src/nm-device-802-11-wireless.c
7475                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7476                         AP when searching the scan list; match on frequency and mode too
7477                 - (nm_device_802_11_wireless_get_frequency): implement
7478                 - (merge_scanned_ap): replace duplicate matching logic with
7479                         nm_ap_match_in_list()
7480                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7481                         the user is trying to connect to a hidden network that is not yet
7482                         known from the scan list
7483                 - (activation_success_handler): now that the card knows the AP's BSSID,
7484                         there may already be a scanned AP in the scan list that is what
7485                         we really wanted to connect to, but didn't know at the time.  Use
7486                         that instead of the 'fake' AP created at activation start and get
7487                         rid of the 'fake' AP 
7488                 - (cull_scan_list): don't remove fake APs
7489
7490 2007-10-21  Dan Williams  <dcbw@redhat.com>
7491
7492         * src/nm-activation-request.h
7493           src/nm-activation-request.c
7494                 - (nm_act_request_set_specific_object): new function; allow setting the
7495                         specific object if one isn't set yet
7496
7497 2007-10-20  Dan Williams  <dcbw@redhat.com>
7498
7499         * src/supplicant-manager/nm-supplicant-config.h
7500           src/supplicant-manager/nm-supplicant-config.c
7501                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7502                         table to store blobs
7503                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7504                         blob hash table
7505                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7506                 - (nm_supplicant_config_add_setting_wireless_security): handle
7507                         options that use certificates (ie, blobs)
7508
7509         * src/nm-device-802-11-wireless.c
7510                 - (build_supplicant_config): pass a UID (just use the connection path)
7511                         to the supplicant config as now required
7512
7513         * src/supplicant-manager/nm-supplicant-interface.c
7514                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7515                         there are any blobs to send to wpa_supplicant, send those first
7516                         before sending the network configuration
7517
7518 2007-10-19  Dan Williams  <dcbw@redhat.com>
7519
7520         Split the GetSecrets() call off to a separate D-Bus interface so that it
7521         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7522         should be able to call GetSecrets().
7523
7524         * include/NetworkManager.h
7525                 - Define the connection secrets D-Bus interface
7526
7527         * src/vpn-manager/nm-vpn-connection.c
7528                 - (clear_need_auth): get the right proxy object for the connection
7529                         secrets interface
7530                 - (get_connection_secrets): use the connection secrets proxy; send
7531                         empty hints in get secrets request
7532
7533         * src/nm-activation-request.c
7534                 - (nm_act_request_request_connection_secrets): use the connection
7535                         secrets proxy; send empty hints in get secrets request
7536
7537         * src/nm-manager.c
7538           src/nm-manager.h
7539                 - (connection_get_settings_cb): set the connection secrets proxy on
7540                         the connection object too
7541                 - (internal_new_connection_cb): create the connection secrets proxy
7542
7543         * introspection/nm-settings-connection.xml
7544                 - Define Connection.Secrets interface and move GetSecrets there
7545                 - Add a 'hints' argument to GetSecrets
7546
7547         * libnm-glib/nm-settings.c
7548           libnm-glib/nm-settings.h
7549                 - (impl_connection_settings_get_secrets): add 'hints' argument
7550
7551 2007-10-19  Dan Williams  <dcbw@redhat.com>
7552
7553         * src/nm-device.c
7554                 - (constructor): add message about what path a device is exported as
7555                         to help in debugging rh #339011
7556
7557 2007-10-17  Dan Williams  <dcbw@redhat.com>
7558
7559         * libnm-util/nm-utils.h
7560           libnm-util/nm-utils.c
7561                 - (nm_utils_security_valid): common function to help find the intersection
7562                         of capabilities of devices and (optionally) access points
7563
7564 2007-10-17  Dan Williams  <dcbw@redhat.com>
7565
7566         * src/nm-device-802-11-wireless.c
7567                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7568                         don't get erroneously cleared
7569
7570 2007-10-17  Dan Williams  <dcbw@redhat.com>
7571
7572         * src/nm-manager.h
7573           src/nm-manager.c
7574           src/nm-hal-manager.c
7575                 - (device_removed, finalize, nm_manager_remove_device,
7576                    nm_manager_sleep): add a 'deactivate' argument to 
7577                    nm_manager_remove_device() to fully deactivate devices when necessary
7578                    (ie, always except when waking up)
7579
7580 2007-10-16  Dan Williams  <dcbw@redhat.com>
7581
7582         * libnm-util/nm-setting.c
7583                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7584                         also isn't valid phase2 autheap method
7585
7586 2007-10-16  Dan Williams  <dcbw@redhat.com>
7587
7588         * libnm-glib/nm-client.c
7589                 - (update_wireless_status): consolidate updates of wireless status
7590                 - (constructor): use update_wireless_status()
7591                 - (manager_running): set wireless status off when NM goes away; requery
7592                         the wireless status when NM comes back
7593
7594 2007-10-16  Dan Williams  <dcbw@redhat.com>
7595
7596         * libnm-glib/nm-client.c
7597                 - (nm_client_activate_device): actually use the fixed-up specific
7598                         object path
7599
7600 2007-10-16  Dan Williams  <dcbw@redhat.com>
7601
7602         * src/nm-hal-manager.c
7603                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7604                         killswitch error messages once
7605
7606 2007-10-16  Dan Williams  <dcbw@redhat.com>
7607
7608         * src/nm-manager.c
7609                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7610                         if it's disabled in hardware; don't touch network devices while
7611                         NM is asleep
7612
7613 2007-10-16  Dan Williams  <dcbw@redhat.com>
7614
7615         * libnm-util/nm-client.c
7616                 - (nm_client_activate_device): convert NULL specific_object to "/",
7617                         which is used in place of NULL
7618
7619         * src/nm-manager.c
7620                 - (impl_manager_activate_device): convert "/" specific_object back into
7621                         NULL
7622
7623 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7624
7625         Implement a generic NMSetting creator from setting name.
7626         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7627         add a virtual function 'populate_fn'.
7628
7629         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7630         (register_default_creators): Register setting creators instead of functions
7631         that create and then populate.
7632         (parse_one_setting): Use the common setting creator and then setting specific
7633         poplulation function.
7634
7635         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7636         they all looked exactly the same.
7637         Add a 'populate_fn' virtual function to NMSetting.
7638         Use default virtual functions in case they are not overriden.
7639         (nm_setting_populate_from_hash): Implement.
7640
7641         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7642         name, use a defined string.
7643         (real_act_stage4_get_ip4_config): Ditto.
7644
7645 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7646
7647         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7648         HAL is int, not uint.
7649
7650 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7651
7652         Implement killswitch polling through HAL.
7653
7654         * src/nm-manager.c: Add wireless hardware status property. Add 
7655         'properties-changed' signal for changes in wireless and wireless hardware
7656         state changes.
7657
7658         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7659         and update NMManager's wireless hardware state when it has changed.
7660         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7661         already does that.
7662
7663         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7664         values of wireless state and wireless hardware state. Listen for the
7665         'properties-changed' signals, update the cached values and emit notify.
7666
7667         * include/NetworkManager.h: Fix a typo in a comment.
7668
7669 2007-10-14  Dan Williams  <dcbw@redhat.com>
7670
7671         * libnm-util/nm-setting.c
7672                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7673
7674 2007-10-13  Dan Williams  <dcbw@redhat.com>
7675
7676         * libnm-util/nm-setting.h
7677           libnm-util/nm-setting.c
7678           src/supplicant-manager/nm-supplicant-config.c
7679                 - Make the 'proto' field of the 802-11-wireless-security field a
7680                         string list
7681
7682 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7683
7684         Rework the "properties-changed" signal listening implementation.
7685         Add a generic implementation to NMObject class that listens for
7686         the signal and calls property setters of the target NMObject.
7687
7688         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7689
7690         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7691         code to the end of file so that all the static functions are available
7692         without extra declarations.
7693         Remove the "properties-changed" signal handling and use the framework from
7694         NMObject.
7695         Implement property setters for properties that change with 
7696         "properties-changed" signal.
7697
7698         * libnm-glib/nm-access-point.c: Ditto.
7699
7700 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7701
7702         Rework the "properties-changed" signal implementation.
7703         In classes that need to use it, just emit "GObject::notify" and the new
7704         framework takes care of the rest to make the signal available on dbus.
7705         The framework queues the notifications and tries to send as many together
7706         in one signal as possible.
7707
7708         * src/nm-properties-changed-signal.c:
7709         * src/nm-properties-changed-signal.h: Implement.
7710
7711         * src/Makefile.am: Add new files to build.
7712
7713         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7714         signal.
7715
7716         * src/nm-device-802-11-wireless.c: Ditto.
7717
7718 2007-10-10  Dan Williams  <dcbw@redhat.com>
7719
7720         * src/nm-manager.c
7721                 - (wait_for_connection_expired): ensure info is valid
7722                 - (connection_added_default_handler): Should only remove pending
7723                         connection info when the manager has the connection that it's
7724                         waiting for.  Fixes segfault in wait_for_connection_info().  
7725
7726 2007-10-10  Dan Williams  <dcbw@redhat.com>
7727
7728         * libnm-util/nm-setting.c
7729           libnm-util/nm-setting.h
7730                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7731                         can use if they choose.  Should be filled in by the settings service
7732                         on-the-fly with the currently logged in user's username
7733
7734 2007-10-10  Dan Williams  <dcbw@redhat.com>
7735
7736         * src/nm-device-802-11-wireless.c
7737                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7738                         as such, because even if the manager fills in the SSID, NM still
7739                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7740                         its SSID
7741
7742 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7743
7744         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7745         code that used NM's own version of dbus signal handling and custom dictionary
7746         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7747         and we get to maintain over 2000 lines less code.
7748
7749         * libnm-util/dbus-dict-helpers.c:
7750         * libnm-util/dbus-dict-helpers.h: Remove.
7751
7752         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7753
7754         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7755
7756         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7757         handlers.
7758
7759         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7760
7761         * configure.in: Remove test/libnm-util/Makefile creation.
7762
7763         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7764
7765         * test/libnm-util/: Remove the whole directory.
7766
7767 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7768
7769         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7770         device_state_changed_idle_id variable or it would contain some random value and the
7771         schedule_change_check calls would not do anything.
7772
7773 2007-10-09  Dan Williams  <dcbw@redhat.com>
7774
7775         * src/nm-device-802-11-wireless.c
7776                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7777                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7778                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7779                         merging of non-SSID-broadcasting APs
7780
7781 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7782
7783         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7784         "guint8 *" since it's usually used with GByteArray->data.
7785         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7786
7787 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7788
7789         * src/NetworkManagerUtils.c
7790         (nm_utils_is_empty_ssid):
7791         (nm_utils_escape_ssid):
7792         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7793         lot of places, so they belong to libnm-utils instead.
7794
7795         Now with 100% less compiler warnings:
7796
7797         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7798         (nm_dbus_unescape_object_path): Ditto.
7799         (nm_utils_ssid_to_utf8): Ditto.
7800         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7801         (nm_utils_escape_ssid): Ditto.
7802         (nm_utils_same_ssid): Ditto.
7803
7804         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7805         (add_one_connection_element): Remove an unused variable.
7806         (impl_manager_get_active_connections): Ditto.
7807
7808         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7809         variable.
7810
7811         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7812         from the previous commit.
7813
7814         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7815         (real_act_stage1_prepare): Ditto.
7816         (activation_success_handler): Ditto.
7817         (get_property): Ditto.
7818
7819         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7820         variable.
7821
7822         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7823         it's always set.
7824
7825         * src/supplicant-manager/nm-supplicant-config.c 
7826         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7827         to expected "char *".
7828         (nm_supplicant_config_add_setting_wireless): Ditto.
7829         (nm_supplicant_config_remove_option): Remove, not used.
7830
7831         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7832         not double.
7833         (test_wireless_enabled): Ifdef out unused function.
7834         (device_deactivate): Ditto.
7835         (device_state_changed): Ditto.
7836         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7837         (nm_utils_escape_ssid): Ditto.
7838
7839         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7840         (nm_utils_is_empty_ssid): Ditto.
7841
7842         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7843         unused variable.
7844
7845         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7846         (setting_vpn_properties_update_secrets): Ditto.
7847         (int_to_gvalue): Ifdef out for now, not used.
7848         (byte_to_gvalue): Ditto.
7849
7850         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7851         Unused, remove.
7852
7853 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7854
7855         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7856         about dbus manager, not named manager.
7857         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7858
7859         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7860         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7861         However, the same signal is emitted when we destroy it and there's 
7862         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7863
7864         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7865         releasing the DBusGConnection, since proxy needs a conneciton.
7866         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7867
7868 2007-10-08  Dan Williams  <dcbw@redhat.com>
7869
7870         * src/NetworkManager.c
7871                 - (main): error on unknown command-line options
7872
7873 2007-10-08  Dan Williams  <dcbw@redhat.com>
7874
7875         Reimplement the invalid connection list.  Don't try to re-activate a
7876         connection that just failed or was canceled.
7877
7878         * src/nm-device.c
7879                 - (connection_secrets_failed_cb): fail device activation, don't just
7880                         deactivate the device.  Listeners have to know about the failure.
7881
7882         * src/NetworkManagerPolicy.c
7883                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7884                         the connection list given to a device's get_best_connection()
7885                         method
7886                 - (device_state_changed): tag failed connections as invalid; clear the
7887                         tag from successful connections
7888
7889 2007-10-08  Dan Williams  <dcbw@redhat.com>
7890
7891         Fix problems with interrupted activation.  Previously, choosing an AP
7892         from the menu, then choosing another one before the first connection was
7893         successful wouldn't deactivate the device before starting the new connection
7894         on that same device.
7895
7896         * src/NetworkManagerPolicy.c
7897                 - (deactivate_old_device, device_state_changed, state_changed,
7898                    nm_policy_new): wrong place to deactivate old devices
7899
7900         * src/nm-manager.c
7901                 - (pending_connection_info_destroy, finalize,
7902                    wait_for_connection_expired): decouple destruction of the pending
7903                         connection info from the manager device
7904                 - (connection_added_default_handler): deactivate any active or
7905                         activating device before starting a new activation
7906                 - (impl_manager_activate_device): deactivate any active or activating
7907                         device before starting a new activation; be sure not to leak
7908                         pending connection info if a new activation request arrives but
7909                         there's already a pending one in-process
7910
7911 2007-10-08  Dan Williams  <dcbw@redhat.com>
7912
7913         * src/NetworkManagerAP.h
7914           src/NetworkManagerAP.c
7915                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7916                         should handle default SSIDs and whether or not to autoconnect
7917                         to them
7918
7919 2007-10-08  Dan Williams  <dcbw@redhat.com>
7920
7921         * src/NetworkManagerPolicy.c
7922                 - (nm_policy_device_change_check): print out connection name where
7923                         possible
7924
7925 2007-10-08  Dan Williams  <dcbw@redhat.com>
7926
7927         * src/nm-device-802-11-wireless.c
7928           src/nm-device-802-11-wireless.h
7929                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7930                         'hidden-ap-found' signal (for internal use only) that allows the
7931                         NMManager to fill in the AP's SSID if a connection has that AP's
7932                         BSSID in its seen-bssids list
7933
7934         * src/nm-manager.c
7935                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7936                         wireless device's hidden-ap-found signal and fill in the APs SSID
7937                         if possible
7938
7939 2007-10-07  Dan Williams  <dcbw@redhat.com>
7940
7941         * src/nm-manager.c
7942           src/nm-manager.h
7943                 - Add a 'connections-added' signal to batch together updates of large
7944                         numbers of connections, like when reading from a settings service
7945                         the first time.  Otherwise, the policy would just activate the first
7946                         suitable connection it saw rather than waiting for the full list
7947                         to arrive.
7948                 - (nm_manager_class_init): register new signal
7949                 - (get_type_for_proxy, connection_get_settings_cb,
7950                    get_connection_for_proxy): centralize places where a proxy's setting
7951                         service is determined
7952                 - (free_get_settings_info): if the call being freed is the last call
7953                         in a pending call group, fire off the connections-added signal
7954                 - (internal_new_connection_cb): add call to a pending call group if
7955                         requested
7956                 - (list_connections_cb): always create a call group here, because this
7957                         call results in a batch of new connections
7958                 - (initial_get_connections): start getting system connections first
7959                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7960                         removed signal when destroying connections
7961
7962         * src/NetworkManagerPolicy.c
7963                 - (nm_policy_new, connections_added): handle connections-added signal
7964                         from the manager
7965
7966 2007-10-06  Dan Williams  <dcbw@redhat.com>
7967
7968         * src/nm-device-802-11-wireless.c
7969                 - (constructor): fix leaked socket
7970
7971 2007-10-06  Dan Williams  <dcbw@redhat.com>
7972
7973         * src/NetworkManagerPolicy.c
7974                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7975                         connection in the list returned by nm_manager_get_connections() is
7976                         reffed, but they weren't getting unreffed before returning
7977
7978 2007-10-06  Dan Williams  <dcbw@redhat.com>
7979
7980         * src/nm-manager.c
7981                 - (connections_to_slist): sort connections first on autoconnect, then
7982                         on timestamp
7983
7984 2007-10-06  Dan Williams  <dcbw@redhat.com>
7985
7986         * libnm-util/nm-connection.c
7987                 - (gvalue_to_string): handle UINT64
7988
7989 2007-10-06  Dan Williams  <dcbw@redhat.com>
7990
7991         * src/NetworkManagerPolicy.c
7992                 - (connection_updated, nm_policy_new): recheck state when a connection
7993                         gets updated
7994
7995 2007-10-06  Dan Williams  <dcbw@redhat.com>
7996
7997         * src/nm-manager.c
7998           src/nm-manager.h
7999                 - (nm_manager_get_connection_dbus_path): make static
8000                 - (nm_manager_update_connections): remove; unused
8001                 - Add a connection-updated signal
8002                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8003                         handle connection object updates
8004
8005 2007-10-06  Dan Williams  <dcbw@redhat.com>
8006
8007         * src/NetworkManagerPolicy.c
8008                 - (connection_removed): deactivate removed connections
8009
8010 2007-10-06  Dan Williams  <dcbw@redhat.com>
8011
8012         * libnm-util/nm-connection.c
8013           libnm-util/nm-connection.h
8014                 - (nm_connection_replace_settings): new function
8015
8016 2007-10-06  Dan Williams  <dcbw@redhat.com>
8017
8018         * libnm-glib/nm-device-802-11-wireless.c
8019                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8020                         on error when getting the active access point over D-Bus from NM
8021
8022 2007-10-05  Dan Williams  <dcbw@redhat.com>
8023
8024         * libnm-util/nm-setting.c
8025                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8026                         to the NMSettingWireless table; it's now a string array not an array
8027                         of byte arrays
8028
8029 2007-10-05  Dan Williams  <dcbw@redhat.com>
8030
8031         * libnm-glib/nm-device-802-11-wireless.c
8032                 - Cache properties and update cached properties on D-Bus signals from NM
8033
8034 2007-10-05  Dan Williams  <dcbw@redhat.com>
8035
8036         * src/nm-device-802-11-wireless.c
8037                 - (set_current_ap): consolidate current_ap handling code into one place
8038                         to ensure that PropertiesChanged signals are emitted in all cases
8039                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8040                    nm_device_802_11_wireless_dispose): use set_current_ap()
8041
8042 2007-10-05  Dan Williams  <dcbw@redhat.com>
8043
8044         * libnm-glib/nm-access-point.c
8045           libnm-glib/nm-access-point.h
8046                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8047                         because the value is cached internally now.  Callers should not
8048                         free the internal value.
8049                 - Make signal name defines private
8050
8051         * test/nm-tool.c
8052           libnm-glib/libnm-glib-test.c
8053                 - Don't free value returned from nm_access_point_get_hw_address()
8054
8055 2007-10-04  Dan Williams  <dcbw@redhat.com>
8056
8057         * introspection/nm-device-802-11-wireless.xml
8058           src/nm-device-802-11-wireless.h
8059           src/nm-device-802-11-wireless.c
8060                 - Add a PropertiesChanged signal for wireless device
8061                 - Store currently associated access point
8062                 - (periodic_update): generalize; update rate here too and emit the
8063                         correct PropertiesChanged signal when stuff changes
8064                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8065                    real_activation_cancel_handler): clear current_ap when device is
8066                         deactivated
8067                 - (link_to_specific_ap, get_ap_blacklisted,
8068                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8069                         code
8070                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8071                         outside this file
8072                 - (real_set_hw_address): emit property changed signal if the card's
8073                         MAC address changes
8074                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8075                         the card is supposed to be connecting to
8076                 - (activation_success_handler): send out property updates on successful
8077                         activation
8078                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8079                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8080                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8081                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8082                         is now boxed; add PropertiesChanged signal
8083
8084 2007-10-04  Dan Williams  <dcbw@redhat.com>
8085
8086         * libnm-util/nm-connection.c
8087           libnm-util/nm-connection.h
8088                 - (nm_connection_verify): new function
8089
8090 2007-10-04  Dan Williams  <dcbw@redhat.com>
8091
8092         * libnm-util/nm-setting.c
8093                 - (nm_settings_verify): use #defines when possible rather than strings
8094                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8095                 - (setting_vpn_verify): tighter validity check on 'service_type'
8096
8097 2007-10-04  Dan Williams  <dcbw@redhat.com>
8098
8099         * libnm-glib/nm-settings.c
8100                 - (nm_connection_settings_class_init): provide correct type for argument
8101                         to the Updated signal so that dbus-glib knows how to marshal it
8102
8103 2007-10-03  Dan Williams  <dcbw@redhat.com>
8104
8105         * src/nm-device-802-3-ethernet.c
8106                 - (real_get_best_connection): don't create automatic connections
8107                         internally; clients should provide a setting that applies to
8108                         the device with 'autoconnect: True'.  Problem was that these
8109                         internally auto-created connections don't have a proxy or service
8110                         name becuase they weren't created by a settings daemon, and therefore
8111                         clients have no idea what to do with them.
8112
8113 2007-10-03  Dan Williams  <dcbw@redhat.com>
8114
8115         * src/nm-device-802-11-wireless.c
8116           src/nm-device-802-11-wireless.h
8117           introspection/nm-device-802-11-wireless.xml
8118                 - GetActiveNetworks -> GetAccessPoints
8119                 - ActiveNetwork -> ActiveAccessPoint
8120                 - NetworkAdded -> AccessPointAdded
8121                 - NetowrkRemoved -> AccessPointRemoved
8122
8123         * libnm-glib/nm-device-802-11-wireless.c
8124           libnm-glib/nm-device-802-11-wireless.h
8125                 - network-added signal -> access-point-added
8126                 - network-removed signal -> access-point-removed
8127                 - nm_device_802_11_wireless_get_active_network() ->
8128                         nm_device_802_11_wireless_get_active_access_point()
8129                 - nm_device_802_11_wireless_get_network_by_path() ->
8130                         nm_device_802_11_wireless_get_access_point_by_path()
8131                 - nm_device_802_11_wireless_get_networks() ->
8132                         nm_device_802_11_wireless_get_access_points()
8133
8134         * libnm-glib/libnm-glib-test.c
8135           test/nm-tool.c
8136           src/NetworkManagerPolicy.c
8137                 - Fixups for Network -> AccessPoint
8138
8139 2007-10-03  Dan Williams  <dcbw@redhat.com>
8140
8141         Add a GetActiveConnections() method on the Manager object.
8142
8143         * src/nm-manager.c
8144           src/nm-manager.h
8145           introspection/nm-manager.xml
8146                 - (connection_get_settings_cb): keep connection type around too
8147                 - (impl_manager_get_active_connections, add_one_connection_element):
8148                         implement; returns all active connections and what devices they
8149                         apply to
8150
8151         * libnm-glib/nm-client.c
8152           libnm-glib/nm-client.h
8153           introspection/nm-manager-client.xml
8154                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8155                         by the caller; free here to avoid memory leak
8156                 - (nm_client_get_active_connections): implement; return the list of
8157                         active connections
8158                 - (nm_client_free_active_connection_element): implement; free an element
8159                         of the GSList returned by nm_client_get_active_connections()
8160
8161 2007-10-03  Dan Williams  <dcbw@redhat.com>
8162
8163         * src/nm-device-802-11-wireless.c
8164                 - (nm_device_802_11_wireless_update_bssid): remove
8165                 - (get_active_ap): new function; find the AP in the scan list which
8166                         matches the current BSSID and SSID of the wireless device
8167                 - (nm_device_802_11_periodic_update): get current AP using
8168                         get_active_ap() and print AP roam messages
8169
8170 2007-10-01  Dan Williams  <dcbw@redhat.com>
8171
8172         * libnm-util/nm-setting.h
8173                 - Add a 'timestamp' option to NMSettingConnection
8174                 - Add a UINT64 type
8175
8176         * libnm-util/nm-setting.c
8177                 - (uint64_to_gvalue): new function
8178                 - (nm_setting_populate_from_hash, nm_setting_hash,
8179                    default_setting_clear_secrets): handle UINT64 type
8180                 - con_table: add 'timestamp' member
8181
8182 2007-10-01  Dan Williams  <dcbw@redhat.com>
8183
8184         * src/nm-manager.c
8185                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8186                         value when the connection can be activated immediately
8187
8188 2007-10-01  Dan Williams  <dcbw@redhat.com>
8189
8190         * libnm-glib/nm-device.c
8191                 - (nm_device_class_init): actually tell glib about the carrier-changed
8192                         signal
8193
8194 2007-10-01  Dan Williams  <dcbw@redhat.com>
8195
8196         * configure.in
8197           src/marshallers/Makefile.am
8198           src/marshallers/nm-marshal.list
8199           src/marshallers/nm-marshal-main.c
8200                 - Consolidate glib marshallers into one place
8201
8202         * src/dhcp-manager/Makefile.am
8203           src/dhcp-manager/nm-dhcp-manager.c
8204           src/supplicant-manager/Makefile.am
8205           src/supplicant-manager/nm-supplicant-manager.c
8206           src/supplicant-manager/nm-supplicant-interface.c
8207           src/ppp-manager/Makefile.am
8208           src/ppp-manager/nm-ppp-manager.c
8209           src/vpn-manager/Makefile.am
8210           src/vpn-manager/nm-vpn-connection.c
8211           src/Makefile.am
8212                 - Use consolidated marshallers
8213
8214         * src/dhcp-manager/nm-dhcp-marshal.list
8215           src/dhcp-manager/nm-dhcp-marshal-main.c
8216           src/supplicant-manager/nm-supplicant-marshal-main.c
8217           src/supplicant-manager/nm-supplicant-marshal.list
8218           src/nm-marshal-main.c
8219           src/nm-marshal.list
8220           src/ppp-manager/nm-ppp-marshal-main.c
8221           src/ppp-manager/nm-ppp-marshal.list
8222           src/vpn-manager/nm-vpn-marshal-main.c
8223           src/vpn-manager/nm-vpn-marshal.list
8224                 - Remove
8225
8226 2007-10-01  Dan Williams  <dcbw@redhat.com>
8227
8228         * include/NetworkManagerVPN.h
8229                 - define VPN connection state change reason codes
8230
8231         * src/vpn-manager/Makefile.am
8232           src/vpn-manager/nm-vpn-marshal.list
8233           src/vpn-manager/nm-vpn-marshal-main.c
8234                 - Add marshallers for StateChanged signal
8235
8236         * introspection/nm-vpn-connection.xml
8237                 - New Banner property
8238                 - StateChanged signal now includes a 'reason' argument
8239
8240         * src/vpn-manager/nm-vpn-connection.c
8241           src/vpn-manager/nm-vpn-connection.h
8242                 - Add a "Banner" property that contains the returned VPN server login
8243                         banner (if any); valid only in the ACTIVATED state
8244                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8245                         a 'reason' argument and emits that reason along with the
8246                         state-changed signal
8247                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8248                 - (nm_vpn_connection_ip4_config_get): save banner for later
8249                 - (nm_vpn_connection_get_banner, get_property,
8250                    nm_vpn_connection_class_init): implement Banner property
8251
8252         * src/vpn-manager/nm-vpn-service.c
8253                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8254                         connection list because elements may get added/removed from it
8255                         while iterating over the list
8256                 - (connection_state_changed): signal now includes the 'reason' argument
8257
8258         * libnm-glib/nm-vpn-connection.c
8259           libnm-glib/nm-vpn-connection.h
8260                 - (nm_vpn_connection_get_banner): new function
8261                 - (state_changed_proxy): handle reason argument
8262
8263 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8264
8265         * src/nm-manager.c:
8266         * src/nm-manager.h:
8267         Implement device activation through NMManager.
8268         Implement "pending device activation" here - If the connection isn't found,
8269         we try to wait for up to 5 seconds for the connection to be provided.
8270         Add NMConnectionType argument to "connection-added" and "connection-removed"
8271         signals.
8272         (nm_manager_get): Remove. Finally.
8273
8274         * src/nm-activation-request.c: 
8275         * src/nm-activation-request.h: 
8276         Remove all the deferred activation code.
8277
8278         * src/nm-device.c: Remove all the deferred activation code. Once the device
8279         activation is started, it's started. Update the activation virtual function
8280         signature.
8281
8282         * src/nm-device-interface.c:
8283         * src/nm-device-interface.h:
8284         Device activation now takes only NMActRequest argument.
8285         Don't expose device activation directly on dbus, it's supposed to go through
8286         NMManager now.
8287
8288         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8289         a bit more compact.
8290         Use the new device activation methods through NMManager.
8291
8292         * introspection/nm-manager-client.xml: 
8293         * introspection/nm-manager.xml: 
8294         * libnm-glib/nm-client.c:
8295         * libnm-glib/nm-client.h:
8296         Add device activation method.
8297         
8298         * libnm-glib/nm-device.c: 
8299         * libnm-glib/nm-device.h: 
8300         * introspection/nm-device.xml: 
8301         Remove device activation method. It's done through NMManager now.
8302
8303         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8304         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8305
8306 2007-09-28  Dan Williams  <dcbw@redhat.com>
8307
8308         * libnm-glib/nm-vpn-connection.c
8309                 - (nm_vpn_connection_get_state): try to update state if the current
8310                         state is UNKNOWN
8311
8312 2007-09-27  Dan Williams  <dcbw@redhat.com>
8313
8314         Patch from Bill Nottingham
8315
8316         * src/supplicant-manager/nm-supplicant-config.c
8317                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8318                         data to the supplicant
8319
8320 2007-09-27  Dan Williams  <dcbw@redhat.com>
8321
8322         * src/NetworkManagerSystem.c
8323                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8324                         and all address manipulation here should be happening on the
8325                         _VPN_ device, not the active device
8326
8327 2007-09-26  Dan Williams  <dcbw@redhat.com>
8328
8329         * src/nm-manager.c
8330           src/nm-manager.h
8331           src/nm-activation-request.c
8332           src/nm-activation-request.h
8333                 - Move the GetSecrets stuff out of the NMManager instance because it
8334                         doesn't really need to be there and complicates things
8335
8336         * src/nm-device.c
8337                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8338                         connection-secrets-failed signal and deactivate the device if
8339                         the GetSecrets call fails
8340
8341         * src/nm-device-802-11-wireless.c
8342                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8343                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8344                         secrets and give correct hints about whether new secrets should be
8345                         asked for by the client or not
8346
8347 2007-09-26  Dan Williams  <dcbw@redhat.com>
8348
8349         * src/vpn-manager/nm-vpn-connection.c
8350                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8351                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8352                         to the secrets-updated signal of the NMConnection since updating
8353                         the secrets is done within the scope of the NMVPNConnection object
8354                         already
8355                 - (get_connection_secrets): fix an uninialized variable usage error
8356
8357 2007-09-26  Dan Williams  <dcbw@redhat.com>
8358
8359         * libnm-util/nm-setting.c
8360                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8361                         actually get updated when the user enters them
8362
8363 2007-09-26  Dan Williams  <dcbw@redhat.com>
8364
8365         * libnm-glib/nm-vpn-plugin.c
8366                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8367
8368 2007-09-26  Dan Williams  <dcbw@redhat.com>
8369
8370         * include/NetworkManagerVPN.h
8371                 - Add a NEED_AUTH state
8372
8373         * src/vpn-manager/nm-vpn-connection.c
8374                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8375                         the connection needs secrets, and if so, then ask the settings
8376                         service to fill in the secrets.  Then start the connection.
8377
8378 2007-09-26  Dan Williams  <dcbw@redhat.com>
8379
8380         * src/vpn-manager/nm-vpn-manager.c
8381                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8382
8383 2007-09-26  Dan Williams  <dcbw@redhat.com>
8384
8385         * introspection/nm-vpn-plugin.xml
8386           libnm-glib/nm-vpn-plugin.c
8387           libnm-glib/nm-vpn-plugin.h
8388                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8389                         the name of the NMSetting in an NMConnection that may require
8390                         secrets specific to that VPN plugin
8391
8392 2007-09-26  Dan Williams  <dcbw@redhat.com>
8393
8394         * src/nm-manager.c
8395           src/nm-manager.h
8396                 - (nm_manager_get_connection_secrets): make static, unused outside
8397                         the file
8398                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8399
8400 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8401
8402         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8403         method.
8404         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8405         unreference the connection.
8406
8407         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8408         passing properties hash and routes string list, pass NMConnection (in hashed form).
8409
8410         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8411         as GSList, no need to copy stuff around anymore.
8412         (nm_vpn_connection_activate): Update the plugin activation method.
8413
8414         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8415         routes argument to GSList.
8416
8417 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8418
8419         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8420         state and try to get the secrets.
8421
8422         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8423         connections from NMManager and let the device to choose the best from the list.
8424         Since the connection list is sorted by system ones first and user ones later,
8425         the devices still prefer system connections like they did before.
8426         (deactivate_old_device): Implement. When a device starts activation, we have a
8427         policy (for now at least) to deactivate any other device that might be either
8428         active or still activating.
8429
8430         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8431         It's set on construction, there will be no other way to access it.
8432
8433         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8434         device events and drive the device, not the other way around.
8435
8436         * src/nm-device-802-3-ethernet.c: Ditto.
8437
8438         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8439         sent along, pass it on to virtual functions.
8440
8441         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8442         for now, but should really be public instead of nm_device_get_iface() since iface
8443         is a property of the DeviceInterface, not Device.
8444         (impl_device_activate): Don't touch NMManager!
8445
8446 2007-09-26  Jürg Billeter  <j@bitron.ch>
8447
8448         * initscript/paldo/NetworkManager.in:
8449         * initscript/paldo/NetworkManagerDispatcher.in:
8450         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8451         (nm_system_flush_loopback_routes): update paldo backend
8452
8453 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8454
8455         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8456         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8457         which means none of the devices get brought down properly, which in turn leaves
8458         DHCP client running.
8459
8460         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8461         (supplicant_connection_timeout_cb): Ditto.
8462
8463 2007-09-25  Dan Williams  <dcbw@redhat.com>
8464
8465         * src/nm-device.c
8466                 - (device_activation_go): small hack to work around race when
8467                         activating deferred connections; should solve this in a better way
8468
8469 2007-09-25  Dan Williams  <dcbw@redhat.com>
8470
8471         * introspection/nm-device.xml
8472           libnm-glib/nm-device.c
8473           libnm-glib/nm-device.h
8474                 - Add 'Carrier' property to exported NMDevice objects
8475
8476         * src/nm-device-interface.h
8477           src/nm-device-interface.c
8478           src/nm-device.c
8479                 - Add a 'carrier' property to internal NMDevice objects
8480
8481 2007-09-25  Dan Williams  <dcbw@redhat.com>
8482
8483         * src/nm-device-802-11-wireless.c
8484                 - (ap_auth_enforced): also return the encryption status of the AP so
8485                         that callers can differentiate easily between unencrypted APs
8486                         and encrypted ones, in addition to whether the AP has an
8487                         authenticator
8488                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8489                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8490                         previously would request secrets from unencrypted APs at times
8491
8492 2007-09-25  Dan Williams  <dcbw@redhat.com>
8493
8494         * src/nm-manager.c
8495                 - (nm_manager_update_state): new function; updates state and emits
8496                         appropriate signals ensuring a state-change signal for the same state
8497                         never gets emitted twice in a row.
8498                 - (manager_device_state_changed): handle more device state to get a
8499                         better picture of the overall NM state
8500
8501 2007-09-25  Dan Williams  <dcbw@redhat.com>
8502
8503         * libnm-glib/nm-settings.c
8504           libnm-glib/nm-settings.h
8505                 - (new_error -> nm_settings_new_error): make public so that subclasses
8506                         can use the same error domain.  Also pass a valid error code to
8507                         g_error_new_literal() so that libdbus doesn't assert when converting
8508                         the GError into a DBusError
8509                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8510                    impl_connection_settings_get_settings,
8511                    impl_connection_settings_get_secrets): use new error creator
8512                         function
8513
8514 2007-09-25  Dan Williams  <dcbw@redhat.com>
8515
8516         * src/NetworkManager.c
8517                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8518
8519 2007-09-25  Dan Williams  <dcbw@redhat.com>
8520
8521         * src/supplicant-manager/nm-supplicant-manager.c
8522                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8523                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8524                    nm_supplicant_manager_startup): when the supplicant isn't running,
8525                         try to start it periodically via system bus activation.  Fixes
8526                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8527                         for the supplicant to come back
8528
8529 2007-09-25  Dan Williams  <dcbw@redhat.com>
8530
8531         Ensure that old activation requests are forgotten about; previously
8532         hitting Cancel in the password dialog would deactivate whatever device
8533         that password was requested for, even if that wasn't the currently
8534         activating connection.
8535
8536         * src/nm-manager.c
8537           src/nm-manager.h
8538                 - (nm_manager_get_connection_secrets): track the pending call
8539                         object so it can be canceled later if needed
8540                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8541                         GetSecrets call for a particular connection
8542
8543         * src/nm-activation-request.c
8544                 - (dispose): cancel any outstanding GetSecrets calls on the
8545                         connection
8546
8547 2007-09-25  Dan Williams  <dcbw@redhat.com>
8548
8549         * src/NetworkManagerPolicy.c
8550                 - (nm_policy_device_change_check): handle devices that have a
8551                         deferred activation.  These devices are not really active _yet_,
8552                         but need to be treated as such here.  Don't interrupt them
8553                         automatically.
8554
8555         * src/nm-device-interface.c
8556                 - (impl_device_activate): handle devices that have a deferred activation
8557                         like activating or active devices.  When multiple active devices
8558                         get committed, the device shouldn't be deactivated until the
8559                         connection details are available to avoid DoS and such.  Currently,
8560                         any active, activating, or deferred activation device is deactivated
8561                         here before starting the new activation request.
8562
8563 2007-09-25  Dan Williams  <dcbw@redhat.com>
8564
8565         Properly re-query secrets from the settings daemon when stuff fails.
8566
8567         * src/nm-device-802-11-wireless.c
8568                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8569                         between Shared Key and Open System auth modes
8570                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8571                    real_act_stage4_ip_config_timeout): clear existing secrets and
8572                         request new ones when something fails due to a suspected wrong key
8573                 - (real_act_stage2_config): fix for new request_new argument to
8574                         nm_manager_get_connection_secrets()
8575
8576         * src/nm-manager.c
8577           src/nm-manager.h
8578                 - (nm_manager_get_connection_secrets): return error status; pass
8579                         new request_new argument on to the settings daemon
8580
8581         * introspection/nm-settings-connection.xml
8582                 - New 'request_new' argument to the GetSecrets call that hints to the
8583                         settings daemon to ask the user for completely new secrets
8584
8585         * libnm-glib/nm-settings.c
8586           libnm-glib/nm-settings.h
8587                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8588                         argument
8589
8590 2007-09-25  Dan Williams  <dcbw@redhat.com>
8591
8592         * libnm-util/nm-connection.c
8593           libnm-util/nm-connection.h
8594                 - (nm_connection_clear_secrets): new function; clear secrets out of
8595                         each NMSetting in an NMConnection
8596
8597         * libnm-util/nm-setting.h
8598           libnm-util/nm-setting.c
8599                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8600                         secrets out of an NMSetting
8601                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8602                    nm_setting_wired_new, nm_setting_wireless_new,
8603                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8604                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8605                         to default handler default_setting_clear_secrets()
8606
8607 2007-09-25  Dan Williams  <dcbw@redhat.com>
8608
8609         * src/nm-activation-request.c
8610           src/nm-activation-request.h
8611                 - (nm_act_request_is_deferred): new function
8612
8613 2007-09-24  Dan Williams  <dcbw@redhat.com>
8614
8615         * src/nm-device-802-11-wireless.c
8616                 - (activation_success_handler): update signal strength immediately
8617                         after activation
8618
8619 2007-09-24  Dan Williams  <dcbw@redhat.com>
8620
8621         * libnm-util/nm-setting.c
8622                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8623
8624 2007-09-24  Dan Williams  <dcbw@redhat.com>
8625
8626         * src/NetworkManagerPolicy.c
8627                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8628                         device by deactivating it because it doesn't have a "best connection".
8629                         Since autoconnect=False connections aren't automatically chosen,
8630                         NM would interrupt activation of such a connection because it
8631                         would never be "best" due to autoconnect=False.
8632
8633 2007-09-24  Dan Williams  <dcbw@redhat.com>
8634
8635         * src/nm-manager.c
8636                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8637                         actually has some time to enter a key before the GetSecrets call
8638                         times out
8639
8640 2007-09-24  Dan Williams  <dcbw@redhat.com>
8641
8642         * introspection/nm-manager.xml
8643           src/nm-manager.c
8644                 - (impl_manager_legacy_state): fix 'state' method call return value
8645
8646 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8647
8648         * test/Makefile.am: Install nm-tool
8649
8650 2007-09-24  Dan Williams  <dcbw@redhat.com>
8651
8652         Patch from Ross Burton <ross@burtonini.com>
8653
8654         * test/nm-tool.c
8655           callouts/nm-dhcp-client-action.c
8656           src/nm-netlink.c
8657           src/vpn-manager/nm-vpn-connection.c
8658           libnm-glib/libnm-glib-test.c
8659                 - warning fixes
8660
8661 2007-09-24  Dan Williams  <dcbw@redhat.com>
8662
8663         * libnm-util/nm-utils.h
8664           libnm-util/nm-utils.c
8665                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8666                         remove, unused
8667
8668 2007-09-23  Dan Williams  <dcbw@redhat.com>
8669
8670         * vpn-daemons/vpnc/properties/nm-vpnc.c
8671                 - Update for new VPN properties API bits; instead of passing around
8672                         a lot of random things, everything goes into the NMConnection
8673                         object.
8674
8675 2007-09-23  Dan Williams  <dcbw@redhat.com>
8676
8677         * libnm-util/nm-setting.c
8678                 - Correctly dispose of settings objects if creating them from a hash
8679                         table fails
8680
8681 2007-09-23  Dan Williams  <dcbw@redhat.com>
8682
8683         * libnm-util/nm-setting.c
8684                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8685                         the hash table in a standard manner.  Clients of libnm-util should
8686                         only call g_hash_table_remove_all(), never destroy the hash table
8687                         and recreate it.
8688
8689 2007-09-22  Dan Williams  <dcbw@redhat.com>
8690
8691         * src/nm-device-802-11-wireless.c
8692                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8693                         real reason to do it so often, and reduces wakeups for clients.
8694
8695 2007-09-21  Dan Williams  <dcbw@redhat.com>
8696
8697         * src/nm-device-802-11-wireless.c
8698                 - (build_supplicant_config): wpa_supplicant requires the option
8699                         key_mgmt=NONE for unencrypted networks
8700                 - (real_act_stage2_config): clarify log message on activation
8701
8702 2007-09-21  Dan Williams  <dcbw@redhat.com>
8703
8704         * test/nm-supplicant-test.c
8705           test/Makefile.am
8706                 - Remove supplicant test binary; no longer applicable
8707
8708 2007-09-21  Dan Williams  <dcbw@redhat.com>
8709
8710         * src/supplicant-manager/nm-supplicant-manager.c
8711                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8712                         activate it on the system bus
8713
8714 2007-09-20  Dan Williams  <dcbw@redhat.com>
8715
8716         * initscript/RedHat/NetworkManager.in
8717                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8718
8719 2007-09-20  Dan Williams  <dcbw@redhat.com>
8720
8721         * src/nm-device.c
8722                 - (nm_device_is_activating): work around a race between auto-activation
8723                         and the user activating the same device that is being auto-activated
8724
8725 2007-09-20  Dan Williams  <dcbw@redhat.com>
8726
8727         * src/nm-device-interface.c
8728                 - (impl_device_activate): until multiple active device support lands,
8729                         ensure only one device can be active at a time
8730
8731 2007-09-20  Dan Williams  <dcbw@redhat.com>
8732
8733         * src/supplicant-manager/nm-supplicant-config.c
8734           src/supplicant-manager/nm-supplicant-config.h
8735                 - (nm_supplicant_config_add_option): hide secrets from system logs
8736
8737 2007-09-20  Dan Williams  <dcbw@redhat.com>
8738
8739         * src/NetworkManagerPolicy.c
8740                 - (nm_policy_device_change_check): re-enable the wireless device change
8741                         checking code; insted of checking for SSIDs, check for the same
8742                         connection instead
8743
8744 2007-09-20  Dan Williams  <dcbw@redhat.com>
8745
8746         * src/nm-device-802-11-wireless.c
8747                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8748                         composite link state when determining when to start the disconnection
8749                         timer; that link state is already based on the supplicant interface's
8750                         status which is exactly what's already being examined, plus the link
8751                         state is a conglomeration of various things that we don't want here
8752
8753 2007-09-20  Dan Williams  <dcbw@redhat.com>
8754
8755         * libnm-glib/nm-access-point.c
8756                 - (handle_property_changed): strength is a UCHAR
8757
8758 2007-09-20  Dan Williams  <dcbw@redhat.com>
8759
8760         * src/supplicant-manager/nm-supplicant-config.c
8761                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8762                         string list keywords too since that's what wpa_supplicant wants
8763
8764 2007-09-20  Dan Williams  <dcbw@redhat.com>
8765
8766         * libnm-util/nm-setting.c
8767                 - (convert_strv_to_slist): dupe the values in the list because since
8768                         the list is a boxed value, it'll get destroyed when it's container
8769                         (like a hash table or whatever) gets destroyed
8770
8771 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8772
8773         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8774         GSList.
8775
8776         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8777
8778         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8779         just use (g_object_set_data_full).
8780
8781         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8782         that NMSettingVPN->routes is a GSList, convert it to char **.
8783         (nm_vpn_connection_ip4_config_get): Free routes when done.
8784         (nm_vpn_connection_activate): Ditto.
8785
8786         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8787         (real_act_stage2_config): Use defined setting names.
8788
8789 2007-09-20  Dan Williams  <dcbw@redhat.com>
8790
8791         * src/nm-device-802-11-wireless.c
8792           src/nm-manager.c
8793           src/nm-manager.h
8794                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8795                         so that the device can be deactivated if secrets are wrong
8796
8797 2007-09-20  Dan Williams  <dcbw@redhat.com>
8798
8799         * introspection/nm-settings-connection.xml
8800           libnm-glib/nm-settings.c
8801           libnm-glib/nm-settings.h
8802                 - Make GetSecrets asynchronous on the server side
8803
8804 2007-09-20  Dan Williams  <dcbw@redhat.com>
8805
8806         * src/nm-manager.h
8807           src/nm-device.c
8808                 - (nm_device_activate): actually check if a given connection
8809                         exists before assuming it doesn't
8810
8811 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8812
8813         * libnm-util/nm-connection.c (register_default_creators): Use defined
8814         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8815
8816         * libnm-util/nm-setting.c: Define property name strings, use them.
8817         Implement NMSettingVPN and NMSettingVPNProperties settings.
8818         Implement NM_S_TYPE_GVALUE_HASH.
8819         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8820         (setting_connection_verify): Rename 'devtype' property to 'type'.
8821
8822         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8823         properties.
8824
8825         * src/vpn-manager/nm-vpn-service.c: Ditto.
8826
8827         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8828
8829         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8830         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8831
8832         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8833         names. NMSettingConnection->devtype got renamed to 'type'.
8834
8835         * src/nm-device-802-3-ethernet.c (find_best_connection):
8836         (real_get_best_connection): Ditto.
8837
8838         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8839
8840         * libnm-glib/nm-vpn-manager.[ch]: Update.
8841
8842 2007-09-19  Dan Williams  <dcbw@redhat.com>
8843
8844         * src/NetworkManagerAP.c
8845           src/NetworkManagerAP.h
8846           introspection/nm-access-point.xml
8847                 - Change strength-changed signal into a properties-changed signal
8848                         for all properties, not just strength.  Export that signal over dbus
8849                         so listeners don't have to poll NM for changes.
8850                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8851                         get exported over D-Bus, so break up the logic and let other bits
8852                         decided when to export the AP
8853                 - (nm_ap_new_from_ap): remove, unused
8854
8855         * src/nm-device-802-11-wireless.c
8856                 - (merge_scanned_ap): only export APs that are actually on the device
8857                         list, not every AP created internally
8858
8859         * libnm-glib/nm-access-point.c
8860           libnm-glib/nm-access-point.h
8861                 - Cache properties internally and only hit DBus when needed.  Get
8862                         property updates from NM signals
8863
8864 2007-09-16  Dan Williams  <dcbw@redhat.com>
8865
8866         * libnm-util/nm-connection.c
8867           libnm-util/nm-connection.h
8868                 - (nm_connection_for_each_setting_value): new function; iterate over
8869                         each setting's value and call a user-provided function with details
8870                         about that value
8871
8872         * libnm-util/nm-setting.c
8873           libnm-util/nm-setting.h
8874                 - (nm_setting_enumerate_values): new function; enumerate the values
8875                         of a specific NMSetting subclass for a user-provided function with
8876                         details about that value
8877                 - Change wep_tx_keyidx to a uint32
8878                 - Create settings value tables for each setting defining their type,
8879                         key name, offset into the NMSetting subclass' structure, and whether
8880                         they are required and/or a secret
8881                 - (nm_setting_populate_from_hash): generic function to populate an
8882                         NMSetting from a GHash table, make all settings use it
8883                 - (nm_setting_hash): generic function to derive a GHashTable from
8884                         an NMSetting object, make all settings use it
8885
8886 2007-09-14  Dan Williams  <dcbw@redhat.com>
8887
8888         Remove unused stuff in libnm-util
8889
8890         * configure.in
8891           libnm-util/Makefile.am
8892           libnm-util/cipher-private.h
8893           libnm-util/cipher-wep-ascii.c
8894           libnm-util/cipher-wep-ascii.h
8895           libnm-util/cipher-wep-hex.c
8896           libnm-util/cipher-wep-hex.h
8897           libnm-util/cipher-wep-passphrase.c
8898           libnm-util/cipher-wep-passphrase.h
8899           libnm-util/cipher-wpa-psk-hex.c
8900           libnm-util/cipher-wpa-psk-hex.h
8901           libnm-util/cipher-wpa-psk-passphrase.c
8902           libnm-util/cipher-wpa-psk-passphrase.h
8903           libnm-util/cipher.c
8904           libnm-util/cipher.h
8905           libnm-util/dbus-helpers.c
8906           libnm-util/dbus-helpers.h
8907           libnm-util/gnome-keyring-md5.c
8908           libnm-util/gnome-keyring-md5.h
8909           libnm-util/sha1.c
8910           libnm-util/sha1.h
8911           src/nm-device-802-11-wireless.c
8912           test/libnm-util/Makefile.am
8913           test/libnm-util/test-ciphers.c
8914           test/libnm-util/test-dbus-helpers.c
8915           test/libnm-util/test-inputs.h
8916                 - Removed
8917
8918 2007-09-14  Dan Williams  <dcbw@redhat.com>
8919
8920         * libnm-util/dbus-method-dispatcher.c
8921           libnm-util/dbus-method-dispatcher.h
8922                 - Remove, unused
8923
8924 2007-09-14  Dan Williams  <dcbw@redhat.com>
8925
8926         Implement deferred activation support in the device class.
8927
8928         * src/nm-device-interface.c
8929           src/nm-device-interface.h
8930                 - (nm_device_interface_activate): take more arguments to support
8931                         deferred activation; callers must pass one of (connection) OR
8932                         (service_name, connection_path)
8933                 - (impl_device_activate): connection validation is punted to the device
8934                         to be able to handle deferred activation.  Yes, this means errors
8935                         don't get returned from the Activate() dbus call, and yes, that
8936                         should be fixed somehow later.
8937
8938         * src/nm-device.c
8939           src/nm-device.h
8940                 - (clear_act_request): clear additional deferred activation stuff too
8941                 - (deferred_activation_timeout_cb): new function; clean up when
8942                         deferred activation times out.
8943                 - (deferred_activation_start_cb): new function; when the connection
8944                         finally becomes available, start device activation
8945                 - (nm_device_activate): attach to the right signals of the activation
8946                         request if we need to defer activation until the connection is valid
8947
8948         * src/NetworkManagerPolicy.c
8949                 - (nm_policy_device_change_check): update for additional arguments
8950                         required for nm_device_interface_activate().  Pass NULL for these
8951                         though because this function already knows exactly which
8952                         NMConnection to use
8953
8954 2007-09-14  Dan Williams  <dcbw@redhat.com>
8955
8956         Implement deferred activation handling in the NMActRequest class.  When a
8957         client wants to activate a device but must create the NMConnection details
8958         on the fly, there likely hasn't been enough time yet for NM to receive the
8959         new connection signal and grab all the connection details.  So the
8960         activation is deferred (and bounded by a timer) for a while, and if the
8961         connection appears within the window, it is activated.
8962
8963         * src/nm-activation-request.c
8964           src/nm-activation-request.h
8965                 - (nm_act_request_class_init): two new signals to support deferred
8966                         activation, to allow the listener to handle both timeout and success
8967                 - (nm_act_request_new_deferred): new function, starts the deferred
8968                         activation timeout handler and listens to the NMManager for
8969                         new-connection signals to notice when the connection comes in
8970
8971 2007-09-14  Dan Williams  <dcbw@redhat.com>
8972
8973         * src/nm-manager.h
8974           src/nm-manager.c
8975                 - (nm_manager_get_connection_service_name,
8976                    nm_manager_get_connection_dbus_path): get details about a connection
8977                         known internally by the NMManager
8978                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8979                         because NMConnection is now a GObject subclass
8980                 - Use constant for the gobject data tag used on NMConnection objects for
8981                         storing the associated DBusGProxy
8982
8983 2007-09-14  Dan Williams  <dcbw@redhat.com>
8984
8985         * utils/Makefile.am
8986           utils/nm-utils.c
8987           utils/nm-utils.h
8988           src/supplicant-manager/Makefile.am
8989           src/dhcp-manager/Makefile.am
8990           src/backends/Makefile.am
8991           src/named-manager/Makefile.am
8992           src/ppp-manager/Makefile.am
8993           src/vpn-manager/Makefile.am
8994           test/libnm-util/Makefile.am
8995           test/test-common/Makefile.am
8996                 - Remove utils/; it was unused
8997
8998 2007-09-13  Dan Williams  <dcbw@redhat.com>
8999
9000         * libnm-glib/nm-vpn-manager.h
9001           libnm-glib/nm-vpn-manager.c
9002                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9003
9004 2007-09-13  Dan Williams  <dcbw@redhat.com>
9005
9006         * src/nm-device-802-3-ethernet.c
9007                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9008                         netlink monitor carrier signals on dispose, not bring down.  The
9009                         carrier signals should be handled over the entire lifetime of the
9010                         device anyway, not created/destroyed on up or down.
9011
9012 2007-09-13  Dan Williams  <dcbw@redhat.com>
9013
9014         * libnm-glib/nm-device.c
9015           libnm-glib/nm-device.h
9016                 - (nm_device_activate): take a connection object path rather than an
9017                         NMConnection because NMConnection isn't exported over D-Bus and
9018                         therefore it dbus-glib can't automatically get an object path from it
9019
9020 2007-09-13  Dan Williams  <dcbw@redhat.com>
9021
9022         * libnm-util/nm-setting.c
9023                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9024
9025 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9026
9027         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9028
9029 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9030
9031         * src/vpn-manager/nm-vpn-connection.[ch]: 
9032         * src/vpn-manager/nm-vpn-manager.[ch]:
9033         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9034         dbus-glib, GObjects, signals etc.
9035
9036         * libnm-glib/nm-vpn-manager.[ch]: 
9037         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9038         so much, rewrite these too.
9039
9040         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9041         the new introspection files.
9042
9043         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9044
9045         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9046         the header with the same name from libnm-utils.
9047
9048         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9049
9050         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9051
9052         * introspection/nm-vpn-plugin.xml: Implement.
9053
9054         * introspection/nm-vpn-connection.xml: Implement.
9055
9056         * introspection/nm-vpn-manager.xml: Implement.
9057
9058         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9059         the named manager argument, it can just as easily get it as the caller.
9060         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9061
9062         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9063
9064         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9065
9066         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9067         libnm-utils.
9068
9069         * libnm-util/nm-connection.c: Ditto.
9070
9071         * src/NetworkManagerMain.h: Remove, it's finally empty.
9072
9073         * configure.in: Remove utils/ from build.
9074
9075         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9076         of hard-coded strings.
9077
9078         * utils/: Move it over to libnm-util.
9079
9080         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9081
9082         * dispatcher-daemon/Makefile.am: Ditto.
9083
9084         * src/Makefile.am: Ditto.
9085
9086 2007-09-12  Dan Williams  <dcbw@redhat.com>
9087
9088         Wireless connections can be made with config data from the applet now.
9089         
9090         Yay.
9091
9092         * src/supplicant-manager/nm-supplicant-config.h
9093           src/supplicant-manager/nm-supplicant-config.c
9094                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9095                 - (nm_supplicant_config_add_setting_wireless,
9096                    nm_supplicant_config_add_setting_wireless_security): new functions;
9097                         add key/value pairs from the settings objects to the supplicant
9098                         config
9099
9100         * src/nm-device-802-11-wireless.c
9101                 - (cull_scan_list): fix check to not prune currently associated AP
9102                 - (build_supplicant_config, real_act_stage2_config): call the functions
9103                         of the NMSupplicantConfig that parse settings objects rather than
9104                         doing it manually here
9105
9106 2007-09-12  Dan Williams  <dcbw@redhat.com>
9107
9108         * src/supplicant-manager/nm-supplicant-interface.c
9109           src/supplicant-manager/nm-supplicant-marshal.list
9110                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9111                         "connection-error" signal arguments should be STRING not CHAR
9112
9113 2007-09-12  Dan Williams  <dcbw@redhat.com>
9114
9115         * src/NetworkManagerUtils.c
9116           src/NetworkManagerUtils.h
9117                 - (nm_utils_hexstr2bin): new function
9118
9119 2007-09-11  Dan Williams  <dcbw@redhat.com>
9120
9121         * src/nm-manager.c
9122                 - (connection_get_settings_cb): emit connection-added signal
9123                 - (connection_removed_cb): uncomment bits for system settings service,
9124                         send connection-removed when appropriate
9125                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9126                         the stack by trying to g_object_set_data() on something that's
9127                         not a GObject; handle case where settings service returns
9128                         empty settings hash table
9129
9130 2007-09-11  Dan Williams  <dcbw@redhat.com>
9131
9132         * src/NetworkManagerPolicy.c
9133                 - (connection_added, connection_removed): trigger device change checks
9134                         on connection changes
9135
9136 2007-09-11  Dan Williams  <dcbw@redhat.com>
9137
9138         * src/nm-activation-request.c
9139                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9140
9141 2007-09-11  Dan Williams  <dcbw@redhat.com>
9142
9143         * src/nm-device-802-11-wireless.c
9144                 - (real_connection_secrets_updated): fix erroneous check
9145
9146 2007-09-11  Dan Williams  <dcbw@redhat.com>
9147
9148         * introspection/nm-device.xml
9149           libnm-glib/nm-device.c
9150           libnm-glib/nm-device.c
9151                 - Fix Activate call argument borkage; Activate takes 3 arguments
9152
9153 2007-09-11  Dan Williams  <dcbw@redhat.com>
9154
9155         * libnm-glib/nm-access-point.c
9156           libnm-glib/nm-access-point.c
9157                 - (nm_access_point_get_frequency): now returns guint32 to match
9158                         property change on 2007-09-10
9159
9160 2007-09-11  Dan Williams  <dcbw@redhat.com>
9161
9162         * src/nm-device-802-11-wireless.c
9163                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9164                         somewhere defines 'index' and I missed this one when I fixed the
9165                         shadow declaration errors earlier
9166
9167 2007-09-11  Dan Williams  <dcbw@redhat.com>
9168
9169         * libnm-util/nm-connection.c
9170                 - (nm_connection_update_secrets, need_secrets_check): move
9171                         802-11-wireless-security need_secrets checks to the setting object
9172                         itself, where it belongs
9173
9174         * libnm-util/nm-setting.c
9175           libnm-util/nm-setting.h
9176                 - (nm_setting_need_secrets): new function
9177                 - (setting_wireless_security_verify,
9178                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9179                 - (setting_wireless_security_need_secrets): mostly copy code over
9180                         from nm-connection.c
9181
9182 2007-09-11  Dan Williams  <dcbw@redhat.com>
9183
9184         * libnm-util/nm-setting.c
9185           libnm-util/nm-setting.h
9186                 - (nm_setting_update_secrets): new function; add a virtual function that
9187                         subclasses can implement to update their secrets
9188                 - (setting_wireless_security_update_secrets): implement that function
9189                         for the 802-11-wireless-security subclass
9190
9191         * libnm-util/nm-connection.c
9192           libnm-util/nm-connection.h
9193                 - (nm_connection_update_secrets): update secrets for a Setting and
9194                         emit a signal on success
9195
9196         * src/nm-manager.c
9197           src/nm-manager.h
9198           src/nm-marshal.list
9199                 - (connection_get_settings_cb): enable system settings bits
9200                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9201                         to request secrets from the settings dbus service and to
9202                         push those secrets to the NMConnection itself
9203
9204         * src/nm-activation-request.c
9205           src/nm-activation-request.h
9206                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9207                         currently being activated, and proxy that signal to other listeners.
9208                         Goes through the activation request because the activation request
9209                         is the thing that manages the lifetime of the NMConnection that's
9210                         being activated.
9211
9212         * src/nm-device-802-11-wireless.c
9213                 - (real_connection_secrets_updated): implement the connection secrets
9214                         updated notification and restart activation when secrets are
9215                         received
9216                 - (real_act_stage2_config): request secrets from the settings dbus
9217                         service if secrets are needed
9218
9219         * src/nm-device.c
9220           src/nm-device.h
9221                 - (clear_act_request, nm_device_activation_cancel,
9222                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9223                         where the activation request is cleared
9224                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9225                         updated secrets signal of activation request and add a function
9226                         that subclasses can override to handle it easily
9227
9228 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9229
9230         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9231         removal of NetworkManagerAPList.
9232
9233 2007-09-10  Dan Williams  <dcbw@redhat.com>
9234
9235         * src/NetworkManagerAP.c
9236           src/NetworkManagerAP.h
9237           introspection/nm-access-point.xml
9238                 - Change 'freq' property to a guint32 instead of a double since we
9239                         weren't using the floating point bits anyway
9240
9241 2007-09-10  Dan Williams  <dcbw@redhat.com>
9242
9243         * NetworkManagerAP.c
9244           NetworkManagerAP.h
9245           NetworkManagerPolicy.c
9246           NetworkManagerSystem.c
9247           NetworkManagerUtils.c
9248           NetworkManagerUtils.h
9249           nm-device-802-11-wireless.c
9250           nm-device-802-3-ethernet.c
9251           nm-hal-manager.c
9252           nm-manager.c
9253           vpn-manager/nm-dbus-vpn.c
9254                 - Warning fixes; casts and removal of unused variables
9255
9256 2007-09-10  Dan Williams  <dcbw@redhat.com>
9257
9258         * include/NetworkManager.h
9259                 - Kill NMNetworkType; AP types don't matter any more
9260
9261         * src/NetworkManagerAPList.c
9262           src/NetworkManagerAPList.h
9263           src/Makefile.am
9264                 - Kill; NMAccessPointList has outlived it's usefulness
9265
9266         * src/NetworkManagerAP.c
9267           src/NetworkManagerAP.h
9268                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9269                         functions; check if an NMConnection object is compatible with the
9270                         settings of this AP
9271                 - (freq_to_channel, channel_to_freq): utility functions for
9272                         channel <-> frequency conversion
9273
9274         * src/nm-device.c
9275           src/nm-device.h
9276                 - (nm_device_get_best_connection): pass the specific object around
9277                          (which might be the object path of a specific AP to connect to).
9278                          The get_best_connection() call should populate this on return
9279                          if needed (wireless does).
9280
9281         * src/nm-device-802-3-ethernet.c
9282                 - (real_get_best_connection): handle specific_object argument
9283
9284         * src/NetworkManager.c
9285           src/NetworkManagerMain.h
9286                 - Remove unused includes
9287
9288         * src/nm-device-802-11-wireless.c
9289           src/nm-device-802-11-wireless.h
9290                 - Convert the ap_list into a GSList from an NMAccessPointList
9291                 - No need for caching the 'activation_ap' since this is now determined
9292                         from the specific_object of the activation request, which is
9293                         populated from the get_best_connection() call or from a user request
9294                 - (nm_device_802_11_wireless_update_bssid): fix warning
9295                 - (get_wireless_capabilities): fix error message format arguments
9296                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9297                 - (find_best_connection, real_get_best_connection): implement
9298                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9299                         move here from NetworkManagerAPList
9300                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9301                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9302                         already verified earlier
9303                 - (real_act_stage2_config): use nm_connection_need_secrets()
9304
9305         * src/NetworkManagerPolicy.c
9306                 - (nm_policy_auto_get_best_device): handle specific objects
9307                 - (create_connection): remove; automatic connection creation functionality
9308                         is handled by the Connection objects
9309                 - (nm_policy_device_change_check): handle specific_object
9310
9311         * libnm-util/nm-connection.c
9312                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9313
9314 2007-09-10  Dan Williams  <dcbw@redhat.com>
9315
9316         * src/nm-manager.c
9317                 - (query_connections): fix uninitialized variable problem that caused
9318                         segfault
9319                 - (nm_manager_add_device): take devices down on startup so that we can
9320                         be assured that nm_device_is_up() won't short-circuit the init
9321                         process.  Hack until the is_up check gets split into two pieces
9322                         that aren't behaviorally confusing.
9323
9324 2007-09-09  Dan Williams  <dcbw@redhat.com>
9325
9326         * introspection/nm-device.xml
9327                 - The 'Activate' method now takes 3 arguments, a service name for the
9328                 settings service (user or system), the object path of the connection
9329                 to activate, and the specific object to activate, if any
9330
9331         * src/nm-device-interface.c
9332                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9333                 Add error bits
9334                 - (impl_device_activate): adapt to new Activate arguments; validate
9335                 the service name and get the Connection object from the NMManager
9336                 before starting to activate the device with the specified connection
9337
9338         * src/nm-device-802-3-ethernet.c
9339                 - (real_get_best_connection): find the best connection, or create a
9340                 default one if no existing connections can be used
9341
9342         * src/NetworkManagerPolicy.c
9343                 - (nm_policy_auto_get_best_device): Get the device's best connection
9344                 and only pick the device if it has one
9345                 - (nm_policy_device_change_check): disable wireless bits for now until
9346                 wireless get_best_connection() can be implemented (replacing "best_ap");
9347                 don't create a default connection here as the device subclass will do
9348                 that if needed
9349
9350         * src/nm-manager.h
9351           src/nm-manager.c
9352                 - (nm_manager_get): make NMManager a singleton and expose the getter
9353                 internally
9354                 - Rework internal NMManager connection handling to use the same
9355                 routines for both the system and user settings services.  Most calls
9356                 take a new NMConnectionType argument specifying either system or user
9357                 connections
9358                 - (nm_manager_get_connection_by_object_path): new function; get a
9359                 connection keyed on its object path
9360
9361         * src/NetworkManager.c
9362                 - (main): use nm_manager_get()
9363
9364 2007-09-09  Dan Williams  <dcbw@redhat.com>
9365
9366         * src/nm-device.h
9367           src/nm-device.c
9368                 - (nm_device_get_best_connection): new function; get best connection
9369                         for the device at that time
9370
9371 2007-09-09  Dan Williams  <dcbw@redhat.com>
9372
9373         * src/nm-device-interface.h
9374                 - Add NMDeviceInterfaceError with an UnknownConnection error
9375
9376 2007-09-09  Dan Williams  <dcbw@redhat.com>
9377
9378         Stupid mistake on my part; object path and interface for settings service
9379         and connection objects can be the same, only the service name must be
9380         different for the system and user settings services.
9381
9382         * include/NetworkManager.h
9383           src/nm-manager.c
9384           introspection/nm-settings-connection.xml
9385           introspection/nm-settings.xml
9386           libnm-glib/nm-settings.c
9387                 - (nm_connection_settings_init, query_user_connections,
9388                    new_connection_cb): Unify NetworkManagerSettings and Connection
9389                    interface name and object path
9390
9391 2007-09-06  Dan Williams  <dcbw@redhat.com>
9392
9393         * libnm-glib/nm-object.c
9394                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9395                    nm_object_get_int_property, nm_object_get_uint_property,
9396                    nm_object_get_boolean_property, nm_object_get_byte_property,
9397                    nm_object_get_double_property, nm_object_get_byte_array_property):
9398                         clear GValues after copying their contents, fixes memory leaks
9399                         after every property access because dbus-glib copies the values
9400                         from the DBusMessage into the GValue already.
9401
9402 2007-09-06  Dan Williams  <dcbw@redhat.com>
9403
9404         * introspection/nm-access-point.xml
9405                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9406                         them to be.  There's some magic property name parsing going on in
9407                         dbus-glib that breaks up property names based on studly-caps and
9408                         puts - between words.
9409
9410         * libnm-glib/nm-access-point.c
9411                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9412                         Fix property names
9413
9414 2007-09-06  Dan Williams  <dcbw@redhat.com>
9415
9416         * src/nm-manager.c
9417                 - (nm_manager_user_connections_destroy): clear the user connections hash
9418                         table, don't destroy it
9419                 - (finalize): only destroy the hash table on NMManager finalization
9420
9421 2007-09-02  Dan Williams  <dcbw@redhat.com>
9422
9423         * include/NetworkManager.h
9424           libnm-glib/nm-settings.c
9425                 - defines for the user settings daemon D-Bus bits
9426
9427         * src/NetworkManager.c
9428                 - Remove stuff that referred to the old NetworkManagerInfo service
9429
9430         * src/vpn-manager/nm-dbus-vpn.h
9431                 - Move old NMI defines to the only place they are used still
9432
9433         * libnm-util/nm-connection.c
9434           libnm-util/nm-connection.h
9435           src/nm-activation-request.c
9436                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9437
9438         * src/nm-manager.c
9439           src/nm-manager.h
9440                 - Get connections and their settings from the user settings daemon
9441                         at the appropriate times
9442
9443 2007-09-02  Dan Williams  <dcbw@redhat.com>
9444
9445         * libnm-util/nm-setting.c
9446                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9447                 - (setting_wireless_hash): set the right value on the item
9448
9449 2007-09-02  Dan Williams  <dcbw@redhat.com>
9450
9451         * test/Makefile.am
9452           test/nminfotest.c
9453                 - Remove, no longer useful
9454
9455 2007-08-30  Dan Williams  <dcbw@redhat.com>
9456
9457         * src/Makefile.am
9458           src/NetworkManagerDbus.c
9459           src/NetworkManagerDbus.h
9460           src/vpn-manager/nm-dbus-vpn.c
9461                 - Remove, no longer necessary.  Move last bits to the only place its
9462                 used, in nm-dbus-vpn.c
9463
9464         * src/NetworkManagerAPList.c
9465           src/nm-device.c
9466           src/NetworkManager.c
9467           src/nm-device-802-11-wireless.c
9468           src/vpn-manager/nm-vpn-manager.c
9469           src/vpn-manager/nm-vpn-service.c
9470           src/NetworkManagerPolicy.c
9471           src/nm-manager.c
9472                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9473                 that was message_is_error()
9474
9475 2007-08-30  Dan Williams  <dcbw@redhat.com>
9476
9477         * libnm-util/sha1.c
9478                 - Include config.h to get defines for endiannes (gnome.org #420216)
9479
9480 2007-08-30  Dan Williams  <dcbw@redhat.com>
9481
9482         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9483
9484         * src/ppp-manager/Makefile.am
9485                 - use -fPIC (gnome.org #471825)
9486
9487 2007-08-29  Dan Williams  <dcbw@redhat.com>
9488
9489         * include/NetworkManager.h
9490                 - Keep NMConnection object path in sync
9491
9492         * libnm-glib/nm-settings.c
9493           libnm-glib/nm-settings.h
9494                 - Break D-Bus object registration out of the init function, because
9495                 every object that's exported over D-Bus needs to use the _same_
9496                 DBusConnection.  Otherwise, each object would get a different object
9497                 path tree and wouldn't be callable.
9498
9499 2007-08-29  Dan Williams  <dcbw@redhat.com>
9500
9501         * libnm-util/nm-setting.h
9502           libnm-util/nm-setting.c
9503           libnm-util/nm-connection.c
9504           src/NetworkManagerPolicy.c
9505                 - 'info' settings object should be 'connection' says the spec
9506                 at NetworkManagerConfigurationSpecification
9507
9508 2007-08-29  Dan Williams  <dcbw@redhat.com>
9509
9510         * libnm-glib/nm-settings.c
9511           libnm-glib/nm-settings.h
9512                 - make the dbus path a property of the object, and autogenerate it.
9513                 It can't be composed of the 'id' field becuase that's not available
9514                 yet during the GObject creation in nm_connection_settings_init()
9515
9516 2007-08-29  Dan Williams  <dcbw@redhat.com>
9517
9518         * introspection/nm-settings-connection.xml
9519           introspection/nm-settings.xml
9520                 - Service name -> NetworkManagerUserSettings because two services
9521                 can't share part of the same path.  I'm not really sure how we'll use
9522                 the same code with the system-settings daemon...
9523
9524 2007-08-28  Dan Williams  <dcbw@redhat.com>
9525
9526         * src/nm-device-interface.c
9527           src/nm-device-interface.h
9528                 - Kill one more bit of NMData
9529
9530 2007-08-28  Dan Williams  <dcbw@redhat.com>
9531
9532         * src/NetworkManagerSystem.h
9533           src/nm-device.c
9534           src/nm-device.h
9535           src/nm-hal-manager.c
9536           src/NetworkManager.c
9537           src/nm-device-802-11-wireless.c
9538           src/nm-hal-manager.h
9539           src/nm-device-802-3-ethernet.c
9540           src/vpn-manager/nm-vpn-service.h
9541           src/vpn-manager/nm-vpn-manager.c
9542           src/vpn-manager/nm-vpn-manager.h
9543           src/vpn-manager/nm-vpn-service.c
9544           src/nm-device-802-11-wireless.h
9545           src/NetworkManagerMain.h
9546           src/nm-device-802-3-ethernet.h
9547           src/backends/NetworkManagerGentoo.c
9548           src/backends/NetworkManagerPaldo.c
9549           src/backends/NetworkManagerFrugalware.c
9550           src/backends/NetworkManagerRedHat.c
9551           src/backends/NetworkManagerSlackware.c
9552           src/backends/NetworkManagerGeneric.c
9553           src/backends/NetworkManagerArch.c
9554           src/backends/NetworkManagerSuSE.c
9555           src/backends/NetworkManagerGeneric.h
9556           src/backends/NetworkManagerDebian.c
9557                 - Kill NMData
9558
9559 2007-08-28  Dan Williams  <dcbw@redhat.com>
9560
9561         * src/NetworkManagerMain.h
9562           src/nm-device-802-11-wireless.c
9563           src/NetworkManager.c
9564                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9565                 for now we should set the 'invalid' property on individual APs, and when
9566                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9567                 that ESS
9568
9569 2007-08-28  Dan Williams  <dcbw@redhat.com>
9570
9571         * src/NetworkManagerAP.c
9572           src/NetworkManagerAP.h
9573                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9574                         'autoconnect' property instead
9575
9576         * src/NetworkManager.c
9577           src/NetworkManagerMain.h
9578           src/NetworkManagerPolicy.c
9579           src/NetworkManagerPolicy.h
9580                 - Remove the 'allowed_ap_list', which should be replaced by 
9581                         NMConnection/NMSettings instead, since _those_ are the allowed
9582                         things that NM can connect to
9583
9584         * src/nm-device-802-11-wireless.c
9585                 - Remove both allowed_ap_list usage and 'fallback' checking
9586
9587 2007-08-28  Dan Williams  <dcbw@redhat.com>
9588
9589         * src/nm-device.c
9590           src/named-manager/nm-named-manager.c
9591           src/named-manager/nm-named-manager.h
9592           src/NetworkManager.c
9593           src/vpn-manager/nm-vpn-manager.c
9594           src/NetworkManagerMain.h
9595           src/NetworkManagerSystem.c
9596                 - Remove the named-manager object from NMData structure in preparation
9597                 for NMData's timely death.  Make the NMNamedManager the singleton that
9598                 it really is
9599
9600 2007-08-28  Dan Williams  <dcbw@redhat.com>
9601
9602         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9603         each AP's capabilities, and by NMConnection/NMSettings objects for user
9604         defined connections.
9605
9606         * include/NetworkManager.h
9607                 - Redefine 802.11 security properties.  There are now device capabilities
9608                         and AP flags and AP security flags.  It was way to unclear before.
9609
9610         * src/Makefile.am
9611           src/nm-ap-security-leap.h
9612           src/nm-ap-security-leap.c
9613           src/nm-ap-security-wpa-eap.c
9614           src/nm-ap-security-wpa-eap.h
9615           src/nm-ap-security-private.h
9616           src/nm-ap-security-wpa-psk.c
9617           src/nm-ap-security-wpa-psk.h
9618           src/nm-ap-security-wep.c
9619           src/nm-ap-security-wep.h
9620           src/nm-ap-security.c
9621           src/nm-ap-security.h
9622                 - Removed, to be replaced with NMConnection/NMSettings objects
9623
9624         * src/nm-dbus-nmi.c
9625           src/nm-dbus-nmi.h
9626                 - Removed, to be replaced by code that talks to the new info daemon
9627                         interface and gets NMConnection/NMSettings objects
9628
9629         * src/backends/NetworkManagerSuSE.c
9630                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9631                         info-daemon that does the same thing but talks the new info-daemon
9632                         D-Bus interface
9633
9634         * src/NetworkManagerAP.h
9635           src/NetworkManagerAP.c
9636           src/NetworkManagerAPList.c
9637           libnm-glib/libnm-glib-test.c
9638                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9639                         WPA/RSN
9640
9641         * libnm-glib/nm-access-point.c
9642           libnm-glib/nm-access-point.h
9643           introspection/nm-access-point.xml
9644           test/nm-tool.c
9645                 - Adjust to new flags for AP security
9646
9647         * utils/nm-utils.c
9648           utils/nm-utils.h
9649           src/vpn-manager/nm-dbus-vpn.c
9650                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9651                         stuff which is the only place it's used
9652
9653         * src/nm-device-interface.c
9654           src/nm-device-interface.h
9655           introspection/nm-device.xml
9656           src/nm-activation-request.c
9657           src/nm-activation-request.h
9658           src/nm-device.c
9659                 - Add a new 'specific_object' argument that hints to NM what actual
9660                         AP or other device-specific thing the connection should apply to.
9661                         NMConnection objects can apply to more than one actual device/AP.
9662
9663         * libnm-util/nm-connection.c
9664         * libnm-util/nm-connection.h
9665                 - Add 'have_secrets" call stubs
9666
9667         * libnm-util/cipher.h
9668                 - Move NM_AUTH_TYPE_* defines here for now
9669
9670         * src/nm-device-802-11-wireless.c
9671                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9672                         NMSettings objects
9673
9674         * src/NetworkManagerDbus.c
9675         * src/NetworkManagerPolicy.c
9676                 - Remove usage of update_allowed_networks, should be pushing data in
9677                         a different manner
9678
9679 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9680
9681         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9682         dbus-glib frees it when the call is done.
9683
9684 2007-08-26  Dan Williams  <dcbw@redhat.com>
9685
9686         * introspection/nm-device.xml
9687                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9688
9689 2007-08-26  Dan Williams  <dcbw@redhat.com>
9690
9691         * src/nm-device-802-3-ethernet.c
9692                 - (constructor): move connection of interface-connected/disconnected
9693                         signals here from real_bring_up().  Should be listening to netlink
9694                         for carrier events no matter what the initial state of the device
9695                         is.
9696
9697 2007-08-26  Dan Williams  <dcbw@redhat.com>
9698
9699         * src/nm-netlink-monitor.c
9700                 - (nm_netlink_monitor_class_init): fix marshalling types for
9701                         interface-connected/interface-disconnected
9702                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9703                         check
9704
9705 2007-08-26  Dan Williams  <dcbw@redhat.com>
9706
9707         Convert to using interface indexes as the primary method of identifying
9708         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9709         be renamed at any time.  Device object paths now refer to the device
9710         index rather than the name, and you can map those two manually if you like
9711         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9712         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9713         to use interface indexes rather than names.
9714
9715 2007-08-26  Dan Williams  <dcbw@redhat.com>
9716
9717         * src/nm-netlink-monitor.h
9718                 - Remove one last bit of wireless-event signal
9719
9720 2007-08-26  Dan Williams  <dcbw@redhat.com>
9721
9722         * src/nm-netlink-monitor.c
9723                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9724                         don't need the 'wireless-event' signal anymore since that's all
9725                         handled by wpa_supplicant
9726
9727 2007-08-25  Dan Williams  <dcbw@redhat.com>
9728
9729         It's 2007. Remove support for drivers that don't support wireless scanning.
9730
9731         * test/nm-tool.c
9732           include/NetworkManager.h
9733           src/NetworkManagerUtils.c
9734           src/NetworkManagerPolicy.c
9735           src/nm-device-802-11-wireless.c
9736                 - Remove special handling for non-scanning devices and mark them
9737                         as unsupported/unhandled
9738
9739 2007-08-20  Dan Williams  <dcbw@redhat.com>
9740
9741         * src/nm-device-802-11-wireless.c
9742           src/nm-device-802-3-ethernet.c
9743                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9744                         because when the card is pulled or the module removed, the device
9745                         is already !IFF_UP and then device-specific cleanup (removing
9746                         the supplicant interface, periodic checks, etc) never gets done
9747
9748 2007-08-20  Dan Williams  <dcbw@redhat.com>
9749
9750         * src/nm-manager.c
9751                 - (nm_manager_remove_device): bring device down before disconnecting
9752                         signal handlers, so that the 'state' signal will get broadcast when
9753                         the device enters the DOWN state
9754                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9755                         of states that cause the NMManager to recheck its state
9756
9757 2007-08-20  Dan Williams  <dcbw@redhat.com>
9758
9759         * src/supplicant-manager/nm-supplicant-interface.c
9760                 - (interface_disconnect_done): don't try to dispose of the net proxy
9761                         when it may already have been disposed of
9762
9763 2007-08-20  Dan Williams  <dcbw@redhat.com>
9764
9765         * src/nm-device-802-11-wireless.c
9766                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9767                         the SSID isn't available; this can happen when the card is pulled
9768                         or the module unloaded, during the post-removal deactivation
9769                         paths, when the ioctl returns ENODEV
9770
9771 2007-08-20  Dan Williams  <dcbw@redhat.com>
9772
9773         * src/nm-device-802-11-wireless.c
9774                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9775                         frequency, and mode match.  Applets are now responsible for grouping
9776                         access points
9777
9778 2007-08-20  Dan Williams  <dcbw@redhat.com>
9779
9780         * src/NetworkManagerAP.c
9781         * src/NetworkManagerAP.h
9782                 - (nm_ap_print_self): new function
9783
9784         * src/NetworkManagerAPList.c
9785                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9786                         to do it all here
9787         
9788 2007-08-17  Dan Williams  <dcbw@redhat.com>
9789
9790         * src/nm-device-802-3-ethernet.c
9791                 - (real_bring_down): don't try to dispose of stuff that might not
9792                         exist
9793
9794 2007-08-17  Dan Williams  <dcbw@redhat.com>
9795
9796         * src/NetworkManagerAP.c
9797                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9798                         applet.  This ensures that the case between the seen-bssids and
9799                         the bssids reported by the driver match.
9800
9801 2007-08-17  Dan Williams  <dcbw@redhat.com>
9802
9803         * src/nm-device-802-11-wireless.c
9804                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9805                         we dispose of the interface proxy in NM
9806
9807 2007-08-16  Dan Williams  <dcbw@redhat.com>
9808
9809         * libnm-glib/nm-client.c
9810                 - (nm_client_init): create VPN connections hash table with key free
9811                         function
9812                 - (proxy_vpn_connection_added): VPN connections hash table key should
9813                         be a duplicated value, not the same memory address as the VPN
9814                         connection name.  This is because the VPN connection name could
9815                         potentially be freed and set to something else during the lifetime
9816                         of the NMVPNConnection object.
9817
9818 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9819
9820         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9821         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9822         with the file descriptors. Send a child setup function to change the pppd
9823         progress group.
9824
9825 2007-08-15  Dan Williams  <dcbw@redhat.com>
9826
9827         * src/supplicant-manager/nm-supplicant-interface.c
9828                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9829                         an interface
9830                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9831                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9832                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9833                         the interface internally
9834
9835 2007-08-15  Dan Williams  <dcbw@redhat.com>
9836
9837         * src/nm-device-802-11-wireless.c
9838                 - (real_bring_down): move most of this function into device_cleanup()
9839                         so that it can be called from elsewhere
9840                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9841                         and stuff on dispose.  These would normally get cleaned up when
9842                         the device is marked down and deactivated, but when the device is
9843                         hot-unplugged, it's already down and real_down() never gets run
9844
9845 2007-08-15  Dan Williams  <dcbw@redhat.com>
9846
9847         * src/nm-dbus-nmi.c
9848                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9849                         caused a reference leak on device for which NM requested a key
9850
9851 2007-08-15  Dan Williams  <dcbw@redhat.com>
9852
9853         * libnm-glib/nm-client.c
9854                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9855
9856 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9857
9858         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9859         nothing is using it at the moment, but it'll be all useful and stuff later on.
9860
9861         * libnm-util/nm-setting.h: Define NMSettingPPP.
9862
9863         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9864
9865         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9866
9867         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9868
9869         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9870
9871         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9872
9873 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9874
9875         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9876
9877         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9878         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9879         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9880         name and different arguments and it won't compile anymore. To fix this, we now have
9881         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9882         that is new API + compatibility API and used by the daemon. The other, 
9883         nm-manager-client.xml is only the new API without compatibility bits and is used
9884         by libnm-glib to make it compile.
9885
9886         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9887
9888         * src/nm-manager.c (impl_manager_legacy_sleep)
9889         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9890         interface functions for 0.6 branch.
9891
9892 2007-08-14  Dan Williams  <dcbw@redhat.com>
9893
9894         * src/NetworkManagerAP.c
9895                 - (nm_ap_new_from_properties): fix mistaken check of return value
9896                         from memcmp (should expect 0)
9897
9898 2007-08-14  Dan Williams  <dcbw@redhat.com>
9899
9900         (force-commit to fix wrong comment and partial commit of r2685; this
9901          commit actually applies to r2685)
9902
9903         * src/NetworkManagerUtils.c
9904                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9905                         ignores trailing nulls in the SSID to work around mismatches in
9906                         expectations between WEXT and what the info-daemon passes back.  The
9907                         info-daemon would pass back the correct length, but due to the
9908                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9909                         the device would always have an SSID + 1 depending on what versions
9910                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9911                         visible by just quitting the applet and relaunching, which caused
9912                         NM to reassociated to the same network over again when reloading
9913                         the save networks.
9914
9915         * src/NetworkManagerPolicy.c
9916           src/NetworkManagerUtils.h
9917           src/nm-device-802-11-wireless.c
9918                 - Update for new parameter to nm_utils_same_ssid()
9919
9920 2007-08-14  Dan Williams  <dcbw@redhat.com>
9921
9922         * src/NetworkManagerAP.c
9923                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9924                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9925                         setting the BSSID to all 0s.  That confused the heck out of NM,
9926                         plus it's useless and probably out-of-spec.
9927
9928 2007-08-14  Dan Williams  <dcbw@redhat.com>
9929
9930         * callouts/Makefile.am
9931           src/dhcp-manager/nm-dhcp-manager.c
9932           src/dhcp-manager/nm-dhcp-manager.h
9933           src/dhcp-manager/Makefile.am
9934                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9935
9936 2007-08-14  Dan Williams  <dcbw@redhat.com>
9937
9938         * src/dhcp-manager/nm-dhcp-manager.c
9939                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9940                         it's really needed, get rid of unused xtra_args parameter
9941
9942 2007-08-14  Dan Williams  <dcbw@redhat.com>
9943
9944         * include/NetworkManagerVPN.h
9945           src/vpn-manager/nm-dbus-vpn.c
9946           src/vpn-manager/nm-dbus-vpn.h
9947           src/vpn-manager/nm-vpn-act-request.c
9948           src/vpn-manager/nm-vpn-act-request.h
9949           src/vpn-manager/nm-vpn-service.c
9950           src/vpn-manager/nm-vpn-service.h
9951           libnm-glib/nm-vpn-connection.c
9952           libnm-glib/nm-vpn-connection.h
9953           libnm-glib/nm-client.h
9954                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9955                         NMVPNServiceState to clarify what they apply to
9956                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9957                         NMVPNActStage -> NMVPNConnectionState for the same reason
9958
9959         * libnm-glib/nm-client.c
9960                 - Constant + type renames from above
9961                 - Properly handle NameOwnerChanged/manager_running signals
9962                         for NM service; only emit when state really changes
9963                 - Use hash tables correctly so that the key (which was previously owned
9964                         by the D-Bus message) now has the same lifetime as the value, since
9965                         the key is now taken from the the NMVPNConnection itself.  This
9966                         really fixes the double-VPN names in the applet
9967
9968 2007-08-13  Dan Williams  <dcbw@redhat.com>
9969
9970         Patch from Michael Biebl <biebl@debian.org>
9971
9972         * po/POTFILES.in
9973           po/POTFILES.skip
9974                 - Update for vpn-properties move
9975
9976 2007-08-13  Dan Williams  <dcbw@redhat.com>
9977
9978         * libnm-glib/nm-client.c
9979                 - Convert internal VPN connection tracking from a list to a hash table
9980                         to easily avoid duplicates
9981                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9982                         must be freed by the caller, like nm_client_get_devices()
9983                 - (nm_client_remove_vpn_connection): don't let the removal signal
9984                         leak through for NMVPNConnection objects that aren't actually
9985                         tracked.
9986                 - (manager_running): throw away VPN connection list when NM goes away,
9987                         like with the device list
9988
9989 2007-08-13  Dan Williams  <dcbw@redhat.com>
9990
9991         * src/dhcp-manager/nm-dhcp-manager.c
9992                 - Stop any dhclient instance that might be already running for a
9993                         particular interface before starting an NM spawned dhclient.  Fixes
9994                         dhclient processes left over if NM crashes, stuff like that.
9995
9996 2007-08-13  Dan Williams  <dcbw@redhat.com>
9997
9998         * src/NetworkManagerAP.c
9999                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10000                         when the AP wasn't broadcasting it's SSID
10001
10002 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10003
10004         * include/NetworkManager.h: added DBus path for connection settings.
10005
10006         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10007         nm_connection_settings_signal_updated,
10008         nm_connection_settings_signal_removed): new functions to wrap the
10009         objects' signals.
10010         (nm_connection_settings_init): register GObject with DBus.
10011         (nm_connection_settings_get_dbus_object_path): new function.
10012
10013         * libnm-glib/Makefile.am: added libnmutil to link flags.
10014
10015 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10016
10017         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10018
10019         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10020         libnm_glib directory got merged with libnm-glib/.
10021
10022         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10023
10024         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10025         Rename the library from libnm-glib to libnm_glib to maintain the library API
10026         compatibility with 0.6 branch.
10027
10028         * Makefile.am: Remove gnome/ SUBDIR.
10029
10030         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10031
10032         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10033
10034         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10035
10036         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10037         anymore.
10038         Remove checks for wpa_supplicant binary, it's used over dbus.
10039         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10040
10041         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10042         Link the binaries with libnm_glib.la.
10043
10044 2007-08-12  Dan Williams  <dcbw@redhat.com>
10045
10046         * src/NetworkManagerPolicy.c
10047                 - (nm_policy_device_change_check): fix policy to deactivate old device
10048                         before activating new one, at least until the multiple active
10049                         device support lands
10050
10051 2007-08-12  Dan Williams  <dcbw@redhat.com>
10052
10053         * src/NetworkManagerPolicy.c
10054                 - (nm_policy_new): hook up to connection-added / connection-removed
10055                         signals instead of connections-changed
10056
10057 2007-08-12  Dan Williams  <dcbw@redhat.com>
10058
10059         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10060         Robert Frank <rfrank@redhat.com>
10061
10062         * src/dhcp-manager/nm-dhcp-manager.c
10063           src/dhcp-manager/nm-dhcp-manager.c
10064           src/nm-device.c
10065                 - Spawn and communicate with dhclient directly, through means of a
10066                 custom dhclient callout script.  Process callout D-Bus signals
10067                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10068                 sent via gobject signals rather than being driven by the dhcp manager
10069                 directly.
10070
10071 2007-08-12  Dan Williams  <dcbw@redhat.com>
10072
10073         * callouts/nm-dhcp-client-action.c
10074                 - (build_message): ignore non-DHCP-related environment variables
10075
10076 2007-08-12  Dan Williams  <dcbw@redhat.com>
10077
10078         * Makefile.am
10079           configure.in
10080           callouts/Makefile.am
10081           callouts/nm-dhcp-client-action.c
10082           callouts/nm-dhcp-client.conf
10083                 - Add dhclient-executed callout that takes the place of dhclient-script
10084                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10085                 NM then listens for
10086
10087 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10088
10089         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10090
10091         * libnm-glib/nm-client.h:
10092         * libnm-glib/nm-object.h:
10093         * libnm-glib/nm-vpn-connection.h:
10094         * libnm-glib/nm-settings.h:
10095         * libnm-glib/nm-device.h:
10096         * libnm-glib/nm-ip4-config.h:
10097         * libnm-glib/nm-access-point.h:
10098         * libnm-glib/nm-device-802-3-ethernet.h:
10099         * libnm-util/nm-setting.h: 
10100         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10101
10102         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10103
10104         * libnm-glib/nm-access-point.c: Strength has type char.
10105
10106         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10107         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10108
10109         * introspection/nm-access-point.xml: Strength property is char, not int.
10110
10111         * src/NetworkManagerAP.c (set_property): Set strength from char.
10112         (get_property): Handle hidden APs (with empty SSID).
10113         Get strength value from char.
10114         (nm_ap_class_init): Strength property has char type.
10115
10116 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10117
10118         * introspection/Makefile.am:
10119         * introspection/nm-settings.xml:
10120         * introspection/nm-settings-connection.xml: added Settings interfaces.
10121
10122         * libnm-glib/nm-settings.[ch]:
10123         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10124         containing the DBus implementation.
10125
10126 2007-07-26  Dan Williams  <dcbw@redhat.com>
10127
10128         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10129
10130         * src/NetworkManagerSystem.c
10131                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10132                         same subnet (#437396)
10133
10134 2007-07-26  Dan Williams  <dcbw@redhat.com>
10135
10136         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10137
10138         * gnome/vpn-properties/nm-vpn-properties.c
10139                 - Fix translatable strings (#445865)
10140
10141 2007-07-26  Dan Williams  <dcbw@redhat.com>
10142
10143         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10144
10145         * configure.in
10146                 - Remove useless junk (#412530)
10147
10148 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10149
10150         Patch from Robert Buchholz <rbu@gentoo.org>:
10151
10152         * configure.in:
10153         * Makefile.am:
10154         * introspection/Makefile.am:
10155         Make make distcheck work again.
10156
10157 2007-06-27  Dan Williams  <dcbw@redhat.com>
10158
10159         * Make SSIDs GByteArrays everywhere
10160         * Rename "essid" -> "ssid" everywhere that's appropriate
10161         * Refcount activation_ap member of the 802.11 wireless device class
10162
10163 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10164
10165         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10166
10167 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10168
10169         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10170         that we got a new AP when we just update existing AP properties.
10171
10172 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10173
10174         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10175
10176         * nm-utils.[ch]: Remove.
10177
10178         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10179         objects for easy property access and dbus connection handling.
10180
10181         * libnm-glib/nm-client.c: Derive from NMObject.
10182
10183         * libnm-glib/nm-device.c: Ditto.
10184
10185         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10186
10187         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10188
10189         * libnm-glib/nm-ip4-config.c: Ditto.
10190
10191         * libnm-glib/nm-access-point.c: Ditto.
10192
10193         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10194         comparision. Currently used by the device activation code to determine if the new
10195         activation is the same as the old one.
10196
10197         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10198         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10199         able to ask password for the AP.
10200
10201         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10202         up if the device is already connected, tear down it's connection (if it isn't the
10203         same as new one) and start the activation.
10204
10205         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10206
10207         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10208         the issue where all APs are always listed as encrypted.
10209
10210         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10211         their own registered paths.
10212
10213         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10214         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10215
10216 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10217
10218         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10219         (0 & 0 == 0, doh)
10220
10221         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10222         because the handling code will cause the next state change and signal listeners
10223         get the signals in wrong order.
10224
10225         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10226         correctly in case of pending activation.
10227
10228         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10229         Convert the essid byte array to string correctly, including the terminating NULL.
10230
10231         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10232         mode with correct types.
10233
10234         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10235         constructed info to dbus call instead of the activation request.
10236
10237 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10238
10239         Patch from Christian Persch <chpe@gnome.org>
10240
10241         * libnm-glib/Makefile.am:
10242         * dispatcher-daemon/Makefile.am:
10243         Use the correct variables, the correct paths, and correct ordering. (446315)
10244
10245 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10246
10247         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10248         argument. The activation request is easy to retrieve.
10249
10250         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10251         just to be a convenient location for devices to store random stuff.
10252
10253 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10254
10255         Patch from Alex Smith <alex@alex-smith.me.uk>
10256
10257         * src/backends/NetworkManagerFrugalware.c:
10258         Update the FrugalWare backend to fix a few segfaults. (#392642)
10259
10260 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10261
10262         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10263
10264         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10265         setting.
10266         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10267
10268 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10269
10270         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10271         automagically.
10272         Implement NMSettingIP4Config.
10273         Finish NMSettingWired by adding all known members.
10274         (setting_wired_verify): Implement.
10275         Finish NMSettingWireless by adding all known members.
10276         (setting_wireless_verify): Implement.
10277
10278         * libnm-util/nm-connection.c: Register "ipv4" setting.
10279         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10280         dump function, we can introspect the GHashTable which is used for sending connections
10281         over dbus.
10282
10283         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10284         Take GByteArray for essid, it's really not a string.
10285
10286         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10287         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10288         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10289         means overriding the values we got from DHCP.
10290         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10291         (nm_device_deactivate_quickly): Ditto.
10292
10293         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10294         for debugging.
10295
10296 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10297
10298         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10299         NMConnection.
10300
10301         * libnm-glib/nm-device-802-11-wireless.c:
10302         (nm_device_802_3_ethernet_activate): Remove.
10303
10304         * libnm-glib/nm-device-802-3-ethernet.c
10305         (nm_device_802_3_ethernet_activate): Remove.
10306
10307         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10308
10309         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10310         NMConnection.
10311
10312         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10313         activation has started.
10314         Implement the new activation using NMConnection.
10315
10316         * src/nm-activation-request.c: Store a generic connection object instead
10317         of a wireless-specific AP.
10318
10319         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10320         on device type, create a device specific connection object suitable for
10321         device activation.
10322
10323         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10324         specific check to validate the connection and on success start the
10325         activation.
10326
10327         * src/nm-device-interface.h: Add a activate virtual function to the
10328         interface definition.
10329
10330         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10331         (impl_device_activate): Implement.
10332
10333         * introspection/nm-device.xml: Add a generic device activation interface
10334         that accepts an abstract NMConnection structure that has device-specific
10335         information in it.
10336
10337         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10338         activation interface.
10339
10340         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10341         activation interface.
10342
10343         * libnm-util/nm-connection.c: 
10344         * libnm-util/nm-connection.h: 
10345         * libnm-util/nm-setting.c:
10346         * libnm-util/nm-setting.h: Add.
10347
10348         * libnm-util/Makefile.am: Build the added files.
10349
10350         * src/nm-dbus-manager.c
10351         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10352         DbusConnection argument from 'name-owner-changed' signal. The manager
10353         is already passed as a first argument to the signal and the connection
10354         is easy enough to get from it.
10355
10356         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10357         Update the signature of the function.
10358
10359         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10360         Ditto.
10361
10362         * src/NetworkManager.c: Ditto.
10363
10364         * src/named-manager/nm-named-manager.c
10365         (nm_named_manager_name_owner_changed): Ditto.
10366
10367         * src/supplicant-manager/nm-supplicant-manager.c
10368         (nm_supplicant_manager_name_owner_changed): Ditto.
10369
10370         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10371
10372         * src/dhcp-manager/nm-dhcp-manager.c
10373         (nm_dhcp_manager_name_owner_changed): Ditto.
10374
10375         * src/nm-hal-manager.c: Add a list of device detectors and creators
10376         to make it easier to add new devices. Each device type has it's own
10377         entry in the table so adding new device types is only a matter of
10378         implementing a couple of functions, one for device detection and the
10379         other for device creation.
10380
10381 2007-04-25  Dan Williams  <dcbw@redhat.com>
10382
10383         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10384                 (gnome.org #432401)
10385
10386 2007-03-30  Dan Williams  <dcbw@redhat.com>
10387
10388         * src/NetworkManagerSystem.c
10389                 - (nm_system_device_set_ip4_route): clean up and fix argument
10390                         to nm_dev_sock_open()
10391
10392 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10393
10394         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10395         data to correct types instead of always using string.
10396
10397         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10398         _not_ have NM_802_11_CAP_PROTO_NONE.
10399         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10400         is not set.
10401
10402 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10403
10404         * libnm-glib/Makefile.am: Fix the build issue.
10405
10406 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10407
10408         * libnm-glib/nm-vpn-connection.h: 
10409         * libnm-glib/nm-vpn-connection.c: Implement.
10410
10411         * libnm-glib/nm-client.c: Add VPN support.
10412
10413         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10414         handler for VPN.
10415
10416         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10417         on DBUS again.
10418
10419 2007-03-26  Dan Williams  <dcbw@redhat.com>
10420
10421         * src/NetworkManagerAPList.c
10422         * src/nm-device-802-11-wireless.c
10423         * src/NetworkManagerAP.c:
10424                 - Store last seen as glong instead of GTimeVal.
10425                 - Fix the upper bound of capabilities, it's a bitfield.
10426
10427 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10428
10429         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10430
10431         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10432         "manager-running" signal that notifies the appearance/disappearance of NM.
10433         (nm_client_sleep): Implement.
10434
10435         * libnm-glib/nm-device.c:
10436         * libnm-glib/nm-device-802-11-wireless.c: 
10437         * libnm-glib/nm-device-802-3-ethernet.c: 
10438
10439         Don't inherit from DBusGProxy, add a proxy to private
10440         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10441         for anything but their own dbus interface. DBusGProxy objects support only one
10442         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10443         interface. The nice side effect of this change is that we do not create a new
10444         DBusGProxy object for each property access.
10445
10446 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10447
10448         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10449         with zeroes before passing them to functions - the functions never do that and
10450         reading the values back may produce wrong values.
10451         (real_bring_up): Store the signal handler id ...
10452         (real_bring_down): ... So that it can be removed here.
10453         Disconnect the supplicant interface here as well.
10454         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10455         from the access point instead of old $device/Networks/$essid.
10456
10457         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10458         device state is connected (instead of just having link/carrier).
10459
10460         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10461         already easily accessible through the device.
10462
10463         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10464         store it within the object.
10465         (nm_ap_get_dbus_path): Export it to public as well.
10466
10467         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10468         of the singleton.
10469
10470 2007-03-12  Dan Williams  <dcbw@redhat.com>
10471
10472         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10473         for non-carrier-detect capable devices, and useless for carrier-detect
10474         devices since we get notifications from netlink about carrier status anyway.
10475
10476         * src/nm-device-802-3-ethernet.c
10477                 - remove 'link_source_id' member from private data
10478                 - (probe_link): remove and collapse into real_update_link()
10479                 - (nm_device_802_3_periodic_update): remove
10480                 - (real_is_up): check for sup_iface rather than link_source_id
10481                 - (real_bring_up): return gboolean for success/fail; require that
10482                         sup_iface be valid for device bringup to succeed
10483                 - (real_bring_down): zero out link signal ids
10484
10485         * src/nm-device.c
10486                 - (nm_device_activate_stage2_device_config): fail activation if device
10487                         bringup fails
10488                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10489                         fails
10490                 - (nm_device_bring_up): return success/fail
10491
10492         * src/nm-device.h
10493                 - bring_up now returns success/fail
10494
10495         * src/nm-device-802-11-wireless.c
10496                 - (real_bring_up): return success from bringup
10497
10498 2007-03-07  Dan Williams  <dcbw@redhat.com>
10499
10500         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10501         * src/nm-ap-security-wpa-psk.c
10502                 - (real_write_supplicant_config): work with PSKs that may contain
10503                         zeros in the binary format rather than treating it as a string
10504
10505 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10506
10507         * libnm-glib/nm-device-802-11-wireless.c
10508         (nm_device_802_11_wireless_get_capabilities): Implement.
10509
10510         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10511
10512         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10513
10514         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10515         reply only if it's not NULL. Not sure why this started happening right now.
10516
10517         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10518         code paths for when devices get removed on shutdown or when a device is just
10519         removed.
10520         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10521         gets freed so any signal from a device (disconnected for instance) would invoke
10522         NMState update which would crash.
10523         (nm_manager_remove_device): Bring the device down when it gets removed.
10524
10525         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10526         the unused dev_type.
10527
10528         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10529         reference to the added device, NMManager will own it (if it wants).
10530
10531         * test/nm-tool.c: Rewrite using libnm-glib.
10532
10533         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10534         We get signalled when it changes.
10535
10536         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10537         when it changes.
10538
10539         * libnm-glib/nm-device.c: Cache the device state property.
10540
10541         * libnm-glib/nm-access-point.c: Cache the strength property.
10542
10543         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10544         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10545         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10546         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10547         the device is down, activating, or activated (in case of A/B/G cards).
10548         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10549         it's all done through supplicant now.
10550
10551         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10552         counting issues with pending calls which caused leaks and crashes when
10553         interface was removed (now that the interface actually gets removed).
10554
10555         * src/nm-call-store.c: Make a copy of data before running a foreach
10556         with user callback on it - The most common usage pattern is to cancel
10557         (and thus remove) all pending calls with foreach which would modify
10558         the hash table we're iterating over.
10559
10560         * src/nm-manager.c: When a device is added, make sure it is "up". When
10561         it's removed or disabled due to disabling wireless or networking, bring
10562         it down.
10563
10564         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10565
10566         * src/nm-device-802-11-wireless.c: 
10567         * src/nm-device-802-3-ethernet.c: 
10568         * src/nm-device.c:
10569                 - Remove "init" virtual function, all gobjects have a place for that
10570                   already (constructor).
10571                 - Replace "start" virtual function with "bring_up", devices can be
10572                   brought up and down more than just on startup now.
10573                 - Add "is_up" virtual function.
10574                 - Implement one way to bring a device down instead of previous 4 different
10575                   ways, each of witch did something different.
10576
10577         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10578         all it needs is the device interface.
10579
10580         Get rid of NMData.dev_list (3 members to go).
10581         Get rif of NMData in a lot of places.
10582
10583         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10584
10585 2007-02-23  Dan Williams  <dcbw@redhat.com>
10586
10587         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10588
10589         * src/NetworkManagerAP.c
10590                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10591                         OR-ing rather than AND-ing
10592
10593 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10594
10595         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10596         "network-removed" signals.
10597
10598         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10599
10600         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10601         when receiving the signal from dbus.
10602
10603         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10604         property.
10605
10606         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10607         deactivation of the previously activated device working again.
10608
10609         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10610         and setter.
10611
10612         * src/nm-device.c (nm_device_is_activated): Remove.
10613         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10614
10615         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10616         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10617         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10618         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10619         Remove NMNetworkStatus and NMActStage enums.
10620
10621 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10622
10623         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10624         Handle device state changes and disconnect VPN if it's device deactivates.
10625
10626         * src/nm-dbus-nm.c: 
10627         * src/nm-dbus-nm.h: 
10628         * src/nm-dbus-device.c: 
10629         * src/nm-dbus-device.c: 
10630         * src/nm-dbus-net.c: 
10631         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10632
10633         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10634
10635         * src/nm-device.c (nm_device_get_by_udi):
10636         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10637         implemented in the correct location (NMManager).
10638         Rip out all the test_device stuff.
10639
10640         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10641         failure handlers, it's all done by NMDevice already.
10642
10643         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10644         Remove the iochannel hack to route the unix signals to the main thread since
10645         we're not threaded anymore.
10646
10647         * src/NetworkManagerAP.c: Implement HWAddress property.
10648
10649         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10650         automatically with dbus-glib.
10651
10652         * src/nm-netlink-monitor.c: 
10653         * src/nm-netlink-monitor.h:
10654                 - Move it low in the class hierarchy, don't reference any NM types.
10655                 - Remove private data from the header.
10656                 - Use type safe checks in public API methods.
10657                 - Make it a singleton so we don't have to pass the single reference around.
10658
10659 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10660
10661         * introspection/nm-ip4-config.xml: Implement.
10662
10663         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10664
10665         * libnm-glib/nm-ip4-config.c:
10666         * libnm-glib/nm-ip4-config.c: Implement.
10667
10668         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10669         securities. APs reference security.
10670
10671         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10672         be exported over DBUS.
10673
10674         * src/nm-device-802-3-ethernet.c: Ditto.
10675
10676         * src/NetworkManagerAP.c:
10677         * src/NetworkManagerAP.h:
10678                 - Convert to GObject, export over DBUS.
10679
10680         * src/nm-ip4-config.h:
10681         * src/nm-ip4-config.h:
10682                 - Convert to GObject, export over DBUS.
10683
10684 2007-02-12  Dan Williams  <dcbw@redhat.com>
10685
10686         Patch from Helmut Schaa <hschaa@suse.de>
10687
10688         * vpn-daemons/pptp/configure.in
10689           vpn-daemons/pptp/Makefile.am
10690           vpn-daemons/openvpn/configure.in
10691           vpn-daemons/openvpn/Makefile.am
10692           vpn-daemons/vpnc/configure.in
10693           vpn-daemons/vpnc/Makefile.am
10694                 - Add --without-gnome switch which disables building gnome bits
10695
10696 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10697
10698         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10699
10700         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10701
10702         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10703         'HwAddress'.
10704
10705         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10706
10707         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10708
10709         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10710
10711         * src/:
10712                 - Remove old low-level dbus interface implementations and replace them
10713                   with dbus-glib one.
10714
10715         * configure.in:
10716                 - Require dbus-glib >= 0.72.
10717                 - Plug in new sources to build.
10718
10719         * libnm-glib/:
10720                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10721                   to make it more convenient to use from GObject based programs.
10722
10723         * introspection/:
10724                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10725
10726 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10727
10728         * src/nm-device-802-11-wireless.c:
10729                 - Add "network-added" and "network-removed" signals.
10730                 - Use gobject boilerplate macros to define the GObject.
10731                 - Implement wireless device activation.
10732                 - Remove activation_failure_handler and activation_success_handler
10733                   and instead listen on state-changed signals and run the same code
10734                   from there.
10735
10736         * src/nm-device.c:
10737                 - Implment NMDeviceInterface::deactivate.
10738                 - Remove activation_failure_handler and activation_success_handler
10739                   virtual methods. Each device which is interested in these events
10740                   can just listen on it's state changed signals.
10741
10742         * src/NetworkManagerPolicy.c:
10743                 - Move a bit more NMData usage to NMManager.
10744                 - Remove activation scheduling bits.
10745                 - Add listeners for wireless device's "network-added" and
10746                   "network-removed" signals.
10747                 - Listen device changed signals and deactivate currently activated
10748                   device when another device start activating (for now).
10749                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10750                   for calling this, the policy code knows exactly when this should happen,
10751                   by listening on events from NMManager and NMDevices.
10752
10753         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10754         Implement.
10755
10756         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10757         method on the specific device instead of going to through policy code
10758         and determining the device type by passed in AP's existance.
10759
10760         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10761         abstract NMDevice deactivation.
10762
10763 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10764
10765         * src/NetworkManager.c:
10766                 - Set up all the shiny new managers.
10767
10768         * src/NetworkManagerPolicy.c:
10769                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10770                   classes to call into policy code, make the policy code kind of like
10771                   a supervisor that monitors what's going on and drives the whole NM.
10772
10773         * src/nm-hal-manager.c: 
10774         * src/nm-hal-manager.h:
10775                 - Collect all libhal code scattered around NM to this one class.
10776                 - Listen libhal and NMManager events and add/remove devices to
10777                   NMManager.
10778
10779         * src/nm-manager.c:
10780         * src/nm-manager.h:
10781                 - Implment a replacement for NMData. NMData is now officially
10782                 deprecated.
10783
10784 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10785
10786         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10787         * src/supplicant-manager/nm-supplicant-interface.h
10788         * src/supplicant-manager/nm-supplicant-interface.c
10789         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10790         argument to boolean from enum.
10791
10792         Make NMDevice abstract class, remove almost all references to it's
10793         subclasses (the last place gets removed with new policy manager). Add
10794         NMDeviceInterface (which NMDevice implements) so that when we have
10795         NMDevice exported over DBUS, there's a common NMDevice interface which
10796         all instances have, plus there's a device specific interface for each
10797         specific type.
10798         Remove functions (nm_device_is_802_3_ethernet) and
10799         (nm_device_is_802_11_wireless). There are already standard GObject macros
10800         for type safe checks.
10801         Use the updated supplican manager API.
10802
10803         * src/nm-device-interface.h: 
10804         * src/nm-device-interface.c: 
10805         * src/nm-call-store.h: 
10806         * src/nm-call-store.c: Implement.
10807
10808         * src/supplicant-manager/nm-supplicant-interface.c:
10809         * src/supplicant-manager/nm-supplicant-interface.h:
10810         * src/supplicant-manager/nm-supplicant-manager.c:
10811         * src/supplicant-manager/nm-supplicant-manager.h:
10812                 - Remove all private data type references from public header files.
10813                 - Remove all references to other NM classes, this class is just a
10814                   proxy between wpa_supplicant and NM so it doesn't have to know
10815                   any internals.
10816                 - Convert to dbus-glib bindings.
10817                 - Type safe checks for public methods' arguments.
10818                 - Store pending DBUS call ids to NMCallStore.
10819
10820         * src/supplicant-manager/nm-supplicant-config.c:
10821                 - Store config values in a GHashTable instead of GSList.
10822
10823         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10824
10825         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10826         singleton now.
10827
10828         * src/nm-device.c: Use the new DHCP manager API.
10829
10830         * src/nm-activation-request.c:
10831         * src/nm-activation-request.h:
10832                 - Remove all dhcp related properties and methods.
10833
10834         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10835
10836         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10837
10838         * src/dhcp-manager/nm-dhcp-manager.c:
10839         * src/dhcp-manager/nm-dhcp-manager.h:
10840                 - Convert it to GObject since we need to signal state changes.
10841                 - Remove all references to other NM classes, this class is one
10842                   of the lowest classes in our hierarchy.
10843                 - One less class to use NMActRequest.
10844                 - Make it singleton, one less user of NMData.
10845                 - Remove a couple of sleep() calls.
10846                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10847                   One less class to use the NM's custom tailored signal handlig.
10848
10849         * Makefile.am: Generate marshallers, add them to build.
10850
10851 2007-02-02  Dan Williams  <dcbw@redhat.com>
10852
10853         * configure.in
10854           gnome/Makefile.am
10855           nm-applet.desktop
10856           Makefile.am
10857                 - Remove last bits referencing gnome applet
10858
10859 2007-02-02  Dan Williams  <dcbw@redhat.com>
10860
10861         * src/vpn-manager/nm-vpn-service.c
10862                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10863                         and NBNS server addresses
10864
10865 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10866
10867         * src/nm-dbus-manager.c:
10868         * src/nm-dbus-manager.h:
10869                 - Convert all internal DBUS code to use dbus-glib bindings.
10870                 - Remove GObject properties, we don't need them here.
10871                 - Don't explicitly set things to NULL after freeing, glib is
10872                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10873                 - Make public API argument checks type safe.
10874                 - Remove unnecessary (and wrong) cast to GObject for the first
10875                   argument to g_signal_* calls - The first argument is a gpointer.
10876                 - Export DBusGConnection to other cool classes that (are going to)
10877                   use dbus-glib.
10878
10879 2007-01-26  Dan Williams  <dcbw@redhat.com>
10880
10881         * libnm-util/dbus-dict-helpers.c
10882           libnm-util/dbus-dict-helpers.h
10883                 - Coordinate style with wpa_supplicant version to minimize diff
10884                 - Add uint32 array support
10885                 - (nmu_dbus_dict_append_uint32_array): new function
10886                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10887                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10888                         version; allow adding string array elements individually
10889
10890         * test/libnm-util/test-dbus-dict-helpers.c
10891                 - Test uint32 arrays
10892
10893 2007-01-27  Jürg Billeter  <j@bitron.ch>
10894
10895         * src/backends/NetworkManagerPaldo.c
10896                 - (nm_system_update_dns): clear nscd hosts cache
10897
10898 2007-01-04  Dan Williams  <dcbw@redhat.com>
10899
10900         Threading removal related cleanups:
10901
10902         - Use the glib default main context.  Remove the device main context
10903                 member from NMDevice, and the main_context member from NMData.  Change
10904                 all the idle and timeout scheduler functions to use plain
10905                 g_idle_add() and g_timeout_add().
10906
10907         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10908                 takes an argument; fix that up too.
10909
10910         - Remove all locking, which is useless since we no longer use threads.  For
10911                 example, nm_get_device_by_iface_locked() has been removed.  The global
10912                 device list lock, the AP List lock, and all static locks in
10913                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10914                 in NetworkManagerUtils.c have also been removed.
10915
10916         - Other cleanups in spacing and code style
10917
10918 2007-01-01  Dan Williams  <dcbw@redhat.com>
10919
10920         Found by Bill Moss:
10921
10922         * src/supplicant-manager/nm-supplicant-interface.c
10923                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10924                         the supplicant interface wasn't already disconnected.  Always
10925                         call removeNetwork and disconnect unless the supplicant interface
10926                         is in the DISCONNECTED or INACTIVE state.
10927
10928 2006-12-28  Dan Williams  <dcbw@redhat.com>
10929
10930         Use a single thread for everything.  With the move to wpa_supplicant
10931         and communication over D-Bus, there's no reason for multiple threads.
10932         Almost all of the blocking code has been removed, with one exception in
10933         the DHCP manager and a few in the VPN manager.  This commit removes the
10934         per-device worker thread and fixes activation cancellation in the absence
10935         of threads.  Further removal of thread-related code would be removing
10936         any locking code (like the device list lock) and simplification of logic
10937         around areas of code or data structures that are currently locked.
10938
10939         * autoip.c
10940           dhcp-manager/nm-dhcp-manager.c 
10941           nm-device-802-11-wireless.c
10942           nm-device-802-3-ethernet.c
10943           nm-device.c
10944           nm-device.h
10945                 - Remove usage of multiple threads
10946
10947 2006-12-19  Dan Williams  <dcbw@redhat.com>
10948
10949         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10950         plus a few other patches from wpa_supplicant bugzilla.
10951
10952         * src/Makefile.am
10953           src/NetworkManagerPolicy.c
10954           src/NetworkManagerUtils.c
10955           src/NetworkManagerUtils.h
10956           src/nm-ap-security-leap.c
10957           src/nm-ap-security-wep.c
10958           src/nm-ap-security-wpa-eap.c
10959           src/nm-ap-security-wpa-psk.c
10960           src/nm-ap-security.c
10961           src/nm-ap-security.h
10962           src/nm-device-802-11-wireless.c
10963           src/nm-device-802-11-wireless.h
10964           src/supplicant-manager/nm-supplicant-config.c
10965           src/supplicant-manager/nm-supplicant-config.h
10966           src/supplicant-manager/nm-supplicant-interface.c
10967           src/supplicant-manager/nm-supplicant-interface.h
10968           src/supplicant-manager/nm-supplicant-marshal.list
10969           src/supplicant-manager/nm-supplicant-settings-verify.c
10970           src/supplicant-manager/nm-supplicant-settings-verify.h
10971                 - Move all connection management and association handling to
10972                         wpa_supplicant over dbus, rather than spawning a private copy
10973
10974 2006-12-19  Dan Williams  <dcbw@redhat.com>
10975
10976         * src/NetworkManagerPolicy.c
10977                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10978                         better locking of the device change check handler ID.  Incorrect
10979                         locking was causing lost device change requests
10980
10981 2006-12-18  Dan Williams  <dcbw@redhat.com>
10982
10983         * libnm-util/dbus-dict-helpers.c
10984                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10985                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10986                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10987
10988 2006-12-18  Dan Williams  <dcbw@redhat.com>
10989
10990         * gnome/libnm_glib/libnm_glib.c
10991                 - Change dbus_connection_close() -> dbus_connection_unref()
10992
10993 2006-12-11  Dan Williams  <dcbw@redhat.com>
10994
10995         * src/supplicant-manager/nm-supplicant-interface.c
10996                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10997                         wpa_supplicant interface state
10998                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10999                         state before transitioning to READY state
11000
11001 2006-12-04  Dan Williams  <dcbw@redhat.com>
11002
11003         * src/nm-device-802-11-wireless.c
11004                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11005                         odd length of ESSID returned from ieee80211 stack-based drivers
11006
11007 2006-12-04  Dan Williams  <dcbw@redhat.com>
11008
11009         * src/nm-device-802-11-wireless.c
11010                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11011                         IE handling blocks that cause mis-parsing of the IE
11012
11013 2006-12-04  Dan Williams  <dcbw@redhat.com>
11014
11015         * src/nm-device-802-11-wireless.c
11016                 - (init_supplicant_interface): new function; pull supplicant interface
11017                         setup code out into standalone function since it must be called from
11018                         two different places
11019                 - (real_init): sup_mgr is now in private object data; get and track
11020                         the supplicant manager object over the NMDevice subclass' lifetime
11021                         and register a signal handler for its state signals; only try to
11022                         initialize the supplicant interface if the supplicant manager is in
11023                         the IDLE state (and therefore is ready for requests)
11024                 - (request_wireless_scan): reschedule the scan request if (a) there is
11025                         no supplicant interface yet (meaning wpa_supplicant isn't running
11026                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11027                         for requests yet
11028                 - (supplicant_iface_connection_state_cb): new function; stub for
11029                         handling supplicant interface connection state signals
11030                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11031                         comes and goes
11032                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11033                         supplicant manager object that's being tracked starting with this
11034                         commit
11035
11036 2006-12-04  Dan Williams  <dcbw@redhat.com>
11037
11038         * src/supplicant-manager/nm-supplicant-interface.c
11039                 - (nm_supplicant_interface_set_property): track signal handler ID
11040                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11041
11042 2006-12-04  Dan Williams  <dcbw@redhat.com>
11043
11044         * src/supplicant-manager/nm-supplicant-interface.[ch]
11045                 - (nm_supplicant_interface_get_state): new function
11046
11047 2006-12-04  Dan Williams  <dcbw@redhat.com>
11048
11049         * src/supplicant-manager/nm-supplicant-interface.c
11050                 - (bssid_properties_cb): don't treat DBus errors as valid
11051                         scanned AP messages
11052
11053 2006-12-04  Dan Williams  <dcbw@redhat.com>
11054
11055         * src/supplicant-manager/nm-supplicant-interface.[ch]
11056                 - (nm_supplicant_interface_get_connection_state): new function
11057                 - define new supplicant connection states
11058                 - send a signal when the supplicant connection state changes
11059
11060 2006-12-03  Dan Williams  <dcbw@redhat.com>
11061
11062         * src/supplicant-manager/Makefile.am
11063           src/supplicant-manager/nm-supplicant-connection.h
11064           src/supplicant-manager/nm-supplicant-connection.c
11065           src/supplicant-manager/nm-supplicant-config.h
11066           src/supplicant-manager/nm-supplicant-config.c
11067           src/supplicant-manager/nm-supplicant-types.h
11068           src/supplicant-manager/nm-supplicant-interface.h
11069           src/supplicant-manager/nm-supplicant-interface.c
11070                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11071
11072 2006-12-03  Dan Williams  <dcbw@redhat.com>
11073
11074         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11075
11076         * po/POTFILES.in
11077           po/POTFILES.skip
11078                 - Move VPN-related translatables to .skip
11079
11080         * vpn-daemons/pptp/po/POTFILES.in
11081                 - Update with new translatables
11082
11083 2006-12-02  Dan Williams  <dcbw@redhat.com>
11084
11085         Patch from Christian Persch <chpe@gnome.org>
11086
11087         * gnome/applet/Makefile.am
11088           gnome/applet/applet-dbus-devices.c
11089           gnome/applet/applet-notifications.c
11090           gnome/applet/applet.c
11091           gnome/applet/applet.h
11092           gnome/applet/main.c
11093                 - Be a GtkStatusIcon on GTK+ >= 2.10
11094
11095 2006-12-02  Dan Williams  <dcbw@redhat.com>
11096
11097         * gnome/applet/applet.c
11098                 - (nma_update_info): fix two unecessary allocations
11099
11100 2006-12-02  Dan Williams  <dcbw@redhat.com>
11101
11102         Patch from Michael Biebl <biebl@teco.edu>
11103         * configure.in
11104           man/NetworkManager.1.in
11105           man/NetworkManagerDispatcher.1.in
11106           man/NetworkManager.8.in
11107           man/NetworkManagerDispatcher.8.in
11108                 - Add .SH NAME stanzas
11109                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11110
11111 2006-12-02  Dan Williams  <dcbw@redhat.com>
11112
11113         Patch from Christian Persch <chpe@gnome.org>
11114
11115         * configure.in
11116                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11117
11118 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11119
11120         Patch by Timo Hoenig <thoenig@suse.de>:
11121         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11122         DBUS-1.0.
11123
11124         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11125         we can't use the one from the main source directory.
11126
11127 2006-11-27  Dan Williams  <dcbw@redhat.com>
11128
11129         Patch from Christian Persch <chpe@gnome.org>
11130
11131         * gnome/applet/applet-dbus-devices.c
11132                 - (hal_info_product_cb): fix memleak; free duped string.
11133                         Gnome.org #379908
11134
11135 2006-11-27  Dan Williams  <dcbw@redhat.com>
11136
11137         Patch from Christian Persch <chpe@gnome.org>
11138
11139         * gnome/applet/menu-items.c
11140                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11141                         as gtk_progress_set_percentage is deprecated.  Should
11142                         work as far back as GTK+ 2.4.  Gnome.org #379780
11143
11144 2006-11-26  Dan Williams  <dcbw@redhat.com>
11145
11146         Scan using wpa_supplicant over DBus.
11147
11148         * src/nm-device-802-11-wireless.c
11149                 - remove wireless extensions netlink event handler bits
11150                         (wireless_event_helper, nm_device_802_11_wireless_event)
11151                 - remove wireless extensions scan event handler bits
11152                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11153                         hex2byte, hex2num, request_and_convert_scan_results,
11154                         free_process_scan_cb_data, scan_results_timeout,
11155                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11156                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11157                         and request scans from the supplicant interface rather than directly
11158                 - Move functionality of convert_scan_results() to cull_scan_list() and
11159                         supplicant_iface_scanned_ap_cb()
11160                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11161                         at the scan interval when the current scan has finished
11162                 - (supplicant_iface_state_cb): start scanning when the supplicant
11163                         interface enters the READY state, and stop scanning when it
11164                         enters the DOWN state
11165                 - (cull_scan_list): weed out old access points from the scan list
11166                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11167                         point into an NMAccessPoint and merge it into the device's scan list
11168
11169         * src/supplicant-manager/nm-supplicant-interface.c
11170           src/supplicant-manager/nm-supplicant-interface.h
11171                 - Add a new signal "scan-result" which is issued when the supplicant
11172                         notifies NM that a scan has completed
11173                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11174                         point found in the scan.  Called once for each access point that
11175                         the supplicant interface object receives from the supplicant as a
11176                         result of the "scanResults" method call
11177                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11178                         for the initial scan results
11179                 - (scan_request_cb): new function; send listeners the result
11180                         (success, error) of a wireless scan request
11181                 - (nm_supplicant_interface_request_scan): new function; ask the
11182                         supplicant to perform an immediate wireless scan
11183
11184 2006-11-25  Dan Williams  <dcbw@redhat.com>
11185
11186         * src/supplicant-manager/Makefile.am
11187                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11188                         add HAL cflags/includes and named-manager includes directory
11189
11190         * src/supplicant-manager/nm-supplicant-interface.h
11191                 - New state STARTING to handle transition from INIT to READY where
11192                         the addInterface pending call is still outstanding
11193
11194         * src/supplicant-manager/nm-supplicant-interface.c
11195                 - track pending calls differently since we may have more than one
11196                         going on at any given time
11197                 - request scan results from wpa_supplicant; but don't do it more often
11198                         than every 4 seconds.  Drivers that do background scanning
11199                         (like the 'ipw' drivers) send a continuous stream of scan completion
11200                         notifications, so we don't want to hammer the supplicant or dbus
11201                         with requests for all scan results every time we get a completion
11202                         notification.
11203
11204 2006-11-25  Dan Williams  <dcbw@redhat.com>
11205
11206         * src/supplicant-manager/nm-supplicant-types.h
11207                 - new file; move all supplicant manager object typedefs here for
11208                         #include sanity
11209
11210         * src/supplicant-manager/nm-supplicant-interface.c
11211           src/supplicant-manager/nm-supplicant-interface.h
11212                 - new file; an object that interfaces an NMDevice object to the
11213                         supplicant and handles signals from the supplicant.  This object
11214                         does all necessary DBus communication with wpa_supplicant.
11215
11216         * src/supplicant-manager/nm-supplicant-manager.c
11217           src/supplicant-manager/nm-supplicant-manager.h
11218                 - Actually do something.  Track the state of the wpa_supplicant service
11219                         and deal with its comings & goings.  Handle life events of
11220                         supplicant interfaces too.
11221                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11222
11223         * src/supplicant-manager/nm-supplicant-connection.h
11224                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11225
11226         * src/supplicant-manager/Makefile.am
11227                 - Add new files to build, and add libnm-util to includes
11228
11229         * src/nm-marshal.list
11230                 - New marshaler type: VOID:UINT,UINT
11231
11232         * src/nm-device-802-3-ethernet.c
11233                 - (real_init): grab a supplicant interface
11234                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11235                 - (supplicant_iface_state_cb): new function, stub for handling
11236                         supplicant interface state changes
11237
11238         * src/nm-device-802-11-wireless.c
11239                 - (real_init): grab a supplicant interface
11240                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11241                 - (supplicant_iface_state_cb): new function, stub for handling
11242                         supplicant interface state changes
11243
11244         * src/NetworkManager.c
11245                 - (main): create and keep the supplicant manager around for the lifetime
11246                         of NetworkManager
11247
11248         * src/Makefile.am
11249                 - Link to the supplicant manager sub-library and use the supplicant
11250                         manager includes
11251
11252 2006-11-25  Dan Williams  <dcbw@redhat.com>
11253
11254         Rework DBus manager signal handling to be more flexible.  Previously,
11255         only one signal handler could be registered for a particular interface.
11256         The DBus manager now reference counts DBus bus matches and allows multiple
11257         clients to register signal handlers for the same interface and sender.
11258
11259         * src/NetworkManager.c
11260                 - (main): track NMI signal handler ID and remove it when we quit
11261
11262         * src/NetworkManagerMain.h
11263                 - Keep track of NMI signal handler ID
11264
11265         * src/nm-dbus-manager.c
11266           src/nm-dbus-manager.h
11267                 - rework signal handling; each signal handler references one signal
11268                         match, but a signal match may be referenced by one or more
11269                         signal handlers.  Matches are refcounted and are destroyed when the
11270                         last signal handler that references the match is removed.  This is
11271                         necessary because two signal handlers may end up requiring the same
11272                         dbus bus match, so the match must live until the last signal handler
11273                         is destroyed (for example, with the wpa_supplicant network interface
11274                         dbus interface).
11275
11276         * src/dhcp-manager/nm-dhcp-manager.c
11277                 - (nm_dhcp_manager_new): track DHCP signal handler id
11278                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11279
11280         * src/vpn-manager/nm-vpn-service.c
11281                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11282                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11283
11284 2006-11-25  Dan Williams  <dcbw@redhat.com>
11285
11286         Suggested by Helmut Schaa <hschaa@suse.de>
11287
11288         * src/vpn-daemons/nm-vpn-service.c
11289                 - (supplicant_child_setup): new function
11290                 - (supplicant_exec): make child process use a new process group id
11291
11292         * src/nm-device-802-11-wireless.c
11293                 - (nm_vpn_service_child_setup): new function
11294                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11295                         process group id
11296
11297 2006-11-19  Dan Williams  <dcbw@redhat.com>
11298
11299         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11300         * gnome/vpn-properties/nm-vpn-properties.c
11301                 - clean up after renamed VPN connection
11302
11303 2006-11-19  Dan Williams  <dcbw@redhat.com>
11304
11305         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11306         * gnome/applet/applet-dbus-vpn.c
11307                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11308
11309         * gnome/vpn-properties/nm-vpn-properties.c
11310                 - (init_app): sort VPN connections
11311
11312 2006-11-09  Dan Williams  <dcbw@redhat.com>
11313
11314         * src/NetworkManagerAPList.c
11315                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11316                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11317                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11318                 broke hidden SSID matching.  Found by Bill Moss.
11319
11320 2006-10-25  Dan Williams  <dcbw@redhat.com>
11321
11322         * src/nm-dbus-nm.c
11323                 - (nm_dbus_nm_set_active_device): return an empty success message on
11324                         success, rather than falling through to the error case.
11325
11326 2006-10-25  Dan Williams  <dcbw@redhat.com>
11327
11328         * src/NetworkManagerUtils.c
11329                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11330                         "SCAN" command
11331
11332 2006-10-24  Dan Williams  <dcbw@redhat.com>
11333
11334         Reduce the number of times the Gnome applet wakes up, especially when
11335         it's doing absolutely nothing and is hidden.  Initial patch by
11336         Chris Aillon.
11337
11338         * gnome/applet/applet-dbus.c
11339                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11340                         kill the redraw timeout.  When NM starts up, start the redraw
11341                         timeout.  Also, if we get kicked off the bus for some reason,
11342                         start the reconnection timeout if one's not already running.
11343                 - (nma_dbus_init): better handling of error conditions, don't leak
11344                         a half-initialized dbus connection
11345                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11346                         the applet's data, just call nm_dbus_init_helper()
11347                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11348                         timeout that calls nma_dbus_connection_watcher()
11349                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11350                         reconnection timeout, and don't start the reconnection timeout
11351                         unconditionally anymore
11352
11353         * gnome/applet/applet-dbus.h
11354                 - Expose nma_start_dbus_connection_watch()
11355
11356         * gnome/applet/applet.c
11357                 - (nma_update_state): no longer static, called from applet-dbus.c for
11358                         immediate UI updates on certain events
11359                 - (nma_set_running): new function; take over setting applet->running,
11360                         when not running (ie, NM is not active), don't activate the redraw
11361                         timeout because we're not showing the applet anyway.  When we are
11362                         running (ie, NM is active), and only when we're running, start the
11363                         redraw timeout.
11364                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11365                         kill any reconnection timeout
11366                 - (nma_get_instance): move one-off dbus initialization code here since
11367                         nm_dbus_init_helper() gets called more than once, possibly by the
11368                         reconnection timeout function too.  And, when we start up, if we
11369                         can't get a connection to the bus, start the reconnection timeout.
11370                         But don't start the redraw timeout yet, only do that when we get
11371                         NM's state and find out if it's running or not.
11372
11373         * gnome/applet/applet.h
11374                 - Add the reconnection GSource ID
11375                 - Add prototypes for nma_set_running() and the no-longer-static
11376                         nma_update_state()
11377
11378 2006-10-24  Dan Williams  <dcbw@redhat.com>
11379
11380         * src/vpn-daemons/nm-dbus-vpnc.c
11381                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11382                         pending call tracker
11383                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11384                         pending call tracker; register one-vpn-connection update pending
11385                         call in pending call tracker
11386                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11387                         update pending call in pending call tracker
11388                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11389                         update pending call in pending call tracker; don't block waiting
11390                         for call to return
11391
11392 2006-10-19  Robert Love  <rml@novell.com>
11393
11394         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11395           refresh the cache.
11396
11397 2006-10-14  Dan Williams  <dcbw@redhat.com>
11398
11399         * src/dhcp-manager/nm-dhcp-manager.c
11400                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11401                 the dbus connection and the device object path rather than
11402                 constructing it inside both functions.  Saves a bit of memory
11403                 and clarifies a failure path.
11404                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11405                 and allocate device path here rather than each of the two
11406                 functions above.
11407
11408 2006-10-13  Dan Williams  <dcbw@redhat.com>
11409
11410         * src/NetworkManager.c
11411                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11412                 this somehow droppout in the refactor
11413
11414 2006-10-13  Dan Williams  <dcbw@redhat.com>
11415
11416         * Huge DBus refactor:
11417                 - Create a "DBus Manager" object which manages the connection and
11418                 sends signals on NameOwnerChanged and connection/disconnection events,
11419                 handles reconnection to the bus if NM gets kicked off, and abstracts
11420                 signal handling
11421                 - Remove DBusConnection members from places where they are no
11422                 longer needed due to the refactor, like the dbus-connection
11423                 property of the named manager, and from NMData
11424                 - Reformats a bunch of the code to gnome style
11425                 (8-space tabs, braces on same line as statement, 80-col width).
11426                 Consider it open season to reformat any bits to gnome style.
11427                 style that aren't already.
11428
11429 2006-10-13  Dan Williams  <dcbw@redhat.com>
11430
11431         * src/supplicant-manager/Makefile.am
11432                 - Add new files
11433
11434         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11435                 - Make it a minimal GObject
11436
11437         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11438                 - Verify settings destined for wpa_supplicant
11439
11440         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11441                 - Minimal GObject to track wpa_supplicant controlled device
11442                 connections
11443
11444 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11445
11446         * gnome/applet/applet.c: (nma_update_info),
11447         (nma_act_stage_to_pixbuf), (nma_update_state):
11448         Mark missing strings for translation. Fixes bug #343306.
11449
11450 2006-10-01  Dan Williams  <dcbw@redhat.com>
11451
11452         * src/vpn-manager/nm-vpn-manager.c
11453                 - (nm_vpn_manager_load_services): split and clean up
11454                 for readability and correctness.  Restrict VPN service
11455                 files to ending in ".name", as was meant from the
11456                 beginning (but not coded in).  Better error reporting.
11457
11458 2006-10-01  Dan Williams  <dcbw@redhat.com>
11459
11460         * utils/nm-utils.h
11461                 - Clean up formatting of debug/info/warning log messages
11462
11463 2006-09-27  Robert Love  <rml@novell.com>
11464
11465         Patch by Tambet Ingo <tambet@ximian.com>:
11466         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11467           actually work.
11468
11469 2006-09-07  Dan Williams <dcbw@redhat.com>
11470
11471         * test/Makefile.am
11472           test/libnm-util/Makefile.am
11473           test/nm-supplicant-test.c
11474                 - Add test program emulating the way NM drives wpa_supplicant
11475                 to help debug supplicant issues
11476
11477 2006-08-24  Dan Williams <dcbw@redhat.com>
11478
11479         * configure.in
11480           src/Makefile.am
11481           src/supplicant-manager/Makefile.am
11482           src/supplicant-manager/nm-supplicant-manager.c
11483           src/supplicant-manager/nm-supplicant-manager.h
11484                 - Add skeleton bits of the wpa_supplicant manager
11485
11486 2006-08-24  Dan Williams <dcbw@redhat.com>
11487
11488         Patch from Ed Catmur:
11489         * src/NetworkManagerUtils.c
11490                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11491                 if netmask is 0 (Gnome #352634)
11492
11493 2006-08-17  Robert Love  <rml@novell.com>
11494
11495         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11496           package is now DBUS-enabled and listens for the NM signals.
11497
11498 2006-08-14  Dan Williams  <dcbw@redhat.com>
11499
11500         * Patch from Christian Persch <chpe gnome org>
11501         * configure.in
11502           po/LINGUAS
11503           vpn-daemons/openvpn/po/LINGUAS
11504           vpn-daemons/openvpn/configure.in
11505           vpn-daemons/pptp/po/LINGUAS
11506           vpn-daemons/pptp/configure.in
11507           vpn-daemons/vpnc/po/LINGUAS
11508           vpn-daemons/vpnc/configure.in
11509                 - Convert to LINGUAS method so translators don't have to modify
11510                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11511                 0.35 or higher
11512
11513 2006-08-14  Dan Williams  <dcbw@redhat.com>
11514
11515         Patch from Alex Smith <alex.extreme2@gmail.com>
11516         * configure.in
11517           src/backends/Makefile.am
11518           src/backends/NetworkManagerFrugalware.c
11519                 - Add support for Frugalware
11520
11521 2006-08-13  Dan Williams  <dcbw@redhat.com>
11522
11523         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11524         * src/nm-device-802-11-wireless.c
11525                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11526                 Gnome #346875
11527
11528 2006-08-13  Dan Williams  <dcbw@redhat.com>
11529
11530         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11531         * src/nm-ap-security.c
11532           src/nm-ap-security.h
11533                 - Add authentication_required bits for subclasses to specify whether
11534                 or not real authentication is required for connections, i.e. whether
11535                 the AP rejects us when an encryption key is wrong or not.
11536
11537         * src/nm-ap-security-wep.c
11538           src/nm-ap-security-wpa-eap.c
11539           src/nm-ap-security-wpa-psk.c
11540           src/nm-ap-security-leap.c
11541                 - Implement authentication_required appropriately for each method
11542
11543         * src/nm-device-802-11-wireless.c
11544                 - Be smarter about when to request a key; for example, using a wrong key
11545                 in WEP shared key mode previously just timed out and did not request
11546                 a new key
11547
11548 2006-08-13  Dan Williams  <dcbw@redhat.com>
11549
11550         * gnome/libnm_glib/libnm_glib.c
11551                 - dbus_connection_disconnect() -> dbus_connection_close() for
11552                 dbus >= 0.90
11553
11554 2006-08-07  Dan Williams  <dcbw@redhat.com>
11555
11556         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11557         * src/NetworkManagerSystem.c
11558                 - Respect specified MTU.  Gnome #344967
11559
11560 2006-08-07  Dan Williams  <dcbw@redhat.com>
11561
11562         * src/vpn-manager/nm-vpn-service.c
11563                 - Simplify print_vpn_config() arguments
11564
11565         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11566         * src/vpn-manager/Makefile.am
11567           src/vpn-manager/nm-vpn-service.c
11568                 - Add new API for passing VPN config options as a dict. Gnome #344967
11569
11570 2006-08-06  Dan Williams  <dcbw@redhat.com>
11571
11572         * gnome/applet/applet-dbus-devices.c
11573           gnome/applet/applet-dbus-vpn.c
11574           gnome/applet/applet-dbus.c
11575           gnome/applet/applet-dbus.h
11576           src/nm-dbus-nmi.c
11577           utils/nm-utils.c
11578           utils/nm-utils.h
11579                 - Make pending call tracking code generic,
11580                 so we can use it in NM as well as the applet
11581
11582 2006-08-06  Dan Williams  <dcbw@redhat.com>
11583
11584         * src/nm-activation-request.c
11585                 - Refcount pending call objects
11586
11587 2006-08-06  Dan Williams  <dcbw@redhat.com>
11588
11589         Patch from Christan Chiesa <christanc@gmail.com>
11590         * configure.in
11591                 - Tell sha1.c to use bigendian mode on PPC
11592
11593 2006-08-04  Robert Love  <rml@novell.com>
11594
11595         Glib Memory Slices!
11596         * configure.in: Require glib 2.10 or later.
11597         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11598           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11599           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11600           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11601           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11602           Memory Slices are the greatest thing since bread slices.
11603         * src/NetworkManagerAP.c: Also, fix memory leak.
11604
11605 2006-08-01  Robert Love  <rml@novell.com>
11606
11607         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11608
11609 2006-07-31  Robert Love  <rml@novell.com>
11610
11611         * src/backends/interface_parser.c: Declarations must begin the block.
11612
11613 2006-07-24  Dan Williams  <dcbw@redhat.com>
11614
11615         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11616         * src/backends/Makefile.am
11617           src/backends/NetworkManagerArch.c
11618           src/backends/NetworkManagerDebian.c
11619           src/backends/NetworkManagerGeneric.c
11620           src/backends/NetworkManagerGeneric.h
11621           src/backends/NetworkManagerGentoo.c
11622           src/backends/NetworkManagerPaldo.c
11623           src/backends/NetworkManagerRedHat.c
11624           src/backends/NetworkManagerSlackware.c
11625           src/backends/NetworkManagerSuSE.c
11626                 - Genericize common backend functions
11627
11628 2006-07-18  Robert Love  <rml@novell.com>
11629
11630         * configure.in: Add "--with-notify" option to allow disabling of
11631           libnotify support.
11632
11633 2006-07-13  Dan Williams  <dcbw@redhat.com>
11634
11635         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11636         * gnome/applet/applet.glade
11637           gnome/applet/Makefile.am
11638           gnome/applet/nm-gconf-wso.c
11639           gnome/applet/nm-gconf-wso-leap.c
11640           gnome/applet/nm-gconf-wso-leap.h
11641           gnome/applet/wireless-security-manager.c
11642           gnome/applet/wso-leap.c
11643           gnome/applet/wso-leap.h
11644           include/NetworkManager.h
11645           libnm-util/dbus-helpers.c
11646           libnm-util/dbus-helpers.h
11647           src/Makefile.am
11648           src/NetworkManagerAP.c
11649           src/nm-ap-security.c
11650           src/nm-ap-security-leap.c
11651           src/nm-ap-security-leap.h
11652                 - Add LEAP authentication support
11653
11654 2006-07-13  Dan Williams  <dcbw@redhat.com>
11655
11656         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11657         * configure.in
11658           src/backends/NetworkManagerArch.c
11659           src/backends/NetworkManagerDebian.c
11660           src/backends/NetworkManagerGentoo.c
11661           src/backends/NetworkManagerPaldo.c
11662           src/backends/NetworkManagerRedHat.c
11663           src/backends/NetworkManagerSlackware.c
11664           src/backends/NetworkManagerSuSE.c
11665                 - Convert hardcoding of 'ip' path to configure-time
11666                         detected one
11667
11668 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11669
11670         * configure.in: added ru to ALL_LINGUAS
11671
11672 2006-07-10  Dan Williams  <dcbw@redhat.com>
11673
11674         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11675         * src/nm-device.c
11676                 - (real_act_stage3_ip_config_start): don't infinite loop when
11677                         dhcdbd isn't running (Gnome #346845)
11678
11679 2006-07-09  Dan Williams  <dcbw@redhat.com>
11680
11681         * gnome/applet/applet.c
11682                 - (nma_destroy): don't pass NULL to notify_notification_close
11683                         (RH #197917)
11684
11685 2006-07-09  Dan Williams  <dcbw@redhat.com>
11686
11687         * gnome/applet/applet.c
11688                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11689
11690 2006-07-04  Tor Krill  <tor@krill.nu>
11691
11692         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11693         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11694         (nm_system_restart_mdns_responder), (ArchReadConfig),
11695         (nm_system_device_get_system_config):
11696                 - Explicitly check for DHCP configuration
11697                 - Check if daemons are running before starting them
11698
11699 2006-06-25  Dan Williams  <dcbw@redhat.com>
11700
11701         * libnm-util/dbus-dict-helpers.[ch]
11702           test/libnm-util/test-dbus-dict-helpers.c
11703                 - Add string array support
11704
11705 2006-06-24  Dan Williams  <dcbw@redhat.com>
11706
11707         * src/dhcp-manager/nm-dhcp-manager.c
11708                 - (nm_dhcp_manager_process_signal): clean up spacing
11709
11710 2006-06-21  Dan Williams  <dcbw@redhat.com>
11711
11712         * src/nm-dbus-device.c
11713                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11714                         through dbus
11715
11716 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11717
11718         * configure.in: Added 'lv' to ALL_LINGUAS
11719
11720 2006-06-19  Dan Williams  <dcbw@redhat.com>
11721
11722         * src/NetworkManagerAP.c
11723                 - Clarify usage of user_created
11724
11725         * src/nm-ap-security-wep.c
11726           src/nm-ap-security-wpa-eap.c
11727           src/nm-ap-security-wpa-psk.c
11728           src/nm-ap-security.c
11729           src/nm-ap-security.h
11730                 - s/user_created/adhoc, because we really do mean adhoc
11731
11732         Patch from Bernard Blackham <bernard@blackham.com.au>
11733         * src/nm-device-802-11-wireless.c         
11734                 - (supplicant_send_network_config): instead of user_created,
11735                         use adhoc, and do AP_SCAN 2 for adhoc networks
11736
11737 2006-06-18  Robert Love  <rml@novell.com>
11738
11739         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11740           we have a value to set.  Gconf generates a warning if `val' is NULL.
11741         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11742           unless we actually received a valid private key file passphrase or
11743           password.  Otherwise, we don't know to later ask the applet to pull
11744           the key from the keyring.
11745
11746 2006-06-17  Dan Williams  <dcbw@redhat.com>
11747
11748         * libnm-util/dbus-dict-helpers.[ch]
11749           test/libnm-util/test-dbus-dict-helpers.c
11750                 - Fixes for zero-length byte arrays
11751                 - Replace return values of 0 with FALSE for clarity
11752                 - Test zero-length byte arrays
11753
11754 2006-06-17  Dan Williams  <dcbw@redhat.com>
11755
11756         * libnm-util/dbus-dict-helpers.[ch]
11757           test/libnm-util/test-dbus-dict-helpers.c
11758                 - Add helpers for byte arrays
11759                 - Rework bits of the testcase
11760
11761 2006-06-16  Dan Williams  <dcbw@redhat.com>
11762
11763         * libnm-util/Makefile.am
11764         * libnm-util/dbus-dict-helpers.[ch]
11765                 - Add some helpers to take the pain out of using dict types in
11766                         dbus.
11767
11768         * test/libnm-util/Makefile.am
11769         * test/libnm-util/test-dbus-dict-helpers.c
11770                 - Test cases for the dict helper functions
11771
11772 2006-06-15  Robert Love  <rml@novell.com>
11773
11774         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11775           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11776           if there is no key to pass.
11777         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11778           receiving a non-NULL key.
11779
11780 2006-06-14  Robert Love  <rml@novell.com>
11781
11782         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11783           copy the strings.
11784
11785
11786 2006-06-14  Dan Williams  <dcbw@redhat.com>
11787
11788         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11789         * src/nm-device-802-11-wireless.c
11790                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11791                         or ones where the driver is unknown
11792                 - (supplicant_exec): don't wait for supplicant startup here
11793                 - (supplicant_interface_init): finer grained polling for supplicant
11794                         startup
11795
11796 2006-06-13  Robert Love  <rml@novell.com>
11797
11798         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11799           if it is currently set to TRUE.  Otherwise, we will reset the value
11800           when we connect normally.
11801         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11802           the old BSSID is valid, too.  The recently added ESSID check may not be
11803           sufficient (we can remove it?).  What we really want to catch is the
11804           case of going from all-zeros to the BSSID of some other network, which
11805           happens on failure.
11806
11807 2006-06-09  Dan Williams  <dcbw@redhat.com>
11808
11809         * src/NetworkManagerSystem.[ch]
11810                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11811                         it was unused and pointless
11812                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11813                         fix for set_up_down_with_iface change
11814
11815         * src/vpn-manager/nm-vpn-connection.c
11816                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11817
11818         * src/backends/NetworkManagerPaldo.c
11819           src/backends/NetworkManagerRedHat.c
11820           src/backends/NetworkManagerSuSE.c
11821           src/backends/NetworkManagerArch.c
11822           src/backends/NetworkManagerDebian.c
11823           src/backends/NetworkManagerGentoo.c
11824                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11825                         appropriate
11826                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11827                         where appropriate
11828
11829 2006-06-09  Dan Williams  <dcbw@redhat.com>
11830
11831         Patch from Peter Jones:
11832         * src/nm-device-802-11-wireless.c
11833                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11834                         SSID hasn't changed from what we expect before automatically
11835                         updating the saved BSSID from a new AP
11836
11837 2006-06-08  Robert Love  <rml@novell.com>
11838
11839         Add 'fallback' support.  NetworkManager will attempt to brute-force
11840         connect to networks marked as fallback if there are no better wireless
11841         connections available.  This is useful as a method of last resort, to
11842         work around driver problems, and for use with hidden networks.
11843         * gnome/applet/applet-dbus-devices.c,
11844           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11845         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11846           pass it on via DBUS.
11847         * gnome/applet/applet.c: No fallback by default.
11848         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11849           Update other-network-dialog to add UI checkbox toggling fallback.
11850         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11851           propery from AP object.  Add "fallback" property to AP object.
11852         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11853         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11854         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11855           separate function.  Add get_best_fallback_ap() for returning an AP
11856           on which to attempt fallback.
11857         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11858         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11859
11860 2006-06-07  Robert Love  <rml@novell.com>
11861
11862         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11863           checked that the return type was GCONF_VALUE_STRING, not the correct
11864           GCONF_VALUE_BOOL, and thus it never worked.
11865         * src/NetworkManagerAPList.c: Before concluding that two networks are
11866           identical based on their BSSID, make sure that the BSSID in question
11867           is actually valid.  Specifically, an empty or all zero BSSID does not
11868           cut it.
11869         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11870           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11871           similar invariant clean up.
11872
11873 2006-06-02  Robert Love  <rml@novell.com>
11874
11875         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11876
11877 2006-05-28  Dan Williams  <dcbw@redhat.com>
11878
11879         * gnome/applet/applet.glade
11880           gnome/vpn-properties/nm-vpn-properties.glade
11881                 - Set window icons on dialogs  (Gnome.org #333420)
11882
11883 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11884
11885         * gnome/vpn-properties/nm-vpn-properties.glade:
11886         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11887         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11888         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11889                 - Make the VPN properties pages prettier and more HIG
11890                   compliant. Gnome Bug #336913.
11891
11892 2006-05-28  Dan Williams  <dcbw@redhat.com>
11893
11894         Patch from Christian Persch <chpe@gnome.org>
11895         * gnome/vpn-properties/nm-vpn-properties.c
11896         * gnome/vpn-properties/nm-vpn-properties.glade
11897                 - HIG-ification love  (Gnome.org #336846)
11898
11899 2006-05-28  Dan Williams  <dcbw@redhat.com>
11900
11901         Patch from Christian Persch <chpe@gnome.org>
11902         * configure.in
11903           gnome/vpn-properties/nm-vpn-properties.c
11904                 - (main): Fix option parsing.  Gnome.org #336847
11905
11906 2006-05-28  Dan Williams  <dcbw@redhat.com>
11907
11908         * gnome/vpn-properties/nm-vpn-properties.c
11909                 - (find_vpn_ui_by_service_name): protect against NULL service names
11910                 - (update_edit_del_sensitivity): protect against NULL service names
11911                         Gnome.org #341306
11912
11913 2006-05-28  Dan Williams  <dcbw@redhat.com>
11914
11915         Patch from Chris Fuller <crf@grandecom.net>:
11916         * src/nm-device-802-11-wireless.c
11917                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11918                         don't dispose of wireless-specific stuff unless it is actually
11919                         initialized.  Gnome.org #341263
11920
11921 2006-05-28  Dan Williams  <dcbw@redhat.com>
11922
11923         * src/NetworkManagerPolicy.c
11924                 - (nm_policy_device_change_check): don't switch devices if the "best"
11925                         AP is essentially the same as the current activation request, but
11926                         the current activation request isn't done activating yet.  Fixes
11927                         multiple requests for keyring password on startup for Gnome applet.
11928                         Gnome.org #341297
11929
11930 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11931
11932         * src/NetworkManager.c: use GOptions instead of getopt
11933         * configure.in: bump glib required version to >= 2.6 for GOption
11934           support
11935
11936 2006-05-25  Robert Love  <rml@novell.com>
11937
11938         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11939           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11940           instead of dumping ifdef's throughout the code.
11941         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11942           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11943           use nm_ioctl_info() in lieu.
11944
11945 2006-05-25  Robert Love  <rml@novell.com>
11946
11947         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11948         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11949           not using gcrypt.  Otherwise, we get a linker error.
11950
11951 2006-05-25  Robert Love  <rml@novell.com>
11952
11953         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11954         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11955           configure flag to disable building of the GNOME-based applet.
11956
11957 2006-05-25  Robert Love  <rml@novell.com>
11958
11959         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11960           parameter from link, because it shadows a global variable with some
11961           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11962           should never have exported to the entire system a common four letter
11963           word.  But we here at NetworkManager are team players.  Fixes
11964           GNOME bug #336532.
11965
11966 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11967
11968         * configure.in: Added mk.po, Macedonian translation.
11969
11970 2006-05-24  Robert Love  <rml@novell.com>
11971
11972         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11973           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11974           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11975
11976 2006-05-24  Robert Love  <rml@novell.com>
11977
11978         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11979           libnm-util/Makefile.am, src/Makefile.am,
11980           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11981           vpn-daemons/openvpn/properties/Makefile.am,
11982           vpn-daemons/pptp/auth-dialog/Makefile.am,
11983           vpn-daemons/pptp/properties/Makefile.am,
11984           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11985           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11986           user passed for --datadir, if anything, when setting the GNOME locale
11987           directory.  It should be a function of the specified datadir and not
11988           the prefix.
11989
11990 2006-05-24  Robert Love  <rml@novell.com>
11991
11992         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11993           src/NetworkManager.c: Take care to call bindtextdomain with the
11994           location of msgid files.
11995         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11996           files.
11997
11998 2006-05-22  Robert Love  <rml@novell.com>
11999
12000         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12001           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12002           99% of the time there is a real problem with wireless, and a
12003           seemingly successful connection via Zeroconf just confuses the user.
12004           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12005
12006 2006-05-22  Robert Love  <rml@novell.com>
12007
12008         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12009           autofs on interface up if NIS is configured.  On interface down, do
12010           nothing.
12011
12012 2006-05-22  Robert Love  <rml@novell.com>
12013
12014         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12015           to avoid calling g_object_unref() on stale pointers on error in
12016           nma_icons_free().  This happens because we short-circuit loaded the
12017           icons on the first failure but then free all icons.  Normally we have
12018           no issue because the icons were zero'ed out malloc, but we have stale
12019           pointer data after nma_icon_theme_changed().
12020         * gnome/applet/main.c: Return error code if nma_new() failed.
12021
12022 2060-05-21  Dan Williams  <dcbw@redhat.com>
12023
12024         * initscript/NetworkManager.in
12025                 - Ensure both dhcdbd and named are started before NM
12026
12027 2006-05-21  Dan Williams  <dcbw@redhat.com>
12028
12029         * configure.in
12030                 - Bump version to 0.7 to signify we are in 0.7 development
12031
12032 2006-05-21  Dan Williams  <dcbw@redhat.com>
12033
12034         Patch from Adam Schreiber <sadam@clemson.edu>
12035         * gnome/vpn-properties/nm-vpn-properties.c
12036                 - (main): correct Gnome program name  (gnome.org #342498)
12037
12038 2006-05-21  Dan Williams  <dcbw@redhat.com>
12039
12040         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12041
12042         * src/NetworkManagerDbus.[ch]
12043                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12044                         clarify that function's argument should be an escaped dbus object
12045                         path, and look for path segment end before returning a match
12046         * src/nm-dbus-nm.c:
12047                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12048
12049 2006-05-17  Robert Love  <rml@novell.com>
12050
12051         Functionality to differentiate Ad-Hoc networks from infrastructure
12052         networks in the applet, by displaying a special icon:
12053         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12054         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12055         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12056           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12057           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12058           networks, encrypted or not.
12059         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12060           accessor functions to get and set the mode of a given network,
12061           wireless_network_get_mode() and wireless_network_set_mode().
12062
12063 2006-05-17  Robert Love  <rml@novell.com>
12064
12065         Functionality to automatically add BSSIDs to the allowed-MAC list as
12066         one roams from access point to access point on a given network:
12067         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12068           helper function to compare two ether_addr structures and return TRUE
12069           if they contain the same MAC address.
12070         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12071           prototype.
12072         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12073           stored with the current AP.  If the BSSID has indeed changed, we
12074           send it out to the applet, allowing the allowed-MAC list to grow
12075           automatically in response to roaming.
12076
12077 2006-05-16  Robert Love  <rml@novell.com>
12078
12079         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12080           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12081
12082 2006-05-13  Dan Williams  <dcbw@redhat.com>
12083
12084         * src/nm-device-802-3-ethernet.c
12085                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12086                         carrier detect (Debian bug #366373)
12087
12088 2006-05-11  Dan Williams  <dcbw@redhat.com>
12089
12090         Patch from Michael Biebl <biebl@teco.edu>
12091         * src/backends/NetworkManagerDebian.c
12092                 - Debian backend fixups
12093
12094 2006-05-10  Robert Love  <rml@novell.com>
12095
12096         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12097
12098 2006-05-09  Robert Love  <rml@novell.com>
12099
12100         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12101           private certificate passphrase, if any, in the GNOME Keyring.
12102         * libnm-utils/dbus-helpers.c: Update.
12103
12104 2006-05-05  Dan Williams  <dcbw@redhat.com>
12105
12106         * src/nm-device-802-11-wireless.c
12107                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12108                         nm_device_802_11_wireless_disable_encryption() since that's all
12109                         we use it for anymore; we don't ever set WEP keys ourselves.
12110                 - (real_deactivate_quickly): reset SSID and encryption keys
12111                 - (real_deactivate): move SSID and encryption key reset to
12112                         real_deactivate_quickly(), which gets run before us anyway
12113
12114 2006-05-05  Robert Love  <rml@novell.com>
12115
12116         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12117           root has a wacky default of its own (or, more common, a user has a
12118           bad umask and uses su/sudo to restart NetworkManager).  Anything
12119           other than 0022 does not do what we want with, for example,
12120           resolv.conf.  This problem is amplified by our judicious use of
12121           fopen(), which uses mode 0666 -- implying that the only way to get
12122           the permissions we want is with a umask of 0022.
12123
12124 2006-05-05  Dan Williams  <dcbw@redhat.com>
12125
12126         * gnome/libnm_glib/libnm_glib.c
12127                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12128                         to reconnect; instead wait a bit more with each reconnect attempt
12129                         up to a max of one minute.
12130
12131 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12132
12133         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12134           the WirelessNetwork structure using the proper function instead of
12135           just casting it directly to (const char *) (gnome.org #336991)
12136
12137 2006-05-03  Robert Love  <rml@novell.com>
12138
12139         * src/backends/NetworkManagerSuSE.c: Respect the variable
12140           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12141           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12142           to dynamically update /etc/resolv.conf.
12143
12144 2006-05-02  Peter Jones  <pjones@redhat.com>
12145
12146         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12147
12148 2006-05-02  Robert Love  <rml@novell.com>
12149
12150         Patch by Timo Hoenig;
12151         * tests/nm-online.c: Print pretty status indicator as timeout winds
12152           down.  Also fix possible race between DBUS startup and failure
12153           return.
12154
12155 2006-05-01  Robert Love  <rml@novell.com>
12156
12157         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12158           empty, too.
12159
12160 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12161
12162         * src/nm-device.c (discover_device_type): Actually use the hal
12163         device type instead of ioctl poking
12164
12165 2006-04-26  Robert Love  <rml@novell.com>
12166
12167         * tests/nm-online.c: New file.  Simple utility that returns exit status
12168           noting whether the connection is offline or online.  If offline on
12169           start, it waits 30 seconds (or a command-line given value) for an
12170           online signal.  If it times out, it again returns offline.  This is
12171           useful for scripts that want to wait for network connections.
12172
12173 2006-04-25  Robert Love  <rml@novell.com>
12174
12175         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12176           key mode (the authentication algorithm), e.g. open or shared, when we
12177           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12178           only shared was broken.  If the user specified a shared key, set it
12179           explicitly, otherwise let wpa_supplicant go with the default.
12180
12181 2006-04-24  Dan Williams  <dcbw@redhat.com>
12182
12183         * src/nm-device-802-11-wireless.c
12184                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12185
12186 2006-04-24  Dan Williams  <dcbw@redhat.com>
12187
12188         Commit the async scanning patch
12189
12190         * src/nm-device-802-11-wireless.c
12191                 - get rid of scan_mutex
12192                 - (wireless_event_helper): act on wireless scan events
12193                 - (real_start): schedule a pending scan
12194                 - (link_to_specific_ap): fake the link to the AP during a scan
12195                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12196                         strength during scans
12197                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12198                         nm_device_set_bitrate): unused with new scanning code, disable
12199                 - (nm_device_wireless_schedule_scan): removed
12200                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12201                 - (request_and_convert_scan_results): new function; retrieve scan
12202                         results from the driver and schedule the processing function
12203                 - (scan_results_timeout): timeout triggered when card doesn't send
12204                         a scan results wireless event during a certain interval
12205                 - (schedule_scan_results_timeout): new function; schedule the scan
12206                         results timeout
12207                 - (cancel_scan_results_timeout): new function; cancel the scan
12208                         results timeout
12209                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12210                         to do the scanning.  Otherwise, just request a scan but don't
12211                         grab results here; instead schedule a timeout for scan results and
12212                         let netlink notify us of scan completion events
12213                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12214                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12215                 - (supplicant_status_cb): ignore disconnect events while scanning
12216                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12217                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12218                         timeouts
12219                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12220
12221 2006-04-24  Dan Williams  <dcbw@redhat.com>
12222
12223         * gnome/applet/applet-dbus.c
12224                 - Disable the pending call debug stuff, seems under control now
12225
12226 2006-04-20  Robert Love  <rml@novell.com>
12227
12228         Fix bug where hidden ESSID's would not show up in the applet, even
12229         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12230         because nm_policy_device_list_update_from_allowed_list() would merge
12231         the data, putting a name to the hidden networks, but never notify NMI
12232         of the changes.  Simple fix is to invoke the function
12233         nm_dbus_signal_wireless_network_change() if we make a mapping.
12234         * src/NetworkManagerAPList.c: Call the function
12235           nm_dbus_signal_wireless_network_change() if we made a successful
12236           BSSID to ESSID mapping, notifying the applet of the "new" network.
12237         * src/NetworkManagerAPList.h: Update the prototypes for both
12238           nm_ap_list_copy_essids_by_address() and
12239           nm_ap_list_copy_one_essid_by_address().
12240
12241 2006-04-20  Robert Love  <rml@novell.com>
12242
12243         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12244           not set.  Just return zero.
12245
12246 2006-04-20  Robert Love  <rml@novell.com>
12247
12248         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12249           only one copy of nm-vpn-properties is running at a time via the 'ol
12250           X selection trick.  This prevents the user from opening two "VPN
12251           Connections" windows from within the applet, which leads to mass
12252           hysteria.
12253         * clipboard.c: New file, implementing simple X selection logic.
12254         * clipboard.h: New file.
12255         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12256
12257 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12258
12259         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12260         * configure.in
12261           initscript/Gentoo/Makefile.am
12262           initscript/Gentoo/NetworkManagerDispatcher.in
12263                 - New script
12264         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12265           Gentopia
12266
12267 2006-04-16  Dan Williams  <dcbw@redhat.com>
12268
12269         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12270         * configure.in
12271           initscript/Slackware/Makefile.am
12272           initscript/Slackware/rc.networkmanager-dispatcher.in
12273           initscript/Slackware/rc.networkmanager.in
12274                 - Update slackware initscripts
12275
12276 2006-04-10  Robert Love  <rml@novell.com>
12277
12278         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12279           the "delete_event" signal on the druid's parent window and handle it
12280           our way, lest using the WM to close the druid results in a series of
12281           bloody and ultimately lethal errors.
12282
12283 2006-04-10  Robert Love  <rml@novell.com>
12284
12285         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12286           'Back' too or else the 'Forward' option is initially disabled despite
12287           valid input.
12288
12289 2006-04-06  Robert Love  <rml@novell.com>
12290
12291         Fix bad but simple bug where an active modem connection did not update
12292         NM's connection state, breaking any app that did online/offline:
12293         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12294           represented whether a dial up connection is active, or not.
12295         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12296           to modem activation and deactivation.
12297         * src/NetworkManagerDbus.c: When asked our state, do not return
12298           disconnected if the modem is active.
12299
12300 2006-04-04  Robert Love  <rml@novell.com>
12301
12302         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12303           applet.  It just confuses the crap out of people and does not make a
12304           lot of sense, as the daemon still runs.
12305
12306 2006-04-02  Tor Krill  <tor@krill.nu>
12307
12308         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12309           in start of service.
12310         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12311           get Archlinux backend up to date.
12312
12313 2006-03-29  Robert Love  <rml@novell.com>
12314
12315         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12316         to add support for per-route MSS and improve support for per-interface
12317         MTU:
12318         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12319           optionally take an MSS parameter and set it for the given route.
12320           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12321           NMIP4Config's stored MSS, if any.
12322         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12323           the interface's MTU and the route's MSS, respectively.  Add functions
12324           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12325           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12326           MSS.
12327         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12328           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12329           nm_ip4_config_set_mss.
12330         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12331           VPN daemon.
12332         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12333           Change the retval of nm_system_get_mtu to guint32.
12334         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12335           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12336           servers can specify MTU's, we should set it here if the MTU was not
12337           provided.
12338
12339 2006-03-27  Jürg Billeter  <j@bitron.ch>
12340
12341         * configure.in:
12342         * initscript/Makefile.am:
12343         * initscript/paldo/Makefile.am:
12344         * initscript/paldo/NetworkManager.in:
12345         * initscript/paldo/NetworkManagerDispatcher.in:
12346         * src/backends/Makefile.am:
12347         * src/backends/NetworkManagerPaldo.c:
12348                 - Add paldo support
12349
12350 2006-03-27  Dan Williams  <dcbw@redhat.com>
12351
12352         Patch from Christian Persch <chpe@gnome.org>
12353         * gnome/applet/applet.glade
12354                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12355
12356 2006-03-27  Dan Williams  <dcbw@redhat.com>
12357
12358         Patch from Diffe <diffie@blazebox.homeip.net>
12359         * src/backends/NetworkManagerSlackware.c
12360                 - Don't restart howl, since it's been replaced by Avahi
12361                         in most distributions
12362
12363 2006-03-27  Dan Williams  <dcbw@redhat.com>
12364
12365         Patch from Tor Krill <bugzilla@krill.nu>
12366         * configure.in
12367           initscript/Makefile.am
12368           src/backends/Makefile.am
12369           src/backends/NetworkManagerArch.c
12370           initscript/Arch/Makefile.am
12371           initscript/Arch/networkmanager-dispatcher.in
12372           initscript/Arch/networkmanager.in
12373                 - Add Arch Linux support, fixes gnome.org #335147
12374
12375 2006-03-27  Dan Williams  <dcbw@redhat.com>
12376
12377         Patch from Diffe <diffie@blazebox.homeip.net>
12378      * initscript/Slackware/rc.networkmanager
12379         - update, fixed gnome.org #333368
12380
12381 2006-03-27  Robert Love  <rml@novell.com>
12382
12383         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12384           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12385
12386 2006-03-27  Robert Love  <rml@novell.com>
12387
12388         Patch by Jürg Billeter <j@bitron.ch>:
12389         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12390           systems.
12391         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12392           as we prefer glibc over kernel headers, if possible.
12393
12394 2006-03-27  Robert Love  <rml@novell.com>
12395
12396         Patch by Jon Escombe <list@dresco.co.uk>:
12397         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12398         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12399           fail, don't bail out.  We don't expect all of the various WPA-EAP
12400           values to be present.
12401         * src/nm-ap-security.c: We need to match all capabilities for each
12402           encryption type, not any one of them.
12403
12404 2006-03-27  Robert Love  <rml@novell.com>
12405
12406         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12407           restart, not reload, ypbind.  Unfortunately there is no superior
12408           solution.
12409
12410 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12411
12412         * gnome/applet/applet-notifications.c:
12413         When displaying a notification, make sure to get rid of the
12414         previous notification so as to not have competing bubbles,
12415         and stop leaking the old one.
12416
12417         * gnome/applet/applet.c:
12418         * gnome/applet/applet.h:
12419         Add a new 'notification' member to the applet, and zero it out
12420         and free it appropriately.
12421
12422 2006-03-23  Robert Love  <rml@novell.com>
12423
12424         Patch by j <j@bootlab.org>:
12425         * gnome/applet/applet.glade: Don't set the invisible_char property,
12426           which simply overrides the GTK default.  By and by, this behavior
12427           ought to be fixed in Glade.
12428
12429 2006-03-22  Robert Love  <rml@novell.com>
12430
12431         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12432
12433 2006-03-22  Robert Love  <rml@novell.com>
12434
12435         Bug fix by Timo Hoenig <thoenig@suse.de>:
12436         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12437           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12438           and the applet going AWOL.
12439
12440 2006-03-22  Robert Love  <rml@novell.com>
12441
12442         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12443           preprocessor define and use it instead of open-coded the DHCP
12444           timeout, which is currently 25 seconds, everywhere.
12445
12446 2006-03-22  Robert Love  <rml@novell.com>
12447
12448         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12449         key exchange via WPA, ostensibly providing good security without
12450         requiring hardware that supports full WPA.  Also, add UI elements to
12451         allow the user to select the pairwise & group cipher for WPA Enterprise
12452         networks, too:
12453         * gnome/applet/applet.glade: Update glade file.
12454         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12455           key type, too, to and from gconf.
12456         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12457           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12458           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12459           the capabilities match.
12460         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12461           prototype.
12462         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12463           serialize from UI to DBUS.
12464         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12465           one element.
12466         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12467           nmu_security_serialize_wpa_eap_with_cipher(), and
12468           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12469           serialize/deserialize the key type via DBUS as the new third DBUS
12470           parameter.
12471         * libnm-util/dbus-helpers.h: Update prototypes.
12472         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12473           too.  If the key type is WEP104, do Dynamic WEP, which means
12474           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12475           pairwise and group ciphers (fixes a FIXME).
12476
12477 2006-03-21  Robert Love  <rml@novell.com>
12478
12479         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12480           nm_system_get_mtu(), which returns a user-provided or system-mandated
12481           MTU value for a given device, if any, or zero if no such value
12482           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12483           if we have a provided value.
12484         * src/nm-device.c: Set the MTU of devices.
12485         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12486         * src/backends/NetworkManagerDebian.c,
12487           src/backends/NetworkManagerGentoo.c,
12488           src/backends/NetworkManagerRedHat.c,
12489           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12490
12491 2006-03-21  Robert Love  <rml@novell.com>
12492
12493         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12494           configuration file.
12495
12496 2006-03-17  Robert Love  <rml@novell.com>
12497
12498         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12499           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12500           it, in case it is not running in the first place.  We just want its
12501           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12502
12503 2006-03-15  Robert Love  <rml@novell.com>
12504
12505         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12506           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12507           label "WEP 40/128-bit" is inconsistent because the physical key size
12508           is 40 or 104-bits, to which a 24-bit initialisation vector is
12509           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12510           to read "40/104" or "64/128".  I do not care much which, but most
12511           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12512           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12513           WEP passphrase support only handles 128-bit keys, and any future
12514           64-bit passphrase support will require a new option (no way to auto-
12515           detect the target key size), explicitly label our passphrase support
12516           "WEP 128-bit Passphrase".
12517
12518 2006-03-15  Robert Love  <rml@novell.com>
12519
12520         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12521           the system init scripts (or some other mechanism) starting it (or a
12522           compatible DBUS service) before NetworkManager runs.  This means that
12523           distributions might need to update their init scripts.  This fixes
12524           possible races and is quite a bit cleaner.
12525         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12526           starting the NetworkManager daemon.
12527
12528
12529 2006-03-14  Robert Love  <rml@novell.com>
12530
12531         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12532           before adding anything.
12533
12534 2006-03-13  Robert Love  <rml@novell.com>
12535
12536         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12537           widgets, too, if they exist, in case the user hit the back button.
12538           Fixes a bug where the details page contains the widgets of multiple
12539           VPN modules (Novell bug #157048).
12540
12541 2006-03-13  Robert Love  <rml@novell.com>
12542
12543         Patch by Timo Hoenig <thoenig@suse.de>:
12544         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12545           daemon survive DBUS restarts, too.
12546
12547 2006-03-10  Robert Love  <rml@novell.com>
12548
12549         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12550           passphrase or key.
12551         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12552           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12553           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12554           in response to "toggled" signal on new toggle.
12555
12556 2006-03-10  Robert Love  <rml@novell.com>
12557
12558         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12559           serialization if strings are NULL, lest DBUS get angry.
12560
12561 2006-03-10  Robert Love  <rml@novell.com>
12562
12563         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12564
12565 2006-03-09  Robert Love  <rml@novell.com>
12566
12567         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12568           configurations.
12569
12570 2006-03-09  Dan Williams  <dcbw@redhat.com>
12571
12572         Track pending call requests in the applet, and report how many are
12573         outstanding, and how long each completed one takes.
12574         
12575         * gnome/applet/applet-dbus-devices.c
12576           gnome/applet/applet-dbus-vpn.c
12577                 - Track pending calls
12578
12579         * gnome/applet/applet-dbus.[ch]
12580                 - Remove some unused enums
12581                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12582                         new functions to track dbus pending calls and spit out some
12583                         statistics about them
12584
12585 2006-03-09  Robert Love  <rml@novell.com>
12586
12587         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12588           nm_ap_set_timestamp() take the second and micro-second parameters as
12589           direct arguments, which avoids both a dynamic memory allocation and a
12590           structure-to-structure copy!  Add a new interface, the aptly named
12591           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12592           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12593           the return from nm_ap_get_timestamp().  New users should use the new
12594           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12595           the extreme benefit to performance.
12596         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12597           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12598
12599 2006-03-08  Robert Love  <rml@novell.com>
12600
12601         * gnome/applet/applet.glade: Hide the password entry text with
12602           asterisks.
12603
12604 2006-03-08  Robert Love  <rml@novell.com>
12605
12606         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12607           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12608           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12609           a second argument, NMData.
12610         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12611         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12612           config files as trusted.
12613
12614 2006-03-06  Robert Love  <rml@novell.com>
12615
12616         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12617         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12618           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12619           Rivera, detect if the applet was auto-started.  If so, ask the user
12620           if he or she would like to stop automatically running the applet on
12621           login.  If so, disable autostart.
12622
12623 2006-03-06  Robert Love  <rml@novell.com>
12624
12625         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12626           directory in CFLAGS so developers can actually use NetworkManager.h.
12627
12628 2006-03-06  Robert Love  <rml@novell.com>
12629
12630         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12631           open-coded integer constants.  Add state_to_string() to map a given
12632           state to a textual description, and provide that when notifying of
12633           state change.
12634         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12635           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12636           this header directly, but it is currently not installed on most
12637           systems.
12638
12639 2006-03-05  Dan Williams  <dcbw@redhat.com>
12640
12641         Process netlink messages in device subclasses rather than in
12642         NetworkManager.c.  Also add support for recognizing Wireless Events.
12643         
12644         * configure.in
12645                 - Find GLIB_GENMARSHAL
12646
12647         * src/Makefile.am
12648                 - Since we're marshalling custom types for wireless event signals,
12649                         we get to create our own marshallers using GLIB_GENMARSHAL
12650
12651         * src/NetworkManager.c
12652                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12653                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12654                         cut down somewhat.  We no longer process signals here.
12655                 - (nm_data_new): create the netlink monitor here, and remove a
12656                         useless call to nm_policy_schedule_device_change_check()
12657                 - (nm_data_free): get rid of the netlink monitor here
12658                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12659                 - (main): don't create the netlink monitor here, let nm_data_new
12660                         do that.  Call nm_policy_schedule_device_change_check() right
12661                         before we jump to the mainloop to figure out which device
12662                         to use first
12663
12664         * src/NetworkManagerSystem.[ch]
12665                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12666                         convert back and forth from interface names to interface
12667                         indexes
12668
12669         * src/nm-device-802-11-wireless.c
12670                 - (real_init): connect to wireless-event signals from the netlink
12671                         monitor object
12672                 - (nm_device_802_11_wireless_event): new function, schedule handler
12673                         for wireless event signals from the netlink monitor object.  We
12674                         want the handler to run in the device's context
12675                 - (wireless_event_helper): handle wireless-event signals from netlink
12676                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12677                         signal handler
12678
12679         * src/nm-device-802-11-wireless.h
12680                 - remove unused prototype for nm_device_802_11_wireless_new
12681
12682         * src/nm-device-802-3-ethernet.c
12683                 - (real_init): new function; set up signal handlers for link events
12684                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12685                         handler for netlink link activated events on device's main loop
12686                 - (link_activated_helper): when we get a link activated event, set
12687                         the device's link to be active
12688                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12689                         handler for netlink link deactivated events on device's main loop
12690                 - (link_deactivated_helper): when we get a link deactivated event, set
12691                         the device's link to be inactive
12692                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12693                         dispose
12694
12695         * src/nm-device-802-3-ethernet.h
12696                 - remove unused prototype for nm_device_802_3_ethernet_new
12697
12698         * src/nm-device.[ch]
12699                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12700                         but locks the device list
12701                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12702
12703         * src/nm-netlink-monitor.[ch]
12704                 - (nm_netlink_monitor_class_install_signals): New signal
12705                         "wireless-event"
12706                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12707                         at the device list
12708                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12709
12710         * src/nm-marshal-main.c
12711                 - Include generated nm-marshal.c and nm-marshal.h
12712
12713         * src/nm-marshal.list
12714                 - List of custom marshal functions
12715
12716 2006-03-05  Dan Williams  <dcbw@redhat.com>
12717
12718         * gnome/applet/applet-notifications.h
12719                 - Protect prototype of nma_send_event_notification() because it
12720                         includes libnotify-specific types
12721                 - Include libnotify/libnotify.h too, since we technically need it
12722
12723         * gnome/applet/applet.c
12724                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12725                 - (nma_show_vpn_login_banner_dialog): add some error checking
12726
12727 2006-03-04  Dan Williams  <dcbw@redhat.com>
12728
12729         Clean up activation cancellation.  Should be a lot faster now.  Observed
12730         an issue with wireless devices between stage 2 and 3 of activation, where
12731         activation would be cancelled, but the device thread wouldn't notice until
12732         the supplicant association timed out.  Reorganize activation such that
12733         a cancellation handler gets immediately scheduled in the device's thread,
12734         and devices have a chance to perform any custom cleanup too.
12735
12736         * src/nm-device.[ch]
12737                 - (activation_cancel_handler): new device-type-specific function
12738                         for cleaning up device-type-specific stuff on cancellation
12739                 - (cancel_activation): removed
12740                 - (nm_device_activation_cancel): subsume functionality of
12741                         real_cancel_activation, but instead of doing anything, punt
12742                         operation to a handler that's run in device-thread context
12743                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12744                         a warning message
12745                 - (activation_handle_cancel_helper): cancellation handler run in
12746                         device-thread context, calls device-type-specific cancelation,
12747                         then tears down the activation request
12748                 - (real_activation_cancel_handler): generic cancellation handler,
12749                         deals with cancelling any in-process DHCP request
12750                 - (nm_device_activate_stage1_device_prepare,
12751                    nm_device_activate_stage2_device_config,
12752                    nm_device_activate_stage3_ip_config_start,
12753                    nm_device_activate_stage4_ip_config_get,
12754                    nm_device_activate_stage4_ip_config_timeout,
12755                    nm_device_activate_stage5_ip_commit): don't call
12756                         nm_device_schedule_activation_handle_cancel() any more, since
12757                         cancellation will have been already scheduled for us by
12758                         nm_device_activation_cancel().  Just exit the function and
12759                         assume that the cancel handler will be called next.
12760
12761         * src/nm-device-802-3-ethernet.c
12762                 - (real_act_stage2_config): remove; didn't do anything anyway
12763
12764         * src/nm-device-802-11-wireless.c
12765                 - (supplicant_status_cb): ensure we don't do anything if the activation
12766                         got cancelled
12767                 - (real_activation_cancel_handler): implement; cancel user key request
12768                         on activation cancellation
12769
12770 2006-03-04  Dan Williams  <dcbw@redhat.com>
12771
12772         * src/nm-device-802-11-wireless.c
12773                 - (supplicant_send_network_config): assume that drivers that don't
12774                         support WPA pretty much suck, and can't handle NM scanning
12775                         along with wpa_supplicant.
12776
12777 2006-03-03  Robert Love  <rml@novell.com>
12778
12779         * configure.in: Bump version to 0.6.0.
12780         * NEWS: Update.
12781
12782 2006-03-03  Robert Love  <rml@novell.com>
12783
12784         * configure.in: Require DBUS 0.60 or later.
12785
12786 2006-03-03  Dan Williams  <dcbw@redhat.com>
12787
12788         Fix a crash if an "Other wireless network" was chosen, failed, then
12789         chosen again from the applet's menu.  If the other network wasn't
12790         noticed in a scan, it wouldn't have any capabilities, but would still
12791         be listed because the user forced the network.  To fix this, we set
12792         sensible capabilities on the forced network, which will get overwritten
12793         with the correct ones if the network shows up later in a scan.
12794         
12795         * src/nm-ap-security.h
12796                 - Add a new "get_default_capabilities_func" member to the
12797                         NMAPSecurity class
12798
12799         * src/nm-ap-security.c
12800                 - (nm_ap_security_get_default_capabilities): new function
12801
12802         * src/nm-ap-security.c
12803           src/nm-ap-security-wep.c
12804           src/nm-ap-security-wpa-psk.c
12805           src/nm-ap-security-wpa-eap.c
12806                 - Implement get_default_capabilities_func() for all, which
12807                         uses the information contained in a specific NMAPSecurity
12808                         object to determine default AP capabilites necessary
12809                         to support that object
12810
12811         As a secondary measure, we now prune artificial access points that fail
12812         to be activated right away.  The thing failed, and we have no scan data for
12813         it, so it's pretty much useless since security information is only saved
12814         in the applets when a connection is successful.
12815
12816         * src/NetworkManagerAPList.c
12817                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12818                         not artificial.  If we see it, it's no longer a figment of the
12819                         user's imagination :)
12820
12821         * src/NetworkManagerPolicy.c
12822                 - (nm_policy_activation_failed): send along the failed AP if we
12823                         have it
12824
12825         * src/nm-device-802-11-wireless.c
12826                 - (real_activation_failure_handler): remove artificial APs from
12827                         the device list, because activation failed
12828
12829 2006-03-02  Robert Love  <rml@novell.com>
12830
12831         Add support for retrieving both the per-device speed and the
12832         per-network maximum supported rate.  Then change the getProperties
12833         DBUS API for both networks and devices to report this informaiton.
12834         Finally, display the information via both nm-applet and nm-tool:
12835         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12836           and set it.
12837         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12838           Information' dialog.
12839         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12840         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12841           network_device_get_speed() and network_device_set_speed() for
12842           retrieving and setting, respectively, a network device's current
12843           speed.
12844         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12845         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12846           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12847           not matter (yet) what the units are, because we only feed it its own
12848           output.  Implement SIOCGIRATE and set the per-network maximum
12849           supported rate during scanning.
12850         * src/nm-device-802-11-wireless.h: Export the function
12851           nm_device_802_11_wireless_get_bitrate().
12852         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12853           function nm_device_802_3_ethernet_get_speed() for returning an
12854           802.3's current speed, in Mb/s.
12855         * test/nm-tool.c: Display the per-device current speed, if available,
12856           and the per-network maximum rate.
12857
12858 2006-03-02  Dan Williams  <dcbw@redhat.com>
12859
12860         * src/nm-device-802-11-wireless.c
12861                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12862                         card when it gets initialized.  Since devices don't get added to
12863                         the scan list until they are initialized, this function wasn't
12864                         setting the intitial scan interval correctly, and was leaving
12865                         it at 0.  This caused cards to get many scan requests in a short
12866                         amount of time when they were initialized
12867
12868 2006-03-02  Robert Love  <rml@novell.com>
12869
12870         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12871           active device.  But do not do what we used to do and override the
12872           state, which caused the dreaded icon race of '05.
12873
12874 2006-03-02  Robert Love  <rml@novell.com>
12875
12876         Commit Dan's update of my previous commit:
12877         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12878           set_mode() function itself does the check.  But do only set the
12879           frequency if in Ad-Hoc mode.
12880
12881 2006-03-02  Robert Love  <rml@novell.com>
12882
12883         Patch by Brian Magnuson <magnuson@rcn.com>:
12884         * src/nm-device-802-11-wireless.c: During scanning, only set the
12885           wireless mode to infrastructure if it is not currently in
12886           infrastructure mode.  For some driver, setting the mode is a costly
12887           operation, apparently.
12888
12889 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12890
12891         * Makefile.am: use the correct dir for autostart mechanism.
12892
12893 2006-02-28  Dan Williams  <dcbw@redhat.com>
12894
12895         Patch from Brian Magnuson <magnuson@rcn.com>
12896         * gnome/applet/applet.c
12897                 - (nma_show_vpn_failure_dialog): fix errors left over from
12898                         libnotify support changes
12899
12900 2006-02-28  Dan Williams  <dcbw@redhat.com>
12901
12902         * src/vpn-manager/nm-vpn-act-request.[ch]
12903                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12904                         just one value
12905                 - (nm_vpn_act_request_is_failed): new function; return whether or
12906                         not the vpn activation request has failed
12907
12908         * src/vpn-manager/nm-vpn-manager.c 
12909                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12910                         daemon to kill the connection when the activation request fails.
12911                         Fixes issue where NM would get confused if the VPN activation
12912                         request timed out, and would not allow further VPN connections
12913                         on that service.
12914
12915 2006-02-28  Dan Williams  <dcbw@redhat.com>
12916
12917         * gnome/applet/applet.c
12918                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12919                         overlapping connection requests, disable all VPN menu items
12920                         but the active VPN connection
12921
12922 2006-02-28  Dan Williams  <dcbw@redhat.com>
12923
12924         * src/vpn-manager/nm-vpn-connection.c
12925                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12926                         called g_object_unref() on the connection's parent device
12927                         when it should have been ref-ed instead.  Fixes crash with
12928                         repeated vpn connect requests
12929
12930 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12931
12932         * gnome/applet/applet.glade:
12933         Mark a few strings non-translatable, since they shouldn't be.
12934
12935 2006-02-28  Dan Williams  <dcbw@redhat.com>
12936
12937         * src/vpn-manager/nm-vpn-service.c
12938                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12939                         already running, don't blindly ask it to connect, but wait until
12940                         it's in the STOPPED state first.  Fixes an assertion when user
12941                         starts a second vpn connection without stopping the first.
12942                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12943                         dbus service exists before continuing with the connection
12944                         process, and reduce latency while waiting for it to become
12945                         available
12946                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12947                         waiting for the vpn service daemon to become available
12948                 - General log message cleanups; show progress via "Stage x of 4"
12949                         rather than not telling anyone how many stages there are
12950
12951 2006-02-28  Robert Love  <rml@novell.com>
12952
12953         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12954         * src/backends/NetworkManagerSuSE.c: Implement the interface
12955           nm_system_should_modify_resolv_conf() for SUSE.
12956         * src/backends/NetworkManagerDebian.c,
12957           src/backends/NetworkManagerGentoo.c,
12958           src/backends/NetworkManagerRedHat.c,
12959           src/backends/NetworkManagerSlackware.c: Add stub.
12960         * src/named-manager/Makefile.am: Grab includes from src.
12961         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12962           automatic updating of resolv.conf.  This is useful for testing,
12963           broken static configurations, and administrator lock-down.
12964
12965 2006-02-28  Dan Williams  <dcbw@redhat.com>
12966
12967         * src/nm-device-802-11-wireless.c
12968                 - Move all the wpa_supplicant-related management stuff into its
12969                         own struct, just for oranization's sake
12970                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12971                         to a GIOChannel/GSource
12972                 - (supplicant_log_stdout): new function; grab output from the
12973                         wpa_supplicant stdout pipe and write it to our logs.
12974
12975 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12976
12977         * src/nm-device-802-11-wireless.c:
12978         Err, fix thinko in my previous commit.
12979
12980 2006-02-28  Robert Love  <rml@novell.com>
12981
12982         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12983
12984 2006-02-28  Robert Love  <rml@novell.com>
12985
12986         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12987           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12988           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12989           deserializers are responsible for freeing the returned DBUS strings.
12990
12991 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12992
12993         * src/nm-device-802-11-wireless.c:
12994         The scan list is being pruned prematurely.  We should prune after
12995         the device has gone MIA for three scans, not one.  Split out the
12996         interval to realtime seconds function to better serve this.
12997
12998 2006-02-27  Robert Love  <rml@novell.com>
12999
13000         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13001           Open the pid file O_TRUNC, so if it already exists we truncate it to
13002           zero length.  Also, be more verbose about warnings generated during
13003           writing out the pid file.  Finally, always write out the pid file if
13004           in daemon mode.  Use "--pid-file" to override the default.
13005
13006 2006-02-27  Robert Love  <rml@novell.com>
13007
13008         Patch by R. Vinay <rvinay@novell.com>:
13009         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13010           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13011           Novell bug #153628).
13012           
13013 2006-02-27  Robert Love  <rml@novell.com>
13014
13015         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13016           entry so user can hit <ENTER> after entering passphrase (Novell bug
13017           #153738).
13018
13019 2006-02-27  Dan Williams  <dcbw@redhat.com>
13020
13021         * gnome/applet/*
13022                 - Mass search/replace of:
13023                         nmwa -> nma
13024                         NMWirelessApplet -> NMApplet
13025                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13026                    (it ain't just for wireless anymore, ma!)
13027                 - Fix duplicate function name printing when using nm_warning
13028                 - wireless-applet.glade -> applet.glade
13029
13030 2006-02-27  Dan Williams  <dcbw@redhat.com>
13031
13032         * dispatcher-daemon/NetworkManagerDispatcher.c
13033                 - Accept --pid-file with a path to a pidfile, write it out on
13034                         startup, and delete it on shutdown
13035
13036         * src/NetworkManager.c
13037                 - Accept --pid-file with a path to a pidfile, write it out on
13038                         startup, and delete it on shutdown
13039                 - Move nm_print_usage() lower
13040
13041         * initscripts/RedHat/NetworkManager.in
13042                 - Use new --pid-file option
13043                 - Fix service stopping to wait a bit for NM to quit
13044
13045         * initscripts/RedHat/NetworkManagerDispatcher.in
13046                 - Use new --pid-file option
13047
13048 2006-02-26  Dan Williams  <dcbw@redhat.com>
13049
13050         * src/Makefile.am
13051                 - make and install nm-crash-logger
13052
13053         * src/nm-logging.[ch]
13054                 - New files; consolidate logging and crash handling
13055
13056         * src/nm-crash-logger.c
13057           src/gdb-cmd
13058                 - Standalong crashlogger for NM, grab a backtrace
13059                         using GDB
13060
13061         * src/NetworkManager.[ch]
13062                 - Remove signal handling and put it into nm-logging.c
13063
13064 2006-02-26  Dan Williams  <dcbw@redhat.com>
13065
13066         * configure.in
13067           gnome/applet/Makefile.am
13068                 - Conditionalize all the notify stuff
13069
13070         Merge most of Chris Aillon's notification patch:
13071         
13072         * gnome/applet/applet-notifications.[ch]
13073                 - New files; show a notification
13074         
13075         * gnome/applet/applet-dbus-devices.[ch]
13076                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13077                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13078                         new functions, do the right thing when a device change occurs
13079
13080         * gnome/applet/applet-dbus.c
13081                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13082                         signals, so we can handle them specially
13083
13084         * gnome/applet/applet.[ch]
13085                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13086                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13087                 - (nmwa_notify_state): remove
13088                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13089                         notification work is now done when the appropriate dbus signals
13090                         are received.
13091                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13092                         defer execution of the notification/dialog stuff.  That was an
13093                         artifact of the previous multi-threaded nature of the applet
13094                         and is now pointless.
13095                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13096                         no longer needed.  Function folded into applet-notifications.c
13097
13098         * src/NetworkManagerPolicy.c
13099                 - (nm_policy_activation_finish): send the AP along with the device
13100                         status change signal, if the connection is wireless.  Should
13101                         fix the race where applet would show a connection to "unknown"
13102
13103 2006-02-25  Robert Love  <rml@novell.com>
13104
13105         Add WPA Enterprise support:
13106         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13107           nm-gconf-wso-wpa-eap.h.
13108         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13109           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13110           serialization and deserialization.
13111         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13112           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13113           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13114         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13115           settings related to WPA Enterprise.
13116         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13117           instantiate WPA Enterprise wireless-security-option.
13118         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13119           Implement WPA Enterprise wireless-security-option object.
13120         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13121           defines.  Cleanup.
13122         * libnm-util/cipher-wpa-psk-hex.c,
13123           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13124         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13125           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13126           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13127           including the cipher to DBUS method, and
13128           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13129           to output.
13130         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13131           nm-ap-security-wpa-eap.h
13132         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13133           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13134         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13135           files.  Implement NMAPSecurityWPA_EAP object.
13136         * src/nm-ap-security-wpa-psk.c: Cleanup.
13137         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13138           an NMAPSecurityWPA_EAP object via the method
13139           nm_ap_security_wpa_eap_new_deserialize().
13140         * src/nm-dbus-nm.c: Cleanup.
13141         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13142           WPA Enterprise support.
13143
13144 2006-02-24  Robert Love  <rml@novell.com>
13145
13146         Patch from Timo Hoenig <thoenig@suse.de>:
13147         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13148
13149 2006-02-24  Robert Love  <rml@novell.com>
13150
13151         Patch from Dan Winship <danw@novell.com>:
13152         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13153           area to transparent.
13154
13155 2006-02-21  Dan Williams  <dcbw@redhat.com>
13156
13157         * gnome/applet/applet.[ch]
13158           gnome/applet/applet-dbus.c
13159                 - Implement notification support for VPN messages too
13160
13161 2006-02-21  Dan Williams  <dcbw@redhat.com>
13162
13163         * gnome/applet/applet-dbus-info.c
13164                 - Clean up warning messages to not double-print the function
13165
13166 2006-02-21  Dan Williams  <dcbw@redhat.com>
13167
13168         * gnome/applet/applet-compat.c
13169                 - (convert_one_entry): accept entries without a key_type and
13170                         convert them to unencrypted networks
13171
13172 2006-02-21  Dan Williams  <dcbw@redhat.com>
13173
13174         * gnome/libnm_glib/libnm_glib.c
13175                 - Use __func__ everywhere we can
13176                 - Code cleanups
13177                 - Use dbus pending calls rather than blocking
13178                 - Reduce busywaits for our thread to start and stop
13179                         (gnome.org #330562)
13180                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13181                         stomp on others using the default shared dbus connection.
13182                         Fixes #rh177546# and gnome.org #326572
13183
13184 2006-02-21  Dan Williams  <dcbw@redhat.com>
13185
13186         Patch from Rodney Dawes <dobey@novell.com>
13187         * configure.in
13188           gnome/applet/Makefile.am
13189           gnome/applet/applet.c
13190                 - Add libnotify support if '--enable-notify=yes' is passed
13191                   at configure time
13192
13193 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13194
13195         * configure.in (ALL_LINGUAS): ko added. (Korean)
13196
13197 2006-02-15  Robert Love  <rml@novell.com>
13198
13199         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13200           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13201           and WPA_SUPPLICANT_CONTROL_SOCKET.
13202         
13203 2006-02-15  Robert Love  <rml@novell.com>
13204
13205         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13206           information about what connection stage we are at, provide the total
13207           number of stages, e.g. "Stage 2 of 5", so users know how far along
13208           they are if they experience problems.
13209
13210 2006-02-15  Robert Love  <rml@novell.com>
13211
13212         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13213           define to $sysconfdir.
13214         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13215           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13216           type of VPN and then editing another results in a mangled dialog
13217           box containing the widgets from both VPNs (fixes Novell #150854).
13218           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13219
13220 2006-02-14  Robert Love  <rml@novell.com>
13221
13222         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13223           syslog's file descriptor.
13224
13225 2006-02-14  Robert Love  <rml@novell.com>
13226
13227         Fix bug around since the change to "deal with APs changing settings on
13228         us," checked in on the fifth of February in the year of the dog, 
13229         wherein connecting to non-broadcast encrypted networks always fails
13230         because nm_ap_get_encrypted() always returns FALSE, even when the user
13231         provided a key, because the newly-created fake AP does not have any
13232         capabilities set, which is a sypmtom of security settings not matching
13233         capabilities (Novell bug #150784):
13234         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13235           nm_ap_add_capabilities_from_security(), which sets the given AP's
13236           capabilities off the given security settings.  Also improve our
13237           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13238           NM_AUTH_CIPHER_AUTO.
13239         * src/nm-device-802-11-wireless.c: Call the function
13240           nm_ap_add_capabilities_from_security() to ensure that capabilities
13241           match newly updated security settings.
13242
13243 2006-02-14  Robert Love  <rml@novell.com>
13244
13245         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13246           error as a string, not an integer, if possible; do not print the
13247           function name twice; always give the interface, if possible; misc.
13248           cleanup.
13249
13250 2006-02-12  Dan Williams  <dcbw@redhat.com>
13251
13252         Patch from Tom Parker <palfrey@tevp.net>
13253         * src/NetworkManagerSystem.h
13254                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13255                         no longer used
13256
13257         * src/backends/NetworkManagerDebian.c
13258                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13259                         unused variables
13260
13261 2006-02-12  Dan Williams  <dcbw@redhat.com>
13262
13263         * vpn-daemons/openvpn/intltool-extract.in
13264           vpn-daemons/openvpn/intltool-merge.in
13265           vpn-daemons/openvpn/intltool-update.in
13266           vpn-daemons/pptp/intltool-extract.in
13267           vpn-daemons/pptp/intltool-merge.in
13268           vpn-daemons/pptp/intltool-update.in
13269                 - Remove from CVS, they should get created by intltoolize,
13270                         shouldn't they?
13271
13272 2006-02-12  Dan Williams  <dcbw@redhat.com>
13273
13274         * vpn-daemons/pptp/src/pppd/patchlevel.h
13275         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13276                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13277                         Makefile-defined VERSION
13278
13279 2006-02-09  Dan Williams  <dcbw@redhat.com>
13280
13281         Patch from: Vinay A R <rvinay@novell.com>
13282         * src/vpn-manager/nm-vpn-act-request.[ch]
13283                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13284                         IPSec VPNs require them for std gateway.
13285                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13286                         and 'user_routes_count'
13287                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13288                         defined routes  from NMVPNActRequest object, returns the string
13289                         array of routes.
13290
13291         * src/vpn-manager/nm-vpn-manager.[ch]
13292                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13293                         for 'user_routes' and 'user_routes_count'
13294         
13295         * src/vpn-manager/nm-dbus-vpn.c
13296                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13297                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13298         
13299         * src/vpn-manager/nm-vpn-service.c
13300                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13301                         the vpn daemon
13302
13303         Modifications by Dan:
13304         * src/vpn-manager/nm-vpn-service.c
13305                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13306                         arrays into dbus
13307
13308         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13309         * vpn-daemons/pptp/src/nm-pptp-service.c
13310         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13311                 - Grab user routes from dbus message
13312                 - Free all string arrays we got from dbus
13313
13314 2006-02-07  Robert Love  <rml@novell.com>
13315
13316         Patch by Stefan Seyfried <seife@suse.de>:
13317         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13318
13319 2006-02-06  Robert Love  <rml@novell.com>
13320
13321         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13322
13323 2006-02-06  Robert Love  <rml@novell.com>
13324
13325         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13326           test ">=" is never false.  If no newline is found, we loop forever.
13327           We can just check for ">" because the following if() will see the
13328           zero-th argument if the while() gets that far.
13329
13330 2006-02-05  Dan Williams  <dcbw@redhat.com>
13331
13332         Refine handling of non-broadcast networks.
13333
13334         * src/NetworkManagerAPList.c
13335                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13336                         property from scanned AP to the AP from the device list
13337
13338         * src/nm-device-802-11-wireless.c
13339                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13340                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13341                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13342                         networks since those don't have APs.
13343                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13344                         AP as non-SSID-broadcasting
13345                 - (process_scan_results): don't handle non-SSID-broadcasting here
13346
13347 2006-02-05  Dan Williams  <dcbw@redhat.com>
13348
13349         * src/nm-device-802-11-wireless.c
13350                 - (get_supplicant_timeout): new function; return
13351                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13352                         14 channels.  These are likely a/b/g cards, like Atheros, and
13353                         slow as hell to scan.
13354                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13355                         get_supplicant_timeout()
13356
13357 2006-02-05  Dan Williams  <dcbw@redhat.com>
13358
13359         * src/dhcp-manager/nm-dhcp-manager.c
13360                 - Loose a commit race with Robert; make sure size check
13361                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13362
13363 2006-02-05  Robert Love  <rml@novell.com>
13364
13365         Patch by Christoph Brill <chrisbrill@gmx.net>:
13366         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13367           with DHCP_SERVICE_NAME.
13368
13369 2006-02-05  Dan Williams  <dcbw@redhat.com>
13370
13371         Remove anything having to do with device_setup_func from the
13372         AP security objects, since it's no longer used.
13373
13374         * src/nm-ap-security.h
13375                 - Kill device_setup_func and nm_ap_security_device_setup()
13376
13377         * src/nm-ap-security-wep.c
13378           src/nm-ap-security-wpa-psk.c
13379                 - (real_device_setup): remove
13380
13381         * src/nm-ap-security.c
13382                 - (real_device_setup): remove
13383                 - (nm_ap_security_device_setup): remove
13384
13385         * src/nm-device-802-11-wireless.[ch]
13386                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13387                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13388                         and done by wpa_supplicant now anyway
13389
13390 2006-02-05  Dan Williams  <dcbw@redhat.com>
13391
13392         * src/nm-device-802-11-wireless.c
13393                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13394                         settings on us.  Previously NM would loop asking for the
13395                         key but getting the same one back.  Now, if the NMI-supplied
13396                         cipher doesn't overlap with the scanned AP capabilities,
13397                         we request a completely new key from the user.
13398
13399 2006-02-05  Dan Williams  <dcbw@redhat.com>
13400
13401         * src/NetworkManagerUtils.c
13402                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13403                         Handle newline killing better
13404
13405 2006-02-05  Dan Williams  <dcbw@redhat.com>
13406
13407         * gnome/applet/nm-gconf-wso.c
13408                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13409                         of unencrypted access point security info.
13410
13411 2006-02-03  Robert Love  <rml@novell.com>
13412
13413         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13414           user's encryption key, so we print the err_msg_cmd not the command,
13415           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13416           sense.
13417
13418 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13419
13420         * initscript/RedHat/NetworkManagerDispatcher.in:
13421         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13422         Patch from Dan Walsh <dwalsh@redhat.com>
13423
13424 2006-02-03  Robert Love  <rml@novell.com>
13425
13426         * dispatcher-daemon/NetworkManagerDispatcher.c,
13427           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13428           but use the sysconfdir.
13429
13430 2006-02-03  Robert Love  <rml@novell.com>
13431
13432         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13433           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13434           'char *'.
13435         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13436           nm_ip4_config_get_hostname() and
13437           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13438         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13439           leak g_strdup() result.
13440
13441 2006-02-03  Robert Love  <rml@novell.com>
13442
13443         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13444           broadcast == TRUE.  Also, copy broadcast and artificial properties
13445           from source network to destination in nm_ap_copy().
13446         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13447           since we now default new networks to non-hidden.
13448
13449 2006-02-03  Dan Williams  <dcbw@redhat.com>
13450
13451         * gnome/applet/main.c
13452                 - (main): change the NEVER->ALWAYS so we start at the
13453                         beginning of the session, if being session-managed
13454
13455 2006-02-03  Dan Williams  <dcbw@redhat.com>
13456
13457         * gnome/applet/main.c
13458                 - (main): in a variation on Robert's patch, change
13459                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13460                         he wants.
13461
13462 2006-02-02  Robert Love  <rml@novell.com>
13463
13464         * src/Makefile.am: If we aren't going to create the run directory at,
13465           uh, run-time, create it during install.  Then users just doing
13466           'make install' are cool, too.  While we are here, create the
13467           dispatcher.d directory, too.
13468         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13469           the exact run directory.
13470         * Makefile.am: Install nm-applet.desktop.
13471
13472 2006-02-02  Robert Love  <rml@novell.com>
13473
13474         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13475           structure, which denotes whether or not the AP is hidden.  This is a
13476           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13477           can show up in the scan list.  Add nm_ap_get_broadcast() and
13478           nm_ap_set_broadcast() accessor interfaces.
13479         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13480           nm_ap_set_broadcast().
13481         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13482           "getProperties" method, which denotes whether or not the given
13483           network is hidden.
13484         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13485           an artificial network.  Set broadcast to TRUE when scanning returns
13486           an ESSID and FALSE when not.
13487         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13488           from "getProperties" method on a network.  Possible TODO is to
13489           somehow display this.
13490         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13491
13492 2006-02-02  Dan Williams  <dcbw@redhat.com>
13493
13494         * src/nm-device-802-11-wireless.c
13495                 - (supplicant_interface_init): don't try to create
13496                         /var/run/NetworkManager, since that should be done by
13497                         the distro package.  Causes problems for stuff like SELinux
13498
13499 2006-02-02  Robert Love  <rml@novell.com>
13500
13501         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13502         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13503           Check for and handle empty string for iface.
13504
13505 2006-02-01  Robert Love  <rml@novell.com>
13506
13507         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13508           manpage.
13509
13510 2006-01-31  Dan Williams  <dcbw@redhat.com>
13511
13512         * nm-applet.desktop
13513                 - Add --sm-disable to Exec arguments, presuming that when
13514                         using autostart, we don't want session management
13515
13516 2006-01-31  Robert Love  <rml@novell.com>
13517
13518         * src/NetworkManagerAP.c: Add two new manufacturer default network
13519           names: linksys-a and linksys-g.  These are found (at least) on the
13520           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13521           own ESSID.
13522
13523 2006-01-31  Robert Love  <rml@novell.com>
13524
13525         * src/NetworkManagerAP.c: Optimize the function
13526           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13527           machine code.  This is the first in a series of code tweaks aiming to
13528           generate better machine code and make NetworkManager all the better.
13529           Just kidding.  Who has time to go through the assembly generated for
13530           every function?  I certainly don't.  I have a wife, a kid, a job,
13531           a mortgage, a mistress.  But this function was so bad, I was called
13532           to arms.  Like the book.
13533
13534 2006-01-31  Robert Love  <rml@novell.com>
13535
13536         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13537           AP is not broadcasting, to scan with probe request frames.  Required
13538           for non-broadcast networks.
13539
13540 2006-01-31  Robert Love  <rml@novell.com>
13541
13542         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13543           preprocessor define (still 20s).  Fix message text in nm_info()
13544           s/too too/took too/.
13545
13546 2006-01-30  Dan Williams  <dcbw@redhat.com>
13547
13548         * src/nm-device-802-11-wireless.c
13549                 - (supplicant_monitor_start): increase connect/auth timeout to
13550                         20 seconds from 10 seconds
13551
13552 2006-01-30  Dan Williams  <dcbw@redhat.com>
13553
13554         * src/Makefile.am
13555                 - Define LOCALSTATEDIR
13556
13557         * src/nm-device-802-11-wireless.c
13558                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13559                         socket where we want it to
13560
13561         * src/wpa_ctrl.[ch]
13562                 - (wpa_ctrl_open): accept location to put local control socket
13563
13564 2006-01-30  Robert Love  <rml@novell.com>
13565
13566         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13567           get_ip4_string() for "domain_name".
13568
13569 2006-01-30  Robert Love  <rml@novell.com>
13570
13571         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13572           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13573           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13574           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13575           support for "Automatic" pairwise and group cipher configuration by
13576           letting wpa_supplicant handle the details.  Add UI elements, new
13577           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13578           charm.  Note this does more than add a nice feature, it fixes a bug.
13579           Apparently, some people have AP's where the pairwise cipher does not
13580           match the group cipher.  Insane, but true.
13581
13582 2006-01-30  Dan Williams  <dcbw@redhat.com>
13583
13584         * gnome/applet/applet-dbus-devices.c
13585                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13586                         functions, grab device driver name from NetworkManager
13587                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13588
13589         * gnome/applet/applet.c
13590                 - (nmwa_update_info): show driver name in Connection Information
13591                         dialog
13592
13593         * gnome/applet/nm-device.[ch]
13594                 - (network_device_get_driver, network_device_set_driver): add
13595                         accessors for driver name
13596
13597         * gnome/applet/wireless-applet.glade
13598                 - Add line for driver name to Connection Information dialog
13599
13600         * src/nm-dbus-device.c
13601                 - (nm_dbus_device_get_driver): new function to return driver name
13602                 - (nm_dbus_device_methods): hook up driver name function to dbus
13603
13604         * test/nm-tool.c
13605                 - (get_driver_name): new function
13606                 - (detail_device): grab and show driver name
13607
13608 2006-01-30  Robert Love  <rml@novell.com>
13609
13610         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13611           does not parse the markup if it is not part of the format.
13612
13613 2006-01-30  Robert Love  <rml@novell.com>
13614
13615         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13616           FALSE, we have no security options for this dialog, so we throw up
13617           an error dialog instead of a broken passphrase dialog.  Fixes
13618           Novell #138404.
13619         * gnome/applet/wireless-security-manager.c,
13620           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13621           does not add any security options, not even NONE, print a warning
13622           and return FALSE.  This let's functions constructing a dialog bail
13623           out if the device's capabilities and the network's requirements have
13624           zero overlap.
13625
13626 2006-01-27  Robert Love  <rml@novell.com>
13627
13628         * configure.in: Require wpa_supplicant.  Detect location of binary and
13629           use it.  Override with "--with-wpa_supplicant=foo".
13630         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13631           path to wpa_supplicant but use the auto-detected or user-provided
13632           value from configure.
13633
13634 2006-01-27  Robert Love  <rml@novell.com>
13635
13636         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13637           but the DHCP server did not return a hostname, try to look up our
13638           name via DNS and set the system hostname to that.
13639
13640 2006-01-27  Dan Williams  <dcbw@redhat.com>
13641
13642         * src/backends/NetworkManagerRedHat.c
13643                 - Add NM_CONTROLLED system network script support for RH/Fedora
13644
13645 2006-01-27  Dan Williams  <dcbw@redhat.com>
13646
13647         * src/backends/NetworkManagerGentoo.c
13648                 - (nm_system_device_get_disabled): add missing function.
13649                         Gnome BZ #328780
13650
13651 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13652
13653         * configure.in: Added vi in ALL_LINGUAS line.
13654         
13655 2006-01-26  Robert Love  <rml@novell.com>
13656
13657         * src/Makefile.am, src/kernel-types.h: Now that two different source
13658           files are feeling the crack-addled leakage of kernel types such as
13659           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13660           types in user-space -- define a header and include it as needed.
13661         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13662         * src/nm-device-802-3-ethernet.h: Remove defines.
13663         * src/wpa.c: Remove defines and include kernel-types.h.
13664
13665 2006-01-26  Robert Love  <rml@novell.com>
13666
13667         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13668           work.
13669
13670 2006-01-26  Robert Love  <rml@novell.com>
13671
13672         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13673         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13674           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13675           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13676           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13677           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13678           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13679           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13680           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13681           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13682           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13683           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13684           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13685           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13686           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13687           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13688           Kill unused variables, labels, and static functions.  Don't pass
13689           string literals as the format string for printf-like functions.
13690
13691 2006-01-25  Dan Williams  <dcbw@redhat.com>
13692
13693         * gnome/applet/wireless-applet.glade
13694                 - Remove WPA2 Checkbox
13695
13696         * gnome/applet/wireless-security-manager.c
13697                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13698                         This means the Wireless Security menu now has two WPA options,
13699                         one for "WPA Personal" and one for "WPA2 Personal"
13700
13701         * gnome/applet/wso-wpa-psk.[ch]
13702                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13703                         'wpa2' argument to determine WPA version to use
13704                 - (append_dbus_params_func): pass stored WPA version to cipher
13705                         rather than using the (removed) checkbox
13706
13707 2006-01-24  Robert Love  <rml@novell.com>
13708
13709         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13710           before we g_strdup(), not the ultimate string.
13711
13712 2006-01-23  Dan Williams  <dcbw@redhat.com>
13713
13714         * src/NetworkManagerAP.[ch]
13715                 - (nm_ap_new_from_ap): copy original essid too
13716                 - (nm_ap_unref): free original essid
13717                 - (nm_ap_get_orig_essid): new function
13718                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13719                         but keep original essid around too
13720
13721         * src/nm-device-802-11-wireless.c
13722                 - (supplicant_send_network_config): send wpa_supplicant the
13723                         _original_ essid, and not as a string, but in hex.  Should
13724                         allow us to connect to more APs that use wierd character
13725                         encodings for their essids
13726
13727         * utils/nm-utils.[ch]
13728                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13729                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13730                         use the current locale as a hint for what encoding the essid
13731                         might be in.  Obviously not 100% accurate, but the idea here is
13732                         that if a user's locale is ex. ja_JP, they are more likely than
13733                         not to be in Japan, where access points will likely be in some
13734                         Japanese encoding.
13735
13736 2006-01-23  Dan Williams  <dcbw@redhat.com>
13737
13738         * libnm-util/cipher-private.h
13739           libnm-util/cipher.c
13740           libnm-util/cipher.h
13741                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13742
13743 2006-01-23  Robert Love  <rml@novell.com>
13744
13745         Patch by Timo Hoenig <thoenig@suse.de>:
13746         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13747           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13748           by DHCP and pass it to the backends, allowing distribution-specific
13749           behavior with respect to the DHCP-supplied hostname (if nothing else,
13750           some distributions might not want to set the hostname).
13751         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13752           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13753           Also update our NIS behavior.
13754         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13755           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13756           Add stub functions.
13757
13758 2006-01-23  Robert Love  <rml@novell.com>
13759
13760         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13761           gnome-session does autostart.  TODO: We need to install this to
13762           $prefix/share/autostart/.
13763
13764 2006-01-22  Dan Williams  <dcbw@redhat.com>
13765
13766         * src/NetworkManagerAP.[ch]
13767           src/nm-dbus-nmi.c
13768           src/nm-device-802-11-wireless.c         
13769                 - Make nm_ap_get_essid return "const char *"
13770
13771 2006-01-22  Dan Williams  <dcbw@redhat.com>
13772
13773         * src/NetworkManagerAP.[ch]
13774                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13775
13776         * src/NetworkManagerAPList.[ch]
13777                 - (nm_ap_list_diff): removed
13778                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13779                         deal with access points changing essids on us
13780
13781         * src/nm-device-802-11-wireless.c
13782                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13783                         src/NetworkManagerAPList.c
13784                 - (real_can_interrupt_activation): new function; allow interruption
13785                         of device activation if we are waiting for a network key
13786
13787         * src/NetworkManagerPolicy.c
13788                 - (nm_policy_device_change_check): allow interruption of currently
13789                         activating devices if the device allows it.  Previous behavior
13790                         would refuse to activate a just-plugged wired device if a
13791                         wireless device was waiting for a key.
13792
13793         * src/nm-device.[ch]
13794                 - (nm_device_can_interrupt_activation): new function; ask devices
13795                         whether their activation can be interrupted
13796
13797 2006-01-20  Robert Love  <rml@novell.com>
13798
13799         * Makefile.am, configure.in: Add new man subdirectory.
13800         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13801           man/Makefile.am: Add man pages for NetworkManager and its
13802           crime-solving bumbling buddy, NetworkManagerDispatcher.
13803         * man/.cvsignore: Add.
13804         * initscript/Debian/NetworkManager,
13805           initscript/Gentoo/NetworkManager.in,
13806           initscript/RedHat/NetworkManager.in,
13807           initscript/RedHat/NetworkManagerDispatcher.in,
13808           initscript/SUSE/networkmanager-dispatcher.in,
13809           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13810
13811 2006-01-20  Robert Love  <rml@novell.com>
13812
13813         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13814           instead of queuing.  This prevents the running of multiple NM
13815           daemons concurrently, which does not work whatsoever and results in
13816           neither daemon working correctly.  Also, we don't handle queuing and
13817           name-owner-changes, anyhow.
13818
13819 2006-01-20  Robert Love  <rml@novell.com>
13820
13821         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13822         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13823           to sbin, not bin.
13824
13825 2006-01-19  Robert Love  <rml@novell.com>
13826
13827         * configure.in: Require hal 0.5.0 or later.
13828
13829 2006-01-18  Robert Love  <rml@novell.com>
13830
13831         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13832           Allow backends to flag a device (in whatever distro-dependent way
13833           they so desire) as disabled.  NM will ignore any such device.
13834         * src/backends/NetworkManagerDebian.c,
13835           src/backends/NetworkManagerRedHat.c,
13836           src/backends/NetworkManagerSlackware.c: Add stub function
13837           nm_system_device_get_disabled() that always returns FALSE (enabled).
13838         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13839           SUSE-specific configuration structure.  Fill it in from the
13840           NM_CONTROLLED variable in the system networking scripts.  If this var
13841           exists and is "no", we ignore the device.
13842
13843 2006-01-17  Robert Love  <rml@novell.com>
13844
13845         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13846           identical for NM.  For a full discussion, see the thread at
13847           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13848
13849 2006-01-17  Dan Williams  <dcbw@redhat.com>
13850
13851         * src/nm-device.c
13852                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13853                         function.  Fixes crash when wired DHCP fails.
13854
13855 2006-01-16  Robert Love  <rml@novell.com>
13856
13857         * src/Makefile.am: Don't install NMLoadModules
13858         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13859           from src/ to test/ as no one uses it anymore.  Note that I would be
13860           fine with removing it altogether.
13861
13862 2006-01-16  Robert Love  <rml@novell.com>
13863
13864         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13865           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13866           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13867           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13868           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13869           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13870           declarations, ever.
13871         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13872           NM_STATE_DISCONNECTED is zero).
13873
13874 2006-01-16  Robert Love  <rml@novell.com>
13875
13876         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13877           uninitialized parameter and buffer overflow.  Novell #143496.
13878
13879 2006-01-16  Dan Williams  <dcbw@redhat.com>
13880
13881         Apply the PtP Address bits of a patch from Tim Niemueller
13882
13883         * src/nm-ip4-config.[ch]
13884                 - Add ip4_ptp_address member to object
13885                 - (nm_ip4_config_copy): copy ptp address too
13886                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13887                         new functions
13888                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13889                         rather than local tunnel ip address
13890
13891         * src/vpn-manager/nm-vpn-service.c
13892                 - (print_vpn_config): update for PtP address
13893                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13894                         DBusMessageIters in preparation for getting routes from the VPN
13895                         service daemons too
13896
13897         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13898                 - (send_config_info): update for PtP address, clean up code
13899                 - (main): update for PtP address, clean up code, fix typo
13900
13901         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13902                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13903
13904         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13905                 - (pptp_ip_up): update for PtP address
13906
13907         * vpn-daemons/pptp/src/nm-pptp-service.c
13908                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13909
13910         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13911                 - (print_vpn_config): update for PtP address
13912                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13913
13914 2006-01-16  Dan Williams  <dcbw@redhat.com>
13915
13916         * gnome/applet/applet.c
13917                 - (nmwa_add_networks_helper): don't indicate an active network
13918                         if NM is disconnected or asleep
13919
13920 2006-01-16  Dan Williams  <dcbw@redhat.com>
13921
13922         * src/NetworkManagerPolicy.c
13923                 - (nm_policy_device_change_check): switch devices if we lose the link
13924                         on an ethernet device. 
13925
13926 2006-01-16  Dan Williams  <dcbw@redhat.com>
13927
13928         * gnome/applet/wso-wpa-psk-hex.[ch]
13929                 - Renamed -> wso-wpa-psk.[ch]
13930
13931         * gnome/applet/wso-wpa-psk.[ch]
13932                 - New files
13933
13934         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13935                 - Removed, rolled into wso-wpa-psk.[ch]
13936
13937         * gnome/applet/Makefile.am
13938                 - Updated for above changes
13939
13940         * gnome/applet/wireless-applet.glade
13941                 - Consolidate WPA-PSK options into one notebook
13942                         widget, and make dialogs invisible by default
13943                         to fix screen oddities
13944
13945         * gnome/applet/wireless-security-manager.c
13946                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13947                         than both the old hex & passphrase ones
13948
13949 2006-01-16  Dan Williams  <dcbw@redhat.com>
13950
13951         * gnome/applet/other-network-dialog.c
13952                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13953
13954 2006-01-16  Dan Williams  <dcbw@redhat.com>
13955
13956         * gnome/applet/applet.c
13957                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13958                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13959                         prevention to realize window before trying to get server
13960                         time
13961
13962         * gnome/applet/other-network-dialog.c
13963                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13964                         prevention to realize window before trying to get server
13965                         time
13966
13967         * gnome/applet/passphrase-dialog.c
13968                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13969                         prevention to realize window before trying to get server
13970                         time
13971
13972 2006-01-16  Robert Love  <rml@novell.com>
13973
13974         Patch from Timo Hoenig  <thoenig@suse.de:
13975         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13976           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13977           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13978           libnm-util/dbus-helpers.h: add checks whether headers are used
13979           within a C++ build.
13980
13981 2006-01-16  Dan Williams  <dcbw@redhat.com>
13982
13983         * gnome/applet/wireless-security-option.c
13984                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13985
13986 2006-01-16  Dan Williams  <dcbw@redhat.com>
13987
13988         * libnm-util/cipher-wpa-psk-passphrase.c
13989                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13990                         be 8 - 63 characters inclusive
13991
13992 2006-01-16  Dan Williams  <dcbw@redhat.com>
13993
13994         * src/nm-dbus-nm.c
13995                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13996
13997 2006-01-13  Robert Love  <rml@novell.com>
13998
13999         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14000         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14001           modules that do not use an interface.
14002
14003 2006-01-13  Dan Williams  <dcbw@redhat.com>
14004
14005         * src/nm-device.c
14006           src/nm-device.h
14007                 - Allow subclasses to implement deactivate_quickly()
14008                 - (nm_device_deactivate_quickly): call subclass
14009                         deactivate_quickly() methods
14010                 - (nm_device_set_active_link): small cleanups, and don't
14011                         deactivate the device right away because we risk a deadlock
14012                         when called from device thread, waiting for the device
14013                         thread to cancel activation
14014
14015         * src/nm-device-802-11-wireless.c
14016                 - (real_deactivate_quickly): new function
14017                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14018                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14019                         so that we kill the supplicant when we sleep too
14020                 - (supplicant_interface_init): work around naive naming attempts of
14021                         wpa_ctrl when naming sockets
14022
14023 2006-01-13  Dan Williams  <dcbw@redhat.com>
14024
14025         * src/nm-device-802-11-wireless.c
14026                 - (supplicant_cleanup): delete old device control sockets too
14027                 - (supplicant_get_device_socket_path): new function to consolidate
14028                         locations that need a path to a device's control socket
14029
14030 2006-01-12  Robert Love  <rml@novell.com>
14031
14032         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14033           description so that the description is unique for each
14034           pair (device,provider).  Fixes Novell #142773.
14035
14036 2006-01-12  Dan Williams  <dcbw@redhat.com>
14037
14038         * src/nm-device-802-11-wireless.c
14039                 - (supplicant_exec): ensure GError is correctly initialized
14040                         Reported by Diego González (gnome.org #326708)
14041
14042 2006-01-11  Robert Love  <rml@novell.com>
14043
14044         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14045           define if_mii(), open code the same results, and do so without any
14046           type punning.
14047
14048 2006-01-11  Robert Love  <rml@novell.com>
14049
14050         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14051           that wso_foo_new() returned non-NULL.  Instead, only append the new
14052           wso to wsm->options if the wso is non-NULL.  The crux is that we
14053           assume that the relevant key types are implied by WEP and WPA as
14054           appropriate.  To be sure, they should be, but we should not expect
14055           drivers to not be oozing piles of wolf fecal matter.
14056
14057 2006-01-11  Robert Love  <rml@novell.com>
14058
14059         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14060         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14061           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14062           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14063           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14064           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14065           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14066         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14067           comparing values within DBL_EPSILON.  Also fix shadowed variable
14068           usage.
14069
14070 2006-01-11  Dan Williams  <dcbw@redhat.com>
14071
14072         Add options for WPA2 and WPA1+CCMP (AES).
14073
14074         * gnome/applet/wireless-applet.glade
14075                 - Add UI bits for WPA+CCMP
14076
14077         * gnome/applet/other-network-dialog.c
14078                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14079                         and don't allow creation of WPA2 Ad-Hoc networks since
14080                         wpa_supplicant doesn't support them
14081
14082         * gnome/applet/wireless-security-manager.c
14083                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14084                         on to the specific wireless security option being created
14085
14086         * gnome/applet/wireless-security-option.[ch]
14087                 - (wso_wpa_create_key_type_model): new utility function to create
14088                         the model required for WPA Key Type combo box
14089
14090         * gnome/applet/wso-private.h
14091           gnome/applet/wireless-security-option.h
14092                 - Move private function prototypes into wso-private.h
14093
14094         * gnome/applet/wso-wpa-psk-hex.[ch]
14095           gnome/applet/wso-wpa-psk-passphrase.[ch]
14096                 - (append_dbus_params_func): get WPA version from checkbox and pass
14097                         it to the dbus serialization helper
14098                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14099                         key type combo changes
14100                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14101                         model and options
14102
14103         * libnm-util/cipher-wpa-psk-hex.c
14104           libnm-util/cipher-wpa-psk-passphrase.c
14105                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14106                         new function; allow the cipher to be changed after object creation
14107
14108         * src/nm-ap-security-wpa-psk.c
14109                 - (set_description): Do WPA2 descriptions too
14110
14111         * src/nm-ap-security.c
14112                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14113
14114 2006-01-11  Robert Love  <rml@novell.com>
14115
14116         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14117           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14118           from the ifreq structure in lieu of an open coded solution.  Removes
14119           a life-threatening type-punning.
14120         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14121           types, ever, whatsoever, baby.
14122
14123 2006-01-11  Robert Love  <rml@novell.com>
14124
14125         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14126           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14127           assignments to applet->nm_state into a new nmwa_set_state() function
14128           for both cleanliness and to help debugging.
14129
14130 2006-01-10  Robert Love  <rml@novell.com>
14131
14132         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14133           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14134           seconds, exclusive.  That is, we want to sleep x seconds such that
14135           1 < x < 2.
14136
14137 2006-01-10  Robert Love  <rml@novell.com>
14138
14139         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14140           the attr fields according to the example in the email available at
14141           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14142           Conversely, we do have to free 'name', so we do so, fixing a leak.
14143
14144 2006-01-10  Robert Love  <rml@novell.com>
14145
14146         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14147           sure that we close the socket!
14148
14149 2006-01-10  Robert Love  <rml@novell.com>
14150
14151         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14152           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14153           src/nm-device.c: Fix a FIXME!  Reimplement the function
14154           nm_device_update_hw_address() in device subclass variants,
14155           nm_device_802_3_ethernet_set_address() and
14156           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14157           This fixes the existing bug where MAC addresses are all zeros.
14158
14159 2006-01-10  Robert Love  <rml@novell.com>
14160
14161         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14162           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14163           option to give users ability to globally disconnect and put NM to
14164           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14165           clean disconnect.
14166
14167 2006-01-09  Robert Love  <rml@novell.com>
14168
14169         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14170           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14171           User-space does not supply these types, so we have to define them
14172           ourselves.  The relevant kernel maintainer refused to accept a patch
14173           switching these headers to the proper C99 types.
14174
14175 2006-01-09  Dan Williams  <dcbw@redhat.com>
14176
14177         Apply Robert's 'tray icon redo' patch with fixes
14178         * gnome/applet/applet.c
14179           gnome/applet/applet.h
14180                 - Instead of using a menu bar + menu item, simulate menu
14181                         behavior using a popup menu.  Highlight the area around
14182                         the icon more like a menu too, by playing with the
14183                         applet's size requisition
14184
14185 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14186         * libnm-util/dbus-helpers.c
14187           libnm-util/dbus-helpers.h
14188                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14189                         to 'exception_namespace' (:namespace is a keyword in
14190                         C++)
14191
14192 2006-01-09  Dan Williams  <dcbw@redhat.com>
14193
14194         * src/NetworkManagerPolicy.c
14195                 - (nm_policy_device_change_check): don't autoswitch away from
14196                         Ad-Hoc networks, since there's really no concept of
14197                         "link"
14198
14199         * src/nm-dbus-nm.c
14200                 - (nm_dbus_nm_create_wireless_network): mark created networks
14201                         as Ad-Hoc networks
14202
14203         * src/nm-device-802-11-wireless.c
14204                 - (real_activation_success_handler): add user-created Ad-Hoc
14205                         networks to the device's scan list
14206
14207 2006-01-08  Dan Williams  <dcbw@redhat.com>
14208
14209         We now require a patch for wpa_supplicant to support Ad-Hoc
14210         networks:
14211           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14212
14213         * src/nm-device-802-11-wireless.c
14214                 - (supplicant_send_network_config): turn off wpa_supplicant's
14215                         scanning.  Fixes Ad-Hoc networks.
14216
14217 2006-01-08  Dan Williams  <dcbw@redhat.com>
14218
14219         * src/nm-ap-security.c
14220           src/nm-ap-security.h
14221                 - Add a user_created argument to the write_supplicant_config
14222                         functions
14223
14224         * src/nm-ap-security-wep.c
14225           src/nm-ap-security-wpa-psk.c
14226           src/nm-device-802-11-wireless.c
14227                 - Make Ad-Hoc mode somewhat work, at least write the
14228                         correct options to wpa_supplicant
14229
14230 2006-01-08  Dan Williams  <dcbw@redhat.com>
14231
14232         * src/nm-device-802-11-wireless.c
14233                 - Remove unused code from the old device activation path
14234
14235 2006-01-08  Dan Williams  <dcbw@redhat.com>
14236
14237         * libnm-util/dbus-helpers.c
14238                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14239                         dbus when key == NULL
14240
14241 2006-01-08  Dan Williams  <dcbw@redhat.com>
14242
14243         * gnome/applet/nm-gconf-wso-wpa-psk.c
14244                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14245                         correct arguments to nmu_security_deserialize_wpa_psk()
14246
14247         * src/nm-ap-security-wpa-psk.c
14248                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14249                         arguments to nmu_security_deserialize_wpa_psk()
14250
14251 2006-01-08  Dan Williams  <dcbw@redhat.com>
14252
14253         * gnome/applet/wso-wpa-psk-hex.c
14254           gnome/applet/wso-wpa-psk-passphrase.c
14255                 - Hook up the append_dbus_params_func() function
14256
14257 2006-01-08  Dan Williams  <dcbw@redhat.com>
14258
14259         * src/nm-device-802-11-wireless.c
14260                 - (get_wireless_capabilities): correctly detect driver WPA
14261                         capabilities
14262
14263 2006-01-08  Dan Williams  <dcbw@redhat.com>
14264
14265         * gnome/applet/Makefile.am
14266           gnome/applet/wso-wpa-psk-hex.c
14267           gnome/applet/wso-wpa-psk-hex.h
14268                 - New files, implement WPA-PSK Hex key input
14269
14270         * gnome/applet/wireless-applet.glade
14271                 - Change existing wpa-psk stuff to wpa-psk-hex
14272                 - Add new widgets for wpa-psk-passphrase
14273
14274         * gnome/applet/wireless-security-manager.c
14275                 - (wsm_set_capabilities): enable WPA options
14276
14277         * gnome/applet/wso-wpa-psk-passphrase.c
14278                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14279                         for WPA-PSK passphrase
14280
14281 2006-01-08  Dan Williams  <dcbw@redhat.com>
14282
14283         * include/NetworkManager.h
14284                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14285                         applet/info-daemons
14286
14287         * gnome/applet/passphrase-dialog.c
14288                 - Use the constant.  Fixes a bug where the arguments to
14289                         dbus_message_new_error() were incorrect
14290
14291         * src/nm-dbus-nmi.c
14292                 - Use the constant
14293
14294 2006-01-07  Dan Williams  <dcbw@redhat.com>
14295
14296         * src/nm-device-802-11-wireless.c
14297                 - Add a link timeout so we allow the supplicant time to
14298                         reassociate if it can, before we deactivate the card
14299                 - Fix up link status and link updating so things work better
14300
14301 2006-01-07  Dan Williams  <dcbw@redhat.com>
14302
14303         * src/nm-device-802-11-wireless.c
14304                 - Switch over to using wpa_supplicant
14305                 - Add a timeout of 10s for association of the supplicant
14306                 - Start the monitor callback of the supplicant
14307
14308 2006-01-07  Dan Williams  <dcbw@redhat.com>
14309
14310         * src/NetworkManagerUtils.c
14311                 - (nm_utils_supplicant_request,
14312                   nm_utils_supplicant_request_with_check):
14313                         pass correct buffer length to wpa_ctrl_request()
14314
14315 2006-01-07  Dan Williams  <dcbw@redhat.com>
14316
14317         * src/nm-device-private.h
14318           src/nm-device.c
14319                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14320                         this function available to subclasses
14321
14322 2006-01-06  Robert Love  <rml@novell.com>
14323
14324         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14325           user plugging in a network cable signals their preference for to
14326           switch, unless the user explicitly selected a wireless network and
14327           therefore signaled their preference for said wireless network over
14328           wired.  In other words, do exactly what makes sense.
14329
14330 2006-01-06  Robert Love  <rml@novell.com>
14331
14332         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14333           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14334           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14335           showing up in my greps.
14336
14337 2006-01-06  Robert Love  <rml@novell.com>
14338
14339         * gnome/applet/applet-dbus-devices.c,
14340           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14341           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14342           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14343           New Network' both failed in the non-encrypted case because we were
14344           not appending the security options to the DBUS message.  And
14345           'Connect to Other' was also failing in the encrypted case because
14346           we were not incrementing to the next DBUS parameter.  All fixed.
14347           Thanks to dcdw for some debugging help.
14348
14349 2006-01-06  Robert Love  <rml@novell.com>
14350
14351         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14352           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14353           hangup code and add per-device hangup.  Tie last commit into the
14354           GNOME applet.  TODO:  Save, understand, and respond to the state of
14355           each dialup device.
14356
14357 2006-01-06  Robert Love  <rml@novell.com>
14358
14359         Patch by Timo Hoenig <thoenig@suse.de>:
14360         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14361           hangup specific dialup devices.
14362         * src/backends/NetworkManagerDebian.c,
14363           src/backends/NetworkManagerGentoo.c,
14364           src/backends/NetworkManagerRedHat.c,
14365           src/backends/NetworkManagerSlackware.c: Add stub backend.
14366         * src/backends/NetworkManagerRedHat.c,
14367           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14368           hangup specific dialup devices.
14369
14370 2006-01-04  Robert Love  <rml@novell.com>
14371
14372         * gnome/applet/applet-dbus-devices.c,
14373           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14374           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14375           connections.
14376
14377 2006-01-04  Dan Williams  <dcbw@redhat.com>
14378
14379         First dump of wpa_supplicant-related code.  It's not hooked up to
14380         anything yet though.  Thanks to Kay Sievers for
14381         wpa_supplicant_wrapper.c, which formed the basis for this work,
14382         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14383
14384         * src/Makefile.am
14385           src/wpa_ctrl.[ch]
14386                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14387
14388         * src/NetworkManagerUtils.[ch]
14389                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14390                         Add convenience functions for talking to wpa_supplicant
14391
14392         * src/nm-ap-security.[ch]
14393           src/nm-ap-security-wep.c
14394           src/nm-ap-security-wpa-psk.[ch]
14395                 - Update and implement real_write_supplicant_config functions
14396                         in all security types
14397                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14398                         nm-ap-security-wpa-psk.c
14399
14400         * src/nm-device-802-11-wireless.c
14401                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14402                    wpa_supplicant_start, wpa_supplicant_interface_init,
14403                    wpa_supplicant_send_network_config): add functions to talk to
14404                         wpa_supplicant and write network config to it
14405
14406 2006-01-04  Robert Love  <rml@novell.com>
14407
14408         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14409           values so that distribution-backends can differentiate between the
14410           various types (modem, ISDN, et cetera) of dialup device that they
14411           support.
14412         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14413           needed.
14414
14415 2006-01-03  Dan Williams  <dcbw@redhat.com>
14416
14417         * src/NetworkManagerPolicy.c
14418           src/nm-device.[ch]
14419           src/nm-device-802-11-wireless.c
14420                 - Move wireless-specific activation failure and success code
14421                         into wireless device class
14422
14423 2006-01-03  Robert Love  <rml@novell.com>
14424
14425         Patch by Preggna S:
14426         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14427           IPsec does not require that a VPN client be bound to an interface,
14428           due to the use of the in-kernel IPSec bits.  So make the tunnel
14429           device optional.
14430
14431 2006-01-03  Dan Williams  <dcbw@redhat.com>
14432
14433         * src/NetworkManagerAP.c
14434                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14435                         the WPA IE specifies that WEP is supported
14436
14437         * src/nm-device-802-11-wireless.c
14438                 - (process_scan_results): don't mark an AP as supporting WEP
14439                         if there's already other encryption capability info
14440
14441 2006-01-03  Dan Williams  <dcbw@redhat.com>
14442
14443         * src/dhcp-manager/nm-dhcp-manager.c
14444                 - Recognize activation cancellation when waiting for DHCP
14445                         configuration from dhcdbd
14446                 - Ignore non-dhcdbd messages
14447
14448         * src/nm-device.c
14449                 - (real_act_stage3_ip_config_start): return to correct behavior
14450                         of letting the dhcp-manager notify us of failure or
14451                         success rather than incorrectly doing that ourselves
14452                 - (nm_device_activate_stage4_ip_config_get): deal with
14453                         activation cancellation a bit earlier
14454
14455 2006-01-03  Dan Williams  <dcbw@redhat.com>
14456
14457         * src/nm-device-802-11-wireless.c
14458           src/nm-device.[ch]
14459                 - Add hooks to subclasses for stage3_ip_config_start and
14460                         stage4_ip_config_timeout
14461
14462         * src/nm-device-802-3-ethernet.c
14463                 - (real_get_generic_capabilities): make devices NM-supported
14464                         by default
14465
14466 2006-01-03  Robert Love  <rml@novell.com>
14467
14468         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14469           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14470           latter cannot differentiate between error and the address -1; misc.
14471           clean up.
14472
14473 2006-01-03  Dan Williams  <dcbw@redhat.com>
14474
14475         * src/NetworkManager.c
14476                 - Move link-checking/probing into the device subclasses
14477                         themselves
14478
14479         * src/nm-device.[ch]
14480           src/nm-device-802-11-wireless.c
14481           src/nm-device-802-3-ethernet.c
14482                 - Do periodic link checking in device subclasses rather
14483                         than being triggered from NetworkManager.c
14484                 - discover_wireless_capabilities -> get_wireless_capabilities
14485                 - discover_generic_capabilities -> get_generic_capabilities
14486                 - Device subclass activation routines now return a value of type
14487                         NMActStageReturn to indicate what step to perform next
14488                 - Devices now override stage4_get_ip4_config if they choose
14489
14490 2006-01-01  Dan Williams  <dcbw@redhat.com>
14491
14492         * src/nm-device-802-11-wireless.c
14493                 - (real_init): don't chain up to parent init because we don't
14494                         need to do that anymore
14495
14496         * src/nm-device.c
14497                 - (discover_device_type): fix arguments to ioctl() to correctly
14498                         pass interface name
14499                 - (nm_device_new): consolidate generic device initialization into
14500                         nm_device_new()
14501                 - (real_init): remove, consolidated to nm_device_new()
14502                 - (nm_device_deactivate, real_deactivate): consolidate
14503
14504 2006-01-01  Dan Williams  <dcbw@redhat.com>
14505
14506         * src/nm-activation-request.c
14507                 - Change dhcp_state member of the NMActRequest structure
14508                         from guint8 to guint32
14509
14510         * src/dhcp-manager/nm-dhcp-manager.[ch]
14511                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14512                         than guint8 to match the dbus argument.  Turns out we were
14513                         overwriting memory since we were passing in only a guint8
14514
14515 2005-12-31  Dan Williams  <dcbw@redhat.com>
14516
14517         * refactor NMDevice into a GObject-based framework with separate
14518                 objects for wired and wireless.  The following files are no
14519                 longer used but should stick around for a bit so we don't
14520                 loose code through the cracks:
14521                         NetworkManagerDevice.c
14522                         NetworkManagerDevice.h
14523                         NetworkManagerWireless.c
14524                         NetworkManagerWireless.h
14525
14526         The intent here is to allow each device type to manage its own
14527         connection & activation life-cycle, ie to allow wireless devices
14528         to interface with wpa_supplicant, etc.  There's a fair bit of
14529         encapsulation breakage right now that should gradually get pulled
14530         back into each device, along with things like periodic property
14531         updates and link probing.
14532
14533 2005-12-29  Dan Williams  <dcbw@redhat.com>
14534
14535         * include/NetworkManager.h
14536                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14537                         between networks that don't have any encryption at all
14538
14539 2005-12-29  Dan Williams  <dcbw@redhat.com>
14540
14541         * test/test-common.c
14542           test/test-common.h
14543           test/Makefile.am
14544                 - Move to a test-common subdirectory
14545
14546         * test/libnm-util/test-ciphers.c
14547                 - Move test data to test-inputs.h
14548                 - Test WPA ciphers too
14549
14550         * test/libnm-util/test-dbus-helpers.c
14551                 - Test serialization/deserialization of ciphers
14552
14553 2005-12-29  Dan Williams  <dcbw@redhat.com>
14554
14555         * gnome/applet/applet-dbus-devices.c
14556                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14557                         in dbus calls to NM
14558                 - Set capabilities on WirelessNetwork objects
14559                 - Receive and save type-specific device capabilities too
14560
14561         * gnome/applet/applet-dbus-info.c
14562           gnome/applet/applet-dbus.c
14563                 - Passphrase dialog no longer a singleton; new instance gets created
14564                         on each request.  Updates to deal with that.
14565
14566         * gnome/applet/applet.c
14567                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14568                         than single 'encrypted' flag
14569                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14570                         menu items
14571                 - Passphrase dialog updates per above
14572
14573         * gnome/applet/menu-items.c
14574                 - (network_menu_item_update): use AP capabilities to determine
14575                         encryption
14576
14577         * gnome/applet/nm-device.[ch]
14578                 - Add accessors for type-specific device capabilities
14579
14580         * gnome/applet/other-network-dialog.c
14581                 - Rework to respect device capabilities.  i.e., if the device doesn't
14582                         support WPA, remove that option from the security dropdown
14583
14584         * gnome/applet/passphrase-dialog.c
14585                 - Massive rework so that a new instance is created each time
14586                         it's used, to support wireless network capabilities
14587
14588         * gnome/applet/wireless-network.[ch]
14589                 - Add accessors and members for wireless network capabilities
14590
14591         * gnome/applet/wireless-security-manager.[ch]
14592                 - (wsm_set_capabilities): called after creation to set which
14593                         security options get shown to the user
14594
14595 2005-12-29  Dan Williams  <dcbw@redhat.com>
14596
14597         * libnm-util/cipher-wpa-psk-passphrase.c
14598                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14599                         like other ciphers
14600
14601 2005-12-23  Dan Williams  <dcbw@redhat.com>
14602
14603         * gnome/applet/applet-dbus-info.c
14604                 - (nmi_dbus_get_key_for_network): if there's no entry in
14605                         GConf for a network, assume we want a new key
14606                 - (nmi_save_network_info): serialize wireless security info
14607                         into GConf so its saved
14608
14609         * src/nm-dbus-nm.c
14610                 - Fix warning as we may not be passed security info when
14611                         connecting to a wireless network
14612
14613 2005-12-23  Dan Williams  <dcbw@redhat.com>
14614
14615         * gnome/applet/applet-compat.c
14616                 - Fix bugs in GConf entry conversion
14617
14618         * gnome/applet/applet-dbus-info.c
14619                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14620                         list being zero-length
14621
14622         * libnm-util/cipher-*
14623           libnm-util/dbus-helpers.c
14624                 - All ciphers must now return hashed keys as UTF-8 valid
14625                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14626                         through dbus as strings too.
14627                 - Consolidate various functions that do bin->hex and hex->bin
14628                         conversion into cipher.c
14629
14630         * src/nm-ap-security-wep.c
14631           src/nm-ap-security-wpa-psk.c
14632                 - Handle NULL keys since we may not know keys right away
14633
14634         * src/nm-dbus-nmi.c
14635                 - (nm_dbus_get_network_data_cb): actually advance to the start
14636                         of the wireless security info before we try to deserialize it
14637
14638         * libnm-util/test-ciphers.c
14639                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14640
14641 2005-12-22  Dan Williams  <dcbw@redhat.com>
14642
14643         * gnome/applet/applet-compat.[ch]
14644                 - Convert old-format GConf and keyring entries
14645                         when the applet starts up.
14646
14647         * gnome/applet/applet.c
14648                 - (nmwa_get_instance): Call the conversion function
14649                         on startup before dbus is initialized
14650
14651 2005-12-22  Dan Williams  <dcbw@redhat.com>
14652
14653         * gnome/applet/applet-dbus-info.c
14654                 - Remove nmi_dbus_create_error_message() in favor of
14655                         nmu_create_dbus_error_message()
14656                 - (nmi_dbus_get_network_properties): Error message cleanups
14657                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14658                         gconf key rather than 'addresses', since they really are BSSIDs
14659                 - (nmi_dbus_get_network_properties): Dispose of the security
14660                         object when we're done with it
14661
14662 2005-12-21  Dan Williams  <dcbw@redhat.com>
14663
14664         * Consolidate the info-daemon's "updateNetworkInfo" and
14665                 "addNetworkAddress" calls into just "updateNetworkInfo"
14666
14667 2005-12-21  Dan Williams  <dcbw@redhat.com>
14668
14669         * Make connection after key retrieval work again
14670
14671 2005-12-21  Dan Williams  <dcbw@redhat.com>
14672
14673         * gnome/applet/nm-gconf-wso*
14674                 - Make the serialize functions return gboolean
14675                         rather than int
14676
14677         * gnome/applet/nm-gconf-wso.c
14678                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14679                         parent class handling so we don't segfault
14680
14681         * src/NetworkManagerAP.[ch]
14682                 - (nm_ap_get_capabilities): new function, return capabilities
14683                         now that something can use them
14684                 - (nm_ap_set_encrypted): assume that an access point supports
14685                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14686                         we even tell whether it just supports WEP40?
14687
14688         * src/NetworkManagerDevice.c
14689                 - (ap_need_key): resurrect and update for the New World Order
14690                 - (nm_device_wireless_get_activation_ap): if we're not given
14691                         security info to use, create some based on access point
14692                         capabilities
14693
14694         * src/nm-ap-security-wep.c
14695                 - (nm_ap_security_wep_new_from_ap): create a new object
14696                         based on a certain access point's capabilities
14697
14698         * src/nm-ap-security.c
14699                 - (nm_ap_security_new_from_ap): delegate creation of a new
14700                         object based on access point capabilities to a subclass
14701                 - (nm_ap_security_copy_properties): don't segfault if we
14702                         don't have a key yet
14703
14704         * src/nm-dbus-nm.c
14705                 - (nm_dbus_nm_set_active_device): provide more informative
14706                         output when errors occur.  Also construct security info
14707                         for a given access point if we weren't given any
14708
14709 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14710
14711         * configure.in: Added Lithuanian to ALL_LINGUAS.
14712
14713 2005-12-21  Dan Williams  <dcbw@redhat.com>
14714
14715         * test/libnm-util
14716                 - Add some testcases for WEP ciphers
14717
14718 2005-12-17  Dan Williams  <dcbw@redhat.com>
14719
14720         * Fix bugs
14721
14722 2005-12-17  Dan Williams  <dcbw@redhat.com>
14723
14724         * include/NetworkManager.h
14725                 - Finally kill NMEncKeyType
14726
14727         * gnome/applet/applet-dbus-info.c
14728                 - (nmi_save_network_info): convert to NMGConfWSO
14729
14730         * gnome/applet/nm-gconf-wso-*.c
14731                 - Implement gconf serialization functions
14732
14733         * src/NetworkManagerPolicy.c
14734                 - (nm_policy_activation_finish): fix up meaning of
14735                         automatic/user_requested
14736
14737 2005-12-17  Dan Williams  <dcbw@redhat.com>
14738
14739         * gnome/applet/*
14740                 - More applet cleanups
14741                 - Use the dbus-method-dispatcher
14742
14743         * libnm-util/dbus-method-dispatcher.[ch]
14744                 - Generalize the implementation from NM in
14745                         NetworkManagerUtils.c
14746
14747 2005-12-16  Dan Williams  <dcbw@redhat.com>
14748
14749         * gnome/applet/*
14750                 - Fix up the passphrase dialog to use all the
14751                         WirelessSecurityOption stuff (untested)
14752
14753 2005-12-16  Dan Williams  <dcbw@redhat.com>
14754
14755         * Move nm_gconf_get_*_helper() functions to separate files,
14756                 gconf-helpers.c & gconf-helpers.h
14757
14758         * New NMGConfWSO objects for managing the gconf side of things.
14759                 Eventually these should be merged with the
14760                 WirelessSecurityOption objects and a common base (that can
14761                 serialize/deserialize from dbus & gconf) should be
14762                 refactored out, but for now they are separate.
14763
14764 2005-12-16  Robert Love  <rml@novell.com>
14765
14766         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14767           binaries unless they exist (nm_spawn_process() emits a warning if
14768           asked to spawn a non-existant process).
14769
14770 2005-12-16  Dan Williams  <dcbw@redhat.com>
14771
14772         * gnome/applet/applet-dbus-info.c
14773                 - Clean up lots of gconf-related code
14774
14775 2005-12-16  Robert Love  <rml@novell.com>
14776
14777         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14778
14779 2005-12-16  Dan Williams  <dcbw@redhat.com>
14780
14781         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14782
14783         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14784                 bits still to be done)
14785
14786 2005-12-16  Dan Williams  <dcbw@redhat.com>
14787
14788         * Finally move info-daemon related stuff out of
14789                 NetworkManagerDbus.c to nm-dbus-nmi.c
14790
14791 2005-12-16  Dan Williams  <dcbw@redhat.com>
14792
14793         * Kill auth_method for access points, since that's now done
14794                 by NMAPSecurity objects
14795
14796         * Add a copy-constructor of sorts to NMAPSecurity
14797                 (how do you do this properly in glib???)
14798
14799 2005-12-15  Dan Williams  <dcbw@redhat.com>
14800
14801         * Exorcise encryption key hashing on APs
14802         * Use libnm-util's serialization/deserialization in both the
14803                 applet and NM
14804         * Random other stuff
14805
14806 2005-12-15  Robert Love  <rml@novell.com>
14807
14808         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14809           is being added to the icon naming spec, so let's use that (Tango CVS
14810           has the icon).  Because it is new, however, we fall back to the
14811           current "gnome-lockscreen" if the new icon is not around, thus
14812           behavior is the same.
14813         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14814           factory junk.
14815
14816 2005-12-15  Robert Love  <rml@novell.com>
14817
14818         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14819           well, help to give.  Couple other misc. bits.
14820
14821 2005-12-15  Dan Williams  <dcbw@redhat.com>
14822
14823         * libnm-util/dbus-helpers.[ch]
14824                 - Make this the one-stop-shop for serializing/deserializing
14825                         AP & connection security settings over dbus.  Both NM
14826                         and applets should use this to ensure consistent dbus
14827                         API going forwared.
14828
14829 2005-12-15  Robert Love  <rml@novell.com>
14830
14831         Patch by Timo Hoenig  <thoenig@suse.de>:
14832         * src/NetworkManagerDbus.c
14833                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14834                         if HAL jumps off the system bus.  Otherwise libdbus
14835                         (dbus_connection_dispatch) will try to run the filter
14836                         function of our libhal context which is already freed.
14837
14838 2005-12-15  Alexander Shopov  <ash@contact.bg>
14839
14840         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14841
14842 2005-12-14  Dan Williams  <dcbw@redhat.com>
14843
14844         * include/NetworkManager.h
14845           src/NetworkManagerWireless.c
14846                 - Rearrange 802.11 wireless-specific capabilities again
14847
14848         * src/Makefile.am
14849                 - Forgot to add wpa.c/wpa.h to the makefiles
14850
14851         * src/NetworkManagerAP.[ch]
14852                 - Implement access point capabilities and parse the
14853                         WPA/RSN IEs into the capability bitfield
14854                 - Switch the "encrypted" attribute to utilize the bitfield
14855                         and capabilities rather than being independent
14856
14857         * src/NetworkManagerDevice.c
14858                 - (nm_device_wireless_get_activation_ap): break it horribly
14859                         until we can push NMAPSecurity objects into access point
14860                         objects and through the activation chain
14861                 - Stuff WPA & RSN IEs into AP capabilities
14862
14863         * src/nm-dbus-nm.c
14864                 - Take a shot at actually making setActiveDevice work
14865
14866         * src/wpa.[ch]
14867                 - Make the API a bit saner
14868
14869 2005-12-14  Dan Williams  <dcbw@redhat.com>
14870
14871         * include/NetworkManager.h
14872                 - Add 802.11-specific capability for 802.1x key
14873                         management
14874
14875         * src/wpa.[ch]
14876                 - Pull in WPA IE and RSN IE parsing code from
14877                         wpa_supplicant so we can determine access point
14878                         capabilities
14879                 - Move WPA-related constants here from NetworkManagerAP.h
14880                         and NetworkManagerDevice.c
14881
14882         * src/NetworkManagerDevice.c
14883           src/NetworkManagerAP.[ch]
14884                 - Use WPA-related constants from wpa.h
14885
14886 2005-12-14  Dan Williams  <dcbw@redhat.com>
14887
14888         * include/NetworkManager.h
14889                 - Update and split 802.11 wireless-specific capabilities from
14890                         generic device capabilities
14891
14892         * src/NetworkManagerDevice.c
14893           src/NetworkManagerDevicePrivate.h
14894                 - (nm_device_wireless_discover_capabilities): Move 802.11
14895                         wireless-specific capability checks to
14896                         NetworkManagerWireless.c
14897                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14898                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14899
14900         * src/NetworkManagerWireless.[ch]
14901                 - (nm_802_11_wireless_discover_capabilities): Check extended
14902                         802.11 wireless-specific capabilities of the driver
14903
14904 2005-12-14  Robert Love  <rml@novell.com>
14905
14906         Patch from Stefan Scheler <sscheler@suse.de>:
14907         * src/NetworkManagerDevice.c: call backend code to activate and
14908           deactivate NIS.
14909         * src/NetworkManagerSystem.h: add new NIS interfaces.
14910         * src/backends/NetworkManagerDebian.c,
14911           src/backends/NetworkManagerGentoo.c,
14912           src/backends/NetworkManagerRedHat.c,
14913           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14914           support.
14915         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14916
14917 2005-12-14  Dan Williams  <dcbw@redhat.com>
14918
14919         * src/nm-ap-security*.[ch]
14920                 - Add AP security abstractions to NetworkManager
14921
14922         * src/nm-dbus-device.c
14923                 - Begin to parse new format dbus messages from the applet
14924                         and construct an AP security object from the message
14925
14926         * libnm-util/dbus-helpers.c
14927                 - Use message iters so we can append the key as a fixed
14928                         array of bytes, which actually works rather than
14929                         using dbus_message_append_args() as we were before
14930
14931 2005-12-14  Dan Williams  <dcbw@redhat.com>
14932
14933         * src/NetworkManagerDbus.c
14934           gnome/applet/applet-dbus.c
14935                 - Fix up dbus service replacement options.  The applet
14936                         should allow replacement, NM itself should not.
14937
14938 2005-12-13  Robert Love  <rml@novell.com>
14939
14940         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14941           Instead, fail silently if config is NULL by not asserting and not
14942           returning FALSE.  Also, make sure we always fclose() the file.
14943
14944 2005-12-13  Robert Love  <rml@novell.com>
14945
14946         Patch by Stefan Scheler <sscheler@suse.de>:
14947         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14948            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14949            via DHCP.  Still need the backends to commit the NIS domain name and
14950            and servers to yp.conf as needed.
14951
14952 2005-12-13  Robert Love  <rml@novell.com>
14953
14954         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14955           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14956
14957 2005-12-13  Robert Love  <rml@novell.com>
14958
14959         * src/named-manager/nm-named-manager.c: Don't unref the config until
14960           after we call rewrite_resolv_conf(), because get_last_default_domain()
14961           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14962           `config != NULL' failed" assertion failures and "Could not commit DNS
14963           changes" warnings.
14964
14965 2005-12-12  Dan Williams  <dcbw@redhat.com>
14966
14967         * libnm-util/dbus-helpers.[ch]
14968           libnm-util/Makefile.am
14969                 - new helper calls to consolidate locations where
14970                         NM's setDevice method is called
14971
14972         * gnome/applet/applet-dbus-devices.c
14973           gnome/applet/wireless-security-option.c
14974           gnome/applet/wso-*
14975                 - Implement dbus message param append function for
14976                         all wireless security options
14977
14978 2005-12-12  Robert Love  <rml@novell.com>
14979
14980         * libnm-util/cipher-wep-passphrase.c,
14981           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14982           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14983           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14984           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14985           When handling keys, we don't care what the sign is.  The compiler
14986           guarantees us that we get our 8-bits, which is all we care about.
14987         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14988
14989 2005-12-12  Dan Williams  <dcbw@redhat.com>
14990
14991         * gnome/applet/applet-dbus-devices.[ch]
14992           gnome/applet/applet.c
14993           gnome/applet/other-network-dialog.c
14994           gnome/applet/wireless-security-manager.[ch]
14995           gnome/applet/wireless-security-option.[ch]
14996           gnome/applet/wso-*
14997                 - Push the wireless security options further into the applet
14998
14999 2005-12-12  Robert Love  <rml@novell.com>
15000
15001         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15002           return any name servers.  That is perfectly valid.  (Novell #134369).
15003
15004 2005-12-11  Dan Williams  <dcbw@redhat.com>
15005
15006         * gnome/applet/wso-*
15007           gnome/applet/wireless-security-option.*
15008           gnome/applet/Makefile.am
15009                 - split each security option out so we can eventually
15010                         have each one build up their own dbus message
15011                         arguments to send to NM
15012
15013 2005-12-11  Dan Williams  <dcbw@redhat.com>
15014
15015         * Make validation of the key work correctly
15016
15017 2005-12-11  Dan Williams  <dcbw@redhat.com>
15018
15019         * Hook more bits of the Other Network Dialog up to the
15020                 wireless security manager stuff, and restructure
15021                 bits of the dialog so there's less code.
15022
15023 2005-12-10  Dan Williams  <dcbw@redhat.com>
15024
15025         * gnome/applet/Makefile.am
15026                 - Add libnm-util to includes
15027                 - Add libnm-util to link list
15028                 - Add wireless-security-common.* to compile list
15029
15030         * gnome/applet/other-network-dialog.c
15031                 - Convert to using the WirelessSecurityManager code and
15032                         widgets
15033
15034         * gnome/applet/passphrase-dialog.c
15035                 - Comment out references to stuff in the glade file that
15036                         cause runtime errors until it can be fixed up
15037                         to use the WirelessSecurityManager code
15038
15039         * gnome/applet/wireless-applet.glade
15040                 - Rename some widgets
15041                 - Add widgets for the WirelessSecurityManager code
15042                 - Remove passphrase-related stuff since that's now
15043                         handled by the WirelessSecurityManager code
15044
15045 2005-12-10  Dan Williams  <dcbw@redhat.com>
15046
15047         * gnome/applet/applet-dbus-devices.c
15048                 - Print out error message details for dbus pending call callbacks
15049                 - Move nmwa_dbus_update_devices() up
15050
15051         * gnome/applet/applet-dbus-vpn.c
15052                 - Print out error message details for dbus pending call callbacks
15053
15054 2005-12-10  Dan Williams  <dcbw@redhat.com>
15055
15056         * libnm-util/*
15057                 - More fixups
15058                 - Remove cipher-manager.* because we don't need it
15059                 - Forgot to add gnome-keyring-md5 files to compile list
15060
15061 2005-12-09  Dan Williams  <dcbw@redhat.com>
15062
15063         * libnm-util/*
15064           configure.in
15065           Makefile.am
15066                 - Add a utility library for clients of NetworkManager.  It's
15067                         only targetted at applets for the moment, and contains
15068                         a generalized 802.11 cipher framework for different
15069                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15070
15071 2005-12-09  Robert Love  <rml@novell.com>
15072
15073         * src/NetworkManagerDevice.c: handle error better in
15074           nm_device_set_mode().
15075
15076 2005-12-08  Robert Love  <rml@novell.com>
15077
15078         * include/NetworkManager.h: add WPA capabilities constants
15079         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15080           or WPA2 and add the capabilities bits as appropriate.
15081
15082 2005-12-08  Robert Love  <rml@novell.com>
15083
15084         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15085           NetworkManagerDispatcher.
15086         * configure.in, initscript/SUSE/.cvsignore,
15087           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15088           initscript.
15089
15090 2005-12-08  Robert Love  <rml@novell.com>
15091
15092         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15093
15094 2005-12-08  Robert Love  <rml@novell.com>
15095
15096         * src/NetworkManagerDevice.c: We want to fall back on and default to
15097           IW_MODE_AUTO, not -1, which is more in line with our previous
15098           behavior.  Otherwise, we try to set the wireless mode to -1 in
15099           nm_device_set_mode().
15100
15101 2005-12-07  Robert Love  <rml@novell.com>
15102
15103         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15104           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15105           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15106           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15107           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15108           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15109           zero.
15110
15111 2005-12-07  Robert Love  <rml@novell.com>
15112
15113         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15114           supplied IP is invalid, fall back to DHCP.
15115
15116 2005-12-07  Dan Williams  <dcbw@redhat.com>
15117
15118         * Convert NETWORK_MODE_* constants to IW_MODE_*
15119         * Make all the get_mode/set_mode functions take and return 'int'
15120         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15121
15122 2005-12-07  Robert Love  <rml@novell.com>
15123
15124         * src/NetworkManagerDevice.c: strncpy() buffer check.
15125         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15126
15127 2005-12-06  Dan Williams  <dcbw@redhat.com>
15128
15129         * gnome/applet/applet-dbus.c
15130                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15131
15132         * gnome/applet/applet-dbus-vpn.c
15133                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15134                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15135                         to TRUE here if stage was ACTIVATED
15136
15137 2005-12-06  Dan Williams  <dcbw@redhat.com>
15138
15139         * Change nm_device_is_* functions to better names:
15140                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15141                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15142
15143 2005-12-06  Dan Williams  <dcbw@redhat.com>
15144
15145         * Change naming of NMDeviceType to something more sensible:
15146                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15147                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15148                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15149
15150 2005-12-06  Dan Williams  <dcbw@redhat.com>
15151
15152         * Move NetworkManager.h -> include/NetworkManager.h
15153         * Split out VPN stuff into include/NetworkManagerVPN.h
15154         * Fix up makefiles to include new location
15155         * Fix up sources to include NetworkManagerVPN.h
15156
15157 2005-12-06  Dan Williams  <dcbw@redhat.com>
15158
15159         Various changes in the applet to move VPN connection "state" -> "stage",
15160         which it actually is.  I'd like to change the signal as well when we
15161         break compat in the near future.
15162
15163 2005-12-06  Dan Williams  <dcbw@redhat.com>
15164
15165         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15166         * initscript/Slackware/rc.networkmanager
15167                 - Cosmetic fix
15168
15169         * src/backends/NetworkManagerSlackware.c
15170                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15171                         interfaces
15172
15173 2005-12-05  Robert Love  <rml@novell.com>
15174
15175         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15176           to free, particularly here as it just barfs.
15177
15178 2005-12-05  Dan Williams  <dcbw@redhat.com>
15179
15180         * gnome/applet/applet-dbus.c
15181                 - Work with dbus 0.6 too
15182
15183 2005-12-03  Dan Williams  <dcbw@redhat.com>
15184
15185         * src/NetworkManagerUtils.[ch]
15186           src/nm-ip4-config.c
15187                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15188                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15189
15190 2005-12-01  Robert Love  <rml@novell.com>
15191
15192         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15193           need a NULL for the '...' parameter, too, to fill the so-called
15194           sentinel.
15195
15196 2005-12-01  Robert Love  <rml@novell.com>
15197
15198         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15199           interface is already gone, so don't call rtnl_link_change() to down
15200           it (which will segfault, anyhow).
15201
15202 2005-11-22  Robert Love  <rml@novell.com>
15203
15204         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15205           gateway is not set, just print a little note.  Configurations without
15206           gateways are valid.
15207
15208 2005-11-22  Robert Love  <rml@novell.com>
15209
15210         * README: update
15211
15212 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15213
15214         * configure.in: Added Finnish translation to ALL_LINGUAS
15215
15216 2005-11-14  Robert Love  <rml@novell.com>
15217
15218         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15219           Niemueller <tim@niemueller.de>.
15220
15221 2005-11-08  Dan Williams  <dcbw@redhat.com>
15222
15223         Patch from Bill Moss <bmoss@clemson.edu>
15224         * src/NetworkManagerDevice.c
15225                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15226                         of nm_policy_schedule_activation_finish() to prevent a
15227                         race condition that causes the link to be dropped
15228
15229 2005-11-08  Dan Williams  <dcbw@redhat.com>
15230
15231         Patch from Bill Moss <bmoss@clemson.edu>
15232         * src/NetworkManagerAPList.c
15233           src/NetworkManagerDevice.c
15234           src/NetworkManagerDbus.c
15235                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15236                         we get more readable ether/mac addresses
15237
15238 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15239
15240         * gnome/applet/main.c: Don't set the restart command.  This fixes
15241         the issue where the restart command was getting copies of all its
15242         arguments for each time the applet was restarted.
15243
15244 2005-11-02  Robert Love  <rml@novell.com>
15245
15246         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15247           if the widget state differs from our saved state.  This ensures we
15248           do not enter an endless loop of death and destruction.  Also, this
15249           guarantees us that we enforce the widget state.
15250
15251 2005-11-02  Robert Love  <rml@novell.com>
15252
15253         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15254         * gnome/applet/applet-dbus-devices.c: invoke the new function
15255           nmwa_enable_wireless_set_active() to ensure that the state of the
15256           'Enable Wireless' checkbox matches the daemon's state.  This is a
15257           concern because the daemon remembers the state.
15258
15259 2005-11-02  Robert Love  <rml@novell.com>
15260
15261         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15262           Enabled", as checkboxes should be actions/commands not positive
15263           statements, otherwise they are confusing in the unselected case.  See
15264           examples in GNOME HIG, Chapter 6.
15265
15266 2005-11-02  Robert Love  <rml@novell.com>
15267
15268         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15269           show a list of wireless networks or the wireless devices or the
15270           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15271           a bad bug: If wireless is disabled and the user picks a wireless
15272           network, NM will switch to the network, only to immediately switch
15273           back, as wireless is disabled.  This also reassures people that NM
15274           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15275
15276 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15277
15278         * gnome/applet/applet.c:
15279         * gnome/applet/applet.h:
15280         Partial backout of Dan's timeout animation patch.
15281         Timeout IDs cannot legally be 0, so revert the code in place to handle
15282         a timeout ID of 0 to denote the timeout isn't running.
15283
15284 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15285
15286         * src/NetworkManagerPolicy.c:
15287         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15288
15289 2005-10-28  Robert Love  <rml@novell.com>
15290
15291         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15292           "Import Saved Configuration..." to make it clear that importing is
15293           not the next step, but an option.  As an aside, a nice TODO would be
15294           to move Importing out of the vpn-specific dialog and into the main
15295           property editor, as Importing goes with Adding, but that will require
15296           some rearchitecting of the VPN stuff I suspect.
15297
15298 2005-10-27  Dan Williams  <dcbw@redhat.com>
15299
15300         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15301         we should replace most of the distro-specific backend code
15302         with libnl stuff.
15303
15304         Get it here:  http://people.suug.ch/~tgr/libnl/
15305
15306         * configure.in
15307           src/Makefile.am
15308                 - Add checks for libnl pkgconfig file
15309                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15310
15311         * src/NetworkManagerSystem.c
15312           src/nm-ip4-config.[ch]
15313                 - Use libnl rather than ioctl() for most things
15314                 - Remove unused functions
15315
15316 2005-10-27  Robert Love  <rml@novell.com>
15317
15318         * src/backends/NetworkManagerSuSE.c: fix warning message text
15319
15320 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15321
15322         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15323
15324 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15325
15326         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15327         project page <http://www.gnome.org/projects/NetworkManager/>
15328
15329 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15330
15331         * gnome/applet.c: Also use translator credits if we don't have
15332         the new GtkAboutDialog (older versions of GTK+)
15333
15334 2005-10-26  Robert Love  <rml@novell.com>
15335
15336         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15337           failure; correct usage text for "--no-daemon"
15338
15339 2005-10-25  Dan Williams  <dcbw@redhat.com>
15340
15341         * src/NetworkManagerDevice.c
15342                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15343                         no scan results
15344                 - (free_process_scan_cb_data): unref the device when freeing results
15345                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15346                         so we don't unref the device underneath ourselves
15347
15348 2005-10-25  Dan Williams  <dcbw@redhat.com>
15349
15350         * Back out 2005-10-24 commit from Tor Krill.  Patch
15351                 causes nameservers never to be removed from named.
15352
15353 2005-10-24  Dan Williams  <dcbw@redhat.com>
15354
15355         Clean up wireless scanning and wireless link probing.
15356
15357         * src/NetworkManagerDevice.c
15358                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15359                         just see if there's an activation request on the device, and check the
15360                         current link against the activation request access point's ESSID.
15361                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15362                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15363                         don't call process_scan_results() on zero-length data
15364                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15365                         15 seconds (from 10)
15366
15367 2005-10-24  Dan Williams  <dcbw@redhat.com>
15368
15369         Cleanup some applet stuff:
15370
15371         - Animation timeouts.  If NM died while the applet was animating,
15372                 the applet would not hide itself.  This is now fixed.
15373
15374         - Remove some dead code
15375
15376         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15377                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15378
15379         - Track animation timeout using a gboolean rather than the timeout's
15380                 ID, since timeout IDs can legally be 0.
15381
15382 2005-10-24  Dan Williams  <dcbw@redhat.com>
15383
15384         * src/backends/interface_parser.c
15385                 - Add void to function declarations that need it
15386                         to match patch from Engin AYDOGAN
15387
15388         * src/backends/interface_parser.h
15389                 - Remove unused prototype for ifparser_interfaces()
15390
15391         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15392         * src/backends/interface_parser.h:
15393                 - Compile fixes for gcc 4.0.2 (add void)
15394
15395 2005-10-24  Dan Williams  <dcbw@redhat.com>
15396
15397         Patch from Tor Krill <tor@krill.nu>
15398         * src/named-manager/nm-named-manager.c
15399                 - Write more than just the first nameserver to /etc/resolv.conf
15400                 - Write out valid /etc/resolv.conf on exit
15401
15402 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15403
15404         * gnome/applet/applet-dbus-vpn.c:
15405         Get rid of spurious newlines in debug console output
15406
15407 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15408
15409         * src/backends/NetworkManagerGentoo.c:
15410         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15411
15412 2005-10-20  Robert Love  <rml@novell.com>
15413
15414         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15415           direct comparison of floating point values, which is never correct.
15416           Also some misc. cleanup.
15417
15418 2005-10-19  Robert Love  <rml@novell.com>
15419
15420         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15421
15422 2005-10-19  Robert Love  <rml@novell.com>
15423
15424         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15425           sensitivity of the buttons.  Specificaly, do the right thing if
15426           there are no entries.
15427
15428 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15429
15430         * configure.in: Update check for adequate wireless-tools
15431         with an AC_TRY_COMPILE for the new symbols we use.
15432
15433 2005-10-19  Dan Williams  <dcbw@redhat.com>
15434
15435         * src/NetworkManagerDevice.c
15436                 - (process_scan_results): don't drop the last (or only)
15437                         access point we see
15438
15439 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15440
15441         * src/backends/NetworkManagerSlackware.c:
15442         Patch from Nico <lordllucifer@gmail.com>
15443                 - Update the Slackware backend.
15444
15445 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15446
15447         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15448         if we've got GLib 2.8.0
15449
15450 2005-10-18  Robert Love  <rml@novell.com>
15451
15452         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15453           function nm_schedule_state_change_signal_broadcast() when we
15454           deactivate a device, too.
15455
15456 2005-10-18  Robert Love  <rml@novell.com>
15457
15458         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15459           be used uninitialized.
15460
15461 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15462
15463         * test/libnm_glib_test.c: Test unregistering, too.
15464
15465 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15466
15467         * configure.in: Bump to 0.5.0
15468
15469 2005-10-17  Dan Williams  <dcbw@redhat.com>
15470
15471         * NetworkManager.h
15472                 - Remove WPA-related constants so they aren't part of the
15473                         upcoming release.
15474
15475 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15476
15477         * gnome/applet/applet.c:
15478         * gnome/applet/applet.h:
15479         Desensitize the 'Connection Information' menu item when there is
15480         no active connection.
15481
15482 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15483
15484         * gnome/libnm_glib/libnm_glib.c:
15485         Make libnm_glib_unregister_callback () actually unregister the callback
15486
15487 2005-10-17  Robert Love  <rml@novell.com>
15488
15489         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15490           two seconds -- tries is updated every 1/10 of a second, not every
15491           second..
15492
15493 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15494
15495         * gnome/applet/applet-dbus-info.c:
15496         Let D-BUS know that we haven't handled a message when we haven't.
15497
15498 2005-10-17  Robert Love  <rml@novell.com>
15499
15500         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15501           in order to remain 64-bit clean.
15502
15503 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15504
15505         * gnome/applet/applet-dbus-info.c:
15506         Find network encryption keys asynchronously
15507
15508 2005-10-17  Robert Love  <rml@novell.com>
15509
15510         * src/backends/NetworkManagerDebian.c,
15511           src/backends/NetworkManagerRedHat,
15512           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15513           comment delimiter.
15514
15515 2005-10-17  Robert Love  <rml@novell.com>
15516
15517         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15518           "/etc"
15519
15520 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15521
15522         * src/NetworkManagerDevice.c: (process_scan_results)
15523         Fix logic that checks to see whether we have an ESSID.
15524
15525 2005-10-15  Dan Williams  <dcbw@redhat.com>
15526
15527         Move scanning code into NetworkManager rather than use iwlib's
15528         iw_scan() function, so that we can figure out AP capabilities.
15529
15530         * NetworkManager.h
15531                 - Add AP capability bits
15532
15533         * src/NetworkManagerAP.[ch]
15534                 - Add capability field to NMAccessPoint structure
15535                 - Add WPA & RSN Information Element fields and accessor
15536                         functions to NMAccessPoint
15537
15538         * src/NetworkManagerDevice.c
15539                 - Remove usage of iw_scan
15540                 - Add scanning code to NetworkManager rather than use
15541                         iw_scan() from iwlib
15542
15543         * src/NetworkManagerUtils.[ch]
15544                 - (nm_dispose_scan_results): remove, unused
15545
15546 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15547
15548         * gnome/libnm_glib/libnm_glib.c:
15549         * gnome/libnm_glib/libnm_glib.h:
15550         Use guint instead of gint for callback IDs.
15551
15552 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15553
15554         * gnome/applet/applet.c:
15555         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15556         every 1000ms.  It will unconditionally call nmwa_update_state which
15557         kills the existing animation timeout and registers a new one with a
15558         callback to draw a new frame every 100ms.  There are 11 connecting
15559         icon frames, so the last 2 frames kept getting dropped.  Only reset
15560         the animation timeout if we aren't animating.
15561
15562 2005-10-11  Dan Williams  <dcbw@redhat.com>
15563
15564         * gnome/applet/applet-dbus-devices.c
15565                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15566                         We want to grab the product & vendor from net.physical_dev
15567                         rather than info.parent.
15568
15569 2005-10-11  Dan Williams  <dcbw@redhat.com>
15570
15571         * src/NetworkManagerDevice.c
15572                 - Use the driver's WE version for scanning rather than
15573                         the WE version NM was compiled with.  Fixes random
15574                         crashes in iw_scan () in iwlib.
15575
15576 2005-10-10  Dan Williams  <dcbw@redhat.com>
15577
15578         * Remove nm_system_load_device_modules() from backend files
15579                 and from NetworkManager.c
15580
15581 2005-10-10  Dan Williams  <dcbw@redhat.com>
15582
15583         * src/NetworkManagerPolicy.c
15584                 - Fix some bugs introduced by the capabilities patch
15585
15586 2005-10-10  Dan Williams  <dcbw@redhat.com>
15587
15588         * gnome/applet/applet-dbus-info.c
15589                 - (nmi_dbus_get_network_key): hide the menu when putting up
15590                         the keyring dialog.  (not sure if the code is right...)
15591
15592 2005-10-09  Dan Williams  <dcbw@redhat.com>
15593
15594         Patch from Bill Moss <bmoss@clemson.edu>
15595         * src/NetworkManagerDevice.c
15596                 - (nm_device_set_user_key_for_network): don't try to set auth
15597                         mode on the AP from the allowed list if it's NULL
15598
15599 2005-10-09  Dan Williams  <dcbw@redhat.com>
15600
15601         * Replace the "driver support level" stuff with capabilities.  The
15602                 capability field is a bitfield that is more flexible than the
15603                 old driver support level thing.  It's mostly so we can easily
15604                 figure out what supports WPA and what doesn't, but should be
15605                 quite useful later.
15606
15607 2005-10-09  Dan Williams  <dcbw@redhat.com>
15608
15609         * test/nmtest.c
15610                 - Removed
15611
15612         * test/nm-tool.c
15613           test/Makefile.am
15614                 - Added new "nm-tool" tool that gives quite a bit more
15615                         information
15616
15617 2005-10-07  Robert Love  <rml@novell.com>
15618
15619         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15620           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15621           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15622           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15623           appropriate
15624
15625 2005-10-07  Robert Love  <rml@novell.com>
15626
15627         * configure.in: Change our compile flags for the betterment of mankind.
15628           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15629           prototype is very bad on 64-bit platforms as types default to int but
15630           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15631           "-Wmissing-declarations" to warn if we define an exported function
15632           but fail to put it in a header.
15633
15634 2005-10-07  Robert Love  <rml@novell.com>
15635
15636         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15637           by the name nm_update_device_wireless_timeouts() and once tried,
15638           without success, to steal my pet turtle.
15639
15640 2005-10-07  Robert Love  <rml@novell.com>
15641
15642         * Cleanup prototypes: put some functions in header files and mark
15643           others as 'static' -- feel free to invert
15644         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15645           nm_vpn_manager_vpn_connection_list_copy()
15646         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15647           nm_vpn_service_get_dbus_connection()
15648         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15649           nm_vpn_manager_vpn_connection_list_copy()
15650         * src/vpn-manager/nm-vpn-service.c: make
15651           nm_vpn_service_act_request_failed() and
15652           nm_vpn_service_stage2_daemon_wait() static
15653         * src/vpn-manager/nm-vpn-service.h: add prototype for
15654           nm_vpn_service_get_dbus_connection()
15655
15656 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15657
15658         * gnome/applet/applet.c:
15659         * gnome/applet/applet.h:
15660         * gnome/applet/icons/Makefile.am:
15661         Convey information about the current connection stage in the
15662         icons themselves instead of creating a separate progress bar.
15663
15664 2005-10-04  Robert Love  <rml@novell.com>
15665
15666         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15667           convert an ether_addr structure's MAC into a string, because the
15668           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15669           versus 07:3B:04, while the former will not.
15670
15671 2005-10-04  Robert Love  <rml@novell.com>
15672
15673         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15674           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15675           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15676           default route in the 'Connection Information' dialog, send primary
15677           and secondary name servers in in "getProperties" DBUS method, add
15678           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15679           secondary domain name servers are crucial pieces of information
15680           that a user might need in debugging a network problem.
15681
15682 2005-10-04  Robert Love  <rml@novell.com>
15683
15684         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15685           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15686           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15687           default route in the 'Connection Information' dialog, send default
15688           route in "getProperties" DBUS method, add network_device_set_route(),
15689           and network_device_get_route().  The Gateway is a crucial piece of
15690           connection-related information that a user might need in debugging a
15691           network problem.
15692
15693 2005-10-03  Robert Love  <rml@novell.com>
15694
15695         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15696           NULL.
15697
15698 2005-10-02  Dan Williams  <dcbw@redhat.com>
15699
15700         * Shorten time taken to sleep by fastpathing bits of device deactivation
15701                 necessary for sleep.
15702
15703         * Fix issue where deactivating a device might deactivate the active
15704                 VPN connection, even if the VPN was not using the device.
15705
15706 2005-10-02  Dan Williams  <dcbw@redhat.com>
15707
15708         * gnome/applet/applet.c
15709                 - Adjust signal strength -> icon mapping values slightly
15710                         (so that 51% signal doesn't show a 75% icon) by adding
15711                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15712                         shows 50% icon, etc.
15713
15714 2005-09-29  Robert Love  <rml@novell.com>
15715
15716         * src/NetworkManager.c: removed unused variable.
15717
15718 2005-09-28  Dan Williams  <dcbw@redhat.com>
15719
15720         Support for named + DBus, using Red Hat DBus patches for named.  You
15721         can find those patches here, with "dbus" in the patch's filename:
15722
15723                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15724
15725         Don't forget the named dbus service file either.
15726
15727         Instead of writing a config file and spawing a named process, NM will
15728         use an already-running dbus-enabled named if it finds one.  NM will
15729         update named's forwarder configuration on the fly using dbus.
15730
15731         If there is no dbus-enabled named running, NM will automatically fall
15732         back to writing the most-recent DNS server information to /etc/resolv.conf
15733         and calling nm_system_update_dns() to kick the system's resolver.
15734
15735         Accordingly, all named-related configure-time options have been removed.
15736
15737 2005-09-26  Robert Love  <rml@novell.com>
15738
15739         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15740           ISDN support!
15741         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15742           bug in error path if "ASKPASSWORD" is "no".
15743
15744 2005-09-26  Robert Love  <rml@novell.com>
15745
15746         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15747           comment in /etc/resolv.conf -- ';' is not.
15748
15749 2005-09-19  Dan Williams  <dcbw@redhat.com>
15750
15751         * src/backends/NetworkManagerRedHat.c:
15752         * src/backends/NetworkManagerDebian.c:
15753         * src/backends/NetworkManagerSlackware.c:
15754         * src/backends/NetworkManagerGentoo.c:
15755         * src/backends/NetworkManagerSUSE.c:
15756         Fix invocations of "/sbin/ip address" to use short form instead
15757
15758 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15759
15760         * src/nm-dbus-device.c: Don't assert when getting
15761         addresses of a not yet connected interface.
15762
15763         * gnome/applet/applet.c: Free icons if loading fails.
15764         Use translator-credits so translators can make themselves known.
15765
15766 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15767
15768         * src/NetworkManagerAP.c:
15769         * src/NetworkManagerAP.h:
15770         * src/NetworkManagerDevice.c:
15771         Set a blacklist for certain common manufacturer default ESSIDs:
15772         APs with these ESSIDs are extremely likely to be completely
15773         different networks: connecting to one should not make NM
15774         auto-connect to every other AP with the same default ESSID.
15775
15776 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15777
15778         * gnome/applet/wireless-applet.glade:
15779         The passphrase entry should also activate the default
15780
15781         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15782
15783         * gnome/applet/applet-dbus-devices.c:
15784         * gnome/applet/applet.c:
15785         * gnome/applet/nm-device.c:
15786         * gnome/applet/nm-device.h:
15787         * src/NetworkManagerUtils.c:
15788         * src/NetworkManagerUtils.h:
15789         * src/nm-dbus-device.c:
15790         I've got a fever, and the only cure for it is less ioctl.
15791         Make NM push IP data rather than make the applet open a socket
15792         to the device.
15793
15794 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15795
15796         * gnome/applet/applet.c:
15797         * gnome/applet/applet-dbus-devices.c:
15798         * gnome/applet/applet-dbus-info.c:
15799         * gnome/applet/passphrase-dialog.c:
15800         * gnome/libnm_glib/libnm_glib.c:
15801         * gnome/vpn-properties/nm-vpn-properties.c:
15802         * src/autoip.c:
15803         * src/backends/NetworkManagerRedHat.c:
15804         * src/named-manager/nm-named-manager.c:
15805         * src/NetworkManagerAPList.c:
15806         * src/NetworkManager.c:
15807         * src/NetworkManagerDbus.c:
15808         * src/NetworkManagerDevice.c:
15809         * src/NetworkManagerPolicy.c:
15810         * src/NetworkManagerSystem.c:
15811         * src/nm-dbus-device.c:
15812         * src/nm-dbus-nm.c:
15813         * src/vpn-manager/nm-vpn-manager.c:
15814         * src/vpn-manager/nm-vpn-service.c:
15815         * test/libnm_glib_test.c:
15816         * test/nminfotest.c:
15817         * test/nmtestdevices.c:
15818         Fix a bunch of 'unused variable' compiler warnings
15819
15820         * NetworkManager.h:
15821         * gnome/applet/applet-dbus-info.c:
15822         * gnome/applet/applet-dbus-info.h:
15823         * gnome/applet/applet.c:
15824         * gnome/applet/applet.h:
15825         * src/NetworkManager.c:
15826         * src/NetworkManagerDbus.c:
15827         * src/NetworkManagerDbus.h:
15828         * src/NetworkManagerDevice.c:
15829         * src/NetworkManagerDevice.h:
15830         * src/NetworkManagerMain.h:
15831         * src/NetworkManagerWireless.c:
15832         * src/NetworkManagerWireless.h:
15833         * src/nm-dbus-nm.c:
15834         Make NetworkManager be smart about how frequently to scan
15835         based on its current state.  Remove the UI for choosing when
15836         to scan.  Scanning still may disabled completely by the user
15837         via the "Wireless Enabled" menu item.
15838
15839 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15840
15841         * gnome/applet/applet.c:
15842         Also overlay the vpn connecting icons onto the wired icon,
15843         when appropriate.
15844
15845         * gnome/vpn-properties/nm-vpn-properties.glade:
15846         Clean up a few strings to use better grammar and proper casing.
15847
15848 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15849
15850         * gnome/applet/vpn-connection.c:
15851         * gnome/applet/vpn-connection.h:
15852         Add nmwa_vpn_connection_is_activating ()
15853
15854         * gnome/applet/applet.c:
15855         * gnome/applet/applet.h:
15856         * gnome/applet/icons/nm-vpn-connecting*.png:
15857         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15858         the user know something's happening between clicking the VPN item and it
15859         actually being connected.
15860
15861 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15862
15863         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15864         failure case as well.
15865
15866 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15867
15868         * gnome/panel/eggtrayicon.[ch]:
15869         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15870
15871 2005-09-07  Dan Williams  <dcbw@redhat.com>
15872
15873         Patch from Bill Moss <bmoss@clemson.edu>
15874         * src/applet-dbus.c
15875                 - (nmwa_dbus_filter): strip whitespace from beginning
15876                         and end of VPN login banner
15877
15878 2005-09-07  Dan Williams  <dcbw@redhat.com>
15879
15880         * The great VPN Manager rewrite of 2005
15881
15882 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15883
15884         * gnome/applet/menu-items.c:
15885         * gnome/applet/nm-device.c:
15886         * gnome/applet/wireless-network.c:
15887         * gnome/libnm_glib/libnm_glib.c:
15888         * src/NetworkManagerDbusUtils.c:
15889         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15890         g_malloc0 doesn't return NULL
15891
15892 2005-09-06  Dan Williams  <dcbw@redhat.com>
15893
15894         Patch from Tomislav Vujec <tvujec@redhat.com>
15895         * src/NetworkManagerDevice.c
15896                 - (nm_get_device_by_udi): don't return a device when we
15897                         actually didn't find what we were looking for
15898
15899 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15900
15901         * gnome/applet/applet-dbus-devices.c:
15902         * gnome/applet/applet-dbus-devices.h:
15903         * gnome/applet/applet-dbus.c:
15904         * src/NetworkManagerDbus.c:
15905         * src/NetworkManagerDbus.h:
15906         * src/NetworkManagerDevice.c:
15907         * src/nm-dbus-device.c:
15908         Make NM push updates about active device strength when it changes,
15909         rather than having the applet poll every 2s.
15910
15911 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15912
15913         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15914         network_device_set_strength
15915
15916 2005-09-04  Dan Williams  <dcbw@redhat.com>
15917
15918         Patch from Bill Nottingham <notting@redhat.com>
15919         * src/NetworkManagerDevice.c
15920                 - (nm_device_activation_cancel): reset the quit_activation flag
15921
15922 2005-09-04  Dan Williams  <dcbw@redhat.com>
15923
15924         * src/nm-activation-request.c
15925                 - (nm_act_request_unref): actually free the structure,
15926                         which we didn't seem to be doing before
15927
15928 2005-09-04  Dan Williams  <dcbw@redhat.com>
15929
15930         Patch from John Palmieri <johnp@redhat.com>
15931         * gnome/applet/applet-dbus-devices.c
15932                 - Fix up unreffing of DBusMessage objects
15933
15934 2005-09-04  Dan Williams  <dcbw@redhat.com>
15935
15936         Patch from John Palmieri <johnp@redhat.com>
15937         * gnome/applet/nm-device.c
15938                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15939
15940 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15941
15942         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15943
15944 2005-09-02  Bill Nottingham  <notting@redhat.com>
15945
15946         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15947
15948 2005-09-01  Dan Williams  <dcbw@redhat.com>
15949
15950         * src/NetworkManager.c
15951                 - (nm_remove_device_from_list): rename to nm_remove_device
15952                 - (nm_hal_device_removed): call nm_remove_device()
15953
15954         * src/NetworkManagerDevice.c
15955                 - Change the NMWirelessScanCB member 'reschedule' which
15956                         wasn't used to 'force' to indicate that we need to
15957                         force a scan when adding a device
15958
15959         * src/nm-dbus-nm.c
15960                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15961                         from the device list
15962                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15963
15964 2005-09-01  Robert Love  <rml@novell.com>
15965
15966         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15967           and the check "!iface" in the error case is probably never true.
15968
15969 2005-09-01  Dan Williams  <dcbw@redhat.com>
15970
15971         Patch from Bill Nottingham <notting@redhat.com>
15972         * src/backends/NetworkManagerRedHat.c
15973                 - Add initial dialup support to Red Hat/Fedora backend
15974
15975 2005-09-01  Dan Williams  <dcbw@redhat.com>
15976
15977         * gnome/applet/applet-dbus-devices.c
15978                 - Sort both wireless networks and devices again, which got
15979                         broken when removing threading
15980
15981 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15982
15983         * gnome/applet/applet.c:
15984         Only show the "Stop/Start All Wireless Devices" menuitem
15985         if we actually have wireless devices.
15986
15987         * gnome/applet/applet-dbus-info.c:
15988         * gnome/applet/applet.c:
15989         * gnome/applet/other-network-dialog.c:
15990         * gnome/applet/vpn-password-dialog.c:
15991         Drop the gtk_dialog_run () calls in favor of connecting to
15992         "response" signals, needed now that the applet is not threaded.
15993
15994 2005-08-31  Dan Williams  <dcbw@redhat.com>
15995
15996         Patch from Bill Moss <bmoss@clemson.edu>
15997         * src/NetworkManagerDevice.c
15998                 - (nm_device_wireless_scan): fix scan timeout values
15999
16000 2005-08-30  Dan Williams  <dcbw@redhat.com>
16001
16002         * gnome/applet/wireless-applet.glade
16003                 - HIG-ify the Other Wireless Networks dialog a bit more
16004                 - Fix some potential segfaults in the info dialog
16005
16006 2005-08-30  Dan Williams  <dcbw@redhat.com>
16007
16008         * gnome/applet/applet-dbus-devices.c
16009                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16010
16011 2005-08-30  Dan Williams  <dcbw@redhat.com>
16012
16013         * gnome/applet/applet-dbus.[ch]
16014                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16015                         they weren't being used anyway
16016
16017 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16018
16019         * test/nmtestdevices.c: (print_usage), (main):
16020         Check the number of arguments, and fix a typo
16021
16022 2005-08-29  Dan Williams  <dcbw@redhat.com>
16023
16024         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16025         * gnome/applet/applet.c
16026                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16027
16028 2005-08-29  Dan Williams  <dcbw@redhat.com>
16029
16030         * gnome/applet/*
16031                 - Don't use threads any more.  Anything that blocks
16032                         (like gtk_dialog_run()) will  have to get fixed up which
16033                         should happen quickly.  We really only had threads to make
16034                         the animation smooth, and when everything got converted over
16035                         to DBus Pending Calls, the need for threads kind of went away
16036
16037 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16038
16039         * gnome/applet/applet.c: Draw VPN connections as radio items
16040         since we don't yet support multiple VPNs.
16041         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16042         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16043
16044 2005-08-29  Dan Williams  <dcbw@redhat.com>
16045
16046         Patch from j@bootlab.org
16047         - Make --without-named work
16048         - Make --with-dhcdbd work correctly
16049
16050 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16051
16052         * configure.in: Added "ca" to ALL_LINGUAS.
16053
16054 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16055
16056         * Fix up VPN state handling between the applet and NetworkManager,
16057                 so that the applet doesn't show a VPN as connected when one
16058                 really is not
16059                         - The applet no longer has a pointer to the active VPN's
16060                                 name, but tracks each VPNs state individually
16061                         - NM no longer has a "getActiveVPNConnection" method
16062                         - NM no longer broadcasts the "VPNConnectionChange" signal
16063                         - NM now broadcasts a "VPNConnectionStateChange" signal
16064                                 whenever the state of a VPN changes
16065
16066 2005-08-26  Dan Williams <dcbw@redhat.com>
16067
16068         * gnome/applet/applet-dbus-devices.c
16069           gnome/applet/applet-dbus-vpn.c
16070                 - Remove calls to dbus_pending_call_ref() because we already
16071                         "own" the pending call
16072                 - Remove calls to dbus_pending_call_get_completed() because
16073                         when we are in the callback, the pending call is completed
16074                         by definition
16075
16076 2005-08-22  Dan Williams <dcbw@redhat.com>
16077
16078         Patch by Bill Moss <bmoss@clemson.edu>
16079         * src/dhcp-manager/nm-dhcp-manager.c
16080                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16081                         some time to send out a RELEASE if they like
16082
16083 2005-08-22  Dan Williams <dcbw@redhat.com>
16084
16085         Noticed by Bill Moss <bmoss@clemson.edu>
16086         * src/NetworkManagerDbus.c
16087                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16088                         instead of just cancelling its activation
16089
16090         * src/NetworkManagerDevice.c
16091                 - (nm_device_deactivate): some small cleanups
16092                 - (nm_device_set_user_key_for_network): deactivate the device
16093                         instead of just cancelling its activation
16094
16095 2005-08-22  Dan Williams <dcbw@redhat.com>
16096
16097         Noticed by Bill Moss <bmoss@clemson.edu>
16098         * src/NetworkManagerDevice.c
16099                 - (nm_device_wireless_scan): fix scan timeout, we were
16100                         waiting way too long for scans to complete
16101
16102 2005-08-22  Dan Williams <dcbw@redhat.com>
16103
16104         Patch from j@bootlab.org:
16105         * src/backends/NetworkManagerDebian.c
16106                 - Make the Debian backend work for static IP again
16107
16108 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16109
16110         * gnome/applet/other-network-dialog.c:
16111         The "Create New Network" and "Connect to Other Network"
16112         dialogs share alot of code, but shouldn't share a window
16113         title.  Give them different ones.
16114
16115         * gnome/applet/wireless-applet.glade:
16116         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16117         Some more minor UI tweaks.
16118
16119 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16120
16121         * gnome/applet/other-network-dialog.c:
16122         * gnome/applet/wireless-applet.glade:
16123         Also need mnemonic widgets, and underline enabled.
16124
16125 2005-08-19  Dan Williams <dcbw@redhat.com>
16126
16127         * vpn-daemons/vpnc/nm-vpnc-service.c
16128                 - (vpnc_watch_cb): remove no-longer-relevant comment
16129                 - (write_config_option): new function, helper to write
16130                         config options to vpnc's stdin
16131                 - (nm_vpnc_config_write): use the new helper, make the
16132                         code shorter
16133
16134 2005-08-19  Christopher Aillon <caillon@redhat.com>
16135
16136         * gnome/applet/passphrase-dialog.c:
16137         * gnome/applet/wireless-applet.glade:
16138         Make the passphrase dialog response based, and treat
16139         responses other than OK (such as Esc, [X]) as a cancel.
16140
16141 2005-08-18  Christopher Aillon <caillon@redhat.com>
16142
16143         * initscript/Gentoo/NetworkManager:
16144         * initscript/RedHat/NetworkManager:
16145         * initscript/RedHat/NetworkManagerDispatcher:
16146         * initscript/SUSE/networkmanager:
16147         CVS remove these in place of .in replacements
16148
16149         * configure.in:
16150         * initscript/Gentoo/NetworkManager.in:
16151         * initscript/RedHat/NetworkManager.in:
16152         * initscript/RedHat/NetworkManagerDispatcher.in:
16153         * initscript/SUSE/networkmanager.in:
16154         These scripts now are generated so they work still when
16155         NM is built using a bindir other than /usr/bin
16156
16157 2005-08-18  Dan Williams <dcbw@redhat.com>
16158
16159         * gnome/applet/main.c
16160                 - Revert previous change for --no-session since
16161                         --sm-disable does the same thing
16162
16163 2005-08-18  Dan Williams <dcbw@redhat.com>
16164
16165         * gnome/applet/applet-dbus-info.c
16166                 - (nmi_dbus_create_error_message): new function
16167                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16168                         functions.  Also don't check for both device _and_ network before
16169                         asking for a user's key, because we may not have gotten all our
16170                         networks back from NM quite yet (due to the dbus pending calls
16171                         coming in later).  Fixes a hang in NM/nm-applet.
16172
16173         * src/NetworkManagerDbus.c
16174                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16175                         slightly more sane manner, even though we are still broken for
16176                         certain other error conditions.
16177                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16178                         to the info-daemon too
16179
16180         * src/NetworkManagerDevice.c
16181                 - Fix some debug messages to be info messages instead
16182
16183 2005-08-18  Dan Williams <dcbw@redhat.com>
16184
16185         * gnome/applet/main.c
16186                 - Add new "--no-session" parameter that disables applet
16187                         session management, ie for testing
16188
16189 2005-08-18  Christopher Aillon <caillon@redhat.com>
16190
16191         * gnome/applet/other-network-dialog.c:
16192         * gnome/applet/wireless-applet.glade: More mnemonics
16193
16194 2005-08-17  Robert Love  <rml@novell.com>
16195
16196         * initscript/SUSE/networkmanager: update
16197
16198 2005-08-17  Dan Williams  <dcbw@redhat.com>
16199
16200         * Tag NM_0_4_1_RELEASE
16201
16202 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16203
16204         * gnome/applet/applet.c: More translatable string cleanup
16205
16206
16207 2005-08-17  Dan Williams  <dcbw@redhat.com>
16208
16209         * gnome/applet/applet-dbus-info.c
16210                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16211                         from the dbus message, which tells us to unconditionally
16212                         ask the user for a new key.  Otherwise, we pull the key from
16213                         the keyring and return it.  If we fail to get the key from the
16214                         keyring, we ask the user for a new key.
16215                 - (nmi_dbus_get_network_key): new function to grab the key for
16216                         an essid from the keyring.
16217                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16218                         Also, don't return any key in the dbus message.
16219
16220         * src/NetworkManagerDbus.[ch]
16221                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16222                         indicate that we unconditionally want a new key.  This function
16223                         is now also used to get keys from the info-daemon which are
16224                         pre-stored, not just for asking the user for a new key.  The
16225                         "new_key" parameter indicates whether or not we wish to ask the
16226                         user for a new key.
16227                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16228                         info-daemon in the return message, so use NULL instead.  The
16229                         key will be filled in at connect time by calling
16230                         nm_dbus_get_user_key_for_network()
16231
16232         * src/NetworkManagerDevice.c
16233                 - (nm_device_wireless_configure): update for "new_key" param to
16234                         nm_dbus_get_user_key_for_network().  We initially set new_key
16235                         to FALSE to see if we have a stored key in the info-daemon, but
16236                         if the connection is unsuccessful at this stage we request a
16237                         new one
16238
16239 2005-08-17  Dan Williams  <dcbw@redhat.com>
16240
16241         * gnome/applet/icons/nm-no-connection.png
16242           gnome/applet/icons/nm-device-wired.png
16243                 - Use Diana's new RJ45 connector icons
16244
16245 2005-08-17  Dan Williams  <dcbw@redhat.com>
16246
16247         * src/NetworkManagerPolicy.c
16248                 - (nm_policy_device_change_check): clarify switching rules if
16249                         both new and old devices are valid; mainly, don't switch
16250                         away from user-requested wireless connection back to a wired
16251                         one
16252
16253 2005-08-17  Dan Williams  <dcbw@redhat.com>
16254
16255         * gnome/applet/Makefile.am
16256                 - Relocate the applet to /usr/bin since it is no longer
16257                         executed by anything, but directly by the user
16258
16259 2005-08-17  Dan Williams  <dcbw@redhat.com>
16260
16261         Patch from Bill Moss <bmoss@clemson.edu>
16262
16263         * gnome/applet/applet-dbus-info.[ch]
16264                 - (nmi_save_network_info): save timestamp for network if it
16265                         was a change requested by the user
16266                 - (nmi_dbus_update_network_info): get user_requested from dbus
16267                         message and pass to nmi_save_network_info()
16268
16269         * gnome/applet/applet.c
16270                 - (nmwa_update_network_timestamp): remove
16271                 - (nmwa_menu_item_activate): don't set timestamp on networks
16272                         here, only after a successful connect in nmi_save_network_info()
16273
16274         * src/NetworkManagerDbus.[ch]
16275                 - (nm_dbus_update_network_info): pass user_requested into the 
16276                         dbus message
16277
16278         * src/NetworkManagerPolicy.c
16279                 - (nm_policy_activation_finish): pass user_requested to
16280                         nm_dbus_update_network_info()
16281
16282 2005-08-16  Robert Love  <rml@novell.com>
16283
16284         * gnome/applet/applet.c: Better "Dial Up" menu item.
16285
16286 2005-08-16  Robert Love  <rml@novell.com>
16287
16288         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16289           "Connection Information" menu item.
16290
16291 2005-08-16  Dan Williams  <dcbw@redhat.com>
16292
16293         Patch from j@bootlab.org
16294         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16295
16296         * configure.in: allow specifying the path to dhcdbd
16297
16298 2005-08-16  Robert Love  <rml@novell.com>
16299
16300         Patch from j@bootlab.org
16301         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16302           src/backends/interface_parser.h: Debian dialup support.
16303
16304 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16305
16306         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16307         * gnome/applet/applet.c: Add some mnemonics for VPNC
16308
16309         * vpn-daemons/.cvsignore: fix this up a little bit
16310
16311 2005-08-16  Robert Love  <rml@novell.com>
16312
16313         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16314           support.
16315
16316 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16317
16318         * gnome/applet/applet.c: Split markup out of translatable strings
16319         and clean up logic a little bit.  (fixes #309012)
16320
16321 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16322
16323         * gnome/vpn-properties/nm-vpn-properties.c:
16324         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16325         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16326         Makeshift fix to remove newlines from translatable strings.
16327         Note that we now return an allocated string, so callers of
16328         get_confirmation_details () must now call g_free () on the
16329         result. (fixes #309033).
16330
16331 2005-08-12  Robert Love  <rml@novell.com>
16332
16333         * gnome/applet/applet-dbus.c: remove newlines from translatable
16334           strings--not needed here anyway. (fix b.g.o #309011)
16335         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16336
16337 2005-08-11  Robert Love  <rml@novell.com>
16338
16339         * gnome/applet/applet.c: mark string as translatable.
16340
16341 2005-08-11  Robert Love  <rml@novell.com>
16342
16343         * initscript/SUSE/networkmanager: update.
16344
16345 2005-08-11  Dan Williams  <dcbw@redhat.com>
16346
16347         * src/nm-dhcp-manager.c
16348                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16349                         an gateway returned from DHCP, try to use the address of the DHCP
16350                         server as the gateway instead.  Found by Ralf Ertzinger.
16351
16352 2005-08-10  Robert Love  <rml@novell.com>
16353
16354         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16355           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16356
16357 2005-08-10  Dan Williams  <dcbw@redhat.com>
16358
16359         Patch from Bill Moss <bmoss@clemson.edu>
16360         * Consolidate writes of access point information updates to the info daemon
16361                 so that we only do it when the connection to the access point was
16362                 successful.  Also consolidates updates to GConf in the Gnome applet.
16363
16364         * src/nm-netlink-monitor.c
16365                 - Silence compile warning when calling g_object_new()
16366
16367 2005-08-08  Dan Williams  <dcbw@redhat.com>
16368
16369         Patch from Steev <steev@steev.net>:
16370         * src/backends/NetworkManagerGentoo.c
16371                 - Stub new dialup backend functions
16372
16373 2005-08-08  Dan Williams  <dcbw@redhat.com>
16374
16375         Patch from Colin Slater:
16376         * src/backends/NetworkManagerGentoo.c
16377                 - (nm_system_update_dns): Fix exit status check for restarting
16378                         nscd
16379
16380 2005-08-05  Robert Love  <rml@novell.com>
16381
16382         * NetworkManager.h,
16383           gnome/applet/applet-dbus-devices.c,
16384           gnome/applet/applet-dbus-devices.h,
16385           gnome/applet/applet-dbus.c,
16386           gnome/applet/applet.c,
16387           gnome/applet/applet.h,
16388           src/NetworkManager.c,
16389           src/NetworkManagerMain.h,
16390           src/NetworkManagerSystem.h,
16391           src/backends/NetworkManagerRedHat.c,
16392           src/backends/NetworkManagerSuSE.c,
16393           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16394
16395 2005-08-05  Robert Love  <rml@novell.com>
16396
16397         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16398           machine's hostname to make adhoc creation idiot-proof.
16399
16400 2005-08-04  Robert Love  <rml@novell.com>
16401
16402         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16403           freed.
16404
16405 2005-08-04  Dan Williams  <dcbw@redhat.com>
16406
16407         * gnome/applet/applet-dbus-info.c
16408           gnome/applet/applet-dbus-info.h
16409                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16410                         to store key, key type, and auth method rather than just auth method
16411                 - (nmi_dbus_update_network_info): new function
16412                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16413
16414         * gnome/applet/passphrase-dialog.c
16415                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16416                         of saving the info ourselves
16417
16418         * gnome/libnm_glib/libnm_glib.c
16419                 - Remove the stupid version check for dbus
16420
16421         * src/NetworkManagerAP.c
16422           src/NetworkManagerAP.h
16423                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16424
16425         * src/NetworkManagerDbus.c
16426           src/NetworkManagerDbus.h
16427                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16428                         more than just the auth method
16429
16430         * src/NetworkManagerDevice.c
16431                 - Update network info at the appropriate times
16432
16433 2005-07-29  Ray Strode  <rstrode@redhat.com>
16434
16435         * src/NetworkManager.c (nm_info_handler): don't use input as format
16436         string (Spotted by Ian Jackson).
16437
16438 2005-07-27  Dan Williams  <dcbw@redhat.com>
16439
16440         * src/nm-dbus-nm.c
16441           src/nm-dbus-net.c
16442                 - Random cleanups of spacing
16443
16444         * gnome/applet/applet.h
16445           gnome/applet/other-network-dialog.c
16446           gnome/applet/passphrase-dialog.c
16447                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16448
16449         Patch from Bill Moss:
16450                 - Make Other Wireless Networks work again with encryption keys
16451
16452 2005-07-26  Dan Williams  <dcbw@redhat.com>
16453
16454         Patch from Steev <steev@steev.net>:
16455         * src/backends/NetworkManagerGentoo.c
16456           src/backends/Makefile.am
16457                 - Fix up Gentoo backend
16458
16459 2005-07-26  Robert Love  <rml@novell.com>
16460
16461         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16462
16463 2005-07-25  Robert Love  <rml@novell.com>
16464
16465         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16466           in the same group as the wireless networks, since they are all
16467           mutually exclusive.
16468
16469 2005-07-24  Ray Strode  <rstrode@redhat.com>
16470
16471         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16472         remove unneeded NULL arg from g_object_new().  Any
16473         warnings caused by not having the extra NULL are just a
16474         result of a bug in glib 2.7.0 - 2.7.2.
16475
16476 2005-07-22  Robert Love  <rml@novell.com>
16477
16478         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16479
16480 2005-07-22  Robert Love  <rml@novell.com>
16481
16482         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16483           parameters (gcc 4.0.2 warning fix).
16484
16485 2005-07-18  Robert Love  <rml@novell.com>
16486
16487         Suggested by Aaron Bockover (abockover@novell.com)
16488         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16489           s/Ascii/ASCII
16490         * gnome/applet/passphrase-dialog.c: ditto
16491         * gnome/applet/wireless-applet.glade: ditto
16492
16493 2005-07-13  Dan Williams  <dcbw@redhat.com>
16494
16495         Patch from Ray Strode <halfline@gmail.com>
16496         * vpn-daemons/vpnc/nm-vpnc-service.c
16497                 - Don't let vpnc daemonize, fixes some races with PID file reading
16498
16499 2005-07-13  Dan Williams  <dcbw@redhat.com>
16500
16501         Patch from Ray Strode <halfline@gmail.com>
16502         * Random cleanups for strict CFLAGS
16503
16504 2005-07-07  Dan Williams  <dcbw@redhat.com>
16505
16506         Patch from Derek Atkins <warlord@MIT.EDU>
16507         * src/nm-dbus-net.c:
16508                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16509
16510 2005-07-07  Dan Williams  <dcbw@redhat.com>
16511
16512         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16513         * src/backends/NetworkManagerGentoo.c
16514                 - Gentoo backend Static IP nameserver fixes
16515                 - General Gentoo backend goodness
16516
16517 2005-07-07  Dan Williams  <dcbw@redhat.com>
16518
16519         Patch from Bastien Nocera:
16520         * gnome/applet/applet.c
16521                 - Fix up error reporting when icons or glade files are missing
16522
16523 2005-07-07  Robert Love  <rml@novell.com>
16524
16525         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16526           are not any VPN connections above it.
16527
16528 2005-07-07  Robert Love  <rml@novell.com>
16529
16530         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16531
16532 2005-07-05  Robert Love  <rml@novell.com>
16533
16534         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16535           zero.
16536
16537 2005-07-05  Robert Love  <rml@novell.com>
16538
16539         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16540           on wired or unencrypted wireless.
16541
16542 2005-07-01  Robert Love  <rml@novell.com>
16543
16544         * src/NetworkManagerSystem.c: Print the error via strerror().
16545
16546 2005-06-30  Robert Love  <rml@novell.com>
16547
16548         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16549           then exit if the glade file is not found.  currently the application
16550           just hangs.
16551
16552 2005-06-30  Robert Love  <rml@novell.com>
16553
16554         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16555           explicitly up all interfaces on wake from sleep.
16556
16557 2005-06-30  Robert Love  <rml@novell.com>
16558
16559         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16560           with information about the currently active connection.
16561         * gnome/applet/applet.h: (ditto)
16562         * gnome/applet/wireless-applet.glade: (ditto), new file
16563
16564 2005-06-30  Robert Love  <rml@novell.com>
16565
16566         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16567         * src/nm-dbus-nm.c: print when we sleep and wake up.
16568         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16569         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16570           in /sbin unless D-BUS is, folks).
16571         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16572
16573 2005-06-27  Robert Love  <rml@novell.com>
16574
16575         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16576           case.
16577
16578 2005-06-27  Robert Love  <rml@novell.com>
16579
16580         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16581           items radios.
16582
16583 2005-06-26  Robert Love  <rml@novell.com>
16584
16585         * src/NetworkManagerDevice.c: be specific about which device in
16586           nm_info() message.
16587
16588 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16589
16590         * src/nm-netlink-monitor.c: correct spelling error.
16591
16592 2005-06-23  Robert Love  <rml@novell.com>
16593
16594         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16595         * gnome/applet/passphrase-dialog.c: more of that keyring!
16596
16597 2005-06-23  Robert Love  <rml@novell.com>
16598
16599         * configure.in: remove extraneous GNOMEKEYRING directives.
16600         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16601         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16602         * gnome/applet/passphrase-dialog.c: whitespace.
16603
16604 2005-06-23  Robert Love  <rml@novell.com>
16605
16606         * src/NetworkManagerDevice.c: division in assignment was flipped.
16607
16608 2005-06-23  David Zeuthen  <david@fubar.dk>
16609
16610         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16611         signal to the child to indicate that we got what we wanted when we
16612         see two new-lines right after each other.
16613         (nmwa_vpn_request_password): Pass a structure with several members
16614         instead of just the passwords
16615
16616 2005-06-23  Dan Williams <dcbw@redhat.com>
16617
16618         * src/NetworkManager.c
16619           src/NetworkManagerMain.h
16620                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16621                 - (nm_hal_init): new function, init libhal context then add devices
16622                 - (nm_hal_deinit): new function, clean up libhal context
16623                 - (nm_data_free): Move Hal cleanup here
16624                 - (main): check whether Hal is running, and if so, get a list of
16625                         network devices from it
16626
16627         * src/NetworkManagerDbus.c
16628                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16629                         and when it appears, get a list of network devices from it.  If
16630                         Hal goes away, clean up the libhal context
16631
16632 2005-06-22  Robert Love  <rml@novell.com>
16633
16634         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16635           permissions of scripts before executing.
16636
16637 2005-06-21  Robert Love  <rml@novell.com>
16638
16639         * initscript/SUSE/networkmanager: update.
16640         * src/backends/NetworkManagerSuSE.c: cleanup.
16641
16642 2005-06-21  Robert Love <rml@novell.com>
16643
16644         * gnome/applet/applet.c: use menu mnemonics.
16645         * gnome/applet/menu-items.c: (ditto)
16646
16647 2005-06-21  Robert Love  <rml@novell.com>
16648
16649         * applet/applet-dbus-devices.c: mark non-static functions static.
16650         * applet/applet-dbus-vpn.c: (ditto)
16651         * applet/applet.c: (ditto)
16652         * applet/nm-device.h: (ditto)
16653         * applet/other-network-dialog.c: (ditto)
16654         * applet/passphrase-dialog.c: (ditto)
16655         * NetworkManager.c: (ditto)
16656         * NetworkManagerDbus.c: (ditto)
16657         * NetworkManagerDevice.c: (ditto)
16658         * NetworkManagerPolicy.c: (ditto)
16659         * NetworkManagerUtils.c: (ditto)
16660         * NetworkManagerWireless.c: (ditto)
16661         * NetworkManagerWireless.h: (ditto)
16662         * nm-netlink-monitor.c: (ditto)
16663         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16664         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16665         * autoip.c: include autoip.h.
16666         * autoip.h: new file.  define get_autoip().
16667         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16668         * NetworkManagerDbus.h: remove duplicate definitions.
16669
16670 2005-06-20  Robert Love  <rml@novell.com>
16671
16672         * Makefile.am: Add missing intltool-foo.in generated files to
16673           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16674           with the start of stuff to cleanup on 'distclea'.
16675         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16676           stuff right and 'distcheck' works.
16677         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16678           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16679           Makefile.am for each.  And systray/Makefile needs to be redone.
16680
16681 2005-06-19  Dan Williams <dcbw@redhat.com>
16682
16683         * src/NetworkManagerDevice.c
16684         - (nm_device_wireless_process_scan_results): scan every 20s when
16685           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16686
16687 2005-06-19  Dan Williams <dcbw@redhat.com>
16688
16689         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16690
16691 2005-06-18  Ray Strode <rstrode@redhat.com>
16692
16693         * src/nm-netlink-monitor.c 
16694         (nm_netlink_monitor_event_handler): check for the presence
16695         of either error condition not both. 
16696         
16697         (nm_netlink_monitor_error_handler): emit error signal if
16698         error occurs.
16699
16700         (nm_netlink_monitor_event_handler),
16701         (nm_netlink_monitor_error_handler),
16702         (nm_netlink_monitor_disconnect_handler): if an 
16703         assertion fails disconnect the event handler to prevent 
16704         infinite loops.
16705
16706         * src/nm-netlink-monitor.h: add new error condition
16707         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16708
16709 2005-06-18  Ray Strode <rstrode@redhat.com>
16710
16711         * src/nm-netlink-monitor.c 
16712         (nm_netlink_monitor_event_handler): remove bogus < 0
16713         check on unsigned value and return early if the kernel
16714         didn't send any bytes.
16715
16716 2005-06-17  Robert Love  <rml@novell.com>
16717
16718         * initscript/SUSE/networkmanager: Change the Provides and default
16719         run levels
16720
16721 2005-06-16  Dan Williams <dcbw@redhat.com>
16722
16723         Patch from Robert Love:
16724         * gnome/applet/applet.c
16725                 - Beautify some applet menu item names
16726
16727 2005-06-17  David Zeuthen  <davidz@redhat.com>
16728
16729         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16730         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16731         Also add new methods can_export, import_file and export.
16732
16733         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16734         to the main UI
16735
16736         * gnome/vpn-properties/nm-vpn-properties.c:
16737         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16738         nm-vpn-ui-interface.h.
16739         (update_edit_del_sensitivity): Also update "Export" sensitivity
16740         (add_vpn_connection): Also add new SVC_NAME column
16741         (import_settings): New function
16742         (retrieve_data_from_selected_connection): New function
16743         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16744         this function
16745         (export_cb): New function
16746         (init_app): Also setup the "export" widget
16747         (main): Support the --import-service and --import-file commandline
16748         arguments
16749
16750         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16751         D-BUS 0.34
16752
16753 2005-06-16  Dan Williams <dcbw@redhat.com>
16754
16755         Patch from Robert Love:
16756         * gnome/applet/menu-items.c
16757                 - (network_menu_item_new): pass -1 as wireless network
16758                         menu items height size request rather than ascent / 2
16759
16760 2005-06-16  Dan Williams <dcbw@redhat.com>
16761
16762         * Clean up wording in Wireless Scan Methods menu items and constants
16763
16764 2005-06-16  Robert Love  <rml@novell.com>
16765
16766         * po/POTFILES.in
16767                 - remove gtkcell* files
16768
16769 2005-06-15  Dan Williams <dcbw@redhat.com>
16770
16771         Patch from Robert Love: make the applet stetic
16772
16773         * gnome/applet/Makefile.am
16774                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16775
16776         * gnome/applet/gtkcellview.h
16777           gnome/applet/gtkcellview.c
16778           gnome/applet/gtkcellrendererprogress.h
16779           gnome/applet/gtkcellrendererprogress.c
16780                 - Removed
16781
16782         * gnome/applet/menu-items.c
16783                 - Progress bars are 5:1 size ratio
16784                 - Use GTK progress bars rather than internal ones
16785
16786 2005-06-15  Dan Williams <dcbw@redhat.com>
16787
16788         Patch from Robert Love:
16789         * initscript/SUSE/networkmanager
16790                 - Fix typo
16791
16792 2005-06-15  Dan Williams <dcbw@redhat.com>
16793
16794         * src/backends/NetworkManagerSuSE.c
16795           src/backends/NetworkManagerRedHat.c
16796           src/backends/NetworkManagerDebian.c
16797                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16798
16799 2005-06-15  Dan Williams <dcbw@redhat.com>
16800
16801         * src/backends/NetworkManagerDebian.c
16802                 - Add nm_system_device_get_use_dhcp() to debian backend
16803
16804         Patch from Kay Sievers:
16805         * src/backends/NetworkManagerSuSE.c
16806                 - Update debian backend for static IP nameservers
16807
16808         * src/NetworkManagerDevice.c
16809                 - Actually set the device to use static IP or DHCP rather
16810                         than always DHCP
16811
16812 2005-06-15  Dan Williams <dcbw@redhat.com>
16813
16814         Patch from Thom May:
16815         * src/backends/NetworkManagerDebian.c
16816                 - Update debian backend for static IP nameservers
16817
16818 2005-06-15  Dan Williams <dcbw@redhat.com>
16819
16820         Patches from Robert Love:
16821         * gnome/applet/wireless-applet.glade
16822                 - Tighten up wording
16823
16824         * src/NetworkManagerDevice.c
16825                 - Remove misplaced ';'
16826
16827         * configure.in
16828           initscript/Makefile.am
16829           initscript/SUSE/Makefile.am
16830           initscript/SUSE/networkmanager
16831                 - Add SUSE initscript
16832
16833 2005-06-12  David Zeuthen  <davidz@redhat.com>
16834
16835         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16836
16837         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16838
16839         * gnome/vpn-properties/nm-vpn-properties.c: New file
16840
16841         * gnome/vpn-properties/Makefile.am: New file
16842
16843         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16844         array of passwords
16845
16846         * src/vpn-manager/nm-vpn-manager.c
16847         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16848         instead of just a single one
16849
16850         * src/vpn-manager/nm-dbus-vpn.c:
16851         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16852         here
16853         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16854
16855         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16856         Change the interface here to give a list of passwords. Also, don't
16857         require username, but do require service
16858
16859         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16860         the binary for the auth-dialog and use that instead of putting up a
16861         dialog asking for a single password
16862
16863         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16864         however do remember the service
16865
16866         * gnome/applet/main.c (main): Setup i18n
16867
16868         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16869         connection to '%s'" to the tooltip if we are connected using VPN
16870         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16871         key to determine whether we the auth-dialog needs to
16872         reprompt. Also cope with the fact that the auth-dialog now returns
16873         an array of passwords.
16874         (nmwa_menu_configure_vpn_item_activate): New handler for
16875         "Configure VPN..." menu item
16876         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16877         (is_vpn_available): New function to determine if we got any
16878         NM-compatible VPN software installed
16879         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16880         items only if we have NM-compatible VPN software installed
16881         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16882         logic for detecting when VPN connections are removed
16883
16884         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16885         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16886         since these are defined elsewhere
16887
16888         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16889         function used to keep track of whether the last attempt succeded
16890         (nmwa_dbus_filter): Update last_attempt according to whether the
16891         VPN connection could be established or not
16892
16893         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16894         Change prototype to take an array of passwords, not just a single
16895         password
16896
16897         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16898         update service, not user
16899         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16900         dbus_active_vpn_name is not NULL before using it
16901         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16902         string array instead of assuming a single password
16903
16904         * gnome/applet/applet-dbus-info.c:
16905         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16906         user name; don't read from gconf
16907
16908         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16909         VPN_NAME_FILES_DIR
16910
16911         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16912
16913         * configure.in: Add checks for gmodule-2.0.
16914         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16915         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16916         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16917         for details
16918
16919         * vpn-daemons/Makefile.am: Removed
16920
16921         * vpn-daemons/README: New file to describe extensions points for VPN
16922         software
16923
16924 2005-06-10  Dan Williams <dcbw@redhat.com>
16925
16926         * src/backends/NetworkManagerRedHat.c
16927                 - (get_current_profile_name): new function, grab current network profile name from
16928                         /etc/sysconfig/network
16929                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16930                         update an IP4 Config structure's settings from it
16931                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16932                         get DNS info from current network profile
16933
16934 2005-06-09  Dan Williams <dcbw@redhat.com>
16935
16936         Patch from Robert Love:
16937         * src/NetworkManagerDevice.c
16938           src/NetworkManagerUtils.c
16939                 - 64-bit build fixes
16940
16941 2005-06-09  Dan Williams <dcbw@redhat.com>
16942
16943         Patch from Kay Sievers and Robert Love:
16944         * configure.in
16945           src/backends/Makefile.am
16946           src/backends/NetworkManagerSuSE.c
16947                 - Add SuSE support
16948
16949 2005-06-09  Dan Williams <dcbw@redhat.com>
16950
16951         * NetworkManager.h
16952                 - Add NMWirelessScanMethod enum for scan methods
16953
16954         * gnome/applet/applet-dbus-devices.c
16955                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16956                 - (nmwa_dbus_update_scanning_enabled): remove
16957                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16958                         since it got removed
16959                 - (nmwa_dbus_enable_scanning): remove
16960
16961         * gnome/applet/applet-dbus-info.c
16962                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16963                         update the wireless scanning method from NMI
16964                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16965                         method value to NetworkManager
16966                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16967
16968         * gnome/applet/applet-dbus-info.h
16969                 - Add prototype for nmi_dbus_signal_update_scan_method
16970
16971         * gnome/applet/applet.c
16972                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16973                         Wireless Scanning menu based on current wireless scan method
16974                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16975                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16976                         and update our menu items to make sure the right one is checked
16977                 - (nmwa_set_scanning_enabled_cb): remove
16978                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16979                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16980                         Scanning menu item
16981                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16982                         from GConf
16983                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16984                         so we get notified of preference values too
16985                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16986
16987         * gnome/applet/applet.h
16988                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16989                 - Add wireless scan method member to applet data
16990                 - Remove pause_scanning_item, add Wireless Scanning submenu
16991
16992         * src/NetworkManager.c
16993                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16994                 - (main): grab scanning method from NMI if we can
16995
16996         * src/NetworkManagerDbus.c
16997                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16998                         nm_dbus_update_wireless_scan_method()
16999                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17000                         from NMI
17001                 - (nm_dbus_nmi_is_running): redundant function, removed
17002                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17003                         when NMI comes back
17004
17005         * src/NetworkManagerDevice.c
17006                 - (nm_device_is_activated): return TRUE if the device is activated
17007                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17008                         and we are activated
17009
17010         * src/nm-dbus-nm.c
17011                 - (nm_dbus_nm_set_scanning_enabled): removed
17012                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17013                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17014
17015 2005-06-09  Dan Williams <dcbw@redhat.com>
17016
17017         * NetworkManager.h
17018           src/vpn-manager/nm-vpn-service.c
17019                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17020
17021 2005-05-27  Dan Williams <dcbw@redhat.com>
17022
17023         * vpn-daemons/vpnc/nm-vpnc-service.c
17024                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17025                         Should fix the bug where the VPN connection terminates the first time.
17026
17027 2005-05-20  Dan Williams <dcbw@redhat.com>
17028
17029         * NetworkManager.h
17030                 - Differentiate VPN config signals between bad VPN config options
17031                         and bad IP config
17032
17033         * gnome/applet/applet-dbus-info.h
17034                 - Add prototypes for wireless network and vpn connection update functions
17035
17036         * gnome/applet/applet-dbus.c
17037                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17038
17039         * gnome/applet/applet.c
17040                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17041                         error signals
17042                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17043                         propogation to NetworkManager
17044                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17045                         notify propogation to NetworkManager
17046
17047         * src/NetworkManagerDbus.c
17048                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17049                         are updating so a network can be removed from it if necessary
17050
17051         * src/vpn-manager/nm-vpn-manager.c
17052                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17053
17054         * vpn-daemons/vpnc/nm-vpnc-service.c
17055                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17056                 - (nm_vpnc_dbus_signal_launch_failed): remove
17057                 - (nm_vpnc_dbus_signal_connect_failed): remove
17058                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17059                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17060                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17061                         for new generalized error signal function, remove config file stuff
17062                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17063                         we can write configuration options to it
17064                 - (nm_vpnc_config_file_generate): removed
17065                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17066                 - (nm_vpnc_config_options_validate): validate the config options we receive
17067                         from NetworkManager to block potential exploits
17068                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17069                         starting vpnc
17070                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17071                         to NetworkManager
17072
17073 2005-05-16  Dan Williams  <dcbw@redhat.com>
17074
17075         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17076                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17077                         is not "connect"
17078
17079 2005-05-16  Dan Williams  <dcbw@redhat.com>
17080
17081         Patch from Tomislav Vujec <tvujec@redhat.com>
17082         * gnome/applet/applet-dbus-info.c
17083                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17084                         GConf and pass them to NetworkManager.  New key is 'routes' under
17085                         the VPN connection, and should be a string list
17086
17087         * src/NetworkManagerSystem.c
17088                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17089                         set them on the device when we set the rest of the VPN config.  Ensure
17090                         they are in the correct format since they are passed directly to the
17091                         command line.
17092
17093         * src/backends/NetworkManagerRedHat.c
17094           src/backends/NetworkManagerDebian.c
17095                 - (nm_system_device_add_route_via_device_with_iface): new function
17096
17097         * src/vpn-manager/nm-dbus-vpn.c
17098                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17099
17100         * src/vpn-manager/nm-vpn-manager.c
17101                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17102                         them into the IP4 config functions
17103
17104 2005-05-15  Dan Williams  <dcbw@redhat.com>
17105
17106         From Filip Miletic:
17107         * po/sr.po
17108           po/sr@Latn.po
17109           configure.in
17110                 - Serbian translation added
17111
17112 2005-05-15  Dan Williams  <dcbw@redhat.com>
17113
17114         * dispatcher-daemon/NetworkManagerDispatcher.c
17115                 - (main): sync arguments with NetworkManager and the applet, now use
17116                         "--no-daemon" rather than "daemon=no"
17117                 - (nmd_print_usage): Fix script path in usage message
17118
17119 2005-05-15  Dan Williams  <dcbw@redhat.com>
17120
17121         * src/NetworkManagerDevice.[ch]
17122           src/NetworkManagerPolicy.c
17123           src/NetworkManager.c
17124           src/nm-dbus-nm.c
17125                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17126                         longer send the DeviceNoLongerActive signal unconditionally, but only
17127                         when the device is actually active.
17128
17129         * dispatcher-daemon/NetworkManagerDispatcher.c
17130                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17131                         and simplify the logic
17132                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17133                         we free it later on
17134
17135         * initscript/RedHat/Makefile.am
17136           initscript/RedHat/NetworkManagerDispatcher
17137                 - Add initscript for NetworkManagerDispatcher
17138
17139
17140         Patch from Bill Moss:
17141         * dispatcher-daemon/NetworkManagerDispatcher.c
17142                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17143
17144         * src/NetworkManagerDbus.c
17145                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17146                         and DeviceNowActive gets signaled, then the device has a new IP address
17147                         anyway.  There's no need for a separate signal.
17148
17149         * src/NetworkManagerDevice.c
17150                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17151
17152         * src/NetworkManagerPolicy.c
17153                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17154                         activates successfully.  This kind of went missing when I reworked the
17155                         activation code.
17156
17157 2005-05-15  Dan Williams  <dcbw@redhat.com>
17158
17159         * configure.in
17160                 - Check for dhcdbd and error if its not found
17161
17162         * src/dhcp-manager/Makefile.am
17163           src/dhcp-manager/nm-dhcp-manager.c
17164                 - Use path to dhcdbd that configure found
17165
17166 2005-05-14  Dan Williams  <dcbw@redhat.com>
17167
17168         * gnome/applet/nm-device.c
17169                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17170                         sort wireless networks alphabetically
17171
17172         * gnome/applet/applet-dbus-devices.c
17173                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17174                         before copying them over to the GUI
17175
17176 2005-05-14  Dan Williams  <dcbw@redhat.com>
17177
17178         * src/NetworkManager.c
17179                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17180                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17181                         the device list, as does nm_get_active_device() which is called from
17182                         nm_vpn_manager_deactivate_vpn_connection().
17183
17184 2005-05-14  Dan Williams  <dcbw@redhat.com>
17185
17186         * NetworkManager.h
17187                 - Add signals for VPN Launch and Connect failures
17188
17189         * gnome/applet/applet-dbus.c
17190                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17191
17192         * gnome/applet/applet.c
17193                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17194                         function to handle all VPN failure messages
17195                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17196                         function to hanlde all VPN failure  messages
17197                 - (show_warning_dialog): work around focus-stealing prevention
17198
17199         * gnome/applet/other-network-dialog.c
17200           gnome/applet/passphrase-dialog.c
17201                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17202                         problem where it never enabled for ASCII Key and Hex Key types
17203
17204         * gnome/applet/wireless-applet.glade
17205                 - Add window title to Other Wireless Network Dialog
17206
17207         * src/vpn-manager/nm-dbus-vpn.c
17208                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17209                         function to handle all VPN failure messages
17210
17211         * src/vpn-manager/nm-vpn-manager.c
17212                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17213
17214         * vpn-daemons/vpnc/nm-vpnc-service.c
17215                 - (nm_vpnc_dbus_signal_launch_failed): new function
17216                 - (nm_vpnc_dbus_signal_connect_failed): new function
17217                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17218                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17219                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17220                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17221
17222 2005-05-11  Dan Williams  <dcbw@redhat.com>
17223
17224         * vpn-daemons/vpnc/nm-vpnc-service.c
17225                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17226                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17227                         file exists before trying to write it out.
17228
17229 2005-05-10  Dan Williams  <dcbw@redhat.com>
17230
17231     * gnome/applet/applet-dbus-device.c
17232         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17233             prevented just entering ESSID and leaving key and key type up to
17234             NetworkManager (which should have them already cached)
17235
17236 2005-05-08  Dan Williams  <dcbw@redhat.com>
17237
17238         * src/NetworkManagerPolicy.c
17239                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17240                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17241                         fix a situation where NM is told to terminate and the device stops activation,
17242                         but the main thread isn't aware of that because it would never have run
17243                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17244                         had already quit.
17245
17246         * src/NetworkManagerDevice.c
17247                 - (nm_device_probe_wired_link_state): cosmetic fixes
17248                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17249                         we've failed to activate or been canceled.
17250                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17251
17252 2005-05-08  Dan Williams  <dcbw@redhat.com>
17253
17254         * src/NetworkManagerWireless.c
17255                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17256                         value of WEXT quality structures, and add a debug message when we cannot
17257                         determine any quality % at all
17258
17259 2005-05-08  Dan Williams  <dcbw@redhat.com>
17260
17261         * src/dhcp-manager/nm-dhcp-manager.c
17262                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17263                         it goes down.
17264
17265 2005-05-06  Dan Williams  <dcbw@redhat.com>
17266
17267         * gnome/applet/applet-dbus-device.c
17268           gnome/applet/applet-dbus-info.c
17269           gnome/applet/applet-dbus.c
17270           gnome/applet/applet.c
17271           gnome/applet/applet.h
17272                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17273
17274         * gnome/applet/applet-dbus.c
17275                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17276                         so we notice when wired device's carriers come back on.  Should
17277                         fix issue with wired devices being grayed out even if the cable
17278                         is in, for devices that support carrier detection.
17279
17280         * gnome/applet/applet.c
17281                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17282                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17283                         tooltip message
17284                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17285                         Fix situation where applet wouldn't respond to menu selections
17286
17287         * src/NetworkManager.c
17288           src/NetworkManagerDevice.c
17289           src/NetworkManagerDbus.c
17290           src/NetworkManagerDbus.h
17291                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17292
17293         * src/NetworkManagerDbus.c
17294                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17295                         Remove, no longer used or relevant
17296                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17297                 - (nm_dbus_schedule_device_status_change_signal): add
17298
17299         * src/NetworkManagerDevice.c
17300                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17301                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17302                         ie don't deactivate them unless explicitly told to by the user.  Also send
17303                         CARRIER_OFF / CARRIER_ON signals when link changes
17304                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17305                         Don't print error message when device is no longer around
17306                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17307                         not just during activation
17308
17309         * src/NetworkManagerPolicy.c
17310                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17311                         auto-device-selection.
17312                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17313
17314         * src/NetworkManagerSystem.c
17315                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17316                         is no longer present (Bill Moss)
17317
17318         * src/backends/shvar.c
17319                 - (svOpenFile): Open read-only to make SELinux happy
17320
17321         * src/backends/NetworkManagerRedHat.c
17322                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17323                         the path to the ifcfg-* files
17324
17325 2005-05-05  Dan Williams  <dcbw@redhat.com>
17326
17327         * Expose activation stages to NetworkManager clients, like the applet
17328         * Add Diana's progress icons to the applet, cued off NM activation stage
17329         * Use more descriptive tooltips, cued off NM activation stage
17330
17331 2005-05-05  Ray Strode  <rstrode@redhat.com>
17332
17333         * src/nm-netlink-monitor.c:
17334                 - Use clear_event_source instead of g_nullify_pointer() again.
17335
17336 2005-05-05  Dan Williams  <dcbw@redhat.com>
17337
17338         * gnome/applet/main.c
17339                 - Fix session management so the applet is actually managed now
17340
17341         * gnome/applet/passphrase-dialog.c
17342                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17343
17344 2005-05-05  Dan Williams  <dcbw@redhat.com>
17345
17346         Patch from Bill Moss:
17347         * gnome/libnm_glib/libnm_glib.c
17348                 - Fix for dbus-0.33
17349
17350 2005-05-05  Dan Williams  <dcbw@redhat.com>
17351
17352         Suggestion from Bill Moss:
17353         * src/NetworkManagerSystem.c
17354                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17355
17356
17357         * src/NetworkManager.c
17358                 - (nm_data_free): move destruction of the various managers after
17359                         release of device list, because deactivating and freeing a device
17360                         requires at least the named manager
17361                 - (nm_poll_and_update_wireless_link_state):
17362                   (nm_device_link_activated):
17363                   (nm_device_link_deactivated):
17364                         don't grab the device list lock when actually updating device
17365                         link status or strength, since nm_device_set_link_active()
17366                         needs to call nm_get_active_device(), which also locks the device list.
17367
17368         * src/NetworkManagerDevice.c
17369                 - (nm_device_set_link_active): if a device's link switches from off->on,
17370                         and it's wired, and the active device is wireless (or there is no
17371                         active device), activate the new device whose link just came on
17372                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17373                         my only calling the link to the current ap "failed" when more than 2
17374                         consecutive link checks have failed
17375
17376 2005-05-04  Dan Williams  <dcbw@redhat.com>
17377
17378         * src/NetworkManagerDevice.c
17379                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17380                         but let link_to_specific_ap() do the locking where it needs
17381
17382         Patch from Bill Moss:
17383         * src/NetworkManagerSystem.c
17384                 - Set MTU of VPN devices to 1412
17385
17386 2005-05-04  Dan Williams  <dcbw@redhat.com>
17387
17388         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17389
17390         * Fix some holes in device activation and retaining the currently connected
17391                 access point
17392
17393 2005-05-03  Dan Williams  <dcbw@redhat.com>
17394
17395         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17396           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17397           means you need dhcdbd, which you can get here (get the latest one):
17398
17399                 http://people.redhat.com/jvdias/dhcdbd/
17400
17401           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17402           interface as dhcdbd.
17403
17404         * Rewrite device activation to facilitate the new DHCP infrastructure and
17405           future improvements.  Its now "activation request" based, ie there is a single
17406           activation request composed of the device, access point, and other info which
17407           follows the entire activation process.  There are 5 stages of the activation
17408           process which correspond to:
17409
17410                 1) Device preparation
17411                 2) Device configuration (bring it up, set ESSID/Key/etc)
17412                 3) IP Config Start (fire off DHCP if we're using it)
17413                 4) IP Config Get (grab config from DHCP or static config files)
17414                 5) IP Config Commit (set device's IP address, DNS, etc)
17415
17416           Note that there is no longer a "scanning" step, since the access point must
17417           be known _before_ activation starts.  If the access point drops out or does
17418           not exist for some reason, the entire activation process fails and must be
17419           restarted for a different access point or device.
17420
17421         Patch from Bill Moss:
17422         * gnome/applet/applet.c
17423                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17424
17425 2005-04-27  Dan Williams  <dcbw@redhat.com>
17426
17427         * gnome/applet/applet-dbus-vpn.c
17428           gnome/applet/applet.c
17429           gnome/applet/applet.h
17430                 - Fix up active VPN handling so that we reliably know when a VPN
17431                         connection has been deactivated
17432
17433         * src/vpn-manager/nm-vpn-manager.c
17434                 - Remove duplicate VPNConnectionChange signal
17435
17436 2005-04-27  Dan Williams  <dcbw@redhat.com>
17437
17438         Patch from Peter Jones:
17439         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17440
17441         Patch from Bill Moss:
17442         * src/NetworkManagerSystem.c
17443                 - Fix checking of return value from ioctl()
17444
17445 2005-04-27  Dan Williams  <dcbw@redhat.com>
17446
17447         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17448         * Warn and exit if icons cannot be found
17449
17450 2005-04-27  Dan Williams  <dcbw@redhat.com>
17451
17452         Patch from Tom Parker:
17453         * Update debian backend
17454
17455 2005-04-27  Dan Williams  <dcbw@redhat.com>
17456
17457         * Merge the applet and the info-daemon, and move the converged
17458                 applet under gnome/applet
17459         * Move libnm_glib to gnome/libnm_glib
17460         * Convert most dbus calls between the applet, info-daemon, and NM
17461                 into async calls
17462         * Fix a few things valgrind noticed
17463         * Make NM broadcast state more reliably
17464
17465 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17466
17467         * configure.in: Added ne in ALL_LINGUAS
17468
17469 2005-04-15  Dan Williams  <dcbw@redhat.com>
17470
17471         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17472                 code for dbus 0.2x versions
17473
17474 2005-04-15  Dan Williams  <dcbw@redhat.com>
17475
17476         Patches from Tom Parker:
17477         - Fix memleaks
17478         - Join with worker thread rather than polling for its exit
17479
17480         Patch from Bill Moss:
17481         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17482
17483 2005-04-15  Dan Williams  <dcbw@redhat.com>
17484
17485         - Fixes to pass 'make distcheck'
17486
17487 2005-04-15  Dan Williams  <dcbw@redhat.com>
17488
17489         Initial VPN Support
17490                 - supports 'vpnc'
17491                 - reworks device IP configuration, backend files have changed and will need
17492                         to be updated for all distributions.  I will try to do what I can for
17493                         them, but I cannot test them.
17494
17495         - Move named directory to src/named-manager
17496         - Make backends directory self-contained
17497
17498 2005-04-06  Dan Williams  <dcbw@redhat.com>
17499
17500         Add debug code for socket/file descriptor leaks.  We register every socket
17501         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17502         list of sockets that we forgot to close on shutdown.  This also consolidates
17503         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17504
17505 2005-04-06  Dan Williams  <dcbw@redhat.com>
17506
17507         * dhcpcd/dhcpcd.c
17508                 - (dhcp_interface_free): fix a file descriptor leak that may have
17509                         caused network drivers to not unload due to refcounts > 0
17510
17511 2005-04-04  Dan Williams  <dcbw@redhat.com>
17512
17513         * panel-applet/NMWirelessAppletDbus.c
17514                 - (nmwa_dbus_call_nm_method): remove some commented code
17515
17516         * src/NetworkManagerAPList.[ch]
17517                 - (nm_ap_list_remove_ap_by_essid): new function
17518
17519         * src/NetworkManagerDevice.c
17520                 - (nm_device_wireless_force_use): remove access points from the ignore list
17521                         when the user forces them
17522
17523         * src/nm-dbus-device.c
17524                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17525
17526 2005-04-04  Dan Williams  <dcbw@redhat.com>
17527
17528         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17529
17530 2005-04-04  Dan Williams  <dcbw@redhat.com>
17531
17532         * src/NetworkManagerDevice.c:
17533                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17534                         of only erroring after the second consecutive scan times out.  Also
17535                         don't exit when the card requires more time than we can give it, just
17536                         log the event and continue.
17537
17538 2005-04-01  Steve Murphy  <murf@e-tools.com>
17539
17540         * configure.in: Added "rw" to ALL_LINGUAS.
17541
17542 2005-04-01  Dan Williams <dcbw@redhat.com>
17543
17544         Perform scans during device activation, if needed.  Both activation 
17545         and scans run in the same GMainContext.  Therefore, if an access point
17546         is not found by the time the device starts activation, it will not
17547         be available until after activation.  We now try to scan during
17548         activation (in nm_wa_test) every 15s so that all available access
17549         points are more likely to be found and available for the activation
17550         procedure.
17551
17552         Also change nm_wireless_link_state_handle() to only update the "best"
17553         AP if we are not forcing a device and if we are not about to change
17554         state.  This attempts to work around a race when forcing a device,
17555         where the forced AP would get cleared out too soon by the link state
17556         checking timeout in the main thread, and the activation attempt with
17557         that AP would fail.
17558
17559 2005-04-01  Dan Williams <dcbw@redhat.com>
17560
17561         * po/POTFILES.in
17562                 - Update with new translatables
17563
17564 2005-03-31  Dan Williams <dcbw@redhat.com>
17565
17566         * panel-applet/NMWirelessAppletDbus.c
17567                 - Fix device names now that hal has changed device parenting for
17568                         network devices.
17569
17570 2005-03-31  Dan Williams <dcbw@redhat.com>
17571
17572         Tighten up handling of wireless devices that don't support wireless
17573         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17574         hadn't been doing pseudo-scanning for a while either and would just
17575         spin waiting for an access point.  They are now manual devices where
17576         the user must choose the access point from the menu every time.  All
17577         "allowed" access points are listed in the applet's menu regardless
17578         of whether or not they can be seen by the card, since it can't scan
17579         anyway.
17580
17581         * src/NetworkManager.c
17582                 - (nm_wireless_link_state_handle): new function, but only update
17583                         the "best" ap for non-scanning devices when its not activating,
17584                         and when no device is being forced on the card
17585                 - (nm_link_state_monitor): split wireless link state handling out
17586                         into separate function
17587
17588         * src/NetworkManagerDevice.c
17589                 - (nm_device_copy_allowed_to_dev_list): new function
17590                 - (nm_device_new): populate non-scanning cards' AP lists with
17591                         access points from the "allowed" list
17592                 - (nm_device_new): don't start a scanning timeout for devices that
17593                         can't scan
17594                 - (nm_device_activation_schedule_finish): new parameter, should be
17595                         the AP that failed to be connected to, pass it on to the
17596                         activation finish function in NetworkManagerPolicy.c
17597                 - (nm_device_activate_wireless): don't ever try to get a new AP
17598                         for non-scanning devices, just fail.  The user must choose
17599                         a new access point manually.
17600                 - (nm_device_activate): grab the AP that failed connection and
17601                         pass it on
17602                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17603                         a link to it, user must manually choose a new one
17604                 - (nm_device_do_pseudo_scan): remove function
17605                 - (nm_device_wireless_process_scan_results): remove bits for non-
17606                         scanning cards since they never get here
17607                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17608                         and fake the scan list for test devices a bit earlier
17609
17610         * src/NetworkManagerPolicy.c
17611                 - (nm_policy_activation_finish): use the failed_ap that we get
17612                         passed rather than getting the best_ap from the card, which
17613                         may have changed since we were scheduled
17614                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17615                         update their scan list directly from the allowed list when
17616                         we get updates to the allowed list from NetworkManagerInfo
17617
17618         * src/NetworkManagerPolicy.h
17619                 - New member for failed access point in NMActivationResult
17620
17621   -------------------------------------
17622
17623         Driver Notification patch: notifies the user when their driver
17624                 sucks.  Gives them the option to ignore further insertions
17625                 of the card that has the sucky driver.
17626
17627         * NetworkManager.h
17628                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17629                         enum and replace it with NO_CARRIER_DETECT and
17630                         NO_WIRELESS_SCAN
17631
17632         * panel-applet/NMWirelessApplet.[ch]
17633                 - Merge essid.glade -> wireless-applet.glade
17634                 - Implement the "Your driver sucks" notification dialog
17635
17636         * panel-applet/NMWirelessAppletDbus.c
17637                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17638                 - Grab hardware address for each device from NM too
17639                 - Check whether the driver for each device sucks or not whenever
17640                         a new device is noticed
17641
17642         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17643                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17644
17645         * src/NetworkManager.c
17646                 - Fix a double-unref on device removal
17647
17648         * src/NetworkManagerUtils.c
17649                 - Set appropriate driver support level on a device that doesn't
17650                         support scanning or carrier detection
17651
17652         * src/nm-dbus-device.c
17653                 - New "getHWAddress" dbus method on devices
17654                 - getSupportsCarrierDetect -> getDriverSupportLevel
17655
17656 2005-03-31  Dan Williams <dcbw@redhat.com>
17657
17658         * src/NetworkManagerDevice.c
17659                 - (nm_device_wireless_scan): Fix leak of scan results in some
17660                         instances
17661
17662 2005-03-29  Dan Williams <dcbw@redhat.com>
17663
17664         * src/NetworkManager.c
17665                 - (nm_poll_and_update_wireless_link_state): make code less indented
17666
17667         Patch from Bill Moss:
17668         * src/NetworkManager.c
17669                 - (nm_device_update_link_state): Update signal strength on wireless
17670                         devices every time we update link state too.
17671
17672 2005-03-29  Dan Williams <dcbw@redhat.com>
17673
17674         * src/NetworkManagerDevice.c
17675                 - (nm_device_set_essid): Work around Orinoco cards which need
17676                         extra time after setting the ESSID
17677
17678 2005-03-29  Dan Williams <dcbw@redhat.com>
17679
17680         * src/NetworkManagerDevice.c
17681                 - Merge one more bit of Peter Jones' completion patch
17682
17683 2005-03-29  Dan Williams <dcbw@redhat.com>
17684
17685         * src/NetworkManagerDevice.c
17686                 - (nm_device_force_use): Fix possible segfault
17687
17688 2005-03-29  Dan Williams <dcbw@redhat.com>
17689
17690         * src/NetworkManagerDevice.c
17691                 - Use iw_get_ext() where we should rather than iw_set_ext()
17692
17693 2005-03-29  Dan Williams <dcbw@redhat.com>
17694
17695         * src/NetworkManagerDevice.c
17696                 - (nm_device_set_up_down): remove check for unsupported devices
17697                         that caused NM to not bring devices up when they were
17698                         added to the device list.
17699
17700 2005-03-28  Dan Williams <dcbw@redhat.com>
17701
17702         * src/NetworkManagerDevice.c
17703                 - (mdio_read): Fix two bugs that caused all devices to fail
17704                         the MII carrier detection support checks
17705
17706 2005-03-26  Dan Williams <dcbw@redhat.com>
17707
17708         * src/NetworkManagerDevice.c
17709                 - (nm_device_wireless_scan): Remove duplicated scanning code
17710
17711 2005-03-25  Dan Williams <dcbw@redhat.com>
17712
17713         * panel-applet/NMWirelessApplet.c
17714                 - (nmwa_about_cb): Add some more contributors
17715                 - (nmwa_update_state): show the applet when there's no connection
17716                 - Enable the "Stop/Resume all wireless devices" option in the
17717                         context menu
17718                 - New "no connection" icon
17719
17720         * src/NetworkManager.c
17721                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17722                         wireless is disabled or we're asleep
17723
17724         * src/NetworkManagerDHCP.c
17725                 - Remove trailing "\n" on debug messages
17726
17727         * src/NetworkManagerDbus.c
17728                 - (nm_dbus_network_status_from_data): new state "asleep"
17729
17730         * src/NetworkManagerDevice.c
17731                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17732                         latency and wait times for most operations
17733                 - (nm_device_wireless_scan): Don't scan when asleep
17734
17735         * src/NetworkManagerPolicy.c
17736                 - (nm_policy_get_best_device): return no device when asleep
17737                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17738                         for all wireless devices on update, not just active device
17739
17740         * src/NetworkManagerUtils.c
17741                 - Merge Peter Jones' "completion" patch
17742
17743         * src/nm-dbus-nm.c
17744                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17745                         we're told to disable them
17746                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17747
17748         * utils/nm-utils.h
17749                 - New variants of the warn/info/error/debug print functions that can take
17750                         variables rather than static strings
17751
17752 2005-03-24  Dan Williams <dcbw@redhat.com>
17753
17754         * src/NetworkManagerUtils.c
17755                 - (nm_get_device_driver_name): driver names are now on the parents of
17756                         "Network Interface" objects, so look for them there
17757
17758 2005-03-24  Dan Williams <dcbw@redhat.com>
17759
17760         * test/nmtest.c
17761                 - Escape some forgotten object paths before we shove them through dbus
17762
17763 2005-03-24  Dan Williams <dcbw@redhat.com>
17764
17765         * dhcpcd/dhcpcd.[ch]
17766           src/NetworkManagerDHCP.c
17767                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17768                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17769
17770         * src/NetworkManagerDbus.c
17771                 - spacing cleanups
17772
17773         * src/nm-dbus-dhcp.c
17774                 - Make the API suck less.  There is now only 1 type of each function,
17775                         ie only "getInteger" and no longer also "getIntegerv".  All types
17776                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17777                         that will never have more than 1 element.  This should simplify
17778                         things greatly.
17779
17780         * test/nm-dhcp-opt-test.c
17781                 - Make the tool not segfault
17782                 - adapt to new DHCP Options API
17783
17784 2005-03-22  Dan Williams <dcbw@redhat.com>
17785
17786         * src/NetworkManager.c
17787                 - (nm_wired_link_deactivated): actually ignore netlink events from
17788                         wireless devices.
17789
17790 2005-03-22  Dan Williams <dcbw@redhat.com>
17791
17792         * src/NetworkManager.c
17793                 - (nm_wired_link_activated): actually ignore netlink events from
17794                         wireless devices.
17795
17796 2005-03-17  Dan Williams <dcbw@redhat.com>
17797
17798         Patch from Tom Parker:
17799         * src/nm-netlink-monitor.c
17800                 - Include unistd.h
17801         * info-daemon/NetworkManagerInfoDbus.c
17802                 - (nmi_dbus_update_network_auth_method): free GConf values
17803
17804         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17805         * src/NetworkManagerDevice.c
17806                 - (nm_device_set_wireless_config): wait for successful
17807                         association longer for some cards (Atheros a/b/g)
17808
17809 2005-03-15  Ray Strode  <rstrode@redhat.com>
17810
17811         * src/NetworkManager.c:
17812         (sigterm_pipe_handler):
17813         remove bogus FIXME
17814
17815 2005-03-15  Ray Strode  <rstrode@redhat.com>
17816
17817         * src/NetworkManagerDbus.c:
17818         Fix some sign weirdness that gcc4 doesn't like,
17819         and add a header file so PPC can hopefully find
17820         SIGTRAP
17821
17822 2005-03-14  Ray Strode  <rstrode@redhat.com>
17823         
17824         Fourth (probably working) cut at porting to
17825         dbus 0.30 api and new hal. This cut adds
17826         some new logging macros to make debugging
17827         easier.
17828
17829         * dispatcher-daemon/NetworkManagerDispatcher.c:
17830         * info-daemon/NetworkmanagerInfo.c:
17831         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17832         * info-daemon/NetworkManagerInfoVPN.c:
17833         * src/NetworkManager.c:
17834         * src/NetworkManagerAP.c:
17835         * src/NetworkManagerAPList.c:
17836         * src/NetworkManagerDHCP.c:
17837         * src/NetworkManagerDbus.c:
17838         * src/NetworkManagerDevice.c:
17839         * src/NetworkManagerPolicy.c:
17840         * src/NetworkManagerSystem.c:
17841         * src/NetworkManagerUtils.c:
17842         * src/NetworkManagerWireless.c:
17843         * src/autoip.c:
17844         * src/nm-dbus-nm.c:
17845         * src/backends/NetworkManagerDebian.c:
17846         * src/backends/NetworkManagerGentoo.c:
17847         * src/backends/NetworkManagerRedHat.c:
17848         * src/backends/NetworkManagerSlackware.c:
17849         use new logging macros.
17850
17851         * dispatcher-daemon/NetworkManagerDispatcher.c:
17852         (nmd_dbus_filter): s/dbus_free/g_free/
17853
17854         * info-daemon/Makefile.am: link in utils library.
17855         * info-daemon/NetworkmanagerInfo.c: use new logging 
17856         macros.
17857         (nmi_dbus_get_network): don't assume enumerations
17858         are 32-bit.
17859         (nmi_dbus_nmi_message_handler): don't free what 
17860         doesn't belong to us.
17861
17862         * libnm_glib/libnm_glib.c:
17863         (libnm_glib_get_nm_status): 
17864         (libnm_glib_init): don't free what doesn't
17865         belong to us.
17866         (libnm_glib_dbus): strdup result, so it doesn't get
17867         lost when message is unref'd.
17868
17869         * panel-applet/NMWirelessAppletDbus.c:
17870         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17871
17872         * src/NetworkManager.c:
17873         (nm_monitor_wired_link_state): request initial status 
17874         dump of all cards when we start up, instead of relying
17875         on /sys/.../carrier.
17876         (nm_info_handler), (nm_set_up_log_handlers): 
17877         log handlers to specify what syslog priorites 
17878         the logging macros default to.
17879
17880         * src/NetworkManagerAPList.c: 
17881         (nm_ap_list_populate_from_nmi):
17882         s/dbus_free_string_array/g_strfreev/
17883
17884         * src/NetworkManagerDbus.c:
17885         (nm_dbus_get_network_object):
17886         validate d-bus message argument types.
17887         Advance message iterator after reading argument,
17888         prepend instead of append to GSList.
17889
17890         * src/NetworkManagerDevice.c:
17891         (nm_device_probe_wired_link_status):
17892         remove redundant /sys in /sys path. remove wrong
17893         contents == NULL means has carrier assumption.
17894
17895         * src/nm-netlink-monitor.c 
17896         (nm_netlink_monitor_request_status): implement
17897         function to ask kernel to dump interface link
17898         status over netlink socket.
17899
17900         * test/*.c: s/dbus_free/g_free/
17901
17902         * utils/nm-utils.h:
17903         (nm_print_backtrace): new macro to print backtrace.
17904         (nm_get_timestamp): new macro to get sub-second precise
17905         unix timestamp.
17906         (nm_info), (nm_debug), (nm_warning), (nm_error):
17907         new logging functions. nm_info just prints,
17908         nm_debug includes timestamp and function,
17909         nm_warning includes function, nm_error includes
17910         backtrace and sigtrap.
17911
17912 2005-03-11  Ray Strode  <rstrode@redhat.com>
17913
17914         Third (unfinished, partially working) cut at porting to 
17915         dbus 0.30 api and new hal.
17916
17917         * info-daemon/NetworkManagerInfoDbus.c:
17918                 don't free null arrays.
17919
17920         * panel-applet/NMWirelessAppletDbus.c: 
17921         * src/nm-dbus-device.c:
17922         * src/nm-dbus-net.c: 
17923         * src/NetworkManagerDbus.c: more 
17924         STRING -> OBJECT_PATH fun
17925         * src/NetworkManagerDevice.c:
17926         * src/NetworkManagerDevice.h:
17927         (rename nm_device_get_link_active): rename to 
17928         nm_device_has_active_link
17929         (nm_device_wireless_link_active): rename to
17930         nm_device_probe_wireless_link_state
17931         (nm_device_wired_link_active): rename to
17932         nm_device_probe_wired_link_state.  Rewrite to
17933         use carrier file since hal doesn't maintain
17934         link state anymore.
17935         (nm_device_update_link_active): rename to
17936         nm_device_update_link_state
17937         * src/NetworkManagerPolicy.c 
17938           (nm_policy_activation_finish): check for NULL
17939           MAC address.
17940
17941         * src/Makefile.am:
17942         * src/NetworkManagerMain.h: 
17943         * src/NetworkManager.c:
17944         * src/nm-netlink-monitor.c:
17945         * src/nm-netlink-monitor.h: New class to support
17946         monitoring wired ethernet link status, since HAL
17947         doesn't export that information anymore.
17948
17949 2005-03-09  Ray Strode  <rstrode@redhat.com>
17950
17951         Second (unfinished, unworking) cut at porting to 
17952         dbus 0.30 api.
17953
17954         * dispatcher-daemon/NetworkManagerDispatcher.c:
17955         * info-daemon/NetworkManagerInfoDbus.c:
17956         * panel-applet/NMWirelessAppletDbus.c:
17957         * src/NetworkManagerDbusUtils.c:
17958         * src/NetworkManagerDbusUtils.h:
17959         * src/nm-dbus-device.c:
17960         * src/nm-dbus-nm.c:
17961         * test/nmtest.c: support dbus "object path" type
17962
17963         * configure.in: 
17964         * Makefile.am:
17965         * info-daemon/Makefile.am:
17966         * libnm_glib/Makefile.am:
17967         * panel-applet/Makefile.am:
17968         * dispatcher-daemon/Makefile.am
17969         * src/Makefile.am:
17970         * test/Makefile.am:
17971         * utils/Makefile.am: 
17972         * utils/nm-utils.c: 
17973         * utils/nm-utils.h: new utils static lib
17974
17975 2005-03-07  Ray Strode  <rstrode@redhat.com>
17976
17977         * info-daemon/NetworkManagerInfoDbus.c:
17978         * libnm_glib/libnm_glib.c:
17979         * panel-applet/NMWirelessAppletDbus.c:
17980         * src/NetworkManager.c:
17981         * src/NetworkManagerDbus.c:
17982         * src/NetworkManagerDevice.c:
17983         * src/NetworkManagerUtils.c:
17984         * src/nm-dbus-device.c:
17985         * src/nm-dbus-dhcp.c:
17986         * src/nm-dbus-net.c:
17987         * src/nm-dbus-nm.c:
17988         * test/nminfotest.c:
17989         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17990
17991 2005-03-04  Dan Williams  <dcbw@redhat.com>
17992
17993         * configure.in
17994                 - Mark HEAD as 0.4
17995
17996 2005-03-04  Dan Williams  <dcbw@redhat.com>
17997
17998         Patch from Peter Jones:
17999         - Make stuff work with gcc 4.0
18000
18001 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18002
18003         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18004
18005 2005-02-27  Jim Huang  <jserv@kaffe.org>
18006
18007         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18008
18009 2005-02-27  Dan Williams  <dcbw@redhat.com>
18010
18011         Patch from Bill Moss:
18012         * panel-applet/NMWirelessAppletDbus.c
18013                 - Make sure strength for current access point is up-to-date when we
18014                         update the gui data model
18015
18016 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18017
18018         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18019
18020 2005-02-27  Dan Williams  <dcbw@redhat.com>
18021
18022         * src/backends/NetworkManagerRedHat.c
18023                 - (nm_system_init): Kill any dhclient processes lying around as well
18024                         as stopping 'nifd' if its already been started.  NetworkManager
18025                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18026
18027 2005-02-27  Dan Williams  <dcbw@redhat.com>
18028
18029         * panel-applet/NMWirelessApplet.c
18030                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18031                         dbus data model, not the GUI data model twice.
18032
18033 2005-02-27  Dan Williams  <dcbw@redhat.com>
18034
18035         * panel-applet/NMWirelessApplet.[ch]
18036           panel-applet/NMWirelessAppletDbus.[ch]
18037                 - Move to incremental network updates.  Instead of blowing away our list
18038                         of devices every time we get a signal from NetworkManager, we now
18039                         incrementally add/remove networks when NetworkManager notifies us that
18040                         a new network has appeared or disappered.  Strength updates now happen
18041                         on-the-fly for each access point as well.  There are now two copies of
18042                         data from NetworkManager: one for the dbus side, and one for the gui side.
18043                         When the dbus side data is modified, it is copied over to the gui side
18044                         so we don't have to hold the data_mutex for long periods of time (and
18045                         therefore block animation of the applet's icon).
18046                 - Clean up some memleaks too
18047
18048         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18049                 - Minor code beautification
18050
18051         * src/NetworkManagerAPList.c
18052                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18053                         completely new and whether or not an existing one's strength was updated.
18054                         Try to fix multiple access points and signal strength by using the highest
18055                         signal strength in each scan for any given ESSID.
18056
18057         * src/NetworkManagerDbus.[ch]
18058                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18059                         wireless networks; now we have only WirelessNetworkUpdate which includes
18060                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18061                 - Kill usage of DbusMessageIter
18062
18063         * src/NetworkManagerDevice.c
18064                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18065                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18066                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18067                         currently associated with from the network list.
18068                 - Update for new signals during scan, send out Appeared, Disappeared, or
18069                         StrengthChanged when necessary.
18070
18071 2005-02-25  Dan Williams  <dcbw@redhat.com>
18072
18073         * README
18074                 - Line break the README
18075
18076 2005-02-25  Dan Williams  <dcbw@redhat.com>
18077
18078         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18079                 - Remove usage of gtk_window_set_default_size()
18080
18081         * panel-applet/essid.glade
18082                 - Stick default size here
18083                 - Add in random crap that current glade wants to add in now
18084
18085 2005-02-25  Dan Williams  <dcbw@redhat.com>
18086
18087         * src/backends/NetworkManagerRedHat.c
18088                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18089                         and that we actually tell nscd to reload the hosts cache when it changes
18090
18091 2005-02-25  Dan Williams  <dcbw@redhat.com>
18092
18093         * info-daemon/NetworkManagerInfoDbus.c
18094                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18095
18096         * test/nminfotest.c
18097                 - Whack usage of DbusMessageIter
18098                 - Clean up DbusError and DbusMessage handling and freeing
18099                 - Remove unused unregister handler
18100
18101         * test/nmtest.c
18102                 - Whack usage of DbusMessageIter
18103
18104         * test/nmtestdevices.c
18105                 - Whack usage of DbusMessageIter
18106
18107 2005-02-25  Dan Williams  <dcbw@redhat.com>
18108
18109         * NetworkManager.h
18110                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18111                         signal
18112
18113 2005-02-25  Dan Williams  <dcbw@redhat.com>
18114
18115         * named/nm-named-manager.c
18116                 - Ensure that pid and watch variables for child named process get cleared out
18117                         when the child goes away.
18118
18119 2005-02-22  Dan Williams  <dcbw@redhat.com>
18120
18121         * src/NetworkManagerPolicy.c
18122                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18123                         and NULL out data->active_device so that we have to choose another one.
18124                         This may make NetworkManager keep attempting to connect to a wired network
18125                         if it fails, but if it keeps failing the wired network has more problems than
18126                         just NetworkManager.
18127
18128         * src/backends/NetworkManagerRedHat.c
18129                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18130                         is already running
18131
18132         * named/nm-named-manager.c
18133                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18134                         named so that the distro can flush whatever name service caching
18135                         daemon it uses
18136
18137 2005-02-21  Dan Williams  <dcbw@redhat.com>
18138
18139         * src/NetworkManagerDHCP.[ch]
18140                 - (nm_device_dhcp_remove_timeouts): new function
18141
18142         * src/NetworkManagerDevice.c
18143                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18144                         remove the DHCP timeouts.
18145
18146 2005-02-21  Dan Williams  <dcbw@redhat.com>
18147
18148         * panel-applet/NMWirelessApplet.[ch]
18149           panel-applet/menu-info.[ch]
18150                 - Give the panel applet some major love: menu items are no longer
18151                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18152                         This allows the applet to actually reflect theme changes correctly,
18153                         since themeing of subclassed items in GTK _sucks_.
18154
18155 2005-02-18  Dan Williams  <dcbw@redhat.com>
18156
18157         * libnm_glib/libnm_glib.[ch]
18158           test/libnm_glib_test.c
18159                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18160                         and its data, and doesn't have to free the callback data anymore
18161
18162 2005-02-18  Dan Williams  <dcbw@redhat.com>
18163
18164         * panel-applet/NMWirelessApplet.c
18165                 - Revert 2005-02-18 William Jon McCann fix for standard
18166                         copyright string until it passes 'make distcheck'.
18167                         With standard copyright string, xgettext complains
18168                         about "Non-ASCII string at ...".
18169
18170 2005-02-18  Dan Williams  <dcbw@redhat.com>
18171
18172         * panel-applet/essid.glade
18173           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18174                 - Correct spelling of "adaptor"->"adapter"
18175
18176 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18177
18178         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18179         (nmwa_about_cb): Use standard copyright string.  Update comment
18180         text to reflect that it is a notification area applet.  Remove
18181         leading newline in authors list.
18182         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18183         instead of on parent menu item activation.  Fixes #167550.
18184
18185 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18186
18187         * panel-applet/essid.glade: Capitalize items as per HIG.
18188           Fixes #167632
18189
18190 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18191
18192         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18193         files for GTK 2.4 or lower, since now public in GTK 2.6.
18194
18195         * panel-applet/essid.glade: Don't specify window size.
18196         
18197 2005-02-17  Dan Williams  <dcbw@redhat.com>
18198
18199         Caught by Bill Moss:
18200         * dhcpcd/client.c
18201                 - Time remaining for DHCP transaction calculation was incorrectly
18202                         inside a #ifdef DEBUG
18203
18204 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18205
18206         * configure.in: Added fr (French) to ALL_LINGUAS.
18207
18208 2005-02-14  Dan Williams  <dcbw@redhat.com>
18209
18210         * src/NetworkManagerDHCP.c
18211                 - (set_domain_searches): Fix free of invalid pointer
18212
18213 2005-02-14  Dan Williams  <dcbw@redhat.com>
18214
18215         Patch from Peter Jones:
18216         * dhcpcd/client.c
18217                 - Ensure we return RET_DHCP_CEASED everywhere we should
18218         * dhcpcd/udpipgen.c
18219                 - Use faster TOS for IP packets
18220                 - Don't set ip_id since we're UDP
18221
18222         Patch from Tomislav Vujec:
18223         * src/nm-dbus-dhcp.c
18224           test/nm-dhcp-opt-test.c
18225                 - Clean up warnings to enable cvs tree compilation.
18226
18227 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18228
18229         * configure.in
18230           po/hr.po
18231                 - Add the Croatian locale.
18232
18233 2005-02-14  Colin Walters  <walters@verbum.org>
18234
18235         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18236         list of domains to search.
18237         
18238         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18239
18240 2005-02-13  Dan Williams  <dcbw@redhat.com>
18241
18242         * dhcpcd/client.c
18243                 - Debug output cleanups of DHCP option printing and parsing.
18244
18245 2005-02-13  Dan Williams  <dcbw@redhat.com>
18246
18247         Patch from Dan Reed:  DHCP options D-BUS API
18248                 Exposes the DHCP options that a device receives to clients over D-BUS.
18249
18250         * configure.in
18251                 - A few cleanups
18252
18253         * dhcpcd/client.h
18254                 - Correct names, option length, and types for DHCP options
18255
18256         * dhcpcd/dhcpcd.[ch]
18257                 - Clarify function names that access DHCP options & data
18258
18259         * src/NetworkManagerDHCP.c
18260                 - Use new DHCP data access functions
18261
18262         * src/NetworkManagerDbus.c
18263                 - Message handler for DHCP functions
18264
18265         * src/nm-dbus-dhcp.[ch] (new)
18266                 - DHCP dbus methods
18267
18268         * test/nm-dhcp-opt-test.c
18269                 - Test DHCP D-BUS API and return all present DHCP options
18270
18271 2005-02-12  Dan Williams  <dcbw@redhat.com>
18272
18273         * test/Makefile.am
18274           test/nmclienttest.c
18275           test/nmtest.c
18276                 - Move nmclienttest.c -> nmtest.c
18277
18278 2005-02-12  Dan Williams  <dcbw@redhat.com>
18279
18280         * dhcpcd/buildmsg.c
18281                 - Pad DHCP packets until they are at least 300 bytes in size.
18282
18283 2005-02-11  Dan Williams  <dcbw@redhat.com>
18284
18285         * dhcpcd/client.c
18286                 - (dhcp_init): only print out client ID and class ID if they are specified
18287
18288         * src/NetworkManagerDbus.[ch]
18289           src/nm-dbus-nm.[ch]
18290           src/nm-dbus-device.[ch]
18291           src/nm-dbus-net.[ch]
18292                 - Move NM, Device, and Net functions to separate files and use the
18293                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18294                         method dispatching
18295
18296         * src/NetworkManagerDbusUtils.c
18297                 - Add new validate_method called before each dispatch (if present)
18298                         that can validate the method call
18299
18300         * src/NetworkManagerWireless.c
18301                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18302                         levels never to be evaluated
18303
18304         Patch from j@bootlab.org
18305         * src/NetworkManagerDevice.c
18306                 - Add typedef for "u64"
18307
18308         * src/backends/NetworkManagerDebian.c
18309                 - Copy in Dave Woodhouse's fixes for IPv6
18310
18311 2005-02-11  Dan Williams  <dcbw@redhat.com>
18312
18313         Patch from Dave Woodhouse for IPv6:
18314         * src/NetworkManagerUtils.c
18315                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18316                         and multicast addresses
18317
18318         * src/NetworkManagerDevice.c
18319                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18320                         after bringing up a card.
18321
18322 2005-02-10  Dan Williams  <dcbw@redhat.com>
18323
18324         Patch from Dave Woodhouse:
18325         * src/NetworkManagerSystem.h
18326           src/backends/NetworkManagerDebian.c
18327           src/backends/NetworkManagerGentoo.c
18328           src/backends/NetworkManagerSlackware.c
18329                 - New nm_system_device_add_ip6_link_address() function to add link-local
18330                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18331
18332         * src/backends/NetworkManagerRedHat.c
18333                 - (nm_system_device_add_ip6_link_address): implement
18334                 - (nm_system_device_flush_addresses): revert to previous behavior of
18335                         flushing all addresses
18336
18337 2005-02-10  Dan Williams  <dcbw@redhat.com>
18338
18339         Patch from Tom Parker:
18340         * src/NetworkManagerDevice.c
18341                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18342                         mii.h headers are broken, and instead use our own typedefs
18343
18344 2005-02-10  Dan Williams  <dcbw@redhat.com>
18345
18346         * dhcpcd/buildmsg.c
18347                 - (fill_host_and_class_id): only fill in client and class IDs if
18348                         they are set by callers.
18349
18350         * dhcpcd/client.c
18351                 - (class_id_setup): don't autogenerate a class ID, only use one
18352                         we're given, if any.
18353                 - (client_id_setup): don't autogenerate a client ID, only use one
18354                         we're given, if any.
18355
18356         * dhcpcd/dhcpcd.c
18357                 - (dhcp_interface_init): ensure that client options are correctly
18358                         NULL terminated
18359
18360         * src/NetworkManagerDHCP.c
18361                 - (nm_device_dhcp_request): pass hostname to dhcp library
18362
18363 2005-02-10  Dan Williams  <dcbw@redhat.com>
18364
18365         * dhcpcd/client.c
18366                 - #rh147661# Don't send kernel version in DHCP requests
18367
18368         * src/NetworkManagerSystem.h
18369           src/backends/NetworkManagerDebian.c
18370           src/backends/NetworkManagerGentoo.c
18371           src/backends/NetworkManagerRedHat.c
18372           src/backends/NetworkManagerSlackware.c
18373                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18374                         functions, they are no longer used anyway
18375
18376         * src/backends/NetworkManagerRedHat.c
18377                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18378                         addresses in an attempt to keep IPv6 local-scope addresses around
18379
18380 2005-02-10  Dan Williams  <dcbw@redhat.com>
18381
18382         * src/NetworkManager.c
18383                 - (nm_create_device_and_add_to_list): change the add message slightly
18384
18385         * src/NetworkManagerUtils.c
18386                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18387                         Return driver name to calling function
18388                 - (nm_get_driver_support_level): print out the driver a device is using
18389                         during the support check
18390
18391         Patch from Dave Woodhouse:
18392         * dhcpcd/udpipgen.c
18393                 - (in_cksum): copy last byte of odd-sized packets into a
18394                         'u_short' rather than a 'u_char', should fix wrong checksums
18395                         on big-endian platforms
18396
18397 2005-02-09  Dan Williams  <dcbw@redhat.com>
18398
18399         * Clean up usage of GSList objects and looping through their members
18400         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18401                 now.
18402         * Fix problem where even if scanning was turned off, card would still
18403                 cycle through frequencies.
18404
18405 2005-02-08  Dan Williams  <dcbw@redhat.com>
18406
18407         * panel-applet/NMWirelessApplet.c
18408                 - Fix for gtk 2.4
18409
18410 2005-02-08  Dan Williams  <dcbw@redhat.com>
18411
18412         Patch from Bill Moss
18413         * panel-applet/NMWirelessApplet.c
18414                 - Restore correct ESSID in tooltips
18415
18416 2005-02-07  Dan Williams  <dcbw@redhat.com>
18417
18418         * panel-applet/NMWirelessApplet.[ch]
18419                 - Add a context menu that contains:
18420                         Pause/Resume Wireless Scanning
18421                         Stop/Start All Wireless Devices
18422                         About...
18423                 - Grab active device strength off active device,
18424                         not its network
18425
18426         * panel-applet/NMWirelessAppletDbus.[ch]
18427                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18428                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18429                 - Update active device strength every 2 seconds, not every 1 second
18430
18431         * panel-applet/menu-info.c
18432                 - Only disable wired devices in the menu when they support carrier detection,
18433                         and don't currently have a link.  Non-carrier-detect devices will always
18434                         remain choosable
18435
18436         * src/Makefile.am
18437           src/NetworkManagerDbusUtils.[ch]
18438                 - Add new new dbus utils sources
18439
18440         * src/NetworkManager.c
18441                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18442                         with the boolean parameter
18443                 - Set scanning_enabled & wireless_enabled to TRUE
18444
18445         * src/NetworkManagerDbus.c
18446                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18447                 - Implement scanning & wireless enable/disable calls
18448                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18449
18450         * src/NetworkManagerDevice.c
18451                 - New link detection stuff again...
18452                         o  Create device's mainloop earlier (but don't run it earlier)
18453                         o  Hook up new carrier-detect support stuff
18454                         o  Add in the ethtool & mii support detection code
18455                 - Don't scan if scanning is disabled
18456
18457         * src/NetworkManagerPolicy.c
18458                 - Never automatically choose a device that doesn't support carrier detection
18459                 - Don't automatically choose a wireless device if wireless is disabled
18460
18461 2005-02-07  Dan Williams  <dcbw@redhat.com>
18462
18463         * libnm_glib/libnm_glib.c
18464                 - Small cleanup in element list iteration
18465
18466 2005-02-07  Dan Williams  <dcbw@redhat.com>
18467
18468         * src/NetworkManagerWireless.c
18469                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18470                         to be in line with the WEXT quality specification
18471
18472 2005-02-02  Dan Williams  <dcbw@redhat.com>
18473
18474         Patch from Nathan Fredrickson <nathan@silverorange.com>
18475         * Fix up compile for deprecation of libgnomeui
18476                 - Switch to <glib/gi18n.h> from <libintl.h>
18477                 - Remove <libgnomeui/libgnomeui.h> includes
18478                 - Use gtk_window_set_default_icon_from_file() rather than
18479                         gnome_window_set_default_icon_from_file()
18480
18481         * named/nm-named-manager.c
18482                 - (generate_named_conf): Fix return-nothing in non-void
18483                         function
18484
18485 2005-02-02  Dan Williams  <dcbw@redhat.com>
18486
18487         * Clean up unused variables and the like
18488
18489 2005-02-02  Dan Williams  <dcbw@redhat.com>
18490
18491         * src/NetworkManagerAPList.c
18492                 - (nm_ap_list_merge_scanned_ap): merge strength too
18493
18494         * src/NetworkManagerUtils.c
18495                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18496                         of locking issues by printing out prettier information than g_mutex_lock
18497                 - Print out names of mutexes registered with nm_register_mutex_desc()
18498                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18499                         us to seemingly block here for too long
18500
18501         * src/NetworkManager.c
18502           src/NetworkManagerAPList.c
18503           src/NetworkManagerDevice.c
18504                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18505                         so we get better debug information printed
18506
18507         * src/NetworkManagerDbus.c
18508                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18509                         since it sometimes has locking side effects
18510                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18511                         from 10s
18512                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18513                         we don't need a switch.  This gets called often enough that we can't block
18514                         until the scan mutex is acquired, because we'll block on device activation
18515                         and a few other things, which hangs main thread for too long.
18516
18517         * src/NetworkManagerPolicy.c
18518                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18519                         nm_device_need_ap_switch() will be called               
18520
18521 2005-02-02  Dan Williams  <dcbw@redhat.com>
18522
18523         * panel-applet/NMWirelessApplet.c
18524                 - Display name of wireless network we are connecting to or connected to
18525                         in the tooltip of the applet
18526
18527 2005-02-02  Dan Williams  <dcbw@redhat.com>
18528
18529         * src/NetworkManagerDHCP.c
18530                 - Hopefully fix double-default-route problem by cleaning up the default
18531                         route added by DHCP code right before the DHCP transaction begins
18532
18533 2005-02-02  Dan Williams  <dcbw@redhat.com>
18534
18535         * named/nm-named-manager.c
18536                 - Write out valid resolv.conf when we exit
18537
18538 2005-02-01  Dan Williams  <dcbw@redhat.com>
18539
18540         Patch from Colin Walters:
18541         * named/nm-named-manager.c
18542                 - Make multi-domain search options work
18543
18544 2005-01-31  Dan Williams  <dcbw@redhat.com>
18545
18546         * info-daemon/NetworkManagerInfoDbus.c
18547                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18548
18549         * src/NetworkManagerDevice.c
18550                 - (nm_device_new): Don't store the entire range struct, use only what we need
18551                         (which is currently avg_quality, max_quality, and frequencies).  Also
18552                         zero device structure when we've free'd it to maybe expose errors down
18553                         the line.
18554                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18555                         quality data from the card since quality will be useless during a scan.
18556                         Call updated wireless qual-to-percent function with values stored in
18557                         nm_device_new() earlier.
18558                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18559                         nm_device_get_bad_crypt_packets())
18560                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18561                         nm_device_new()
18562                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18563                         list if available.  Problem was this: when the WEP key is wrong, NM will
18564                         try OS then SK modes, and then get stuck in SK mode after that.  This
18565                         should reset it.
18566                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18567                         function
18568
18569         * src/NetworkManagerWireless.c
18570                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18571                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18572                         if that's all present, otherwise fall back to signal-to-noise ratios.
18573
18574 2005-01-29  Dan Williams  <dcbw@redhat.com>
18575
18576         * initscript/RedHat/NetworkManager
18577                 - Don't spit out sysctl stuff to console
18578
18579         * libnm_glib/libnm_glib.c
18580                 - (libnm_glib_init): call dbus_g_thread_init()
18581
18582         * panel-applet/NMWirelessAppletDbus.c
18583                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18584
18585         * src/NetworkManager.c
18586                 - (main): call dbus_g_thread_init()
18587
18588         * src/NetworkManagerAPList.c
18589                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18590                         so we can actually see what's there in a normal syslog
18591
18592         * src/NetworkManagerDevice.c
18593                 - (nm_device_activate_wireless): print out the "waiting for access point"
18594                         message only once, then say what access point we actually got after
18595                         the wait.
18596                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18597                         function, wait until the scan is done.  Scans may change the ESSID of
18598                         the card, making this function think we need to switch access points
18599                 - (nm_device_wireless_process_scan_results): for artificial access points
18600                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18601                         prevents collisions with the scanning code, which may change the card's
18602                         ESSID and cause the access point to get dropped from the device's AP
18603                         list.  Also increase the keep-around time to 2m from 60s since the max
18604                         scan interval could be 60s in some cases.
18605
18606         * src/NetworkManagerPolicy.c
18607                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18608                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18609                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18610                         between NM and NMI.
18611
18612 2005-01-27  Dan Williams  <dcbw@redhat.com>
18613
18614         * info-daemon/NetworkManagerInfoDbus.c
18615                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18616                         GConf, make a minimal entry for it (essid & timestamp)
18617
18618         * src/NetworkManagerAPList.c
18619                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18620                         NetworkManagerInfo isn't running
18621
18622         * src/NetworkManagerDbus.[ch]
18623                 - (nm_dbus_nmi_is_running): new function
18624
18625         * src/NetworkManagerDevice.c
18626                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18627                         address to garbage.
18628
18629         * src/NetworkManagerPolicy.c
18630                 - (nm_policy_activation_finish): On successful activation, make sure
18631                         the "best" AP has a MAC address, and don't tell NMI to add the
18632                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18633                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18634                         access point after refreshing our allowed list if it doesn't already
18635                         have a "best" access point.
18636
18637 2005-01-25  Dan Williams  <dcbw@redhat.com>
18638
18639         * panel-applet/NMWirelessAppletDbus.c
18640                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18641                         so we check for NM_DBUS_SERVICE rather than not for it
18642
18643         * libnm_glib/libnm_glib.c
18644                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18645                         ServiceOwnerChanged signal
18646
18647 2005-01-25  Dan Williams  <dcbw@redhat.com>
18648
18649         * configure.in
18650                 - Check DBUS version in configure, and set the C macros
18651                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18652
18653         * info-daemon/NetworkManagerInfoDbus.c
18654                 - Remove #if 0-d section of code that quit NMI if NM went away.
18655
18656         * panel-applet/NMWirelessAppletDbus.c
18657                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18658
18659         * src/NetworkManager.c
18660           src/NetworkManagerMain.h
18661           src/NetworkManagerDbus.c
18662                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18663                 - Make updating of our Allowed Wireless Network lists from NMI
18664                         an idle function in the main thread now, with a high priority.
18665
18666 2005-01-24  Dan Williams  <dcbw@redhat.com>
18667
18668         * panel-applet/gtkcellview.[ch]
18669           panel-applet/menu-info.c
18670                 - Fix GTK version checks to be <= rather than <
18671
18672         * test/Makefile.am
18673                 - Include the libtool archive of libnm_glib rather than
18674                         trying to pull in the .so
18675
18676 2005-01-24  Dan Williams  <dcbw@redhat.com>
18677
18678         * src/NetworkManagerDevice.c
18679           src/NetworkManagerDevicePrivate.h
18680                 - Block nm_device_new() until our device's worker thread has had a
18681                         chance to start up.  Fixes a race between main thread and worker
18682                         thread starting that caused activation requests to get lost.
18683
18684 2005-01-24  Dan Williams  <dcbw@redhat.com>
18685
18686         * initscript/RedHat/NetworkManager
18687                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18688                         to add the NM startup script at priority 50, which was
18689                         way too early
18690
18691 2005-01-24  Colin Walters  <walters@redhat.com>
18692
18693         * named/named.conf: Use any port for query source instead of
18694         restricting to port 53.
18695
18696 2005-01-24  Dan Williams  <dcbw@redhat.com>
18697
18698         * initscript/RedHat/NetworkManager
18699                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18700                         to add the NM startup script at priority 50, which was
18701                         way too early
18702
18703 2005-01-24  Dan Williams  <dcbw@redhat.com>
18704
18705         Patch from Tom Parker <palfrey@tevp.net>
18706         * Fix up compile warnings & errors in the wireless applet
18707
18708 2005-01-24  Dan Williams  <dcbw@redhat.com>
18709
18710         * panel-applet/NMWirelessApplet.c
18711                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18712
18713 2005-01-24  Dan Williams  <dcbw@redhat.com>
18714
18715         * panel-applet/gtkcellview.[ch]
18716                 - Only compile these files for GTK 2.4 or lower, since 
18717                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18718                         when choosing "Other Wireless Networks" from the panel
18719                         applet menu
18720
18721 2005-01-21  Dan Williams  <dcbw@redhat.com>
18722
18723         * src/NetworkManager.c
18724                 - Daemonize earlier so that glib doesn't get confused (?)
18725
18726 2005-01-21  Dan Williams  <dcbw@redhat.com>
18727
18728         * panel-applet/NMWirelessApplet.[ch]
18729           panel-applet/NMWirelessAppletDbus.c
18730           panel-applet/menu-info.c
18731           src/NetworkManagerDevice.c
18732                 - Disable wired devices in the menu when they have no link.
18733
18734 2005-01-21  Dan Williams  <dcbw@redhat.com>
18735
18736         * Cache last-known-good wireless authentication method in
18737                 NetworkManagerInfo, and use that method first during
18738                 wireless device activation.  Should speed up devices that
18739                 need Shared Key authentication method since Open System is
18740                 now the default.
18741
18742         * Remove the hack to not do full activation on wired connections
18743                 that are active when we launch, it causes too many problems
18744                 with name resolution and was a hack in the first place.
18745
18746         * Re-work wireless device activation again somewhat to have a
18747                 clearer chain of events and to use last-known-good
18748                 authentication method of the access point.  Also provide
18749                 better status throughout activation to ensure the applet
18750                 can tell the user exactly what's going on.
18751
18752         * Remove the "find wireless network" code and now simply attempt
18753                 to activate with that access point.  This reduces the delay
18754                 between selecting "Other wireless Network" and actually
18755                 connecting to that network.
18756
18757         * Correctly stop the device's worker thread when its removed.
18758
18759 2005-01-21  Dan Williams  <dcbw@redhat.com>
18760
18761         * dhcpcd/client.c
18762                 - Clean up some of the debug messages
18763
18764 2005-01-21  Dan Williams  <dcbw@redhat.com>
18765
18766         * Add new icons, more frames of animation
18767         * Remove some hacks to get the panel applet to display correct
18768                 status, an NM update will soon follow that will fix the
18769                 real issue.
18770
18771 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18772
18773         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18774         the first include for working i18n. Also, don't include it in .h files
18775         * panel-applet/NMWirelessApplet.h: Same
18776         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18777         * panel-applet/menu-info.c: Same
18778
18779 2005-01-18  Dan Williams <dcbw@redhat.com>
18780
18781         * dhcpcd/client.c
18782                 - Remove some debug messages
18783                 - Wrap others in #ifdef DEBUG/#endif
18784
18785         * src/NetworkManager.c
18786                 - Remove some debug messages
18787                 - Clarify some debug messages
18788                 - Remove code related to old single-thread wireless scanning
18789
18790         * src/NetworkManagerAP.[ch]
18791                 - New AP property "last_seen" to track how recently an AP was
18792                         found in a scan
18793                 - Start using 'const' more in function arguments
18794
18795         * src/NetworkManagerAPList.[ch]
18796                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18797                         of an AP found in an AP list from a source AP, or if not found
18798                         in the list add the source AP
18799                 - (nm_ap_list_combine): remove, no longer needed
18800
18801         * src/NetworkManagerDevice.c
18802                 - Each device now has a "worker" thread from start to end of its life.
18803                         Scanning for wireless devices now happens in that thread,
18804                         not in a single "wireless scanning thread" for all devices as
18805                         previously.  Activation consists of adding an idle handler to the
18806                         thread's main loop/context, which gets run at the next available
18807                         opportunity.
18808                 - Wireless scanning is also simplified, there is now only one list of
18809                         access points per wireless device, and APs older than 60s are
18810                         removed from the list.  Previously, we kept results for the last
18811                         3 scans and merged whole lists, which was complicated.
18812                 - Cleaned up activation debug messages.
18813                 - Wireless activation and access-point search routines now use Open System
18814                         authentication before trying Shared Key.
18815                 - Removed some code in nm_device_update_best_ap() that could cause cards
18816                         to loose their link to the access point.
18817                 - Scanning now uses a backoff algorithm, where the inverval becomes
18818                         progressively longer between scans when the list of scanned access
18819                         points doesn't change.  A change will revert to the shortest scan
18820                         interval (20s).
18821
18822         * src/NetworkManagerWireless.[ch]
18823                 - Remove code related to old single-thread wireless scanning
18824
18825 2005-01-18  Colin Walters  <walters@redhat.com>
18826
18827         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18828         of older nameservers.
18829
18830 2005-01-18  Colin Walters  <walters@redhat.com>
18831
18832         * named/nm-named-manager.c (generate_named_conf): Many fixes
18833         to config file generation.
18834         (safer_kill): Remove, was too much trouble for little gain.
18835         (nm_named_manager_start): Run named as NM_NAMED_USER.
18836
18837         * configure.in: Add option --with-named-user.
18838
18839 2005-01-14  Colin Walters  <walters@redhat.com>
18840
18841         Patch from ed@catmur.co.uk (Ed Catmur)
18842
18843         * named/nm-named-manager.c: Add "context" property.
18844         Use it to add child watch source in specific GMainContext.
18845
18846         * src/NetworkManager.c (nm_data_new): Initialize
18847         named with correct main context.  Start named only
18848         after forking.
18849
18850 2005-01-14  Colin Walters  <walters@redhat.com>
18851
18852         * named/nm-named-manager.c (generate_named_conf): Write config
18853         and pid files into NM_NAMED_DATA_DIR; this allows things to
18854         work better with FC3 named SELinux policy.  Also fix up silly
18855         format error.
18856
18857         * configure.in: Add --with-named-dir option.
18858
18859 2005-01-14  Colin Walters  <walters@redhat.com>
18860
18861         * configure.in: Make named support require passing --with-named.
18862
18863         * named/nm-named-manager.c: Support writing resolv.conf directly
18864         without running named.
18865
18866 2005-01-13  Dan Williams <dcbw@redhat.com>
18867
18868         * named/nm-named-manager.c
18869                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18870
18871         * src/NetworkManagerDevice.c
18872                 - Rework wireless link detection code to be more reliable
18873
18874 2005-01-12  Dan Williams <dcbw@redhat.com>
18875
18876         * initscripts/RedHat/NetworkManager
18877                 - Change initial level to "-" rather than "345" so that
18878                         we don't activate ourselves by default on install
18879
18880 2005-01-12  Dan Williams <dcbw@redhat.com>
18881
18882         * libnm_glib/
18883                 - Client library for applications using glib
18884
18885         * configure.in
18886           various Makefiles
18887                 - Split NM_CFLAGS and NM_LIBS into separate variables
18888                         like DBUS_*, HAL_* and GLIB_*
18889
18890         * src/NetworkManager.c
18891           src/NetworkManagerMain.h
18892                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18893                         broadcast a status changed signal over DBUS from the main thread.
18894                         Still unused anywhere for the moment.
18895
18896         Patch from j@bootlab.org
18897         * panel_applet/NMWirelessAppletDbus.c
18898           src/NetworkManagerDbus.c
18899                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18900                         for the "getMode" method call
18901
18902 2005-01-10  Dan Williams <dcbw@redhat.com>
18903
18904         * src/NetworkManagerDevice.c
18905                 - Minor fixups & corrections to "auto" frequency mode, make it
18906                         less chatty with syslog
18907
18908 2005-01-10  Dan Williams <dcbw@redhat.com>
18909
18910         * src/NetworkManagerDevice.c
18911                 - Implement "auto" frequency/channel support, since cards like Atheros
18912                         can't use other frequencies at all when you've told it to use a
18913                         specific one, even for scanning.
18914                 - Grab the scan mutex around places where we can't tolerate wireless
18915                         settings changing underneath us, like nm_device_wireless_network_exists()
18916                         and nm_device_activate_wireless()
18917
18918         * src/NetworkManagerWireless.c
18919                 - Back scan interval off to 20s instead of 14s
18920
18921 2005-01-09  Dan Williams <dcbw@redhat.com>
18922
18923         * src/NetworkManagerDevice.c
18924                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18925                         already set.  Stops some drivers like Atmel from continually
18926                         reloading the firmware, which they do upon every configuration
18927                         change.
18928
18929 2005-01-09  Dan Williams <dcbw@redhat.com>
18930
18931         * dhcpcd/client.c
18932                 - Use correct timeout value
18933
18934         * info-daemon/NetworkManagerInfoDbus.c
18935           src/NetworkManagerDbus.c
18936                 - Consolidate communication between NM and NMI by doing only 1 dbus
18937                         method call to get Wireless Network info from NMI instead of 6
18938
18939         * src/NetworkManager.c
18940                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18941                         when we didn't have an AP to use, we'd wait for one forever without
18942                         quitting
18943
18944         * src/NetworkManagerDevice.c
18945                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18946                         activation, dhcp might not have started yet but we don't quit activation
18947                         before starting it, so the quit signal gets lost
18948
18949 2005-01-07  Dan Williams <dcbw@redhat.com>
18950
18951         * dhcpcd/client.c
18952                 - Rework the DHCP client code to be much less chatty when
18953                         it receives non-DHCP UDP packets during the DHCP run
18954                         (reported by and preliminary patches from Bill Moss)
18955
18956         * Move wireless scanning to a separate thread.  This thread forwards the
18957                 results to the main thread when done where they are integrated into
18958                 the device's access point lists.  This keeps the main thread (which
18959                 does all the DBUS communication) from being blocked for long periods
18960                 of time by wireless scanning.
18961
18962         * Make state modification an idle routine in the main loop, and trigger
18963                 state changes rather than polling for them.
18964
18965         * src/backends/NetworkManagerGentoo.c
18966                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18967
18968         * src/NetworkManagerDevice.c
18969                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18970                         router advertisements, causing problems and infinite loop
18971                         during "best" device determination due to link going up/down
18972                         (reported by Bill Moss)
18973
18974         Apply patch from Peter Jones
18975         * src/NetworkManagerDevice.c
18976                 - Shortcut for link-checking for ipw2x00 cards
18977                 - Split out association check into separate routine
18978
18979 2004-01-05  Colin Walters  <walters@redhat.com>
18980
18981         * named/named.conf: Add PID_FILE.
18982
18983         * named/nm-named-manager.c: Always generate a pid
18984         file, since older BIND versions don't support
18985         "pid-file none".
18986
18987 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18988
18989         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18990
18991 2004-12-22  Dan Williams <dcbw@redhat.com>
18992
18993         * src/NetworkManagerDevice.c
18994                 - Silently fail when setting bitrate doesn't work
18995
18996
18997         Patches from j@bootlab.org:
18998         * src/backends/NetworkManagerDebian
18999                 - Update backend to match functionality in RedHat backend
19000         * src/NetworkManagerDevice.c
19001                 - Take down then bring up wired devices after connection so
19002                 they send out ipv6 router advertisements
19003
19004 2004-12-21  Colin Walters  <walters@verbum.org>
19005
19006         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19007         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19008
19009 2004-12-21  Colin Walters  <walters@redhat.com>
19010
19011         * configure.in: Correct named detection.
19012
19013 2004-12-21  Colin Walters  <walters@redhat.com>
19014
19015         * src/NetworkManager.c (nm_data_new): Initialize named.
19016         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19017         the mainloop when these signals are received.
19018         (nm_data_free): Unref named.
19019         (sigterm_handler, sigterm_pipe_handler): New functions for
19020         exiting mainloop.
19021         
19022         * src/NetworkManagerMain.h (NMData): Add signal handling and
19023         nameserver bits.
19024
19025         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19026         unref.
19027
19028         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19029         set nameservers from DHCP response data.
19030         (set_domain_search): Set domain search from DHCP response.
19031         (nm_device_dhcp_configure): Invoke them.
19032
19033         * src/NetworkManagerSystem.c
19034         (nm_system_device_update_resolv_conf): Delete.  Deleting
19035         code is totally sweet.
19036
19037         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19038
19039         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19040         implements an object which controls a nameserver.  Currently
19041         uses bind 9.
19042
19043         * configure.in: Check for named.
19044
19045         * Makefile.am (SUBDIRS): Add named dir.
19046
19047         * named/named.conf: New template config file.
19048
19049 2004-12-20  Colin Walters  <walters@redhat.com>
19050
19051         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19052         instead of '='.
19053
19054 2004-12-17  Dan Williams  <dcbw@redhat.com>
19055
19056         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19057                 link-local addresses instead of doing DHCP.
19058
19059         * In the panel applet, there's a new "Create new Wireless Network..." item
19060
19061         * The panel applet also sticks around now even if NetworkManager dies, but
19062                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19063                 a bug, I'll fix that later.
19064
19065         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19066                 lookups after a switch rather than actually doing them.
19067
19068         * Clean up some of those warnings in nm_ap_list_* functions
19069
19070         * Delay between scans changed to 15s instead of 10s
19071
19072 2004-12-15  Dan Williams  <dcbw@redhat.com>
19073
19074         Patch from Tom Parker
19075         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19076                 address
19077
19078         * Longer pause after setting ESSID on cards that support a larger number
19079                 of channels to give the card time to find the right channel
19080
19081         * Add system hook to restart mDNSResponder (or whatever the local implementation
19082                 of Multicast DNS is) when we activate interfaces
19083
19084 2004-12-15  Dan Williams  <dcbw@redhat.com>
19085
19086         * Rework the DHCP code again to revert to sending full ethernet frames
19087                 rather then relying on the kernel to do the right thing with our
19088                 packets.
19089
19090 2004-12-06  Dan Williams  <dcbw@redhat.com>
19091
19092         * dhcpcd/client.c
19093                 - Fix some minor errors in dhcp_handle_transaction() that caused
19094                         unexpected early timeouts of DHCP transactions
19095
19096         * dhcpcd/client.h
19097                 - DHCP retransmit time from 4s -> 5s
19098
19099 2004-12-05  Dan Williams  <dcbw@redhat.com>
19100
19101         * Major rework of the DHCP code, taking some cues from pump.  We don't
19102                 write raw Ethernet packets anymore, which simplifies the code quite
19103                 a bit.  The new code should be more robust, not hang in recvfrom()
19104                 as much, and generally work better.  This also means that we need
19105                 to force HAL/dbus to use a created GMainContext rather than the
19106                 default context, since having the DHCP renew/rebind thread using
19107                 its own GMainContext seemed to give dbus a fit.  There is also more
19108                 debugging information printed from the DHCP loop to help with future
19109                 problems.
19110
19111         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19112                 assume that the default gateway should be the DHCP server.
19113
19114         Patch from Matthew Schick <matt oss-institute org>
19115         * src/backends/NetworkManagerGentoo.c
19116                 - Fix compilation error due to missing "ip4_broadcast"
19117
19118 2004-12-03  Dan Williams  <dcbw@redhat.com>
19119
19120         * initscript/Makefile.am
19121         * initscript/Debian/NetworkManager
19122         * initscript/Gentoo/NetworkManager
19123         * initscript/RedHat/NetworkManager
19124         * initscript/NMLaunchHelper.c
19125                 - Remove NMLaunchHelper, if you need to wait until the network
19126                         comes up, use the dead code from CVS.
19127
19128 2004-12-01  Colin Walters  <walters@redhat.com>
19129         
19130         * configure.in: Suck in gcc warnings code from Rhythmbox,
19131         but use fewer default flags, and in particular add -Wno-unused,
19132         since the codebase has a lot of unused variables.
19133
19134         * test/nmtestdevices.c (create_device): 
19135         * test/nminfotest.c (get_network_string_property) 
19136         (get_networks_of_type): 
19137         * test/nmclienttest.c (main): 
19138         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19139         * initscript/NMLaunchHelper.c (get_nm_status): 
19140         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19141         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19142         Fix declarations after statements.
19143
19144 2004-12-01  Colin Walters  <walters@redhat.com>
19145
19146         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19147         (nmi_dbus_get_vpn_userpass): New method.
19148         (nmi_dbus_nmi_message_handler): Invoke it.
19149
19150         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19151
19152         * info-daemon/NetworkManagerInfoVPN.h,
19153         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19154         to requests for VPN passwords.
19155
19156         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19157
19158 2004-12-01  Colin Walters  <walters@redhat.com>
19159
19160         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19161         includes.
19162
19163 2004-12-01  Colin Walters  <walters@redhat.com>
19164
19165         * panel-applet/NMWirelessAppletDbus.c
19166         (nmwa_dbus_update_active_device_strength): Fix missing
19167         return value.
19168
19169 2004-12-01  Colin Walters  <walters@redhat.com>
19170
19171         * panel-applet/NMWirelessApplet.c: Add missing include.
19172
19173 2004-12-01  Colin Walters  <walters@redhat.com>
19174
19175         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19176         Remove useless CLAMP (); the value is unsigned, and the case tests
19177         qual->qual < 100, so the value must always be between 0 and 100.
19178
19179 2004-12-01  Colin Walters  <walters@redhat.com>
19180
19181         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19182
19183 2004-11-22  Colin Walters  <walters@verbum.org>
19184
19185         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19186         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19187         which is essentially a noop since nscd caches hosts on disk too.
19188         
19189 2004-11-22  Colin Walters  <walters@redhat.com>
19190
19191         * src/Makefile.am (NetworkManager_SOURCES): Add
19192         NetworkManagerDevicePrivate.h.
19193
19194 2004-11-22  Dan Williams <dcbw@redhat.com>
19195
19196         * src/NetworkManagerDevicePrivate.h
19197                 - Split out the NMDevice struct to a different file so that stuff like
19198                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19199
19200         * dhcpcd/client.c
19201                 - fprintf->syslog
19202                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19203                         need to cancel the dhcp request during the send and recv
19204
19205         * dhcpcd/client.h
19206                 - Move the DHCP option enum to dhcpcd.h
19207
19208         * src/NetworkManagerDHCP.c
19209                 - Split out the actual IP/netmask/etc setting code
19210                 - New Renew/Rebind functions
19211                 - New timer setup function for renew/rebind operations
19212
19213         * src/NetworkManagerDevice.c
19214                 - For device activation, if we are using DHCP then keep the activation thread
19215                         alive until device deactivation.  We need to renew/rebind the DHCP address
19216                         after the T1 (renew) and T2 (rebind) times have expired.
19217                 - Increase some timeouts after bringing wireless cards up/down
19218
19219 2004-11-17  Dan Williams <dcbw@redhat.com>
19220
19221         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19222                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19223                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19224                 show known access points that don't broadcast their ESSID in the menus without
19225                 any user intervention whatsoever.
19226
19227         * info-daemon/NetworkManagerInfoDbus.c
19228                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19229                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19230
19231         * src/NetworkManagerAP.[ch]
19232                 - Add a "user_addresses" data member to the NMAccessPoint structure
19233                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19234                         the user_addresses data member
19235
19236         * src/NetworkManagerAPList.c
19237                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19238                         the AP's reported address
19239                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19240
19241         * src/NetworkManagerDHCP.c
19242                 - Increase DHCP timeout from 25s -> 30s
19243
19244         * src/NetworkManagerDbus.[ch]
19245                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19246                         user addresses
19247
19248         * src/NetworkManagerDevice.c
19249                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19250                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19251                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19252                         So, we take the card down to clear it out.
19253                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19254                         too, since that's where the user_addresses are
19255
19256         * src/NetworkManagerPolicy.c
19257                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19258                         that wireless networks' user_addresses list upon successful activation
19259
19260 2004-11-16  Dan Williams <dcbw@redhat.com>
19261
19262         * src/NetworkManagerDevice.[ch]
19263                 - (nm_device_clear_activation_fail): new function
19264
19265         * src/NetworkManagerPolicy.c
19266                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19267                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19268
19269 2004-11-16  Dan Williams <dcbw@redhat.com>
19270
19271         * src/NetworkManagerDevice.c
19272                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19273                         leak the structure, better updating of now_scanning status
19274                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19275
19276 2004-11-15  Dan Williams <dcbw@redhat.com>
19277
19278         Major rework of link detection code.  We now use DHCP
19279         as part of the link detection which proves to be much more robust,
19280         and also supports Open System authentication for wireless networks.
19281
19282         We no longer use external DHCP client programs.  Instead, we use 
19283         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19284         which was written by:
19285                 Yoichi Hariguchi <yoichi@fore.com>
19286                 Sergei Viznyuk <sv@phystech.com>
19287                 http://www.phystech.com/download/
19288         It resides in the "dhcpcd" directory and was refactored into a general
19289         purpose DHCP client library by me.
19290
19291         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19292         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19293
19294 2004-11-15  Dan Williams <dcbw@redhat.com>
19295
19296         Patch from Tom Parker <palfrey@tevp.net>:
19297
19298         * src/NetworkManagerDevice.c
19299                 - Less output to console when no access
19300                         points are found during a scan
19301
19302 2004-11-15  Dan Williams <dcbw@redhat.com>
19303
19304         Patch from Tom Parker <palfrey@tevp.net>:
19305
19306         * src/backends/interface_parser.c
19307                 - Use g_strdup ()
19308                 - Check for inp == NULL
19309                 - use syslog ()
19310
19311 2004-11-13  Colin Walters  <walters@redhat.com>
19312
19313         Patch from Tom Parker <palfrey@tevp.net>:
19314
19315         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19316         
19317         * src/backends/NetworkManagerRedHat.c: Switch to
19318         including shvar.h instead of shvar.c.
19319
19320         * src/backends/NetworkManagerDebian.c: Don't include
19321         interface_parser.c in source file.
19322
19323         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19324         and interface_parser.[ch].
19325         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19326         Include shvar.c and shvar.h here.
19327         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19328         interface_parser.c and interface_parser.h here.
19329
19330 2004-11-12  Colin Walters  <walters@redhat.com>
19331
19332         * configure.in: Strip out TARGET_DISTRO and
19333         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19334         conditionals.
19335
19336         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19337         (libnmbackend_la_SOURCES): Use Automake conditionals
19338         to add distro-specific files.
19339
19340         * initscript/Makefile.am (SUBDIRS): Update to
19341         use conditionals.
19342
19343 2004-11-12  Colin Walters  <walters@redhat.com>
19344
19345         Patches from j bootlab org
19346
19347         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19348         Add interface_parser.[ch].
19349
19350         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19351         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19352
19353 2004-11-12  Colin Walters  <walters@redhat.com>
19354
19355         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19356         call to nmi_dbus_is_running too, not necessary anymore.
19357         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19358         pick up exit().
19359
19360 2004-11-11  Colin Walters  <walters@verbum.org>
19361
19362         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19363         Delete.
19364         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19365         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19366         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19367         This avoids a race condition that made it pretty easily
19368         possible to get two NetworkManagerInfo daemons running.
19369
19370 2004-11-11  Colin Walters  <walters@verbum.org>
19371         
19372         * src/NetworkManager.c (main): Use daemon(3).
19373
19374         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19375
19376         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19377
19378 2004-11-10 Dan Williams <dcbw@redhat.com>
19379
19380         Patches from j bootlab org
19381         * src/NetworkManagerDevice.c
19382                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19383                         whether the card has a link or not, some cards are slow
19384                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19385
19386         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19387                 - Disable the "Login" button on the passphrase dialog until the user
19388                         enters a valid passphrase or key
19389
19390         Patches from Tom Parker <palfrey tevp net>
19391         * src/backends/NetworkManagerDebian.c
19392                 - Add static IP support to the debian backend
19393
19394         * src/backends/interface_parser.[ch]
19395                 - Parse debian interface config files
19396
19397 2004-11-08 Dan Williams <dcbw@redhat.com>
19398
19399         * src/NetworkManagerDevice.c
19400                 - Some random fprintf->syslog conversions
19401                 - (nm_device_wireless_network_exists): double-check for network
19402                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19403
19404         * src/NetworkManagerWireless.[ch]
19405                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19406                         so that the binary->ascii conversion works (if unsigned, the bitshift
19407                         will fill with zeros, which is what's required).  Also mask bitshift
19408                         result with 0xF for futher assurance.
19409
19410 2004-11-06 Dan Williams <dcbw@redhat.com>
19411
19412         * src/NetworkManagerUtils.c
19413                 - (nm_get_wireless_driver_support_level): default to
19414                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19415                         flip this when changing from whitelist->blacklist of
19416                         wireless drivers
19417
19418 2004-11-05 Dan Williams <dcbw@redhat.com>
19419
19420         Patch from Robert Paskowitz:
19421         * src/backends/NetworkManagerGentoo.c
19422                 - Update static IP config code
19423
19424 2004-11-05 Dan Williams <dcbw@redhat.com>
19425
19426         * info-daemon/NetworkManagerInfoDbus.c
19427           src/NetworkManagerDbus.[ch]
19428           src/NetworkManagerDevice.c
19429                 - Keep track of the # of attempts to get the WEP key
19430                         from the user and pass that along to the info daemon
19431
19432 2004-11-05 Dan Williams <dcbw@redhat.com>
19433
19434         * src/NetworkManagerUtils.c
19435                 - Blacklist wireless cards rather than whitelisting them.
19436                 - Grab driver name from HAL rather than trying to find it
19437                         ourselves.
19438
19439 2004-11-03 Dan Williams <dcbw@redhat.com>
19440
19441         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19442                 - Disable OK button until valid data is entered
19443                         for encryption stuff too
19444
19445         * panel-applet/NMWirelessApplet.c
19446                 - Report card strength for current AP if the card
19447                         doesn't report strength data for scanned access
19448                         points
19449
19450         * src/NetworkManagerDevice.c
19451                 - Smooth out cards reported quality, Atmel card was
19452                         intermittently reporting no quality data but soon
19453                         recovers
19454
19455         * src/NetworkManagerWireless.c
19456                 - Better quality data percentage calculation.  Atmel
19457                         cards (mine at least) seem to report the quality
19458                         in percentage format already, so honor that
19459
19460         Patch from <j@bootlab.org>
19461         * NetworkManager.h
19462           info-daemon/NetworkManagerInfoPassphraseDialog.c
19463           info-daemon/passphrase.glade
19464           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19465           panel-applet/essid.glade
19466           src/NetworkManagerAP.c
19467           src/NetworkManagerDevice.c
19468           src/NetworkManagerWireless.[ch]
19469                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19470
19471 2004-11-03 Dan Williams <dcbw@redhat.com>
19472
19473         * src/NetworkManagerDevice.[ch]
19474                 - (nm_device_set_enc_key): Add parameter to set Authentication
19475                         Mode (Open System, Shared Key, or None).  We're still using
19476                         Shared Key for now though.
19477
19478 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19479
19480         * panel-applet/menu-info.c: change from bold text to light
19481         colored, may cause problems with some themes, i've tested a lot
19482         and they seem fine. 
19483
19484         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19485
19486 2004-11-01  Colin Walters  <walters@verbum.org>
19487
19488         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19489         (nm_wireless_128bit_key_from_passphrase): Add const.
19490
19491         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19492         (nm_ap_set_enc_key_source): Add const.
19493         
19494 2004-11-01  Colin Walters  <walters@verbum.org>
19495
19496         * .cvsignore: Update.
19497
19498 2004-10-29 Dan Williams <dcbw@redhat.com>
19499
19500         * src/NetworkManagerDevice.c
19501                 - (nm_device_wireless_network_exists): Actually use the encryption
19502                         key we got from the applet when attempting to find a wireless network
19503                 - Don't bring devices down so much since on some cards it triggers
19504                         firmware hotplugs each time
19505
19506         * src/NetworkManagerDbus.c
19507                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19508                         from the caller
19509
19510 2004-10-29 Dan Williams <dcbw@redhat.com>
19511
19512         * src/NetworkManager.c
19513                 - (nm_hal_device_property_modified): unlock a locked active
19514                         wireless device when a wired connection gets a link.
19515                         (Means you'll switch to wired whenever you plug in no
19516                         matter what).
19517
19518 2004-10-29 Dan Williams <dcbw@redhat.com>
19519
19520         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19521                 - New files, implement the "Other wireless network" dialog
19522
19523         * panel-applet/NMWirelessApplet.c
19524                 - Move "other wireless network" dialog to separate file
19525
19526         * panel-applet/NMWirelessAppletDbus.[ch]
19527                 - Take key and key_type paramaters for the set_device function
19528
19529         * panel-applet/essid.glade
19530                 - Add UI bits for encryption settings
19531
19532         * src/NetworkManagerDbus.c
19533                 - Retrieve key and key_type params for "setActiveDevice" method call
19534                         and pass them on
19535                 - unref AP returned from nm_device_get_best_ap() when needed
19536
19537         * src/NetworkManagerDevice.c
19538                 - (nm_device_get_best_ap): ref the ap before returning it
19539                 - unref AP returned from nm_device_get_best_ap() when needed
19540                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19541                         need to call nm_device_get_best_ap() here, it was pretty much
19542                         redundant anyway
19543                 - (AP_NEED_KEY): break second link check condition out into separate
19544                         function, and fix segfault when ap->enc_key_source was NULL
19545                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19546                         pass them along to nm_device_wireless_network_exists().  If the
19547                         network does exist, set the passed-in key+key_type on the AP
19548
19549         * src/NetworkManagerPolicy.c
19550                 - unref AP returned from nm_device_get_best_ap() when needed
19551
19552 2004-10-28 Dan Williams <dcbw@redhat.com>
19553
19554         * src/NetworkManagerUtils.c
19555                 - (nm_spawn_process): Fix a potential dereference of NULL
19556
19557         Patches from Peter Jones:
19558
19559         * src/NetworkManagerDevice.c
19560                 - (nm_device_test_wireless_extensions): Better check for
19561                         wireless devices
19562
19563         * src/NetworkManagerUtils.c
19564                 - (nm_spawn_process): Pass in valid stdout and stderr so
19565                         executed programs don't randomly SIGPIPE and fail
19566                 - (nm_get_wired_driver_support_level): quash hal warning
19567                         when checking for USB ethernet device
19568
19569 2004-10-27 Dan Williams <dcbw@redhat.com>
19570
19571         * info-daemon/NetworkManagerInfo.c
19572           info-daemon/NetworkManagerInfoDbus.c
19573           info-daemon/NetworkManagerInfoPassphraseDialog.c
19574           panel-applet/NMWirelessApplet.c
19575                 - Properly escape gconf keys
19576
19577         * src/NetworkManager.c
19578                 - remove unused variables
19579
19580         * src/NetworkManagerAP.c
19581                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19582                         refcount since it got set in nm_ap_new()
19583
19584         * src/NetworkManagerAPList.c
19585                 - (nm_ap_list_combine): Give up ownership of newly created
19586                         access points to the ap list, fixes memleak
19587
19588         * src/NetworkManagerDevice.c
19589                 - Remove cached_ap_list4 member since its not really needed
19590                 - (nm_device_wireless_network_exists): Try to get correct
19591                         encryption status of a found AP if its already in our
19592                         device list
19593                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19594                         memory allocs/deallocs a bit clearer and shorter-lived
19595
19596 2004-10-26 Ray Strode <rstrode@redhat.com>
19597
19598         * panel-applet/NMWirelessApplet.c:
19599           (custom_essid_item_selected):  kill some compiler
19600         warnings 
19601
19602 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19603
19604         * info-daemon/NetworkManagerInfoDbus.c
19605                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19606                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19607
19608 2004-10-23 Dan Williams <dcbw@redhat.com>
19609
19610         * info-daemon/NetworkManagerInfoDbus.c
19611                 - Trap the "DeviceActivationFailed" signal
19612
19613         * docs/NetworkManager DBUS API.txt
19614                 - Add "DeviceActivationFailed" signal
19615
19616         * panel-applet/NMWirelessAppletDbus.c
19617                 - Quash the "NetworkManager service not available" message
19618
19619         * src/NetworkManagerDbus.[ch]
19620                 - Add the "DeviceActivationFailed" signal
19621
19622         * src/NetworkManagerDevice.c
19623                 - Add support for activation_failed flag
19624                 - Fix deadlock where activation thread didn't clean itself up, making
19625                         main thread still believe it was alive forever (didn't reset activation
19626                         flags like activating, just_activated, etc when IP configuration
19627                         failed)
19628
19629         * src/NetworkManagerPolicy.c
19630                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19631                         for wireless networks, try to fall back to some other access point
19632
19633 2004-10-23 Dan Williams <dcbw@redhat.com>
19634
19635         * panel-applet/NMWirelessApplet.[ch]
19636                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19637                         to the applet object, so we can get tooltips
19638                 - Add tooltips (RH #136866)
19639
19640         * src/NetworkManagerDevice.c
19641                 - When trying to find a wireless network, try to connect with encryption
19642                         turned on first, so that we can more accurately detect whether or not
19643                         we need to use encryption for the actual association later on
19644
19645 2004-10-21 Dan Williams <dcbw@redhat.com>
19646
19647         * Add some support for telling NetworkManagerInfo to tell the user
19648                 that they are using a device that's not fully supported
19649
19650         * Fix some assertions in debug messages due to null access point args
19651
19652 2004-10-21 Dan Williams <dcbw@redhat.com>
19653
19654         * src/NetworkManagerDevice.c
19655                 - Don't try to activate/bring up/down unsupported
19656                         devices
19657
19658         * src/NetworkManagerUtils.c
19659                 - Fix case of PCI ID checks for driver support levels
19660
19661 2004-10-21 Dan Williams <dcbw@redhat.com>
19662
19663         * NetworkManager.h
19664                 - New file, now contains commonly used structures and bits
19665                         for the dbus API of NetworkManager
19666
19667         * Makefile.am
19668                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19669
19670         * src/NetworkManager.h
19671                 - Rename -> src/NetworkManagerMain.c
19672
19673         * Various fixups all around to use NetworkManager.h and new
19674                 src/NetworkManagerMain.h, remove redundant bits that got
19675                 moved into NetworkManager.h
19676
19677         * src/NetworkManagerDevice.[ch]
19678           src/NetworkManagerUtils.[ch]
19679           src/NetworkManagerPolicy.c
19680           src/NetworkManagerDbus.c
19681                 - Whitelist wireless drivers, and blacklist some wired
19682                         drivers.  Also blacklist cipsec and ethernet-over-usb
19683                         devices at this time (RH #135722, RH #135648)
19684                 - Don't leak unsupported devices out over dbus, or allow
19685                         them to be set as the active device.  Skip over them
19686                         during automatic device picking
19687
19688         * test/nmclienttest.c
19689                 - Clean up the dbus code a lot
19690
19691 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19692
19693         * configure.in: post release bump.
19694
19695 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19696
19697         * configure.in:
19698         * NEWS: Released NetworkManager-0.3.1
19699
19700 2004-10-18 Dan Williams <dcbw@redhat.com>
19701
19702         Patches from Thom May:
19703         * test/nmtestdevices.c
19704                 - Include <string.h>
19705         * src/backends/NetworkManagerDebian.c:
19706                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19707                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19708                         Move to using g_strdup_printf rather than arbitrary buffers
19709                 - (nm_system_device_setup_static_ip4_config) Implement function.
19710                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19711
19712 2004-10-17 Dan Williams <dcbw@redhat.com>
19713
19714         * info-daemon/NetworkManagerInfoDbus.c
19715                 - Display name of network in the "network not found" dialog
19716
19717         * panel-applet/NMWirelessAppletDbus.c
19718                 - (nmwa_dbus_call_nm_method): new function replaces all other
19719                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19720                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19721                         consolidated into nmwa_dbus_get_object_name()
19722
19723 2004-10-15 Dan Williams <dcbw@redhat.com>
19724
19725         * src/NetworkManagerDbus.c
19726           info-daemon/NetworkManagerInfoDbus.c
19727                 - Display an error dialog when the user tries to use an
19728                         "Other wireless network" that's not found.
19729
19730 2004-10-15 Dan Williams <dcbw@redhat.com>
19731
19732         * panel-applet/NMWirelessApplet.[ch]
19733                 - Fix up corner cases in applet state, making it
19734                         look more responsive.  Change state to "connecting" when
19735                         the user is forcing a device too.
19736
19737 2004-10-15 Dan Williams <dcbw@redhat.com>
19738
19739         * src/NetworkManagerAPList.c
19740                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19741
19742         * src/NetworkManagerDbus.c
19743                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19744
19745         * src/NetworkManagerDevice.c
19746                 - Disown APs after the device's AP list takes ownership
19747
19748 2004-10-15 Dan Williams <dcbw@redhat.com>
19749
19750         * panel-applet/NMWirelessApplet.c
19751                 - Update our applet state from the GUI thread
19752
19753         * panel-applet/NMWirelessAppletDbus.c
19754                 - Greatly simplify the locking to make the GUI thread
19755                         smoother.  Update a private copy of the device list
19756                         and active device and only when done talking to
19757                         NetworkManager turn it over to the GUI thread.
19758
19759 2004-10-15 Dan Williams <dcbw@redhat.com>
19760
19761         * src/NetworkManagerAP.[ch]
19762                 - Add "artificial" get/set functions, set for APs that
19763                         aren't discovered as part of a scan but instead
19764                         discovered by force-setting the ESSID
19765
19766         * src/NetworkManagerDevice.[ch]
19767                 - (nm_device_wireless_network_exists): pass back whether
19768                         or not the discovered AP was encrypted.  Also, try
19769                         falling back to encrypted mode on the card if unencrypted
19770                         association doesn't work
19771                 - (nm_device_find_and_use_essid): If the network requested
19772                         did in fact exists, but it wasn't in our scan list, add
19773                         an "artificial" entry for it.  Some Cisco cards don't
19774                         see non-ESSID-broadcasting APs in their scan but can still
19775                         associate with them if you know the ESSID, this works around
19776                         that behavior
19777                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19778                         to scan if the card is currently associated with that AP
19779
19780 2004-10-15 Dan Williams <dcbw@redhat.com>
19781
19782         ---- We have a website ----
19783         http://people.redhat.com/dcbw/NetworkManager
19784
19785         Patch from Robert Paskowitz:
19786         * src/NetworkManager.c
19787                 - (main): Make sure we are run as root
19788         * src/NetworkManagerDevice.c
19789                 - Fix type in ad-hoc setting function
19790
19791         Patch from Thom May:
19792         * src/backends/NetworkManagerDebian.c
19793                 - Make Debian backend compile again
19794
19795 2004-10-14 Dan Williams <dcbw@redhat.com>
19796
19797         * Tagged NetworkManager-0_3
19798
19799 2004-10-14 Dan Williams <dcbw@redhat.com>
19800
19801         Patch from Robert Paskowitz:
19802         * NEWS
19803           src/NetworkManagerDevice.[ch]
19804           src/backends/NetworkManagerDebian.c
19805           src/backends/NetworkManagerGentoo.c
19806           src/backends/NetworkManagerRedHat.c
19807           src/backends/NetworkManagerSlackware.c
19808                 - Add support for grabbing and using a broadcast address
19809                         from system config files
19810                 - Some Gentoo backend fixes for grabbing network config
19811                 - Fix LOG_WARN->LOG_WARNING
19812
19813 2004-10-14 Dan Williams <dcbw@redhat.com>
19814
19815         * NEWS: a few small fixes in the credits
19816
19817 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19818
19819         * NEWS: prep for release.
19820
19821 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19822
19823         * panel-applet/NMWirelessAppletDbus.c
19824         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19825
19826 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19827
19828         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19829         applet->state == APPLET_STATE_NO_NM animation.
19830
19831         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19832         set the text correctly.
19833
19834 2004-10-14 Dan Williams <dcbw@redhat.com>
19835
19836         * src/NetworkManager.c
19837                 - Only accept and manager 802.3 and 802.11 devices
19838
19839         * src/NetworkManagerDbus.[ch]
19840                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19841                         logic into NetworkManagerDevice.c
19842                 - (nm_dbus_network_status_from_data): new function
19843                 - (nm_dbus_signal_network_status_change): new function, unused for now
19844                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19845
19846         * src/NetworkManagerDevice.[ch]
19847                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19848                         a random ESSID.
19849
19850 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19851
19852         * info-daemon/NetworkManagerInfo.c 
19853                 - (main): Added session management
19854
19855 2004-10-14 Dan Williams <dcbw@redhat.com>
19856
19857         * panel-applet/NMWirelessAppletDbus.[ch]
19858                 - Expose network_device_[un]ref()
19859                 - Expose wireless_network_[un]ref()
19860                 - (wireless_network_new_with_essid): new function, create and return
19861                         a wireless network with a particular essid
19862
19863         * panel-applet/NMWirelessApplet.c
19864                 - Hook up the "other network" dialog to do something
19865
19866 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19867
19868         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19869         doesn't work yet, but it looks okay.
19870
19871         * panel-applet/icons/*png: Resize to 22x22 and install in the
19872         right place.
19873
19874 2004-10-13 Dan Williams <dcbw@redhat.com>
19875
19876         * panel-applet/NMWirelessApplet.c
19877                 - Add function to print out applet_state in a readable
19878                         manner
19879
19880         * src/NetworkManager.c
19881                 - (main): Don't segfault when nm_dbus_init() fails, we had
19882                         a left-over call to hal_shutdown() into which we passed NULL
19883
19884         * src/NetworkManagerAP.c
19885                 - (nm_ap_set_essid): Allow NULL essids
19886
19887         * src/NetworkManagerAPList.[ch]
19888                 - More use of nm_ap_list_[un]lock ()
19889                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19890                         network/essid, just return nothing.  Also skip over NULL
19891                         essid access points in the list when searching
19892                 - (nm_ap_list_get_ap_by_address): new function
19893                 - (nm_ap_list_update_network): set the access point's key source to
19894                         NULL when the key returned from NetworkManagerInfo is NULL or
19895                         of 0 length
19896                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19897                         copy timestamp over too
19898                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19899                         find the correct ESSID for a blank-essid access point by searching
19900                         through another list and matching access point MAC addresses
19901                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19902
19903         * src/NetworkManagerDbus.c
19904                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19905                         may specify.  This is mainly for access points that don't
19906                         broadcast their essid.  So if the user tells us to associate with
19907                         some random ESSID that's not in our access point list, we find
19908                         out if the access point does in fact exist (by attempting association
19909                         and then matching that access point's MAC address with the essid the
19910                         user gave us) and then we switch to it.
19911                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19912                         to the returned list of networks for the "getNetworks" method
19913
19914         * src/NetworkManagerDevice.[ch]
19915                 - Extra debugging info for link detection
19916                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19917                         based on MAC address
19918                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19919                 - (nm_device_wireless_network_exists): new function, find out whether
19920                         a random ESSID exists by attempting to associate with it
19921                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19922                         device list as long as they have an AP MAC address we can use.
19923                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19924                         devices too.  Lets the applet update more frequently.
19925
19926         * src/backends/NetworkManagerGentoo.c
19927                 - Patch from: Robert Paskowitz
19928                         - Update backend code for Gentoo
19929                         - Implement nm_system_device_update_config_info ()
19930
19931         * test/nmclienttest.c
19932                 - (set_network_device): new function, takes a command-line argument
19933                         and tells NetworkManager to use that wireless network
19934
19935 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19936
19937         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19938         if the notification icon crashes 5 times within 5 seconds of each respawn 
19939
19940 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19941
19942         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19943         g_print.
19944
19945 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19946
19947         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19948
19949         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19950         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19951         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19952         Change the name of the icons.
19953
19954         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19955         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19956         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19957         (nm_menu_wireless_expose_event): Really bad hack to get the style
19958         to draw in the right color.
19959
19960 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19961
19962         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19963         Notification if it crashes
19964
19965 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19966
19967         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19968         (nmwa_dbus_get_string): remove unused functions
19969
19970         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19971         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19972         remove unused functions
19973
19974         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19975
19976 2004-10-12 Dan Williams <dcbw@redhat.com>
19977
19978         * panel-applet/NMWirelessAppletDbus.c
19979                 - New functions:
19980                         wireless_network_new
19981                         wireless_network_copy
19982                         network_device_new
19983                         network_device_copy
19984
19985         * src/NetworkManagerDevice.[ch]
19986                 - New functions:
19987                         nm_device_set_mode_managed
19988                         nm_device_set_mode_adhoc
19989                 - Use these functions where appropriate
19990                 - When creating a new wireless device, force the card
19991                         to managed/Infrastructure mode as soon as possible
19992
19993 2004-10-12 Dan Williams <dcbw@redhat.com>
19994
19995         * src/NetworkManagerDevice.c
19996                 - Force wireless cards into Infrastructure mode before we use them
19997
19998 2004-10-12 Dan Williams <dcbw@redhat.com>
19999
20000         * TODO
20001                 - Remove bit about static IP address support
20002
20003         * src/NetworkManagerUtils.c
20004                 - (nm_spawn_process): Add some error reporting
20005
20006         * src/NetworkManagerDevice.c
20007                 - (nm_device_activation_configure_ip): hook up to the static config
20008                         routines in the backends
20009
20010         * src/backends/NetworkManagerRedHat.c
20011                 - (nm_system_device_update_config_info): use shvar.c routines to
20012                         parse the config file iformation, not our own
20013                 - (nm_system_device_setup_static_ip4_config): new function, based
20014                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20015                         with a static IP address and gateway
20016
20017         * src/backends/shvar.[ch]
20018                 - Parser (filched from initscripts package) for ifcfg-* files
20019
20020         * src/backends/NetworkManagerSystem.h
20021           src/backends/NetworkManagerGentoo.c
20022           src/backends/NetworkManagerDebian.c
20023           src/backends/NetworkManagerSlackware.c
20024                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20025
20026 2004-10-11 Dan Williams <dcbw@redhat.com>
20027
20028         * TODO
20029                 - Remove bit about more robust AP diffing since I just implemented it
20030
20031 2004-10-11 Dan Williams <dcbw@redhat.com>
20032
20033         * src/NetworkManagerAP.c
20034                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20035                         enough RAM to allocate new AP structures, but return NULL instead
20036
20037         * src/NetworkManagerAPList.[ch]
20038                 - (nm_ap_list_is_empty): new function
20039                 - (nm_ap_list_combine): new function, combine two access point lists
20040                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20041                         into another
20042
20043         * src/NetworkManagerDevice.[ch]
20044                 - Rename some functions to be clearer:
20045                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20046                         nm_device_just_activated     -> nm_device_is_just_activated
20047                         nm_device_activating         -> nm_device_is_activating
20048                         nm_device_now_scanning       -> nm_device_is_scanning
20049                 - Cache the last 4 scans so that the access point list is more stable.
20050                         We combine the lastest two scans and use that as the AP list,
20051                         and diff that combined list against the combination of the earliest
20052                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20053
20054 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20055
20056         * info-daemon/NWManagerInfo.h
20057                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20058
20059         * info-daemon/NWManagerInfoDbus.c
20060                 - (shutdown_callback): new function
20061                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20062                         if NetworkManager goes away.  Kill the timeout
20063                         if NetworkManager restarts before the 30 seconds
20064                         are up.
20065                 - (nmi_dbus_service_init): 
20066                         - call gtk_main_quit if NetworkManager is not running
20067                         - add filters to monitor dbus service creations and
20068                                 deletions
20069         
20070 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20071
20072         * panel-applet/NMWirelessApplet.c
20073                 - (nmwa_update_state): Hide notification icon if we are only
20074                         showing one wired card and no wireless interfaces 
20075                         (Red Hat Bug #134895)
20076
20077         * panel-applet/NMWirelessAppletDbus.c
20078                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20079
20080         * info-daemon/NWManagerInfo.c
20081                 - (main): Terminated the notification_icon_cmd array with a NULL
20082
20083 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20084
20085         * configure.in (ALL_LINGUAS): Added de (German).
20086
20087 2004-10-08 Dan Williams <dcbw@redaht.com>
20088
20089         * src/NetworkManagerDevice.c
20090                 - Be a bit more robust about link checking, ie make sure that
20091                         the WEP key we were given actually has some data in it
20092
20093 2004-10-08 Dan Williams <dcbw@redhat.com>
20094
20095         * info-daemon/NetworkManagerInfo.c (main):
20096                 - Initialize GError object to NULL
20097
20098 2004-10-08 Dan Williams <dcbw@redhat.com>
20099
20100         * panel-applet/NMWirelessAppletDbus.c
20101                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20102
20103 2004-10-08 Dan Williams <dcbw@redhat.com>
20104
20105         * info-daemon/NetworkManagerInfo.[ch]
20106           info-dameon/NetworkManagerInfoDbus.[ch]
20107           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20108                 - Preserve original label text in the passphrase dialog so that
20109                         it actually gets updated with the new network name the next
20110                         time around.  Previously, we were overwriting it so you'd get
20111                         the wrong network name to enter a key for
20112                 - Add a "Key Type" combo to the passphrase dialog, user selects
20113                         encryption key type now, type is stored in GConf too
20114                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20115
20116         * src/NetworkManagerAP.[ch]
20117                 - Remove all the encyption method magic.  It's now set by the user
20118                         and NetworkManager retrieves the type of encryption key from
20119                         NetworkManagerInfo
20120
20121         * src/NetworkManagerAPList.[ch]
20122           src/NetworkManagerDbus.[ch]
20123                 - Adjust to new way of setting encryption key and method
20124                 - Pull encryption method down from NMI along with key
20125
20126         * src/NetworkManagerDevice.[ch]
20127                 - Removed encryption method fallback magic as the method is now
20128                         determined by the user.  This greatly simplifies the connection
20129                         logic.
20130                 - More robust connection/link logic.  Besides removing the encryption
20131                         method fallback magic, check whether or not the card is receiving
20132                         invalidly encrypted packets, which usually indicates that we have
20133                         a bad WEP key set.
20134                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20135
20136         * test/nminfotest.c
20137                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20138
20139 2004-10-07 Dan Williams <dcbw@redhat.com>
20140
20141         * info-daemon/NetworkManagerInfo.conf
20142                 - Allow root user to run NMI too
20143
20144 2004-10-06 Dan Williams <dcbw@redhat.com>
20145
20146         * src/NetworkManagerDevice.[ch]
20147           src/NetworkManagerDbus.c
20148           doc/NetworkManager DBUS API.txt
20149                 - Add a new status tag "scanning", which is set when there
20150                         is no active network connection, but NetworkManager is
20151                         looking for an access point to associate with
20152
20153         * panel-applet/main.c
20154                 - Cast the applet appropriately for gtk_widget_show_all ()
20155
20156 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20157
20158         * panel-applet/eggtrayicon.[ch]:
20159         * panel-applet/main.c: Add missing file
20160
20161 2004-10-04 Dan Williams <dcbw@redhat.com>
20162
20163         * src/NetworkManagerDevice.[ch]
20164                 - Add a slightly more robust method of determining if the WEP key
20165                         is correct or not, by checking the WEP-discarded packet count
20166                         on the card
20167
20168         * info-daemon/NetworkManagerInfo.c
20169                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20170                         un-escape values we pull out rather than escaping them
20171
20172 2004-10-03  Marcel Telka  <marcel@telka.sk>
20173
20174         * configure.in (ALL_LINGUAS): Added sk.
20175
20176 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20177
20178         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20179         and feel.  We should be back to working, and have a good, clean
20180         look.
20181
20182 2004-09-30 Dan Williams <dcbw@redhat.com>
20183
20184         * info-daemon/NetworkManagerInfo.c
20185           info-daemon/NetworkManagerInfoDbus.c
20186           test/nminfotest.c
20187                 - Escape ESSIDs in gconf
20188
20189         * src/NetworkManagerDevice.c
20190                 - Fix pseudo-scanning to use netowrk list from info daemon
20191
20192 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20193
20194         * configure.in: Add a temporary --enable-notification-icon.  This
20195         will prolly go away.
20196
20197         * info-daemon/Makefile.am:
20198         * info-daemon/NetworkManagerInfo.c:
20199         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20200
20201         * panel-applet/Makefile.am:
20202         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20203         * panel-applet/NMWirelessApplet.h:
20204
20205 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20206
20207         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20208         before 'select custom ESSID'.
20209
20210         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20211         fully complete, but syncing in prep for merge.
20212
20213         * panel-applet/icons/*png: New images
20214
20215 2004-09-28 Dan Williams <dcbw@redhat.com>
20216
20217         * src/NetworkManager.c
20218           src/NetworkManagerDevice.c
20219           src/NetworkManagerPolicy.c
20220                 - Don't blow away an active wired connection on startup
20221
20222 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20223
20224         Changes from J5
20225         
20226         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20227
20228         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20229         syslog output
20230
20231 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20232
20233         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20234         have a wireless card.
20235
20236 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20237
20238         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20239         Also, get the right device strings.
20240
20241 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20242
20243         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20244         the logic to make this right.
20245
20246         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20247         devices so that wired networks are always first.
20248
20249 2004-09-22    <clarkbw@cvs.gnome.org>
20250
20251         * initscript/Debian/.cvsignore:
20252         * initscript/Slackware/.cvsignore:
20253         Added new cvsignores for Makefile, Makefile.in
20254         
20255         * test/.cvsignore:
20256         Added nmtestdevices
20257         
20258         * src/NetworkManagerDevice.c: 
20259         * src/NetworkManager.c: 
20260         Updated the wireless/wired HAL device strings from net.ethernet to
20261         net.80203 or net.80211 depending on wired or wireless respectively
20262         
20263         * examples/python/NetworkManager.py: 
20264         s/Quality/Strength/
20265
20266         * examples/python/systray/network_tray.py:
20267         Lots of little changes and fixes.  been rotting for a while so I
20268         figured I'd finally sync them all with CVS
20269
20270 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20271
20272         * configure.in: Add graphics
20273
20274         * panel-applet/Makefile.am: Add graphics
20275
20276         * panel-applet/icons/*: Add graphics
20277
20278         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20279         the icons fully lined up.
20280
20281         * panel-applet/menu-info.c: 
20282         * panel-applet/menu-info.h: Add another menu type.
20283
20284 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20285
20286         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20287
20288         * panel-applet/menu-item.[ch]: Wireless menu item.
20289
20290 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20291
20292         * info-daemon/NetworkManagerInfo.conf
20293                 - Created a more robust security policy for the DBus service
20294                         - everything is denied by default
20295                         - root can own and send to the service
20296                         - users logged in at the console can send to the service
20297
20298 2004-09-13  Dan Williams <dcbw@redhat.com>
20299
20300         * src/NetworkManagerDevice.c
20301                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20302                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20303                         the latter
20304
20305 2004-09-13  Dan Williams <dcbw@redhat.com>
20306
20307         * TODO: fix typo
20308
20309         * docs/NetworkManager DBUS API.txt
20310                 - Update for new signal strength changes
20311
20312         * panel-applet/NMWirelessApplet.c
20313                 - Make panel icon show strength of the current connection
20314                 - Cleanups and memleak fixes
20315
20316         * panel-applet/NMWirelessApplet.h
20317                 - Add data members for signal strength on devices and networks
20318
20319         * panel-applet/NMWirelessAppletDbus.c
20320                 - Free more DBusErrors
20321                 - Update for new signal strength changes
20322                 - Make devices and networks more like real objects, use ref/unref methods
20323                 - Actually unlock the mutex when updating the active device
20324
20325         * src/NetworkManagerAP.c
20326                 - Change AP functions and data members from "quality"->"strength"
20327
20328         * src/NetworkManagerDbus.c
20329                 - Kill "getMaxQuality" and "getQuality" methods
20330                 - Add "getStrength" methods for Networks and Devices
20331
20332         * src/NetworkManagerDevice.[ch]
20333                 - Add accessors for device strength
20334                 - Add functions to update strength for a device.  Note that not all drivers
20335                         actually support signal strength for scanned access points (Atmel drivers
20336                         being one)
20337                 - Calculate signal strength for each AP during scan
20338
20339         * src/NetworkManagerWireless.[ch]
20340                 - Add function to return signal strength % from a device and a raw quality struct
20341
20342         * test/nmclienttest.c
20343                 - Update for new signal strength changes
20344
20345 2004-09-11  Dan Williams <dcbw@redhat.com>
20346
20347         * src/NetworkManager.c
20348                 - Fix race condition between initscripts and NM on card insertion
20349                         which could cause a card to keep an IP address and routes around
20350                         even when it was not the active device
20351
20352         * src/NetworkManagerDbus.c
20353                 - Fix compile errors, free more DBusErrors
20354
20355 2004-09-11  Dan Williams <dcbw@redhat.com>
20356
20357         * docs/NetworkManager DBUS API.txt
20358                 - Add an explanation of NM's API
20359
20360         * src/NetworkManagerDbus.c
20361                 - Free some more DBusErrors if needed
20362
20363 2004-09-11  Dan Williams <dcbw@redhat.com>
20364
20365         * panel-applet/NMWirelessApplet.c
20366           panel-applet/NMWirelessAppletDbus.c
20367                 - Start using NetworkDevice/WirelessNetwork structures in more places
20368                 - Update for unified device/network forcing in NetworkManager
20369
20370         * src/NetworkManager.c
20371                 - some code consolidation
20372
20373         * src/NetworkManagerDbus.c
20374                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20375                         or two arguments:  the first is the NM ID of the device to switch to,
20376                         and the second (optional) argument is the ESSID of a wireless network
20377                         to use as well.
20378                 - Get rid of "setNetwork" method due to above change
20379
20380         * src/NetworkManagerDevice.c
20381                 - (nm_device_new): perform scan and update best AP on device creation
20382                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20383                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20384                         spin waiting for cancellation to finish before returning
20385
20386         * src/NetworkManagerPolicy.c
20387                 - Changes here clarify the situations in which a device switch occurs, and 
20388                         make sure to keep using a forced device and network if the user gives
20389                         us one
20390                 - Remove old unused code
20391
20392 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20393
20394         * configure.in: Added Danish (da) to ALL_LINGUAS.
20395
20396 2004-09-09  Dan Williams <dcbw@redhat.com>
20397
20398         * panel-applet/NMWirelessAppletDbus.c
20399                 - Pull fresh devices and networks from NM when wireless networks
20400                         change.  Provides faster feedback of a forced wireless network
20401
20402         * src/NetworkManagerDbus.c
20403                 - Return error when "getMaxQuality" is called on a wired device
20404                 - Make best_ap freezing actually work again, and signal cancellation
20405                         of activation if there's already a device activation when the user
20406                         freezes the best_ap
20407
20408         * src/NetworkManagerDevice.c
20409                 - Don't clear out the best_ap for wireless devices when the link goes
20410                         down, that's done elsewhere
20411                 - Kill any dhcp daemons when cancelling device activation since they
20412                         may be stuck waiting for a DHCP address, and since we're cancelling
20413                         activation we don't care about that anymore
20414
20415         * src/NetworkManagerPolicy.c
20416                 - Make sure to unref the device we ref earlier (we refed it to make sure
20417                         it stuck around during device activation and such)
20418                 - If we were going to change the best device, but its activating currently
20419                         (and therefore the change didn't occur due to the check earlier)
20420                         we mark the state changed to we come back to it later when device
20421                         activation has canceled and its no longer activating
20422
20423         * src/backends/NetworkManagerRedHat.c
20424                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20425
20426 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20427
20428         * info-daemon/passphrase.glade: 
20429         set passphrase input to activates_default : True
20430
20431         * examples/python/systray/network_tray.py
20432         (network_tray.sort_networks):
20433
20434         Added support for having wireless always scanning
20435
20436 2004-09-09  Dan Williams <dcbw@redhat.com>
20437
20438         NOTE: this commit changes the behavior of wireless devices in
20439         NetworkManager.  They are now up all the time, scanning all
20440         the time.  Only the active device has an IP address and routing
20441         information set up however.  Also, NetworkManager will no longer
20442         opportunistically switch wireless networks when a better one
20443         comes in range, it will remain associated with one wireless network
20444         until that one drops out.
20445
20446         * panel-applet/NMWirelessApplet.c
20447           panel-applet/NMWirelessAppletDbus.c
20448                 - List all wireless cards and their respective networks
20449
20450         * src/NMLoadModules
20451                 - Use full path to /sbin/ip
20452
20453         * src/NetworkManager.c
20454                 - Keep wireless devices up all the time so they can scan
20455
20456         * src/NetworkManagerDbus.c
20457                 - On a WirelessNetworkUpdate signal from NMI, don't update
20458                         the "best" AP
20459
20460         * src/NetworkManagerDevice.c
20461                 - (nm_device_set_link_active): clear out the best ap for
20462                         wireless devices when the link is set to FALSE
20463                 - Scan on all wireless cards, all the time
20464                 - (nm_device_activation_worker): split out the wireless card
20465                         link-waiting code to a separate function
20466                 - Keep wireless cards up even if device activation fails
20467                 - Don't update the "best" ap as much
20468
20469         * src/NetworkManagerPolicy.c
20470                 - Don't update the best ap when checking if its frozen,
20471                         let link checking clear out a frozen best ap for us
20472
20473         * src/NetworkManagerWireless.c
20474                 - Scan on all wireless cards, all the time
20475
20476 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20477
20478         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20479
20480 2004-09-09  Ankit Patel <ankit@redhat.com>
20481
20482         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20483
20484 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20485
20486         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20487
20488 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20489
20490         * examples/python/NetworkManager.py: 
20491         added CONNECTED, CONNECTING, and DISCONNECTED states
20492         added methods to return number of devices of a single type
20493
20494         * examples/python/systray/network_tray.py: 
20495         did some tweaks to get the menu looking near what it is supposed
20496         to look like.  Also did a Airo card hack to make it show the
20497         correct AP quality
20498
20499 2004-09-08  Dan Williams <dcbw@redhat.com>
20500
20501         * panel-applet/no-networkmanager.png
20502           panel-applet/Makefile.am
20503           panel-applet/NMWirelessApplet.c
20504                 - Add a "NetworkManager not running" icon and use it
20505                 - Use new consolidated GConf keys rather than Preferred/Trusted
20506
20507         * TODO: update
20508
20509         * info-daemon/NetworkManagerInfo.c
20510           info-daemon/NetworkManagerInfoDbus.[ch]
20511           info-daemon/NetworkManagerInfoPassphraseDialog.c
20512                 - There are now no longer two separate lists of wireless networks,
20513                         but one list where each network is "trusted" or not trusted
20514                 - Add a "getNetworkTrusted" dbus method
20515                 - "WirelessNetworkUpdate" signal now sent rather than
20516                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20517                 - Start freeing some dbus errors (not completed yet)
20518
20519         * info-daemon/passphrase.glade
20520                 - Remove the "don't show" hints for pager and taskbar
20521                 - Add a title since its going to be in the taskbar
20522
20523         * src/NetworkManager.[ch]
20524           src/NetworkManagerAPList.[ch]
20525                 - There are now no longer two separate lists of wireless networks,
20526                         but one list where each network is "trusted" or not trusted
20527
20528         * src/NetworkManagerAP.[ch]
20529                 - Add get/set "trusted" accessors and data bit
20530
20531         * src/NetworkManagerDbus.[ch]
20532                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20533                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20534
20535         * src/NetworkManagerDevice.[ch]
20536                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20537                 - (nm_device_new): Get device config from backend when initializing devices
20538                 - (nm_device_activation_worker): Split out device configuration on
20539                         activation to deal with static/dynamic IP differences, and try encryption
20540                         fallbacks on a device if the encryption method for the best AP is not good
20541                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20542                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20543
20544         * src/NetworkManagerWireless.c
20545                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20546
20547         * src/backends/NetworkManagerRedHat.c
20548           src/backends/NetworkManagerSystem.h
20549                 - (nm_system_device_update_config_info): Add function to get device configuration
20550                         from system data in ifcfg-* files
20551
20552         * src/backends/NetworkManagerDebian.c
20553           src/backends/NetworkManagerGentoo.c
20554           src/backends/NetworkManagerSlackware.c
20555                 - Add stub functions for getting device configuration
20556
20557 2004-09-07  Dan Williams <dcbw@redhat.com>
20558
20559         * src/backends/NetworkManagerRedhat.c
20560           src/backends/NetworkManagerSlackware.c
20561                 - Use full path to /sbin/ip everywhere
20562
20563 2004-09-07  Dan Williams <dcbw@redhat.com>
20564
20565         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20566
20567         * configure.in
20568           initscript/Makefile.am
20569           initscript/Slackware/Makfile.am
20570           initscript/Slackware/rc.networkmanager
20571           src/Makefile.am
20572           src/backends/NetworkManagerSlackware.c
20573                 - Add Slackware support
20574
20575 2004-09-07  Dan Williams <dcbw@redhat.com>
20576
20577         Patches below from:
20578                 <j@bootlab.org>
20579                 Mark Roach <mrroach@okmaybe.com>
20580                 Thom May <thom@debian.org>
20581
20582         * configure.in
20583           initscript/Debian/NetworkManager
20584           initscript/Debian/Makefile.am
20585                 - Initscript for Debian
20586
20587         * src/backends/NetworkManagerDebian.c
20588                 - Add missing system init function to allow compilation
20589                         on Debian
20590
20591 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20592
20593         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20594
20595 2004-09-03  Akagic Amila <bono@linux.org.ba>
20596
20597         * configure.in: Added 'bs' to ALL_LINGUAS.
20598
20599 2004-09-02  Colin Walters  <walters@verbum.org>
20600
20601         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20602         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20603         g_strdup_printf instead of arbitrarily sized buffers.
20604
20605 2004-09-01  Colin Walters  <walters@verbum.org>
20606
20607         * NetworkManager.pc.in: New file.
20608
20609         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20610
20611 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20612         
20613         * configure.in: Punjabi(pa) is added to po/.
20614
20615 2004-08-31  Dan Williams <dcbw@redhat.com>
20616
20617         * Remove 'debug' extern global from all files since we now
20618                 use syslog()
20619
20620         * src/NetworkManager.[ch]
20621                 - Break out routine that get the net.interface property from HAL,
20622                         removing that logic from nm_create_device_and_add_to_list()
20623                 - (nm_create_device_and_add_to_list): make this a bit more general so
20624                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20625                         the create of test devices.
20626                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20627                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20628                         which makes NetworkManager listen for dbus commands to create test
20629                         devices, which have no backing hardware.  Use when you're on a plane
20630                         for example, and/or forgot your wireless card at home.  Test devices
20631                         _cannot_ be created unless NM is started with --enable-test-devices.
20632
20633         * src/NetworkManagerDbus.[ch]
20634                 - New "getLinkActive" method for devices
20635                 - New "setLinkActive" method for devices (only works on test devices)
20636                 - New "createTestDevice" method on NetworkManager object to create a test
20637                         device of a specified type (ie wired, wireless).  UDI is created from
20638                         scratch, as is the interface name.  Only works when NM is started with
20639                         --enable-test-devices switch.
20640                 - New "removeTestDevice" method on NetworkManager object which removes a
20641                         test device.  Only works when NM is started with --enable-test-devices
20642
20643         * src/NetworkManagerDevice.[ch]
20644                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20645                         whether a device is a test device or not, and what its link status is.
20646                 - Deal with test devices in most functions.  For those that work directly on hardware
20647                         special-case test devices.
20648                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20649                         command-line.
20650                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20651                         checking to separate functions to facilitate test device link checking.
20652                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20653                         don't make a distinction between System Authentication and Encryption
20654                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20655                         on the card.  We don't deal with Shared Key auth yet.
20656                 - (nm_device_activation_worker): split the activation cancel check logic out into
20657                         a separate routine nm_device_activation_cancel_if_needed()
20658                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20659                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20660                         a list of fake access points that they can "see"
20661                 - (nm_device_is_test_device): return whether or not a device is a test device
20662
20663         * src/NetworkManagerPolicy.c
20664                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20665                         previously if you "locked"/forced NM to use a wireless device but then
20666                         selected a wireless network for NM to use, it would switch to a wired device.
20667                         So, if the active device is wireless and it has a "forced" best AP, use it
20668                         if the "forced" best AP is still valid
20669                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20670                         there were no usable network devices, or the last one was removed
20671
20672         * src/backends/NetworkManager*.c
20673                 - Deal with test devices, mostly just return success for operations like getting
20674                         a DHCP address
20675
20676         * test/nmtestdevices.c
20677                 - Test tool to create/remove/link-switch test devices
20678
20679 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20680
20681         * examples/python/NetworkManager.py: 
20682         added convience functions has_wired_device and has_wireless_device
20683
20684         * examples/python/systray/network_tray.py: 
20685         cleaned up a bunch of cruft, added support for listing wireless
20686         networks just like the real applet.  This is probably all I'm
20687         going to work on this applet from now on.
20688         TODO: add support for actually changing networks and devices
20689
20690         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20691         changed "nm.networks" into a dict from a list so I can store all
20692         the cool information about networks in there
20693
20694         * examples/python/systray/network_tray.py: 
20695         Added nice message when you try to run without running make first
20696
20697         * examples/python/NetworkManager.py: 
20698         Bug fixes to the code so we get all the device information
20699         that we need in get_device()
20700         
20701         * examples/python/NMTester.py: 
20702         Fixed _print_device_list to print_device_list
20703
20704 2004-08-29  Seth Nickell  <seth@gnome.org>
20705
20706         * configure.in:
20707
20708         Actually properly setup the Debian backend in configure.
20709         
20710 2004-08-29  Colin Walters  <walters@verbum.org>
20711
20712         * test/nminfotest.c: Include string.h and stdlib.h.
20713         (get_network_string_property, get_networks_of_type): Return NULL.
20714
20715         * test/nmclienttest.c (get_device_name, get_active_device): Return
20716         NULL.
20717
20718         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20719         use strlen, fgets always NULL-terminates the string.
20720
20721         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20722         dbus_message_get_member): Remove /* in comment.
20723
20724         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20725
20726         * src/NetworkManager.c (quit): Unused, delete.
20727         (nm_data_free): Cast arg to GFunc.
20728
20729         * panel-applet/NMWirelessAppletDbus.c: Need to include
20730         string.h, and dbus-glib-lowlevel.h (the latter is needed
20731         for dbus_connection_setup_with_g_main at present).
20732         (nmwa_dbus_update_wireless_network_list): Parenthesize
20733         assignment in conditional.
20734         (nmwa_dbus_worker): Return NULL.
20735
20736         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20737         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20738         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20739         (nmwa_populate_menu): Return NULL on failure, instead of just
20740         return;
20741
20742         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20743
20744         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20745         variables.
20746
20747         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20748         delete.
20749         
20750 2004-08-29  Colin Walters  <walters@verbum.org>
20751
20752         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20753         a GTimeVal instead of time_t.  This is easier to work with,
20754         since time_t may be a long or double, we don't know.
20755
20756         * src/NetworkManagerDbus.h: Update prototype.
20757         
20758         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20759         instead of time_t.
20760         (nm_ap_get_timestamp): Update to return GTimeVal.
20761         (nm_ap_set_timestamp): Update to take GTimeVal.
20762         
20763         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20764         to handle GTimeVal.
20765
20766         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20767         GTimeVal change.
20768         (nm_ap_list_print_members): Fix warnings in printf format.
20769
20770 2004-08-29  Colin Walters  <walters@verbum.org>
20771         
20772         * panel-applet/NMWirelessApplet.c: Include config.h.
20773
20774 2004-08-29  Colin Walters  <walters@verbum.org>
20775
20776         * configure.in: Generate config.h.
20777
20778         * configure.in: Dump dependency on OpenSSL; we can't
20779         use it since this package is GPL:
20780         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20781         Instead, check for libgcrypt, use it if available,
20782         otherwise use included MD5 code.
20783
20784         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20785         Suck in from gnome-keyring, munge a bit.
20786         
20787         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20788         gnome-keyring-md5.h gnome-keyring-md5.c.
20789         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20790
20791         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20792         libgcrypt or included gnome-keyring md5 bits.
20793         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20794
20795 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20796
20797         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20798
20799 2004-08-27  Bryan Clark  <bclark@redhat.com>
20800
20801         * examples/python/systray/Makefile: 
20802
20803         Updated the clean section
20804         
20805         * examples/python/systray/trayiconmodule.c: 
20806         * examples/python/systray/trayicon.override: 
20807         * examples/python/systray/network_tray.py: 
20808         * examples/python/systray/eggtrayicon.h: 
20809         * examples/python/systray/eggtrayicon.c: 
20810         * examples/python/systray/Makefile: 
20811         * examples/python/README: 
20812         * examples/python/NetworkManager.py: 
20813         * examples/python/NMTester.py: 
20814
20815         Initial commit of these python example files
20816
20817 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20818
20819         * panel-applet/NMWirelessApplet.c
20820                 - Make current device bold
20821                 - Show more user-friendly device name if we got one from hal
20822
20823         * panel-applet/NMWirelessAppletDbus.c
20824                 - Grab "info.product" key from hal for network devices
20825                 - Cache the current active device
20826
20827 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20828
20829         * configure.in: Added en_CA to ALL_LINGUAS.
20830
20831 2004-08-27  Christian Rose  <menthos@menthos.com>
20832
20833         * configure.in: Added "sv" to ALL_LINGUAS.
20834
20835 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20836
20837         * Tag NetworkManager-0.2
20838
20839 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20840
20841         * initscripts/Makefile.am
20842         * configure.in: Make pass distcheck
20843
20844         * po/ChangeLog: added
20845
20846 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20847
20848         * panel-applet/NMWirelessApplet.c
20849                 - Remove debugging code
20850                 - Enable device switching from menus
20851
20852         * panel-applet/NMWirelessAppletDbus.[ch]
20853                 - Method for asking NM to switch devices
20854
20855         * src/NetworkManagerDevice.c
20856                 - Set dev->activating earlier, avoids race between
20857                         the dbus signal of "DeviceActivating" and setting
20858                         dev->activating (which is what NM's "status" method call
20859                         looks at)
20860
20861 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20862
20863         * panel-applet/NMWirelessApplet.[ch]
20864                 - Rework menu code to add devices to menu, and to show
20865                         signal strength for each access point.  Code cleanups
20866                         too.
20867
20868         * panel-applet/NMWirelessAppletDbus.c
20869                 - Grab network devices from NetworkManager too
20870                 - Grab quality information from NM for wireless networks
20871
20872         * src/NetworkManagerDbus.[ch]
20873                 - Add dbus methods for getting the HAL UDI from a device and
20874                         for getting its base quality, if its wireless
20875                 - Consolidate some functions (wireless network notifications,
20876                         device notifications)
20877                 - Add method for requesting NM to use a particular device
20878
20879         * src/NetworkManager.c
20880                 - Change for function consolidations from NetworkManagerDbus.c
20881                 - Implement active device locking and user-requested devices
20882                         (ie, tell NM to use a particular device instead of the one
20883                         it autochose)
20884
20885         * src/NetworkManagerDevice.c
20886                 - Add method for getting the base quality of a device, if its
20887                         wireless
20888                 - Grab device base quailty info from iwlib during scans
20889
20890         * src/NetworkManagerPolicy.c
20891                 - Use a user-requested device rather than the auto-chosen device
20892                         if we are told to
20893
20894 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20895
20896         * Makefile.am: add po as a supdir
20897
20898         * autogen.sh: use gnome-autogen.sh
20899
20900         * initscript/Gentoo/.cvsignore:
20901         * initscript/RedHat/.cvsignore: Shut up cvs
20902
20903         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20904
20905         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20906         (nmwa_fill): Use gettext.
20907
20908         * configure.in: add gettext support
20909         * po/.cvsignore:
20910         * po/NetworkManager.pot:
20911         * po/POTFILES.in:
20912
20913 2004-08-26  Seth Nickell  <seth@gnome.org>
20914
20915         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20916         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20917         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20918         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20919         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20920         * panel-applet/NMWirelessApplet.h:
20921
20922         Use a menu bar instead of a button for the main clickable
20923         thingy.
20924         
20925 2004-08-25  Dan Williams <dcbw@redhat.com>
20926
20927         * src/NetworkManagerDevice.c
20928                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20929                         turning encryption off, because the Cisco driver doesn't associate
20930                         with WEP-enabled access points unless we are in "open"
20931
20932 2004-08-25  Dan Williams <dcbw@redhat.com>
20933
20934         * src/NetworkManagerWireless.c
20935                 - Don't try to defererence blank passphrases
20936
20937 2004-08-25  Dan Williams <dcbw@redhat.com>
20938
20939         * panel-applet/NMWirelessApplet.c
20940                 - Rebuild the menu whenever a user clicks
20941
20942 2004-08-25  Dan Williams <dcbw@redhat.com>
20943
20944         * panel-applet/NMWirelessApplet.c
20945                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20946                         when NM isn't around or when its not connected
20947
20948         * src/NetworkManagerDevice.c
20949                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20950                         canceled.
20951
20952 2004-08-25  Dan Williams <dcbw@redhat.com>
20953
20954         * panel-applet/NMWirelessAppletDbus.c
20955                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20956                         for getting encryption, and don't stop on "val" once we've gotten it
20957                         from NetworkManager.  Short form:  encryption should now show up.
20958
20959 2004-08-25  Dan Williams <dcbw@redhat.com>
20960
20961         * panel-applet/NMWirelessApplet.c
20962                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20963                         network to associate with
20964
20965 2004-08-25  Dan Williams <dcbw@redhat.com>
20966
20967         * panel-applet/*
20968                 - Rework the panel applet to do all DBUS communication in a separate
20969                         thread
20970
20971 2004-08-25  Dan Williams <dcbw@redhat.com>
20972
20973         * info-daemon/NetworkManagerInfo.[ch]
20974                 - Remove "get_next_priority" function
20975
20976         * info-daemon/NetworkManagerInfoDbus.[ch]
20977                 - Convert "priority" functions to "timestamp"
20978
20979 2004-08-25  Dan Williams <dcbw@redhat.com>
20980
20981         * src/NetworkManagerAP.[ch]
20982                 - Add a "enc_method_good" member and accessors to an Access Point
20983                         to signal when we've found the correct encryption method
20984                         for an access point
20985                 - Add a "timestamp" member and accessors, remove "priority" member
20986                         and accessors (use timestamps instead)
20987                 - Rename "wep_key"->"enc_key"
20988                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20989                         for a specified encryption method using the access points
20990                         source encryption key/passphrase
20991
20992         * src/NetworkManagerAPList.c
20993                 - When updating a network with dbus, grab timestamp now instead of
20994                         priority
20995
20996         * src/NetworkManagerDBus.[ch]
20997                 - Add signal for "DeviceActivating"
20998                 - Switch priority->timestamp
20999
21000         * src/NetworkManagerDevice.c
21001                 - Change references of "wep_key" -> "enc_key" or "key"
21002                 - Signal DeviceActivating when starting activation
21003                 - When activating a wireless device, if the access point we are connecting
21004                         to is encrypted, and we have a source key, try to generate a mangled
21005                         key and use that (ie, generate real WEP key from a passphrase)
21006                 - Rework device activation to fallback to other encryption methods if
21007                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21008                         first, then if that doesn't work fall back to direct hex key).
21009                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21010                         priority.  We now prefer the latest access point used, rather than using
21011                         a priority scheme
21012                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21013                         points we've just discovered, and merge in correct info from the global
21014                         access point lists
21015
21016 2004-08-25  Seth Nickell  <seth@gnome.org>
21017
21018         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21019         Debian support.
21020         
21021         * src/Makefile.am:
21022         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21023         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21024         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21025         (nm_system_delete_default_route),
21026         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21027         (nm_system_load_device_modules):
21028
21029 2004-08-24  Dan Willemsen <dan@willemsen.us>
21030
21031         * src/NetworkManager.c
21032           src/backends/NetworkManagerGentoo.c
21033           src/backends/NetworkManagerRedHat.c
21034           src/backends/NetworkManagerSystem.h
21035                 - Implement preliminary Gentoo support, adding a
21036                         nm_system_init function to the backend specification
21037
21038         * configure.in
21039                 - Distribution auto-detection, lowercase any user-fed
21040                         distribution names
21041
21042         * initscript/.cvsignore
21043           initscript/Makefile.am
21044           initscript/RedHat/Makefile.am
21045           initscript/RedHat/NetworkManager
21046           initscript/Gentoo/Makefile.am
21047           initscript/Gentoo/NetworkManager
21048                 - Refactored initscript code separately for each
21049                         distribution
21050
21051 2004-08-23  Dan Williams <dcbw@redhat.com>
21052
21053         * configure.in
21054           src/Makefile.am
21055           src/NetworkManagerDevice.c
21056           src/NetworkManager.c
21057           src/NetworkManagerUtils.[ch]
21058           src/backends/NetworkManagerSystem.h
21059           src/backends/NetworkManagerRedHat.c
21060           src/backends/NetworkManagerGentoo.c
21061                 - Refactor system-specific code into separate backends for
21062                         each distribution
21063
21064 2004-08-23  Dan Willemsen <dan@willemsen.us>
21065
21066         * dispatcher-daemon/NetworkManagerDispatcher.c
21067           info-daemon/NetworkManagerInfo.[ch]
21068           info-daemon/NetworkManagerInfoDbus.c
21069           info-daemon/NetworkManagerInfoPassphraseDialog.c
21070           src/NetworkManager.c
21071           src/NetworkManagerAP.c
21072           src/NetworkManagerAPList.c
21073           src/NetworkManagerDbus.c
21074           src/NetworkManagerDevice.c
21075           src/NetworkManagerPolicy.c
21076           src/NetworkManagerUtils.[ch]
21077           src/NetworkManagerWireless.c
21078                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21079
21080         * src/NetworkManager.c
21081                 - Fixed usage wording for --no-daemon
21082
21083 2004-08-23  Dan Williams <dcbw@redhat.com>
21084
21085         * panel-applet/NMWirelessApplet.c
21086                 - Update our state every second to get more responsive panel icon
21087                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21088                         was causing our marching ants status blips to never move when
21089                         looking for a wireless network
21090
21091         * src/NetworkManagerDevice.c
21092                 - (nm_device_activation_begin): return if activation has already begun
21093                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21094                         trusted/preferred network into the device's access point when the
21095                         scan list is processed
21096
21097 2004-08-23  Dan Williams <dcbw@redhat.com>
21098
21099         * initscript/NetworkManager
21100                 - Use NMLaunchHelper rather than sleeping
21101
21102         * initscript/NMLaunchHelper.c
21103           Makefile.am
21104                 - Add helper program that exits only when NM activates a device,
21105                         or 10 seconds have passed, whichever happens first.  This
21106                         stops the boot processes until we have a network connection,
21107                         which NM can't do because it daemonizes and brings the connection
21108                         up in the background.  Allows stuff like NFS to not die.
21109
21110 2004-08-20  Dan Williams <dcbw@redhat.com>
21111
21112         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21113                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21114                         for a network, set the essid as well since it may not exist yet
21115                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21116                         since WEP keys/passphrases are long and prone to entry-error
21117
21118         * panel-applet/Makefile.am
21119           panel-applet/wired.png
21120                 - Add (pulled from system-config-network temporarily)
21121
21122         * panel-applet/NMWirelessApplet.[ch]
21123                 - Show wired picture when a wired connection is used
21124                 - Rename wireless icon enums, adding WIRELESS
21125
21126         * src/NetworkManagerDevice.c
21127                 - (nm_device_activate_wireless): unset encryption before bringing
21128                         down the card and setting the essid
21129                 - (nm_device_activatin_worker): request a key from the user if the
21130                         AP we are connecting to is encrypted but we don't have a key
21131                         for it yet
21132                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21133                         strcmp() that prevented a user-entered key from actually getting
21134                         used
21135
21136 2004-08-16  Dan Williams <dcbw@redhat.com>
21137
21138         * initscript/NetworkManager
21139                 - Check for /sbin/ip
21140                 - Do sysctl magic that network service does
21141                 - sleep 4s after start to allow network time to come up [hack]
21142
21143         * src/Makefile.am
21144           src/NMLoadModules
21145                 - Load all network device kernel modules (hal doesn't know devices
21146                         are ethernet until the module is loaded, and therefore we don't know)
21147
21148         * src/NetworkManager.c
21149                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21150                         network devices, and bring up the loopback device explicitly
21151
21152         * src/NetworkManagerUtils.[ch]
21153                 - (nm_enable_loopback): new function
21154
21155 2004-08-13  Dan Williams <dcbw@redhat.com>
21156
21157         * configure.in
21158           panel-applet/Makefile.am
21159                 - Fix up cleanfiles and server_DATA/server_in_files
21160
21161         * README
21162                 - Update with some comments on theory of operation
21163
21164         * CONTRIBUTING
21165           Makefile.am
21166                 - Add CONTRIBUTING
21167
21168 2004-08-12  Dan Williams <dcbw@redhat.com>
21169
21170         * info-daemon/passphrase.glade
21171                 - Set window title to " "
21172
21173         * panel-applet/Makefile.am
21174           panel-applet/keyring.png
21175                 - Deliver to correct place
21176
21177         * panel-applet/NMWirelessApplet.[ch]
21178                 - Add comments
21179                 - Remove applet->have_active_device as its no longer used
21180                 - (nmwa_load_theme): load keyring.png too
21181                 - (error_dialog): remove
21182                 - (show_warning_dialog): subsume functionality of error dialog too
21183                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21184                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21185                         the networks menu
21186                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21187                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21188                         and when we get broadcasts of changed wireless access points only, not when the
21189                         user clicks on the button to display the menu (too long of a wait)
21190                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21191                         networks that are encrypted
21192                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21193                         menu item with g_object_set_data()
21194
21195         * panel-applet/NMWirelessAppletDbus.[ch]
21196                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21197                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21198                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21199                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21200                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21201                         activation/deactivation signals and rebuild the menu when they happen
21202
21203         * src/NetworkManager.c
21204                 - (main): use new nm_spawn_process() rather than system()
21205
21206         * src/NetworkManagerDbus.c
21207                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21208                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21209                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21210                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21211                         to freeze the best_ap.
21212
21213         * src/NetworkManagerDevice.[ch]
21214                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21215                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21216                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21217                         ap list
21218
21219         * src/NetworkManagerUtils.[ch]
21220                 - (nm_spawn_process): add replacement for system() usage
21221
21222 2004-08-11  Dan Williams <dcbw@redhat.com>
21223
21224         * panel-applet/NMWirelessApplet.[ch]
21225                 - Fix up copyright and credits to include Bastien and Eskil,
21226                         who created the gnome-applets wireless applet, from whose
21227                         skeleton this one was created
21228                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21229                         pixmap to draw is computed during nmwa_update_state()
21230                 - Applet now shows itself all the time due to panel packing issues
21231                         which caused the applet to previously never come back after hiding.
21232                         When a wired device is the active device, the applet shows "not connected"
21233
21234         * panel-applet/NMWirelessAppletDbus.[ch]
21235                 - Clean up error messages and show what function they are from
21236                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21237                 - Add new device type getters, and a status getter
21238
21239         * src/NetworkManagerDbus.c
21240                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21241                         network is actually in the device's ap list
21242                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21243
21244         * src/NetworkManagerDevice.c
21245                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21246                         card
21247
21248         * test/nmclienttest.c
21249                 - Report status of NetworkManager too
21250
21251 2004-08-11  Dan Williams <dcbw@redhat.com>
21252
21253         * info-daemon/NetworkManagerInfo.c:
21254                 - (main): clean up Seth's code style
21255
21256         * info-daemon/NetworkManagerInfoDbus.c:
21257                 - Use the more aptly-named path/service/interface constants from NetworkManager
21258                 - Don't return empty strings ("") as object paths ever, instead return errors
21259
21260         * panel-applet/NMWirelessApplet.c:
21261                 - Clean up Seth's code style
21262
21263         * src/NetworkManager.[ch]
21264                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21265                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21266
21267         * src/NetworkManagerAPList.[ch]
21268                 - Move Iter struct right above the iter functions to preserve opacity
21269                 - (nm_ap_list_remove_ap): implement
21270                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21271                         remove AP if NetworkManagerInfo doesn't know anything about it
21272                 - (nm_ap_list_diff): user NMAPList iterators
21273                 - (nm_ap_list_print_members): implement debugging function
21274
21275         * src/NetworkManagerDbus.[ch]
21276                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21277                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21278                         and move the actual key setting stuff into NetworkManagerDevice.c
21279                 - (nm_dbus_get_network_priority): return -1 now on errors
21280                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21281                         get lost, and force the active device to update its "best" ap when AP lists change
21282                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21283                         method call due to pending_device member removal
21284
21285         * src/NetworkManagerDevice.[ch]
21286                 - Move NMDevice structure to the top
21287                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21288                 - Remove Pending Action stuff from everywhere
21289                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21290                         activation for us.  This thread blocks until all conditions for activation have
21291                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21292                         then setup up the interface and runs dhclient.  We have to do this because there
21293                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21294                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21295                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21296                         can tell nm_device_activation_worker() that we've got a key
21297                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21298                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21299                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21300                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21301
21302         * src/NetworkManagerPolicy.c
21303                 - Remove anything to do with pending_device
21304                 - Adjust device activation to deal with activation-in-worker-thread
21305
21306         * src/NetworkManagerUtils.c
21307                 - Clean up locking debugging a bit
21308
21309         * src/NetworkManagerWireless.[ch]
21310                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21311                         was badly named and is better as a device function
21312
21313         * panel-applet/.cvsignore: add
21314
21315 2004-08-09  Seth Nickell  <seth@gnome.org>
21316
21317         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21318         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21319         (nmwa_new):
21320         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21321
21322         Don't load the menus until clicked on (also removes a call outside
21323         normal code paths at first load).
21324
21325         Hide applet when NM is not present.
21326         
21327         Improve printf debugging stuff.
21328         
21329 2004-08-09  Dan Williams <dcbw@redhat.com>
21330
21331         * dispatcher-daemon/NetworkManagerDispatcher.c:
21332                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21333                 - Use constants for NetworkManager interface, service, and path
21334
21335 2004-08-09  Dan Williams <dcbw@redhat.com>
21336
21337         * src/NetworkManagerDbus.c:
21338                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21339                         instead return an error message
21340                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21341                         on a wired device.  Also never return an empty object path, instead return an error message
21342
21343 2004-08-06  Seth Nickell  <seth@gnome.org>
21344
21345         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21346
21347         Check the error code when getting a connection.
21348         
21349         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21350
21351         Check if the NM service exists when initializing (rather than
21352         assuming it does not).
21353         
21354         * src/NetworkManagerDbus.c: (nm_dbus_init):
21355
21356         Don't acquire the well-known service name until we have
21357         registered object/path handlers and can actually receive
21358         calls.
21359         
21360 2004-08-06  Dan Williams <dcbw@redhat.com>
21361
21362         * panel-applet/*
21363                 - Add panel applet
21364
21365         * src/NetworkManagerPolicy.c
21366           src/NetworkManager.c
21367                 - Get access point lists from NetworkManagerInfo on-demand,
21368                         and look for ServiceCreate/ServiceDeleted signals to see when
21369                         we should query NMI for lists
21370         * src/NetworkManagerAPList.c
21371                 - Make sure to init the list's mutex
21372                 - Convert traversals of the list over to the list iter functions
21373
21374         * src/NetworkManagerDbus.[ch]
21375                 - Use more aptly-named path/service/interface constants
21376                 - Treat both active and pending devices the same for "getActiveDevice"
21377                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21378
21379         * src/NetworkManagerDevice.c
21380                 - Honor "ignored" network list when picking best ap to use
21381
21382 2004-08-06  Seth Nickell  <seth@gnome.org>
21383
21384         * aclocal.m4:
21385
21386         Autogenerated, remove from CVS.
21387         
21388         * autogen.sh:
21389
21390         Don't hardcode automake version.
21391         
21392         * configure.in:
21393         * info-daemon/Makefile.am:
21394         * info-daemon/NetworkManagerInfo.c: (main):
21395
21396         Use GnomeProgram et al. for doing session management.
21397         Use popt stuff for argument parsing rather than doing
21398         it manugally.
21399         
21400 2004-08-05  Dan Williams <dcbw@redhat.com>
21401
21402         * test/nminfotest.c
21403                 - Update to new NMI dbus API, check different network types
21404
21405         * info-daemon/NetworkManagerInfoDbus.c
21406                 - Update to new NM dbus API, ie network type sent in query message
21407
21408 2004-08-05  Dan Williams <dcbw@redhat.com>
21409
21410         * An assload of changes
21411
21412 2004-08-02  Dan Williams <dcbw@redhat.com>
21413
21414         * TODO
21415                 - new task: proper logging support
21416
21417         * info-daemon/NetworkManagerInfo.c
21418                 - Correct spelling of "canceled"
21419                 - Correct casting of objects for g_signal_connect()
21420
21421         * info-daemon/NetworkManagerInfoDbus.c
21422                 - Add defines for NetworkManager namespace and object path, and use them
21423                 - Add filter function to trap new signals from NetworkManager:
21424                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21425
21426         * info-daemon/passphrase.glade
21427                 - Change name of "ok" button to "Login to Network..."
21428                 - Mark invisible
21429
21430         * src/NetworkManager.c
21431                 - Code and debug message cleanups
21432                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21433                 - (nm_add_initial_devices) Check returned string array of devices
21434                         and don't try to add devices if array is NULL
21435                 - (main) Initialize libhal a bit later, make code a bit clearer
21436
21437         * src/NetworkManagerAP.[ch]
21438                 - New accessor and data member "matched": used to speed up AP list
21439                         diffing
21440                 - New accessor and data member "enc_method": will be used during key
21441                         fallback to cache which passphrase->key conversion actually works
21442                         so we don't have to do it every time
21443
21444         * src/NetworkManagerAPList.[ch]
21445                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21446                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21447                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21448                         dbus in response to those differences
21449
21450         * src/NetworkManagerDbus.[ch]
21451                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21452                         make an object path for that access point (NOTE that we don't yet check to
21453                         make sure that access point is actually in the device's AP list yet)
21454                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21455                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21456                         New: signal appearance/disappearance of wireless networks
21457                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21458                         key entry
21459
21460         * src/NetworkManagerDevice.[ch]
21461                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21462                 - (nm_device_ap_list_get) New: return the AP list (static function)
21463                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21464                         new one resulting from the scan with the old one
21465
21466         * src/NetworkManagerWireless.c
21467                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21468
21469         * test/nminfotest.c
21470                 - #define object paths and namespaces and use the #defines rather than static strings
21471                 - Test out user-key functionality of NetworkManagerInfo too
21472
21473 2004-07-29  Dan Williams <dcbw@redhat.com>
21474
21475         * info-daemon/NetworkManagerInfoDbus.c
21476           src/NetworkManagerDbus.c
21477                 - Update to current DBus (ie don't use decomposed paths when registering
21478                         object paths/fallbacks)
21479
21480 2004-07-27  Dan Williams <dcbw@redhat.com>
21481
21482         * Remove various Makefile.in files
21483
21484         * TODO
21485                 - Add some more items
21486
21487         * configure.in
21488                 - Add checks for OpenSSL/md5 headers and libs
21489
21490         * src/Makefile.am
21491                 - Use OpenSSL CFLAGS
21492
21493         * src/NetworkManagerAP.[ch]
21494                 - Remove 'stamp' functions, replace with 'invalid' functions
21495                         to support user cancelling WEP key entry
21496
21497         * src/NetworkManagerDbus.c
21498                 - Remove 'stamp' return functions
21499                 - Treat returned user key as a passphrase and convert to a WEP key,
21500                         but don't actually use the WEP key yet.  We use the returned user
21501                         key as a hexadecimal WEP key until we can figure out a UI for
21502                         passphrase-vs-hex key
21503
21504         * src/NetworkManagerWireless.[ch]
21505                 - Add passphrase-to-128bit-key function
21506
21507 2004-07-27  Dan Williams <dcbw@redhat.com>
21508
21509         * TODO
21510                 - Add a couple of items
21511
21512 2004-07-27  Dan Williams <dcbw@redhat.com>
21513
21514         * info-daemon/NetworkManagerInfo.c
21515                 - Update allowed network's GConf key when user enters a WEP key explicitly
21516
21517         * info-daemon/NetworkManagerDbus.c
21518                 - Fix some comments
21519                 - nmi_dbus_get_allowed_networks(): kill warning
21520
21521 2004-07-27  Dan Williams <dcbw@redhat.com>
21522
21523         * initscript/Makefile.in
21524                 - Remove
21525
21526         * initscript/Makefile.am
21527                 - Add correct rules to install the init.d initscript
21528
21529         * info-daemon/NetworkManagerInfoDbus.c
21530                 - Remove debug fprintf
21531
21532         * src/NetworkManagerDbus.[ch]
21533                 - Remove debug fprintfs
21534                 - Add macros for NetworkManagerInfo object path/namespace
21535                 - Use said macros instead of constant strings
21536
21537 2004-07-27  Dan Williams <dcbw@redhat.com>
21538
21539         * initscript/.cvsignore
21540                 - Add
21541
21542         * info-daemon/Makefile.am
21543                 - Install .glade files and keyring.png
21544                 - Fix stupid omission of a \ that caused half the flags not to be
21545                         passed to gcc
21546
21547         * info-daemon/NetworkManagerInfo.c
21548                 - gtk_signal_connect->g_signal_connect
21549                 - Alert NetworkManagerInfo to new glade file location
21550
21551 2004-07-27  Dan Williams <dcbw@redhat.com>
21552
21553         * test/nmclienttest.c
21554           test/nminfotest.c
21555                 - Add missing <dbus/dbus.h> headers
21556                 - Add GPL message at top
21557
21558 2004-07-27  Dan Williams <dcbw@redhat.com>
21559
21560         * src/NetworkManagerAPList.[ch]
21561           src/Makefile.am
21562                 - Add.  Deal with allowed network list additions, deletions, and updates
21563
21564         * dispatcher-daemon/NetworkManagerDispatcher.c
21565                 - Add missing <dbus/dbus.h> header
21566
21567         * info-daemon/NetworkManagerInfo.[ch]
21568                 - Add missing <dbus/dbus.h> header
21569                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21570                         network change
21571                 - Better error checking
21572
21573         * info-daemon/NetworkManagerInfoDbus.[ch]
21574                 - Add missing <dbus/dbus.h> header
21575                 - Convert to using dbus_message_append_args/dbus_message_get_args
21576                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21577                         that an allowed network changed.  We don't want to signal on individual
21578                         keys _inside_ an allowed network really, just want NM to query the info
21579                         daemon for updated info on all keys.
21580                 - Better error checking
21581
21582         * src/NetworkManager.[ch]
21583                 - Add missing <dbus/dbus.h> header
21584                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21585                 - Zero out NMData structure on free
21586                 - No longer use a thread for allowed_ap_list updating, instead its now done
21587                         through dbus queries against NetworkManagerInfo
21588                 - Populate allowed_ap_list initially before adding existing network devices
21589                         to the device list, so wireless devices can get their "best" AP
21590
21591         * src/NetworkManagerDbus.[ch]
21592                 - Convert to using dbus_message_append_args/dbus_message_get_args
21593                 - Better error checking
21594                 - Implement Allowed Network info functions to request allowed network
21595                         info from NetworkManagerInfo
21596                 - Implement the filter function to process signals from NetworkManagerInfo
21597                         about changing allowed networks
21598
21599         * src/NetworkManagerDevice.c
21600                 - Fix file descriptor leak in nm_device_update_ip4_address()
21601
21602 2004-07-27  Dan Williams <dcbw@redhat.com>
21603
21604         * .cvsignore
21605           src/.cvsignore
21606           test/.cvsignore
21607           dispatcher-daemon/.cvsignore
21608           info-daemon/.cvsignore
21609                 - Add .cvsignore files to reduce noise when diffing
21610
21611 2004-07-24  Dan Williams <dcbw@redhat.com>
21612
21613         * src/NetworkManager.[ch]
21614           src/NetworkManagerDbus.[ch]
21615           src/NetworkManagerDevice.[ch]
21616           src/NetworkManagerPolicy.c
21617           src/NetworkManagerWireless.[ch]
21618                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21619                 - Pass the NMData application data structure through all calls
21620                         that need it so we can get rid of nm_get_global_data()
21621                 - Change deallocation of the allowed_ap_list GSList in preparation
21622                         for not completely clearing it every time we get an update,
21623                         but instead getting incremental updates via GConf/dbus
21624
21625 2004-07-22  Dan Williams <dcbw@redhat.com>
21626
21627         * configure.in
21628                 - Add checks for GConf libs & headers & flags
21629
21630         * info-daemon/Makefile.am
21631                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21632
21633         * info-daemon/NetworkManagerInfo.[ch]
21634                 - Don't use gquarks for data storage, just use normal data storage
21635                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21636
21637         * info-daemon/NetworkManagerDbus.[ch]
21638                 - Add method call for getting allowed networks
21639                 - Add method calls for getting an allowed network's essid, priority, and key
21640                 - Hook the method calls up to GConf
21641                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21642                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21643                 
21644         * src/NetworkManagerDbus.[ch]
21645                 - Switch for enumeration of networks to using essid instead
21646
21647         * test/Makefile.am
21648           test/nminfotest.c
21649                 - Add test program for NetworkManagerInfo
21650
21651 2004-07-19  Dan Williams <dcbw@redhat.com>
21652
21653         * src/NetworkManagerDbus.c
21654                 - Switch from indexed device paths to names.  Less code, more efficient.
21655                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21656
21657 2004-07-19  Dan Williams <dcbw@redhat.com>
21658
21659         * dispatcher-daemon/NetworkManagerDispatcher.c
21660                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21661
21662 2004-07-19  Dan Williams <dcbw@redhat.com>
21663
21664         * Makefile.am
21665                 - Add info-daemon directory
21666
21667         * configure.in
21668                 - Check for glade libs and headers
21669                 - Add info-daemon directory
21670
21671         * src/NetworkManagerAP.c
21672                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21673                         copied over to the new AP.
21674
21675         * src/NetworkManagerDbus.c
21676           src/NetworkManagerDbus.h
21677                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21678                 - Remove nm_dbus_signal_need_key_for_network()
21679                 - Add disabled code for asynchronous user wep key callbacks
21680                 - Add functions for getting, setting, and cancelling user key operations
21681                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21682                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21683
21684         * src/NetworkManagerDevice.c
21685           src/NetworkManagerDevice.h
21686                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21687                         logic is in device activation now
21688                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21689                         key is wrong) trigger get-user-key pending action
21690                 - Implement get-user-key pending action stuff, tie to dbus messages
21691                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21692                 - Add nm_device_ap_list_get_ap_by_essid()
21693                 - Instead of copying "best" access points, ref them instead so that the key we set
21694                         sticks around
21695
21696         * src/NetworkManagerPolicy.c
21697                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21698                 - Don't cancel pending actions on a device if its the same device as last iteration
21699                 - Only promote pending_device->active_device if activation was successfull
21700
21701         * src/Makefile.am
21702                 - Rename nmclienttest->nmtest
21703
21704         * info-daemon/Makefile.am
21705           info-daemon/NetworkManagerInfo.c
21706           info-daemon/NetworkManagerInfo.h
21707           info-daemon/NetworkManagerInfoDbus.c
21708           info-daemon/NetworkManagerInfoDbus.h
21709           info-daemon/passphrase.glade
21710           info-daemon/NetworkManagerInfo.conf
21711           info-daemon/keyring.png
21712                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21713                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21714                         lists to NetworkManager by proxying user's GConf
21715           
21716
21717 2004-07-15  Dan Williams <dcbw@redhat.com>
21718
21719         * src/Makefile.am
21720                 - Turn on warnings
21721
21722         * src/NetworkManager.c
21723                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21724                         that doing the deactivation ourselves
21725                 - Cancel an pending actions on a device if its being removed
21726                 - Break up link state checking a bit, make non-active wireless cards
21727                         deactivated to save power
21728                 - Remove unused variables
21729
21730         * src/NetworkManager.h
21731                 - Add support for "pending" device
21732
21733         * src/NetworkManagerAP.h
21734           src/NetworkManagerAP.c
21735                 - Add support for determining whether and AP has encryption enabled or not
21736                 - AP address is now "struct ether_addr" rather than a string
21737
21738         * src/NetworkManagerDbus.h
21739           src/NetworkManagerDbus.c
21740                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21741                 - Changes for AP address from struct ether_addr->string
21742
21743         * src/NetworkManagerDevice.h
21744           src/NetworkManagerDevice.c
21745                 - Remove unused variables, fix warnings
21746                 - Add support for Pending Actions (things that block a device from being "active"
21747                         until they are completed).
21748                 - First pending action:  Get a WEP key from the user
21749                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21750                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21751                 - Update wireless link checking to try to determine if the AP we are associated
21752                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21753                         trigger the GetUserKey pending action on the device
21754                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21755                         up in that case, otherwise we can't scan or link-check on it
21756                 - Add IP address change notifications at appropriate points (still needs some work)
21757                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21758
21759         * src/NetworkManagerPolicy.h
21760           src/NetworkManagerPolicy.c
21761                 - Split out "best" access point determiniation into separate function
21762                 - Make device activation 2-stage:  first the device is pending, then
21763                         in the next iteration through it becomes "active" unless it has
21764                         pending actions
21765
21766         * src/NetworkManagerUtils.h
21767           src/NetworkManagerUtils.c
21768                 - Clean up unused variables and warnings
21769                 - Wrap our debug macros in {} to prevent possible confusion
21770
21771         * src/NetworkManagerWireless.c
21772                 - Forgot to return current best priority, which lead to last available AP always
21773                         being chosen no matter what its priority was.  Corrected.
21774
21775 2004-07-15  Dan Williams <dcbw@redhat.com>
21776
21777         * dispatcher-daemon/Makefile.am
21778                 - Turn on warnings
21779
21780         * dispatcher-daemon/NetworkManagerDispatcher.c
21781                 - Remove unused variables due to warnings
21782                 - Fix some comments
21783                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21784
21785 2004-07-06  Dan Williams <dcbw@redhat.com>
21786
21787         * src/NetworkManager.c
21788                 - Add IPv4 address update for active device during link state check
21789                 - Don't allow wireless cards to be powered up when they are not the
21790                         active device
21791
21792         * src/NetworkManagerDbus.c
21793           src/NetworkManagerDbus.h
21794                 - Add DBUS IPv4 address change signal
21795                 - Add DBUS IPv4 address get method for devices
21796
21797         * src/NetworkManagerDevice.c
21798                 - Make setting the WEP key actually work
21799                 - Move IP address get/set/update stuff here, per-device
21800                 - Power down/bring down wireless device when deactivated
21801                 - For scanning wireless devices, if first scan returned ENODATA, try again
21802
21803         * src/NetworkManagerPolicy.c
21804                 - Only set the WEP key for an allowed access point if there is one.
21805                         We were setting it to be blank if one wasn't specified.
21806
21807         * src/NetworkManagerUtils.h
21808           src/NetworkManagerUtils.c
21809                 - Move the IP address stuff to NetworkManagerDevice.c
21810
21811         * dispatcher-daemon/NetworkManagerDispatcher.c
21812                 - Add device IPv4 address change notification stuff
21813
21814 2004-07-05  Dan Williams <dcbw@redhat.com>
21815
21816         * dispatcher-daemon/NetworkManagerDispatcher.c
21817                 - A bit more descriptive state message
21818                 - Don't segfault when reading directory
21819
21820         * src/NetworkManager.h
21821                 - Remove NMData desired_ap member, its now
21822                         per-device rather than global
21823
21824         * src/NetworkManager.c
21825                 - Remove references to desired_ap
21826                 - Move the allowed AP list refresh stuff into a thread
21827
21828         * src/NetworkManagerDevice.c
21829           src/NetworkManagerDevice.h
21830                 - Each wireless device now has a "best ap"
21831                 - Make device activate/deactivate functions per-device
21832                 - Make wireless scanning per-device
21833                 - Add IPv4 address discover functions, stub IPv6 ones
21834                 - Move ethernet address validation functions to NetworkManagerUtils.c
21835                 - Add wireless access point accessor function
21836                 - Get/Set functions for "best ap"
21837
21838         * src/NetworkManagerPolicy.c
21839                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21840                 - Deal with per-device "best ap" rather than data->desired_apa
21841                 - Implement allowed access point worker thread
21842                 - Add nm_policy_essid_is_allowed() function
21843
21844         * src/NetworkManagerUtils.c
21845           src/NetworkManagerUtils.h
21846                 - Add nm_ethernet_address_is_valid() function
21847                 - Add IPv4/IPv6 address get functions
21848
21849         * src/NetworkManagerWireless.c
21850           src/NetworkManagerWireless.h
21851                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21852
21853 2004-06-29  Dan Williams <dcbw@redhat.com>
21854
21855         * dispatcher-daemon/NetworkManagerDispatcher.c
21856                 - Implement script callout functionality
21857
21858 2004-06-24  Dan Williams <dcbw@redhat.com>
21859
21860         * NetworkManager.c
21861             - Spacing cleanups
21862             - Flush device routes and ip addresses when added to the device list
21863
21864         * NetworkManagerDbus.c
21865             - Spacing cleanups
21866             - Add missing returns in the two signal functions
21867         
21868         * NetworkManagerPolicy.c
21869             - Spacing and variable cleanups
21870
21871 2004-06-24  Dan Williams <dcbw@redhat.com>
21872
21873         * Makefile.am
21874           Makefile.in
21875           configure.in
21876           dispatcher-daemon/Makefile.am
21877           dispatcher-daemon/Makefile.in
21878           dispatcher-daemon/NetworkManagerDispatcher.c
21879             - Add a daemon that receives signals from NetworkManager
21880                         and will (eventually) call scripts in /etc/somewhere
21881                         when devices go up or down.
21882         
21883         * NetworkManager.c
21884             - Spacing cleanups
21885             - Flush device routes and ip addresses when added to the device list
21886
21887         * NetworkManagerDbus.c
21888             - Spacing cleanups
21889             - Add missing returns in the two signal functions
21890         
21891         * NetworkManagerPolicy.c
21892             - Spacing and variable cleanups
21893             - Rename nm_policy_switch_interface->nm_policy_switch_device
21894             - nm_policy_switch_device():
21895                                 Use kill (pid) instead of system ("kill <pid>")
21896             - nm_state_modification_monitor():
21897                                 Add wireless essid to output of debug statements
21898                                 Correct typo in device compare to switch or not (should be !=)
21899                                 Don't sleep after sending "no longer active" signal, was useless
21900
21901 2004-06-24  Dan Williams <dcbw@redhat.com>
21902
21903         * Initial import