2008-11-19 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-19  Dan Williams  <dcbw@redhat.com>
2
3         * libnm-util/nm-setting.h
4           libnm-util/nm-setting.c
5           src/nm-device.c
6           src/nm-manager.c
7           system-settings/plugins/ifcfg-fedora/plugin.c
8                 - Prefix compare flag defines with NM_SETTING_
9
10 2008-11-19  Dan Williams  <dcbw@redhat.com>
11
12         * libnm-util/nm-connection.c
13           libnm-util/nm-connection.h
14                 - (nm_connection_replace_settings): take a GError
15
16         * libnm-glib/nm-settings.c
17           libnm-glib/nm-dbus-connection.c
18           src/nm-manager.c
19           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
20           system-settings/plugins/keyfile/nm-keyfile-connection.c
21           system-settings/plugins/keyfile/plugin.c
22                 - Handle, or don't handle, errors from nm_connection_replace_settings()
23
24 2008-11-19  Dan Williams  <dcbw@redhat.com>
25
26         * libnm-util/libnm-util.ver
27           libnm-util/nm-connection.c
28                 - (nm_setting_register, nm_setting_unregister): unexport; they are
29                         private and don't have a use outside libnm-util
30
31 2008-11-17  Dan Williams  <dcbw@redhat.com>
32
33         * src/nm-hso-gsm-device.c
34                 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
35                         devices
36
37 2008-11-17  Dan Williams  <dcbw@redhat.com>
38
39         * system-settings/plugins/ifcfg-fedora/reader.c
40                 - (read_mac_address): clean up
41                 - (make_wireless_setting): pass NULL array to read_mac_address() like it
42                         expects
43
44         * system-settings/plugins/ifcfg-fedora/plugin.c
45                 - (read_one_connection): don't segfault on NULL errors
46
47 2008-11-14  Dan Williams  <dcbw@redhat.com>
48
49         * Tag 0.7.0-rc2
50
51 2008-11-14  Dan Williams  <dcbw@redhat.com>
52
53         Handle gateways on different subnets
54
55         * src/NetworkManagerSystem.c
56                 - (add_ip4_route_to_gateway): gateway route should be link scope and
57                         a host route
58                 - (replace_default_ip4_route): use a destination address too; gateway
59                         address should be /0; don't leak the gateway route object
60
61 2008-11-14  Dan Williams  <dcbw@redhat.com>
62
63         * libnm-glib/libnm_glib.ver
64           libnm-glib/nm-dbus-settings-system.c
65           libnm-glib/nm-dbus-settings-system.h
66                 - Add libnm-glib bits for CanModify
67
68 2008-11-14  Dan Williams  <dcbw@redhat.com>
69
70         * introspection/nm-settings-system.xml
71           system-settings/src/dbus-settings.c
72           system-settings/src/dbus-settings.h
73                 - Add a "CanModify" property to indicate if any plugins support
74                         connection modification
75
76 2008-11-14  Dan Williams  <dcbw@redhat.com>
77
78         Relicense libnm-glib to LGPLv2+ with agreement from contributors
79
80 2008-11-14  Dan Williams  <dcbw@redhat.com>
81
82         * vpn-manager/nm-vpn-connection.c
83                 - (plugin_state_changed): clear VPN secrets on error to ensure they
84                         are always requested from the settings service (rh #429287)
85
86 2008-11-13  Dan Williams  <dcbw@redhat.com>
87
88         * libnm-util/crypto.c
89                 - (crypto_get_private_key_data): fix bad initial arg type checking
90                         from pkcs#12 patch
91
92 2008-11-13  Dan Williams  <dcbw@redhat.com>
93
94         Add support for PKCS#12 private keys (bgo #558982)
95
96         * libnm-util/crypto.c
97           libnm-util/crypto.h
98                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
99                         take a GByteArray instead of a filename
100                 - (file_to_g_byte_array): handle private key files too
101                 - (decrypt_key): take a GByteArray rather than data + len
102                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
103                         one function that takes a filename, and one that takes raw data;
104                         detect pkcs#12 files as well
105                 - (crypto_load_and_verify_certificate): detect file type
106                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
107                         functions
108
109         * libnm-util/crypto_gnutls.c
110                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
111                         whereby tail padding was incorrectly handled, leading to erroneous
112                         successes when trying to decrypt the data
113                 - (crypto_verify_cert): rework somewhat
114                 - (crypto_verify_pkcs12): validate pkcs#12 keys
115
116         * libnm-util/crypto_nss.c
117                 - (crypto_init): enable various pkcs#12 ciphers
118                 - (crypto_decrypt): take a GByteArray rather than data + len
119                 - (crypto_verify_cert): clean up
120                 - (crypto_verify_pkcs12): validate pkcs#12 keys
121
122         * libnm-util/test-crypto.c
123                 - Handle pkcs#12 keys
124
125         * libnm-util/nm-setting-8021x.c
126           libnm-util/nm-setting-8021x.h
127           libnm-util/libnm-util.ver
128                 - Add two new properties, 'private-key-password' and
129                         'phase2-private-key-password', to be used in conjunction with
130                         pkcs#12 keys
131                 - (nm_setting_802_1x_set_ca_cert_from_file,
132                    nm_setting_802_1x_set_client_cert_from_file,
133                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
134                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
135                         type
136                 - (nm_setting_802_1x_get_private_key_password,
137                    nm_setting_802_1x_get_phase2_private_key_password): return private
138                         key passwords
139                 - (nm_setting_802_1x_set_private_key_from_file,
140                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
141                         key from a file, and update the private key password at the same time
142                 - (nm_setting_802_1x_get_private_key_type,
143                    nm_setting_802_1x_get_phase2_private_key_type): return the private
144                         key type
145
146         * src/supplicant-manager/nm-supplicant-settings-verify.c
147                 - Whitelist private key passwords
148
149         * src/supplicant-manager/nm-supplicant-config.c
150                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
151                         add the private key password to the supplicant config, but do not
152                         add the client certificate (as required by wpa_supplicant)
153
154 2008-11-12  Tambet Ingo  <tambet@gmail.com>
155
156         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
157         (add_secrets): Don't add empty secrets to the secrets hash table.
158
159 2008-11-07  Dan Williams  <dcbw@redhat.com>
160
161         * libnm-util/nm-setting-wireless.c
162                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
163                         that cased this function to return garbage, breaking hidden AP
164                         detection
165
166 2008-11-07  Dan Williams  <dcbw@redhat.com>
167
168         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
169
170         * src/NetworkManagerSystem.c
171           src/NetworkManagerSystem.h
172                 - (nm_system_device_set_ip4_route): return the route that was added
173                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
174                         public, clean up, and return the route that was added
175                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
176                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
177                         flags to allow only certain attributes of the NMIP4Config to be
178                         applied
179
180         * src/nm-device.c
181                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
182                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
183                         what's really changed between the old and new configs; don't export
184                         the new IP4 config on failure; always send the DNS info to the
185                         named manager
186
187         * src/vpn-manager/nm-vpn-connection.c
188                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
189                         parent device's IP4Config and re-add the VPN gateway route when it
190                         changes
191                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
192                         nm_system_apply_ip4_config() no longer does) and cache it for later
193                 - (connection_state_changed): move cleanup code to its own function
194                 - (vpn_cleanup): delete any previously added VPN gateway route; and
195                         re-apply the parent device's addresses and routes using
196                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
197
198 2008-11-07  Dan Williams  <dcbw@redhat.com>
199
200         * src/nm-ip4-config.c
201           src/nm-ip4-config.h
202                 - (nm_ip4_config_diff): new function; return the difference between two
203                         IP4 configs
204                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
205
206 2008-11-05  Dan Williams  <dcbw@redhat.com>
207
208         * nm-ip4-config.c
209           nm-ip4-config.h
210                 - (nm_ip4_config_compare): compare two IP4 configs
211
212 2008-11-05  Dan Williams  <dcbw@redhat.com>
213
214         * src/NetworkManagerPolicy.c
215                 - (update_etc_hosts): only add newline if not the last line of the file
216                         (Jonathan Miner)
217
218 2008-11-05  Dan Williams  <dcbw@redhat.com>
219
220         * src/dhcp-manager/nm-dhcp-dhclient.c
221                 - (get_leasefile_for_iface): move lease files back to where dhclient
222                         puts them
223
224 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
225
226         * initscripts/Debian/NetworkManager
227                 - Update to what Debian is actually using
228
229 2008-11-05  Tambet Ingo  <tambet@gmail.com>
230
231         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
232
233 2008-11-03  Dan Williams  <dcbw@redhat.com>
234
235         * system-settings/src/main.c
236                 - (add_default_dhcp_connection): make the fallback connection read-only
237
238         * libnm-glib/nm-settings.c
239           libnm-glib/nm-settings.h
240                 - Add detailed errors
241                 - (impl_exported_connection_update, impl_exported_connection_delete):
242                         return an error if the connection is read-only
243
244         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
245           system-settings/plugins/keyfile/nm-keyfile-connection.c
246           system-settings/src/main.c
247                 - Use more detailed errors
248
249         * system-settings/src/nm-system-config-error.c
250           system-settings/src/nm-system-config-error.h
251           system-settings/src/dbus-settings.c
252                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
253                         NM_SETTINGS_ERROR_INVALID_CONNECTION
254
255 2008-11-02  Dan Williams  <dcbw@redhat.com>
256
257         * Add license headers to everything in src/
258
259 2008-11-02  Dan Williams  <dcbw@redhat.com>
260
261         * Tag 0.7.0-rc1
262
263 2008-11-02  Dan Williams  <dcbw@redhat.com>
264
265         * src/NetworkManagerAP.c
266                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
267                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
268                         secrets when connecting to an encrypted network failed
269
270 2008-10-30  Dan Williams  <dcbw@redhat.com>
271
272         * libnm-util/libnm-util.ver
273           libnm-util/nm-setting-ip6-config.c
274           libnm-util/nm-setting-ip6-config.h
275           libnm-util/Makefile.am
276                 - Make properties private and add accessor functions
277                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
278
279         * libnm-util/nm-connection.c
280           libnm-util/nm-utils.c
281           libnm-util/nm-utils.h
282                 - Ignore IPv6 stuff for now
283
284 2008-10-30  Dan Williams  <dcbw@redhat.com>
285
286         * libnm-util/libnm-util.ver
287           libnm-util/nm-setting-8021x.c
288           libnm-util/nm-setting-8021x.h
289                 - Make properties private and add accessor functions
290
291         * src/supplicant-manager/nm-supplicant-config.c
292           system-settings/plugins/ifcfg-suse/parser.c
293                 - Use 802.1x setting accessors
294
295 2008-10-30  Dan Williams  <dcbw@redhat.com>
296
297         * libnm-util/libnm-util.ver
298           libnm-util/nm-setting-wireless-security.c
299           libnm-util/nm-setting-wireless-security.h
300                 - Make properties private and add accessor functions
301
302         * libnm-util/nm-setting-wireless.c
303           src/NetworkManagerAP.c
304           src/nm-device-wifi.c
305           src/supplicant-manager/nm-supplicant-config.c
306           system-settings/plugins/ifcfg-fedora/reader.c
307           system-settings/plugins/ifcfg-suse/parser.c
308                 - Use wireless security accessors
309
310 2008-10-30  Dan Williams  <dcbw@redhat.com>
311
312         * src/nm-device-ethernet.c
313           src/nm-device-wifi.c
314           src/nm-device.c
315           src/ppp-manager/nm-ppp-manager.c
316                 - Harmonize return checking of ioctl
317
318         * system-settings/plugins/ifcfg-fedora/reader.c
319                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
320
321 2008-10-30  Dan Williams  <dcbw@redhat.com>
322
323         * src/ppp-manager/nm-ppp-manager.c
324                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
325                         ppp_generic module to create it (bgo #533064)
326
327 2008-10-30  Dan Williams  <dcbw@redhat.com>
328
329         Patch from Alexander Sack <asac@canonical.com>
330
331         Fix "ppp connections don't honour ip4 connection settings"
332
333         * src/nm-device-ethernet.c
334                 - (real_act_stage4_get_ip4_config): merge ip4config settings
335                         with results from ppp manager
336
337         * src/nm-serial-device.c
338                 - (real_act_stage4_get_ip4_config): merge ip4config settings
339                         with results from ppp manager
340
341 2008-10-29  Dan Williams  <dcbw@redhat.com>
342
343         * libnm-util/libnm-util.ver
344           libnm-util/nm-setting-ip4-config.c
345           libnm-util/nm-setting-ip4-config.h
346                 - Make properties private and add accessor functions
347
348         * callouts/nm-dispatcher-action.c
349           libnm-glib/libnm-glib-test.c
350           libnm-util/nm-utils.c
351           src/NetworkManagerPolicy.c
352           src/NetworkManagerSystem.c
353           src/NetworkManagerUtils.c
354           src/dhcp-manager/nm-dhcp-dhclient.c
355           src/dhcp-manager/nm-dhcp-manager.c
356           src/dnsmasq-manager/nm-dnsmasq-manager.c
357           src/nm-device-wifi.c
358           src/nm-device.c
359           src/nm-hso-gsm-device.c
360           src/nm-ip4-config.c
361           src/nm-ip4-config.h
362           src/ppp-manager/nm-ppp-manager.c
363           src/vpn-manager/nm-vpn-connection.c
364           system-settings/plugins/ifcfg-fedora/reader.c
365           system-settings/plugins/ifcfg-suse/parser.c
366           system-settings/plugins/ifcfg-suse/plugin.c
367           system-settings/plugins/ifupdown/parser.c
368           test/nm-tool.c
369           vpn-daemons/vpnc/properties/nm-vpnc.c
370                 - Use IP4 accessor functions
371
372 2008-10-29  Tambet Ingo  <tambet@gmail.com>
373
374         Half of it by Dan Williams <dcbw@redhat.com>
375
376         * libnm-util/libnm-util.ver
377         libnm-util/nm-setting-vpn.c
378         libnm-util/nm-setting-vpn.h
379                 - Make properties private and add accessor functions.
380
381         * src/vpn-manager/nm-vpn-connection.c
382         src/vpn-manager/nm-vpn-manager.c
383         system-settings/plugins/keyfile/reader.c
384         vpn-daemons/openvpn/properties/auth-helpers.c
385         vpn-daemons/openvpn/properties/import-export.c
386         vpn-daemons/openvpn/properties/nm-openvpn.c
387         vpn-daemons/openvpn/src/nm-openvpn-service.c
388         vpn-daemons/pptp/auth-dialog/main.c
389         vpn-daemons/pptp/properties/advanced-dialog.c
390         vpn-daemons/pptp/properties/nm-pptp.c
391         vpn-daemons/pptp/src/nm-pptp-service.c
392         vpn-daemons/vpnc/properties/nm-vpnc.c
393         vpn-daemons/vpnc/src/nm-vpnc-service.c
394                 - Use VPN setting accessors.
395
396 2008-10-28  Dan Williams  <dcbw@redhat.com>
397
398         Patch from Tambet Ingo <tambet@gmail.com>
399
400         * libnm-util/libnm-util.ver
401           libnm-util/nm-setting-wireless.c
402           libnm-util/nm-setting-wireless.h
403                 - Make properties private and add accessor functions
404
405         * src/NetworkManagerAP.c
406           src/nm-device-wifi.c
407           src/nm-manager.c
408           src/supplicant-manager/nm-supplicant-config.c
409           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
410           system-settings/plugins/ifcfg-fedora/reader.c
411           system-settings/plugins/ifcfg-suse/parser.c
412           system-settings/plugins/ifupdown/parser.c
413                 - Use wireless setting accessors
414
415 2008-10-27  Dan Williams  <dcbw@redhat.com>
416
417         Patch from Tambet Ingo <tambet@gmail.com>
418
419         * libnm-util/libnm-util.ver
420           libnm-util/nm-setting-ppp.c
421           libnm-util/nm-setting-ppp.h
422                 - Make properties private and add accessor functions
423
424         * src/ppp-manager/nm-ppp-manager.c
425                 - Use ppp setting accessors
426
427 2008-10-27  Dan Williams  <dcbw@redhat.com>
428
429         Patch from Tambet Ingo <tambet@gmail.com>
430
431         * libnm-util/nm-setting.h
432           libnm-util/nm-setting.c
433                 - Make properties private and add accessor functions
434
435         * libnm-util/nm-connection.c
436           libnm-util/nm-setting-8021x.c
437           libnm-util/nm-setting-cdma.c
438           libnm-util/nm-setting-connection.c
439           libnm-util/nm-setting-gsm.c
440           libnm-util/nm-setting-ip4-config.c
441           libnm-util/nm-setting-ip6-config.c
442           libnm-util/nm-setting-ppp.c
443           libnm-util/nm-setting-pppoe.c
444           libnm-util/nm-setting-serial.c
445           libnm-util/nm-setting-template.c
446           libnm-util/nm-setting-vpn.c
447           libnm-util/nm-setting-wired.c
448           libnm-util/nm-setting-wireless-security.c
449           libnm-util/nm-setting-wireless.c
450           system-settings/plugins/keyfile/reader.c
451           system-settings/plugins/keyfile/writer.c
452                 - Use setting accessors
453
454 2008-10-27  Dan Williams  <dcbw@redhat.com>
455
456         * libnm-util/libnm-util.ver
457           libnm-util/nm-setting-connection.c
458           libnm-util/nm-setting-connection.h
459                 - Add a 'read-only' property that indicates the connection cannot be
460                         modified
461
462         * system-settings/plugins/ifcfg-fedora/reader.c
463           system-settings/plugins/ifcfg-suse/parser.c
464           system-settings/plugins/ifupdown/parser.c
465                 - These plugins are read-only at the moment
466
467         * system-settings/plugins/keyfile/reader.c
468           system-settings/plugins/keyfile/writer.c
469                 - Read-only shouldn't get saved out to files or read in from them
470
471 2008-10-27  Tambet Ingo  <tambet@gmail.com>
472
473         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
474         correct speed reporting for fast devices (kernel >= 2.6.27).
475
476 2008-10-26  Dan Williams  <dcbw@redhat.com>
477
478         Attempt to compensate for modems that don't enable full AT parsing before
479         the PIN has been entered.
480
481         * src/nm-gsm-device.c
482                 - (init_modem): accept different init strings
483                 - (init_done): try different init strings on failure
484                 - (check_pin_done): on PIN success, do full modem init
485
486 2008-10-26  Dan Williams  <dcbw@redhat.com>
487
488         Patch from Tambet Ingo <tambet@gmail.com>
489
490         * libnm-util/libnm-util.ver
491           libnm-util/nm-setting-connection.c
492           libnm-util/nm-setting-connection.h
493                 - Make properties private and add accessor functions
494
495         * src/NetworkManagerPolicy.c
496           src/nm-cdma-device.c
497           src/nm-device-ethernet.c
498           src/nm-device-interface.c
499           src/nm-device-wifi.c
500           src/nm-gsm-device.c
501           src/nm-manager.c
502           src/ppp-manager/nm-ppp-manager.c
503           src/vpn-manager/nm-vpn-connection.c
504           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
505           system-settings/plugins/ifcfg-fedora/plugin.c
506           system-settings/plugins/ifcfg-fedora/reader.c
507           system-settings/plugins/ifcfg-suse/parser.c
508           system-settings/plugins/ifupdown/parser.c
509           system-settings/plugins/keyfile/nm-keyfile-connection.c
510           system-settings/plugins/keyfile/plugin.c
511           system-settings/plugins/keyfile/writer.c
512           system-settings/src/main.c
513                 - Use those accessors
514
515 2008-10-26  Dan Williams  <dcbw@redhat.com>
516
517         Patch from Tambet Ingo <tambet@gmail.com>
518
519         * libnm-util/libnm-util.ver
520           libnm-util/nm-setting-gsm.c
521           libnm-util/nm-setting-gsm.h
522                 - Make properties private and add accessor functions
523
524         * src/nm-gsm-device.c
525           src/nm-hso-gsm-device.c
526           src/ppp-manager/nm-ppp-manager.c
527                 - Use those accessors
528
529 2008-10-26  Dan Williams  <dcbw@redhat.com>
530
531         Patch from Tambet Ingo <tambet@gmail.com>
532
533         * libnm-util/libnm-util.ver
534           libnm-util/nm-setting-cdma.c
535           libnm-util/nm-setting-cdma.h
536                 - Make properties private and add accessor functions
537
538         * src/nm-cdma-device.c
539           src/ppp-manager/nm-ppp-manager.c
540                 - Use those accessors
541
542 2008-10-26  Dan Williams  <dcbw@redhat.com>
543
544         Patch from Tambet Ingo <tambet@gmail.com>
545
546         * libnm-util/libnm-util.ver
547           libnm-util/nm-setting-pppoe.c
548           libnm-util/nm-setting-pppoe.h
549                 - Make properties private and add accessor functions
550
551         * src/nm-device-ethernet.c
552           src/ppp-manager/nm-ppp-manager.c
553                 - Use those accessors
554
555 2008-10-26  Dan Williams  <dcbw@redhat.com>
556
557         Patch from Tambet Ingo <tambet@gmail.com>
558
559         * libnm-util/libnm-util.ver
560           libnm-util/nm-setting-wired.c
561           libnm-util/nm-setting-wired.h
562                 - Make properties private and add accessor functions
563
564         * src/nm-device-ethernet.c
565           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
566           system-settings/plugins/ifcfg-suse/parser.c
567           system-settings/src/main.c
568                 - Use those accessors
569
570 2008-10-26  Dan Williams  <dcbw@redhat.com>
571
572         Patch from Tambet Ingo <tambet@gmail.com>
573
574         * libnm-util/libnm-util.ver
575           libnm-util/nm-setting-serial.c
576           libnm-util/nm-setting-serial.h
577           src/nm-serial-device.c
578                 - Make properties private and use accessors instead
579
580 2008-10-26  Dan Williams  <dcbw@redhat.com>
581
582         * src/supplicant-manager/nm-supplicant-interface.c
583           src/supplicant-manager/nm-supplicant-interface.h
584           src/supplicant-manager/nm-supplicant-manager.c
585           src/supplicant-manager/nm-supplicant-manager.h
586                 - Add state-to-string conversion functions
587
588         * src/nm-device-wifi.c
589           src/nm-device-ethernet.c
590                 - Normalize state info logging and use strings instead of numbers
591
592 2008-10-26  Dan Williams  <dcbw@redhat.com>
593
594         * src/NetworkManagerPolicy.c
595                 - (update_routing_and_dns): ignore host routes when determining whether
596                         a VPN connection should own the default route (bgo #552594)
597
598 2008-10-24  Dan Williams  <dcbw@redhat.com>
599
600         * src/nm-gsm-device.c
601                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
602
603 2008-10-23  Dan Williams  <dcbw@redhat.com>
604
605         * src/ppp-manager/nm-ppp-manager.c
606                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
607                         add really important stuff to the command line to ensure that NM
608                         overrides /etc/ppp/options (bgo #556781)
609
610 2008-10-22  Dan Williams  <dcbw@redhat.com>
611
612         * src/NetworkManagerSystem.c
613           src/nm-device.c
614                 - Use the device's IP interface where appropriate (Per Hallsmark)
615
616 2008-10-22  Dan Williams  <dcbw@redhat.com>
617
618         * src/nm-gsm-device.c
619                 - (schedule_automatic_registration_again): use a short timeout here
620                         instead of an idle handler to avoid using too much CPU polling for
621                         something we should be waiting a bit for anyway
622
623 2008-10-22  Dan Williams  <dcbw@redhat.com>
624
625         * include/NetworkManager.h
626           introspection/nm-device.xml
627                 - Add device state change reason for carrier changes
628
629         * src/nm-device-ethernet.c
630                 - (set_carrier): use the carrier change reason when changing device
631                         state in response to carrier changes
632
633 2008-10-21  Dan Williams  <dcbw@redhat.com>
634
635         * src/NetworkManagerPolicy.c
636                 - (update_etc_hosts): don't leak errors, and ensure that
637                         g_file_set_contents() gets a valid error placeholder (rh #461933)
638
639 2008-10-21  Dan Williams  <dcbw@redhat.com>
640
641         * src/nm-manager.c
642                 - (free_get_settings_info): don't use the DBusGProxy which could be
643                         disposed of by the time the function is called
644                 - (internal_new_connection_cb): save connection scope
645                 - (connection_get_settings_cb): don't replace a connection unless it's
646                         actually different from the existing one; fixes an issue where
647                         killing the settings service wouldn't deactivate an active connection
648                         provided by that settings service, because it was using a connection
649                         that had already been replaced in the system or user hash
650
651 2008-10-21  Dan Williams  <dcbw@redhat.com>
652
653         * src/NetworkManager.c
654                 - (main): keep the DHCP manager around since it's a singleton; fixes
655                         a use-after-free exposed by r4196 since the DHCP manager singleton
656                         variable isn't cleared when the DHCP manager object is finalized
657
658 2008-10-20  Dan Williams  <dcbw@redhat.com>
659
660         * libnm-util/nm-setting-wireless-security.c
661                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
662
663 2008-10-20  Dan Williams  <dcbw@redhat.com>
664
665         * src/supplicant-manager/nm-supplicant-config.c
666                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
667
668 2008-10-20  Dan Williams  <dcbw@redhat.com>
669
670         * src/dhcp-manager/nm-dhcp-manager.c
671                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
672                         manager object already refs it once
673                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
674                         also get cleaned up by nm_dhcp_device_destroy() to prevent
675                         double-frees
676
677 2008-10-20  Dan Williams  <dcbw@redhat.com>
678
679         * src/nm-manager.c
680                 - (initial_get_connections): use private dbus manager, don't keep
681                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
682                         manager object.
683
684 2008-10-18  Dan Williams  <dcbw@redhat.com>
685
686         * libnm-glib/nm-settings.c
687           libnm-glib/nm-settings.h
688                 - Rename the "get_secrets" virtual function "service_get_secrets" to
689                         clarify when it's used; NMExportedConnetion is a base-class for both
690                         the client and service side, which is sort of confusing, and
691                         get_secrets only makes sense on the service side.
692
693         * libnm-glib/nm-dbus-connection.c
694                 - (get_secrets): remove, unused, and clients need to do extra work to
695                         get secrets anyway since the call can block on the remote side
696
697         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
698           system-settings/plugins/keyfile/nm-keyfile-connection.c
699                 - Fix up for get_secrets -> service_get_secrets
700
701 2008-10-16  Dan Williams  <dcbw@redhat.com>
702
703         * src/nm-device-wifi.c
704                 - (constructor): correctly determine encryption capabilities
705
706 2008-10-15  Dan Williams  <dcbw@redhat.com>
707
708         * src/nm-device-wifi.c
709                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
710                         (Johannes Berg)
711
712 2008-10-15  Dan Williams  <dcbw@redhat.com>
713
714         * src/NetworkManagerSystem.c
715                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
716                         if the ip4_dest is in a smaller subnet contained within a subnet
717                         the machine is currently on, the destination is in the same subnet
718                 - (nm_system_device_set_ip4_route): move subnet checks to callers
719                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
720                         subnet as the parent device, and if so, don't add the direct
721                         host route via the parent device's gateway (bgo #481620)
722                 - (nm_system_apply_ip4_config): check whether the route to be added
723                         is contained within a subnet the device is already on
724
725 2008-10-11  Dan Williams  <dcbw@redhat.com>
726
727         * include/NetworkManager.h
728           introspection/nm-device.xml
729           include/NetworkManagerVPN.h
730                 - Add a few more state reasons for the device deactivated state
731
732         * src/nm-device-interface.c
733           src/nm-device-interface.h
734                 - (nm_device_interface_deactivate): add a 'reason' argument
735
736         * src/nm-device.c
737           src/nm-device.h
738                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
739                 - (nm_device_state_changed): pass the state change reason to
740                         nm_device_take_down()
741                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
742                         to the state change function
743
744         * src/nm-manager.c
745           src/nm-manager.h
746                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
747                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
748                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
749                         something reasonable along to VPN deactivation
750
751         * src/vpn-manager/nm-vpn-manager.c
752           src/vpn-manager/nm-vpn-manager.h
753                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
754                         pass that along to nm_vpn_connection_disconnect()
755
756 2008-10-11  Dan Williams  <dcbw@redhat.com>
757
758         * src/nm-device-wifi.c
759                 - (can_scan): remove old madwifi hack for not scanning while connected
760
761 2008-10-11  Dan Williams  <dcbw@redhat.com>
762
763         Add support for VPN subnet gateways (bgo #549196)
764
765         * include/NetworkManager.h
766                 - Add key for internal VPN subnet gateway
767
768         * src/vpn-manager/nm-vpn-connection.c
769                 - (ip_address_to_string): return a const from a static buffer so we
770                         don't leak a lot of strings
771                 - (print_vpn_config): print internal VPN gateway as well
772                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
773                         VPN service too
774                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
775
776         * src/NetworkManagerSystem.c
777           src/NetworkManagerSystem.h
778                 - (nm_system_device_replace_default_ip4_route): split into two, one for
779                         VPN connections and one for normal devices
780                 - (replace_default_ip4_route): break out route stuff into its own function
781                 - (nm_system_replace_default_ip4_route_vpn,
782                    nm_system_replace_default_ip4_route): simplify by having two cases,
783                         one for VPNs and one for normal devices
784
785         * src/NetworkManagerPolicy.c
786                 - (update_routing_and_dns): simplify, use split default route replacement
787                         functions
788
789 2008-10-10  Dan Williams  <dcbw@redhat.com>
790
791         Rework default route handling to consolidate decisions in the policy,
792         and to take active VPN connections into account when changing the default
793         route (bgo #545912)
794
795         * src/NetworkManager.c
796                 - (main): pass the vpn_manager to the policy so it knows about active
797                         VPN connections; clean up the named manager which wasn't done before
798
799         * src/NetworkManagerPolicy.c
800           src/NetworkManagerPolicy.h
801                 - (nm_policy_new): get a clue about the vpn_manager
802                 - (update_default_route): remove, fold into update_routing_and_dns()
803                 - (update_routing_and_dns): handle active VPN connections too; an
804                         active VPN connection becomes the default route if it does not have
805                         server-specified or user-specified custom routes.  Otherwise, the
806                         best active device gets the default route
807                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
808                    nm_policy_destroy): track VPN connection activation and deactivation
809                         and update the default route when appropriate
810
811         * src/NetworkManagerSystem.c
812           src/NetworkManagerSystem.h
813                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
814                         in the VPN connection itself
815                 - (nm_system_vpn_device_set_from_ip4_config,
816                    nm_system_device_set_from_ip4_config): merge together to make
817                         nm_system_apply_ip4_config()
818                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
819                         via the parent device
820                 - (nm_system_apply_ip4_config): simplify
821                 - (add_ip4_route_to_gateway): new function; add a direct route to the
822                         gateway if needed
823                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
824                         route stuff out into add_ip4_route_to_gateway() for clarity
825
826         * src/nm-device.c
827                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
828
829         * src/vpn-manager/nm-vpn-connection.c
830           src/vpn-manager/nm-vpn-connection.h
831                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
832                    nm_vpn_connection_get_parent_device): add
833                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
834                         device explicit
835                 - (connection_state_changed): update the named manager now that
836                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
837                         useful on errors
838
839         * src/vpn-manager/nm-vpn-manager.c
840           src/vpn-manager/nm-vpn-manager.h
841                 - Add a 'connection-activated' signal
842                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
843                         policy to find out about active VPN connections
844
845 2008-10-10  Tambet Ingo  <tambet@gmail.com>
846
847         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
848         a daemon to prevent NM logging spew on console on startup and shutdown (due
849         to dependency loop between NM and syslog).
850
851 2008-10-10  Alexander Sack  <asac@ubuntu.com>
852
853         Implement managed mode. We bind devices configured in /etc/network/interfaces
854         to their connections by updating wired/wireless setting with the
855         mac address of the device.
856
857         * system-settings/plugins/ifupdown/plugin.c
858                 - (get_net_address_for_udi): implement function to retrieve MAC
859                         address of udi from hal in GByteArray format
860                 - (bind_device_to_connection): bind mac address of device to
861                         wired/wireless system connection
862                 - (hal_device_added_cb): call bind_device_to_connection for
863                         system connections with a matching interface.name
864                 - (hal_device_added_cb): ensure that all code paths
865                         properly free the "iface" string.
866
867 2008-10-10  Alexander Sack  <asac@ubuntu.com>
868
869         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
870         mode of the ifupdown system config plugin.
871
872         * system-settings/plugins/ifupdown/plugin.c
873                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
874                         private unmanage_well_known state field accordingly
875
876 2008-10-10  Alexander Sack  <asac@ubuntu.com>
877
878         Implement unmanaged mode that will prevent all devices in the
879         well_known_udis set from being touched by NetworkManager
880
881         * system-settings/plugins/ifupdown/plugin.c
882                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
883                         unmanage_well_known field used to turn on/off unmanaged
884                         mode
885                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
886                         signal when well_known_udis get added/removed
887                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
888                         if we are in unmanaged mode
889
890 2008-10-10  Alexander Sack  <asac@ubuntu.com>
891
892         Add support to track network devices that have a configuration
893         with a matching interface.name in /etc/network/interfaces
894
895         * system-settings/plugins/ifupdown/plugin.c
896                 - (typedef struct SCPluginIfupdownPrivate): add hash table
897                         to track |well_known_udis|
898                 - (get_iface_for_udi): helper function to get interface.name
899                         for a udi
900                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
901                         that add and remove devices to and from the well_known_udis
902                         set depending on whether their |interface.name| matches
903                         any interface definition in /etc/network/interfaces
904                 - (SCPluginIfupdown_init): connect callbacks from above with
905                         hal_mgr and setup well_known_udis hashtable
906                 - (GObject__dispose): destroy well_known_udis hashtable
907                 - (hal_device_added_cb2): implement wrapper callback with GFunc
908                         signature. user_data is supposed to be a triple (hal_mgr,
909                         config and devtype)
910                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
911                         startup and call hal_device_added_cb2
912
913 2008-10-10  Alexander Sack  <asac@ubuntu.com>
914
915         Remove implementation for not used NMSystemConfigInterface callback functions
916         in ifupdown plugin
917
918         * system-settings/plugins/ifupdown/plugin.c
919                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
920                 - (SCPluginIfupdown_connection_added): removed
921
922 2008-10-08  Dan Williams  <dcbw@redhat.com>
923
924         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
925
926         * src/NetworkManagerUtils.c
927                 - (nm_utils_call_dispatcher): add a 'hostname' action
928
929         * src/NetworkManagerPolicy.c
930                 - (set_system_hostname): dispatch hostname changes
931
932         * callouts/nm-dispatcher-action.c
933                 - (nm_dispatcher_action): handle 'hostname' actions
934
935 2008-10-08  Dan Williams  <dcbw@redhat.com>
936
937         * src/NetworkManagerSystem.c
938                 - (find_route): ref the route so it doesn't get destroyed when the cache
939                         is cleared
940                 - (nm_system_device_set_priority): unref the route here after it's done
941                         being used
942
943 2008-10-08  Dan Williams  <dcbw@redhat.com>
944
945         * src/nm-serial-device.c
946                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
947
948 2008-10-08  Tambet Ingo  <tambet@gmail.com>
949
950         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
951         connection with new settings before saving it.
952
953 2008-10-06  Dan Williams  <dcbw@redhat.com>
954
955         * src/nm-ip4-config.c
956           src/nm-ip4-config.h
957                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
958
959         * src/nm-device-interface.c
960                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
961                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
962                         by using '/' for the object path
963
964         * src/nm-device.c
965                 - (src/nm-device.c): marshal missing/unexported ip4-config through
966                         dbus as '/' since dbus-glib can't handle NULL objects nor can
967                         dbus handle NULL object paths
968
969 2008-10-03  Alexander Sack  <asac@ubuntu.com>
970
971         Implement system hostname support for debian/ubuntu
972
973         * system-settings/plugins/ifupdown/plugin.c
974                 - (GObject__get_property): extend announced capabilities; add
975                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
976                 - (GObject__set_property,write_system_hostname): implement
977                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
978                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
979                    update_system_hostname, get_hostname):
980                         implement hostname property that watches and
981                         parses /etc/hostname
982
983 2008-10-03  Alexander Sack  <asac@ubuntu.com>
984
985         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
986           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
987           system-settings/plugins/ifcfg-fedora/Makefile.am
988           system-settings/src/nm-inotify-helper.c
989           system-settings/src/nm-inotify-helper.h
990           src/Makefile.am
991                 - Move ifcfg-fedora inotify helpers to the system settings service so
992                         they are available to all plugins
993
994 2008-10-03  Alexander Sack  <asac@ubuntu.com>
995
996         Implement support for wep-tx-keyidx in ifupdown system
997         config plugin.
998
999         * system-settings/plugins/ifupdown/parser.c
1000                 - (update_wireless_security_setting_from_if_block): introduce
1001                         free_type_mapping func table; rename a few local
1002                         variables to improve readability; add wpa security mapping
1003                         for wep-tx-keyidx property
1004                 - (string_to_gpointerint): new function used for the auto_type_mapping
1005                         of new wep-tx-keyidx property
1006                 - (slist_free_all): free func used for mapped slist types
1007
1008 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1009
1010         * system-settings/src/main.c:
1011                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1012                         always used as the hash key; fixes a crash when removing wired
1013                         devices
1014
1015 2008-10-02  Dan Williams  <dcbw@redhat.com>
1016
1017         * src/nm-gsm-device.c
1018                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1019                         pass the required GSM secret along via user_data rather than keeping
1020                         it around in the private data where it sometimes didn't get cleared
1021                 - (real_get_ppp_name): implement using the GSM username
1022
1023 2008-10-02  Dan Williams  <dcbw@redhat.com>
1024
1025         * src/ppp-manager/nm-ppp-manager.c
1026           src/ppp-manager/nm-ppp-manager.h
1027                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1028                         the settings daemon for completely new ones
1029                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1030                         local PPP peer name; allow PPP debuging by launching NM with
1031                         the environment variable NM_PPP_DEBUG defined
1032                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1033                         create_pppd_cmd_line()
1034
1035         * src/nm-serial-device.c
1036           src/nm-serial-device.h
1037                 - New 'get_ppp_name' function for subclasses to implement to return the
1038                         local PPP peer name
1039                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1040                         and pass that name to the PPP manager
1041
1042         * src/nm-device-ethernet.c
1043                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1044                         the local peer name
1045
1046         * src/nm-cdma-device.c
1047                 - (real_get_ppp_name): implement using the CDMA username
1048
1049 2008-10-02  Dan Williams  <dcbw@redhat.com>
1050
1051         Patch from Alexander Sack <asac ubuntu com>
1052
1053         * system-settings/plugins/ifupdown/parser.c
1054                 - Implement more graceful ip4 config parsing for cases where
1055                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1056                   by using default values
1057
1058 2008-10-02  Dan Williams  <dcbw@redhat.com>
1059
1060         * src/NetworkManagerPolicy.c
1061                 - (device_state_changed): when marking a connection invalid, clear its
1062                         secrets too so that fresh secrets get requested the next time
1063
1064 2008-10-01  Dan Williams  <dcbw@redhat.com>
1065
1066         * system-settings/src/dbus-settings.c
1067                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1068                         a fallback if no plugin provides a hostname
1069                 - (get_property): fall back to cached hostname if no plugin provides
1070                         a hostname
1071
1072 2008-10-01  Dan Williams  <dcbw@redhat.com>
1073
1074         Fix setting value comparison issue that caused some settings to look the
1075         same when they were really different (rh #464417)
1076
1077         * libnm-util/nm-param-spec-specialized.c
1078                 - (type_is_fixed_size): return fundamental size of the fixed type too
1079                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1080                         in the comparison so that the _entire_ fixed type collection gets
1081                         compared rather than just the first 'len1' bytes
1082
1083 2008-09-30  Dan Williams  <dcbw@redhat.com>
1084
1085         * src/NetworkManagerPolicy.c
1086                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1087                         idle handler could have already run and freed the LookupThread
1088                         structure
1089
1090 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1091
1092         * src/nm-device.c (nm_device_get_priority): Implement.
1093         (nm_device_set_ip4_config): Send the device priority to system ip4 
1094         config setter.
1095
1096         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1097         Add priority argument and if it's >= 0, set the priority of the network
1098         route added automatically by netlink (or kernel?).
1099         (nm_system_device_set_priority): Implement.
1100
1101         * src/NetworkManagerPolicy.c (get_best_device): Use 
1102         nm_device_get_priority() instead of home-grown version. Revert the
1103         meaning, best priority is the lowest one.
1104
1105 2008-09-29  Dan Williams  <dcbw@redhat.com>
1106
1107         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1108         when it returns EAGAIN (rh #362421)
1109
1110         * src/nm-device-wifi.c
1111                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1112                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1113
1114 2008-09-28  Dan Williams  <dcbw@redhat.com>
1115
1116         * src/nm-serial-device.c
1117           src/nm-serial-device.h
1118                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1119                         cleaned at the right times when subclasses close the serial port too
1120                 - (nm_serial_device_send_command): use a default send delay; don't
1121                         spin forever on EAGAIN
1122                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1123                         remove, no longer used
1124                 - (find_response): return the matched response if any
1125                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1126                         while doing so
1127                 - (wait_for_reply_done): pass the matched response to the callback
1128                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1129                         handling
1130                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1131                         const since they never get modified
1132                 - (cleanup_device): split out common cleanup stuff to a new function
1133                 - (real_deactivate_quickly, finalize): use cleanup_device()
1134
1135         * src/nm-gsm-device.c
1136                 - (modem_get_reply): remove, unused
1137                 - (set_apn): give the card a bit more time to respond
1138                 - (manual_registration_again, schedule_manual_registration_again,
1139                    manual_registration_response, manual_registration): handle manual
1140                         registration timeouts better by retrying registration a few times
1141                         because cards are a bit slow after CFUN=1
1142                 - (automatic_registration_get_network, get_network_response): use
1143                         modem_wait_for_reply() because it interacts better with the serial
1144                         buffer and does more intelligent matching; need to wait for 'OK'
1145                         rather than just matching terminators
1146                 - (schedule_automatic_registration_again,
1147                    automatic_registration_response, automatic_registration): retry
1148                         registration a few times on timeout or "searching" because cards
1149                         take a bit to find a network after being powered up with CFUN=1
1150                 - (power_up_response, power_up, init_full_done, enter_pin,
1151                    check_pin_done): power up the card with CFUN=1 before trying to
1152                         register with the network
1153                 - (init_modem_full, init_modem): use more standard 3G init strings
1154
1155         * src/nm-hso-gsm-device.c
1156                 - (modem_get_reply): remove, unused
1157                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1158                         modem_wait_for_reply() to match actual responses instead of single
1159                         termination characters; it doesn't leave stuff in the serial buffer
1160                         that might confuse later calls
1161                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1162                         to ensure that the call is really disconnected and not leave extra
1163                         stuff in the serial buffer
1164
1165         * src/nm-cdma-device.c
1166                 - (power_up_response, power_up, init_done): try Sierra-style modem
1167                         power up before attempting to connect
1168
1169 2008-09-27  Dan Williams  <dcbw@redhat.com>
1170
1171         * libnm-util/nm-setting-gsm.c
1172                 - (verify): verify GSM network ID
1173
1174 2008-09-25  Dan Williams  <dcbw@redhat.com>
1175
1176         * libnm-util/nm-setting-gsm.c
1177           libnm-util/nm-setting-gsm.h
1178                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1179                         technology terms (bgo #551361)
1180
1181 2008-09-25  Dan Williams  <dcbw@redhat.com>
1182
1183         Fix bgo #549401 (inspired by patch from Alexander Sack)
1184
1185         * src/nm-device-ethernet.c
1186                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1187                 - (remove_supplicant_interface_error_handler): remove the supplicant
1188                         error idle callback too
1189                 - (supplicant_interface_release): rename from supplicant_interface_clean
1190                         to match nm-device-wifi.c; clean up supplicant interface-related
1191                         state tasks when the supplicant interface is disposed of
1192                 - (schedule_state_handler): add scheduled tasks to a list so they can
1193                         be cleaned up later
1194                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1195                    supplicant_iface_connection_state_cb_handler): use
1196                         finish_supplicant_task() to clean up each completed task
1197                 - (supplicant_iface_connection_error_cb_handler,
1198                    supplicant_connection_timeout_cb): clear source id when the task is
1199                         complete
1200                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1201                         later cleanup
1202                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1203                         tasks
1204
1205         * src/nm-device-wifi.c
1206                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1207                 - (remove_supplicant_interface_error_handler): remove the supplicant
1208                         error idle callback too
1209                 - (supplicant_interface_release): clean up supplicant interface-related
1210                         state tasks when the supplicant interface is disposed of
1211                 - (schedule_state_handler): add scheduled tasks to a list so they can
1212                         be cleaned up later
1213                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1214                    supplicant_iface_connection_state_cb_handler): use
1215                         finish_supplicant_task() to clean up each completed task
1216                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1217                         the task is complete
1218                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1219                         later cleanup
1220                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1221
1222 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1223
1224         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1225         method and get/set hostname property.
1226
1227 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1228
1229         * src/supplicant-manager/nm-supplicant-interface.c
1230         (nm_supplicant_interface_disconnect): Don't increment the reference 
1231         count when disconnecting. The problem is on shutdown, when the replies
1232         to these commands do not arrive before NM exits, resulting on never
1233         calling supplicant interface's dispose(), which removes the interface
1234         from supplicant.
1235
1236 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1237
1238         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1239         all the public function arguments.
1240
1241 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1242
1243         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1244         "Failure" signal from VPN plugins, store the failure reason, and
1245         use it when the state is changed to failure.
1246
1247         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1248         description.
1249
1250         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1251         reason to the end of the list to not break the API.
1252         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1253         so it can be shared by plugins and daemon.
1254
1255 2008-09-18  Dan Williams  <dcbw@redhat.com>
1256
1257         Patch from Alexander Sack <asac@ubuntu.com>
1258
1259         * configure.in
1260           system-settings/plugins/Makefile.am
1261           system-settings/plugins/ifupdown/Makefile.am
1262           system-settings/plugins/ifupdown/interface_parser.c
1263           system-settings/plugins/ifupdown/interface_parser.h
1264           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1265           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1266           system-settings/plugins/ifupdown/parser.c
1267           system-settings/plugins/ifupdown/parser.h
1268           system-settings/plugins/ifupdown/plugin.c
1269           system-settings/plugins/ifupdown/plugin.h
1270                 - Implement a Debian/Ubuntu legacy network configuration plugin
1271                         (gnome.org #551941)
1272
1273 2008-09-18  Dan Williams  <dcbw@redhat.com>
1274
1275         Implement support for honoring configured and automatic hostnames, and for
1276         setting the configured hostname.
1277
1278         * introspection/nm-ip4-config.xml
1279           src/nm-ip4-config.c
1280           src/nm-ip4-config.h
1281           src/dhcp-manager/nm-dhcp-manager.c
1282                 - Remove useless hostname property; it's not really part of the IPv4
1283                         config
1284
1285         * introspection/nm-settings-system.xml
1286           libnm-glib/nm-dbus-settings-system.c
1287           libnm-glib/nm-dbus-settings-system.h
1288                 - Add SetHostname() call to system settings D-Bus interface
1289                 - Add Hostname property to system settings D-Bus interface
1290                 - (nm_dbus_settings_system_save_hostname,
1291                    nm_dbus_settings_system_get_hostname): implement
1292
1293         * src/nm-device.c
1294           src/nm-device.h
1295                 - (nm_device_get_dhcp4_config): implement
1296
1297         * src/nm-manager.c
1298           src/nm-manager.h
1299                 - Fetch and track system settings service hostname changes, and proxy
1300                         the changes via a GObject property of the manager
1301
1302         * system-settings/src/nm-system-config-interface.c
1303           system-settings/src/nm-system-config-interface.h
1304                 - Replace nm_system_config_interface_supports_add() with a capabilities
1305                         bitfield
1306
1307         * system-settings/src/nm-system-config-error.c
1308           system-settings/src/nm-system-config-error.h
1309                 - Add additional errors
1310
1311         * system-settings/src/dbus-settings.c
1312           system-settings/src/dbus-settings.h
1313                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1314                         property; first plugin returning a hostname wins
1315                 - (impl_settings_add_connection): use plugin capabilities instead of
1316                         nm_system_config_interface_supports_add()
1317                 - (impl_settings_save_hostname): implement hostname saving
1318
1319         * src/NetworkManagerPolicy.c
1320                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1321                    lookup_thread_die): implement an asynchronous hostname lookup thread
1322                         which given an IPv4 address tries to look up the hostname for that
1323                         address with reverse DNS
1324                 - (get_best_device): split out best device code from
1325                         update_routing_and_dns()
1326                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1327                         to preserve the 127.0.0.1 reverse mapping that so many things require
1328                 - (set_system_hostname): set a given hostname
1329                 - (update_system_hostname): implement hostname policy; a configured
1330                         hostname (from the system settings service) is used if available,
1331                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1332                         If there was no automatically determined hostname, reverse DNS of
1333                         the best device's IP address will be used, and as a last resort the
1334                         hostname 'localhost.localdomain' is set.
1335                 - (update_routing_and_dns): use get_best_device(); update the system
1336                         hostname when the network config changes
1337                 - (hostname_changed): update system hostname if the system settings
1338                         service signals a hostname change
1339                 - (nm_policy_new): list for system settings service hostname changes
1340                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1341                         gets told to die
1342
1343         * system-settings/plugins/keyfile/plugin.c
1344           system-settings/plugins/ifcfg-suse/plugin.c
1345                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1346                         capabilities properties
1347
1348         * system-settings/plugins/ifcfg-fedora/shvar.c
1349                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1350                         writes out /etc/sysconfig/network now
1351
1352         * system-settings/plugins/ifcfg-fedora/plugin.c
1353                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1354                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1355                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1356                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1357                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1358                         hostname get/set and capabilities get
1359
1360 2008-09-18  Dan Williams  <dcbw@redhat.com>
1361
1362         * libnm-util/nm-setting-wireless.c
1363                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1364                         group ciphers if the wireless-security setting explicitly specified
1365                         them, effectively making the default be "all ciphers"  (idea from
1366                         Alexander Sack)
1367
1368 2008-09-15  Dan Williams  <dcbw@redhat.com>
1369
1370         Patch from Alexander Sack <asac@ubuntu.com>
1371
1372         * src/named-manager/nm-named-manager.c
1373                 - (dispatch_resolvconf): respect resolvconf exit code
1374
1375 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1376
1377         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1378         again. Add some debugging.
1379
1380 2008-09-11  Dan Williams  <dcbw@redhat.com>
1381
1382         * system-settings/plugins/keyfile/plugin.c
1383                 - (update_connection_settings): update connection manually, since
1384                         nm_exported_connection_update() does authentication
1385                 - (dir_changed): update_connection_settings() doesn't need to return
1386                         an error
1387
1388 2008-09-09  Dan Williams  <dcbw@redhat.com>
1389
1390         * libnm-glib/nm-vpn-plugin-ui-interface.c
1391           libnm-glib/nm-vpn-plugin-ui-interface.h
1392           libnm-glib/libnm_glib_vpn.ver
1393                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1394                         should clean up resources related to the connection (like keyring
1395                         secrets)
1396                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1397                         should save user-scope secrets (like to the keyring)
1398
1399 2008-09-08  Dan Williams  <dcbw@redhat.com>
1400
1401         Patch from Alexander Sack <asac@ubuntu.com>
1402
1403         * libnm-util/crypto_gnutls.c
1404           libnm-util/crypto_nss.c
1405                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1406
1407         * libnm-util/nm-utils.c
1408           libnm-util/nm-utils.h
1409           libnm-util/libnm-util.ver
1410                 - (nm_utils_init): initialize libnm-util
1411                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1412
1413         * libnm-util/nm-setting-8021x.c
1414                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1415
1416 2008-09-05  Dan Williams  <dcbw@redhat.com>
1417
1418         Patch from Roy Marples <roy@marples.name> and others
1419
1420         * configure.in
1421           src/named-manager/nm-named-manager.c
1422                 - Add support for resolvconf; use --with-resolvconf at configure time
1423                         to enable it
1424
1425 2008-09-05  Dan Williams  <dcbw@redhat.com>
1426
1427         * libnm-util/crypto_nss.c
1428           libnm-util/crypto_gnutls.c
1429           libnm-util/crypto.h
1430                 - (crypto_init): return error when init fails
1431
1432 2008-09-05  Dan Williams  <dcbw@redhat.com>
1433
1434         * libnm-glib/nm-device-wifi.c
1435                 - (access_point_removed_proxy): clean up the active access point too
1436                         just in case the active ap changed signal didn't come through yet
1437                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1438
1439 2008-09-05  Dan Williams  <dcbw@redhat.com>
1440
1441         * libnm-glib/nm-client.c
1442                 - (constructor): get initial state after we know whether NM is running
1443                         or not
1444
1445 2008-09-05  Dan Williams  <dcbw@redhat.com>
1446
1447         * libnm-glib/nm-ip4-config.c
1448           libnm-glib/nm-dhcp4-config.c
1449                 - (finalize): clean up the DBusGProxy
1450
1451 2008-09-04  Dan Williams  <dcbw@redhat.com>
1452
1453         * src/nm-ip4-config.c
1454           src/nm-ip4-config.h
1455                 - (nm_ip4_config_new): don't export over D-Bus here
1456                 - (nm_ip4_config_export): new function; export the config over D-Bus
1457                 - (nm_ip4_config_is_exported): new function
1458
1459         * src/nm-device.c
1460                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1461                         objects by balancing the IP4Config constructor; the device holds
1462                         a reference to the IP4Config already
1463                 - (nm_device_set_ip4_config): export the IP4Config when needed
1464
1465 2008-09-04  Dan Williams  <dcbw@redhat.com>
1466
1467         * src/supplicant-manager/nm-supplicant-settings-verify.c
1468                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1469
1470 2008-09-04  Dan Williams  <dcbw@redhat.com>
1471
1472         * libnm-util/nm-setting-vpn.c
1473           libnm-util/nm-setting-vpn.h
1474                 - Split VPN secrets from VPN data so that settings services can actually
1475                         figure out that they are secrets and store them accordingly
1476
1477         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1478           system-settings/plugins/keyfile/reader.c
1479           system-settings/plugins/keyfile/reader.h
1480           system-settings/plugins/keyfile/writer.c
1481                 - Store VPN secrets separately from VPN data so that they can be fetched
1482                         on demand
1483                 - Implement the get_secrets() call so that (a) secrets don't leak out
1484                         to unprivileged callers, and (b) secrets can be sent to privileged
1485                         callers when needed
1486
1487         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1488                 - Handle split VPN secrets
1489
1490 2008-08-27  Dan Williams  <dcbw@redhat.com>
1491
1492         * system-settings/plugins/ifcfg-fedora/reader.c
1493                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1494
1495 2008-08-27  Dan Williams  <dcbw@redhat.com>
1496
1497         Ensure zombie children get cleaned up.  To get notifications when children
1498         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1499         that requires calling waitpid() yourself if you've removed the child watch
1500         handler before the process has actually died, which NM needs to do in a few
1501         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1502         cleans up after the child when required.  Should fix problems trying to
1503         activate mobile broadband connections after a previous failure.
1504
1505         * src/dhcp-manager/nm-dhcp-dhclient.c
1506           src/dhcp-manager/nm-dhcp-dhcpcd.c
1507                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1508
1509         * src/dhcp-manager/nm-dhcp-manager.c
1510                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1511                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1512                         block on child quitting, since the non-blocking functionality was
1513                         never actually used
1514
1515         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1516                 - (dm_watch_cb): child is already reaped here
1517                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1518
1519         * src/nm-device.c
1520                 - (aipd_cleanup): block until child is dead
1521
1522         * src/named-manager/nm-named-manager.c
1523                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1524                         event bothering to watch the child
1525
1526         * src/ppp-manager/nm-ppp-manager.c
1527                 - (ppp_watch_cb): child is already reaped here
1528                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1529
1530         * src/vpn-manager/nm-vpn-service.c
1531                 - (vpn_service_watch_cb): child is already reaped here
1532                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1533                         status of the child is actually tracked
1534                 - (ensure_killed, finalize): block until child is dead
1535
1536 2008-08-26  Dan Williams  <dcbw@redhat.com>
1537
1538         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1539                 - (update): Update filename of the connection if the connection id
1540                         was changed
1541
1542         * system-settings/plugins/keyfile/plugin.c
1543                 - (dir_changed): first pass at handling connection renames correctly
1544
1545         * system-settings/plugins/keyfile/writer.c
1546           system-settings/plugins/keyfile/writer.h
1547                 - (write_connection): replace '/' with '*' when writing out the filename
1548                         from the connection id
1549
1550 2008-08-26  Dan Williams  <dcbw@redhat.com>
1551
1552         Add connection UUIDs, since connection names can be changed, and since
1553         old-style connection IDs could change over the life of the connection.  The
1554         UUID should be assigned at connection creation time, be stable for a given
1555         connection, and should be unique among all connections for a given settings
1556         service.
1557
1558         * configure.in
1559           libnm-util/Makefile.am
1560                 - Require libuuid
1561
1562         * introspection/nm-exported-connection.xml
1563                 - Remove "GetID" method
1564
1565         * libnm-glib/nm-dbus-connection.c
1566           libnm-glib/nm-settings.c
1567           libnm-glib/nm-settings.h
1568                 - Remove id-related stuff
1569
1570         * libnm-util/nm-utils.c
1571           libnm-util/nm-utils.h
1572           libnm-util/libnm-util.ver
1573                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1574                         utility functions to generate UUIDs
1575
1576         * libnm-util/nm-setting-connection.c
1577           libnm-util/nm-setting-connection.h
1578                 - Add 'uuid' member to the connection setting
1579                 - (verify): require valid 'uuid' for a valid connection
1580
1581         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1582           system-settings/plugins/ifcfg-fedora/reader.c
1583           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1584           system-settings/plugins/ifcfg-suse/parser.c
1585           system-settings/plugins/keyfile/nm-keyfile-connection.c
1586           system-settings/src/main.c
1587                 - Remove id-related stuff
1588                 - Give connections UUIDs where needed
1589
1590 2008-08-25  Dan Williams  <dcbw@redhat.com>
1591
1592         * libnm-util/crypto_gnutls.c
1593           libnm-util/crypto_nss.c
1594                 - (crypto_init, crypto_deinit): refcount init/deinit
1595                 - (crypto_md5_hash): allow NULL salt
1596
1597 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1598
1599         * libnm-glib/Makefile.am
1600           libnm-util/Makefile.am
1601           libnm-glib/libnm_glib.ver
1602           libnm-glib/libnm_glib_vpn.ver
1603           libnm-util/libnm-util.ver
1604                 - Use linker version scripts to control the list of exported 
1605                 symbols. List each exported symbol explicitely.
1606         * libnm-util/Makefile.am
1607                 - Fix compilation of the test-crypto binary. The crypto
1608                 functions are no longer part of the libnm-util API. Add 
1609                 crypto_*.c to test_crypto_SOURCES and link against the correct
1610                 crypto libraries.
1611
1612 2008-08-19  Dan Williams  <dcbw@redhat.com>
1613
1614         * configure.in
1615           test/Makefile.am
1616                 - Don't build test/test-common
1617                 - Remove unused stuff
1618
1619         * test/nm-set-fallback
1620           test/nmtestdevices.c
1621           test/test-common/.cvsignore
1622           test/test-common/Makefile.am
1623           test/test-common/test-common.c
1624           test/test-common/test-common.h
1625                 - delete
1626
1627 2008-08-18  Dan Williams  <dcbw@redhat.com>
1628
1629         * libnm-util/nm-utils.c
1630           libnm-util/nm-utils.h
1631                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1632                         export anything that needs to be converted with this function
1633
1634         * src/dhcp-manager/nm-dhcp-manager.c
1635                 - (garray_to_string): convert a byte array to a UTF-8 string with
1636                         minimal validation; the DHCP client sends it in ASCII anyway
1637                 - (get_option, copy_option): use garray_to_string()
1638
1639 2008-08-18  Dan Williams  <dcbw@redhat.com>
1640
1641         * include/NetworkManager.h
1642           introspection/nm-device.xml
1643                 - Add a "missing firmware" device state reason
1644
1645         * src/NetworkManagerSystem.c
1646           src/NetworkManagerSystem.h
1647                 - (nm_system_device_set_up_down): add a no_firmware argument
1648                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1649                         IFF_UP is ENOENT, that almost always means missing firmware
1650
1651         * src/backends/NetworkManagerGeneric.c
1652           src/nm-device-ethernet.c
1653           src/nm-device-private.h
1654           src/nm-device-wifi.c
1655           src/nm-device.c
1656           src/nm-device.h
1657           src/nm-hso-gsm-device.c
1658           src/vpn-manager/nm-vpn-connection.c
1659                 - Pass no_firmware along; check it where appropriate
1660
1661 2008-08-18  Dan Williams  <dcbw@redhat.com>
1662
1663         Patch from Robert Buchholz <rbu@gentoo.org>
1664
1665         * autogen.sh
1666           configure.in
1667                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1668                         1003.1-1988, allowing for file names longer than 99 characters
1669
1670 2008-08-17  Dan Williams  <dcbw@redhat.com>
1671
1672         * include/NetworkManager.h
1673           introspection/nm-device.xml
1674           src/nm-gsm-device.c
1675                 - Finer-grained GSM registration failure error codes
1676
1677 2008-08-17  Dan Williams  <dcbw@redhat.com>
1678
1679         * callouts/Makefile.am
1680           src/Makefile.am
1681                 - Move dispatcher directory creation to callouts/Makefile.am
1682
1683         * system-settings/plugins/keyfile/Makefile.am
1684                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1685
1686 2008-08-15  Dan Williams  <dcbw@redhat.com>
1687
1688         Do connection sharing in a cleaner manner; all required iptables rules
1689         are now stored in the activation request and pertain only to the device
1690         which is being shared to other computers. (rh #458625)
1691
1692         * src/nm-activation-request.c
1693           src/nm-activation-request.h
1694                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1695                         the activation request which will get torn down automatically when
1696                         the activation request dies
1697                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1698                         is started, and tear them down when sharing is stopped
1699
1700         * src/nm-device.c
1701                 - (start_sharing): start up sharing by doing the required iptables magic
1702                 - (share_init): poke the right bits of the kernel and load the right
1703                         modules for NAT
1704                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1705                         connection if it's a 'shared' connection
1706
1707         * src/NetworkManagerPolicy.c
1708                 - Remove all sharing stuff; done in the device code itself
1709
1710 2008-08-15  Dan Williams  <dcbw@redhat.com>
1711
1712         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1713                 - (create_dm_cmd_line): send the right router address
1714
1715 2008-08-15  Dan Williams  <dcbw@redhat.com>
1716
1717         * src/ppp-manager/nm-ppp-manager.c
1718                 - (pppd_timed_out): ensure timeouts fail the connection
1719
1720 2008-08-14  Dan Williams  <dcbw@redhat.com>
1721
1722         * src/nm-properties-changed-signal.c
1723           src/nm-properties-changed-signal.h
1724                 - Add a property spec flag for "don't export this property" in
1725                         property changed signals
1726
1727         * src/nm-hso-gsm-device.c
1728           src/nm-gsm-device.c
1729           src/nm-cdma-device.c
1730                 - Don't export monitor interface or netdev interface properties
1731
1732 2008-08-14  Dan Williams  <dcbw@redhat.com>
1733
1734         * src/NetworkManagerPolicy.c
1735                 - (update_routing_and_dns): 'hso' devices can be default even if they
1736                         don't have a gateway
1737
1738 2008-08-14  Dan Williams  <dcbw@redhat.com>
1739
1740         * src/nm-device.c
1741                 - (nm_device_deactivate_quickly): tear down activation request after
1742                         calling device-specific deactivation
1743
1744         * src/nm-hso-gsm-device.c
1745                 - (real_deactivate_quickly): terminate connection when deactivating
1746
1747 2008-08-14  Dan Williams  <dcbw@redhat.com>
1748
1749         * src/nm-activation-request.h
1750                 - Add HSO secrets caller
1751
1752         * src/nm-gsm-device.c
1753           src/nm-gsm-device.h
1754                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1755                         something to the callback function
1756                 - (set_apn, set_apn_done): call class dial function, not a static one
1757                 - (nm_gsm_device_class_init): add a class 'dial' function
1758
1759         * src/nm-hal-manager.c
1760                 - (get_hso_netdev): find the hso-driven hardware's net device
1761                 - (modem_device_creator): recognize hso-driven hardware and create the
1762                         right type of device object for it
1763
1764         * src/Makefile.am
1765           src/nm-hso-gsm-device.c
1766           src/nm-hso-gsm-device.h
1767                 - Implement support for devices driven by the 'hso' driver as a subclass
1768                         of NMGsmDevice
1769
1770 2008-08-14  Dan Williams  <dcbw@redhat.com>
1771
1772         * src/NetworkManagerSystem.c
1773                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1774                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1775                         success if the operation really was successful
1776
1777 2008-08-14  Dan Williams  <dcbw@redhat.com>
1778
1779         * src/nm-netlink-monitor.c
1780           src/nm-netlink-monitor.h
1781           src/nm-device-ethernet.c
1782                 - (nm_netlink_monitor_request_status): return an error on failure
1783                 - (constructor): don't segfault on missing error
1784
1785 2008-08-13  Dan Williams  <dcbw@redhat.com>
1786
1787         * callouts/nm-dispatcher-action.c
1788                 - Add IP4 config info to script environment
1789
1790 2008-08-12  Dan Williams  <dcbw@redhat.com>
1791
1792         * src/nm-device.c
1793                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1794                         that want to use DHCP hostnames should use dispatcher scripts
1795                         for that
1796
1797         * src/NetworkManagerSystem.h
1798           src/backends/NetworkManagerArch.c
1799           src/backends/NetworkManagerDebian.c
1800           src/backends/NetworkManagerFrugalware.c
1801           src/backends/NetworkManagerGeneric.c
1802           src/backends/NetworkManagerGeneric.h
1803           src/backends/NetworkManagerGentoo.c
1804           src/backends/NetworkManagerMandriva.c
1805           src/backends/NetworkManagerPaldo.c
1806           src/backends/NetworkManagerRedHat.c
1807           src/backends/NetworkManagerSlackware.c
1808           src/backends/NetworkManagerSuSE.c
1809                 - Remove nm_system_set_hostname(), no longer used
1810           
1811         * src/backends/Makefile.am
1812           src/backends/shvar.c
1813           src/backends/shvar.h
1814                 - Remove shvar.*; no longer used
1815
1816 2008-08-12  Dan Williams  <dcbw@redhat.com>
1817
1818         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1819         hostname is updated at runtime.  Distros or users who want hostname updates
1820         can use dispatcher scripts to update the hostname if they need it.
1821
1822 2008-08-12  Dan Williams  <dcbw@redhat.com>
1823
1824         * introspection/nm-settings-system.xml
1825           system-settings/src/dbus-settings.c
1826           system-settings/src/dbus-settings.h
1827                 - Add a 'Hostname' property (rw) which represents the configured
1828                         hostname and domain of the system, if any
1829
1830         * system-settings/src/nm-system-config-error.c
1831           system-settings/src/nm-system-config-error.h
1832           system-settings/src/nm-system-config-interface.c
1833           system-settings/src/nm-system-config-interface.h
1834                 - Add a 'hostname' property to the plugin interface
1835                 - Add a method to send updated hostname to plugins to save in their
1836                         backing configuration store
1837
1838         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1839           system-settings/plugins/keyfile/plugin.c
1840           system-settings/plugins/keyfile/writer.c
1841           system-settings/plugins/keyfile/writer.h
1842           system-settings/plugins/ifcfg-suse/plugin.c
1843                 - Add minimal hostname support
1844
1845         * system-settings/plugins/ifcfg-fedora/plugin.c
1846                 - Add support for updating system hostname in /etc/sysconfig/network
1847
1848 2008-08-12  Dan Williams  <dcbw@redhat.com>
1849
1850         * system-settings/plugins/ifcfg-fedora/shvar.c
1851           system-settings/plugins/ifcfg-fedora/shvar.c
1852                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1853
1854 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1855
1856         * Makefile.am: Fix distcheck.
1857
1858 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1859
1860         * libnm-glib/*.c. Document some more.
1861
1862 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1863
1864         Start documenting libnm-glib public API using gtk-doc.
1865
1866         * libnm-glib/nm-serial-device.c: 
1867         * libnm-glib/nm-object.c: 
1868         * libnm-glib/nm-gsm-device.c: 
1869         * libnm-glib/nm-device.c: 
1870         * libnm-glib/nm-device-wifi.c: 
1871         * libnm-glib/nm-device-ethernet.c: 
1872         * libnm-glib/nm-client.c: 
1873         * libnm-glib/nm-cdma-device.c: Document the public API.
1874
1875         * docs/libnm-glib/libnm-glib.types: Implement.
1876
1877         * docs/libnm-glib/Makefile.am: Implement.
1878
1879         * autogen.sh: 
1880         * configure.in: 
1881         * Makefile.am: Add gtk-doc support.
1882
1883 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1884
1885         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1886
1887         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1888         the composite result of all the IP4 configurations and call a distro
1889         specific update_resolv_conf().
1890         (update_resolv_conf): Implement one for directly writing to 
1891         /etc/resolv.conf and one for opensuse to call netconfig.
1892
1893 2008-08-11  Dan Williams  <dcbw@redhat.com>
1894
1895         * src/ppp-manager/nm-ppp-manager.c
1896                 - (impl_ppp_manager_need_secrets): pass interface as required
1897
1898 2008-08-11  Dan Williams  <dcbw@redhat.com>
1899
1900         Merge the vpn-properties setting with the vpn setting since it was pointless
1901         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1902         of string:string (instead of string:variant) so that system settings plugins
1903         can have an easier time dealing with the arbitrary key/value pairs.
1904
1905 2008-08-11  Dan Williams  <dcbw@redhat.com>
1906
1907         * libnm-util/nm-utils.c
1908                 - (nm_utils_register_value_transformations): add value transform for
1909                         a hash table of string:string
1910
1911 2008-08-10  Dan Williams  <dcbw@redhat.com>
1912
1913         * libnm-glib/nm-vpn-plugin.c
1914                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1915                         an idle handler so the Connect reply gets delivered before the
1916                         stop StateChanged signal
1917
1918 2008-08-10  Dan Williams  <dcbw@redhat.com>
1919
1920         * src/nm-ip4-config.c
1921                 - (get_property): use common ip4 address/route conversion functions
1922                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1923                         copy the new route here, not take ownership
1924
1925 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1926
1927         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1928         Update the IP4 setting's method name.
1929
1930 2008-08-07  Dan Williams  <dcbw@redhat.com>
1931
1932         * introspection/nm-ip4-config.xml
1933           libnm-glib/libnm-glib-test.c
1934           libnm-glib/nm-ip4-config.c
1935           libnm-glib/nm-ip4-config.h
1936           src/NetworkManagerSystem.h
1937           src/backends/NetworkManagerArch.c
1938           src/backends/NetworkManagerDebian.c
1939           src/backends/NetworkManagerFrugalware.c
1940           src/backends/NetworkManagerGeneric.c
1941           src/backends/NetworkManagerGeneric.h
1942           src/backends/NetworkManagerGentoo.c
1943           src/backends/NetworkManagerMandriva.c
1944           src/backends/NetworkManagerPaldo.c
1945           src/backends/NetworkManagerRedHat.c
1946           src/backends/NetworkManagerSlackware.c
1947           src/backends/NetworkManagerSuSE.c
1948           src/dhcp-manager/nm-dhcp-manager.c
1949           src/nm-device.c
1950           src/nm-ip4-config.c
1951           src/nm-ip4-config.h
1952                 - Remove NIS logic; should be done from dispatcher scripts instead
1953
1954 2008-08-07  Dan Williams  <dcbw@redhat.com>
1955
1956         * src/dhcp-manager/nm-dhcp-manager.c
1957                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1958                         mis-handling of DHCP responses that returned more than one router
1959                         (found by Grant Williamson)
1960
1961 2008-08-07  Dan Williams  <dcbw@redhat.com>
1962
1963         * callouts/nm-dispatcher-action.c
1964                 - (nm_dispatcher_action): grab device path and create the device; pass
1965                         the device's DHCP4 config to script caller
1966                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1967                         scripts
1968
1969         * libnm-glib/nm-dhcp4-config.c
1970           libnm-glib/nm-dhcp4-config.h
1971                 - (nm_dhcp4_config_get_options): expose
1972                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1973
1974 2008-08-07  Dan Williams  <dcbw@redhat.com>
1975
1976         * include/NetworkManager.h
1977                 - Add the DHCP4Config D-Bus interface
1978
1979         * libnm-glib/Makefile.am
1980           libnm-glib/nm-dhcp4-config.c
1981           libnm-glib/nm-dhcp4-config.h
1982                 - Handle DHCP4 config objects exported by NM over D-Bus
1983
1984         * libnm-glib/nm-device.c
1985           libnm-glib/nm-device.h
1986                 - Add a 'dhcp4-config' property
1987
1988         * libnm-glib/libnm-glib-test.c
1989                 - Print out DHCP4 config for devices
1990                 - Fix some crashes when no connections are active
1991
1992         * src/nm-device-interface.c
1993           src/nm-device.c
1994           src/nm-dhcp4-config.c
1995           src/nm-dhcp4-config.h
1996                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1997                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1998                         doesn't let us do when the property type is G_TYPE_OBJECT
1999
2000 2008-08-07  Dan Williams  <dcbw@redhat.com>
2001
2002         * src/NetworkManager.c
2003           src/NetworkManagerSystem.h
2004           src/backends/NetworkManagerArch.c
2005           src/backends/NetworkManagerDebian.c
2006           src/backends/NetworkManagerFrugalware.c
2007           src/backends/NetworkManagerGeneric.c
2008           src/backends/NetworkManagerGeneric.h
2009           src/backends/NetworkManagerGentoo.c
2010           src/backends/NetworkManagerMandriva.c
2011           src/backends/NetworkManagerPaldo.c
2012           src/backends/NetworkManagerRedHat.c
2013           src/backends/NetworkManagerSlackware.c
2014           src/backends/NetworkManagerSuSE.c
2015                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2016
2017 2008-08-06  Dan Williams  <dcbw@redhat.com>
2018
2019         * libnm-glib/nm-ip4-config.c
2020           libnm-glib/nm-ip4-config.h
2021                 - Add 'routes' property
2022
2023         * libnm-util/nm-setting-vpn.c
2024           libnm-util/nm-setting-vpn.h
2025                 - Remove 'routes' property
2026
2027         * libnm-util/nm-setting-ip4-config.c
2028           libnm-util/nm-setting-ip4-config.h
2029                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2030                 - Add 'ignore-auto-routes' property
2031                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
2032                         accomodate route metrics
2033                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2034
2035         * libnm-util/nm-utils.c
2036           libnm-util/nm-utils.h
2037                 - Add helpers for marshalling IP4 routes
2038
2039         * src/NetworkManagerUtils.c
2040                 - (nm_utils_merge_ip4_config): handle property renames and new route
2041                         structure
2042
2043         * src/NetworkManagerSystem.c
2044                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2045                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
2046
2047         * src/dhcp-manager/nm-dhcp-manager.c
2048                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2049
2050         * system-settings/plugins/ifcfg-fedora/reader.c
2051           system-settings/plugins/ifcfg-fedora/writer.c
2052                 - Handle routes separately from addresses now that routes have a different
2053                         format
2054
2055         * introspection/nm-ip4-config.xml
2056           src/nm-ip4-config.c
2057           src/nm-ip4-config.h
2058                 - Rename internal routing functions
2059                 - 'static-routes' renamed to 'routes'
2060
2061 2008-08-04  Dan Williams  <dcbw@redhat.com>
2062
2063         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2064
2065         * src/NetworkManager.c
2066           src/nm-manager.c
2067           src/nm-manager.h
2068                 - More explicitly make the NMManager a singleton
2069
2070 2008-08-04  Dan Williams  <dcbw@redhat.com>
2071
2072         * libnm-util/nm-connection.c
2073           libnm-util/nm-connection.h
2074                 - (nm_connection_verify): return error on missing 'connection' setting
2075                         (found by Sjoerd Simons)
2076
2077 2008-08-04  Dan Williams  <dcbw@redhat.com>
2078
2079         Handle multiple concurrent PPP connections.
2080
2081         * src/ppp-manager/nm-ppp-manager.c
2082           src/ppp-manager/nm-ppp-manager.h
2083                 - (constructor): only PPP Manager request bus name once; each
2084                         NMPPPManager object gets a unique object path
2085                 - (nm_ppp_manager_class_init, get_property, set_property,
2086                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2087                         at construct time
2088                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2089                         remove timeout until PPP manager gets an IP4 config
2090                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2091                         the plugin can call back to this specific PPP manager instance
2092
2093         * src/nm-device-ethernet.c
2094           src/nm-serial-device.c
2095                 - Pass parent device in nm_ppp_manager_new()
2096
2097         * src/nm-gsm-device.c
2098           src/nm-cdma-device.c
2099                 - (device_state_changed): don't close serial device on NEED_AUTH
2100                         state changed, that's not a failure case like the rest are
2101
2102         * src/ppp-manager/nm-pppd-plugin.c
2103                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2104                         binds one interface to any pppd process, thus the correct index
2105                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2106                         problems; try harder to get a peer address in spite of pppd
2107                 - (plugin_init): use 'ipparam' as the object path back to our specific
2108                         PPP manager instance
2109
2110 2008-08-04  Dan Williams  <dcbw@redhat.com>
2111
2112         * src/ppp-manager/nm-ppp-manager.c
2113                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2114                         since the GSM and CDMA settings now implement need_secrets, we can
2115                         rely on them to do the right thing.  Where secrets are not required,
2116                         just pass empty strings back to the pppd plugin.
2117                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2118                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2119                         on successful IP4 config receipt
2120
2121 2008-08-04  Dan Williams  <dcbw@redhat.com>
2122
2123         * libnm-util/nm-setting-cdma.c
2124           libnm-util/nm-setting-gsm.c
2125                 - (verify): validate username & password if they exist
2126                 - (need_secrets): if username given, require a password too
2127
2128 2008-08-04  Dan Williams  <dcbw@redhat.com>
2129
2130         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2131                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2132                         manpage says about --listen-address without --interface
2133                         (bgo #546033)
2134
2135 2008-08-01  Dan Williams  <dcbw@redhat.com>
2136
2137         * libnm-glib/nm-device.c
2138                 - (proxy_get_string): util function for querying a HAL property
2139                 - (get_ancestor_device): split out from get_product_and_vendor()
2140                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2141                         from PCI devices by querying subsys properties
2142                 - (nm_device_update_description): simplify
2143
2144 2008-08-01  Dan Williams  <dcbw@redhat.com>
2145
2146         * libnm-util/nm-setting-ip4-config.c
2147           libnm-util/nm-setting-ip4-config.h
2148                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2149                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2150                         settings, and they don't necessarily use DHCP.
2151
2152         * src/NetworkManagerPolicy.c
2153           src/nm-device.c
2154           system-settings/plugins/ifcfg-fedora/reader.c
2155           system-settings/plugins/ifcfg-suse/parser.c
2156                 - Fixup for method changes
2157
2158 2008-07-31  Dan Williams  <dcbw@redhat.com>
2159
2160         * src/nm-activation-request.c
2161           src/vpn-manager/nm-vpn-connection.c
2162                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2163                         itself should be attached to the activation request or the VPN
2164                         connection, not the NMConnection object, since the call is not
2165                         expected to live as long as the NMConnection itself
2166
2167 2008-07-31  Dan Williams  <dcbw@redhat.com>
2168
2169         * src/nm-device-wifi.c
2170                 - (real_act_stage2_config): fix issue where association would continue
2171                         even though secrets were needed; 'goto out' was in wrong scope and
2172                         result of handle_auth_or_fail() should have been dumped directly to
2173                         'ret' to ensure that the association was postponed until secrets
2174                         are available
2175
2176 2008-07-31  Dan Williams  <dcbw@redhat.com>
2177
2178         * system-settings/plugins/ifcfg-fedora/plugin.c
2179           system-settings/plugins/ifcfg-fedora/reader.c
2180                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2181                         valid NM connection
2182
2183 2008-07-29  Dan Williams  <dcbw@redhat.com>
2184
2185         * src/nm-gsm-device.c
2186                 - (automatic_registration_response, automatic_registration): recognize
2187                         denied registration and reorder responses
2188
2189 2008-07-29  Dan Williams  <dcbw@redhat.com>
2190
2191         * src/nm-serial-device.c
2192                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2193                         time(2) is used for current time, which returns seconds, we shouldn't
2194                         be multiplying by 1000.
2195
2196 2008-07-28  Dan Williams  <dcbw@redhat.com>
2197
2198         Patch from Fabrice Bellet <fabrice@bellet.info>
2199
2200         * src/NetworkManagerSystem.c
2201                 - (route_in_same_subnet): mask addresses and compare them so that the
2202                         function actually does what it says it's going to do (rh #456685)
2203
2204 2008-07-27  Dan Williams  <dcbw@redhat.com>
2205
2206         * libnm-util/nm-setting-ip6-config.c
2207                 - (set_property): add missing break that caused routes to be overwritten
2208                         with addresses
2209
2210         * libnm-util/nm-setting-ip6-config.c
2211                 - (verify): validate routes and return GError everywhere on invalid setting
2212                 - (finalize): don't leak routes
2213                 - (set_property): add missing break that caused routes to be overwritten
2214                         with addresses
2215
2216 2008-07-27  Dan Williams  <dcbw@redhat.com>
2217
2218         * libnm-util/*
2219                 - Relicense to LGPLv2+
2220
2221 2008-07-27  Dan Williams  <dcbw@redhat.com>
2222
2223         * system-settings/plugins/ifcfg-fedora/reader.c
2224                 - (make_ip4_setting): fix parsing automatic configs
2225
2226 2008-07-27  Dan Williams  <dcbw@redhat.com>
2227
2228         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2229           src/nm-device.c
2230           src/ppp-manager/nm-ppp-manager.c
2231                 - Ensure child process gets reaped.  The child watch function may be
2232                         removed from the mainloop before the child gets killed, so we have
2233                         to make sure the child is reaped when it's told to die intentionally
2234
2235 2008-07-27  Dan Williams  <dcbw@redhat.com>
2236
2237         Patch from Roy Marples <roy@marples.name>
2238
2239         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2240                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2241
2242 2008-07-27  Dan Williams  <dcbw@redhat.com>
2243
2244         * src/nm-gsm-device.c
2245                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2246                         Huawei devices turn echo back on after CPIN (rh #456770)
2247
2248 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2249
2250         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2251         format argument to g_set_error() call.
2252
2253         * src/backends/interface_parser.[ch]: Remove.
2254
2255         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2256
2257 2008-07-21  Dan Williams  <dcbw@redhat.com>
2258
2259         * src/ppp-manager/nm-ppp-manager.c
2260                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2261                         to prevent pppd from picking up some random local address from an
2262                         interface that doesn't have anything to do with the one we're
2263                         interested in (rh #455348)
2264
2265 2008-07-17  Dan Williams  <dcbw@redhat.com>
2266
2267         * libnm-util/nm-utils.c
2268                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2269                         by locale
2270                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2271                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2272
2273 2008-07-17  Dan Williams  <dcbw@redhat.com>
2274
2275         * introspection/Makefile.am
2276           introspection/nm-device.xml
2277           introspection/nm-dhcp4-config.xml
2278                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2279                         itself
2280         * src/nm-device-interface.c
2281           src/nm-device-interface.h
2282                 - Add the DHCP4Config property
2283
2284         * src/nm-device.c
2285                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2286                         D-Bus clients when it changes
2287
2288         * src/nm-dhcp4-config.c
2289           src/nm-dhcp4-config.h
2290                 - Simple object to store DHCP4 options, export them over D-Bus, and
2291                         notify when they change
2292
2293         * src/dhcp-manager/nm-dhcp-manager.c
2294           src/dhcp-manager/nm-dhcp-manager.h
2295                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2296                         filter server-returned DHCP options into an NMDHCP4Config object
2297
2298 2008-07-16  Dan Williams  <dcbw@redhat.com>
2299
2300         * introspection/nm-device.xml
2301                 - Add device state reasons
2302
2303 2008-07-16  Dan Williams  <dcbw@redhat.com>
2304
2305         Patch from Roy Marples <roy@marples.name>
2306
2307         * configure.in
2308                 - Add --with-dhcp-client option
2309
2310         * src/dhcp-manager/Makefile.am
2311                 - pass DHCP_CLIENT_PATH on compile line
2312
2313         * src/dhcp-manager/nm-dhcp-manager.c
2314           src/dhcp-manager/nm-dhcp-manager.h
2315                 - Genericize for both dhcpcd and dhclient
2316
2317         * src/dhcp-manager/nm-dhcp-dhclient.c
2318                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2319
2320         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2321                 - Implement support for dhcpcd too
2322
2323 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2324
2325         * system-settings/src/nm-system-config-interface.c 
2326         (nm_system_config_interface_supports_add): Implement.
2327         (nm_system_config_interface_add_connection): Return a boolean to notify
2328         of errors.
2329
2330         * system-settings/src/nm-polkit-helpers.c: 
2331         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2332         a separate file.
2333
2334         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2335         Return an error when none of the plugins support add or if addition
2336         failed for some reason.
2337
2338         * system-settings/src/nm-system-config-error.h: 
2339         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2340         here from nm-polkit-helpers.[ch].
2341
2342         * system-settings/src/Makefile.am: Build new files.
2343
2344         * system-settings/plugins/keyfile/reader.c 
2345         (read_array_of_array_of_uint): Make it more general so that it would
2346         work for routes as well.
2347
2348         * system-settings/plugins/keyfile/writer.c
2349         (write_array_of_array_of_uint): Ditto.
2350         Fix the netmask/prefix writing.
2351
2352         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2353         boolean to notify errors.
2354
2355         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2356         Return more specific error.
2357         (delete): Ditto.
2358
2359 2008-07-11  Dan Williams  <dcbw@redhat.com>
2360
2361         Modify the NMDevice::state-changed signal to include the previous state
2362         and reason. Enables the applet to provide more information why device
2363         activation failed.
2364
2365 2008-07-09  Dan Williams  <dcbw@redhat.com>
2366
2367         * callouts/Makefile.am
2368           callouts/nm-avahi-autoipd-action.c
2369           callouts/nm-avahi-autoipd.conf
2370                 - avahi-autoipd callout to send options back to NM
2371
2372         * src/autoip.c
2373           src/autoip.h
2374                 - remove
2375
2376         * src/nm-device.c
2377           src/nm-device-private.h
2378           src/nm-manager.c
2379                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2380                         old custom stuff
2381
2382 2008-07-07  Dan Williams  <dcbw@redhat.com>
2383
2384         * system-settings/plugins/ifcfg-fedora/reader.c
2385                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2386                         handle PREFIX too; clean up
2387
2388 2008-07-07  Dan Williams  <dcbw@redhat.com>
2389
2390         Convert to using IPv4 prefixes instead of netmasks.
2391
2392 2008-07-03  Dan Williams  <dcbw@redhat.com>
2393
2394         * libnm-util/nm-setting-ip4-config.c
2395           libnm-util/nm-setting-ip4-config.h
2396                 - Add properties for DHCP Client Identifier and DHCP Hostname
2397
2398         * src/dhcp-manager/nm-dhcp-manager.c
2399           src/dhcp-manager/nm-dhcp-manager.h
2400                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2401                         setting as an argument to pass on to the dhclient config file
2402                         creation function
2403                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2404                         DHCP is torn down
2405                 - (dhclient_run): punt config file handling to create_dhclient_config()
2406                 - (create_dhclient_config): create an interface-specific dhclient
2407                         config file since there may need to be interface-specific options
2408                         passed to dhclient
2409                 - (merge_dhclient_config): merge normal distro dhclient config file and
2410                         add options from the connection
2411                 - (nm_dhcp_device_new): generate the interface specific dhclient
2412                         config file path once
2413                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2414                         dhclient config file path
2415
2416         * src/nm-device.c
2417                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2418                         DHCP manager when starting DHCP
2419
2420 2008-07-02  Dan Williams  <dcbw@redhat.com>
2421
2422         * libnm-util/nm-setting-8021x.c
2423                 - (verify): allow forcing the PEAP label to 0
2424
2425 2008-07-02  Dan Williams  <dcbw@redhat.com>
2426
2427         * introspection/nm-active-connection.xml
2428           introspection/nm-vpn-connection.xml
2429           libnm-glib/nm-active-connection.c
2430           src/nm-activation-request.c
2431           src/nm-active-connection.h
2432           src/vpn-manager/nm-vpn-connection.c
2433                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2434                         and libnm-glib API since sharing didn't get implemented that way
2435
2436 2008-07-02  Dan Williams  <dcbw@redhat.com>
2437
2438         * src/nm-device-wifi.c
2439                 - (can_scan): don't scan when a shared connection is activated since
2440                         that makes drivers mad (causing disconnects); also NM doesn't need
2441                         to hedge against disconnects by keeping up-to-date network topology
2442                         because the connection originates from the local machine, and thus
2443                         there should be no disconnects
2444
2445 2008-07-01  Dan Williams  <dcbw@redhat.com>
2446
2447         Fix mobile broadband username/password issues.  NM was never requesting
2448         mobile broadband secrets, nor was it passing back the username and password
2449         if it had them.
2450
2451         * marshallers/nm-marshal.list
2452                 - Add some new types for activation request objects
2453
2454         * src/nm-activation-request.c
2455           src/nm-activation-request.h
2456                 - (get_secrets_cb): pass the caller type in the signal
2457                 - (nm_act_request_request_connection_secrets): take a caller type, so
2458                         that GetSecrets() reply handlers know who asked for the secrets in
2459                         the first place; use secret hints too so the settings service can
2460                         figure out exactly what NM wants (ie, PIN or the PPP password)
2461
2462         * src/ppp-manager/nm-ppp-manager.c
2463           src/ppp-manager/nm-ppp-manager.h
2464                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2465                         detect needed secrets when the secret could be blank, like GSM/CDMA
2466                         passwords.  So always ask for secrets, and send a hint as to what
2467                         secret we really want.
2468                 - (nm_ppp_manager_update_secrets): make function more generic by making
2469                         the device specific class figure out the username and password, and
2470                         accept an error argument to return back over D-Bus
2471
2472         * src/nm-device-wifi.c
2473                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2474                         nm_act_request_request_connection_secrets()
2475                 - (real_connection_secrets_updated): update for 'caller' changes
2476
2477         * src/nm-device.c
2478           src/nm-device.h
2479                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2480                         for 'caller' changes
2481
2482         * src/nm-device-ethernet.c
2483                 - (real_connection_secrets_updated): update for 'caller' changes and
2484                         move logic for getting PPPoE username and password here before
2485                         calling nm_ppp_manager_update_secrets()
2486                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2487                         nm_act_request_request_connection_secrets()
2488
2489         * src/nm-cdma-device.c
2490                 - (real_connection_secrets_updated): pass username and password back
2491                         to the PPP manager when required
2492
2493         * src/nm-gsm-device.c
2494                 - (enter_pin): send the required secret name to the settings service
2495                 - (real_connection_secrets_updated): pass username and password back
2496                         to the PPP manager when required
2497
2498 2008-06-30  Dan Williams  <dcbw@redhat.com>
2499
2500         * src/nm-device-wifi.c
2501                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2502
2503 2008-06-30  Dan Williams  <dcbw@redhat.com>
2504
2505         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2506         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2507         priv->supplicant.iface.  When either condition is false, the device should
2508         transition back to UNAVAILABLE because it cannot be used.
2509
2510         * src/nm-device-wifi.c
2511                 - (constructor): cleanup; connect to supplicant manager here since the
2512                         supplicant manager is always around
2513                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2514                         ensure the supplicant manager is in the IDLE state
2515                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2516                         cancel any pending scans too
2517                 - (real_bring_up): don't set up the supplicnat interface here, because
2518                         we need the supplicant interface at times when the device may not
2519                         be "up"
2520                 - (real_take_down): just remove the periodic source
2521                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2522                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2523                         do anything if there's no supplicant interface
2524                 - (cleanup_association_attempt): cleanup
2525                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2526                         the interface enters the READY state; transition to UNAVAILABLE
2527                         state when the interface goes down because the device can't be used
2528                         without a supplicant interface
2529                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2530                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2531                         acquire the supplicant interface and transition to DISCONNECTED
2532                         if the radio isn't killed
2533                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2534                 - (state_changed_cb): release any existing supplicant interface; if the
2535                         radio is enabled then try to acquire a new supplicant interface;
2536                         if the radio is enabled and a supplicant interface has been acquired,
2537                         we can transition to DISCONNECTED
2538                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2539                         don't enable the radio, because HAL probably lied to us about the
2540                         killswitch being off.  If bringing the hardware up worked, then
2541                         try to grab a supplicant interface, and if that was successful,
2542                         transition to DISCONNECTED
2543
2544 2008-06-30  Dan Williams  <dcbw@redhat.com>
2545
2546         * src/supplicant-manager/nm-supplicant-interface.c
2547                 - (request_scan_results, nm_supplicant_interface_dispose,
2548                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2549                         the id of the timeout, not a GSource
2550
2551 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2552
2553         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2554         bunch of typoes introduced by "Patch from David Cantrell 
2555         <dcantrell@redhat.com> and me".
2556
2557 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2558
2559         * src/nm-serial-device.c: 
2560         * src/nm-gsm-device.c: 
2561         * src/nm-cdma-device.c: Move the pending call handling to a common location
2562         in serial device. Handle setting device state to failed in one place as well.
2563
2564 2008-06-29  Dan Williams <dcbw@redhat.com>
2565
2566         * src/nm-hal-manager.c
2567                 - Rework killswitch handling to query killswitch status immediately
2568                         when the first killswitch is added, so that rfkill state is
2569                         known as early as possible
2570                 - Also treat failure of GetPower() as rfkill when the dbus method
2571                         call times out (but not when the HAL callout returns an error)
2572
2573 2008-06-26  Dan Williams <dcbw@redhat.com>
2574
2575         Patch from David Cantrell <dcantrell@redhat.com> and me
2576
2577         * include/nm-dbus-glib-types.h
2578                 - Add IP6 address types
2579
2580         * libnm-util/Makefile.am
2581           libnm-util/nm-setting-ip6-config.c
2582           libnm-util/nm-setting-ip6-config.h
2583                 - Add IP6 settings object
2584
2585         * libnm-util/nm-connection.c
2586                 - (register_default_settings): register ip6 settings object
2587
2588         * libnm-util/nm-utils.c
2589           libnm-util/nm-utils.h
2590                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2591                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2592                         ip6 address conversion functions
2593         
2594 2008-06-26  Dan Williams <dcbw@redhat.com>
2595
2596         Patch from David Cantrell <dcantrell@redhat.com>
2597         
2598         * Use inet_ntop() and inet_pton() everwhere and check for errors
2599
2600 2008-06-26  Dan Williams <dcbw@redhat.com>
2601
2602         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2603
2604 2008-06-26  Dan Williams <dcbw@redhat.com>
2605
2606         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2607
2608         * src/nm-device-wifi.c
2609                 - (link_timeout_cb): don't ignore disconnects due to scanning
2610                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2611                         a longer timeout when scanning; avoids case where supplicant can't
2612                         find the AP and just keeps scanning forever but isn't connected
2613
2614 2008-06-26  Dan Williams <dcbw@redhat.com>
2615
2616         Patch from Michael Biebl <biebl@debian.org>
2617
2618         * Clean up build system stuff
2619
2620 2008-06-23  Christian Persch  <chpe@gnome.org>
2621
2622         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2623         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2624         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2625         (impl_get_object):
2626         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2627         (impl_get_object):
2628         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2629         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2630         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2631         (impl_get_object):
2632         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2633         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2634         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2635         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2636         * vpn-daemons/pptp/properties/vpnui_opt.c:
2637         (vpnui_opt_connect_signals):
2638         * vpn-daemons/pptp/properties/vpnui_opt.h:
2639         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2640         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2641         deprecated gtk type macros. Bug #539325.
2642
2643 2008-06-20  Dan Williams  <dcbw@redhat.com>
2644
2645         * libnm-glib/nm-vpn-plugin-ui-interface.c
2646           libnm-glib/nm-vpn-plugin-ui-interface.h
2647                 - 'validity-changed' -> 'changed' to work better with the connection
2648                         editor.  Plugin UI widgets should emit 'changed' whenever their
2649                         UI values change in a meaningful way.
2650                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2651                         update_connection member now returns validity of the UI widget
2652
2653 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2654
2655         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2656
2657 2008-06-17  Dan Williams  <dcbw@redhat.com>
2658
2659         * libnm-glib/nm-vpn-plugin-ui-interface.c
2660           libnm-glib/nm-vpn-plugin-ui-interface.h
2661                 - Add "desc" property for longer descriptions of the VPN plugin
2662
2663 2008-06-16  Dan Williams  <dcbw@redhat.com>
2664
2665         * configure.in
2666           libnm-glib/libnm_glib_vpn.pc.in
2667                 - add a .pc file for libnm_glib_vpn
2668
2669         * libnm-glib/nm-vpn-plugin-ui-interface.c
2670           libnm-glib/nm-vpn-plugin-ui-interface.h
2671                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2672                         rework it substantially
2673
2674 2008-06-12  Dan Williams  <dcbw@redhat.com>
2675
2676         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2677         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2678         returns a descriptive GError when verification fails.
2679
2680 2008-06-11  Dan Williams  <dcbw@redhat.com>
2681
2682         Patch from Tambet Ingo <tambet@gmail.com>
2683
2684         * libnm-util/nm-setting-gsm.c
2685                 - (verify): validate APN
2686
2687         * src/nm-gsm-device.c
2688                 - (manual_registration_done): start setting APN if needed
2689                 - (set_apn, set_apn_done): set the APN
2690                 - (do_dial): use the APN when dialing
2691
2692 2008-06-11  Dan Williams  <dcbw@redhat.com>
2693
2694         * src/NetworkManagerSystem.c
2695                 - (nm_system_device_set_ip4_route,
2696                    nm_system_device_replace_default_ip4_route): check for the right
2697                         return value from rtnl_route_add() to know when to add a gateway
2698                         route (from Tambet)
2699
2700 2008-06-11  Dan Williams  <dcbw@redhat.com>
2701
2702         * src/NetworkManagerPolicy.c
2703                 - do_ipt_cmd -> do_cmd
2704                 - (sharing_init): use do_cmd() instead of system()
2705
2706 2008-06-10  Dan Williams  <dcbw@redhat.com>
2707
2708         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2709         and use "wifi" everwhere instead.
2710
2711 2008-06-10  Dan Williams  <dcbw@redhat.com>
2712
2713         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2714
2715 2008-06-10  Dan Williams  <dcbw@redhat.com>
2716
2717         Patch from Tambet Ingo <tambet@gmail.com>
2718
2719         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2720                 changes.
2721
2722         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2723                 a signal to emit these changes over dbus.
2724
2725         * src/Makefile.am: Genereate nm-serial-device-glue.
2726
2727         * libnm-glib/nm-serial-device.[ch]: Implement.
2728
2729         * libnm-glib/nm-cdma-device.[ch]
2730           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2731
2732         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2733
2734         * introspection/nm-device-serial.xml: Implement.
2735
2736         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2737
2738         * introspection/Makefile.am: Add nm-device-serial.xml.
2739
2740         * include/NetworkManager.h: Add a DBus interface for serial device.
2741
2742 2008-06-10  Dan Williams  <dcbw@redhat.com>
2743
2744         * configure.in
2745                 - Add TARGET_* define to config.h to distinguish distros
2746
2747         * src/dhcp-manager/nm-dhcp-manager.c
2748                 - (dhclient_run): use distro-specific path for dhclient config file
2749
2750 2008-06-09  Dan Williams  <dcbw@redhat.com>
2751
2752         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2753           src/dnsmasq-manager/nm-dnsmasq-manager.h
2754                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2755                         calculate the addresses passed to dnsmasq instead of hard-coding
2756                         them
2757
2758         * src/nm-device.c
2759                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2760                         IP addresses for shared connections to guard against shared
2761                         connection address collisions
2762                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2763                         error conditions
2764                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2765                         the dnsmasq manager
2766
2767 2008-06-09  Dan Williams  <dcbw@redhat.com>
2768
2769         * src/NetworkManagerPolicy.c
2770                 - (update_routing_and_dns): set the default connection _after_ unsetting
2771                         default on all non-default connections so that two connections can
2772                         never be default at the same time
2773                 - (device_state_changed): start and stop connection sharing when
2774                         needed
2775                 - (active_connection_default_changed): restart or stop sharing when
2776                         the default connection changes to keep shared connections always
2777                         NAT-ed through the default connection
2778                 - (check_sharing): handle activation/deactivation of shared connections
2779                 - (sharing_restart): atom-bomb approach to connection sharing until we
2780                         can use libnl; reinit all sharing when the default connection or
2781                         shared connections change
2782                 - (sharing_init, sharing_stop): evil functions that init and deinit
2783                         iptables
2784
2785 2008-06-09  Dan Williams  <dcbw@redhat.com>
2786
2787         * src/nm-activation-request.c
2788           src/nm-activation-request.h
2789                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2790                    nm_act_request_get_device): new functions to facilitate connection
2791                         sharing
2792
2793 2008-06-09  Dan Williams  <dcbw@redhat.com>
2794
2795         * src/nm-device.c
2796                 - (clear_act_request): unset the 'default' property of the activation
2797                         request when clearing it to ensure the property changed signal gets
2798                         delivered and handled
2799
2800 2008-06-09  Dan Williams  <dcbw@redhat.com>
2801
2802         * libnm-glib/nm-device-802-11-wireless.c
2803                 - (access_point_removed_proxy): actually unref the AP after removing
2804                         it from the device's AP list.  Fixes refcounting bug for APs that
2805                         caused them to get mixed up in the applet's menu.
2806
2807 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2808
2809         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2810         (nm_dhcp_device_destroy): Destroy the device options hash table.
2811
2812 2008-06-06  Dan Williams <dcbw@redhat.com>
2813
2814         * system-settings/src/nm-polkit-helpers.c
2815                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2816                         unref the context if the initialization fails; also avoid spew when
2817                         the error isn't set
2818
2819 2008-06-06  Dan Williams <dcbw@redhat.com>
2820
2821         Patch from Tambet Ingo  <tambet@gmail.com>
2822
2823         * src/NetworkManagerSystem.c
2824           src/NetworkManagerSystem.h
2825                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2826                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2827                 - (nm_system_device_set_ip4_route): clean up
2828                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2829
2830         * src/nm-device.c
2831                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2832
2833         * src/vpn-manager/nm-vpn-connection.c
2834                 - (ip_address_to_string): new function
2835                 - (print_vpn_config): use ip_address_to_string
2836                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2837                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2838
2839         * include/NetworkManagerVPN.h
2840                 - Add 'routes' key
2841
2842 2008-06-05  Dan Williams <dcbw@redhat.com>
2843
2844         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2845
2846         * test/nm-tool.c
2847                 - Show which device is the default device
2848
2849 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2850
2851         Fix memory leaks.
2852
2853         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2854         Free data returned from dbus method call.
2855
2856         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2857         dbus_g_method_get_sender() returns a duplicated string, free it 
2858         when done.
2859         (check_polkit_privileges): Looks like policykit sometimes returns
2860         error and non-null return value, don't leak errors in that case.
2861
2862         * system-settings/src/main.c (find_plugin): Don't leak existing 
2863         plugin names.
2864         (load_stuff): Don't leak device list and list items.
2865         (have_connection_for_device): Don't leak connection list.
2866
2867         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2868         Free the data received from g_keyfile_get_*.
2869
2870         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2871         the key when the security object is updated.
2872
2873         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2874         Free data returned from dbus method call.
2875         (iface_state_cb): Ditto.
2876         (add_network_cb): Ditto.
2877         (nm_supplicant_interface_add_cb): Don't make another copy of already
2878         duplicated object path.
2879         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2880         when done.
2881
2882         * src/supplicant-manager/nm-supplicant-config.c 
2883         (ADD_STRING_LIST_VAL): Fix a memory leak.
2884
2885         * src/nm-manager.c (free_get_settings_info): Free the allocated
2886         memory slice.
2887         (list_connections_cb): Free data returned from dbus method call.
2888         (system_settings_get_unmanaged_devices_cb): Ditto.
2889
2890         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2891
2892         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2893         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2894         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2895         of the GList.
2896
2897         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2898         arguments after the object is created.
2899
2900 2008-06-04  Dan Williams <dcbw@redhat.com>
2901
2902         * libnm-util/Makefile.am
2903                 - Don't distribute nm-param-spec-specialized.h
2904
2905 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2906
2907         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2908
2909         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2910         NMIP4Address, update the getters and setters.
2911
2912         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2913         Use the updated NMIP4Config routes api.
2914
2915         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2916         static routes as well.
2917
2918         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2919         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2920         routes api.
2921
2922 2008-05-30  Dan Williams <dcbw@redhat.com>
2923
2924         * src/named-manager/nm-named-manager.c
2925           src/named-manager/nm-named-manager.h
2926                 - Remove stale/obsolete bits for controlling bind over DBus
2927
2928 2008-05-29  Dan Williams <dcbw@redhat.com>
2929
2930         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2931           src/dnsmasq-manager/nm-dnsmasq-manager.h
2932                 - (nm_dnsmasq_manager_new): move iface argument here
2933                 - (constructor): remove, not needed
2934                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2935                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2936
2937         * src/nm-device.c
2938                 - (real_act_stage4_get_ip4_config,
2939                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2940                         changes
2941
2942 2008-05-29  Dan Williams <dcbw@redhat.com>
2943
2944         * src/nm-device.c
2945                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2946                         something happens to dnsmasq
2947                 - (nm_device_new_ip4_shared_config): new function; create a new
2948                         ip4-config for shared connections.  Shared connections always use a
2949                         fixed static IP address.
2950                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2951                         autoip connections by actually using the returned ip4-config and
2952                         not leaking it
2953                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2954                         connections
2955                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2956                         if its active
2957
2958 2008-05-29  Dan Williams <dcbw@redhat.com>
2959
2960         * src/nm-device-802-11-wireless.c
2961                 - (real_get_best_auto_connection): auto-activate 'shared' method
2962                         connections too
2963
2964 2008-05-29  Dan Williams <dcbw@redhat.com>
2965
2966         * libnm-util/nm-setting-ip4-config.c
2967           libnm-util/nm-setting-ip4-config.h
2968                 - Add a 'shared' method to indicate that this connection should be
2969                         brought up with a DHCP and proxy DNS server to facilitate
2970                         connection sharing.
2971                 - (verify): 'shared' method doesn't allow DNS or searches either
2972
2973 2008-05-29  Dan Williams <dcbw@redhat.com>
2974
2975         * configure.in
2976           src/Makefile.am
2977           src/dnsmasq-manager/Makefile.am
2978           src/dnsmasq-manager/nm-dnsmasq-manager.c
2979           src/dnsmasq-manager/nm-dnsmasq-manager.h
2980                 - Add a dnsmasq daemon manager to facilitate connection sharing
2981
2982 2008-05-29  Dan Williams <dcbw@redhat.com>
2983
2984         * src/nm-device-private.h
2985                 - Remove unused prototypes and clean up
2986
2987         * src/nm-device.c
2988                 - Remove anything related to system_config_data, which is no longer used
2989                 - (nm_device_new_ip4_autoip_config): make static
2990
2991 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2992
2993         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2994         (file_changed): Fix a bug where suse system settings plugin didn't
2995         update the connections automatically when the files changed.
2996
2997 2008-05-28  Dan Williams  <dcbw@redhat.com>
2998
2999         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3000
3001 2008-05-28  Dan Williams  <dcbw@redhat.com>
3002
3003         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3004
3005         * src/NetworkManagerSystem.c
3006                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3007                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3008                         was causing -EINVAL errors since the libnl code actually does flush
3009                         the routes on VPN interfaces now
3010
3011         * src/backends/NetworkManagerArch.c
3012           src/backends/NetworkManagerDebian.c
3013           src/backends/NetworkManagerFrugalware.c
3014           src/backends/NetworkManagerGeneric.c
3015           src/backends/NetworkManagerGentoo.c
3016           src/backends/NetworkManagerMandriva.c
3017           src/backends/NetworkManagerPaldo.c
3018           src/backends/NetworkManagerRedHat.c
3019           src/backends/NetworkManagerSlackware.c
3020           src/backends/NetworkManagerSuSE.c
3021                 - (nm_system_device_flush_ip4_routes,
3022                    nm_system_device_flush_ip4_routes_with_iface): remove
3023
3024 2008-05-28  Dan Williams  <dcbw@redhat.com>
3025
3026         * libnm-util/nm-setting-wireless.c
3027           libnm-util/nm-setting-wireless.h
3028                 - (set_property, get_property, nm_setting_wireless_class_init): add the
3029                         'adhoc-create' property, which when TRUE indicates that NM should
3030                         create this connection as an adhoc wifi network if it's not found
3031                         as an adhoc network during scanning.  Can be used to auto-create
3032                         adhoc networks when used in combination with autoconnect.
3033
3034 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3035
3036         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3037
3038         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3039         checked, it doesn't work on some devices.
3040
3041 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3042
3043         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
3044         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3045
3046         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3047         Use inet_aton() everywhere to improve error detection.
3048         Don't fall back to 'dhcp_server_identifier' if the gateway is not
3049         provided.
3050
3051 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3052
3053         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3054         Fix a typo.
3055
3056 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3057
3058         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3059         reference counting issue.
3060
3061 2008-05-23  Dan Williams  <dcbw@redhat.com>
3062
3063         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3064
3065         * src/backends/NetworkManagerGeneric.c
3066                 - (nm_generic_enable_loopback): use libnl
3067
3068 2008-05-23  Dan Williams  <dcbw@redhat.com>
3069
3070         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3071
3072         * src/NetworkManagerSystem.h
3073           src/backends/NetworkManagerArch.c
3074           src/backends/NetworkManagerDebian.c
3075           src/backends/NetworkManagerFrugalware.c
3076           src/backends/NetworkManagerGentoo.c
3077           src/backends/NetworkManagerMandriva.c
3078           src/backends/NetworkManagerPaldo.c
3079           src/backends/NetworkManagerRedHat.c
3080           src/backends/NetworkManagerSlackware.c
3081           src/backends/NetworkManagerSuSE.c
3082                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3083                    nm_system_flush_arp_cache): remove, unused
3084
3085         * src/backends/NetworkManagerGeneric.c
3086           src/backends/NetworkManagerGeneric.h
3087                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3088                    nm_generic_flush_arp_cache): remove, unused
3089
3090 2008-05-23  Dan Williams  <dcbw@redhat.com>
3091
3092         * system-settings/plugins/ifcfg-fedora/reader.c
3093                 - (make_ip4_setting): honor PEERDNS setting
3094
3095 2008-05-23  Dan Williams  <dcbw@redhat.com>
3096
3097         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3098
3099         * src/NetworkManagerSystem.c
3100                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3101                         libnl
3102
3103         * src/backends/NetworkManagerArch.c
3104           src/backends/NetworkManagerDebian.c
3105           src/backends/NetworkManagerFrugalware.c
3106           src/backends/NetworkManagerGentoo.c
3107           src/backends/NetworkManagerMandriva.c
3108           src/backends/NetworkManagerPaldo.c
3109           src/backends/NetworkManagerRedHat.c
3110           src/backends/NetworkManagerSlackware.c
3111           src/backends/NetworkManagerSuSE.c
3112                 - (nm_system_device_flush_ip4_addresses,
3113                    nm_system_device_flush_ip4_addresses_with_iface): remove
3114
3115         * src/backends/NetworkManagerGeneric.c
3116                 - (nm_generic_device_flush_ip4_addresses,
3117                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3118
3119 2008-05-23  Dan Williams  <dcbw@redhat.com>
3120
3121         * src/supplicant-manager/nm-supplicant-settings-verify.c
3122                 - Switch 'bssid' from bytes to keyword type
3123                 - (validate_type_keyword): allow NULL keyword lists
3124
3125         * src/supplicant-manager/nm-supplicant-config.c
3126                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3127                         a byte array to string form, which is what the supplicant expects
3128
3129 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3130
3131         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3132         information received from DHCP.
3133
3134         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3135         to make it possible to ignore the DNS information (both servers and 
3136         searches) returned by DHCP server.
3137
3138         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3139         name servers and searches if "ignore_dhcp_dns" is set.
3140
3141         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3142         (nm_ip4_config_reset_searches): Implement.
3143
3144 2008-05-22  Dan Williams  <dcbw@redhat.com>
3145
3146         Remove anything mDNS related.  This is better done from a distro-specific
3147         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3148         avahi, since avahi can handle interface changes just fine using netlink.
3149
3150         * configure.in
3151                 - Remove --with-mdns-provider
3152
3153         * src/NetworkManagerPolicy.c
3154                 - (global_state_changed): don't restart the mdns provider
3155
3156         * src/NetworkManagerSystem.h
3157           src/backends/NetworkManagerArch.c
3158           src/backends/NetworkManagerDebian.c
3159           src/backends/NetworkManagerFrugalware.c
3160           src/backends/NetworkManagerGentoo.c
3161           src/backends/NetworkManagerMandriva.c
3162           src/backends/NetworkManagerPaldo.c
3163           src/backends/NetworkManagerRedHat.c
3164           src/backends/NetworkManagerSlackware.c
3165           src/backends/NetworkManagerSuSE.c
3166                 - (nm_system_restart_mdns_responder): remove
3167
3168         * src/backends/NetworkManagerGeneric.c
3169           src/backends/NetworkManagerGeneric.h
3170                 - (nm_generic_restart_mdns_responder): remove
3171
3172 2008-05-22  Dan Williams  <dcbw@redhat.com>
3173
3174         * configure.in
3175                 - clean up crypto options; just use --with-crypto=nss or
3176                         --with-crypto=gnutls
3177
3178 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3179
3180         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3181         anymore, do it right away.
3182
3183 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3184
3185         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3186         serial device open when we're not connecting or connected.
3187
3188         * src/nm-cdma-device.c (device_state_changed): Ditto.
3189
3190 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3191
3192         Don't remove all devices on waking up, sync with HAL.
3193
3194         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3195         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3196         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3197
3198 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3199
3200         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3201         If the default gateway is unreachable, add a route to gateway and try
3202         again.
3203
3204 2008-05-20  Dan Williams  <dcbw@redhat.com>
3205
3206         * system-settings/plugins/ifcfg-fedora/reader.c
3207                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3208
3209 2008-05-19  Dan Williams  <dcbw@redhat.com>
3210
3211         * system-settings/plugins/ifcfg-fedora/reader.c
3212                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3213                         if the ifcfg doesn't specify one (rh #446527)
3214
3215 2008-05-19  Dan Williams  <dcbw@redhat.com>
3216
3217         Make the system settings service exit when the bus goes away.  Since it's
3218         a bus-activated service, it's lifetime is limited to the bus that activated
3219         it (rh #444976).
3220
3221         * system-settings/src/Makefile.am
3222           system-settings/src/nm-system-config-hal-manager-private.h
3223                 - Remove nm-system-config-hal-manager-private.h
3224
3225         * system-settings/src/nm-system-config-hal-manager.c
3226                 - (nm_system_config_hal_manager_reinit_dbus,
3227                    nm_system_config_hal_manager_deinit_dbus): remove
3228
3229         * system-settings/src/main.c
3230                 - (dbus_reconnect): remove
3231                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3232                 - (destroy_cb): just quit when the bus goes away
3233                 - (start_dbus_service, dbus_init): simplify
3234                 - (main): destroy the wired devices hash table after destroying
3235                         the HAL manager so we don't have to disconnect signals from the
3236                         HAL manager
3237
3238 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3239
3240         Move crypto functions from nm-applet to libnm-util.
3241
3242         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3243         (nm_setting_802_1x_set_client_cert)
3244         (nm_setting_802_1x_set_phase2_ca_cert)
3245         (nm_setting_802_1x_set_phase2_client_cert)
3246         (nm_setting_802_1x_set_private_key)
3247         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3248         file (or private key and it's password), read the certificate data.
3249
3250         * libnm-util/crypto_nss.c: 
3251         * libnm-util/crypto_gnutls.c: 
3252         * libnm-util/crypto.[ch]: Move here from nm-applet.
3253
3254         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3255
3256         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3257         Imlement WPA-EAP configuration reading from sysconfig.
3258
3259 2008-05-16  Dan Williams  <dcbw@redhat.com>
3260
3261         * src/nm-device-802-11-wireless.c
3262                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3263                         wireless
3264
3265 2008-05-14  Dan Williams  <dcbw@redhat.com>
3266
3267         Fix Linus' bug in rh #134886
3268
3269         * src/nm-device-802-3-ethernet.c
3270                 - (constructor): request initial carrier state
3271
3272         * src/nm-netlink-monitor.c
3273                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3274                         signals after refilling the link cache.  Because the refill is a 
3275                         synchronous operation, the normal message hander won't get called
3276                         since libnl has already consumed the messages.
3277                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3278
3279 2008-05-14  Dan Williams  <dcbw@redhat.com>
3280
3281         * src/NetworkManagerSystem.c
3282                 - (nm_system_device_is_up_with_iface): clean up
3283
3284 2008-05-13  Dan Williams  <dcbw@redhat.com>
3285
3286         Fix refcounting issues over sleep/wake when a VPN connection was active that
3287         caused NM to try registering an object path for a device upon wake that was
3288         the same as an already registered object path.
3289
3290         * src/nm-device.c
3291                 - (nm_device_take_down): properly handle cases where the device is
3292                         no longer active but was just active, and therefore must be
3293                         deactivated.  When a device moves to unmanaged mode, this function
3294                         previously would not deactivate the device, because the state was
3295                         already unmanaged by the time this function was called.
3296
3297         * src/vpn-manager/nm-vpn-connection.c
3298                 - (device_state_changed): properly handle multiple devices states in
3299                         which the device is now deactivated.  Code previously didn't handle
3300                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3301                         UNMANAGED states.
3302
3303 2008-05-13  Dan Williams  <dcbw@redhat.com>
3304
3305         * src/nm-device-private.h
3306           src/nm-device.c
3307                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3308
3309         * src/nm-device-802-11-wireless.c
3310                 - (nm_device_802_11_wireless_set_enabled): take devices up
3311                         and down as appropriate for the rfkill state
3312
3313 2008-05-13  Dan Williams  <dcbw@redhat.com>
3314
3315         * marshallers/nm-marshal.list
3316                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3317
3318         * system-settings/plugins/ifcfg-fedora/Makefile.am
3319           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3320           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3321                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3322                         events.  Solely for use watching ifcfg files to pick up changes
3323                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3324
3325         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3326                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3327                         file contents change
3328                 - (finalize): clean up inotify watches
3329                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3330                         and the connection ifcfg for changes on their hardlinks
3331                 - (files_changed_cb): proxy the changed signal back out to listeners
3332
3333         * system-settings/plugins/ifcfg-fedora/plugin.c
3334                 - (dir_changed): 
3335                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3336                         changes
3337                 - (read_one_connection): connect to change signals on the new connection
3338                 - (dir_changed, connection_changed_handler,
3339                    handle_connection_remove_or_new): break out connection change
3340                         handling and connection new/remove handling so it can be used from
3341                         both the GFileMonitor callback and the NMIfcfgConnection changed
3342                         signals
3343
3344         * system-settings/plugins/ifcfg-fedora/reader.c
3345           system-settings/plugins/ifcfg-fedora/reader.h
3346                 - (connection_from_file): return the keyfile path the connection would use
3347
3348 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3349
3350         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3351         single PolKitContext which is shared by all. PolKitContext::unref leaks
3352         just about everything, including all open file descriptiors and results
3353         in 99% cpu usage when data arrives to any of the fds that don't belong
3354         to any context anymore.
3355
3356 2008-05-12  Dan Williams  <dcbw@redhat.com>
3357
3358         * gfilemonitor/glocaldirectorymonitor.c
3359           gfilemonitor/glocaldirectorymonitor.h
3360                 - (g_local_directory_monitor_constructor): actually subscribe to the
3361                         watch
3362                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3363
3364         * gfilemonitor/glocalfilemonitor.c
3365           gfilemonitor/glocalfilemonitor.h
3366                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3367                 - (_g_local_file_monitor_new): ensure that inotify is started up
3368
3369 2008-05-11  Dan Williams  <dcbw@redhat.com>
3370
3371         * configure.in
3372                 - record PolicyKit version
3373
3374         * system-settings/src/nm-polkit-helpers.c
3375                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3376                         with PolicyKit <= 0.6
3377
3378 2008-05-11  Dan Williams  <dcbw@redhat.com>
3379
3380         Update Fedora system-settings plugin to support latest API and use
3381         GFileMonitor rather than home-rolled inotify code.
3382
3383         * system-settings/plugins/ifcfg-fedora/Makefile.am
3384           system-settings/plugins/ifcfg-fedora/common.h
3385           system-settings/plugins/ifcfg-fedora/plugin.c
3386                 - Update to latest system settings plugin API; use GIO instead of
3387                         custom inotify code; use NMIfcfgConnection objects instead of
3388                         ConnectionData structures tacked onto NMConnection objects
3389
3390         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3391           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3392                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3393                         connections
3394
3395         * system-settings/plugins/ifcfg-fedora/reader.c
3396           system-settings/plugins/ifcfg-fedora/reader.h
3397                 - Move ifcfg parsing bits here from parser.c
3398
3399         * system-settings/plugins/ifcfg-fedora/parser.c
3400           system-settings/plugins/ifcfg-fedora/parser.h
3401                 - Remove; most code moved to reader.c
3402
3403 2008-05-11  Dan Williams  <dcbw@redhat.com>
3404
3405         * configure.in
3406           Makefile.am
3407           gfilemonitor/*
3408                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3409                         implementation, so that the same change monitoring code can be used
3410                         on systems without glib-2.14 (like Fedora 8)
3411
3412         * system-settings/plugins/keyfile/Makefile.am
3413           system-settings/plugins/keyfile/plugin.c
3414           system-settings/plugins/ifcfg-suse/Makefile.am
3415           system-settings/plugins/ifcfg-suse/plugin.c
3416                 - Use private gfilemonitor code if GIO is not present
3417
3418 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3419
3420         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3421         NMExportedConnection's 'update' and 'delete' and return error with
3422         descriptive message.
3423
3424 2008-05-08  Dan Williams  <dcbw@redhat.com>
3425
3426         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3427
3428         * src/nm-gsm-device.c
3429           src/nm-cdma-device.c
3430                 - (real_get_best_auto_connection): implement; allow autoconnection
3431                         to GSM & CDMA devices
3432
3433 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3434
3435         Use PolicyKit to authorize the system settings' AddConnection method
3436         and the system settings connections' Update and Delete methods.
3437         
3438         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3439         (impl_exported_connection_delete, nm_exported_connection_update)
3440         (nm_exported_connection_delete): Return boolean and fill GError
3441         to notify the callers of the reasons why it might have failed.
3442
3443         * libnm-glib/nm-dbus-settings-system.c
3444         (nm_dbus_settings_system_add_connection): Return the error from dbus
3445         call so that the callers can see why it failed.
3446
3447         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3448         signatures.
3449
3450         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3451
3452         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3453         abstract base class that checks PolicyKit permissions.
3454
3455         * system-settings/src/dbus-settings.c:
3456         (impl_settings_add_connection): Check the policy before carring out
3457         the request.
3458
3459         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3460         Inherit from NMSysconfigConnection, check the policies before
3461         allowing updating or removing.
3462
3463         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3464         Inherit from NMSysconfigConnection.
3465
3466         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3467         "Delete" methods with async flag so that the implementations can get
3468         access to DBusGMethodInvocation.
3469
3470         * system-settings/src/dbus-settings.c 
3471         (settings_add_connection_check_privileges): Implement.
3472         (impl_settings_add_connection): Check the privileges before adding a new
3473         connection. Improve error reporting.
3474
3475         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3476         async so that the implementation can access DBusGMethodInvocation.
3477
3478         * configure.in: Check for PolicyKit.
3479
3480         * policy/org.freedesktop.network-manager-settings.system.policy: 
3481         New file.
3482
3483         * policy/Makefile.am: Install the policy file.
3484
3485         * configure.in: Add 'policy' subdir.
3486
3487 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3488
3489         Rewrite the suse system settings plugin.
3490
3491         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3492
3493         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3494
3495         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3496
3497         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3498
3499         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3500
3501         * system-settings/src/main.c (load_plugins): Improve error reporting.
3502
3503         * system-settings/src/sha1.[ch] Add.
3504
3505         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3506
3507 2008-05-07  Dan Williams  <dcbw@redhat.com>
3508
3509         * system-settings/plugins/keyfile/reader.c
3510                 - (read_one_setting_value): handle IP address items separately
3511                 - (read_array_of_uint): read IPv4 DNS option as a string array
3512                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3513                         array
3514
3515         * system-settings/plugins/keyfile/writer.c
3516                 - (write_setting_value): handle IP address items separately
3517                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3518                         not an array of uint, so that it's user-editable
3519                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3520                         arrays, so they are user-editable
3521
3522 2008-05-07  Dan Williams  <dcbw@redhat.com>
3523
3524         * system-settings/plugins/keyfile/Makefile.am
3525                 - Change location of the keyfile plugin settings to
3526                         /etc/NetworkManager/system-connections
3527
3528 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3529
3530         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3531
3532         * system-settings/plugins/keyfile/plugin.c: Work with
3533         NMKeyfileConnections.
3534
3535         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3536         Plugins are supposed to return NMExportedConnections now and handle the
3537         updated(), removed(), and GetSecrets().
3538         Store the internal list of connections in hash table to make it easier
3539         to find duplicates.
3540
3541 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3542
3543         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3544         for multiple IP addresses.
3545
3546 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3547
3548         Patch from André Lemos.
3549
3550         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3551         corruption.
3552
3553 2008-05-06  Dan Williams  <dcbw@redhat.com>
3554
3555         * src/dhcp-manager/nm-dhcp-manager.c
3556                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3557                         NMIP4Config to support multiple IP addresses
3558
3559         * src/NetworkManagerUtils.c
3560                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3561
3562         * src/nm-ip4-config.c
3563           src/nm-ip4-config.h
3564                 - Store a list of IPv4 address/netmask/gateway tuples
3565                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3566                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3567                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3568                    nm_ip4_config_set_address): remove
3569                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3570                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3571                         new functions; handle multiple IPv4 addresses
3572
3573         * src/nm-device.c
3574           src/ppp-manager/nm-ppp-manager.c
3575           src/vpn-manager/nm-vpn-connection.c
3576           src/NetworkManagerPolicy.c
3577           test/nm-tool.c
3578           libnm-glib/libnm-glib-test.c
3579                 - update for changes to NMIP4Config for multiple IPv4 addresses
3580
3581         * src/NetworkManagerSystem.c
3582                 - (nm_system_device_set_ip4_route): don't add the route if any address
3583                         is on the same subnet as the destination
3584                 - (check_one_address): ignore the exact match, just match family and
3585                         interface index
3586                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3587                         an interface
3588                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3589                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3590
3591         * introspection/nm-ip4-config.xml
3592                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3593                 - Add 'addresses' property which is an array of (uuu) tuples of
3594                         address/netmask/gateway
3595
3596         * libnm-util/nm-setting-ip4-config.c
3597                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3598
3599         * libnm-glib/nm-ip4-config.c
3600           libnm-glib/nm-ip4-config.h
3601                 - Handle D-Bus interface changes to support multiple IP addresses
3602
3603 2008-05-06  Dan Williams  <dcbw@redhat.com>
3604
3605         * libnm-util/nm-utils.c
3606           libnm-util/nm-utils.h
3607                 - (nm_utils_ip4_addresses_from_gvalue,
3608                    nm_utils_ip4_addresses_to_gvalue): new functions
3609
3610 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3611
3612         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3613         the returned connection paths.
3614
3615 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3616
3617         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3618         "PropertiesChanged" signal signature.
3619
3620         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3621         defined in nm-dbus-glib-types.h.
3622         Don't register the connection on dbus, we're a proxy class to 
3623         communicate with an already registered connection over dbus.
3624
3625 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3626
3627         Implement new subclasses of NMSettings and NMExportedConnection to make
3628         it easier for the applet to access and modify system settings.
3629
3630         * libnm-glib/nm-dbus-connection.[ch]:
3631         * libnm-glib/nm-dbus-settings.[ch]:
3632         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3633
3634         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3635         bindings and glue.
3636
3637         * include/NetworkManager.h: Define the system settings DBus interface.
3638
3639 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3640
3641         Implement additional C API for exported connections to make them identical
3642         with the DBus API. Change the (list_connections) virtual function to be
3643         more usable from C - instead of requiring implementers to return a GPtrArray
3644         of dbus paths, return a list of connections.
3645
3646         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3647         (nm_settings_list_connections):
3648         (nm_exported_connection_new):
3649         (nm_exported_connection_update):
3650         (nm_exported_connection_delete): Implement.
3651
3652         (impl_settings_list_connections):
3653         (impl_exported_connection_update):
3654         (impl_exported_connection_delete): Use the new public functions to make 
3655         sure the C and dbus interfaces stay in sync.
3656
3657         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3658         connections.
3659
3660 2008-05-02  Dan Williams  <dcbw@redhat.com>
3661
3662         * system-settings/plugins/ifcfg-fedora/plugin.c
3663                 - (dispose): use right unref call on the DBusGConnection
3664
3665 2008-05-02  Dan Williams  <dcbw@redhat.com>
3666
3667         * src/nm-serial-device.c
3668                 - (find_terminator): don't compare the whole line, just the size of the
3669                         terminator, since some modems put stuff after the terminator, like
3670                         "CONNECT 9600"
3671
3672 2008-05-01  Dan Williams  <dcbw@redhat.com>
3673
3674         Patch from Michael Biebl <biebl@debian.org>
3675
3676         * callouts/Makefile.am
3677           callouts/org.freedesktop.nm_dispatcher.service.in
3678           system-settings/src/Makefile.am
3679           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3680                 - use the right install location for dbus-activated stuff
3681
3682 2008-04-30  Dan Williams  <dcbw@redhat.com>
3683
3684         * src/nm-gsm-device.c
3685                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3686                         PIN or PUK
3687
3688 2008-04-30  Dan Williams  <dcbw@redhat.com>
3689
3690         * src/nm-manager.c
3691                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3692
3693 2008-04-30  Dan Williams  <dcbw@redhat.com>
3694
3695         * src/nm-device-802-3-ethernet.c
3696           src/nm-device-802-11-wireless.c
3697                 - (real_is_up): return true instead of chaining up to unimplemented
3698                         parent method
3699
3700 2008-04-30  Dan Williams  <dcbw@redhat.com>
3701
3702         * src/NetworkManagerSystem.c
3703           src/NetworkManagerSystem.h
3704                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3705                         functions to check device flags for IFF_UP
3706
3707         * src/nm-serial-device.c
3708                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3709                         implement is_up
3710
3711         * src/nm-device-802-3-ethernet.c
3712           src/nm-device-802-11-wireless.c
3713                 - (real_hw_is_up): call nm_system_device_is_up()
3714
3715         * src/nm-device.c
3716                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3717                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3718                         does not implement
3719
3720 2008-04-29  Dan Williams  <dcbw@redhat.com>
3721
3722         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3723
3724         * marshallers/nm-marshal.list
3725                 - Add marshaller
3726
3727         * src/NetworkManager.c
3728                 - (main): let the NMManager handle the NMHalManager
3729
3730         * src/nm-hal-manager.c
3731           src/nm-hal-manager.h
3732                 - convert to a GObject, and emit singals when stuff changes.  Let the
3733                         NMManager handle the signals, instead of the NMHalManager calling
3734                         into the NMManager.  
3735
3736         * src/nm-manager.c
3737           src/nm-manager.h
3738                 - (remove_one_device): consolidate device removals here
3739                 - (dispose): use remove_one_device()
3740                 - (nm_manager_get_device_by_udi): make static
3741                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3742                         manager for devices at startup or wakeup time
3743                 - (nm_manager_new): create and monitor the HAL manager
3744                 - (hal_manager_udi_added_cb): new function; do what
3745                         nm_manager_add_device() used to do when signalled by the hal manager
3746                 - (hal_manager_udi_removed_cb): new function; do what
3747                         nm_manager_remove_device() used to do when signalled by the hal
3748                         manager
3749                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3750                         hal manager
3751                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3752                         in our device list that aren't known to HAL
3753                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3754                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3755                         commits ago
3756                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3757                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3758                    nm_manager_wireless_hardware_enabled,
3759                    nm_manager_set_wireless_hardware_enabled): remove, unused
3760
3761 2008-04-28  Dan Williams  <dcbw@redhat.com>
3762
3763         Fix the device up/down ambiguities.  Up/down state used to be a
3764         conglomeration of hardware state (IFF_UP) and any device-specific things
3765         (supplicant, periodic timers, etc) that the device used to indicate
3766         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3767         reason, then the device specific stuff wouldn't get run, and the device
3768         would be stuck.
3769
3770         * src/nm-device.c
3771           src/nm-device.h
3772                 - Create hw_is_up, hw_bring_up, and hw_take_down
3773                 - Rename bring_down -> take_down
3774                 - (real_hw_is_up): check interface flags for IFF_UP
3775                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3776                 - (nm_device_is_up): make static; only used locally
3777                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3778                         if the device is already up; if the device isn't up, bring it up
3779                 - (nm_device_hw_take_down): just take down hardware
3780                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3781                 - (nm_device_take_down): always deactivate device when called; always
3782                         try to take hardware down too
3783                 - (nm_device_state_changed): take device down when entering unmanaged
3784                         state from a higher state
3785
3786         * src/nm-device-802-11-wireless.c
3787                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3788                         check IFF_UP really
3789                 - (real_take_down, supplicant_iface_state_cb_handler, 
3790                    supplicant_iface_connection_state_cb_handler,
3791                    supplicant_mgr_state_cb_handler): fix some messages
3792
3793         * src/nm-device-802-3-ethernet.c
3794                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3795                         check IFF_UP really
3796
3797 2008-04-28  Dan Williams  <dcbw@redhat.com>
3798
3799         * src/nm-manager.c
3800           src/nm-manager.h
3801                 - (nm_manager_error_get_type): add new error
3802                 - (nm_manager_remove_device): don't bother taking down the device here,
3803                         the state change from unmanaging the device will do it
3804                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3805                         uses it; when going to sleep, just unmanage the device instead of
3806                         taking it down, because stuff will cleaned up correctly when the
3807                         device gets unmanaged
3808
3809 2008-04-28  Dan Williams  <dcbw@redhat.com>
3810
3811         * src/nm-hal-manager.c
3812                 - (add_initial_devices): convert to a GSourceFunc prototype
3813                 - (nm_manager_state_changed): when coming out of sleep, punt the
3814                         device re-addition to an idle handler to let D-Bus events go out
3815                         first, fixing a potential dbus-glib assert if the old device was
3816                         not yet disposed (due to references held while emitting the D-Bus
3817                         signals) but the new device was found, because the mainloop didn't
3818                         run between signal emission and add_initial_devices()
3819
3820 2008-04-27  Dan Williams  <dcbw@redhat.com>
3821
3822         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3823
3824         * initscript/paldo/NetworkManager.in
3825           initscript/SUSE/networkmanager.in
3826                 - Remove last bits of dhcdbd
3827
3828 2008-04-27  Dan Williams  <dcbw@redhat.com>
3829
3830         * src/nm-device-802-11-wireless.c
3831                 - (link_timeout_cb): don't ask for secrets when disconnected during
3832                         association/authentication phase, drivers are still just too crappy
3833
3834 2008-04-27  Dan Williams  <dcbw@redhat.com>
3835
3836         * Makefile.am
3837           configure.in
3838           dispatcher-daemon/Makefile.am
3839           dispatcher-daemon/NetworkManagerDispatcher.c
3840           initscript/Arch/Makefile.am
3841           initscript/Arch/networkmanager-dispatcher.in
3842           initscript/Gentoo/Makefile.am
3843           initscript/Gentoo/NetworkManagerDispatcher.in
3844           initscript/Mandriva/Makefile.am
3845           initscript/Mandriva/networkmanagerdispatcher.in
3846           initscript/RedHat/Makefile.am
3847           initscript/RedHat/NetworkManagerDispatcher.in
3848           initscript/SUSE/Makefile.am
3849           initscript/SUSE/networkmanager-dispatcher.in
3850           initscript/Slackware/Makefile.am
3851           initscript/Slackware/rc.networkmanager-dispatcher.in
3852           initscript/paldo/Makefile.am
3853           initscript/paldo/NetworkManagerDispatcher.in
3854           man/Makefile.am
3855           man/NetworkManagerDispatcher.8.in
3856                 - Remove the dispatcher daemon
3857
3858 2008-04-27  Dan Williams  <dcbw@redhat.com>
3859
3860         * callouts/Makefile.am
3861           callouts/nm-dispatcher-action.c
3862           callouts/nm-dispatcher-action.h
3863           callouts/nm-dispatcher.conf
3864           callouts/nm-dispatcher.xml
3865           callouts/org.freedesktop.nm_dispatcher.service
3866                 - Re-implement the dispatcher as a system-bus activated service that
3867                         NM calls on-demand, rather than an always running daemon
3868
3869         * src/Makefile.am
3870                 - Add callouts dir to includes to pick up dispatcher defines
3871
3872         * src/nm-device.c
3873                 - (nm_device_state_changed): call dispatcher on device activated/
3874                         deactivated
3875
3876         * src/vpn-manager/nm-vpn-connection.c
3877                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3878                         go up and down
3879
3880         * src/NetworkManagerUtils.c
3881           src/NetworkManagerUtils.h
3882                 - (nm_utils_call_dispatcher): helper to call dispatcher
3883
3884 2008-04-27  Dan Williams  <dcbw@redhat.com>
3885
3886         * src/NetworkManagerUtils.c
3887           src/NetworkManagerUtils.h
3888                 - remove unneeded includes
3889                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3890                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3891                    nm_timeval_cmp, nm_timeval_add): remove, unused
3892                 - clean up formatting
3893                 - (nm_spawn_process): de-uglify
3894
3895         * src/nm-device-802-11-wireless.c
3896                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3897
3898 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3899
3900         * initscript/Gentoo/NetworkManager.in:
3901                 Fix for starting the daemon.
3902
3903 2008-04-25  Dan Williams  <dcbw@redhat.com>
3904
3905         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3906
3907         * src/NetworkManagerSystem.c
3908                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3909
3910 2008-04-25  Dan Williams  <dcbw@redhat.com>
3911
3912         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3913
3914         * src/NetworkManagerSystem.c
3915                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3916                         implementation of nm_system_device_replace_default_route()
3917
3918         * src/NetworkManagerPolicy.c
3919                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3920
3921         * src/backends/NetworkManagerArch.c
3922           src/backends/NetworkManagerDebian.c
3923           src/backends/NetworkManagerFrugalware.c
3924           src/backends/NetworkManagerGeneric.c
3925           src/backends/NetworkManagerGeneric.h
3926           src/backends/NetworkManagerGentoo.c
3927           src/backends/NetworkManagerMandriva.c
3928           src/backends/NetworkManagerPaldo.c
3929           src/backends/NetworkManagerRedHat.c
3930           src/backends/NetworkManagerSlackware.c
3931           src/backends/NetworkManagerSuSE.c
3932                 - (nm_system_device_replace_default_route): remove
3933
3934 2008-04-25  Dan Williams  <dcbw@redhat.com>
3935
3936         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3937
3938         * src/NetworkManagerSystem.c
3939                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3940                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3941                         replace nm_system_device_add_route_via_device_with_iface() in the
3942                         backends
3943
3944         * src/backends/NetworkManagerArch.c
3945           src/backends/NetworkManagerDebian.c
3946           src/backends/NetworkManagerFrugalware.c
3947           src/backends/NetworkManagerGeneric.c
3948           src/backends/NetworkManagerGeneric.h
3949           src/backends/NetworkManagerGentoo.c
3950           src/backends/NetworkManagerMandriva.c
3951           src/backends/NetworkManagerPaldo.c
3952           src/backends/NetworkManagerRedHat.c
3953           src/backends/NetworkManagerSlackware.c
3954           src/backends/NetworkManagerSuSE.c
3955                 - Remove nm_system_device_add_route_via_device_with_iface()
3956
3957 2008-04-25  Dan Williams  <dcbw@redhat.com>
3958
3959         * system-settings/plugins/ifcfg-fedora/parser.c
3960                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3961
3962 2008-04-24  Dan Williams  <dcbw@redhat.com>
3963
3964         * dispatcher-daemon/NetworkManagerDispatcher.c
3965                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3966
3967 2008-04-24  Dan Williams  <dcbw@redhat.com>
3968
3969         * initscript/RedHat/NetworkManager.in
3970           initscript/RedHat/NetworkManagerDispatcher.in
3971                 - Be active at runlevel 2
3972                 - Adjust priorities earlier
3973
3974 2008-04-22  Dan Williams  <dcbw@redhat.com>
3975
3976         * src/NetworkManagerPolicy.c
3977                 - (update_routing_and_dns): when checking for a gateway, look at the
3978                         composite IP4 config, not the connection's ip4-config setting, which
3979                         doesn't include DHCP-returned information
3980
3981 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3982
3983         Implement GKeyFile system settings plugin.
3984         Implement writing system settings (currently supported only by GKeyFile plugin).
3985
3986         * system-settings/src/main.c: 
3987         * system-settings/src/dbus-settings.c: Move the communication with plugins
3988         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3989         plugins for adding/updating/removing connections.
3990
3991         * system-settings/src/nm-system-config-interface.c
3992         (nm_system_config_interface_add_connection): Implement
3993         (nm_system_config_interface_update_connection): Implement.
3994         (nm_system_config_interface_remove_connection): Implement.
3995
3996         * system-settings/plugins/keyfile/Makefile.am:
3997         * system-settings/plugins/keyfile/plugin.[ch]:
3998         * system-settings/plugins/keyfile/writer.[ch]:
3999         * system-settings/plugins/keyfile/reader.[ch]: Implement.
4000
4001         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4002
4003         * configure.in: Generate GKeyFile Makefile.
4004
4005         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4006         corruption, need to duplicate the returned string.
4007         (impl_exported_connection_update): Implement.
4008         (impl_exported_connection_delete): Implement.
4009
4010         * introspection/nm-settings-system.xml: Add "AddConnection" method.
4011
4012         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4013
4014 2008-04-22  Dan Williams  <dcbw@redhat.com>
4015
4016         Patch from Charles R. Anderson (cra@wpi.edu)
4017
4018         * src/NetworkManagerPolicy.c
4019                 - (update_routing_and_dns): don't select devices without a gateway
4020                         as having the default route (rh #437338)
4021
4022 2008-04-21  Dan Williams  <dcbw@redhat.com>
4023
4024         * src/nm-activation-request.c
4025           src/nm-activation-request.h
4026                 - (dispose): ensure to disconnect from the device's state-changed signal
4027                         when appropriate so the signal doesn't get handled by an already
4028                         disposed NMActRequest
4029                 - (device_state_changed): update is_default here too just to make sure
4030                         default is only True when the child device is activated
4031                 - (nm_act_request_set_default): new function
4032
4033         * src/NetworkManagerPolicy.c
4034                 - (update_routing_and_dns): set 'default' on the active connection which
4035                         has the default route and DNS
4036
4037 2008-04-21  Dan Williams  <dcbw@redhat.com>
4038
4039         * src/NetworkManagerPolicy.c
4040                 - (device_state_changed): update routing and DNS when a device goes
4041                         into unmanaged or unavailable states too (like rfkill or carrier loss)
4042
4043 2008-04-21  Dan Williams  <dcbw@redhat.com>
4044
4045         * include/NetworkManager.h
4046                 - Add NMActiveConnectionState enum
4047
4048         * introspection/nm-active-connection.xml
4049           introspection/nm-vpn-connection.xml
4050                 - Add 'State' property for overall active connection state
4051                 - Add 'Default' property, when True means this active connection
4052                         has the default route
4053                 - Add PropertyChanged signals so changes actually go out over the bus
4054
4055         * src/nm-active-connection.h
4056                 - Add defines for State & Default properties
4057
4058         * src/nm-activation-request.c
4059                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4060                         signal to determine active connection state
4061
4062         * src/vpn-manager/nm-vpn-connection.c
4063           src/vpn-manager/nm-vpn-connection.h
4064           src/vpn-manager/nm-vpn-manager.c
4065           src/vpn-manager/nm-vpn-service.c
4066                 - Rename old 'state' to 'vpn-state'
4067                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4068                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4069                         'vpn-state-changed' signal
4070
4071         * libnm-glib/nm-active-connection.c
4072           libnm-glib/nm-active-connection.h
4073                 - Add new 'state' and 'default' properties and accessors
4074
4075         * libnm-glib/nm-vpn-connection.c
4076           libnm-glib/nm-vpn-connection.h
4077                 - Rename old 'state' property to 'vpn-state'
4078                 - Add new 'state' and 'default' properties and accessors
4079
4080 2008-04-21  Dan Williams  <dcbw@redhat.com>
4081
4082         * src/nm-ip4-config.c
4083                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4084                         not specified (rh #443474)
4085
4086 2008-04-20  Dan Williams  <dcbw@redhat.com>
4087
4088         * src/NetworkManagerUtils.c
4089           src/NetworkManagerUtils.h
4090                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4091                         NMSettingIP4Config to an NMIP4Config object
4092
4093         * src/nm-device.c
4094                 - (merge_ip4_config): move to NetworkManagerUtils.c
4095
4096         * src/vpn-manager/nm-vpn-connection.c
4097                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4098                         too
4099
4100 2008-04-18  Dan Williams  <dcbw@redhat.com>
4101
4102         * libnm-util/nm-setting-ppp.c
4103           libnm-util/nm-setting-ppp.h
4104                 - Add 'no-vj-comp' option for TCP header compression
4105                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4106                         uint32
4107
4108 2008-04-18  Dan Williams  <dcbw@redhat.com>
4109
4110         * libnm-util/nm-setting-ppp.c
4111           libnm-util/nm-setting-ppp.h
4112           src/ppp-manager/nm-ppp-manager.c
4113                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4114
4115 2008-04-18  Dan Williams  <dcbw@redhat.com>
4116
4117         * libnm-util/nm-setting-ppp.c
4118           libnm-util/nm-setting-ppp.h
4119           src/ppp-manager/nm-ppp-manager.c
4120                 - Remove the 'usepeerdns' option and always request DNS servers from
4121                         the PPP server; the connection chooses to use/override/ignore the
4122                         DNS servers returned from the PPP server
4123
4124 2008-04-18  Dan Williams  <dcbw@redhat.com>
4125
4126         * libnm-util/nm-setting-ppp.c
4127           libnm-util/nm-setting-ppp.h
4128           src/ppp-manager/nm-ppp-manager.c
4129                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4130                         it seems to have been an erroneous addition to the PPTP plugin in
4131                         the first place (from which the ppp-manager is derived)
4132
4133 2008-04-17  Dan Williams  <dcbw@redhat.com>
4134
4135         * libnm-util/nm-setting-pppoe.c
4136                 - (verify): require a PPP setting too
4137
4138         * src/ppp-manager/nm-ppp-manager.c
4139                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4140                         segfaulting
4141
4142 2008-04-17  Dan Williams  <dcbw@redhat.com>
4143
4144         * src/nm-device.c
4145                 - (nm_device_state_changed): do deactivation and and promotion to
4146                         unavailable here, so that the device gets cleaned up before the
4147                         manager runs and starts emitting signals; do the
4148                         FAILED->DISCONNECTED transition from an idle handler rather than
4149                         immediately to guard against recursion
4150                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4151                         FAILED->DISCONNECTED handler if it's scheduled
4152
4153 2008-04-17  Dan Williams  <dcbw@redhat.com>
4154
4155         * src/nm-device-802-11-wireless.c
4156                 - (state_changed_cb): clear AP list when device transitions to
4157                         unavailable or unmanaged
4158                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4159                         since this is already done in device_cleanup()
4160                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4161                         isn't available or managed
4162                 - (device_cleanup): use remove_all_aps()
4163                 - (remove_all_aps): consolidate code removing all APs
4164
4165 2008-04-17  Dan Williams  <dcbw@redhat.com>
4166
4167         * src/nm-serial-device.c
4168           src/nm-serial-device.h
4169                 - (wait_for_reply_got_data): break input into lines, and search each
4170                         line for responses _and_ terminator strings; also make sure that
4171                         the read loop doesn't continue after the timeout is supposed to fire
4172                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4173
4174         * src/nm-gsm-device.c
4175           src/nm-cdma-device.c
4176                 - Send terminators to nm_serial_device_wait_for_reply()
4177
4178 2008-04-16  Dan Williams  <dcbw@redhat.com>
4179
4180         Patch from 陈鑫 <znscnchen@gmail.com>
4181
4182         * src/ppp-manager/nm-pppd-plugin.c
4183                 - (get_credentials): return correct value for success; handle case where
4184                         pppd just does some checking but doesn't want a password
4185                 - (plugin_init): make CHAP work too
4186
4187 2008-04-16  Dan Williams  <dcbw@redhat.com>
4188
4189         Patch from 陈鑫 <znscnchen@gmail.com>
4190
4191         * src/ppp-manager/nm-ppp-manager.c
4192                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4193
4194 2008-04-16  Dan Williams  <dcbw@redhat.com>
4195
4196         Patch from 陈鑫 <znscnchen@gmail.com>
4197
4198         * src/nm-device-802-3-ethernet.c
4199                 - (real_deactivate_quickly): clear the IP interface name on
4200                         deactivation, otherwise the wrong interface might get used later
4201                         for routing and IP management
4202
4203 2008-04-15  Dan Williams  <dcbw@redhat.com>
4204
4205         * libnm-glib/nm-device.c
4206                 - (get_product_and_vendor): handle serial devices correctly
4207                 - (nm_device_update_description): pass device to get_product_and_vendor()
4208
4209 2008-04-15  Dan Williams  <dcbw@redhat.com>
4210
4211         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4212
4213         * src/NetworkManagerSystem.h
4214           src/backends/NetworkManagerArch.c
4215           src/backends/NetworkManagerDebian.c
4216           src/backends/NetworkManagerFrugalware.c
4217           src/backends/NetworkManagerGeneric.c
4218           src/backends/NetworkManagerGeneric.h
4219           src/backends/NetworkManagerGentoo.c
4220           src/backends/NetworkManagerMandriva.c
4221           src/backends/NetworkManagerPaldo.c
4222           src/backends/NetworkManagerRedHat.c
4223           src/backends/NetworkManagerSlackware.c
4224           src/backends/NetworkManagerSuSE.c
4225           src/nm-device.c
4226                 - (nm_generic_device_add_ip6_link_address,
4227                    nm_system_device_add_ip6_link_address): remove
4228
4229 2008-04-15  Dan Williams  <dcbw@redhat.com>
4230
4231         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4232
4233         * src/backends/NetworkManagerArch.c
4234           src/backends/NetworkManagerDebian.c
4235           src/backends/NetworkManagerFrugalware.c
4236           src/backends/NetworkManagerGeneric.c
4237           src/backends/NetworkManagerGeneric.h
4238           src/backends/NetworkManagerGentoo.c
4239           src/backends/NetworkManagerMandriva.c
4240           src/backends/NetworkManagerPaldo.c
4241           src/backends/NetworkManagerRedHat.c
4242           src/backends/NetworkManagerSlackware.c
4243           src/backends/NetworkManagerSuSE.c
4244           src/NetworkManagerSystem.h
4245                 - flush_routes -> flush_ip4_routes
4246                 - flush_addresses -> flush_ip4_addresses
4247
4248         * src/NetworkManagerSystem.c
4249           src/nm-device.c
4250           src/vpn-manager/nm-vpn-connection.c
4251                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4252
4253 2008-04-15  Dan Williams  <dcbw@redhat.com>
4254
4255         Remove exposure of wireless-tools mode types in the API.
4256
4257         * include/NetworkManager.h
4258                 - Define NM80211Mode enum
4259
4260         * introspection/generic-types.xml
4261                 - Describe NM_802_11_MODE enum
4262                 - Remove IW_MODE_* enum
4263
4264         * introspection/nm-access-point.xml
4265           libnm-glib/nm-access-point.c
4266           libnm-glib/nm-access-point.h
4267                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4268
4269         * introspection/nm-device-802-11-wireless.xml
4270           libnm-glib/nm-device-802-11-wireless.c
4271           libnm-glib/nm-device-802-11-wireless.h
4272                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4273
4274         * libnm-util/nm-setting-wireless.c
4275           src/NetworkManagerAP.c
4276           src/NetworkManagerAP.h
4277           src/nm-device-802-11-wireless.c
4278           src/nm-device-802-11-wireless.h
4279           test/nm-tool.c
4280                 - Use NM80211Mode not IW_MODE_*
4281
4282 2008-04-15  Dan Williams  <dcbw@redhat.com>
4283
4284         Enhance nm-online based on a patch from Bill Nottingham.
4285
4286         * test/nm-online.c
4287                 - Add a '-q' option
4288                 - Add help messages and option summary
4289                 - Add long-format options
4290                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4291
4292 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4293
4294         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4295
4296         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4297
4298 2008-04-15  Dan Williams  <dcbw@redhat.com>
4299
4300         * nm-setting-ip4-config.c
4301                 - (ip4_addresses_from_gvalue): handle NULL address array
4302
4303         * nm-setting-8021x.c
4304                 - (verify_tls, verify_ttls): warn on failed verification
4305
4306 2008-04-10  Dan Williams  <dcbw@redhat.com>
4307
4308         * src/nm-gsm-device.c
4309                 - (automatic_registration): accept "+CREG: 0,0"
4310                 - (automatic_registration_response): fail on "+CREG: 0,0"
4311
4312 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4313
4314         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4315
4316 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4317
4318         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4319         Make it compile again by commenting out broken code that at first didn't work and
4320         now didn't compile either.
4321
4322 2008-04-08  Dan Williams  <dcbw@redhat.com>
4323
4324         * libnm-glib/nm-object-cache.c
4325           libnm-glib/nm-settings.c
4326           src/dhcp-manager/nm-dhcp-manager.c
4327           system-settings/plugins/ifcfg-fedora/plugin.c
4328           system-settings/plugins/ifcfg-suse/plugin.c
4329           system-settings/src/nm-system-config-hal-manager.c
4330           libnm-util/nm-utils.c
4331                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4332                         not threadsafe anyway
4333
4334 2008-04-08  Dan Williams  <dcbw@redhat.com>
4335
4336         * system-settings/src/main.c
4337                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4338                         callbacks take a device type too
4339
4340 2008-04-08  Dan Williams  <dcbw@redhat.com>
4341
4342         The system settings service will now create a new default DHCP connection
4343         for wired devices that have no existing applicable connection.
4344
4345         * system-settings/src/nm-system-config-hal-manager.c
4346           system-settings/src/nm-system-config-hal-manager.h
4347                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4348
4349         * system-settings/src/dbus-settings.c
4350           system-settings/src/dbus-settings.h
4351                 - (nm_sysconfig_settings_get_connections): new function
4352                 - (nm_sysconfig_settings_is_device_managed): new function
4353
4354         * system-settings/src/main.c
4355                 - (load_stuff): check for wired devices that need a default connection
4356                 - (get_details_for_udi): get interface and MAC address from HAL
4357                 - (add_default_dhcp_connection): add a default connection for a wired
4358                         device if needed
4359                 - (device_added_cb, device_removed_cb): do the right thing with
4360                         wired devices and their default connections on HAL device events
4361
4362 2008-04-07  Dan Williams  <dcbw@redhat.com>
4363
4364         * libnm-glib/nm-device.c
4365           libnm-glib/nm-device.h
4366                 - Proxy the 'managed' property
4367
4368 2008-04-07  Dan Williams  <dcbw@redhat.com>
4369
4370         * src/nm-gsm-device.c
4371           src/nm-cdma-device.c
4372                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4373                         handler to transition to DISCONNECTED
4374
4375 2008-04-07  Dan Williams  <dcbw@redhat.com>
4376
4377         Patch from Bill Nottingham
4378
4379         * dispatcher-daemon/NetworkManagerDispatcher.c
4380                 - ignore backup/packaging crufy (rh #440143)
4381
4382 2008-04-07  Dan Williams  <dcbw@redhat.com>
4383
4384         * include/NetworkManager.h
4385                 - Remove the DOWN and CANCELLED device states
4386                 - Add UNMANAGED and UNAVAILABLE device states
4387                 - Document the device states
4388
4389         * introspection/nm-device.xml
4390           src/nm-device-interface.c
4391           src/nm-device-interface.h
4392                 - Add the 'managed' property
4393
4394         * test/nm-tool.c
4395                 - (detail_device): print out device state
4396
4397         * src/NetworkManagerSystem.h
4398           src/backends/NetworkManagerArch.c
4399           src/backends/NetworkManagerDebian.c
4400           src/backends/NetworkManagerFrugalware.c
4401           src/backends/NetworkManagerGentoo.c
4402           src/backends/NetworkManagerMandriva.c
4403           src/backends/NetworkManagerPaldo.c
4404           src/backends/NetworkManagerRedHat.c
4405           src/backends/NetworkManagerSlackware.c
4406           src/backends/NetworkManagerSuSE.c
4407                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4408                    nm_system_device_free_system_config): remove; they were unused and
4409                         their functionality should be re-implemented in each distro's
4410                         system settings service plugin 
4411
4412         * src/nm-gsm-device.c
4413           src/nm-gsm-device.h
4414           src/nm-cdma-device.c
4415           src/nm-cdma-device.h
4416                 - (*_new): take the 'managed' argument
4417
4418         * src/nm-device.c
4419                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4420                 - (nm_device_init): start in unmanaged state, not disconnected
4421                 - (constructor): don't start device until the system settings service
4422                         has had a chance to figure out if the device is managed or not
4423                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4424                         don't set device state here, let callers handle that as appropriate
4425                 - (nm_device_dispose): don't touch the device if it's not managed
4426                 - (set_property, get_property, nm_device_class_init): implement the
4427                         'managed' property
4428                 - (nm_device_state_changed): bring the device up if its now managed,
4429                         and deactivate it if it used to be active
4430                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4431                         with the managed state
4432
4433         * src/nm-hal-manager.c
4434                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4435                         take initial managed state and pass it along to device constructors
4436                 - (create_device_and_add_to_list): get managed state and pass to
4437                         type creators
4438
4439         * src/nm-device-802-11-wireless.c
4440                 - (real_can_activate): fold in most of
4441                         nm_device_802_11_wireless_can_activate()
4442                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4443                 - (link_timeout_cb): instead of deactivating, change device state and
4444                         let the device state handler to it
4445                 - (real_update_hw_address): clean up
4446                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4447                         handler to transition to DISCONNECTED if the device isn't rfkilled
4448
4449         * src/nm-device-802-3-ethernet.c
4450                 - (set_carrier): move above callers and get rid of prototype
4451                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4452                         idle handler to transition to DISCONNECTED if the device has a
4453                         carrier
4454                 - (real_update_hw_address): clean up
4455                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4456                         deactivation directly as deactivation doesn't change state anymore
4457
4458         * src/NetworkManagerPolicy.c
4459                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4460                         the NMManager and wireless devices work that out themselves now
4461                 - (device_state_changed): change to a switch and update for new device
4462                         states
4463                 - (device_carrier_changed): remove; device handles this now through
4464                         state changes
4465                 - (device_added): don't care about carrier any more; the initial
4466                         activation check will happen when the device transitions to
4467                         DISCONNECTED
4468
4469         * src/nm-manager.c
4470                 - (dispose): clear unmanaged devices
4471                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4472                         the managed property on each device when needed
4473                 - (system_settings_properties_changed_cb): handle signals from the
4474                         system settings service
4475                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4476                         getting the unmanaged device list method call
4477                 - (query_unmanaged_devices): ask the system settings service for its
4478                         list of unmanaged devices
4479                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4480                         devices
4481                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4482                         devices directly and let them handle the necessary state transitions
4483                 - (manager_device_state_changed): update for new device states
4484                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4485                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4486                 - (nm_manager_activate_connection): return error if the device is
4487                         unmanaged
4488                 - (nm_manager_sleep): handle new device states correctly; don't change
4489                         the state of unavailable/unmanaged devices
4490
4491         * libnm-glib/nm-device-802-11-wireless.c
4492                 - (state_changed_cb): update for new device states
4493
4494 2008-04-07  Dan Williams  <dcbw@redhat.com>
4495
4496         * marshallers/nm-marshal.list
4497                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4498
4499 2008-04-07  Dan Williams  <dcbw@redhat.com>
4500
4501         * system-settings/src/main.c
4502                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4503                         plugins to the dbus settings object
4504                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4505                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4506                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4507                 - (main): switch default logging to syslog with a 'debug' option to
4508                         output to console; start up the HAL manager
4509
4510 2008-04-07  Dan Williams  <dcbw@redhat.com>
4511
4512         * introspection/nm-settings-system.xml
4513           introspection/Makefile.am
4514                 - Define the unmanaged devices interface for the system settings service
4515
4516         * system-settings/src/nm-system-config-hal-manager.c
4517           system-settings/src/nm-system-config-hal-manager.h
4518           system-settings/src/nm-system-config-hal-manager-private.h
4519           system-settings/src/Makefile.am
4520                 - Add a lightweight HAL manager object for tracking network devices for
4521                         the purpose of determining unmanaged devices and which devices need
4522                         the default DHCP connections
4523
4524         * system-settings/src/nm-system-config-interface.c
4525           system-settings/src/nm-system-config-interface.h
4526                 - (nm_system_config_interface_init): add the HAL manager as an argument
4527                 - (nm_system_config_interface_get_unmanaged_devices): implement
4528                 - Define 'unmanaged-devices-changed' signal
4529
4530         * system-settings/src/dbus-settings.c
4531           system-settings/src/dbus-settings.h
4532                 - Implement the unmanaged devices interface; some cleanups
4533
4534         * system-settings/plugins/ifcfg-suse/plugin.c
4535                 - Fixup for plugin interface changes
4536
4537         * system-settings/plugins/ifcfg-fedora/plugin.c
4538                 - (get_ether_device_udi): new function; find the device that has
4539                         a specified MAC address and return its UDI
4540                 - (get_udi_for_connection): new function; try to find the specific
4541                         device a connection is locked to, if any
4542                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4543                         response to HAL events
4544                 - (get_unmanaged_devices): new function; return unmanaged device list
4545                 - (build_one_connection): set the connection's locked device, if any
4546                 - (write_auto_wired_connection): remove
4547                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4548                 - (handle_connection_changed): alert listeners that the unmanaged device
4549                         list has changed
4550                 - (init): fixup for plugin interface changes, implement unmanaged devices
4551
4552         * system-settings/plugins/ifcfg-fedora/parser.c
4553           system-settings/plugins/ifcfg-fedora/parser.h
4554                 - (connection_data_free): clean up connection UDI
4555
4556 2008-04-07  Dan Williams  <dcbw@redhat.com>
4557
4558         * system-settings/plugins/ifcfg-fedora/parser.c
4559                 - (make_ip4_setting): fix parsing of DNS servers
4560
4561 2008-04-05  Dan Williams  <dcbw@redhat.com>
4562
4563         * Makefile.am
4564           configure.in
4565           marshallers/Makefile.am
4566           marshallers/nm-marshal-main.c
4567           marshallers/nm-marshal.list
4568                 - Consolidate marshallers
4569
4570         * libnm-glib/nm-marshal-main.c
4571           libnm-glib/nm-marshal.list
4572           src/marshallers/Makefile.am
4573           src/marshallers/nm-marshal-main.c
4574           src/marshallers/nm-marshal.list
4575                 - Remove
4576
4577         * libnm-glib/Makefile.am
4578           src/Makefile.am
4579           src/dhcp-manager/Makefile.am
4580           src/ppp-manager/Makefile.am
4581           src/supplicant-manager/Makefile.am
4582           src/vpn-manager/Makefile.am
4583                 - Use consolidated marshallers
4584
4585 2008-04-04  Dan Williams  <dcbw@redhat.com>
4586
4587         * src/nm-hal-manager.c
4588           src/nm-hal-manager.h
4589                 - (hal_init): don't look for hardware here
4590                 - (nm_hal_manager_start): new function; look for hardware here instead,
4591                         which can be done at a later time than hal_init()
4592
4593         * src/NetworkManager.c
4594                 - (main): start HAL manager after entering the main loop
4595
4596 2008-04-03  Dan Williams  <dcbw@redhat.com>
4597
4598         * libnm-glib/nm-settings.c
4599           libnm-glib/nm-settings.h
4600             - (nm_exported_connection_get_id): new function
4601                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4602
4603 2008-04-02  Dan Williams  <dcbw@redhat.com>
4604
4605         * src/nm-device-interface.c
4606           src/nm-device-interface.h
4607           src/nm-device.c
4608           src/nm-device.h
4609                 - Rename check_connection_conflicts() to check_connection_compatible()
4610
4611         * src/nm-device-802-11-wireless.c
4612                 - (real_check_connection_conflicts): remove
4613                 - (real_check_connection_compatible): implement; match MAC address
4614
4615         * src/nm-device-802-3-ethernet.c
4616                 - (real_check_connection_conflicts): remove
4617                 - (real_check_connection_compatible): implement; match MAC address
4618                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4619
4620         * src/nm-manager.c
4621                 - (check_connection_allowed): remove; unused until PolicyKit integration
4622                 - (internal_activate_device): check whether the connection is compatible
4623                         with the device before trying to activate it
4624
4625 2008-04-02  Dan Williams  <dcbw@redhat.com>
4626
4627         * system-settings/plugins/ifcfg-fedora/parser.c
4628                 - (read_mac_address): new function; read in MAC address and stuff it
4629                         into the connection
4630                 - (add_one_wep_key): remove debug spew
4631                 - (make_wireless_security_setting): validate the default TX key; don't
4632                         add the wireless-security setting if the connection doesn't need
4633                         security; don't leak the keys shvarFile on error cases
4634                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4635                         address
4636
4637 2008-04-02  Dan Williams  <dcbw@redhat.com>
4638
4639         * libnm-util/nm-setting-connection.c
4640           libnm-util/nm-setting-connection.h
4641                 - (set_property, get_property, nm_setting_connection_class_init): remove
4642                         the 'lockdown' property; it's functionality will be replaced by
4643                         PolicyKit instead
4644
4645 2008-04-01  Dan Williams  <dcbw@redhat.com>
4646
4647         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4648
4649         * configure.in
4650           initscript/Makefile.am
4651           initscript/Mandriva/Makefile.am
4652           initscript/Mandriva/networkmanager.in
4653           initscript/Mandriva/networkmanagerdispatcher.in
4654           src/backends/Makefile.am
4655           src/backends/NetworkManagerMandriva.c
4656           system-settings/plugins/Makefile.am
4657                 - Add Mandriva support
4658
4659 2008-03-31  Dan Williams  <dcbw@redhat.com>
4660
4661         * src/vpn-manager/nm-vpn-service.c
4662                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4663                         errors can be passed back to the caller; also no longer scheduled
4664                         as an idle handler, but called directly; and bump up VPN service
4665                         spawn timeout, 2s is really short
4666                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4667                         but call it directly so that errors are reported on return from
4668                         ActivateConnection() and don't get lost.  If scheduled as an idle
4669                         handler, clients don't have the time to query NM for the new VPN
4670                         connection's properties before the VPN connection is torn down again
4671                         if the service couldn't be launched, and therefore launch errors
4672                         get lost.
4673
4674 2008-03-31  Dan Williams  <dcbw@redhat.com>
4675
4676         * src/vpn-manager/nm-vpn-connection.c
4677                 - (device_state_changed): send correct state on device failure too
4678                 - (plugin_state_changed): failed state means unexpected disconnection,
4679                         thus if the service goes away while the VPN connection is activated
4680                         that's a failure too
4681
4682 2008-03-31  Dan Williams  <dcbw@redhat.com>
4683
4684         * src/vpn-manager/nm-vpn-manager.c
4685           src/vpn-manager/nm-vpn-manager.h
4686                 - Make VPNManager errors more available; add a service-start-failed error
4687
4688 2008-03-31  Dan Williams  <dcbw@redhat.com>
4689
4690         * libnm-glib/nm-client.c
4691           libnm-glib/nm-client.h
4692                 - (activate_cb): pass the new active connection to callback; fix
4693                         message when no callback is specified
4694
4695 2008-03-30  Dan Williams  <dcbw@redhat.com>
4696
4697         * libnm-util/nm-setting-wireless-security.c
4698                 - (need_secrets): only require key0 if the transmit key index is also
4699                         0
4700                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4701
4702 2008-03-29  Dan Williams  <dcbw@redhat.com>
4703
4704         * libnm-util/nm-setting-8021x.c
4705           libnm-util/nm-setting-ip4-config.c
4706           libnm-util/nm-setting-vpn-properties.c
4707           libnm-util/nm-setting-vpn.c
4708           libnm-util/nm-setting-wireless-security.c
4709           libnm-util/nm-setting-wireless.c
4710           libnm-util/nm-utils.c
4711           src/dhcp-manager/nm-dhcp-manager.c
4712           src/nm-activation-request.c
4713           src/nm-ip4-config.c
4714           src/nm-manager.c
4715           src/nm-properties-changed-signal.c
4716           src/ppp-manager/nm-pppd-plugin.c
4717           src/supplicant-manager/nm-supplicant-interface.c
4718           src/vpn-manager/nm-vpn-connection.c
4719                 - consistently use nm-dbus-glib-types.h
4720
4721 2008-03-29  Dan Williams  <dcbw@redhat.com>
4722
4723         * src/vpn-manager/nm-vpn-connection.c
4724                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4725                         not string
4726
4727         * src/nm-activation-request.c
4728                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4729                         not string
4730
4731 2008-03-29  Dan Williams  <dcbw@redhat.com>
4732
4733         * libnm-glib/nm-device-802-11-wireless.c
4734                 - (access_point_added_proxy): create new APs if not found
4735
4736 2008-03-29  Dan Williams  <dcbw@redhat.com>
4737
4738         * libnm-glib/nm-client.c
4739                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4740                         before freeing them
4741
4742 2008-03-29  Dan Williams  <dcbw@redhat.com>
4743
4744         * system-settings/plugins/ifcfg-fedora/parser.c
4745                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4746                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4747
4748 2008-03-29  Dan Williams  <dcbw@redhat.com>
4749
4750         * system-settings/plugins/ifcfg-fedora/parser.c
4751                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4752
4753 2008-03-27  Dan Williams  <dcbw@redhat.com>
4754
4755         * nm-object.c
4756                 - (nm_object_queue_notify): don't notify multiple times for the same
4757                         property
4758
4759         * nm-object-private.h
4760                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4761                         if it has zero elements
4762
4763         * nm-ip4-config.c
4764                 - (finalize): use g_ptr_array_foreach() when freeing domains
4765                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4766
4767         * nm-active-connection.c
4768                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4769
4770         * nm-device-802-11-wireless.c
4771           nm-device-802-11-wireless.h
4772                 - (nm_device_802_11_wireless_get_access_points): return const; use
4773                         handle_ptr_array_return()
4774
4775         * nm-types.c
4776                 - (nm_object_array_demarshal): always create an array, even of length
4777                         zero, to distinguish between "NM returned no items" and "haven't
4778                         asked NM yet"
4779
4780         * nm-client.c
4781                 - (dispose): free active connections too
4782                 - (proxy_name_owner_changed): free active connections too when NM goes
4783                         away
4784                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4785                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4786
4787 2008-03-26  Dan Williams  <dcbw@redhat.com>
4788
4789         Rework VPN connection handling for a more consistent D-Bus API.  The
4790         VPNManager object has been removed, and active VPN connections are now the
4791         same as any other active connection.  The Manager object's ActivateConnection
4792         and DeactivateConnection methods are used to start and stop a VPN connection,
4793         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4794         When activating a VPN connection, pass the path of the active connection
4795         to which the VPN connection is tied in the 'specific_object' argument.
4796
4797         Consequently, the libnm-glib API has been reworked to match this arrangement,
4798         with the VPNManager object removed, and the NMVPNConnection objects now
4799         being subclasses of NMActiveConnection.
4800
4801 2008-03-25  Dan Williams  <dcbw@redhat.com>
4802
4803         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4804
4805         * initscript/Arch/networkmanager.in
4806           initscript/Arch/networkmanager-dispatcher.in
4807                 - Updates for Arch Linux (gnome.org #523701)
4808
4809 2008-03-25  Dan Williams  <dcbw@redhat.com>
4810
4811         * libnm-glib/nm-ip4-config.c
4812           libnm-glib/nm-active-connection.c
4813           libnm-glib/nm-access-point.c
4814                 - Use nm_object_queue_notify() instead of g_object_notify()
4815
4816         * libnm-glib/nm-device.c
4817                 - (demarshal_ip4_config): distinguish between successful but missing
4818                         ip4-config request, and unsuccessful and missing ip4-config request
4819                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4820                         path
4821                 - Use nm_object_queue_notify() instead of g_object_notify()
4822
4823         * libnm-glib/nm-device-802-11-wireless.c
4824                 - (demarshal_active_ap): distinguish between successfull but missing
4825                         active-ap request, and unsuccessful and missing active-ap request
4826                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4827                         code
4828                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4829                         for the NMClient to notify the device that wireless is disabled,
4830                         and therefore to clear the AP list and active AP
4831                 - Use nm_object_queue_notify() instead of g_object_notify()
4832
4833         * libnm-glib/nm-client.c
4834                 - (poke_wireless_devices_with_rf_status): new function
4835                 - (update_wireless_status): notify wireless devices of the rfkill status
4836                         so they can clean up if needed
4837                 - Use nm_object_queue_notify() instead of g_object_notify()
4838
4839 2008-03-25  Dan Williams  <dcbw@redhat.com>
4840
4841         * libnm-glib/nm-object.c
4842           libnm-glib/nm-object-private.h
4843                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4844                         signals to an idle handler
4845                 - (nm_object_get_property): add a timeout to the D-Bus method call
4846
4847 2008-03-25  Dan Williams  <dcbw@redhat.com>
4848
4849         * introspection/nm-device-cdma.xml
4850           introspection/nm-device-gsm.xml
4851           introspection/Makefile.am
4852           introspection/all.xml
4853                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4854
4855         * src/nm-gsm-device.h
4856           src/nm-gsm-device.c
4857           src/nm-cdma-device.h
4858           src/nm-cdma-device.c
4859           src/Makefile.am
4860                 - Implement PropertiesChanged signals
4861
4862         * libnm-glib/nm-cdma-device.c
4863           libnm-glib/nm-cdma-device.c
4864                 - Attach to PropertiesChanged signals
4865
4866 2008-03-24  Dan Williams  <dcbw@redhat.com>
4867
4868         * libnm-glib/nm-client.c
4869                 - (client_device_added_proxy): add new devices to the internal device
4870                         list so they appear to clients
4871
4872 2008-03-24  Dan Williams  <dcbw@redhat.com>
4873
4874         Massive fixup of libnm-glib to:
4875         a) have all objects (with the exception of VPN) cache their properties and
4876                 update them asynchronously on PropertiesChanged signals from NM
4877         b) return internal const data for most attributes/properties instead of
4878                 allocated values that the caller must free
4879         c) cache wrapped objects such that a given D-Bus path will always map to the
4880                 same GObject returned by libnm-glib
4881         d) remove a few signals and move them to GObject property notifications
4882         e) match recent NM D-Bus API changes for activation/deactivation
4883         f) remove some private functions from libnm-glib headers
4884
4885 2008-03-20  Dan Williams  <dcbw@redhat.com>
4886
4887         * src/nm-manager.c
4888                 - (nm_manager_update_state, manager_device_state_changed,
4889                    nm_manager_activate_device, connection_added_default_handler,
4890                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4891                         queue PropertyChanged singals when the active connections change
4892
4893 2008-03-20  Dan Williams  <dcbw@redhat.com>
4894
4895         * introspection/nm-manager.xml
4896           introspection/nm-manager-client.xml
4897                 - (ActivateConnection): return the object path of the active connection
4898                         on success
4899                 - (GetActiveConnections): remove
4900                 - (DeactivateConnection): new function; deactivate a currently active
4901                         connection
4902                 - Add an ActiveConnections property which returns an array of
4903                         active connection object paths
4904
4905         * introspection/nm-device.xml
4906                 - (Deactivate): remove
4907
4908         * introspection/all.xml
4909                 - Add ActiveConnection introspection
4910
4911         * introspection/nm-active-connection.xml
4912                 - Add the ActiveConnection object
4913
4914         * include/NetworkManager.h
4915                 - Add the Connection.Active D-Bus interface
4916
4917         * src/nm-device-interface.c
4918                 - (impl_device_deactivate): remove
4919
4920         * src/nm-activation-request.c
4921           src/nm-activation-request.c
4922           src/Makefile.am
4923                 - Implement the Connection.Active D-Bus interface
4924
4925         * src/nm-manager.c
4926                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4927                 - (nm_manager_activate_device): return the active connection path
4928                 - (connection_added_default_handler, impl_manager_activate_connection):
4929                         return the active connection to the caller
4930                 - (add_one_connection_element, impl_manager_get_active_connections):
4931                         remove
4932                 - (impl_manager_deactivate_connection): new function; deactivate an
4933                         active connection
4934
4935         * libnm-glib/nm-device.c
4936           libnm-glib/nm-device.h
4937                 - Remove Deactivate() function
4938
4939 2008-03-19  Dan Williams  <dcbw@redhat.com>
4940
4941         * introspection/nm-manager.xml
4942           introspection/nm-manager-client.xml
4943                 - Rename the ActivateDevice method to ActivateConnection to better
4944                         reflect it's usage; it's arguments get reordered a bit too
4945                 - Convert GetActiveConnections method return from a struct to a dict
4946
4947         * include/NetworkManager.h
4948                 - Define the dict keys for return value of GetActiveConnections
4949
4950         * src/nm-manager.c
4951                 - impl_manager_activate_device -> impl_manager_activate_connection
4952                 - (add_one_connection_element): return a populated hash table, not
4953                         a structure
4954
4955         * libnm-glib/nm-client.c
4956           libnm-glib/nm-client.h
4957                 - nm_client_activate_device -> nm_client_activate_connection
4958                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4959                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4960                         instead of the custom structures.  Each element of the returned list
4961                         must be freed with nm_client_free_active_connections_element()
4962
4963 2008-03-18  Dan Williams  <dcbw@redhat.com>
4964
4965         * system-settings/plugins/ifcfg-fedora/parser.c
4966           system-settings/plugins/ifcfg-fedora/parser.h
4967           system-settings/plugins/ifcfg-fedora/plugin.c
4968                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4969                         profiles.  DNS servers and searches must now be stored in the ifcfg
4970                         files themselves
4971
4972 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4973
4974         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4975         print out username and password, it's supposed to be a secret.
4976
4977         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4978         request and set the device state accordingly.
4979
4980 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4981
4982         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4983
4984         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4985
4986 2008-03-18  Dan Williams  <dcbw@redhat.com>
4987
4988         * src/vpn-manager/nm-vpn-connection.c
4989                 - (get_secrets_cb): handle new GetSecrets return format
4990
4991 2008-03-18  Dan Williams  <dcbw@redhat.com>
4992
4993         Adapt system settings service for split 802.1x.
4994
4995         * system-settings/src/nm-system-config-interface.h
4996                 - clarify return value of get_secrets()
4997
4998         * system-settings/src/dbus-settings.c
4999                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5000                 - (check_for_secrets): check if there actually secrets returned by a
5001                         plugin
5002                 - (exported_connection_get_secrets): just return the plugin-returned
5003                         hash of settings' secrets if it looks valid
5004
5005         * system-settings/plugins/ifcfg-fedora/plugin.c
5006                 - (get_secrets): add split secrets with correct format to reply hash
5007
5008         * system-settings/plugins/ifcfg-fedora/parser.c
5009           system-settings/plugins/ifcfg-fedora/parser.h
5010                 - (copy_one_cdata_secret, connection_data_copy_secrets,
5011                    connection_data_free, connection_data_add): keep secrets for
5012                         different settings in different hashes
5013
5014 2008-03-17  Tambet Ingo  <tambet@gmail.com>
5015
5016         Clean up activating device deactivation.
5017
5018         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5019         should be done whether the device activation gets cancelled or the device
5020         is just getting deactivated.
5021         (nm_device_activation_cancel): Remove.
5022         (nm_device_deactivate_quickly): Handle the case where device is activating.
5023
5024         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5025         It does the exact same thing as real_deactivate_quickly().
5026
5027 2008-03-17  Dan Williams  <dcbw@redhat.com>
5028
5029         Split the 802.1x bits out of the wireless-security setting so they are
5030         generalized enough for wired 802.1x to use too.
5031
5032         * introspection/nm-exported-connection.xml
5033                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5034                         of just a hash of the secrets for one setting
5035
5036         * libnm-util/nm-setting-wireless-security.c
5037           libnm-util/nm-setting-wireless-security.h
5038                 - Remove 802.1x-specific stuff
5039                 - Added leap-username and leap-password properties for old-school LEAP
5040
5041         * src/nm-device.c
5042           src/nm-device.h
5043                 - (connection_secrets_updated_cb): take a list of updated settings names,
5044                         not just one
5045
5046         * src/supplicant-manager/nm-supplicant-config.c
5047           src/supplicant-manager/nm-supplicant-config.h
5048                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5049                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5050                         to nm_supplicant_config_add_setting_8021x()
5051                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5052                         the supplicant config
5053
5054         * src/nm-device-802-11-wireless.c
5055                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5056                 - (real_connection_secrets_updated): take a list of updated settings
5057                         names, not just one
5058
5059         * src/nm-device-802-3-ethernet.c
5060           src/nm-cdma-device.c
5061           src/nm-gsm-device.c
5062                 - (real_connection_secrets_updated_cb): take a list of updated settings
5063                         names, not just one
5064
5065         * src/nm-activation-request.c
5066           src/nm-activation-request.h
5067                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5068                         now passes a list of updated settings names, not just one
5069                 - (update_one_setting): new function; handle one updated setting
5070                 - (get_secrets_cb): handle multiple settings returned from the
5071                         settings service; have to be careful of ordering here as there are
5072                         some dependencies between settings (ex. wireless-security and 802.1x
5073                         in some cases)
5074
5075         * src/marshallers/nm-marshal.list
5076                 - new marshaller for connection-secrets-updated signal
5077
5078         * libnm-util/nm-setting-8021x.c
5079                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5080                         methods
5081                 - (verify): a valid 'eap' property is now required
5082
5083         * libnm-util/nm-connection.c
5084                 - (register_default_settings): add priorities to settings; there are
5085                         some dependencies between settings, and during the need_secrets
5086                         calls this priority needs to be respected.  For example, only the
5087                         wireless-security setting knows whether or not the connection is
5088                         going to use 802.1x or now, so it must be asked for secrets before
5089                         any existing 802.1x setting is
5090                 - (nm_connection_lookup_setting_type): expose
5091
5092         * libnm-util/nm-setting-wireless.c
5093                 - (verify): should verify even if all_settings is NULL; otherwise won't
5094                         catch the case where there is missing security
5095
5096         * libnm-util/nm-setting-wireless-security.c
5097                 - Remove everything to do with 802.1x
5098                 - Add old-school LEAP specific properties for username and password
5099                 - (need_secrets): rework LEAP secrets checking
5100                 - (verify): rework for LEAP and 802.1x verification
5101
5102 2008-03-17  Dan Williams  <dcbw@redhat.com>
5103
5104         * src/NetworkManagerPolicy.c
5105                 - (auto_activate_device): always remove the current activation check
5106                         from the pending activation list, otherwise when the policy gets
5107                         destroyed on NM exit it will attempt to free the already freed
5108                         activation check
5109
5110 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5111
5112         * src/backends/NetworkManagerSlackware.c 
5113         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5114
5115         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5116
5117 2008-03-14  Dan Williams  <dcbw@redhat.com>
5118
5119         * src/nm-manager.c
5120                 - (nm_device_interface_get_iface): g_object_get() will return an
5121                         allocated value, so this function must not return const
5122                 - (nm_device_interface_activate): free returned iface
5123
5124 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5125
5126         * libnm-util/Makefile.am: Add new files to build.
5127
5128         * libnm-util/nm-connection.c: Register NMSetting8021x.
5129
5130         * libnm-util/nm-setting-8021x.c
5131         * libnm-util/nm-setting-8021x.h: Implement.
5132
5133 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5134
5135         * libnm-util/Makefile.am: Add new files to build.
5136
5137         * libnm-util/nm-connection.c: Register NMSetting8021x.
5138
5139         * libnm-util/nm-setting-8021x.c
5140         * libnm-util/nm-setting-8021x.h: Implement.
5141
5142 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5143
5144         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5145         data.
5146
5147 2008-03-14  Dan Williams  <dcbw@redhat.com>
5148
5149         * include/wireless-helper.h
5150           include/Makefile.am
5151                 - One place for all the junk needed for #including wireless.h
5152
5153         * test/nm-tool.c
5154           src/NetworkManagerAP.c
5155           src/wpa.c
5156           src/Makefile.am
5157           libnm-util/nm-utils.c
5158           libnm-util/nm-setting-wireless.c
5159           libnm-glib/nm-device-802-11-wireless.c
5160           libnm-glib/nm-access-point.c
5161           libnm-glib/libnm-glib-test.c
5162                 - include wireless-helper.h, not iwlib.h
5163
5164         * configure.in
5165                 - Don't need libiw really, just need to check for wireless.h
5166
5167         * src/kernel-types.h
5168                 - Remove; used types moved into wpa.c
5169
5170         * src/nm-device-802-11-wireless.c
5171                 - (nm_device_802_11_wireless_update_signal_strength,
5172                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5173                    nm_device_802_11_wireless_set_mode,
5174                    nm_device_802_11_wireless_get_frequency,
5175                    nm_device_802_11_wireless_get_ssid,
5176                    nm_device_802_11_wireless_set_ssid,
5177                    nm_device_802_11_wireless_get_bitrate,
5178                    nm_device_802_11_wireless_get_bssid,
5179                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5180                         instead of iwlib functions
5181
5182 2008-03-14  Dan Williams  <dcbw@redhat.com>
5183
5184         * src/ppp-manager/nm-ppp-manager.c
5185                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5186                         should only take the DBusGMethodInvocation argument, not user/pass
5187                         too.  With dbus-glib, async functions only take 2 C arguments since
5188                         the real dbus method arguments get passed back with
5189                         dbus_g_method_return()
5190
5191 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5192
5193         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5194         Adapt the changes of NMSettingIP4Config.
5195
5196 2008-03-13  Dan Williams  <dcbw@redhat.com>
5197
5198         * src/NetworkManagerUtils.c
5199           src/NetworkManagerUtils.h
5200                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5201
5202         * src/NetworkManagerAP.c
5203           src/nm-device-802-11-wireless.c
5204           src/nm-device-802-3-ethernet.c
5205                 - s/iw_ether_ntop/nm_ether_ntop/g
5206
5207 2008-03-13  Dan Williams  <dcbw@redhat.com>
5208
5209         * src/NetworkManagerPolicy.c
5210                 - (update_routing_and_dns): never set the default route through an
5211                         IPv4LL addressed device
5212
5213 2008-03-13  Dan Williams  <dcbw@redhat.com>
5214
5215         * NetworkManagerUtils.c
5216           NetworkManagerUtils.h
5217                 - Remove NMSock stuff
5218                 - Remove the completion stuff
5219
5220         * nm-device.c
5221           nm-device.h
5222           NetworkManager.c
5223           NetworkManagerSystem.c
5224           autoip.c
5225           nm-device-802-11-wireless.c
5226           nm-device-802-3-ethernet.c
5227                 - Remove NMSock and completion stuff
5228                 - Remove nm_ioctl_info()
5229
5230 2008-03-12  Dan Williams  <dcbw@redhat.com>
5231
5232         * src/nm-device.c
5233                 - (merge_ip4_config): avoid duplicates
5234
5235 2008-03-12  Dan Williams  <dcbw@redhat.com>
5236
5237         * libnm-util/nm-setting-ip4-config.c
5238           libnm-util/nm-setting-ip4-config.h
5239                 - Remove 'manual' and 'autoip' properties
5240                 - Add 'method' property
5241                 - (verify): fix verification with 'method'
5242                 - (finalize): free 'method'
5243                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5244                         up for 'method'
5245
5246         * src/nm-device.c
5247                 - (real_act_stage3_ip_config_start): check IP4Config method
5248                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5249                         the future
5250                 - (merge_ip4_config): IP settings are valid with DHCP too
5251                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5252                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5253
5254         * src/nm-device-802-11-wireless.c
5255                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5256                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5257                         only on demand
5258
5259         * system-settings/plugins/ifcfg-fedora/parser.c
5260           system-settings/plugins/ifcfg-suse/parser.c
5261                 - (make_ip4_setting): fix up for 'method'
5262
5263 2008-03-12  Dan Williams  <dcbw@redhat.com>
5264
5265         * system-settings/plugins/ifcfg-fedora/parser.c
5266           system-settings/plugins/ifcfg-fedora/parser.h
5267                 - (get_ifcfg_name): ignore more file suffixes
5268                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5269
5270 2008-03-12  Dan Williams  <dcbw@redhat.com>
5271
5272         * configure.in
5273                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5274
5275 2008-03-12  Dan Williams  <dcbw@redhat.com>
5276
5277         * system-settings/plugins/ifcfg-fedora/plugin.c
5278                 - (write_auto_wired_connection): new function; write out an auto
5279                         wired connection file since the applet isn't doing it any more
5280                 - (reload_all_connections): write out the auto wired connection file
5281                         if there aren't any wired connections already
5282                 - (init): don't leak a GError
5283
5284 2008-03-12  Dan Williams  <dcbw@redhat.com>
5285
5286         * src/nm-device-interface.c
5287                 - (nm_device_interface_activate): print the ID of the connection
5288                         that's about to be activated
5289
5290 2008-03-12  Dan Williams  <dcbw@redhat.com>
5291
5292         Harmonize the 802.11 bitrate API
5293
5294         * introspection/nm-access-point.xml
5295                 - 'Rate' -> 'MaxBitrate'; clarify units
5296
5297         * introspection/nm-device-802-11-wireless.xml
5298                 - Clarify units of 'Bitrate'
5299
5300         * src/NetworkManagerAP.c
5301           src/NetworkManagerAP.h
5302                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5303                         property to 'max-bitrate'
5304                 - (foreach_property_cb): convert rate to Kb/s
5305
5306         * src/nm-device-802-11-wireless.c
5307                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5308
5309         * libnm-glib/nm-access-point.c
5310           libnm-glib/nm-access-point.h
5311                 - 'rate' -> 'max-bitrate'
5312
5313         * test/nm-tool.c
5314           libnm-glib/libnm-glib-test.c
5315                 - Fix up for these changes
5316
5317 2008-03-12  Dan Williams  <dcbw@redhat.com>
5318
5319         * src/nm-device.c
5320                 - (nm_device_set_ip4_config): don't send property notifications when
5321                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5322                         which dbus-glib can't parse because the value is NULL, which isn't
5323                         a legal object path.  Setting the IP4 config to NULL is only
5324                         valid when deactivating a device anyway, so the device state change
5325                         will alert listeners that the ip4 config is invalid.
5326
5327 2008-03-12  Dan Williams  <dcbw@redhat.com>
5328
5329         * src/nm-properties-changed-signal.c
5330                 - (add_to_string): better handling of NULL objects
5331
5332 2008-03-12  Dan Williams  <dcbw@redhat.com>
5333
5334         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5335         convert the libnm-glib NMDevice8023Ethernet to cached properties
5336
5337         * introspection/nm-device-802-3-ethernet.xml
5338                 - New 'Carrier' property
5339                 - New 'PropertiesChanged' signal
5340
5341         * introspection/nm-device.xml
5342                 - Remove 'Carrier' property
5343                 - Remove 'CarrierChanged' signal
5344
5345         * src/nm-device-interface.c
5346           src/nm-device-interface.h
5347                 - (nm_device_interface_init): remove 'carrier' property and
5348                         'carrier-changed' signal
5349
5350         * src/nm-device.c
5351           src/nm-device.h
5352                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5353                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5354                         the link here; wired device will handle that
5355                 - (handle_dhcp_lease_change): don't bother updating link here
5356                 - (get_property, nm_device_class_init): remove carrier property
5357
5358         * src/nm-device-802-11-wireless.c
5359                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5360                         real_update_link(); wireless devices don't use carrier at all
5361                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5362                    supplicant_iface_connection_state_cb_handler,
5363                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5364
5365         * src/nm-device-802-3-ethernet.c
5366           src/nm-device-802-3-ethernet.h
5367                 - (nm_device_802_3_ethernet_carrier_on,
5368                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5369                         instead of nm_device_set_carrier()
5370                 - (device_state_changed): update link from sysfs on activation;
5371                         replaces real_update_link()
5372                 - (real_update_link): remove, replaced by device_state_changed()
5373                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5374                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5375                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5376                         new get_carrier function
5377                 - (get_property): add 'carrier' property
5378                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5379                         hook into property-changed signal helper
5380
5381         * src/NetworkManagerPolicy.c
5382                 - (device_carrier_changed): will only ever be called with a wired device
5383                 - (device_added): only hook up to carrier-changed for wired devices
5384
5385         * libnm-glib/nm-device.c
5386           libnm-glib/nm-device.h
5387                 - (constructor, nm_device_class_init): remove carrier-changed signal
5388                 - (device_carrier_changed_proxy): remove; unused
5389                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5390
5391         * libnm-glib/nm-device-802-3-ethernet.c
5392           libnm-glib/nm-device-802-3-ethernet.h
5393                 - Convert to cached properties like AP and Wireless objects
5394                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5395                         instead of a 'char *', return value should not be freed
5396                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5397                 - (constructor): hook into properties-changed helper
5398                 - (set_property, get_property): new functions
5399                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5400
5401         * test/nm-tool.c
5402                 - (detail_device): strdup the wired hardware address too since it's
5403                         cached now
5404
5405         * libnm-glib/libnm-glib-test.c
5406                 - (dump_wired): strdup the wired hardware address too since it's
5407                         cached now
5408
5409 2008-03-12  Dan Williams  <dcbw@redhat.com>
5410
5411         * libnm-util/nm-setting-ip4-config.c
5412           libnm-util/nm-setting-ip4-config.h
5413                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5414                         the 'autoip' property from the spec
5415
5416 2008-03-11  Dan Williams  <dcbw@redhat.com>
5417
5418         * src/backends/NetworkManagerGeneric.c
5419           src/backends/NetworkManagerGeneric.h
5420                 - (nm_generic_device_get_use_dhcp): remove
5421
5422 2008-03-11  Dan Williams  <dcbw@redhat.com>
5423
5424         * src/nm-device.c
5425                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5426                         already in nm_device_set_ip4_config()
5427                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5428                         due to a DHCP rebind fails
5429                 - (nm_device_set_ip4_config): send property notifications when the
5430                         ip4 config changes
5431                 - (get_property): only report IP4Config property during valid states
5432
5433         * src/NetworkManagerPolicy.c
5434                 - (update_routing_and_dns): ignore devices that don't have an ip4
5435                         config; add parameter 'force_update' to allow callers to specify
5436                         that changes should be made even if the default device doesn't change
5437                 - (device_ip4_config_changed): update DNS and routing when the device's
5438                         IP4Config changes, like for DHCP updates
5439                 - (device_added): listen for ip4-config property changes
5440
5441 2008-03-11  Dan Williams  <dcbw@redhat.com>
5442
5443         Fix address handling as a result of DHCP rebind/renew/reboot.
5444
5445         * src/NetworkManagerSystem.c
5446                 - (check_one_address): delete an address if it doesn't match a given
5447                         one for the same interface
5448                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5449                         be smarter about flushing addresses (only flush ones that don't
5450                         match the one we're about to apply)
5451
5452         * src/backends/NetworkManagerDebian.c
5453           src/backends/NetworkManagerSuSE.c
5454           src/backends/NetworkManagerArch.c
5455           src/backends/NetworkManagerSlackware.c
5456           src/backends/NetworkManagerRedHat.c
5457           src/backends/NetworkManagerPaldo.c
5458           src/backends/NetworkManagerFrugalware.c
5459           src/backends/NetworkManagerGentoo.c
5460                 - (nm_system_delete_default_route): remove
5461
5462         * src/backends/NetworkManagerGeneric.c
5463           src/backends/NetworkManagerGeneric.h
5464                 - (nm_generic_enable_loopback): fix the loopback device label
5465                 - (nm_generic_delete_default_route): remove; no longer used
5466
5467 2008-03-11  Dan Williams  <dcbw@redhat.com>
5468
5469         * src/nm-device-interface.h
5470                 - Delimit property name words with '-', otherwise g_object_notify()
5471                         doesn't work the way we expect
5472
5473 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5474
5475         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5476
5477 2008-03-11  Dan Williams  <dcbw@redhat.com>
5478
5479         * src/NetworkManagerPolicy.c
5480                 - (update_routing_and_dns): don't change anything if the default device
5481                         hasn't changed; print something out when switching the default route
5482                         and DNS
5483
5484 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5485
5486         Implement PPPoE.
5487
5488         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5489         setting. Use "nic-$eth".
5490
5491         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5492         the device is activating here to fix a race condition.
5493
5494         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5495
5496         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5497         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5498         (nm_ppp_manager_start): Take activation request instead of connection, we might
5499         need it for asking secrets.
5500         (nm_ppp_manager_update_secrets): Implement.
5501
5502         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5503         ppp manager start. It might be needed for asking secrets.
5504
5505         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5506         (ppp_state_changed): Handle pppd daemon disappearing.
5507         (pppoe_stage2_config): Send activation request to ppp manager start.
5508
5509         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5510
5511         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5512         username and password.
5513         
5514 2008-03-10  Dan Williams  <dcbw@redhat.com>
5515
5516         * src/nm-device.c
5517                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5518                         response to a DHCP lease change
5519                 - (dhcp_state_changed): handle DHCP lease changes while activated
5520                 - (nm_device_set_ip4_config): remove a previously set named config
5521                         when setting an ip4 config
5522
5523 2008-03-10  Dan Williams  <dcbw@redhat.com>
5524
5525         * src/nm-serial-device.c
5526                 - (nm_serial_device_send_command): report errno on error
5527                 - (get_reply_got_data): limit the size of the overall buffer
5528                 - (wait_for_reply_info_destroy): destroy result string
5529                 - (wait_for_reply_got_data): append received data to an overall buffer
5530                         until timeout, filled buffer, or error instead of keeping a per-call
5531                         buffer.  Some devices send data slowly enough that this function
5532                         gets called multiple times for the same command stream.
5533                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5534                         wait_for_reply_got_data() here
5535
5536 2008-03-10  Dan Williams  <dcbw@redhat.com>
5537
5538         * src/nm-cdma-device.c
5539                 - (do_dial, init_modem): handle errors from
5540                         nm_serial_device_send_command_string()
5541
5542         * src/nm-gsm-device.c
5543                 - (do_dial, manual_registration, automatic_registration_get_network,
5544                    automatic_registration, enter_pin, check_pin, init_modem): handle
5545                         errors from nm_serial_device_send_command_string()
5546
5547 2008-03-10  Dan Williams  <dcbw@redhat.com>
5548
5549         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5550
5551         * src/named-manager/nm-named-manager.c
5552                 - (compute_searches): prefer searches before domains
5553                 - (compute_domain): new function
5554                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5555                 - (merge_one_ip4_config): if there are no searches in the source config,
5556                         merge domains of the source config into the target config
5557                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5558
5559 2008-03-10  Dan Williams  <dcbw@redhat.com>
5560
5561         * src/nm-serial-device.c
5562                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5563                 - (wait_for_reply_got_data): try to handle slower serial devices where
5564                         the reply is broken up into multiple reads by concatenating replies
5565                         together until either an error is received or the search string is
5566                         found
5567
5568 2008-03-10  Dan Williams  <dcbw@redhat.com>
5569
5570         * src/nm-device.c
5571                 - (nm_device_bring_down): deactivate the device if it's activating too,
5572                         not just if it's already activated.  This makes sure that everything
5573                         from an association attempt is cleaned up (like DHCP for example)
5574
5575 2008-03-10  Dan Williams  <dcbw@redhat.com>
5576
5577         * src/nm-serial-device.c
5578                 - (config_fd): report error from TCSETA
5579                 - (nm_serial_device_open): fail when config_fd() fails
5580
5581 2008-03-10  Dan Williams  <dcbw@redhat.com>
5582
5583         * src/nm-ip4-config.c
5584                 - (nm_ip4_config_init): allocate searches list
5585                 - (finalize): free searches list
5586
5587 2008-03-09  Dan Williams  <dcbw@redhat.com>
5588
5589         Patch from Bas Zoetekouw <bas@debian.org>
5590
5591         * src/dhcp-manager/nm-dhcp-manager.c
5592                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5593
5594 2008-03-09  Dan Williams  <dcbw@redhat.com>
5595
5596         Patch from Bas Zoetekouw <bas@debian.org>
5597
5598         * src/nm-ip4-config.c
5599           src/nm-ip4-config.h
5600                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5601                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5602                         domains.  'searches' is the correct way to store multiple search
5603                         domains, whereas 'domains' is really just supposed to store one
5604                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5605                         search domains to the client.
5606                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5607
5608 2008-03-09  Dan Williams  <dcbw@redhat.com>
5609
5610         * src/dhcp-manager/nm-dhcp-manager.c
5611                 - (dhclient_run): send interface-specific config files to dhclient
5612
5613 2008-03-07  Dan Williams  <dcbw@redhat.com>
5614
5615         * system-settings/plugins/ifcfg-fedora/parser.c
5616                 - (is_wireless_device): new function; test a device for wireless
5617                         extensions
5618                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5619                         test the device for wireless extensions to determine the type
5620
5621 2008-03-07  Dan Williams  <dcbw@redhat.com>
5622
5623         Change manager's StateChange signal to StateChanged for consistency.
5624
5625         * introspection/nm-manager.xml
5626                 - Add 'StateChanged' signal
5627                 - Move 'StateChange' down to the deprecated section
5628
5629         * src/nm-hal-manager.c
5630                 - (nm_hal_manager_new): connect to 'state-changed' instead
5631
5632         * src/NetworkManagerPolicy.c
5633                 - (nm_policy_new): connect to 'state-changed' instead
5634
5635         * src/nm-manager.c
5636           src/nm-manager.h
5637                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5638                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5639                         of 'state-change'
5640
5641         * libnm-glib/nm-client.c
5642           libnm-glib/nm-client.h
5643                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5644                         track and proxy 'state-changed' instead of 'state-change'
5645
5646 2008-03-07  Dan Williams  <dcbw@redhat.com>
5647
5648         First pass of multiple active device support.  Expect bugs.
5649
5650         * src/nm-ip4-config.c
5651           src/nm-ip4-config.h
5652                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5653                         there are better ways to do this in the named manager
5654
5655         * src/nm-device.c
5656           src/nm-device.h
5657                 - (nm_device_can_activate): return whether the device can activate a
5658                         connection right now; taking into account things like carrier state
5659                         and rfkill state
5660                 - (nm_device_get_best_auto_connection): renamed from
5661                         nm_device_get_best_connection
5662                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5663                         device subclasses themselves, so that each device can override the
5664                         MTU from it's NMSetting subclass if needed
5665                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5666                         in NetworkManagerSystem.c, not here
5667
5668         * src/named-manager/nm-named-manager.c
5669           src/named-manager/nm-named-manager.h
5670                 - (nm_named_manager_name_owner_changed,
5671                    nm_named_manager_dbus_connection_changed): fix for changes to
5672                         rewrite_resolv_conf()
5673                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5674                         from parameter list
5675                 - (merge_one_ip4_config): new function; merge ip4 configs together
5676                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5677                         ip4 configs; the VPN config takes precedence, then the best
5678                         device config, then the rest of the configs
5679                 - (get_domain_for_config): take the NMNamedManager as an argument
5680                         to check whether the config is the VPN config
5681                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5682                         attribute from ip4 configs
5683                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5684                 - (remove_ip4_config_from_named): fix for changes to
5685                         get_domain_for_config()
5686                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5687                         based on its type; callers must pass in the type now
5688                 - (get_last_default_domain): remove, unused
5689                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5690
5691         * src/nm-device-802-11-wireless.c
5692                 - (real_can_activate): new function
5693                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5694                 - (real_act_stage4_get_ip4_config): handle MTU override
5695
5696         * src/nm-device-802-3-ethernet.c
5697                 - (real_can_activate): new function
5698                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5699                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5700
5701         * src/vpn-manager/nm-vpn-connection.c
5702                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5703                         attribute on the ip4 config
5704
5705         * src/NetworkManagerPolicy.c
5706                 - (nm_policy_auto_get_best_device): remove
5707                 - (nm_policy_device_change_check): remove
5708                 - (update_default_route): new function; set the default route via
5709                         the specified device
5710                 - (get_device_priority): new function; return the priority number of
5711                         a device type WRT which one should have the default route.  Order is
5712                         (highest to lowest)  wired, wireless, GSM, CDMA.
5713                 - (update_routing_and_dns): new function; determine which device should
5714                         have the default route, then update the routing table and DNS
5715                 - (maybe_auto_activate_device): new function; if a device is now
5716                         available for activation, find out what connection it would like to
5717                         activate and do it
5718                 - (schedule_activate_check): new function; if a device can be activated
5719                         now, schedule the activation.  Each device may have only one
5720                         pending activation at a given time.
5721                 - (device_state_changed): if activation was canceled, try again,
5722                         possibly with another connection; if the device was activated,
5723                         update routing and DNS; if the device was deactivated, try again
5724                         with another connection
5725                 - (device_carrier_changed): if there is no carrier, deactivate the
5726                         device; otherwise schedule an activation check for the device
5727                 - (wireless_networks_changed): schedule an activation check for the
5728                         device
5729                 - (device_added): keep track of the signal handler IDs so they can
5730                         be removed when the device goes away
5731                 - (device_removed): remove any signal handlers that might be attached
5732                         to the device; update routing and DNS
5733                 - (schedule_activate_all): new function
5734                 - (connections_added, connection_added, connection_updated): when
5735                         connections change, schedule all devices for an activation check
5736                 - (connection_removed): when a device is deactivated because its
5737                         connection was removed, schedule another activation check for it
5738                 - (nm_policy_destroy): destroy pending activations and disconnect
5739                         all device signal handlers
5740
5741         * src/nm-manager.c
5742                 - (nm_manager_activate_device): if the device was already actived,
5743                         deactivate it
5744                 - (deactivate_old_device): remove
5745                 - (connection_added_default_handler, impl_manager_activate_device):
5746                         don't deactivate other devices when activating this one
5747
5748         * src/backends/NetworkManagerGentoo.c
5749           src/backends/NetworkManagerFrugalware.c
5750           src/backends/NetworkManagerPaldo.c
5751           src/backends/NetworkManagerRedHat.c
5752           src/backends/NetworkManagerSlackware.c
5753           src/backends/NetworkManagerArch.c
5754           src/backends/NetworkManagerSuSE.c
5755           src/backends/NetworkManagerDebian.c
5756                 - (nm_system_get_mtu): remove; MTU should be provided through the
5757                         distro's system settings service plugin instead
5758                 - (nm_system_device_add_default_route_via_device): remove
5759                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5760                 - (nm_system_device_replace_default_route): new function; call
5761                         generic implementation
5762
5763         * src/backends/NetworkManagerGeneric.c
5764           src/backends/NetworkManagerGeneric.h
5765                 - (nm_generic_device_add_default_route_via_device,
5766                    nm_generic_device_add_default_route_via_device_with_iface): remove
5767                 - (nm_generic_device_replace_default_route): replace the default route
5768                         with the given route via some gateway
5769
5770         * src/NetworkManagerSystem.c
5771           src/NetworkManagerSystem.h
5772                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5773                         to routing and DNS; but set the MTU here
5774                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5775                         ip_iface of the active device; use the standard MTU setting function
5776                 - (nm_system_set_mtu): remove
5777                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5778
5779 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5780
5781         Rework the interaction between ppp manager and pppd plugin. Register a well
5782         known DBUS service in manager and let the plugin call it's methods instead
5783         of listening plugin's signals.
5784
5785         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5786         of emitting signals.
5787
5788         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5789
5790         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5791
5792         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5793         nm_ppp_manager_start().
5794
5795         * introspection/nm-ppp-manager.xml: New file.
5796
5797         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5798         the case correctly where driver is trying to send -1 for the speed, which gets
5799         casted to u16 and thus is always > 0.
5800
5801 2008-03-07  Dan Williams  <dcbw@redhat.com>
5802
5803         * src/nm-hal-manager.c
5804                 - (nm_get_device_driver_name): use net.originating_device first, fall
5805                         back to physical device.  HAL has deprecated physical_device.
5806
5807         * libnm-glib/nm-device.c
5808                 - (get_product_and_vendor): use net.originating_device first, fall
5809                         back to physical device.  HAL has deprecated physical_device.
5810                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5811
5812 2008-03-07  Dan Williams  <dcbw@redhat.com>
5813
5814         * src/nm-netlink.c
5815                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5816                         last commit; fix that
5817                 - (get_link_cache): print error string
5818
5819 2008-03-07  Dan Williams  <dcbw@redhat.com>
5820
5821         * src/nm-netlink.c
5822                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5823                         don't need this hack any more (Benoit Boissinot)
5824
5825 2008-03-06  Dan Williams  <dcbw@redhat.com>
5826
5827         * autogen.sh
5828                 - Die gnome-common, die
5829
5830 2008-03-04  Dan Williams  <dcbw@redhat.com>
5831
5832         Patch from Michael Biebl <biebl@debian.org>
5833
5834         * NetworkManager.pc.in
5835                 - doesn't actually depend on dbus-1
5836
5837         * libnm-util/nm-utils.h
5838                 - remove unused #include <dbus/dbus.h>
5839
5840         * libnm-glib/libnm_glib.pc.in
5841                 - depends on glib and dbus-glib
5842
5843 2008-03-02  Dan Williams  <dcbw@redhat.com>
5844
5845         * src/NetworkManagerPolicy.c
5846                 - s/device_state_changed_idle_id/update_state_id/
5847
5848 2008-03-02  Dan Williams  <dcbw@redhat.com>
5849
5850         * src/nm-device.c
5851           src/nm-device.h
5852           src/nm-device-802-11-wireless.c
5853           src/nm-device-802-3-ethernet.c
5854           src/NetworkManagerPolicy.c
5855                 - s/link_active/carrier
5856                 - nm_device_set_active_link() -> nm_device_set_carrier()
5857                 - nm_device_has_active_link() -> nm_device_get_carrier()
5858
5859 2008-03-02  Dan Williams  <dcbw@redhat.com>
5860
5861         * system-settings/plugins/ifcfg-fedora/parser.c
5862                 - (make_wireless_setting): fail connection creation on missing SSID
5863
5864 2008-02-29  Dan Williams  <dcbw@redhat.com>
5865
5866         * src/NetworkManagerPolicy.c
5867                 - (nm_policy_device_change_check): ensure that a previously active
5868                         device with a system connection has a link before denying a switch
5869                         to a user connection
5870
5871 2008-02-29  Dan Williams  <dcbw@redhat.com>
5872
5873         * src/nm-device-802-11-wireless.c
5874                 - (link_timeout_cb): try again if scanning; deactivate the device when
5875                         activated if the link dies
5876                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5877                         15 seconds
5878
5879 2008-02-29  Dan Williams  <dcbw@redhat.com>
5880
5881         * src/nm-device-802-11-wireless.c
5882           src/nm-device-802-11-wireless.h
5883                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5884                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5885                 - (device_cleanup): reset the scan interval lower when the device
5886                         deactivates
5887                 - (can_scan): base decision mostly off device state, not supplicant
5888                         interface state since the supplicant interface state isn't a
5889                         great indicator of whether the device is active or not
5890                 - (request_wireless_scan): clean up; schedule the next scan here
5891                 - (schedule_scan): only back the scan interval off if a new scan
5892                         actually gets scheduled; and make scan intervals tighter when the
5893                         device is disconnected
5894                 - (supplicant_iface_state_cb_handler): fold in the bits of
5895                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5896                         interval to minimum
5897                 - (activation_success_handler): reset scan interval to something
5898                         reasonable 
5899
5900 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5901
5902         reviewed by: Steev <steev@steev.net>
5903
5904         * configure.in:
5905         * src/backends/NetworkManagerGentoo.c:
5906         (nm_system_restart_mdns_responder):
5907                 Howl is no longer a supported mDNS provider
5908
5909 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5910
5911         Get rid of a bunch of unused distro specific functions.
5912
5913 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5914
5915         Implement suse plugin for system settings daemon.
5916
5917         * system-settings/plugins/ifcfg-suse/*: Implement.
5918
5919         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5920         suse.
5921
5922         * configure.in: Check (without failing) for gio.
5923         Create ifcfg-suse plugin's Makefile.
5924
5925 2008-02-20  Dan Williams  <dcbw@redhat.com>
5926
5927         * libnm-util/nm-connection.c
5928           libnm-util/nm-connection.h
5929                 - (nm_connection_compare): accept compare flags and pass them to the
5930                         setting compare function
5931
5932         * libnm-util/nm-setting.c
5933           libnm-util/nm-setting.h
5934                 - (nm_setting_compare): accept compare flags; ignore properties that are
5935                         marked fuzzy
5936
5937         * libnm-util/nm-setting-connection.c
5938           libnm-util/nm-setting-wireless.c
5939           libnm-util/nm-setting-ppp.c
5940           libnm-util/nm-setting-wired.c
5941                 - Mark some setting properties as ignorable when doing a fuzzy compare
5942
5943         * src/nm-device.c
5944                 - (device_activation_precheck): use exact compare
5945
5946 2008-02-20  Dan Williams  <dcbw@redhat.com>
5947
5948         * src/NetworkManagerPolicy.c
5949                 - (nm_policy_device_change_check): get scope off the connection, not
5950                         using the manager helper
5951
5952         * src/nm-manager.c
5953           src/nm-manager.h
5954                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5955                 - (connection_get_settings_cb): set scope and path on connection, not
5956                         using GObject data items
5957                 - (get_connection_for_proxy): don't need to return path, since that
5958                         can be gotten from the connection
5959                 - (get_connection_for_proxy): get path off the connection, not from
5960                         parameters
5961                 - (connection_removed_cb, connection_updated_cb): don't need to get
5962                         path from get_connection_for_proxy(); get scope off the connection
5963                         instead of using GObject data items
5964                 - (connection_added_default_handler, add_one_connection_element): use
5965                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5966                 - (nm_manager_get_connection_dbus_path): remove
5967                 - (nm_manager_get_connection_scope): remove
5968
5969 2008-02-20  Dan Williams  <dcbw@redhat.com>
5970
5971         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5972                 on confusing names
5973
5974         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5975                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5976                 NMExportedConnection
5977
5978         * Internally rename NMConnectionType -> NMConnectionScope
5979
5980         * Provide default implementations of the 'get_id' and 'get_settings' methods
5981                 of NMExportedConnection
5982
5983 2008-02-15  Dan Williams  <dcbw@redhat.com>
5984
5985         * src/nm-device-802-11-wireless.c
5986                 - (device_cleanup): release the AP list here too so that the AP list
5987                         doesn't survive across suspend/resume and up/down.  There is some
5988                         room for optimization, for example blow the list away when the card
5989                         brought back up, but only if the device has only been down for a
5990                         minute or more.
5991
5992 2008-02-15  Dan Williams  <dcbw@redhat.com>
5993
5994         * src/nm-hal-manager.c
5995                 - (modem_device_creator): recognize new HAL modem capabilities
5996
5997 2008-02-12  Dan Williams  <dcbw@redhat.com>
5998
5999         * system-settings/plugins/ifcfg-fedora/plugin.c
6000                 - (watch_path): handle IN_DELETE_SELF too
6001                 - (handle_connection_changed): notify when removing a connection
6002                 - (stuff_changed): don't warn on unknown inotify watches; handle the
6003                         case of a file moving out of the profile directory
6004
6005 2008-02-12  Dan Williams  <dcbw@redhat.com>
6006
6007         * system-settings/plugins/ifcfg-fedora/parser.c
6008                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6009
6010 2008-02-12  Dan Williams  <dcbw@redhat.com>
6011
6012         * libnm-util/nm-utils.c
6013                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6014                         just any empty array
6015
6016 2008-02-12  Dan Williams  <dcbw@redhat.com>
6017
6018         * system-settings/src/nm-system-config-interface.c
6019           system-settings/src/nm-system-config-interface.h
6020                 - (load_connections): get_connections() should now return an allocated
6021                         GSList that the system settings service will free
6022
6023         * system-settings/plugins/ifcfg-fedora/plugin.c
6024           system-settings/plugins/ifcfg-fedora/parser.h
6025           system-settings/plugins/ifcfg-fedora/parser.c
6026                 - Fix up inotify issues; handle keys-* files, handle new files appearing
6027                         in the profile directory, handle resolv.conf file changes
6028
6029 2008-02-10  Dan Williams  <dcbw@redhat.com>
6030
6031         * src/nm-device-802-3-ethernet.c
6032                 - (real_bring_up): save the supplicant interface state signal id
6033                 - (real_bring_down): disconnect from the supplicant interface state
6034                         signal
6035
6036 2008-02-07  Dan Williams  <dcbw@redhat.com>
6037
6038         * initscript/RedHat/NetworkManager.in
6039           initscript/RedHat/NetworkManagerDispatcher.in
6040                 - Add new-style LSB init headers
6041
6042 2008-02-07  Dan Williams  <dcbw@redhat.com>
6043
6044         * system-settings/src/dbus-settings.c
6045           system-settings/src/dbus-settings.h
6046                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6047                         table of secrets
6048                 - (connection_settings_get_secrets): consolidate error returns into
6049                         one place; use the new get_secrets() plugin interface function to
6050                         get secrets from the plugin itself rather than using GObject data
6051                         magic
6052
6053         * system-settings/src/main.c
6054                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6055                    load_connections): keep a private list of the plugin-returned
6056                         connections, don't use the plugin's GSList
6057
6058         * system-settings/plugins/ifcfg-fedora/plugin.c
6059                 - (watch_path): watch the path, not the filename (duh)
6060                 - (reload_all_connections): use the direct hash/equal functions; the
6061                         ones for int aren't appropriate here
6062                 - (get_secrets, system_config_interface_init): implement the
6063                         get_secrets() function
6064                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6065                         now in the connection's ConnectionData instead of being a GObject
6066                         data property
6067                 - (handle_profile_item_changed): ifcfg file path is now in the
6068                         connection's ConnectionData instead of being a GObject data property;
6069                         be sure to copy secrets over from the new connection to the existing
6070                         connection when updating the connection's settings
6071                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6072                         file descriptor
6073
6074         * system-settings/plugins/ifcfg-fedora/parser.c
6075           system-settings/plugins/ifcfg-fedora/parser.h
6076                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6077                    connection_data_copy_secrets, connection_data_free,
6078                    connection_data_add): new functions; connection data manipulation
6079                 - (make_wireless_security_setting): stuff secrets into the
6080                         connection data, not as GObject data items; make sure to close
6081                         the keys ifcfg file
6082                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6083                         connection data to the connection
6084
6085 2008-02-07  Dan Williams  <dcbw@redhat.com>
6086
6087         * system-settings/src/nm-system-config-interface.c
6088           system-settings/src/nm-system-config-interface.h
6089                 - Add a get_secrets() interface function to retrieve secrets for a
6090                         specific setting of a specific connection.  Document the interface
6091                         a bit more too.
6092
6093 2008-02-07  Dan Williams  <dcbw@redhat.com>
6094
6095         * src/nm-device-802-11-wireless.c
6096                 - (handle_auth_or_fail): new function; consolidate device activation
6097                         failure check after a certain number of failures getting secrets
6098                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6099                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6100                         the connection if secrets were requested more than a few times
6101                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6102                         tries here; otherwise they are cleared before the IP configure
6103                         timeout, which happens with open system WEP when key is wrong
6104                 - (activation_success_handler): clear wireless secrets tries here too
6105
6106 2008-02-07  Dan Williams  <dcbw@redhat.com>
6107
6108         * src/NetworkManagerPolicy.c
6109                 - (connection_updated): clear invalid tag when connection gets updated
6110                         to allow that connection to be tried again
6111                 - (nm_policy_new): save signal ids so they can be disconnected when
6112                         the policy is destroyed
6113                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6114                         and disconnect all signals from the manager object so that none
6115                         of the policy functions gets called after the policy is destroyed
6116
6117 2008-02-06  Dan Williams  <dcbw@redhat.com>
6118
6119         * src/nm-manager.c
6120                 - (finalize): remove devices a bit earlier; clean up system settings
6121                         poke
6122                 - (nm_manager_name_owner_changed): clean up system settings poke when
6123                         the service appears, and try to restart it if it fails
6124                 - (poke_system_settings_daemon_cb): try to get the system settings
6125                         service started through D-Bus service activation
6126                 - (initial_get_connections): start the system settings daemon if it's
6127                         not already running
6128
6129 2008-02-05  Dan Williams  <dcbw@redhat.com>
6130
6131         * src/supplicant-manager/nm-supplicant-config.c
6132                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6133                         broadcast networks too
6134
6135 2008-02-04  Dan Williams  <dcbw@redhat.com>
6136
6137         * system-settings/plugins/ifcfg-fedora/parser.c
6138                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6139                         need key_mgmt set too
6140                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6141                         .bak files; ensure that an error is set whenever NULL gets returned
6142
6143 2008-02-04  Dan Williams  <dcbw@redhat.com>
6144
6145         * system-settings/src/Makefile.am
6146                 - Install D-Bus service activation file for the system settings
6147                         service
6148
6149         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6150                 - D-Bus service activation file for system settings service
6151
6152 2008-02-04  Dan Williams  <dcbw@redhat.com>
6153
6154         * system-settings/src/main.c
6155                 - (parse_config_file): parse a config file
6156                 - (main): accept --config option and read plugins from config file
6157
6158 2008-02-04  Dan Williams  <dcbw@redhat.com>
6159
6160         * system-settings/plugins/ifcfg-fedora/plugin.c
6161                 - Change reported name to 'ifcfg-fedora'
6162                 - Use IFCFG_PLUGIN_NAME
6163
6164         * system-settings/plugins/ifcfg-fedora/plugin.c
6165                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6166
6167 2008-02-04  Dan Williams  <dcbw@redhat.com>
6168
6169         * system-settings/plugins/ifcfg-fedora/parser.c
6170                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6171                 - (make_connection_setting): use get_ifcfg_name()
6172                 - (make_wireless_security_setting): handle shadow key files
6173                 - (get_one_wep_key): treat empty string as NULL
6174
6175 2008-02-04  Dan Williams  <dcbw@redhat.com>
6176
6177         * src/supplicant-manager/nm-supplicant-manager.c
6178                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6179                         glib automatically reschedule
6180                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6181                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6182                         the supplicant
6183
6184 2008-02-01  Dan Williams  <dcbw@redhat.com>
6185
6186         * src/NetworkManagerPolicy.c
6187                 - (device_state_changed): schedule a change check when a device gets
6188                         deactivated so something happens if you disconnect GSM/CDMA
6189
6190 2008-01-31  Dan Williams  <dcbw@redhat.com>
6191
6192         * src/nm-device-802-11-wireless.h
6193           src/nm-device-802-11-wireless.c
6194                 - (ap_list_get_ap_by_ssid, is_associated,
6195                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6196                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6197                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6198                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6199                         function
6200
6201 2008-01-30  Dan Williams  <dcbw@redhat.com>
6202
6203         * system-settings/plugins/ifcfg
6204         * system-settings/plugins/ifcfg-fedora
6205                 - Move the ifcfg plugin to ifcfg-fedora
6206
6207 2008-01-24  Dan Williams  <dcbw@redhat.com>
6208
6209         * libnm-glib/nm-device-802-11-wireless.c
6210                 - (get_access_point): move the "/" check here; check for invalid path
6211                         too
6212                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6213                         to get_access_point()
6214                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6215                         to send signals for non-existent access points
6216
6217 2008-01-24  Dan Williams  <dcbw@redhat.com>
6218
6219         * libnm-glib/nm-device-802-11-wireless.c
6220                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6221
6222 2008-01-23  Dan Williams  <dcbw@redhat.com>
6223
6224         * libnm-glib/libnm_glib.c
6225                 - (libnm_glib_init): make thread joinable
6226                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6227
6228 2008-01-23  Dan Williams  <dcbw@redhat.com>
6229
6230         * test/libnm_glib_test.c
6231                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6232                 - (main): set up signal handlers; call libnm_glib_shutdown
6233
6234 2008-01-21  Dan Williams  <dcbw@redhat.com>
6235
6236         * include/NetworkManager.h
6237                 - Add CDMA mobile broadband card device type
6238
6239         * src/nm-hal-manager.c
6240                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6241                         must now be tagged with 'cdma' or 'gsm' capability
6242
6243         * src/nm-cdma-device.c
6244           src/nm-cdma-device.h
6245           src/Makefile.am
6246                 - Add the CDMA mobile broadband card device class
6247
6248         * libnm-util/nm-connection.c
6249                 - (register_default_settings): add NMSettingCdma
6250
6251         * libnm-util/nm-setting-cdma.c
6252           libnm-util/nm-setting-cdma.h
6253           libnm-util/Makefile.am
6254                 - Add the CDMA mobile broadband card setting class
6255
6256         * libnm-glib/nm-cdma-device.c
6257           libnm-glib/nm-cdma-device.h
6258           libnm-glib/Makefile.am
6259                 - Add the CDMA mobile broadband card GLib proxy class
6260
6261         * libnm-glib/nm-client.c
6262                 - (get_device): handle CDMA devices too
6263
6264 2008-01-21  Dan Williams  <dcbw@redhat.com>
6265
6266         * src/ppp-manager/nm-ppp-manager.c
6267                 - (ip4_config_get): set peer address too
6268
6269         * src/ppp-manager/nm-pppd-plugin.c
6270                 - (nm_ip_up): try harder to get the peer's address
6271
6272         * src/NetworkManagerSystem.c
6273                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6274                         address, use that too.  Otherwise, some PPP connections won't work.
6275
6276 2008-01-19  Dan Williams  <dcbw@redhat.com>
6277
6278         * src/NetworkManagerPolicy.c
6279                 - (nm_policy_device_change_check): system connections override user
6280                         connections; don't activate a user connection if there's a currently
6281                         active system connection, and new, better system connections always
6282                         interrupt user connections
6283
6284 2008-01-19  Dan Williams  <dcbw@redhat.com>
6285
6286         * src/nm-manager.h
6287                 - (nm_manager_get_connection_type): new function
6288
6289 2008-01-19  Dan Williams  <dcbw@redhat.com>
6290
6291         * src/nm-device-802-11-wireless.c
6292                 - (real_get_best_connection): collapse find_best_connection() into this
6293                         function
6294
6295 2008-01-19  Dan Williams  <dcbw@redhat.com>
6296
6297         * src/nm-device-802-3-ethernet.c
6298                 - (real_get_best_connection): collapse find_best_connection() into this
6299                         function
6300
6301 2008-01-18  Dan Williams  <dcbw@redhat.com>
6302
6303         * src/nm-device-802-3-ethernet.c
6304                 - (find_best_connection): check MAC address too
6305                 - (real_get_best_connection): let autoconnect=True connections activate
6306                         for devices that don't have carrier detection
6307
6308         * src/nm-device-802-11-wireless.c
6309                 - (find_best_connection): check MAC address too
6310
6311 2008-01-18  Dan Williams  <dcbw@redhat.com>
6312
6313         * system-settings/plugins/ifcfg/parser.c
6314                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6315
6316 2008-01-17  Dan Williams  <dcbw@redhat.com>
6317
6318         * src/nm-device-802-3-ethernet.c
6319                 - (nm_device_802_3_ethernet_carrier_on,
6320                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6321                         carrier events that might come in for devices that don't support
6322                         carrier detect
6323
6324 2008-01-17  Dan Williams  <dcbw@redhat.com>
6325
6326         * src/nm-device-interface.c
6327                 - (nm_device_interface_check_connection_conflicts): need to actually
6328                         get the interface, not cast to the object
6329
6330         * src/nm-device.c
6331                 - (nm_device_check_connection_conflicts): need to get the device class,
6332                         not cast the device to the device class
6333
6334 2008-01-17  Dan Williams  <dcbw@redhat.com>
6335
6336         * src/nm-device-802-11-wireless.c
6337                 - (real_check_connection_conflicts): ignore connections that aren't
6338                         wireless connections
6339
6340 2008-01-17  Dan Williams  <dcbw@redhat.com>
6341
6342         * src/NetworkManagerPolicy.c
6343                 - (nm_policy_device_change_check): clear change check idle here
6344                 - (device_change_check_done): remove
6345                 - (schedule_change_check): simplify
6346
6347 2008-01-17  Dan Williams  <dcbw@redhat.com>
6348
6349         * src/nm-manager.c
6350                 - (check_connection_allowed): take an NMDeviceInterface instead of
6351                         an NMDevice object as an argument
6352                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6353                         check_connection_allowed()
6354
6355 2008-01-13  Dan Williams  <dcbw@redhat.com>
6356
6357         * libnm-glib/nm-device-802-11-wireless.c
6358                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6359
6360 2008-01-12  Dan Williams  <dcbw@redhat.com>
6361
6362         * src/nm-device-802-11-wireless.c
6363                 - (activation_success_handler): if a match was found in the scan list
6364                         and that match is a hidden AP, update that AP's SSID
6365
6366 2008-01-11  Dan Williams  <dcbw@redhat.com>
6367
6368         * src/NetworkManagerAP.c
6369                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6370
6371         * src/nm-device-802-11-wireless.c
6372                 - (get_active_ap): do two passes over the scan list if the caller
6373                         requests that hidden APs get matched too; during the second pass
6374                         when matching hidden APs, ignore the SSID since hidden APs in the
6375                         scan list don't have an SSID yet
6376                 - (periodic_update): move some checks to
6377                         nm_device_802_11_periodic_update() because not all callers need them
6378                 - (nm_device_802_11_periodic_update): move some checks here from
6379                         perodic_update()
6380                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6381                         matching on incoming scan results, because the fake AP's flags
6382                         might be slightly different (yet still compatible) with the incoming
6383                         scan result's flags and they might actually be the same AP; update
6384                         the rate on merged APs too
6385                 - (activation_success_handler): update the frequency of the fake AP
6386                         on successful connection; match hidden APs too since if the
6387                         current AP is fake, there might already be a scan result in the
6388                         scan list for the desired AP, just without it's SSID filled in yet
6389
6390 2008-01-10  Dan Williams  <dcbw@redhat.com>
6391
6392         * src/NetworkManagerAP.c
6393                 - (foreach_property_cb): catch more hidden SSID formats
6394
6395 2008-01-10  Dan Williams  <dcbw@redhat.com>
6396
6397         Fix gnome.org #464215.  Requires the kernel patch titled
6398         "Introduce WEXT scan capabilities" but will handle the patch not being
6399         present, you'll just continue to have problems with hidden SSIDs when
6400         using mac80211-based drivers.
6401
6402         * src/supplicant-manager/nm-supplicant-config.h
6403           src/supplicant-manager/nm-supplicant-config.c
6404                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6405                         whether the driver supports SSID scans or not.  If it does, and if
6406                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6407
6408         * src/nm-device-802-11-wireless.c
6409                 - (constructor): check whether or not the driver supports SSID scans
6410                 - (build_supplicant_config): pass driver SSID scan capability when
6411                         building the wireless bits of the supplicant config
6412
6413 2008-01-09  Dan Williams  <dcbw@redhat.com>
6414
6415         * src/nm-device.c
6416           src/nm-device.h
6417                 - (device_activation_precheck, check_connection_complete): remove this
6418                         virtual function; incomplete connections should be invalid by
6419                         definition, complete-ness should be checked in the setting's
6420                         verify function
6421
6422         * src/nm-serial-device.c
6423           src/nm-gsm-device.c
6424                 - (real_check_connection_complete): remove
6425
6426         * libnm-util/nm-setting-serial.c
6427                 - (verify): new function; ensure there is a PPP setting too
6428
6429         * libnm-util/nm-setting-gsm.c
6430                 - (verify): ensure there is a serial setting too
6431
6432 2008-01-06  Dan Williams  <dcbw@redhat.com>
6433
6434         * src/dhcp-manager/nm-dhcp-manager.c
6435                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6436                         (gnome.org #332953)
6437
6438 2008-01-04  Dan Williams  <dcbw@redhat.com>
6439
6440         * src/named-manager/nm-named-manager.c
6441                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6442                         nameservers if the secondary config doesn't have any
6443                         (gnome.org #346833)
6444
6445 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6446
6447         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6448         with G_PARAM_CONSTRUCT so that they get the default values.
6449
6450         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6451         the monitoring device and prints out the output for now. Or more precicely, doesn't
6452         do absolutely anything right now since the montoring device argument is never set.
6453
6454         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6455         requires it's own knob to turn it on.
6456         (config_fd): Add NMSettingSerial to the arguments list.
6457         (nm_serial_device_open): Ditto.
6458         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6459         (nm_serial_device_get_io_channel): Implement.
6460
6461         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6462         a new reference every time (and forgetting to release it sometimes) is a pain and
6463         it's not like NMManager could work without dbus.
6464         (nm_manager_add_device): Register the added device on dbus here.
6465
6466         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6467         device.
6468
6469         * src/nm-device.c (constructor): Don't export the device here, instead export
6470         it when it's added to the NMManager's device list.
6471
6472 2007-12-31  Dan Williams  <dcbw@redhat.com>
6473
6474         * src/nm-device-interface.c
6475           src/nm-device-interface.h
6476                 - (nm_device_interface_check_connection_conflicts): new function
6477
6478         * src/nm-device.c
6479           src/nm-device.h
6480                 - (nm_device_check_connection_conflicts): new function
6481                 - (device_activation_precheck): don't require subclasses to implement
6482                         check_connection_complete()
6483                 - check_connection() -> check_connection_complete()
6484
6485         * src/nm-device-802-11-wireless.c
6486                 - (real_check_connection): remove; unused
6487                 - (real_check_connection_conflicts): implement, handle lockdown for
6488                         system connections
6489
6490         * src/nm-device-802-3-ethernet.c
6491                 - (real_check_connection): remove; unused
6492
6493         * src/nm-manager.c
6494                 - (check_connection_allowed): new function
6495                 - (nm_manager_activate_device): ensure the connection being requested
6496                         is allowed to be activated
6497
6498         * src/nm-serial-device.c
6499           src/nm-gsm-device.c
6500                 - real_check_connection() -> real_check_connection_complete()
6501
6502 2007-12-27  Dan Williams  <dcbw@redhat.com>
6503
6504         * src/nm-device-interface.c
6505           src/nm-device-interface.h
6506                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6507                         normalize and expand errors
6508                 - (nm_device_interface_init): register errors so they can be marshalled
6509                         through dbus-glib
6510                 - (nm_device_interface_activate): ensure that failure of activation
6511                         returns an error
6512
6513         * src/nm-device.c
6514           src/nm-device.h
6515                 - (device_activation_precheck): implementations of check_connection()
6516                         now take a GError and must fill it in if the check fails.  Return
6517                         more descriptive error if the requested connection is already
6518                         activating
6519                 - (nm_device_activate): actually try to return descriptive errors on
6520                         failures
6521
6522         * src/nm-device-802-11-wireless.c
6523           src/nm-device-802-3-ethernet.c
6524           src/nm-serial-device.c
6525           src/nm-gsm-device.c
6526                 - (real_check_connection): return more descriptive errors on failure
6527
6528         * src/NetworkManagerPolicy.c
6529                 - (nm_policy_device_change_check): print activation errors in the logs
6530
6531         * src/nm-manager.c
6532                 - (nm_manager_error_quark, nm_manager_error_get_type,
6533                    nm_manager_class_init): new errors
6534                 - (nm_manager_activate_device): handle errors
6535                 - (nm_manager_error_new): removed
6536                 - (wait_for_connection_expired, connection_added_default_handler,
6537                    impl_manager_activate_device): better error handling
6538
6539 2007-12-27  Dan Williams  <dcbw@redhat.com>
6540
6541         Fixes gnome.org #466954
6542
6543         * src/supplicant-manager/nm-supplicant-settings-verify.c
6544                 - Allow 'frequency' network property
6545
6546         * src/supplicant-manager/nm-supplicant-config.c
6547           src/supplicant-manager/nm-supplicant-config.h
6548                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6549                         for callers to specify the frequency an Ad-Hoc network should operate
6550                         on.  Some drivers require this to successfully create an Ad-Hoc
6551                         network.
6552
6553         * src/nm-device-802-11-wireless.c
6554                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6555                         guint32 value in MHz
6556                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6557                         iw_freq_to_uint32()
6558                 - (find_supported_frequency): new function; find a free supported
6559                         frequency for a user-created Ad-Hoc network
6560                 - (build_supplicant_config): if no frequency was specified for a user-
6561                         created Ad-Hoc network, find a free one to use
6562                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6563                         a specific object as user-created
6564
6565 2007-12-27  Dan Williams  <dcbw@redhat.com>
6566
6567         * libnm-util/nm-utils.c
6568           libnm-util/nm-utils.h
6569                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6570                         for adhoc networks
6571
6572 2007-12-24  Dan Williams  <dcbw@redhat.com>
6573
6574         * libnm-util/nm-setting-wireless.c
6575                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6576                         185, 187, 188, 192, and 196
6577
6578 2007-12-24  Dan Williams  <dcbw@redhat.com>
6579
6580         * src/nm-device-802-11-wireless.c
6581                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6582                         a channel # instead of a frequency
6583
6584 2007-12-24  Dan Williams  <dcbw@redhat.com>
6585
6586         * src/NetworkManagerAP.c
6587           src/NetworkManagerAP.h
6588                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6589                 - (freq_to_channel): handle split band tables
6590                 - (channel_to_freq): handle split band tables, take a band argument
6591
6592 2007-12-24  Dan Williams  <dcbw@redhat.com>
6593
6594         * libnm-util/nm-setting-connection.h
6595           libnm-util/nm-setting-connection.c
6596                 - Add 'lockdown' member
6597
6598 2007-12-22  Dan Williams  <dcbw@redhat.com>
6599
6600         * libnm-util/nm-setting-wireless.c
6601                 - (nm_setting_wireless_class_init): add missing 'rate' property
6602                         specification
6603
6604 2007-12-18  Dan Williams  <dcbw@redhat.com>
6605
6606         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6607
6608         * src/nm-netlink-monitor.c
6609           src/nm-netlink-monitor.h
6610                 - Remove handrolled netlink, use libnl instead
6611
6612         * src/nm-device-802-3-ethernet.c
6613                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6614                    nm_device_802_3_ethernet_carrier_on): use new names
6615
6616 2007-12-17  Dan Williams  <dcbw@redhat.com>
6617
6618         * configure.in
6619                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6620                         and fixes memory leaks)
6621
6622         * src/nm-netlink.c
6623                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6624                         automatically handle the netlink PID
6625
6626 2007-12-17  Dan Williams  <dcbw@redhat.com>
6627
6628         Patch from Michael Biebl <biebl@debian.org>
6629
6630         * configure.in
6631           src/ppp-manager/Makefile.am
6632                 - fix up install dir of pppd plugin
6633                 - clean up configure.in a bit
6634
6635 2007-12-12  Dan Williams  <dcbw@redhat.com>
6636
6637         * system-settings/src/nm-system-settings.conf
6638                 - Allow non-root clients (like the applet) to read settings
6639
6640 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6641
6642         * Replace all occurences of 'UMTS' with 'GSM'.
6643
6644 2007-12-07  Dan Williams  <dcbw@redhat.com>
6645
6646         * src/nm-serial-device.c
6647                 - (real_is_up): serial devices are always "up"
6648
6649 2007-12-07  Dan Williams  <dcbw@redhat.com>
6650
6651         * src/nm-netlink.c
6652           src/NetworkManagerSystem.c
6653                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6654                         twice (gnome.org #491047)
6655                 - Make more robust against allocation-related failures should they occur
6656
6657 2007-12-07  Dan Williams  <dcbw@redhat.com>
6658
6659         Noticed by Christian Persch <chpe@gnome.org>
6660
6661         Always chain up to parent object in dispose and finalize handlers.
6662                 (gnome.org #433112)
6663
6664 2007-12-07  Dan Williams  <dcbw@redhat.com>
6665
6666         * src/nm-device-802-11-wireless.c
6667                 - Wrap #include of linux/mii.h to fix redefined structures due to
6668                         incorrect kernel headers (gnome.org #350061)
6669
6670 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6671
6672         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6673         before doing anything else.
6674         (init_modem): Move modem initialization here.
6675
6676         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6677         (nm_serial_device_flash): Implement.
6678
6679         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6680         changes signal is "StateChanged" and not "Status".
6681         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6682
6683 2007-12-06  Dan Williams  <dcbw@redhat.com>
6684
6685         * src/supplicant-manager/nm-supplicant-config.c
6686                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6687                         to only send some options when they make sense; also send phase2
6688                         option to the supplicant (possible fix for rh #399631)
6689
6690 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6691
6692         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6693         arguments: This whole file shouldn't really know anything about NMDevices, it
6694         should deal only with device interfaces. Devices might have different ifaces for
6695         different stuff and this place shouldn't know anything about it.
6696
6697         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6698         (global_state_changed): Implement. In the current NM it's not really important,
6699         but will be required in the case of multiple active devices. (Or even better,
6700         if stuff like that gets moved out from NM).
6701
6702         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6703         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6704         instead.
6705
6706         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6707         devices like serial devices (ttyS0 and ppp0 for example).
6708         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6709         set.
6710         (nm_device_set_ip_iface): Implement.
6711         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6712         after setting ip4_config from here ...
6713         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6714         than this function should call nm_system_device_set_from_ip4_config() because no
6715         other code has enough information on which arguments to use. So instead, other code
6716         could just set the new ip4 config using this function and everyone is happy.
6717
6718         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6719         if we happen to get deactivated while something is pending.
6720         (automatic_registration): Handle the response that indicates pending network
6721         registration and wait until the pending registration is done.
6722         (real_deactivate_quickly): If there's a pending operation, cancel it.
6723
6724         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6725         (real_deactivate_quickly): ... and remove it when it's down.
6726         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6727         it if needed.
6728         (nm_serial_device_wait_for_reply): Ditto.
6729
6730 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6731
6732         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6733         (get_network_done): Remove newline, nm_info() does it already.
6734         (real_act_stage1_prepare): Turn the modem echo off.
6735
6736         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6737         device, set the route to the device interface. This is a hack.
6738
6739         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6740         return, no need for a new-line.
6741         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6742         Change the device iface here (ugh).
6743         (real_act_stage4_get_ip4_config): Implement.
6744         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6745         Restore the device iface.
6746
6747         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6748         device is not wired or wireless (eg, automatically upped) device.
6749
6750         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6751         it isn't.
6752         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6753
6754         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6755         before calling it's is_device_fn().
6756
6757 2007-12-05  Dan Williams  <dcbw@redhat.com>
6758
6759         * libnm-util/nm-utils.c
6760                 - (nm_utils_register_value_transformations,
6761                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6762                         GHashTables of GValues too
6763
6764 2007-12-04  Dan Williams  <dcbw@redhat.com>
6765
6766         * initscript/RedHat/NetworkManager.in
6767                 - No longer start named; it's D-Bus interface is going away
6768
6769 2007-12-04  Dan Williams  <dcbw@redhat.com>
6770
6771         Patch from Michael Biebl <biebl@debian.org>
6772
6773         * system-settings/plugins/ifcfg/Makefile.am
6774           system-settings/src/main.c
6775           system-settings/src/Makefile.am
6776                 - Put system settings plugins in NM plugins dir
6777
6778         * src/ppp-manager/Makefile.am
6779           src/ppp-manager/nm-ppp-manager.c
6780                 - Move pppd plugin to NM plugins dir
6781
6782 2007-12-04  Dan Williams  <dcbw@redhat.com>
6783
6784         * libnm-util/nm-setting-vpn-properties.h
6785                 - Clarify usage of the 'data' member of the setting
6786
6787         * libnm-util/nm-setting-vpn-properties.c
6788                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6789                 - (set_property): just remove all the settings; don't recreate the has
6790                 - (update_one_secret): don't need to create the hash table here since
6791                         it should always be present
6792
6793 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6794
6795         Implement PIN and PUK requesting.
6796
6797         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6798         (enter_pin): Handle PIN and PUK requests.
6799         (real_act_stage1_prepare): Clear the secret type.
6800         (real_connection_secrets_updated): Implement this class method to get
6801         notified when new secrets arrive.
6802         (nm_umts_device_class_init): Add private data back to the umts device class
6803         to store the required secret type.
6804
6805 2007-12-01  Dan Williams  <dcbw@redhat.com>
6806
6807         * system-settings/plugins/ifcfg/parser.c
6808                 - (parser_parse_file): don't try to verify NULL connections
6809
6810 2007-12-01  Dan Williams  <dcbw@redhat.com>
6811
6812         * system-settings/src/main.c
6813                 - (load_connections, add_connection_to_settings): actually export
6814                         plugin-provided connections over D-Bus so NM can get them
6815
6816 2007-12-01  Dan Williams  <dcbw@redhat.com>
6817
6818         * system-settings/plugins/ifcfg/parser.c
6819           system-settings/plugins/ifcfg/parser.h
6820           system-settings/plugins/ifcfg/plugin.c
6821                 - Hook up more inotify bits (untested)
6822
6823 2007-11-29  Dan Williams  <dcbw@redhat.com>
6824
6825         * system-settings/src/nm-system-config-interface.h
6826           system-settings/src/nm-system-config-interface.c
6827                 - (nm_system_config_interface_init,
6828                    nm_system_config_interface_get_connections): add
6829
6830         * system-settings/src/main.c
6831                 - (load_plugins, load_connections, main): use a GSList for plugins
6832                         to ensure priority ordering
6833
6834         * system-settings/plugins/ifcfg/parser.c
6835                 - (ifcfg_error_quark): move to plugin.c, and rename
6836
6837         * system-settings/plugins/ifcfg/plugin.h
6838           system-settings/plugins/ifcfg/plugin.c
6839                 - (ifcfg_plugin_error_quark): move here from parser.c
6840                 - rework connection loading and initialization
6841                 - Add preliminary inotify support for network profile config file
6842
6843 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6844
6845         Merge the beginnings of the new GSM card support.
6846
6847         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6848         ppp watch source before killing pppd - If this happens from g_object_unref()
6849         then the ppp manager is already destroyed by the time the watch callback runs.
6850
6851         * src/nm-hal-manager.c: Add a device_type_name string to the device
6852         creators, so that we can print a nice human readable string when a
6853         device is added.
6854
6855         * src/nm-umts-device.c (automatic_registration_get_network): Query
6856         for the activated network, not much is done with the result thought.
6857
6858         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6859         (ppp_ip4_config): Change the device state to activated here for now.
6860         (real_check_connection): Make sure the connection includes ppp setting.
6861
6862         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6863
6864         * libnm-glib/Makefile.am: Add the new files to build.
6865
6866         * libnm-glib/nm-umts-device.c: 
6867         * libnm-glib/nm-umts-device.h: Implement.
6868
6869 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6870
6871         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6872         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6873
6874         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6875         the timeout source - this function is only called when the timeout source has
6876         been removed.
6877         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6878         to be big enough to contain the terminating zero element as well.
6879         The timeout argument is meant to be in seconds now.
6880         (real_deactivate_quickly): Implement.
6881
6882         * src/NetworkManager.conf: Allow root to own 
6883         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6884
6885         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6886         (not unsigned ints).
6887
6888         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6889         small issue with parity bounds - capital letters have lower ascii codes
6890         than lower case letters.
6891
6892         * libnm-util/nm-connection.c (register_default_settings): Register serial
6893         and umts settings.
6894
6895 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6896
6897         Remove the "index" property from devices as not all device types have this.
6898
6899         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6900
6901         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6902         (wired_device_creator): Get the device interface from hal to create the device.
6903         (wireless_device_creator): Ditto.
6904
6905         * src/nm-device.c (nm_device_init): Remove the index member.
6906         (constructor): Remove the checks for index property, make interface property
6907         a require constructor property.
6908         Use the HAL udi for DBus path for devices.
6909         (nm_device_get_index): Remove.
6910         (set_property): Remove index handling.
6911         (get_property): Ditto.
6912         (nm_device_get_dbus_path): Remove.
6913
6914         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6915         property.
6916
6917         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6918         Access the device index through it's interface.
6919         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6920         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6921         index argument. Add interface argument.
6922
6923         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6924         the useless test_dev argument. Remove index argument. Add interface arugment.
6925
6926         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6927         device index through interface.
6928         (nm_system_set_mtu): Ditto.
6929
6930         * introspection/nm-device.xml: Remove the "Index" property.
6931
6932 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6933
6934         * src/nm-serial-device.c: 
6935         * src/nm-serial-device.c: 
6936         * src/nm-umts-device.c:
6937         * src/nm-umts-device.h: Implement.
6938
6939         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6940         allocated by libhal.
6941         (modem_device_creator): Implement.
6942         (register_built_in_creators): Register the modem creator.
6943
6944         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6945         Remove the unused test_dev argument.
6946
6947         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6948
6949         * src/Makefile.am: Add new files to build.
6950         Link in ppp-manager.
6951
6952         * libnm-util/nm-setting-umts.c: 
6953         * libnm-util/nm-setting-umts.h: 
6954         * libnm-util/nm-setting-serial.c: 
6955         * libnm-util/nm-setting-serial.h: Implement.
6956
6957         * libnm-util/Makefile.am: Add new files to build.
6958
6959 2007-11-28  Dan Williams  <dcbw@redhat.com>
6960
6961         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6962
6963         Support DHCP-provided static routes.
6964
6965         * src/nm-ip4-config.h
6966           src/nm-ip4-config.c
6967                 - Add get/set functions for static routes
6968
6969         * src/dhcp-manager/nm-dhcp-manager.c
6970                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6971                         DHCP response
6972
6973         * src/NetworkManagerSystem.c
6974                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6975                         interface when applying the IP4Config
6976
6977 2007-11-28  Dan Williams  <dcbw@redhat.com>
6978
6979         * src/nm-device-802-11-wireless.c
6980                 - (real_act_stage1_prepare): mark APs created for hidden networks
6981                         as non-broadcasting
6982
6983 2007-11-27  Dan Williams  <dcbw@redhat.com>
6984
6985         * system-settings/src/nm-system-config-interface.h
6986                 - Note how to store secrets on NMSetting objects
6987
6988         * system-settings/src/dbus-settings.c
6989                 - (connection_settings_get_secrets): implement
6990
6991 2007-11-27  Dan Williams  <dcbw@redhat.com>
6992
6993         * system-settings/plugins/ifcfg/Makefile.am
6994           system-settings/plugins/ifcfg/parser.c
6995           system-settings/plugins/ifcfg/parser.h
6996           system-settings/plugins/ifcfg/plugin.c
6997                 - Parse wireless connections too
6998
6999         * system-settings/src/dbus-settings.c
7000           system-settings/src/dbus-settings.h
7001           system-settings/src/main.c
7002                 - Handle connection update/removal if the plugin supports it
7003
7004 2007-11-27  Dan Williams  <dcbw@redhat.com>
7005
7006         * src/nm-dbus-manager.h
7007           src/nm-hal-manager.c
7008                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7009                         do it for them
7010
7011         * src/Makefile.am
7012           src/NetworkManagerDbusUtils.c
7013           src/NetworkManagerDbusUtils.h
7014                 - Remove these two source files; they are unused
7015
7016 2007-11-27  Dan Williams  <dcbw@redhat.com>
7017
7018         * src/vpn-manager/nm-vpn-manager.c
7019                 - (impl_vpn_manager_connect): fix system settings check (found by
7020                         James M. Leddy)
7021
7022 2007-11-26  Dan Williams  <dcbw@redhat.com>
7023
7024         * Fix warnings so everything compiles with --enable-more-warnings
7025
7026 2007-11-25  Dan Williams  <dcbw@redhat.com>
7027
7028         * system-settings/*
7029                 - Rework structure and code to use GModule-loaded plugins and a plugin
7030                         interface that plugins export to the system settings service
7031
7032 2007-11-21  Dan Williams  <dcbw@redhat.com>
7033
7034         * system-settings/*
7035                 - Add Soren's system settings service.  Needs work for distros other
7036                         than Fedora; the backends from NM should mostly migrate to here
7037                         and be converted to GObjects
7038
7039 2007-11-21  Dan Williams  <dcbw@redhat.com>
7040
7041         * libnm-util/nm-setting-vpn-properties.c
7042                 - (set_property): must deep-copy the given settings hash, otherwise
7043                         double-free errors occur when the setting is disposed of
7044
7045 2007-11-21  Dan Williams  <dcbw@redhat.com>
7046
7047         * src/vpn-manager/nm-vpn-act-request.h
7048           src/vpn-manager/nm-vpn-act-request.c
7049                 - Remove; unused
7050
7051 2007-11-20  Dan Williams  <dcbw@redhat.com>
7052
7053         * libnm-util/nm-utils.c
7054                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7055                    nm_utils_convert_ip4_addr_struct_array_to_string,
7056                    nm_utils_register_value_transformations): print out the readable
7057                         values of more types of properties of NMSettings subclasses
7058
7059 2007-11-20  Dan Williams  <dcbw@redhat.com>
7060
7061         * libnm-util/nm-setting-ip4-config.c
7062                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7063                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7064                         marshal GValueArrays inside collections, so switch to types that it
7065                         can actually marshal/demarshal
7066
7067 2007-11-16  Dan Williams  <dcbw@redhat.com>
7068
7069         * libnm-util/nm-setting-wireless-security.c
7070                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7071                         minimal verification of EAP methods too
7072                 - (verify): verify phase1 eap methods too
7073
7074 2007-11-15  Dan Williams  <dcbw@redhat.com>
7075
7076         * libnm-glib/nm-device.h
7077           libnm-glib/nm-device.c
7078                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7079                         const char *
7080
7081 2007-11-15  Dan Williams  <dcbw@redhat.com>
7082
7083         * libnm-glib/nm-device.c
7084                 - (get_product_and_vendor): don't try to free things that should be
7085                         freed
7086
7087 2007-11-15  Dan Williams  <dcbw@redhat.com>
7088
7089         * src/NetworkManagerUtils.c
7090                 - (nm_ethernet_address_is_valid): unbreak previous fix
7091
7092 2007-11-15  Dan Williams  <dcbw@redhat.com>
7093
7094         * src/supplicant-manager/nm-supplicant-config.c
7095                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7096                         options
7097
7098 2007-11-15  Dan Williams  <dcbw@redhat.com>
7099
7100         * src/NetworkManagerUtils.c
7101                 - (nm_ethernet_address_is_valid): fix style, clarify
7102                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7103
7104         * src/nm-device-802-11-wireless.c
7105                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7106                 - (nm_device_802_11_wireless_get_ssid,
7107                    nm_device_802_11_wireless_get_bssid,
7108                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7109                         before calling the ioctl; fixes valgrind-reported jump depends on
7110                         uninitialized value errors
7111
7112 2007-11-15  Dan Williams  <dcbw@redhat.com>
7113
7114         * libnm-util/nm-setting.c
7115                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7116                         unecessary to serialize 'name'
7117
7118         * src/nm-activation-request.c
7119                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7120                         the GetSecrets call
7121
7122 2007-11-15  Dan Williams  <dcbw@redhat.com>
7123
7124         * libnm-util/nm-setting-connection.h
7125           libnm-util/nm-setting-connection.c
7126                 - Rename the 'name' property to 'id', because it conflicted with the
7127                         NMSetting superclass' 'name' property.
7128
7129         * libnm-util/nm-setting.c
7130                 - (nm_setting_to_hash): serialize the 'name' property
7131                 - (one_property_cb): ignore 'name' on deserialization of a connection
7132
7133         * src/nm-device-802-11-wireless.c
7134           src/vpn-manager/nm-vpn-connection.c
7135           src/NetworkManagerPolicy.c
7136                 - Fix up for NMSettingConnection 'name'->'id' changes
7137
7138 2007-11-13  Dan Williams  <dcbw@redhat.com>
7139
7140         * libnm-glib/nm-device-802-11-wireless.h
7141           libnm-glib/nm-device-802-11-wireless.c
7142                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7143
7144         * test/nm-tool.c
7145           libnm-glib/libnm-glib-test.c
7146                 - Fixes for above change
7147
7148 2007-11-12  Dan Williams  <dcbw@redhat.com>
7149
7150         * src/supplicant-manager/nm-supplicant-settings-verify.c
7151                 - Allow fragment_size option
7152
7153         * src/supplicant-manager/nm-supplicant-settings-verify.c
7154                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7155                         EAP fragment size than the default to help some TLS connections
7156
7157 2007-11-12  Dan Williams  <dcbw@redhat.com>
7158
7159         Make certs actually work.  The private key is now a secret, and should be
7160         decrypted when requested by NM.  The private key and phase2 private key
7161         passwords are no longer interesting to NM because they should be used by
7162         the settings service to decrypt the private key itself before passing it
7163         to NM, and hence have been removed as fields.
7164
7165         * libnm-util/nm-setting-wireless-security.h
7166           libnm-util/nm-setting-wireless-security.c
7167                 - Remove private-key-passwd and phase2-private-key-passwd from
7168                         properties
7169                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7170                    need_secrets): use property #defines instead strings to keep things
7171                         consistent
7172                 - (need_secrets_tls): if a client certificate is present but no
7173                         private key, request the private key
7174                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7175                         remove private key password stuff, mark private keys as secret
7176
7177         * src/supplicant-manager/nm-supplicant-settings-verify.c
7178                 - Remove private_key_passwd and private_key2_passwd from opt_table
7179
7180 2007-11-09  Dan Williams  <dcbw@redhat.com>
7181
7182         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7183         Since the vpn-properties are managed and known by the VPN daemons themselves,
7184         libnm-util doesn't know what's secret and what's in the setting's 'data'
7185         member.
7186
7187         * libnm-util/nm-setting.h
7188           libnm-util/nm-setting.c
7189                 - Add the ability for subclasses to override update_one_secret
7190
7191         * libnm-util/nm-setting-vpn-properties.c
7192                 - Override update_one_secret and just copy the values into the
7193                         internal table
7194
7195 2007-11-09  Dan Williams  <dcbw@redhat.com>
7196
7197         * libnm-glib/nm-settings.h
7198           libnm-glib/nm-settings.c
7199                 - (nm_settings_new_error): remove
7200                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7201                         clients should use g_set_error() with NM_SETTINGS_ERROR
7202
7203 2007-11-09  Dan Williams  <dcbw@redhat.com>
7204
7205         * src/supplicant-manager/nm-supplicant-config.c
7206                 - (nm_supplicant_config_add_setting_wireless_security): private key
7207                         passwords are never sent to wpa_supplicant, because the supplicant
7208                         should never be reading random files from the disk.  Clients like
7209                         the applet are required to decrypt the private keys and send NM
7210                         the decrypted blobs.
7211
7212 2007-11-08  Dan Williams  <dcbw@redhat.com>
7213
7214         * libnm-util/nm-setting-wireless-security.h
7215           libnm-util/nm-setting-wireless-security.c
7216                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7217                         members to 802-11-wireless-security structure.  This should be used
7218                         to indicate that the values in private-key and phase2-private-key
7219                         are already decrypted by the user agent, and that no
7220                         private-key-passwd or phase2-private-key-passwd should be expected.
7221                         It is not meant to be a stored configuration value, but meant to
7222                         be set when the conneciton is sent to NM over dbus.
7223
7224 2007-11-08  Dan Williams  <dcbw@redhat.com>
7225
7226         * libnm-util/nm-connection.h
7227           libnm-util/nm-connection.c
7228                 - (nm_connection_need_secrets): add argument to return hints
7229
7230         * src/nm-device-802-11-wireless.c
7231                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7232                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7233                         nm_connection_need_secrets() change
7234
7235 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7236
7237         Rework NMSetting structures: Move each setting to it's own file.
7238         Convert to GObject. Remove home grown setting types and use GTypes.
7239         Use GObject property introspection for hash conversion, enumerating
7240         properties, etc.
7241
7242         * libnm-util/nm-setting-connection.[ch]
7243         * libnm-util/nm-setting-ip4-config.[ch]
7244         * libnm-util/nm-setting-ppp.[ch]
7245         * libnm-util/nm-setting-vpn.[ch]
7246         * libnm-util/nm-setting-vpn-properties.[ch]
7247         * libnm-util/nm-setting-wired.[ch]
7248         * libnm-util/nm-setting-wireless.[ch]
7249         * libnm-util/nm-setting-wireless-security.[ch]
7250
7251         New files, each containing a setting.
7252
7253         * libnm-util/nm-setting-template.[ch]: A template for creating new
7254         settings. To use it, just replace 'template' with the new setting
7255         name, and you're half-way done.
7256
7257         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7258         introspection instead of internal types and tables.
7259
7260         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7261
7262         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7263         GValue types defined by dbus-glib for composed types like collections,
7264         structures and maps.
7265
7266         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7267         a setting from connection takes the setting type now. Also, since
7268         the settings are in multiple files, include relevant settings.
7269
7270 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7271
7272         * configure.in:
7273         * src/backends/NetworkManagerGentoo.c:
7274         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7275         providers in Gentoo.
7276
7277 2007-10-31  Dan Williams  <dcbw@redhat.com>
7278
7279         * libnm-util/nm-connection.c
7280                 - (gvalue_to_string): handle UINT32 arrays
7281
7282 2007-10-31  Dan Williams  <dcbw@redhat.com>
7283
7284         * libnm-glib/nm-device.h
7285           libnm-glib/nm-device.c
7286                 - (nm_device_get_description): remove
7287                 - (nm_device_get_product, nm_device_get_vendor): add
7288                 - (nm_device_update_description): new function (private); walk HAL
7289                         devices to get product and vendor IDs for a specific device
7290
7291 2007-10-31  Dan Williams  <dcbw@redhat.com>
7292
7293         * src/nm-device-802-11-wireless.c
7294                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7295
7296 2007-10-29  Dan Williams  <dcbw@redhat.com>
7297
7298         * src/nm-hal-manager.c
7299                 - (device_added, device_new_capability): ignore device additions while
7300                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7301                         kernel module is unloaded and reloaded and recognized by NM again.
7302
7303 2007-10-26  Dan Williams  <dcbw@redhat.com>
7304
7305         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7306
7307         * src/NetworkManagerAP.c
7308           src/NetworkManagerAP.h
7309           libnm-glib/nm-access-point.c
7310           libnm-glib/nm-access-point.h
7311                 - Make 'rate' property a guint32 to better match with WEXT and
7312                         wpa_supplicant and to allow representation of higher bitrates
7313
7314         * src/nm-device-802-11-wireless.c
7315           introspection/nm-device-802-11-wireless.xml
7316           libnm-glib/nm-device-802-11-wireless.c
7317           libnm-glib/nm-device-802-11-wireless.h
7318                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7319
7320         * src/nm-device-802-3-ethernet.c
7321           src/nm-device-802-3-ethernet.h
7322           introspection/nm-device-802-3-ethernet.xml
7323           libnm-glib/nm-device-802-3-ethernet.c
7324           libnm-glib/nm-device-802-3-ethernet.h
7325                 - Make 'speed' property a guint32 to match other speed/rate types
7326                 - Make nm_device_802_3_ethernet_get_speed() static
7327
7328         * test/nm-tool.c
7329                 - Update for the changes above
7330
7331 2007-10-26  Dan Williams  <dcbw@redhat.com>
7332
7333         * src/named-manager/nm-named-manager.c
7334                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7335                     not calling fclose() twice on some error conditions
7336
7337 2007-10-26  Dan Williams  <dcbw@redhat.com>
7338
7339         * src/nm-activation-request.c
7340                 - (dispose): clean up indentation; get the right DBusGProxy object to
7341                         cancel the GetSecrets pending call on.  Need to use the Secrets
7342                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7343                         pending call doesn't get canceled, and pressing Cancel in the
7344                         applet's password dialog could cause get_secrets_cb() to be called
7345                         after the activation request has already been destroyed
7346
7347 2007-10-24  Dan Williams  <dcbw@redhat.com>
7348
7349         * src/supplicant-manager/nm-supplicant-config.c
7350                 - (nm_supplicant_config_add_blob): pass blob data and length for
7351                         verification
7352                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7353
7354 2007-10-24  Dan Williams  <dcbw@redhat.com>
7355
7356         * src/supplicant-manager/nm-supplicant-settings-verify.c
7357                 - (opt_table): max length for certificates should be 65536
7358
7359 2007-10-24  Dan Williams  <dcbw@redhat.com>
7360
7361         * src/supplicant-manager/nm-supplicant-interface.c
7362                 - (blob_free): correctly free blob data after use
7363                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7364
7365 2007-10-24  Dan Williams  <dcbw@redhat.com>
7366
7367         * libnm-util/nm-setting.c
7368                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7369                         EAP method need secrets
7370
7371 2007-10-24  Dan Williams  <dcbw@redhat.com>
7372
7373         * src/backends/NetworkManagerRedHat.c
7374                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7375
7376 2007-10-23  Dan Williams  <dcbw@redhat.com>
7377
7378         * libnm-util/nm-setting.c
7379           libnm-util/nm-setting.c
7380                 - (nm_setting_compare): implement
7381                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7382                    compare_one_hash_gvalue): compare the contents of a setting
7383
7384         * libnm-util/nm-connection.c
7385                 - (nm_connection_compare): implement
7386
7387 2007-10-23  Dan Williams  <dcbw@redhat.com>
7388
7389         * src/nm-activation-request.c
7390                 - (get_secrets_cb): handle getting a setting back that is more than
7391                         just secrets (ie, user changed auth or EAP method or something)
7392
7393 2007-10-23  Dan Williams  <dcbw@redhat.com>
7394
7395         * libnm-util/nm-setting.c
7396           libnm-util/nm-setting.h
7397                 - (nm_setting_verify): new function; verify one setting
7398                 - (nm_settings_verify_all): rename from nm_settings_verify()
7399                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7400                         all_settings
7401
7402         * libnm-util/nm-connection.c
7403                 - (nm_connection_replace_settings, nm_connection_verify,
7404                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7405
7406 2007-10-23  Dan Williams  <dcbw@redhat.com>
7407
7408         * src/nm-device-802-11-wireless.c
7409                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7410                         desired behavior
7411
7412 2007-10-23  Dan Williams  <dcbw@redhat.com>
7413
7414         * src/supplicant-manager/nm-supplicant-settings-verify.c
7415                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7416                         nm-settings.c
7417
7418 2007-10-23  Dan Williams  <dcbw@redhat.com>
7419
7420         * src/nm-device-802-11-wireless.c
7421                 - (real_act_stage2_config): after the first association failure,
7422                         if the connection still needs secrets ask the user for them
7423                         explicitly.  After the fourth association failure due to bad
7424                         secrets, fail the connection entirely.  Handles the GetSecrets
7425                         loop that NM gets into when the provided secrets don't match up
7426                         with the connection details.
7427
7428 2007-10-23  Dan Williams  <dcbw@redhat.com>
7429
7430         * src/supplicant-manager/nm-supplicant-config.c
7431                 - (nm_supplicant_config_add_setting_wireless_security): only add
7432                         WPA-specific options when WPA is in use
7433
7434 2007-10-23  Dan Williams  <dcbw@redhat.com>
7435
7436         * src/supplicant-manager/nm-supplicant-config.c
7437                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7438                         secret doesn't need to be unhexified
7439
7440 2007-10-23  Dan Williams  <dcbw@redhat.com>
7441
7442         * libnm-util/nm-setting.c
7443                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7444                         before trying to do something with it
7445
7446 2007-10-23  Dan Williams  <dcbw@redhat.com>
7447
7448         * src/nm-device-802-11-wireless.c
7449                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7450
7451 2007-10-23  Dan Williams  <dcbw@redhat.com>
7452
7453         * src/nm-device-802-11-wireless.c
7454                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7455                         non-SSID-broadcasting APs
7456
7457 2007-10-23  Dan Williams  <dcbw@redhat.com>
7458
7459         * src/NetworkManagerAP.c
7460                 - (match_cipher, security_compatible): remove
7461                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7462                         libnm-util instead
7463
7464 2007-10-23  Dan Williams  <dcbw@redhat.com>
7465
7466         * libnm-util/nm-utils.c
7467           libnm-util/nm-utils.h
7468                 - (nm_utils_ap_security_compatible): common function for checking
7469                         whether a specific AP is compatible with an NMConnection
7470
7471 2007-10-23  Dan Williams  <dcbw@redhat.com>
7472
7473         * libnm-util/nm-setting.c
7474                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7475                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7476                    need_secrets_password, setting_wireless_security_verify): fix
7477                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7478                         secrets logic for each supported EAP method
7479
7480 2007-10-23  Dan Williams  <dcbw@redhat.com>
7481
7482         * src/supplicant-manager/nm-supplicant-config.c
7483                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7484                         config option name, should be "private_key2_passwd"
7485
7486 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7487
7488         Implement support for static IP addresses, additional/overridden DNS and
7489         DNS domain search lists.
7490
7491         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7492         (ip4_addresses_to_gvalue): Implement.
7493         (convert_array_to_byte_array): Implement.
7494         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7495         NM_S_TYPE_IP4_ADDRESSES.
7496         (nm_setting_hash): Ditto.
7497         (default_setting_clear_secrets): Add a default case for the switch: IP address
7498         shouldn't be secret, ever.
7499         (setting_ip4_config_verify): Update, requires addresses in case of manual
7500         configurations.
7501         (setting_ip4_config_destroy): Free stuff.
7502
7503         * src/nm-device.c (merge_ip4_config): Implement.
7504         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7505
7506 2007-10-22  Dan Williams  <dcbw@redhat.com>
7507
7508         * libnm-util/nm-setting.c
7509                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7510                         pairwise cipher options for Dynamic WEP
7511
7512 2007-10-21  Dan Williams  <dcbw@redhat.com>
7513
7514         * src/NetworkManagerAP.c
7515           src/NetworkManagerAP.h
7516                 - Rename 'articifical' -> 'fake' since that's what they are until
7517                         noticed in scans
7518                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7519                         from the attributes in an NMConnection object
7520                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7521                         WPA Enterprise
7522                 - (nm_ap_match_in_list): find a matching AP in a scan list
7523
7524         * src/nm-device-802-11-wireless.c
7525                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7526                         AP when searching the scan list; match on frequency and mode too
7527                 - (nm_device_802_11_wireless_get_frequency): implement
7528                 - (merge_scanned_ap): replace duplicate matching logic with
7529                         nm_ap_match_in_list()
7530                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7531                         the user is trying to connect to a hidden network that is not yet
7532                         known from the scan list
7533                 - (activation_success_handler): now that the card knows the AP's BSSID,
7534                         there may already be a scanned AP in the scan list that is what
7535                         we really wanted to connect to, but didn't know at the time.  Use
7536                         that instead of the 'fake' AP created at activation start and get
7537                         rid of the 'fake' AP 
7538                 - (cull_scan_list): don't remove fake APs
7539
7540 2007-10-21  Dan Williams  <dcbw@redhat.com>
7541
7542         * src/nm-activation-request.h
7543           src/nm-activation-request.c
7544                 - (nm_act_request_set_specific_object): new function; allow setting the
7545                         specific object if one isn't set yet
7546
7547 2007-10-20  Dan Williams  <dcbw@redhat.com>
7548
7549         * src/supplicant-manager/nm-supplicant-config.h
7550           src/supplicant-manager/nm-supplicant-config.c
7551                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7552                         table to store blobs
7553                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7554                         blob hash table
7555                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7556                 - (nm_supplicant_config_add_setting_wireless_security): handle
7557                         options that use certificates (ie, blobs)
7558
7559         * src/nm-device-802-11-wireless.c
7560                 - (build_supplicant_config): pass a UID (just use the connection path)
7561                         to the supplicant config as now required
7562
7563         * src/supplicant-manager/nm-supplicant-interface.c
7564                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7565                         there are any blobs to send to wpa_supplicant, send those first
7566                         before sending the network configuration
7567
7568 2007-10-19  Dan Williams  <dcbw@redhat.com>
7569
7570         Split the GetSecrets() call off to a separate D-Bus interface so that it
7571         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7572         should be able to call GetSecrets().
7573
7574         * include/NetworkManager.h
7575                 - Define the connection secrets D-Bus interface
7576
7577         * src/vpn-manager/nm-vpn-connection.c
7578                 - (clear_need_auth): get the right proxy object for the connection
7579                         secrets interface
7580                 - (get_connection_secrets): use the connection secrets proxy; send
7581                         empty hints in get secrets request
7582
7583         * src/nm-activation-request.c
7584                 - (nm_act_request_request_connection_secrets): use the connection
7585                         secrets proxy; send empty hints in get secrets request
7586
7587         * src/nm-manager.c
7588           src/nm-manager.h
7589                 - (connection_get_settings_cb): set the connection secrets proxy on
7590                         the connection object too
7591                 - (internal_new_connection_cb): create the connection secrets proxy
7592
7593         * introspection/nm-settings-connection.xml
7594                 - Define Connection.Secrets interface and move GetSecrets there
7595                 - Add a 'hints' argument to GetSecrets
7596
7597         * libnm-glib/nm-settings.c
7598           libnm-glib/nm-settings.h
7599                 - (impl_connection_settings_get_secrets): add 'hints' argument
7600
7601 2007-10-19  Dan Williams  <dcbw@redhat.com>
7602
7603         * src/nm-device.c
7604                 - (constructor): add message about what path a device is exported as
7605                         to help in debugging rh #339011
7606
7607 2007-10-17  Dan Williams  <dcbw@redhat.com>
7608
7609         * libnm-util/nm-utils.h
7610           libnm-util/nm-utils.c
7611                 - (nm_utils_security_valid): common function to help find the intersection
7612                         of capabilities of devices and (optionally) access points
7613
7614 2007-10-17  Dan Williams  <dcbw@redhat.com>
7615
7616         * src/nm-device-802-11-wireless.c
7617                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7618                         don't get erroneously cleared
7619
7620 2007-10-17  Dan Williams  <dcbw@redhat.com>
7621
7622         * src/nm-manager.h
7623           src/nm-manager.c
7624           src/nm-hal-manager.c
7625                 - (device_removed, finalize, nm_manager_remove_device,
7626                    nm_manager_sleep): add a 'deactivate' argument to 
7627                    nm_manager_remove_device() to fully deactivate devices when necessary
7628                    (ie, always except when waking up)
7629
7630 2007-10-16  Dan Williams  <dcbw@redhat.com>
7631
7632         * libnm-util/nm-setting.c
7633                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7634                         also isn't valid phase2 autheap method
7635
7636 2007-10-16  Dan Williams  <dcbw@redhat.com>
7637
7638         * libnm-glib/nm-client.c
7639                 - (update_wireless_status): consolidate updates of wireless status
7640                 - (constructor): use update_wireless_status()
7641                 - (manager_running): set wireless status off when NM goes away; requery
7642                         the wireless status when NM comes back
7643
7644 2007-10-16  Dan Williams  <dcbw@redhat.com>
7645
7646         * libnm-glib/nm-client.c
7647                 - (nm_client_activate_device): actually use the fixed-up specific
7648                         object path
7649
7650 2007-10-16  Dan Williams  <dcbw@redhat.com>
7651
7652         * src/nm-hal-manager.c
7653                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7654                         killswitch error messages once
7655
7656 2007-10-16  Dan Williams  <dcbw@redhat.com>
7657
7658         * src/nm-manager.c
7659                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7660                         if it's disabled in hardware; don't touch network devices while
7661                         NM is asleep
7662
7663 2007-10-16  Dan Williams  <dcbw@redhat.com>
7664
7665         * libnm-util/nm-client.c
7666                 - (nm_client_activate_device): convert NULL specific_object to "/",
7667                         which is used in place of NULL
7668
7669         * src/nm-manager.c
7670                 - (impl_manager_activate_device): convert "/" specific_object back into
7671                         NULL
7672
7673 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7674
7675         Implement a generic NMSetting creator from setting name.
7676         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7677         add a virtual function 'populate_fn'.
7678
7679         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7680         (register_default_creators): Register setting creators instead of functions
7681         that create and then populate.
7682         (parse_one_setting): Use the common setting creator and then setting specific
7683         poplulation function.
7684
7685         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7686         they all looked exactly the same.
7687         Add a 'populate_fn' virtual function to NMSetting.
7688         Use default virtual functions in case they are not overriden.
7689         (nm_setting_populate_from_hash): Implement.
7690
7691         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7692         name, use a defined string.
7693         (real_act_stage4_get_ip4_config): Ditto.
7694
7695 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7696
7697         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7698         HAL is int, not uint.
7699
7700 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7701
7702         Implement killswitch polling through HAL.
7703
7704         * src/nm-manager.c: Add wireless hardware status property. Add 
7705         'properties-changed' signal for changes in wireless and wireless hardware
7706         state changes.
7707
7708         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7709         and update NMManager's wireless hardware state when it has changed.
7710         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7711         already does that.
7712
7713         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7714         values of wireless state and wireless hardware state. Listen for the
7715         'properties-changed' signals, update the cached values and emit notify.
7716
7717         * include/NetworkManager.h: Fix a typo in a comment.
7718
7719 2007-10-14  Dan Williams  <dcbw@redhat.com>
7720
7721         * libnm-util/nm-setting.c
7722                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7723
7724 2007-10-13  Dan Williams  <dcbw@redhat.com>
7725
7726         * libnm-util/nm-setting.h
7727           libnm-util/nm-setting.c
7728           src/supplicant-manager/nm-supplicant-config.c
7729                 - Make the 'proto' field of the 802-11-wireless-security field a
7730                         string list
7731
7732 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7733
7734         Rework the "properties-changed" signal listening implementation.
7735         Add a generic implementation to NMObject class that listens for
7736         the signal and calls property setters of the target NMObject.
7737
7738         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7739
7740         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7741         code to the end of file so that all the static functions are available
7742         without extra declarations.
7743         Remove the "properties-changed" signal handling and use the framework from
7744         NMObject.
7745         Implement property setters for properties that change with 
7746         "properties-changed" signal.
7747
7748         * libnm-glib/nm-access-point.c: Ditto.
7749
7750 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7751
7752         Rework the "properties-changed" signal implementation.
7753         In classes that need to use it, just emit "GObject::notify" and the new
7754         framework takes care of the rest to make the signal available on dbus.
7755         The framework queues the notifications and tries to send as many together
7756         in one signal as possible.
7757
7758         * src/nm-properties-changed-signal.c:
7759         * src/nm-properties-changed-signal.h: Implement.
7760
7761         * src/Makefile.am: Add new files to build.
7762
7763         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7764         signal.
7765
7766         * src/nm-device-802-11-wireless.c: Ditto.
7767
7768 2007-10-10  Dan Williams  <dcbw@redhat.com>
7769
7770         * src/nm-manager.c
7771                 - (wait_for_connection_expired): ensure info is valid
7772                 - (connection_added_default_handler): Should only remove pending
7773                         connection info when the manager has the connection that it's
7774                         waiting for.  Fixes segfault in wait_for_connection_info().  
7775
7776 2007-10-10  Dan Williams  <dcbw@redhat.com>
7777
7778         * libnm-util/nm-setting.c
7779           libnm-util/nm-setting.h
7780                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7781                         can use if they choose.  Should be filled in by the settings service
7782                         on-the-fly with the currently logged in user's username
7783
7784 2007-10-10  Dan Williams  <dcbw@redhat.com>
7785
7786         * src/nm-device-802-11-wireless.c
7787                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7788                         as such, because even if the manager fills in the SSID, NM still
7789                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7790                         its SSID
7791
7792 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7793
7794         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7795         code that used NM's own version of dbus signal handling and custom dictionary
7796         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7797         and we get to maintain over 2000 lines less code.
7798
7799         * libnm-util/dbus-dict-helpers.c:
7800         * libnm-util/dbus-dict-helpers.h: Remove.
7801
7802         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7803
7804         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7805
7806         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7807         handlers.
7808
7809         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7810
7811         * configure.in: Remove test/libnm-util/Makefile creation.
7812
7813         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7814
7815         * test/libnm-util/: Remove the whole directory.
7816
7817 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7818
7819         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7820         device_state_changed_idle_id variable or it would contain some random value and the
7821         schedule_change_check calls would not do anything.
7822
7823 2007-10-09  Dan Williams  <dcbw@redhat.com>
7824
7825         * src/nm-device-802-11-wireless.c
7826                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7827                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7828                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7829                         merging of non-SSID-broadcasting APs
7830
7831 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7832
7833         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7834         "guint8 *" since it's usually used with GByteArray->data.
7835         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7836
7837 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7838
7839         * src/NetworkManagerUtils.c
7840         (nm_utils_is_empty_ssid):
7841         (nm_utils_escape_ssid):
7842         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7843         lot of places, so they belong to libnm-utils instead.
7844
7845         Now with 100% less compiler warnings:
7846
7847         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7848         (nm_dbus_unescape_object_path): Ditto.
7849         (nm_utils_ssid_to_utf8): Ditto.
7850         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7851         (nm_utils_escape_ssid): Ditto.
7852         (nm_utils_same_ssid): Ditto.
7853
7854         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7855         (add_one_connection_element): Remove an unused variable.
7856         (impl_manager_get_active_connections): Ditto.
7857
7858         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7859         variable.
7860
7861         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7862         from the previous commit.
7863
7864         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7865         (real_act_stage1_prepare): Ditto.
7866         (activation_success_handler): Ditto.
7867         (get_property): Ditto.
7868
7869         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7870         variable.
7871
7872         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7873         it's always set.
7874
7875         * src/supplicant-manager/nm-supplicant-config.c 
7876         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7877         to expected "char *".
7878         (nm_supplicant_config_add_setting_wireless): Ditto.
7879         (nm_supplicant_config_remove_option): Remove, not used.
7880
7881         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7882         not double.
7883         (test_wireless_enabled): Ifdef out unused function.
7884         (device_deactivate): Ditto.
7885         (device_state_changed): Ditto.
7886         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7887         (nm_utils_escape_ssid): Ditto.
7888
7889         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7890         (nm_utils_is_empty_ssid): Ditto.
7891
7892         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7893         unused variable.
7894
7895         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7896         (setting_vpn_properties_update_secrets): Ditto.
7897         (int_to_gvalue): Ifdef out for now, not used.
7898         (byte_to_gvalue): Ditto.
7899
7900         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7901         Unused, remove.
7902
7903 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7904
7905         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7906         about dbus manager, not named manager.
7907         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7908
7909         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7910         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7911         However, the same signal is emitted when we destroy it and there's 
7912         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7913
7914         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7915         releasing the DBusGConnection, since proxy needs a conneciton.
7916         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7917
7918 2007-10-08  Dan Williams  <dcbw@redhat.com>
7919
7920         * src/NetworkManager.c
7921                 - (main): error on unknown command-line options
7922
7923 2007-10-08  Dan Williams  <dcbw@redhat.com>
7924
7925         Reimplement the invalid connection list.  Don't try to re-activate a
7926         connection that just failed or was canceled.
7927
7928         * src/nm-device.c
7929                 - (connection_secrets_failed_cb): fail device activation, don't just
7930                         deactivate the device.  Listeners have to know about the failure.
7931
7932         * src/NetworkManagerPolicy.c
7933                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7934                         the connection list given to a device's get_best_connection()
7935                         method
7936                 - (device_state_changed): tag failed connections as invalid; clear the
7937                         tag from successful connections
7938
7939 2007-10-08  Dan Williams  <dcbw@redhat.com>
7940
7941         Fix problems with interrupted activation.  Previously, choosing an AP
7942         from the menu, then choosing another one before the first connection was
7943         successful wouldn't deactivate the device before starting the new connection
7944         on that same device.
7945
7946         * src/NetworkManagerPolicy.c
7947                 - (deactivate_old_device, device_state_changed, state_changed,
7948                    nm_policy_new): wrong place to deactivate old devices
7949
7950         * src/nm-manager.c
7951                 - (pending_connection_info_destroy, finalize,
7952                    wait_for_connection_expired): decouple destruction of the pending
7953                         connection info from the manager device
7954                 - (connection_added_default_handler): deactivate any active or
7955                         activating device before starting a new activation
7956                 - (impl_manager_activate_device): deactivate any active or activating
7957                         device before starting a new activation; be sure not to leak
7958                         pending connection info if a new activation request arrives but
7959                         there's already a pending one in-process
7960
7961 2007-10-08  Dan Williams  <dcbw@redhat.com>
7962
7963         * src/NetworkManagerAP.h
7964           src/NetworkManagerAP.c
7965                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7966                         should handle default SSIDs and whether or not to autoconnect
7967                         to them
7968
7969 2007-10-08  Dan Williams  <dcbw@redhat.com>
7970
7971         * src/NetworkManagerPolicy.c
7972                 - (nm_policy_device_change_check): print out connection name where
7973                         possible
7974
7975 2007-10-08  Dan Williams  <dcbw@redhat.com>
7976
7977         * src/nm-device-802-11-wireless.c
7978           src/nm-device-802-11-wireless.h
7979                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7980                         'hidden-ap-found' signal (for internal use only) that allows the
7981                         NMManager to fill in the AP's SSID if a connection has that AP's
7982                         BSSID in its seen-bssids list
7983
7984         * src/nm-manager.c
7985                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7986                         wireless device's hidden-ap-found signal and fill in the APs SSID
7987                         if possible
7988
7989 2007-10-07  Dan Williams  <dcbw@redhat.com>
7990
7991         * src/nm-manager.c
7992           src/nm-manager.h
7993                 - Add a 'connections-added' signal to batch together updates of large
7994                         numbers of connections, like when reading from a settings service
7995                         the first time.  Otherwise, the policy would just activate the first
7996                         suitable connection it saw rather than waiting for the full list
7997                         to arrive.
7998                 - (nm_manager_class_init): register new signal
7999                 - (get_type_for_proxy, connection_get_settings_cb,
8000                    get_connection_for_proxy): centralize places where a proxy's setting
8001                         service is determined
8002                 - (free_get_settings_info): if the call being freed is the last call
8003                         in a pending call group, fire off the connections-added signal
8004                 - (internal_new_connection_cb): add call to a pending call group if
8005                         requested
8006                 - (list_connections_cb): always create a call group here, because this
8007                         call results in a batch of new connections
8008                 - (initial_get_connections): start getting system connections first
8009                 - (nm_manager_connections_destroy, emit_removed): actually emit the
8010                         removed signal when destroying connections
8011
8012         * src/NetworkManagerPolicy.c
8013                 - (nm_policy_new, connections_added): handle connections-added signal
8014                         from the manager
8015
8016 2007-10-06  Dan Williams  <dcbw@redhat.com>
8017
8018         * src/nm-device-802-11-wireless.c
8019                 - (constructor): fix leaked socket
8020
8021 2007-10-06  Dan Williams  <dcbw@redhat.com>
8022
8023         * src/NetworkManagerPolicy.c
8024                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
8025                         connection in the list returned by nm_manager_get_connections() is
8026                         reffed, but they weren't getting unreffed before returning
8027
8028 2007-10-06  Dan Williams  <dcbw@redhat.com>
8029
8030         * src/nm-manager.c
8031                 - (connections_to_slist): sort connections first on autoconnect, then
8032                         on timestamp
8033
8034 2007-10-06  Dan Williams  <dcbw@redhat.com>
8035
8036         * libnm-util/nm-connection.c
8037                 - (gvalue_to_string): handle UINT64
8038
8039 2007-10-06  Dan Williams  <dcbw@redhat.com>
8040
8041         * src/NetworkManagerPolicy.c
8042                 - (connection_updated, nm_policy_new): recheck state when a connection
8043                         gets updated
8044
8045 2007-10-06  Dan Williams  <dcbw@redhat.com>
8046
8047         * src/nm-manager.c
8048           src/nm-manager.h
8049                 - (nm_manager_get_connection_dbus_path): make static
8050                 - (nm_manager_update_connections): remove; unused
8051                 - Add a connection-updated signal
8052                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8053                         handle connection object updates
8054
8055 2007-10-06  Dan Williams  <dcbw@redhat.com>
8056
8057         * src/NetworkManagerPolicy.c
8058                 - (connection_removed): deactivate removed connections
8059
8060 2007-10-06  Dan Williams  <dcbw@redhat.com>
8061
8062         * libnm-util/nm-connection.c
8063           libnm-util/nm-connection.h
8064                 - (nm_connection_replace_settings): new function
8065
8066 2007-10-06  Dan Williams  <dcbw@redhat.com>
8067
8068         * libnm-glib/nm-device-802-11-wireless.c
8069                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8070                         on error when getting the active access point over D-Bus from NM
8071
8072 2007-10-05  Dan Williams  <dcbw@redhat.com>
8073
8074         * libnm-util/nm-setting.c
8075                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8076                         to the NMSettingWireless table; it's now a string array not an array
8077                         of byte arrays
8078
8079 2007-10-05  Dan Williams  <dcbw@redhat.com>
8080
8081         * libnm-glib/nm-device-802-11-wireless.c
8082                 - Cache properties and update cached properties on D-Bus signals from NM
8083
8084 2007-10-05  Dan Williams  <dcbw@redhat.com>
8085
8086         * src/nm-device-802-11-wireless.c
8087                 - (set_current_ap): consolidate current_ap handling code into one place
8088                         to ensure that PropertiesChanged signals are emitted in all cases
8089                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8090                    nm_device_802_11_wireless_dispose): use set_current_ap()
8091
8092 2007-10-05  Dan Williams  <dcbw@redhat.com>
8093
8094         * libnm-glib/nm-access-point.c
8095           libnm-glib/nm-access-point.h
8096                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8097                         because the value is cached internally now.  Callers should not
8098                         free the internal value.
8099                 - Make signal name defines private
8100
8101         * test/nm-tool.c
8102           libnm-glib/libnm-glib-test.c
8103                 - Don't free value returned from nm_access_point_get_hw_address()
8104
8105 2007-10-04  Dan Williams  <dcbw@redhat.com>
8106
8107         * introspection/nm-device-802-11-wireless.xml
8108           src/nm-device-802-11-wireless.h
8109           src/nm-device-802-11-wireless.c
8110                 - Add a PropertiesChanged signal for wireless device
8111                 - Store currently associated access point
8112                 - (periodic_update): generalize; update rate here too and emit the
8113                         correct PropertiesChanged signal when stuff changes
8114                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8115                    real_activation_cancel_handler): clear current_ap when device is
8116                         deactivated
8117                 - (link_to_specific_ap, get_ap_blacklisted,
8118                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8119                         code
8120                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8121                         outside this file
8122                 - (real_set_hw_address): emit property changed signal if the card's
8123                         MAC address changes
8124                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8125                         the card is supposed to be connecting to
8126                 - (activation_success_handler): send out property updates on successful
8127                         activation
8128                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8129                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8130                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8131                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8132                         is now boxed; add PropertiesChanged signal
8133
8134 2007-10-04  Dan Williams  <dcbw@redhat.com>
8135
8136         * libnm-util/nm-connection.c
8137           libnm-util/nm-connection.h
8138                 - (nm_connection_verify): new function
8139
8140 2007-10-04  Dan Williams  <dcbw@redhat.com>
8141
8142         * libnm-util/nm-setting.c
8143                 - (nm_settings_verify): use #defines when possible rather than strings
8144                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8145                 - (setting_vpn_verify): tighter validity check on 'service_type'
8146
8147 2007-10-04  Dan Williams  <dcbw@redhat.com>
8148
8149         * libnm-glib/nm-settings.c
8150                 - (nm_connection_settings_class_init): provide correct type for argument
8151                         to the Updated signal so that dbus-glib knows how to marshal it
8152
8153 2007-10-03  Dan Williams  <dcbw@redhat.com>
8154
8155         * src/nm-device-802-3-ethernet.c
8156                 - (real_get_best_connection): don't create automatic connections
8157                         internally; clients should provide a setting that applies to
8158                         the device with 'autoconnect: True'.  Problem was that these
8159                         internally auto-created connections don't have a proxy or service
8160                         name becuase they weren't created by a settings daemon, and therefore
8161                         clients have no idea what to do with them.
8162
8163 2007-10-03  Dan Williams  <dcbw@redhat.com>
8164
8165         * src/nm-device-802-11-wireless.c
8166           src/nm-device-802-11-wireless.h
8167           introspection/nm-device-802-11-wireless.xml
8168                 - GetActiveNetworks -> GetAccessPoints
8169                 - ActiveNetwork -> ActiveAccessPoint
8170                 - NetworkAdded -> AccessPointAdded
8171                 - NetowrkRemoved -> AccessPointRemoved
8172
8173         * libnm-glib/nm-device-802-11-wireless.c
8174           libnm-glib/nm-device-802-11-wireless.h
8175                 - network-added signal -> access-point-added
8176                 - network-removed signal -> access-point-removed
8177                 - nm_device_802_11_wireless_get_active_network() ->
8178                         nm_device_802_11_wireless_get_active_access_point()
8179                 - nm_device_802_11_wireless_get_network_by_path() ->
8180                         nm_device_802_11_wireless_get_access_point_by_path()
8181                 - nm_device_802_11_wireless_get_networks() ->
8182                         nm_device_802_11_wireless_get_access_points()
8183
8184         * libnm-glib/libnm-glib-test.c
8185           test/nm-tool.c
8186           src/NetworkManagerPolicy.c
8187                 - Fixups for Network -> AccessPoint
8188
8189 2007-10-03  Dan Williams  <dcbw@redhat.com>
8190
8191         Add a GetActiveConnections() method on the Manager object.
8192
8193         * src/nm-manager.c
8194           src/nm-manager.h
8195           introspection/nm-manager.xml
8196                 - (connection_get_settings_cb): keep connection type around too
8197                 - (impl_manager_get_active_connections, add_one_connection_element):
8198                         implement; returns all active connections and what devices they
8199                         apply to
8200
8201         * libnm-glib/nm-client.c
8202           libnm-glib/nm-client.h
8203           introspection/nm-manager-client.xml
8204                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8205                         by the caller; free here to avoid memory leak
8206                 - (nm_client_get_active_connections): implement; return the list of
8207                         active connections
8208                 - (nm_client_free_active_connection_element): implement; free an element
8209                         of the GSList returned by nm_client_get_active_connections()
8210
8211 2007-10-03  Dan Williams  <dcbw@redhat.com>
8212
8213         * src/nm-device-802-11-wireless.c
8214                 - (nm_device_802_11_wireless_update_bssid): remove
8215                 - (get_active_ap): new function; find the AP in the scan list which
8216                         matches the current BSSID and SSID of the wireless device
8217                 - (nm_device_802_11_periodic_update): get current AP using
8218                         get_active_ap() and print AP roam messages
8219
8220 2007-10-01  Dan Williams  <dcbw@redhat.com>
8221
8222         * libnm-util/nm-setting.h
8223                 - Add a 'timestamp' option to NMSettingConnection
8224                 - Add a UINT64 type
8225
8226         * libnm-util/nm-setting.c
8227                 - (uint64_to_gvalue): new function
8228                 - (nm_setting_populate_from_hash, nm_setting_hash,
8229                    default_setting_clear_secrets): handle UINT64 type
8230                 - con_table: add 'timestamp' member
8231
8232 2007-10-01  Dan Williams  <dcbw@redhat.com>
8233
8234         * src/nm-manager.c
8235                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8236                         value when the connection can be activated immediately
8237
8238 2007-10-01  Dan Williams  <dcbw@redhat.com>
8239
8240         * libnm-glib/nm-device.c
8241                 - (nm_device_class_init): actually tell glib about the carrier-changed
8242                         signal
8243
8244 2007-10-01  Dan Williams  <dcbw@redhat.com>
8245
8246         * configure.in
8247           src/marshallers/Makefile.am
8248           src/marshallers/nm-marshal.list
8249           src/marshallers/nm-marshal-main.c
8250                 - Consolidate glib marshallers into one place
8251
8252         * src/dhcp-manager/Makefile.am
8253           src/dhcp-manager/nm-dhcp-manager.c
8254           src/supplicant-manager/Makefile.am
8255           src/supplicant-manager/nm-supplicant-manager.c
8256           src/supplicant-manager/nm-supplicant-interface.c
8257           src/ppp-manager/Makefile.am
8258           src/ppp-manager/nm-ppp-manager.c
8259           src/vpn-manager/Makefile.am
8260           src/vpn-manager/nm-vpn-connection.c
8261           src/Makefile.am
8262                 - Use consolidated marshallers
8263
8264         * src/dhcp-manager/nm-dhcp-marshal.list
8265           src/dhcp-manager/nm-dhcp-marshal-main.c
8266           src/supplicant-manager/nm-supplicant-marshal-main.c
8267           src/supplicant-manager/nm-supplicant-marshal.list
8268           src/nm-marshal-main.c
8269           src/nm-marshal.list
8270           src/ppp-manager/nm-ppp-marshal-main.c
8271           src/ppp-manager/nm-ppp-marshal.list
8272           src/vpn-manager/nm-vpn-marshal-main.c
8273           src/vpn-manager/nm-vpn-marshal.list
8274                 - Remove
8275
8276 2007-10-01  Dan Williams  <dcbw@redhat.com>
8277
8278         * include/NetworkManagerVPN.h
8279                 - define VPN connection state change reason codes
8280
8281         * src/vpn-manager/Makefile.am
8282           src/vpn-manager/nm-vpn-marshal.list
8283           src/vpn-manager/nm-vpn-marshal-main.c
8284                 - Add marshallers for StateChanged signal
8285
8286         * introspection/nm-vpn-connection.xml
8287                 - New Banner property
8288                 - StateChanged signal now includes a 'reason' argument
8289
8290         * src/vpn-manager/nm-vpn-connection.c
8291           src/vpn-manager/nm-vpn-connection.h
8292                 - Add a "Banner" property that contains the returned VPN server login
8293                         banner (if any); valid only in the ACTIVATED state
8294                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8295                         a 'reason' argument and emits that reason along with the
8296                         state-changed signal
8297                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8298                 - (nm_vpn_connection_ip4_config_get): save banner for later
8299                 - (nm_vpn_connection_get_banner, get_property,
8300                    nm_vpn_connection_class_init): implement Banner property
8301
8302         * src/vpn-manager/nm-vpn-service.c
8303                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8304                         connection list because elements may get added/removed from it
8305                         while iterating over the list
8306                 - (connection_state_changed): signal now includes the 'reason' argument
8307
8308         * libnm-glib/nm-vpn-connection.c
8309           libnm-glib/nm-vpn-connection.h
8310                 - (nm_vpn_connection_get_banner): new function
8311                 - (state_changed_proxy): handle reason argument
8312
8313 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8314
8315         * src/nm-manager.c:
8316         * src/nm-manager.h:
8317         Implement device activation through NMManager.
8318         Implement "pending device activation" here - If the connection isn't found,
8319         we try to wait for up to 5 seconds for the connection to be provided.
8320         Add NMConnectionType argument to "connection-added" and "connection-removed"
8321         signals.
8322         (nm_manager_get): Remove. Finally.
8323
8324         * src/nm-activation-request.c: 
8325         * src/nm-activation-request.h: 
8326         Remove all the deferred activation code.
8327
8328         * src/nm-device.c: Remove all the deferred activation code. Once the device
8329         activation is started, it's started. Update the activation virtual function
8330         signature.
8331
8332         * src/nm-device-interface.c:
8333         * src/nm-device-interface.h:
8334         Device activation now takes only NMActRequest argument.
8335         Don't expose device activation directly on dbus, it's supposed to go through
8336         NMManager now.
8337
8338         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8339         a bit more compact.
8340         Use the new device activation methods through NMManager.
8341
8342         * introspection/nm-manager-client.xml: 
8343         * introspection/nm-manager.xml: 
8344         * libnm-glib/nm-client.c:
8345         * libnm-glib/nm-client.h:
8346         Add device activation method.
8347         
8348         * libnm-glib/nm-device.c: 
8349         * libnm-glib/nm-device.h: 
8350         * introspection/nm-device.xml: 
8351         Remove device activation method. It's done through NMManager now.
8352
8353         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8354         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8355
8356 2007-09-28  Dan Williams  <dcbw@redhat.com>
8357
8358         * libnm-glib/nm-vpn-connection.c
8359                 - (nm_vpn_connection_get_state): try to update state if the current
8360                         state is UNKNOWN
8361
8362 2007-09-27  Dan Williams  <dcbw@redhat.com>
8363
8364         Patch from Bill Nottingham
8365
8366         * src/supplicant-manager/nm-supplicant-config.c
8367                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8368                         data to the supplicant
8369
8370 2007-09-27  Dan Williams  <dcbw@redhat.com>
8371
8372         * src/NetworkManagerSystem.c
8373                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8374                         and all address manipulation here should be happening on the
8375                         _VPN_ device, not the active device
8376
8377 2007-09-26  Dan Williams  <dcbw@redhat.com>
8378
8379         * src/nm-manager.c
8380           src/nm-manager.h
8381           src/nm-activation-request.c
8382           src/nm-activation-request.h
8383                 - Move the GetSecrets stuff out of the NMManager instance because it
8384                         doesn't really need to be there and complicates things
8385
8386         * src/nm-device.c
8387                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8388                         connection-secrets-failed signal and deactivate the device if
8389                         the GetSecrets call fails
8390
8391         * src/nm-device-802-11-wireless.c
8392                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8393                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8394                         secrets and give correct hints about whether new secrets should be
8395                         asked for by the client or not
8396
8397 2007-09-26  Dan Williams  <dcbw@redhat.com>
8398
8399         * src/vpn-manager/nm-vpn-connection.c
8400                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8401                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8402                         to the secrets-updated signal of the NMConnection since updating
8403                         the secrets is done within the scope of the NMVPNConnection object
8404                         already
8405                 - (get_connection_secrets): fix an uninialized variable usage error
8406
8407 2007-09-26  Dan Williams  <dcbw@redhat.com>
8408
8409         * libnm-util/nm-setting.c
8410                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8411                         actually get updated when the user enters them
8412
8413 2007-09-26  Dan Williams  <dcbw@redhat.com>
8414
8415         * libnm-glib/nm-vpn-plugin.c
8416                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8417
8418 2007-09-26  Dan Williams  <dcbw@redhat.com>
8419
8420         * include/NetworkManagerVPN.h
8421                 - Add a NEED_AUTH state
8422
8423         * src/vpn-manager/nm-vpn-connection.c
8424                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8425                         the connection needs secrets, and if so, then ask the settings
8426                         service to fill in the secrets.  Then start the connection.
8427
8428 2007-09-26  Dan Williams  <dcbw@redhat.com>
8429
8430         * src/vpn-manager/nm-vpn-manager.c
8431                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8432
8433 2007-09-26  Dan Williams  <dcbw@redhat.com>
8434
8435         * introspection/nm-vpn-plugin.xml
8436           libnm-glib/nm-vpn-plugin.c
8437           libnm-glib/nm-vpn-plugin.h
8438                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8439                         the name of the NMSetting in an NMConnection that may require
8440                         secrets specific to that VPN plugin
8441
8442 2007-09-26  Dan Williams  <dcbw@redhat.com>
8443
8444         * src/nm-manager.c
8445           src/nm-manager.h
8446                 - (nm_manager_get_connection_secrets): make static, unused outside
8447                         the file
8448                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8449
8450 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8451
8452         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8453         method.
8454         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8455         unreference the connection.
8456
8457         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8458         passing properties hash and routes string list, pass NMConnection (in hashed form).
8459
8460         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8461         as GSList, no need to copy stuff around anymore.
8462         (nm_vpn_connection_activate): Update the plugin activation method.
8463
8464         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8465         routes argument to GSList.
8466
8467 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8468
8469         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8470         state and try to get the secrets.
8471
8472         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8473         connections from NMManager and let the device to choose the best from the list.
8474         Since the connection list is sorted by system ones first and user ones later,
8475         the devices still prefer system connections like they did before.
8476         (deactivate_old_device): Implement. When a device starts activation, we have a
8477         policy (for now at least) to deactivate any other device that might be either
8478         active or still activating.
8479
8480         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8481         It's set on construction, there will be no other way to access it.
8482
8483         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8484         device events and drive the device, not the other way around.
8485
8486         * src/nm-device-802-3-ethernet.c: Ditto.
8487
8488         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8489         sent along, pass it on to virtual functions.
8490
8491         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8492         for now, but should really be public instead of nm_device_get_iface() since iface
8493         is a property of the DeviceInterface, not Device.
8494         (impl_device_activate): Don't touch NMManager!
8495
8496 2007-09-26  Jürg Billeter  <j@bitron.ch>
8497
8498         * initscript/paldo/NetworkManager.in:
8499         * initscript/paldo/NetworkManagerDispatcher.in:
8500         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8501         (nm_system_flush_loopback_routes): update paldo backend
8502
8503 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8504
8505         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8506         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8507         which means none of the devices get brought down properly, which in turn leaves
8508         DHCP client running.
8509
8510         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8511         (supplicant_connection_timeout_cb): Ditto.
8512
8513 2007-09-25  Dan Williams  <dcbw@redhat.com>
8514
8515         * src/nm-device.c
8516                 - (device_activation_go): small hack to work around race when
8517                         activating deferred connections; should solve this in a better way
8518
8519 2007-09-25  Dan Williams  <dcbw@redhat.com>
8520
8521         * introspection/nm-device.xml
8522           libnm-glib/nm-device.c
8523           libnm-glib/nm-device.h
8524                 - Add 'Carrier' property to exported NMDevice objects
8525
8526         * src/nm-device-interface.h
8527           src/nm-device-interface.c
8528           src/nm-device.c
8529                 - Add a 'carrier' property to internal NMDevice objects
8530
8531 2007-09-25  Dan Williams  <dcbw@redhat.com>
8532
8533         * src/nm-device-802-11-wireless.c
8534                 - (ap_auth_enforced): also return the encryption status of the AP so
8535                         that callers can differentiate easily between unencrypted APs
8536                         and encrypted ones, in addition to whether the AP has an
8537                         authenticator
8538                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8539                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8540                         previously would request secrets from unencrypted APs at times
8541
8542 2007-09-25  Dan Williams  <dcbw@redhat.com>
8543
8544         * src/nm-manager.c
8545                 - (nm_manager_update_state): new function; updates state and emits
8546                         appropriate signals ensuring a state-change signal for the same state
8547                         never gets emitted twice in a row.
8548                 - (manager_device_state_changed): handle more device state to get a
8549                         better picture of the overall NM state
8550
8551 2007-09-25  Dan Williams  <dcbw@redhat.com>
8552
8553         * libnm-glib/nm-settings.c
8554           libnm-glib/nm-settings.h
8555                 - (new_error -> nm_settings_new_error): make public so that subclasses
8556                         can use the same error domain.  Also pass a valid error code to
8557                         g_error_new_literal() so that libdbus doesn't assert when converting
8558                         the GError into a DBusError
8559                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8560                    impl_connection_settings_get_settings,
8561                    impl_connection_settings_get_secrets): use new error creator
8562                         function
8563
8564 2007-09-25  Dan Williams  <dcbw@redhat.com>
8565
8566         * src/NetworkManager.c
8567                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8568
8569 2007-09-25  Dan Williams  <dcbw@redhat.com>
8570
8571         * src/supplicant-manager/nm-supplicant-manager.c
8572                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8573                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8574                    nm_supplicant_manager_startup): when the supplicant isn't running,
8575                         try to start it periodically via system bus activation.  Fixes
8576                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8577                         for the supplicant to come back
8578
8579 2007-09-25  Dan Williams  <dcbw@redhat.com>
8580
8581         Ensure that old activation requests are forgotten about; previously
8582         hitting Cancel in the password dialog would deactivate whatever device
8583         that password was requested for, even if that wasn't the currently
8584         activating connection.
8585
8586         * src/nm-manager.c
8587           src/nm-manager.h
8588                 - (nm_manager_get_connection_secrets): track the pending call
8589                         object so it can be canceled later if needed
8590                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8591                         GetSecrets call for a particular connection
8592
8593         * src/nm-activation-request.c
8594                 - (dispose): cancel any outstanding GetSecrets calls on the
8595                         connection
8596
8597 2007-09-25  Dan Williams  <dcbw@redhat.com>
8598
8599         * src/NetworkManagerPolicy.c
8600                 - (nm_policy_device_change_check): handle devices that have a
8601                         deferred activation.  These devices are not really active _yet_,
8602                         but need to be treated as such here.  Don't interrupt them
8603                         automatically.
8604
8605         * src/nm-device-interface.c
8606                 - (impl_device_activate): handle devices that have a deferred activation
8607                         like activating or active devices.  When multiple active devices
8608                         get committed, the device shouldn't be deactivated until the
8609                         connection details are available to avoid DoS and such.  Currently,
8610                         any active, activating, or deferred activation device is deactivated
8611                         here before starting the new activation request.
8612
8613 2007-09-25  Dan Williams  <dcbw@redhat.com>
8614
8615         Properly re-query secrets from the settings daemon when stuff fails.
8616
8617         * src/nm-device-802-11-wireless.c
8618                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8619                         between Shared Key and Open System auth modes
8620                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8621                    real_act_stage4_ip_config_timeout): clear existing secrets and
8622                         request new ones when something fails due to a suspected wrong key
8623                 - (real_act_stage2_config): fix for new request_new argument to
8624                         nm_manager_get_connection_secrets()
8625
8626         * src/nm-manager.c
8627           src/nm-manager.h
8628                 - (nm_manager_get_connection_secrets): return error status; pass
8629                         new request_new argument on to the settings daemon
8630
8631         * introspection/nm-settings-connection.xml
8632                 - New 'request_new' argument to the GetSecrets call that hints to the
8633                         settings daemon to ask the user for completely new secrets
8634
8635         * libnm-glib/nm-settings.c
8636           libnm-glib/nm-settings.h
8637                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8638                         argument
8639
8640 2007-09-25  Dan Williams  <dcbw@redhat.com>
8641
8642         * libnm-util/nm-connection.c
8643           libnm-util/nm-connection.h
8644                 - (nm_connection_clear_secrets): new function; clear secrets out of
8645                         each NMSetting in an NMConnection
8646
8647         * libnm-util/nm-setting.h
8648           libnm-util/nm-setting.c
8649                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8650                         secrets out of an NMSetting
8651                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8652                    nm_setting_wired_new, nm_setting_wireless_new,
8653                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8654                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8655                         to default handler default_setting_clear_secrets()
8656
8657 2007-09-25  Dan Williams  <dcbw@redhat.com>
8658
8659         * src/nm-activation-request.c
8660           src/nm-activation-request.h
8661                 - (nm_act_request_is_deferred): new function
8662
8663 2007-09-24  Dan Williams  <dcbw@redhat.com>
8664
8665         * src/nm-device-802-11-wireless.c
8666                 - (activation_success_handler): update signal strength immediately
8667                         after activation
8668
8669 2007-09-24  Dan Williams  <dcbw@redhat.com>
8670
8671         * libnm-util/nm-setting.c
8672                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8673
8674 2007-09-24  Dan Williams  <dcbw@redhat.com>
8675
8676         * src/NetworkManagerPolicy.c
8677                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8678                         device by deactivating it because it doesn't have a "best connection".
8679                         Since autoconnect=False connections aren't automatically chosen,
8680                         NM would interrupt activation of such a connection because it
8681                         would never be "best" due to autoconnect=False.
8682
8683 2007-09-24  Dan Williams  <dcbw@redhat.com>
8684
8685         * src/nm-manager.c
8686                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8687                         actually has some time to enter a key before the GetSecrets call
8688                         times out
8689
8690 2007-09-24  Dan Williams  <dcbw@redhat.com>
8691
8692         * introspection/nm-manager.xml
8693           src/nm-manager.c
8694                 - (impl_manager_legacy_state): fix 'state' method call return value
8695
8696 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8697
8698         * test/Makefile.am: Install nm-tool
8699
8700 2007-09-24  Dan Williams  <dcbw@redhat.com>
8701
8702         Patch from Ross Burton <ross@burtonini.com>
8703
8704         * test/nm-tool.c
8705           callouts/nm-dhcp-client-action.c
8706           src/nm-netlink.c
8707           src/vpn-manager/nm-vpn-connection.c
8708           libnm-glib/libnm-glib-test.c
8709                 - warning fixes
8710
8711 2007-09-24  Dan Williams  <dcbw@redhat.com>
8712
8713         * libnm-util/nm-utils.h
8714           libnm-util/nm-utils.c
8715                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8716                         remove, unused
8717
8718 2007-09-23  Dan Williams  <dcbw@redhat.com>
8719
8720         * vpn-daemons/vpnc/properties/nm-vpnc.c
8721                 - Update for new VPN properties API bits; instead of passing around
8722                         a lot of random things, everything goes into the NMConnection
8723                         object.
8724
8725 2007-09-23  Dan Williams  <dcbw@redhat.com>
8726
8727         * libnm-util/nm-setting.c
8728                 - Correctly dispose of settings objects if creating them from a hash
8729                         table fails
8730
8731 2007-09-23  Dan Williams  <dcbw@redhat.com>
8732
8733         * libnm-util/nm-setting.c
8734                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8735                         the hash table in a standard manner.  Clients of libnm-util should
8736                         only call g_hash_table_remove_all(), never destroy the hash table
8737                         and recreate it.
8738
8739 2007-09-22  Dan Williams  <dcbw@redhat.com>
8740
8741         * src/nm-device-802-11-wireless.c
8742                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8743                         real reason to do it so often, and reduces wakeups for clients.
8744
8745 2007-09-21  Dan Williams  <dcbw@redhat.com>
8746
8747         * src/nm-device-802-11-wireless.c
8748                 - (build_supplicant_config): wpa_supplicant requires the option
8749                         key_mgmt=NONE for unencrypted networks
8750                 - (real_act_stage2_config): clarify log message on activation
8751
8752 2007-09-21  Dan Williams  <dcbw@redhat.com>
8753
8754         * test/nm-supplicant-test.c
8755           test/Makefile.am
8756                 - Remove supplicant test binary; no longer applicable
8757
8758 2007-09-21  Dan Williams  <dcbw@redhat.com>
8759
8760         * src/supplicant-manager/nm-supplicant-manager.c
8761                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8762                         activate it on the system bus
8763
8764 2007-09-20  Dan Williams  <dcbw@redhat.com>
8765
8766         * initscript/RedHat/NetworkManager.in
8767                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8768
8769 2007-09-20  Dan Williams  <dcbw@redhat.com>
8770
8771         * src/nm-device.c
8772                 - (nm_device_is_activating): work around a race between auto-activation
8773                         and the user activating the same device that is being auto-activated
8774
8775 2007-09-20  Dan Williams  <dcbw@redhat.com>
8776
8777         * src/nm-device-interface.c
8778                 - (impl_device_activate): until multiple active device support lands,
8779                         ensure only one device can be active at a time
8780
8781 2007-09-20  Dan Williams  <dcbw@redhat.com>
8782
8783         * src/supplicant-manager/nm-supplicant-config.c
8784           src/supplicant-manager/nm-supplicant-config.h
8785                 - (nm_supplicant_config_add_option): hide secrets from system logs
8786
8787 2007-09-20  Dan Williams  <dcbw@redhat.com>
8788
8789         * src/NetworkManagerPolicy.c
8790                 - (nm_policy_device_change_check): re-enable the wireless device change
8791                         checking code; insted of checking for SSIDs, check for the same
8792                         connection instead
8793
8794 2007-09-20  Dan Williams  <dcbw@redhat.com>
8795
8796         * src/nm-device-802-11-wireless.c
8797                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8798                         composite link state when determining when to start the disconnection
8799                         timer; that link state is already based on the supplicant interface's
8800                         status which is exactly what's already being examined, plus the link
8801                         state is a conglomeration of various things that we don't want here
8802
8803 2007-09-20  Dan Williams  <dcbw@redhat.com>
8804
8805         * libnm-glib/nm-access-point.c
8806                 - (handle_property_changed): strength is a UCHAR
8807
8808 2007-09-20  Dan Williams  <dcbw@redhat.com>
8809
8810         * src/supplicant-manager/nm-supplicant-config.c
8811                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8812                         string list keywords too since that's what wpa_supplicant wants
8813
8814 2007-09-20  Dan Williams  <dcbw@redhat.com>
8815
8816         * libnm-util/nm-setting.c
8817                 - (convert_strv_to_slist): dupe the values in the list because since
8818                         the list is a boxed value, it'll get destroyed when it's container
8819                         (like a hash table or whatever) gets destroyed
8820
8821 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8822
8823         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8824         GSList.
8825
8826         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8827
8828         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8829         just use (g_object_set_data_full).
8830
8831         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8832         that NMSettingVPN->routes is a GSList, convert it to char **.
8833         (nm_vpn_connection_ip4_config_get): Free routes when done.
8834         (nm_vpn_connection_activate): Ditto.
8835
8836         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8837         (real_act_stage2_config): Use defined setting names.
8838
8839 2007-09-20  Dan Williams  <dcbw@redhat.com>
8840
8841         * src/nm-device-802-11-wireless.c
8842           src/nm-manager.c
8843           src/nm-manager.h
8844                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8845                         so that the device can be deactivated if secrets are wrong
8846
8847 2007-09-20  Dan Williams  <dcbw@redhat.com>
8848
8849         * introspection/nm-settings-connection.xml
8850           libnm-glib/nm-settings.c
8851           libnm-glib/nm-settings.h
8852                 - Make GetSecrets asynchronous on the server side
8853
8854 2007-09-20  Dan Williams  <dcbw@redhat.com>
8855
8856         * src/nm-manager.h
8857           src/nm-device.c
8858                 - (nm_device_activate): actually check if a given connection
8859                         exists before assuming it doesn't
8860
8861 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8862
8863         * libnm-util/nm-connection.c (register_default_creators): Use defined
8864         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8865
8866         * libnm-util/nm-setting.c: Define property name strings, use them.
8867         Implement NMSettingVPN and NMSettingVPNProperties settings.
8868         Implement NM_S_TYPE_GVALUE_HASH.
8869         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8870         (setting_connection_verify): Rename 'devtype' property to 'type'.
8871
8872         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8873         properties.
8874
8875         * src/vpn-manager/nm-vpn-service.c: Ditto.
8876
8877         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8878
8879         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8880         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8881
8882         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8883         names. NMSettingConnection->devtype got renamed to 'type'.
8884
8885         * src/nm-device-802-3-ethernet.c (find_best_connection):
8886         (real_get_best_connection): Ditto.
8887
8888         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8889
8890         * libnm-glib/nm-vpn-manager.[ch]: Update.
8891
8892 2007-09-19  Dan Williams  <dcbw@redhat.com>
8893
8894         * src/NetworkManagerAP.c
8895           src/NetworkManagerAP.h
8896           introspection/nm-access-point.xml
8897                 - Change strength-changed signal into a properties-changed signal
8898                         for all properties, not just strength.  Export that signal over dbus
8899                         so listeners don't have to poll NM for changes.
8900                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8901                         get exported over D-Bus, so break up the logic and let other bits
8902                         decided when to export the AP
8903                 - (nm_ap_new_from_ap): remove, unused
8904
8905         * src/nm-device-802-11-wireless.c
8906                 - (merge_scanned_ap): only export APs that are actually on the device
8907                         list, not every AP created internally
8908
8909         * libnm-glib/nm-access-point.c
8910           libnm-glib/nm-access-point.h
8911                 - Cache properties internally and only hit DBus when needed.  Get
8912                         property updates from NM signals
8913
8914 2007-09-16  Dan Williams  <dcbw@redhat.com>
8915
8916         * libnm-util/nm-connection.c
8917           libnm-util/nm-connection.h
8918                 - (nm_connection_for_each_setting_value): new function; iterate over
8919                         each setting's value and call a user-provided function with details
8920                         about that value
8921
8922         * libnm-util/nm-setting.c
8923           libnm-util/nm-setting.h
8924                 - (nm_setting_enumerate_values): new function; enumerate the values
8925                         of a specific NMSetting subclass for a user-provided function with
8926                         details about that value
8927                 - Change wep_tx_keyidx to a uint32
8928                 - Create settings value tables for each setting defining their type,
8929                         key name, offset into the NMSetting subclass' structure, and whether
8930                         they are required and/or a secret
8931                 - (nm_setting_populate_from_hash): generic function to populate an
8932                         NMSetting from a GHash table, make all settings use it
8933                 - (nm_setting_hash): generic function to derive a GHashTable from
8934                         an NMSetting object, make all settings use it
8935
8936 2007-09-14  Dan Williams  <dcbw@redhat.com>
8937
8938         Remove unused stuff in libnm-util
8939
8940         * configure.in
8941           libnm-util/Makefile.am
8942           libnm-util/cipher-private.h
8943           libnm-util/cipher-wep-ascii.c
8944           libnm-util/cipher-wep-ascii.h
8945           libnm-util/cipher-wep-hex.c
8946           libnm-util/cipher-wep-hex.h
8947           libnm-util/cipher-wep-passphrase.c
8948           libnm-util/cipher-wep-passphrase.h
8949           libnm-util/cipher-wpa-psk-hex.c
8950           libnm-util/cipher-wpa-psk-hex.h
8951           libnm-util/cipher-wpa-psk-passphrase.c
8952           libnm-util/cipher-wpa-psk-passphrase.h
8953           libnm-util/cipher.c
8954           libnm-util/cipher.h
8955           libnm-util/dbus-helpers.c
8956           libnm-util/dbus-helpers.h
8957           libnm-util/gnome-keyring-md5.c
8958           libnm-util/gnome-keyring-md5.h
8959           libnm-util/sha1.c
8960           libnm-util/sha1.h
8961           src/nm-device-802-11-wireless.c
8962           test/libnm-util/Makefile.am
8963           test/libnm-util/test-ciphers.c
8964           test/libnm-util/test-dbus-helpers.c
8965           test/libnm-util/test-inputs.h
8966                 - Removed
8967
8968 2007-09-14  Dan Williams  <dcbw@redhat.com>
8969
8970         * libnm-util/dbus-method-dispatcher.c
8971           libnm-util/dbus-method-dispatcher.h
8972                 - Remove, unused
8973
8974 2007-09-14  Dan Williams  <dcbw@redhat.com>
8975
8976         Implement deferred activation support in the device class.
8977
8978         * src/nm-device-interface.c
8979           src/nm-device-interface.h
8980                 - (nm_device_interface_activate): take more arguments to support
8981                         deferred activation; callers must pass one of (connection) OR
8982                         (service_name, connection_path)
8983                 - (impl_device_activate): connection validation is punted to the device
8984                         to be able to handle deferred activation.  Yes, this means errors
8985                         don't get returned from the Activate() dbus call, and yes, that
8986                         should be fixed somehow later.
8987
8988         * src/nm-device.c
8989           src/nm-device.h
8990                 - (clear_act_request): clear additional deferred activation stuff too
8991                 - (deferred_activation_timeout_cb): new function; clean up when
8992                         deferred activation times out.
8993                 - (deferred_activation_start_cb): new function; when the connection
8994                         finally becomes available, start device activation
8995                 - (nm_device_activate): attach to the right signals of the activation
8996                         request if we need to defer activation until the connection is valid
8997
8998         * src/NetworkManagerPolicy.c
8999                 - (nm_policy_device_change_check): update for additional arguments
9000                         required for nm_device_interface_activate().  Pass NULL for these
9001                         though because this function already knows exactly which
9002                         NMConnection to use
9003
9004 2007-09-14  Dan Williams  <dcbw@redhat.com>
9005
9006         Implement deferred activation handling in the NMActRequest class.  When a
9007         client wants to activate a device but must create the NMConnection details
9008         on the fly, there likely hasn't been enough time yet for NM to receive the
9009         new connection signal and grab all the connection details.  So the
9010         activation is deferred (and bounded by a timer) for a while, and if the
9011         connection appears within the window, it is activated.
9012
9013         * src/nm-activation-request.c
9014           src/nm-activation-request.h
9015                 - (nm_act_request_class_init): two new signals to support deferred
9016                         activation, to allow the listener to handle both timeout and success
9017                 - (nm_act_request_new_deferred): new function, starts the deferred
9018                         activation timeout handler and listens to the NMManager for
9019                         new-connection signals to notice when the connection comes in
9020
9021 2007-09-14  Dan Williams  <dcbw@redhat.com>
9022
9023         * src/nm-manager.h
9024           src/nm-manager.c
9025                 - (nm_manager_get_connection_service_name,
9026                    nm_manager_get_connection_dbus_path): get details about a connection
9027                         known internally by the NMManager
9028                 - (nm_manager_class_init): fix connection add/remove signal marshalers
9029                         because NMConnection is now a GObject subclass
9030                 - Use constant for the gobject data tag used on NMConnection objects for
9031                         storing the associated DBusGProxy
9032
9033 2007-09-14  Dan Williams  <dcbw@redhat.com>
9034
9035         * utils/Makefile.am
9036           utils/nm-utils.c
9037           utils/nm-utils.h
9038           src/supplicant-manager/Makefile.am
9039           src/dhcp-manager/Makefile.am
9040           src/backends/Makefile.am
9041           src/named-manager/Makefile.am
9042           src/ppp-manager/Makefile.am
9043           src/vpn-manager/Makefile.am
9044           test/libnm-util/Makefile.am
9045           test/test-common/Makefile.am
9046                 - Remove utils/; it was unused
9047
9048 2007-09-13  Dan Williams  <dcbw@redhat.com>
9049
9050         * libnm-glib/nm-vpn-manager.h
9051           libnm-glib/nm-vpn-manager.c
9052                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9053
9054 2007-09-13  Dan Williams  <dcbw@redhat.com>
9055
9056         * src/nm-device-802-3-ethernet.c
9057                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9058                         netlink monitor carrier signals on dispose, not bring down.  The
9059                         carrier signals should be handled over the entire lifetime of the
9060                         device anyway, not created/destroyed on up or down.
9061
9062 2007-09-13  Dan Williams  <dcbw@redhat.com>
9063
9064         * libnm-glib/nm-device.c
9065           libnm-glib/nm-device.h
9066                 - (nm_device_activate): take a connection object path rather than an
9067                         NMConnection because NMConnection isn't exported over D-Bus and
9068                         therefore it dbus-glib can't automatically get an object path from it
9069
9070 2007-09-13  Dan Williams  <dcbw@redhat.com>
9071
9072         * libnm-util/nm-setting.c
9073                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9074
9075 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9076
9077         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9078
9079 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9080
9081         * src/vpn-manager/nm-vpn-connection.[ch]: 
9082         * src/vpn-manager/nm-vpn-manager.[ch]:
9083         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9084         dbus-glib, GObjects, signals etc.
9085
9086         * libnm-glib/nm-vpn-manager.[ch]: 
9087         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9088         so much, rewrite these too.
9089
9090         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9091         the new introspection files.
9092
9093         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9094
9095         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9096         the header with the same name from libnm-utils.
9097
9098         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9099
9100         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9101
9102         * introspection/nm-vpn-plugin.xml: Implement.
9103
9104         * introspection/nm-vpn-connection.xml: Implement.
9105
9106         * introspection/nm-vpn-manager.xml: Implement.
9107
9108         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9109         the named manager argument, it can just as easily get it as the caller.
9110         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9111
9112         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9113
9114         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9115
9116         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9117         libnm-utils.
9118
9119         * libnm-util/nm-connection.c: Ditto.
9120
9121         * src/NetworkManagerMain.h: Remove, it's finally empty.
9122
9123         * configure.in: Remove utils/ from build.
9124
9125         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9126         of hard-coded strings.
9127
9128         * utils/: Move it over to libnm-util.
9129
9130         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9131
9132         * dispatcher-daemon/Makefile.am: Ditto.
9133
9134         * src/Makefile.am: Ditto.
9135
9136 2007-09-12  Dan Williams  <dcbw@redhat.com>
9137
9138         Wireless connections can be made with config data from the applet now.
9139         
9140         Yay.
9141
9142         * src/supplicant-manager/nm-supplicant-config.h
9143           src/supplicant-manager/nm-supplicant-config.c
9144                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9145                 - (nm_supplicant_config_add_setting_wireless,
9146                    nm_supplicant_config_add_setting_wireless_security): new functions;
9147                         add key/value pairs from the settings objects to the supplicant
9148                         config
9149
9150         * src/nm-device-802-11-wireless.c
9151                 - (cull_scan_list): fix check to not prune currently associated AP
9152                 - (build_supplicant_config, real_act_stage2_config): call the functions
9153                         of the NMSupplicantConfig that parse settings objects rather than
9154                         doing it manually here
9155
9156 2007-09-12  Dan Williams  <dcbw@redhat.com>
9157
9158         * src/supplicant-manager/nm-supplicant-interface.c
9159           src/supplicant-manager/nm-supplicant-marshal.list
9160                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9161                         "connection-error" signal arguments should be STRING not CHAR
9162
9163 2007-09-12  Dan Williams  <dcbw@redhat.com>
9164
9165         * src/NetworkManagerUtils.c
9166           src/NetworkManagerUtils.h
9167                 - (nm_utils_hexstr2bin): new function
9168
9169 2007-09-11  Dan Williams  <dcbw@redhat.com>
9170
9171         * src/nm-manager.c
9172                 - (connection_get_settings_cb): emit connection-added signal
9173                 - (connection_removed_cb): uncomment bits for system settings service,
9174                         send connection-removed when appropriate
9175                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9176                         the stack by trying to g_object_set_data() on something that's
9177                         not a GObject; handle case where settings service returns
9178                         empty settings hash table
9179
9180 2007-09-11  Dan Williams  <dcbw@redhat.com>
9181
9182         * src/NetworkManagerPolicy.c
9183                 - (connection_added, connection_removed): trigger device change checks
9184                         on connection changes
9185
9186 2007-09-11  Dan Williams  <dcbw@redhat.com>
9187
9188         * src/nm-activation-request.c
9189                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9190
9191 2007-09-11  Dan Williams  <dcbw@redhat.com>
9192
9193         * src/nm-device-802-11-wireless.c
9194                 - (real_connection_secrets_updated): fix erroneous check
9195
9196 2007-09-11  Dan Williams  <dcbw@redhat.com>
9197
9198         * introspection/nm-device.xml
9199           libnm-glib/nm-device.c
9200           libnm-glib/nm-device.c
9201                 - Fix Activate call argument borkage; Activate takes 3 arguments
9202
9203 2007-09-11  Dan Williams  <dcbw@redhat.com>
9204
9205         * libnm-glib/nm-access-point.c
9206           libnm-glib/nm-access-point.c
9207                 - (nm_access_point_get_frequency): now returns guint32 to match
9208                         property change on 2007-09-10
9209
9210 2007-09-11  Dan Williams  <dcbw@redhat.com>
9211
9212         * src/nm-device-802-11-wireless.c
9213                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9214                         somewhere defines 'index' and I missed this one when I fixed the
9215                         shadow declaration errors earlier
9216
9217 2007-09-11  Dan Williams  <dcbw@redhat.com>
9218
9219         * libnm-util/nm-connection.c
9220                 - (nm_connection_update_secrets, need_secrets_check): move
9221                         802-11-wireless-security need_secrets checks to the setting object
9222                         itself, where it belongs
9223
9224         * libnm-util/nm-setting.c
9225           libnm-util/nm-setting.h
9226                 - (nm_setting_need_secrets): new function
9227                 - (setting_wireless_security_verify,
9228                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9229                 - (setting_wireless_security_need_secrets): mostly copy code over
9230                         from nm-connection.c
9231
9232 2007-09-11  Dan Williams  <dcbw@redhat.com>
9233
9234         * libnm-util/nm-setting.c
9235           libnm-util/nm-setting.h
9236                 - (nm_setting_update_secrets): new function; add a virtual function that
9237                         subclasses can implement to update their secrets
9238                 - (setting_wireless_security_update_secrets): implement that function
9239                         for the 802-11-wireless-security subclass
9240
9241         * libnm-util/nm-connection.c
9242           libnm-util/nm-connection.h
9243                 - (nm_connection_update_secrets): update secrets for a Setting and
9244                         emit a signal on success
9245
9246         * src/nm-manager.c
9247           src/nm-manager.h
9248           src/nm-marshal.list
9249                 - (connection_get_settings_cb): enable system settings bits
9250                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9251                         to request secrets from the settings dbus service and to
9252                         push those secrets to the NMConnection itself
9253
9254         * src/nm-activation-request.c
9255           src/nm-activation-request.h
9256                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9257                         currently being activated, and proxy that signal to other listeners.
9258                         Goes through the activation request because the activation request
9259                         is the thing that manages the lifetime of the NMConnection that's
9260                         being activated.
9261
9262         * src/nm-device-802-11-wireless.c
9263                 - (real_connection_secrets_updated): implement the connection secrets
9264                         updated notification and restart activation when secrets are
9265                         received
9266                 - (real_act_stage2_config): request secrets from the settings dbus
9267                         service if secrets are needed
9268
9269         * src/nm-device.c
9270           src/nm-device.h
9271                 - (clear_act_request, nm_device_activation_cancel,
9272                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9273                         where the activation request is cleared
9274                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9275                         updated secrets signal of activation request and add a function
9276                         that subclasses can override to handle it easily
9277
9278 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9279
9280         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9281         removal of NetworkManagerAPList.
9282
9283 2007-09-10  Dan Williams  <dcbw@redhat.com>
9284
9285         * src/NetworkManagerAP.c
9286           src/NetworkManagerAP.h
9287           introspection/nm-access-point.xml
9288                 - Change 'freq' property to a guint32 instead of a double since we
9289                         weren't using the floating point bits anyway
9290
9291 2007-09-10  Dan Williams  <dcbw@redhat.com>
9292
9293         * NetworkManagerAP.c
9294           NetworkManagerAP.h
9295           NetworkManagerPolicy.c
9296           NetworkManagerSystem.c
9297           NetworkManagerUtils.c
9298           NetworkManagerUtils.h
9299           nm-device-802-11-wireless.c
9300           nm-device-802-3-ethernet.c
9301           nm-hal-manager.c
9302           nm-manager.c
9303           vpn-manager/nm-dbus-vpn.c
9304                 - Warning fixes; casts and removal of unused variables
9305
9306 2007-09-10  Dan Williams  <dcbw@redhat.com>
9307
9308         * include/NetworkManager.h
9309                 - Kill NMNetworkType; AP types don't matter any more
9310
9311         * src/NetworkManagerAPList.c
9312           src/NetworkManagerAPList.h
9313           src/Makefile.am
9314                 - Kill; NMAccessPointList has outlived it's usefulness
9315
9316         * src/NetworkManagerAP.c
9317           src/NetworkManagerAP.h
9318                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9319                         functions; check if an NMConnection object is compatible with the
9320                         settings of this AP
9321                 - (freq_to_channel, channel_to_freq): utility functions for
9322                         channel <-> frequency conversion
9323
9324         * src/nm-device.c
9325           src/nm-device.h
9326                 - (nm_device_get_best_connection): pass the specific object around
9327                          (which might be the object path of a specific AP to connect to).
9328                          The get_best_connection() call should populate this on return
9329                          if needed (wireless does).
9330
9331         * src/nm-device-802-3-ethernet.c
9332                 - (real_get_best_connection): handle specific_object argument
9333
9334         * src/NetworkManager.c
9335           src/NetworkManagerMain.h
9336                 - Remove unused includes
9337
9338         * src/nm-device-802-11-wireless.c
9339           src/nm-device-802-11-wireless.h
9340                 - Convert the ap_list into a GSList from an NMAccessPointList
9341                 - No need for caching the 'activation_ap' since this is now determined
9342                         from the specific_object of the activation request, which is
9343                         populated from the get_best_connection() call or from a user request
9344                 - (nm_device_802_11_wireless_update_bssid): fix warning
9345                 - (get_wireless_capabilities): fix error message format arguments
9346                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9347                 - (find_best_connection, real_get_best_connection): implement
9348                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9349                         move here from NetworkManagerAPList
9350                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9351                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9352                         already verified earlier
9353                 - (real_act_stage2_config): use nm_connection_need_secrets()
9354
9355         * src/NetworkManagerPolicy.c
9356                 - (nm_policy_auto_get_best_device): handle specific objects
9357                 - (create_connection): remove; automatic connection creation functionality
9358                         is handled by the Connection objects
9359                 - (nm_policy_device_change_check): handle specific_object
9360
9361         * libnm-util/nm-connection.c
9362                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9363
9364 2007-09-10  Dan Williams  <dcbw@redhat.com>
9365
9366         * src/nm-manager.c
9367                 - (query_connections): fix uninitialized variable problem that caused
9368                         segfault
9369                 - (nm_manager_add_device): take devices down on startup so that we can
9370                         be assured that nm_device_is_up() won't short-circuit the init
9371                         process.  Hack until the is_up check gets split into two pieces
9372                         that aren't behaviorally confusing.
9373
9374 2007-09-09  Dan Williams  <dcbw@redhat.com>
9375
9376         * introspection/nm-device.xml
9377                 - The 'Activate' method now takes 3 arguments, a service name for the
9378                 settings service (user or system), the object path of the connection
9379                 to activate, and the specific object to activate, if any
9380
9381         * src/nm-device-interface.c
9382                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9383                 Add error bits
9384                 - (impl_device_activate): adapt to new Activate arguments; validate
9385                 the service name and get the Connection object from the NMManager
9386                 before starting to activate the device with the specified connection
9387
9388         * src/nm-device-802-3-ethernet.c
9389                 - (real_get_best_connection): find the best connection, or create a
9390                 default one if no existing connections can be used
9391
9392         * src/NetworkManagerPolicy.c
9393                 - (nm_policy_auto_get_best_device): Get the device's best connection
9394                 and only pick the device if it has one
9395                 - (nm_policy_device_change_check): disable wireless bits for now until
9396                 wireless get_best_connection() can be implemented (replacing "best_ap");
9397                 don't create a default connection here as the device subclass will do
9398                 that if needed
9399
9400         * src/nm-manager.h
9401           src/nm-manager.c
9402                 - (nm_manager_get): make NMManager a singleton and expose the getter
9403                 internally
9404                 - Rework internal NMManager connection handling to use the same
9405                 routines for both the system and user settings services.  Most calls
9406                 take a new NMConnectionType argument specifying either system or user
9407                 connections
9408                 - (nm_manager_get_connection_by_object_path): new function; get a
9409                 connection keyed on its object path
9410
9411         * src/NetworkManager.c
9412                 - (main): use nm_manager_get()
9413
9414 2007-09-09  Dan Williams  <dcbw@redhat.com>
9415
9416         * src/nm-device.h
9417           src/nm-device.c
9418                 - (nm_device_get_best_connection): new function; get best connection
9419                         for the device at that time
9420
9421 2007-09-09  Dan Williams  <dcbw@redhat.com>
9422
9423         * src/nm-device-interface.h
9424                 - Add NMDeviceInterfaceError with an UnknownConnection error
9425
9426 2007-09-09  Dan Williams  <dcbw@redhat.com>
9427
9428         Stupid mistake on my part; object path and interface for settings service
9429         and connection objects can be the same, only the service name must be
9430         different for the system and user settings services.
9431
9432         * include/NetworkManager.h
9433           src/nm-manager.c
9434           introspection/nm-settings-connection.xml
9435           introspection/nm-settings.xml
9436           libnm-glib/nm-settings.c
9437                 - (nm_connection_settings_init, query_user_connections,
9438                    new_connection_cb): Unify NetworkManagerSettings and Connection
9439                    interface name and object path
9440
9441 2007-09-06  Dan Williams  <dcbw@redhat.com>
9442
9443         * libnm-glib/nm-object.c
9444                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9445                    nm_object_get_int_property, nm_object_get_uint_property,
9446                    nm_object_get_boolean_property, nm_object_get_byte_property,
9447                    nm_object_get_double_property, nm_object_get_byte_array_property):
9448                         clear GValues after copying their contents, fixes memory leaks
9449                         after every property access because dbus-glib copies the values
9450                         from the DBusMessage into the GValue already.
9451
9452 2007-09-06  Dan Williams  <dcbw@redhat.com>
9453
9454         * introspection/nm-access-point.xml
9455                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9456                         them to be.  There's some magic property name parsing going on in
9457                         dbus-glib that breaks up property names based on studly-caps and
9458                         puts - between words.
9459
9460         * libnm-glib/nm-access-point.c
9461                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9462                         Fix property names
9463
9464 2007-09-06  Dan Williams  <dcbw@redhat.com>
9465
9466         * src/nm-manager.c
9467                 - (nm_manager_user_connections_destroy): clear the user connections hash
9468                         table, don't destroy it
9469                 - (finalize): only destroy the hash table on NMManager finalization
9470
9471 2007-09-02  Dan Williams  <dcbw@redhat.com>
9472
9473         * include/NetworkManager.h
9474           libnm-glib/nm-settings.c
9475                 - defines for the user settings daemon D-Bus bits
9476
9477         * src/NetworkManager.c
9478                 - Remove stuff that referred to the old NetworkManagerInfo service
9479
9480         * src/vpn-manager/nm-dbus-vpn.h
9481                 - Move old NMI defines to the only place they are used still
9482
9483         * libnm-util/nm-connection.c
9484           libnm-util/nm-connection.h
9485           src/nm-activation-request.c
9486                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9487
9488         * src/nm-manager.c
9489           src/nm-manager.h
9490                 - Get connections and their settings from the user settings daemon
9491                         at the appropriate times
9492
9493 2007-09-02  Dan Williams  <dcbw@redhat.com>
9494
9495         * libnm-util/nm-setting.c
9496                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9497                 - (setting_wireless_hash): set the right value on the item
9498
9499 2007-09-02  Dan Williams  <dcbw@redhat.com>
9500
9501         * test/Makefile.am
9502           test/nminfotest.c
9503                 - Remove, no longer useful
9504
9505 2007-08-30  Dan Williams  <dcbw@redhat.com>
9506
9507         * src/Makefile.am
9508           src/NetworkManagerDbus.c
9509           src/NetworkManagerDbus.h
9510           src/vpn-manager/nm-dbus-vpn.c
9511                 - Remove, no longer necessary.  Move last bits to the only place its
9512                 used, in nm-dbus-vpn.c
9513
9514         * src/NetworkManagerAPList.c
9515           src/nm-device.c
9516           src/NetworkManager.c
9517           src/nm-device-802-11-wireless.c
9518           src/vpn-manager/nm-vpn-manager.c
9519           src/vpn-manager/nm-vpn-service.c
9520           src/NetworkManagerPolicy.c
9521           src/nm-manager.c
9522                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9523                 that was message_is_error()
9524
9525 2007-08-30  Dan Williams  <dcbw@redhat.com>
9526
9527         * libnm-util/sha1.c
9528                 - Include config.h to get defines for endiannes (gnome.org #420216)
9529
9530 2007-08-30  Dan Williams  <dcbw@redhat.com>
9531
9532         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9533
9534         * src/ppp-manager/Makefile.am
9535                 - use -fPIC (gnome.org #471825)
9536
9537 2007-08-29  Dan Williams  <dcbw@redhat.com>
9538
9539         * include/NetworkManager.h
9540                 - Keep NMConnection object path in sync
9541
9542         * libnm-glib/nm-settings.c
9543           libnm-glib/nm-settings.h
9544                 - Break D-Bus object registration out of the init function, because
9545                 every object that's exported over D-Bus needs to use the _same_
9546                 DBusConnection.  Otherwise, each object would get a different object
9547                 path tree and wouldn't be callable.
9548
9549 2007-08-29  Dan Williams  <dcbw@redhat.com>
9550
9551         * libnm-util/nm-setting.h
9552           libnm-util/nm-setting.c
9553           libnm-util/nm-connection.c
9554           src/NetworkManagerPolicy.c
9555                 - 'info' settings object should be 'connection' says the spec
9556                 at NetworkManagerConfigurationSpecification
9557
9558 2007-08-29  Dan Williams  <dcbw@redhat.com>
9559
9560         * libnm-glib/nm-settings.c
9561           libnm-glib/nm-settings.h
9562                 - make the dbus path a property of the object, and autogenerate it.
9563                 It can't be composed of the 'id' field becuase that's not available
9564                 yet during the GObject creation in nm_connection_settings_init()
9565
9566 2007-08-29  Dan Williams  <dcbw@redhat.com>
9567
9568         * introspection/nm-settings-connection.xml
9569           introspection/nm-settings.xml
9570                 - Service name -> NetworkManagerUserSettings because two services
9571                 can't share part of the same path.  I'm not really sure how we'll use
9572                 the same code with the system-settings daemon...
9573
9574 2007-08-28  Dan Williams  <dcbw@redhat.com>
9575
9576         * src/nm-device-interface.c
9577           src/nm-device-interface.h
9578                 - Kill one more bit of NMData
9579
9580 2007-08-28  Dan Williams  <dcbw@redhat.com>
9581
9582         * src/NetworkManagerSystem.h
9583           src/nm-device.c
9584           src/nm-device.h
9585           src/nm-hal-manager.c
9586           src/NetworkManager.c
9587           src/nm-device-802-11-wireless.c
9588           src/nm-hal-manager.h
9589           src/nm-device-802-3-ethernet.c
9590           src/vpn-manager/nm-vpn-service.h
9591           src/vpn-manager/nm-vpn-manager.c
9592           src/vpn-manager/nm-vpn-manager.h
9593           src/vpn-manager/nm-vpn-service.c
9594           src/nm-device-802-11-wireless.h
9595           src/NetworkManagerMain.h
9596           src/nm-device-802-3-ethernet.h
9597           src/backends/NetworkManagerGentoo.c
9598           src/backends/NetworkManagerPaldo.c
9599           src/backends/NetworkManagerFrugalware.c
9600           src/backends/NetworkManagerRedHat.c
9601           src/backends/NetworkManagerSlackware.c
9602           src/backends/NetworkManagerGeneric.c
9603           src/backends/NetworkManagerArch.c
9604           src/backends/NetworkManagerSuSE.c
9605           src/backends/NetworkManagerGeneric.h
9606           src/backends/NetworkManagerDebian.c
9607                 - Kill NMData
9608
9609 2007-08-28  Dan Williams  <dcbw@redhat.com>
9610
9611         * src/NetworkManagerMain.h
9612           src/nm-device-802-11-wireless.c
9613           src/NetworkManager.c
9614                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9615                 for now we should set the 'invalid' property on individual APs, and when
9616                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9617                 that ESS
9618
9619 2007-08-28  Dan Williams  <dcbw@redhat.com>
9620
9621         * src/NetworkManagerAP.c
9622           src/NetworkManagerAP.h
9623                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9624                         'autoconnect' property instead
9625
9626         * src/NetworkManager.c
9627           src/NetworkManagerMain.h
9628           src/NetworkManagerPolicy.c
9629           src/NetworkManagerPolicy.h
9630                 - Remove the 'allowed_ap_list', which should be replaced by 
9631                         NMConnection/NMSettings instead, since _those_ are the allowed
9632                         things that NM can connect to
9633
9634         * src/nm-device-802-11-wireless.c
9635                 - Remove both allowed_ap_list usage and 'fallback' checking
9636
9637 2007-08-28  Dan Williams  <dcbw@redhat.com>
9638
9639         * src/nm-device.c
9640           src/named-manager/nm-named-manager.c
9641           src/named-manager/nm-named-manager.h
9642           src/NetworkManager.c
9643           src/vpn-manager/nm-vpn-manager.c
9644           src/NetworkManagerMain.h
9645           src/NetworkManagerSystem.c
9646                 - Remove the named-manager object from NMData structure in preparation
9647                 for NMData's timely death.  Make the NMNamedManager the singleton that
9648                 it really is
9649
9650 2007-08-28  Dan Williams  <dcbw@redhat.com>
9651
9652         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9653         each AP's capabilities, and by NMConnection/NMSettings objects for user
9654         defined connections.
9655
9656         * include/NetworkManager.h
9657                 - Redefine 802.11 security properties.  There are now device capabilities
9658                         and AP flags and AP security flags.  It was way to unclear before.
9659
9660         * src/Makefile.am
9661           src/nm-ap-security-leap.h
9662           src/nm-ap-security-leap.c
9663           src/nm-ap-security-wpa-eap.c
9664           src/nm-ap-security-wpa-eap.h
9665           src/nm-ap-security-private.h
9666           src/nm-ap-security-wpa-psk.c
9667           src/nm-ap-security-wpa-psk.h
9668           src/nm-ap-security-wep.c
9669           src/nm-ap-security-wep.h
9670           src/nm-ap-security.c
9671           src/nm-ap-security.h
9672                 - Removed, to be replaced with NMConnection/NMSettings objects
9673
9674         * src/nm-dbus-nmi.c
9675           src/nm-dbus-nmi.h
9676                 - Removed, to be replaced by code that talks to the new info daemon
9677                         interface and gets NMConnection/NMSettings objects
9678
9679         * src/backends/NetworkManagerSuSE.c
9680                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9681                         info-daemon that does the same thing but talks the new info-daemon
9682                         D-Bus interface
9683
9684         * src/NetworkManagerAP.h
9685           src/NetworkManagerAP.c
9686           src/NetworkManagerAPList.c
9687           libnm-glib/libnm-glib-test.c
9688                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9689                         WPA/RSN
9690
9691         * libnm-glib/nm-access-point.c
9692           libnm-glib/nm-access-point.h
9693           introspection/nm-access-point.xml
9694           test/nm-tool.c
9695                 - Adjust to new flags for AP security
9696
9697         * utils/nm-utils.c
9698           utils/nm-utils.h
9699           src/vpn-manager/nm-dbus-vpn.c
9700                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9701                         stuff which is the only place it's used
9702
9703         * src/nm-device-interface.c
9704           src/nm-device-interface.h
9705           introspection/nm-device.xml
9706           src/nm-activation-request.c
9707           src/nm-activation-request.h
9708           src/nm-device.c
9709                 - Add a new 'specific_object' argument that hints to NM what actual
9710                         AP or other device-specific thing the connection should apply to.
9711                         NMConnection objects can apply to more than one actual device/AP.
9712
9713         * libnm-util/nm-connection.c
9714         * libnm-util/nm-connection.h
9715                 - Add 'have_secrets" call stubs
9716
9717         * libnm-util/cipher.h
9718                 - Move NM_AUTH_TYPE_* defines here for now
9719
9720         * src/nm-device-802-11-wireless.c
9721                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9722                         NMSettings objects
9723
9724         * src/NetworkManagerDbus.c
9725         * src/NetworkManagerPolicy.c
9726                 - Remove usage of update_allowed_networks, should be pushing data in
9727                         a different manner
9728
9729 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9730
9731         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9732         dbus-glib frees it when the call is done.
9733
9734 2007-08-26  Dan Williams  <dcbw@redhat.com>
9735
9736         * introspection/nm-device.xml
9737                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9738
9739 2007-08-26  Dan Williams  <dcbw@redhat.com>
9740
9741         * src/nm-device-802-3-ethernet.c
9742                 - (constructor): move connection of interface-connected/disconnected
9743                         signals here from real_bring_up().  Should be listening to netlink
9744                         for carrier events no matter what the initial state of the device
9745                         is.
9746
9747 2007-08-26  Dan Williams  <dcbw@redhat.com>
9748
9749         * src/nm-netlink-monitor.c
9750                 - (nm_netlink_monitor_class_init): fix marshalling types for
9751                         interface-connected/interface-disconnected
9752                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9753                         check
9754
9755 2007-08-26  Dan Williams  <dcbw@redhat.com>
9756
9757         Convert to using interface indexes as the primary method of identifying
9758         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9759         be renamed at any time.  Device object paths now refer to the device
9760         index rather than the name, and you can map those two manually if you like
9761         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9762         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9763         to use interface indexes rather than names.
9764
9765 2007-08-26  Dan Williams  <dcbw@redhat.com>
9766
9767         * src/nm-netlink-monitor.h
9768                 - Remove one last bit of wireless-event signal
9769
9770 2007-08-26  Dan Williams  <dcbw@redhat.com>
9771
9772         * src/nm-netlink-monitor.c
9773                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9774                         don't need the 'wireless-event' signal anymore since that's all
9775                         handled by wpa_supplicant
9776
9777 2007-08-25  Dan Williams  <dcbw@redhat.com>
9778
9779         It's 2007. Remove support for drivers that don't support wireless scanning.
9780
9781         * test/nm-tool.c
9782           include/NetworkManager.h
9783           src/NetworkManagerUtils.c
9784           src/NetworkManagerPolicy.c
9785           src/nm-device-802-11-wireless.c
9786                 - Remove special handling for non-scanning devices and mark them
9787                         as unsupported/unhandled
9788
9789 2007-08-20  Dan Williams  <dcbw@redhat.com>
9790
9791         * src/nm-device-802-11-wireless.c
9792           src/nm-device-802-3-ethernet.c
9793                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9794                         because when the card is pulled or the module removed, the device
9795                         is already !IFF_UP and then device-specific cleanup (removing
9796                         the supplicant interface, periodic checks, etc) never gets done
9797
9798 2007-08-20  Dan Williams  <dcbw@redhat.com>
9799
9800         * src/nm-manager.c
9801                 - (nm_manager_remove_device): bring device down before disconnecting
9802                         signal handlers, so that the 'state' signal will get broadcast when
9803                         the device enters the DOWN state
9804                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9805                         of states that cause the NMManager to recheck its state
9806
9807 2007-08-20  Dan Williams  <dcbw@redhat.com>
9808
9809         * src/supplicant-manager/nm-supplicant-interface.c
9810                 - (interface_disconnect_done): don't try to dispose of the net proxy
9811                         when it may already have been disposed of
9812
9813 2007-08-20  Dan Williams  <dcbw@redhat.com>
9814
9815         * src/nm-device-802-11-wireless.c
9816                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9817                         the SSID isn't available; this can happen when the card is pulled
9818                         or the module unloaded, during the post-removal deactivation
9819                         paths, when the ioctl returns ENODEV
9820
9821 2007-08-20  Dan Williams  <dcbw@redhat.com>
9822
9823         * src/nm-device-802-11-wireless.c
9824                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9825                         frequency, and mode match.  Applets are now responsible for grouping
9826                         access points
9827
9828 2007-08-20  Dan Williams  <dcbw@redhat.com>
9829
9830         * src/NetworkManagerAP.c
9831         * src/NetworkManagerAP.h
9832                 - (nm_ap_print_self): new function
9833
9834         * src/NetworkManagerAPList.c
9835                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9836                         to do it all here
9837         
9838 2007-08-17  Dan Williams  <dcbw@redhat.com>
9839
9840         * src/nm-device-802-3-ethernet.c
9841                 - (real_bring_down): don't try to dispose of stuff that might not
9842                         exist
9843
9844 2007-08-17  Dan Williams  <dcbw@redhat.com>
9845
9846         * src/NetworkManagerAP.c
9847                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9848                         applet.  This ensures that the case between the seen-bssids and
9849                         the bssids reported by the driver match.
9850
9851 2007-08-17  Dan Williams  <dcbw@redhat.com>
9852
9853         * src/nm-device-802-11-wireless.c
9854                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9855                         we dispose of the interface proxy in NM
9856
9857 2007-08-16  Dan Williams  <dcbw@redhat.com>
9858
9859         * libnm-glib/nm-client.c
9860                 - (nm_client_init): create VPN connections hash table with key free
9861                         function
9862                 - (proxy_vpn_connection_added): VPN connections hash table key should
9863                         be a duplicated value, not the same memory address as the VPN
9864                         connection name.  This is because the VPN connection name could
9865                         potentially be freed and set to something else during the lifetime
9866                         of the NMVPNConnection object.
9867
9868 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9869
9870         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9871         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9872         with the file descriptors. Send a child setup function to change the pppd
9873         progress group.
9874
9875 2007-08-15  Dan Williams  <dcbw@redhat.com>
9876
9877         * src/supplicant-manager/nm-supplicant-interface.c
9878                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9879                         an interface
9880                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9881                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9882                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9883                         the interface internally
9884
9885 2007-08-15  Dan Williams  <dcbw@redhat.com>
9886
9887         * src/nm-device-802-11-wireless.c
9888                 - (real_bring_down): move most of this function into device_cleanup()
9889                         so that it can be called from elsewhere
9890                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9891                         and stuff on dispose.  These would normally get cleaned up when
9892                         the device is marked down and deactivated, but when the device is
9893                         hot-unplugged, it's already down and real_down() never gets run
9894
9895 2007-08-15  Dan Williams  <dcbw@redhat.com>
9896
9897         * src/nm-dbus-nmi.c
9898                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9899                         caused a reference leak on device for which NM requested a key
9900
9901 2007-08-15  Dan Williams  <dcbw@redhat.com>
9902
9903         * libnm-glib/nm-client.c
9904                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9905
9906 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9907
9908         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9909         nothing is using it at the moment, but it'll be all useful and stuff later on.
9910
9911         * libnm-util/nm-setting.h: Define NMSettingPPP.
9912
9913         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9914
9915         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9916
9917         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9918
9919         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9920
9921         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9922
9923 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9924
9925         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9926
9927         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9928         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9929         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9930         name and different arguments and it won't compile anymore. To fix this, we now have
9931         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9932         that is new API + compatibility API and used by the daemon. The other, 
9933         nm-manager-client.xml is only the new API without compatibility bits and is used
9934         by libnm-glib to make it compile.
9935
9936         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9937
9938         * src/nm-manager.c (impl_manager_legacy_sleep)
9939         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9940         interface functions for 0.6 branch.
9941
9942 2007-08-14  Dan Williams  <dcbw@redhat.com>
9943
9944         * src/NetworkManagerAP.c
9945                 - (nm_ap_new_from_properties): fix mistaken check of return value
9946                         from memcmp (should expect 0)
9947
9948 2007-08-14  Dan Williams  <dcbw@redhat.com>
9949
9950         (force-commit to fix wrong comment and partial commit of r2685; this
9951          commit actually applies to r2685)
9952
9953         * src/NetworkManagerUtils.c
9954                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9955                         ignores trailing nulls in the SSID to work around mismatches in
9956                         expectations between WEXT and what the info-daemon passes back.  The
9957                         info-daemon would pass back the correct length, but due to the
9958                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9959                         the device would always have an SSID + 1 depending on what versions
9960                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9961                         visible by just quitting the applet and relaunching, which caused
9962                         NM to reassociated to the same network over again when reloading
9963                         the save networks.
9964
9965         * src/NetworkManagerPolicy.c
9966           src/NetworkManagerUtils.h
9967           src/nm-device-802-11-wireless.c
9968                 - Update for new parameter to nm_utils_same_ssid()
9969
9970 2007-08-14  Dan Williams  <dcbw@redhat.com>
9971
9972         * src/NetworkManagerAP.c
9973                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9974                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9975                         setting the BSSID to all 0s.  That confused the heck out of NM,
9976                         plus it's useless and probably out-of-spec.
9977
9978 2007-08-14  Dan Williams  <dcbw@redhat.com>
9979
9980         * callouts/Makefile.am
9981           src/dhcp-manager/nm-dhcp-manager.c
9982           src/dhcp-manager/nm-dhcp-manager.h
9983           src/dhcp-manager/Makefile.am
9984                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9985
9986 2007-08-14  Dan Williams  <dcbw@redhat.com>
9987
9988         * src/dhcp-manager/nm-dhcp-manager.c
9989                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9990                         it's really needed, get rid of unused xtra_args parameter
9991
9992 2007-08-14  Dan Williams  <dcbw@redhat.com>
9993
9994         * include/NetworkManagerVPN.h
9995           src/vpn-manager/nm-dbus-vpn.c
9996           src/vpn-manager/nm-dbus-vpn.h
9997           src/vpn-manager/nm-vpn-act-request.c
9998           src/vpn-manager/nm-vpn-act-request.h
9999           src/vpn-manager/nm-vpn-service.c
10000           src/vpn-manager/nm-vpn-service.h
10001           libnm-glib/nm-vpn-connection.c
10002           libnm-glib/nm-vpn-connection.h
10003           libnm-glib/nm-client.h
10004                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
10005                         NMVPNServiceState to clarify what they apply to
10006                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10007                         NMVPNActStage -> NMVPNConnectionState for the same reason
10008
10009         * libnm-glib/nm-client.c
10010                 - Constant + type renames from above
10011                 - Properly handle NameOwnerChanged/manager_running signals
10012                         for NM service; only emit when state really changes
10013                 - Use hash tables correctly so that the key (which was previously owned
10014                         by the D-Bus message) now has the same lifetime as the value, since
10015                         the key is now taken from the the NMVPNConnection itself.  This
10016                         really fixes the double-VPN names in the applet
10017
10018 2007-08-13  Dan Williams  <dcbw@redhat.com>
10019
10020         Patch from Michael Biebl <biebl@debian.org>
10021
10022         * po/POTFILES.in
10023           po/POTFILES.skip
10024                 - Update for vpn-properties move
10025
10026 2007-08-13  Dan Williams  <dcbw@redhat.com>
10027
10028         * libnm-glib/nm-client.c
10029                 - Convert internal VPN connection tracking from a list to a hash table
10030                         to easily avoid duplicates
10031                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10032                         must be freed by the caller, like nm_client_get_devices()
10033                 - (nm_client_remove_vpn_connection): don't let the removal signal
10034                         leak through for NMVPNConnection objects that aren't actually
10035                         tracked.
10036                 - (manager_running): throw away VPN connection list when NM goes away,
10037                         like with the device list
10038
10039 2007-08-13  Dan Williams  <dcbw@redhat.com>
10040
10041         * src/dhcp-manager/nm-dhcp-manager.c
10042                 - Stop any dhclient instance that might be already running for a
10043                         particular interface before starting an NM spawned dhclient.  Fixes
10044                         dhclient processes left over if NM crashes, stuff like that.
10045
10046 2007-08-13  Dan Williams  <dcbw@redhat.com>
10047
10048         * src/NetworkManagerAP.c
10049                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10050                         when the AP wasn't broadcasting it's SSID
10051
10052 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10053
10054         * include/NetworkManager.h: added DBus path for connection settings.
10055
10056         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10057         nm_connection_settings_signal_updated,
10058         nm_connection_settings_signal_removed): new functions to wrap the
10059         objects' signals.
10060         (nm_connection_settings_init): register GObject with DBus.
10061         (nm_connection_settings_get_dbus_object_path): new function.
10062
10063         * libnm-glib/Makefile.am: added libnmutil to link flags.
10064
10065 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10066
10067         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10068
10069         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10070         libnm_glib directory got merged with libnm-glib/.
10071
10072         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10073
10074         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10075         Rename the library from libnm-glib to libnm_glib to maintain the library API
10076         compatibility with 0.6 branch.
10077
10078         * Makefile.am: Remove gnome/ SUBDIR.
10079
10080         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10081
10082         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10083
10084         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10085
10086         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10087         anymore.
10088         Remove checks for wpa_supplicant binary, it's used over dbus.
10089         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10090
10091         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10092         Link the binaries with libnm_glib.la.
10093
10094 2007-08-12  Dan Williams  <dcbw@redhat.com>
10095
10096         * src/NetworkManagerPolicy.c
10097                 - (nm_policy_device_change_check): fix policy to deactivate old device
10098                         before activating new one, at least until the multiple active
10099                         device support lands
10100
10101 2007-08-12  Dan Williams  <dcbw@redhat.com>
10102
10103         * src/NetworkManagerPolicy.c
10104                 - (nm_policy_new): hook up to connection-added / connection-removed
10105                         signals instead of connections-changed
10106
10107 2007-08-12  Dan Williams  <dcbw@redhat.com>
10108
10109         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10110         Robert Frank <rfrank@redhat.com>
10111
10112         * src/dhcp-manager/nm-dhcp-manager.c
10113           src/dhcp-manager/nm-dhcp-manager.c
10114           src/nm-device.c
10115                 - Spawn and communicate with dhclient directly, through means of a
10116                 custom dhclient callout script.  Process callout D-Bus signals
10117                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10118                 sent via gobject signals rather than being driven by the dhcp manager
10119                 directly.
10120
10121 2007-08-12  Dan Williams  <dcbw@redhat.com>
10122
10123         * callouts/nm-dhcp-client-action.c
10124                 - (build_message): ignore non-DHCP-related environment variables
10125
10126 2007-08-12  Dan Williams  <dcbw@redhat.com>
10127
10128         * Makefile.am
10129           configure.in
10130           callouts/Makefile.am
10131           callouts/nm-dhcp-client-action.c
10132           callouts/nm-dhcp-client.conf
10133                 - Add dhclient-executed callout that takes the place of dhclient-script
10134                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10135                 NM then listens for
10136
10137 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10138
10139         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10140
10141         * libnm-glib/nm-client.h:
10142         * libnm-glib/nm-object.h:
10143         * libnm-glib/nm-vpn-connection.h:
10144         * libnm-glib/nm-settings.h:
10145         * libnm-glib/nm-device.h:
10146         * libnm-glib/nm-ip4-config.h:
10147         * libnm-glib/nm-access-point.h:
10148         * libnm-glib/nm-device-802-3-ethernet.h:
10149         * libnm-util/nm-setting.h: 
10150         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10151
10152         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10153
10154         * libnm-glib/nm-access-point.c: Strength has type char.
10155
10156         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10157         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10158
10159         * introspection/nm-access-point.xml: Strength property is char, not int.
10160
10161         * src/NetworkManagerAP.c (set_property): Set strength from char.
10162         (get_property): Handle hidden APs (with empty SSID).
10163         Get strength value from char.
10164         (nm_ap_class_init): Strength property has char type.
10165
10166 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10167
10168         * introspection/Makefile.am:
10169         * introspection/nm-settings.xml:
10170         * introspection/nm-settings-connection.xml: added Settings interfaces.
10171
10172         * libnm-glib/nm-settings.[ch]:
10173         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10174         containing the DBus implementation.
10175
10176 2007-07-26  Dan Williams  <dcbw@redhat.com>
10177
10178         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10179
10180         * src/NetworkManagerSystem.c
10181                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10182                         same subnet (#437396)
10183
10184 2007-07-26  Dan Williams  <dcbw@redhat.com>
10185
10186         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10187
10188         * gnome/vpn-properties/nm-vpn-properties.c
10189                 - Fix translatable strings (#445865)
10190
10191 2007-07-26  Dan Williams  <dcbw@redhat.com>
10192
10193         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10194
10195         * configure.in
10196                 - Remove useless junk (#412530)
10197
10198 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10199
10200         Patch from Robert Buchholz <rbu@gentoo.org>:
10201
10202         * configure.in:
10203         * Makefile.am:
10204         * introspection/Makefile.am:
10205         Make make distcheck work again.
10206
10207 2007-06-27  Dan Williams  <dcbw@redhat.com>
10208
10209         * Make SSIDs GByteArrays everywhere
10210         * Rename "essid" -> "ssid" everywhere that's appropriate
10211         * Refcount activation_ap member of the 802.11 wireless device class
10212
10213 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10214
10215         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10216
10217 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10218
10219         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10220         that we got a new AP when we just update existing AP properties.
10221
10222 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10223
10224         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10225
10226         * nm-utils.[ch]: Remove.
10227
10228         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10229         objects for easy property access and dbus connection handling.
10230
10231         * libnm-glib/nm-client.c: Derive from NMObject.
10232
10233         * libnm-glib/nm-device.c: Ditto.
10234
10235         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10236
10237         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10238
10239         * libnm-glib/nm-ip4-config.c: Ditto.
10240
10241         * libnm-glib/nm-access-point.c: Ditto.
10242
10243         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10244         comparision. Currently used by the device activation code to determine if the new
10245         activation is the same as the old one.
10246
10247         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10248         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10249         able to ask password for the AP.
10250
10251         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10252         up if the device is already connected, tear down it's connection (if it isn't the
10253         same as new one) and start the activation.
10254
10255         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10256
10257         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10258         the issue where all APs are always listed as encrypted.
10259
10260         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10261         their own registered paths.
10262
10263         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10264         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10265
10266 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10267
10268         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10269         (0 & 0 == 0, doh)
10270
10271         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10272         because the handling code will cause the next state change and signal listeners
10273         get the signals in wrong order.
10274
10275         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10276         correctly in case of pending activation.
10277
10278         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10279         Convert the essid byte array to string correctly, including the terminating NULL.
10280
10281         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10282         mode with correct types.
10283
10284         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10285         constructed info to dbus call instead of the activation request.
10286
10287 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10288
10289         Patch from Christian Persch <chpe@gnome.org>
10290
10291         * libnm-glib/Makefile.am:
10292         * dispatcher-daemon/Makefile.am:
10293         Use the correct variables, the correct paths, and correct ordering. (446315)
10294
10295 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10296
10297         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10298         argument. The activation request is easy to retrieve.
10299
10300         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10301         just to be a convenient location for devices to store random stuff.
10302
10303 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10304
10305         Patch from Alex Smith <alex@alex-smith.me.uk>
10306
10307         * src/backends/NetworkManagerFrugalware.c:
10308         Update the FrugalWare backend to fix a few segfaults. (#392642)
10309
10310 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10311
10312         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10313
10314         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10315         setting.
10316         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10317
10318 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10319
10320         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10321         automagically.
10322         Implement NMSettingIP4Config.
10323         Finish NMSettingWired by adding all known members.
10324         (setting_wired_verify): Implement.
10325         Finish NMSettingWireless by adding all known members.
10326         (setting_wireless_verify): Implement.
10327
10328         * libnm-util/nm-connection.c: Register "ipv4" setting.
10329         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10330         dump function, we can introspect the GHashTable which is used for sending connections
10331         over dbus.
10332
10333         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10334         Take GByteArray for essid, it's really not a string.
10335
10336         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10337         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10338         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10339         means overriding the values we got from DHCP.
10340         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10341         (nm_device_deactivate_quickly): Ditto.
10342
10343         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10344         for debugging.
10345
10346 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10347
10348         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10349         NMConnection.
10350
10351         * libnm-glib/nm-device-802-11-wireless.c:
10352         (nm_device_802_3_ethernet_activate): Remove.
10353
10354         * libnm-glib/nm-device-802-3-ethernet.c
10355         (nm_device_802_3_ethernet_activate): Remove.
10356
10357         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10358
10359         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10360         NMConnection.
10361
10362         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10363         activation has started.
10364         Implement the new activation using NMConnection.
10365
10366         * src/nm-activation-request.c: Store a generic connection object instead
10367         of a wireless-specific AP.
10368
10369         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10370         on device type, create a device specific connection object suitable for
10371         device activation.
10372
10373         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10374         specific check to validate the connection and on success start the
10375         activation.
10376
10377         * src/nm-device-interface.h: Add a activate virtual function to the
10378         interface definition.
10379
10380         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10381         (impl_device_activate): Implement.
10382
10383         * introspection/nm-device.xml: Add a generic device activation interface
10384         that accepts an abstract NMConnection structure that has device-specific
10385         information in it.
10386
10387         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10388         activation interface.
10389
10390         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10391         activation interface.
10392
10393         * libnm-util/nm-connection.c: 
10394         * libnm-util/nm-connection.h: 
10395         * libnm-util/nm-setting.c:
10396         * libnm-util/nm-setting.h: Add.
10397
10398         * libnm-util/Makefile.am: Build the added files.
10399
10400         * src/nm-dbus-manager.c
10401         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10402         DbusConnection argument from 'name-owner-changed' signal. The manager
10403         is already passed as a first argument to the signal and the connection
10404         is easy enough to get from it.
10405
10406         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10407         Update the signature of the function.
10408
10409         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10410         Ditto.
10411
10412         * src/NetworkManager.c: Ditto.
10413
10414         * src/named-manager/nm-named-manager.c
10415         (nm_named_manager_name_owner_changed): Ditto.
10416
10417         * src/supplicant-manager/nm-supplicant-manager.c
10418         (nm_supplicant_manager_name_owner_changed): Ditto.
10419
10420         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10421
10422         * src/dhcp-manager/nm-dhcp-manager.c
10423         (nm_dhcp_manager_name_owner_changed): Ditto.
10424
10425         * src/nm-hal-manager.c: Add a list of device detectors and creators
10426         to make it easier to add new devices. Each device type has it's own
10427         entry in the table so adding new device types is only a matter of
10428         implementing a couple of functions, one for device detection and the
10429         other for device creation.
10430
10431 2007-04-25  Dan Williams  <dcbw@redhat.com>
10432
10433         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10434                 (gnome.org #432401)
10435
10436 2007-03-30  Dan Williams  <dcbw@redhat.com>
10437
10438         * src/NetworkManagerSystem.c
10439                 - (nm_system_device_set_ip4_route): clean up and fix argument
10440                         to nm_dev_sock_open()
10441
10442 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10443
10444         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10445         data to correct types instead of always using string.
10446
10447         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10448         _not_ have NM_802_11_CAP_PROTO_NONE.
10449         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10450         is not set.
10451
10452 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10453
10454         * libnm-glib/Makefile.am: Fix the build issue.
10455
10456 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10457
10458         * libnm-glib/nm-vpn-connection.h: 
10459         * libnm-glib/nm-vpn-connection.c: Implement.
10460
10461         * libnm-glib/nm-client.c: Add VPN support.
10462
10463         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10464         handler for VPN.
10465
10466         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10467         on DBUS again.
10468
10469 2007-03-26  Dan Williams  <dcbw@redhat.com>
10470
10471         * src/NetworkManagerAPList.c
10472         * src/nm-device-802-11-wireless.c
10473         * src/NetworkManagerAP.c:
10474                 - Store last seen as glong instead of GTimeVal.
10475                 - Fix the upper bound of capabilities, it's a bitfield.
10476
10477 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10478
10479         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10480
10481         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10482         "manager-running" signal that notifies the appearance/disappearance of NM.
10483         (nm_client_sleep): Implement.
10484
10485         * libnm-glib/nm-device.c:
10486         * libnm-glib/nm-device-802-11-wireless.c: 
10487         * libnm-glib/nm-device-802-3-ethernet.c: 
10488
10489         Don't inherit from DBusGProxy, add a proxy to private
10490         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10491         for anything but their own dbus interface. DBusGProxy objects support only one
10492         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10493         interface. The nice side effect of this change is that we do not create a new
10494         DBusGProxy object for each property access.
10495
10496 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10497
10498         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10499         with zeroes before passing them to functions - the functions never do that and
10500         reading the values back may produce wrong values.
10501         (real_bring_up): Store the signal handler id ...
10502         (real_bring_down): ... So that it can be removed here.
10503         Disconnect the supplicant interface here as well.
10504         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10505         from the access point instead of old $device/Networks/$essid.
10506
10507         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10508         device state is connected (instead of just having link/carrier).
10509
10510         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10511         already easily accessible through the device.
10512
10513         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10514         store it within the object.
10515         (nm_ap_get_dbus_path): Export it to public as well.
10516
10517         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10518         of the singleton.
10519
10520 2007-03-12  Dan Williams  <dcbw@redhat.com>
10521
10522         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10523         for non-carrier-detect capable devices, and useless for carrier-detect
10524         devices since we get notifications from netlink about carrier status anyway.
10525
10526         * src/nm-device-802-3-ethernet.c
10527                 - remove 'link_source_id' member from private data
10528                 - (probe_link): remove and collapse into real_update_link()
10529                 - (nm_device_802_3_periodic_update): remove
10530                 - (real_is_up): check for sup_iface rather than link_source_id
10531                 - (real_bring_up): return gboolean for success/fail; require that
10532                         sup_iface be valid for device bringup to succeed
10533                 - (real_bring_down): zero out link signal ids
10534
10535         * src/nm-device.c
10536                 - (nm_device_activate_stage2_device_config): fail activation if device
10537                         bringup fails
10538                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10539                         fails
10540                 - (nm_device_bring_up): return success/fail
10541
10542         * src/nm-device.h
10543                 - bring_up now returns success/fail
10544
10545         * src/nm-device-802-11-wireless.c
10546                 - (real_bring_up): return success from bringup
10547
10548 2007-03-07  Dan Williams  <dcbw@redhat.com>
10549
10550         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10551         * src/nm-ap-security-wpa-psk.c
10552                 - (real_write_supplicant_config): work with PSKs that may contain
10553                         zeros in the binary format rather than treating it as a string
10554
10555 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10556
10557         * libnm-glib/nm-device-802-11-wireless.c
10558         (nm_device_802_11_wireless_get_capabilities): Implement.
10559
10560         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10561
10562         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10563
10564         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10565         reply only if it's not NULL. Not sure why this started happening right now.
10566
10567         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10568         code paths for when devices get removed on shutdown or when a device is just
10569         removed.
10570         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10571         gets freed so any signal from a device (disconnected for instance) would invoke
10572         NMState update which would crash.
10573         (nm_manager_remove_device): Bring the device down when it gets removed.
10574
10575         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10576         the unused dev_type.
10577
10578         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10579         reference to the added device, NMManager will own it (if it wants).
10580
10581         * test/nm-tool.c: Rewrite using libnm-glib.
10582
10583         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10584         We get signalled when it changes.
10585
10586         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10587         when it changes.
10588
10589         * libnm-glib/nm-device.c: Cache the device state property.
10590
10591         * libnm-glib/nm-access-point.c: Cache the strength property.
10592
10593         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10594         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10595         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10596         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10597         the device is down, activating, or activated (in case of A/B/G cards).
10598         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10599         it's all done through supplicant now.
10600
10601         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10602         counting issues with pending calls which caused leaks and crashes when
10603         interface was removed (now that the interface actually gets removed).
10604
10605         * src/nm-call-store.c: Make a copy of data before running a foreach
10606         with user callback on it - The most common usage pattern is to cancel
10607         (and thus remove) all pending calls with foreach which would modify
10608         the hash table we're iterating over.
10609
10610         * src/nm-manager.c: When a device is added, make sure it is "up". When
10611         it's removed or disabled due to disabling wireless or networking, bring
10612         it down.
10613
10614         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10615
10616         * src/nm-device-802-11-wireless.c: 
10617         * src/nm-device-802-3-ethernet.c: 
10618         * src/nm-device.c:
10619                 - Remove "init" virtual function, all gobjects have a place for that
10620                   already (constructor).
10621                 - Replace "start" virtual function with "bring_up", devices can be
10622                   brought up and down more than just on startup now.
10623                 - Add "is_up" virtual function.
10624                 - Implement one way to bring a device down instead of previous 4 different
10625                   ways, each of witch did something different.
10626
10627         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10628         all it needs is the device interface.
10629
10630         Get rid of NMData.dev_list (3 members to go).
10631         Get rif of NMData in a lot of places.
10632
10633         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10634
10635 2007-02-23  Dan Williams  <dcbw@redhat.com>
10636
10637         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10638
10639         * src/NetworkManagerAP.c
10640                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10641                         OR-ing rather than AND-ing
10642
10643 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10644
10645         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10646         "network-removed" signals.
10647
10648         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10649
10650         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10651         when receiving the signal from dbus.
10652
10653         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10654         property.
10655
10656         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10657         deactivation of the previously activated device working again.
10658
10659         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10660         and setter.
10661
10662         * src/nm-device.c (nm_device_is_activated): Remove.
10663         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10664
10665         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10666         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10667         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10668         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10669         Remove NMNetworkStatus and NMActStage enums.
10670
10671 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10672
10673         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10674         Handle device state changes and disconnect VPN if it's device deactivates.
10675
10676         * src/nm-dbus-nm.c: 
10677         * src/nm-dbus-nm.h: 
10678         * src/nm-dbus-device.c: 
10679         * src/nm-dbus-device.c: 
10680         * src/nm-dbus-net.c: 
10681         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10682
10683         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10684
10685         * src/nm-device.c (nm_device_get_by_udi):
10686         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10687         implemented in the correct location (NMManager).
10688         Rip out all the test_device stuff.
10689
10690         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10691         failure handlers, it's all done by NMDevice already.
10692
10693         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10694         Remove the iochannel hack to route the unix signals to the main thread since
10695         we're not threaded anymore.
10696
10697         * src/NetworkManagerAP.c: Implement HWAddress property.
10698
10699         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10700         automatically with dbus-glib.
10701
10702         * src/nm-netlink-monitor.c: 
10703         * src/nm-netlink-monitor.h:
10704                 - Move it low in the class hierarchy, don't reference any NM types.
10705                 - Remove private data from the header.
10706                 - Use type safe checks in public API methods.
10707                 - Make it a singleton so we don't have to pass the single reference around.
10708
10709 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10710
10711         * introspection/nm-ip4-config.xml: Implement.
10712
10713         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10714
10715         * libnm-glib/nm-ip4-config.c:
10716         * libnm-glib/nm-ip4-config.c: Implement.
10717
10718         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10719         securities. APs reference security.
10720
10721         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10722         be exported over DBUS.
10723
10724         * src/nm-device-802-3-ethernet.c: Ditto.
10725
10726         * src/NetworkManagerAP.c:
10727         * src/NetworkManagerAP.h:
10728                 - Convert to GObject, export over DBUS.
10729
10730         * src/nm-ip4-config.h:
10731         * src/nm-ip4-config.h:
10732                 - Convert to GObject, export over DBUS.
10733
10734 2007-02-12  Dan Williams  <dcbw@redhat.com>
10735
10736         Patch from Helmut Schaa <hschaa@suse.de>
10737
10738         * vpn-daemons/pptp/configure.in
10739           vpn-daemons/pptp/Makefile.am
10740           vpn-daemons/openvpn/configure.in
10741           vpn-daemons/openvpn/Makefile.am
10742           vpn-daemons/vpnc/configure.in
10743           vpn-daemons/vpnc/Makefile.am
10744                 - Add --without-gnome switch which disables building gnome bits
10745
10746 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10747
10748         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10749
10750         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10751
10752         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10753         'HwAddress'.
10754
10755         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10756
10757         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10758
10759         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10760
10761         * src/:
10762                 - Remove old low-level dbus interface implementations and replace them
10763                   with dbus-glib one.
10764
10765         * configure.in:
10766                 - Require dbus-glib >= 0.72.
10767                 - Plug in new sources to build.
10768
10769         * libnm-glib/:
10770                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10771                   to make it more convenient to use from GObject based programs.
10772
10773         * introspection/:
10774                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10775
10776 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10777
10778         * src/nm-device-802-11-wireless.c:
10779                 - Add "network-added" and "network-removed" signals.
10780                 - Use gobject boilerplate macros to define the GObject.
10781                 - Implement wireless device activation.
10782                 - Remove activation_failure_handler and activation_success_handler
10783                   and instead listen on state-changed signals and run the same code
10784                   from there.
10785
10786         * src/nm-device.c:
10787                 - Implment NMDeviceInterface::deactivate.
10788                 - Remove activation_failure_handler and activation_success_handler
10789                   virtual methods. Each device which is interested in these events
10790                   can just listen on it's state changed signals.
10791
10792         * src/NetworkManagerPolicy.c:
10793                 - Move a bit more NMData usage to NMManager.
10794                 - Remove activation scheduling bits.
10795                 - Add listeners for wireless device's "network-added" and
10796                   "network-removed" signals.
10797                 - Listen device changed signals and deactivate currently activated
10798                   device when another device start activating (for now).
10799                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10800                   for calling this, the policy code knows exactly when this should happen,
10801                   by listening on events from NMManager and NMDevices.
10802
10803         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10804         Implement.
10805
10806         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10807         method on the specific device instead of going to through policy code
10808         and determining the device type by passed in AP's existance.
10809
10810         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10811         abstract NMDevice deactivation.
10812
10813 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10814
10815         * src/NetworkManager.c:
10816                 - Set up all the shiny new managers.
10817
10818         * src/NetworkManagerPolicy.c:
10819                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10820                   classes to call into policy code, make the policy code kind of like
10821                   a supervisor that monitors what's going on and drives the whole NM.
10822
10823         * src/nm-hal-manager.c: 
10824         * src/nm-hal-manager.h:
10825                 - Collect all libhal code scattered around NM to this one class.
10826                 - Listen libhal and NMManager events and add/remove devices to
10827                   NMManager.
10828
10829         * src/nm-manager.c:
10830         * src/nm-manager.h:
10831                 - Implment a replacement for NMData. NMData is now officially
10832                 deprecated.
10833
10834 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10835
10836         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10837         * src/supplicant-manager/nm-supplicant-interface.h
10838         * src/supplicant-manager/nm-supplicant-interface.c
10839         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10840         argument to boolean from enum.
10841
10842         Make NMDevice abstract class, remove almost all references to it's
10843         subclasses (the last place gets removed with new policy manager). Add
10844         NMDeviceInterface (which NMDevice implements) so that when we have
10845         NMDevice exported over DBUS, there's a common NMDevice interface which
10846         all instances have, plus there's a device specific interface for each
10847         specific type.
10848         Remove functions (nm_device_is_802_3_ethernet) and
10849         (nm_device_is_802_11_wireless). There are already standard GObject macros
10850         for type safe checks.
10851         Use the updated supplican manager API.
10852
10853         * src/nm-device-interface.h: 
10854         * src/nm-device-interface.c: 
10855         * src/nm-call-store.h: 
10856         * src/nm-call-store.c: Implement.
10857
10858         * src/supplicant-manager/nm-supplicant-interface.c:
10859         * src/supplicant-manager/nm-supplicant-interface.h:
10860         * src/supplicant-manager/nm-supplicant-manager.c:
10861         * src/supplicant-manager/nm-supplicant-manager.h:
10862                 - Remove all private data type references from public header files.
10863                 - Remove all references to other NM classes, this class is just a
10864                   proxy between wpa_supplicant and NM so it doesn't have to know
10865                   any internals.
10866                 - Convert to dbus-glib bindings.
10867                 - Type safe checks for public methods' arguments.
10868                 - Store pending DBUS call ids to NMCallStore.
10869
10870         * src/supplicant-manager/nm-supplicant-config.c:
10871                 - Store config values in a GHashTable instead of GSList.
10872
10873         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10874
10875         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10876         singleton now.
10877
10878         * src/nm-device.c: Use the new DHCP manager API.
10879
10880         * src/nm-activation-request.c:
10881         * src/nm-activation-request.h:
10882                 - Remove all dhcp related properties and methods.
10883
10884         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10885
10886         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10887
10888         * src/dhcp-manager/nm-dhcp-manager.c:
10889         * src/dhcp-manager/nm-dhcp-manager.h:
10890                 - Convert it to GObject since we need to signal state changes.
10891                 - Remove all references to other NM classes, this class is one
10892                   of the lowest classes in our hierarchy.
10893                 - One less class to use NMActRequest.
10894                 - Make it singleton, one less user of NMData.
10895                 - Remove a couple of sleep() calls.
10896                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10897                   One less class to use the NM's custom tailored signal handlig.
10898
10899         * Makefile.am: Generate marshallers, add them to build.
10900
10901 2007-02-02  Dan Williams  <dcbw@redhat.com>
10902
10903         * configure.in
10904           gnome/Makefile.am
10905           nm-applet.desktop
10906           Makefile.am
10907                 - Remove last bits referencing gnome applet
10908
10909 2007-02-02  Dan Williams  <dcbw@redhat.com>
10910
10911         * src/vpn-manager/nm-vpn-service.c
10912                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10913                         and NBNS server addresses
10914
10915 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10916
10917         * src/nm-dbus-manager.c:
10918         * src/nm-dbus-manager.h:
10919                 - Convert all internal DBUS code to use dbus-glib bindings.
10920                 - Remove GObject properties, we don't need them here.
10921                 - Don't explicitly set things to NULL after freeing, glib is
10922                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10923                 - Make public API argument checks type safe.
10924                 - Remove unnecessary (and wrong) cast to GObject for the first
10925                   argument to g_signal_* calls - The first argument is a gpointer.
10926                 - Export DBusGConnection to other cool classes that (are going to)
10927                   use dbus-glib.
10928
10929 2007-01-26  Dan Williams  <dcbw@redhat.com>
10930
10931         * libnm-util/dbus-dict-helpers.c
10932           libnm-util/dbus-dict-helpers.h
10933                 - Coordinate style with wpa_supplicant version to minimize diff
10934                 - Add uint32 array support
10935                 - (nmu_dbus_dict_append_uint32_array): new function
10936                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10937                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10938                         version; allow adding string array elements individually
10939
10940         * test/libnm-util/test-dbus-dict-helpers.c
10941                 - Test uint32 arrays
10942
10943 2007-01-27  Jürg Billeter  <j@bitron.ch>
10944
10945         * src/backends/NetworkManagerPaldo.c
10946                 - (nm_system_update_dns): clear nscd hosts cache
10947
10948 2007-01-04  Dan Williams  <dcbw@redhat.com>
10949
10950         Threading removal related cleanups:
10951
10952         - Use the glib default main context.  Remove the device main context
10953                 member from NMDevice, and the main_context member from NMData.  Change
10954                 all the idle and timeout scheduler functions to use plain
10955                 g_idle_add() and g_timeout_add().
10956
10957         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10958                 takes an argument; fix that up too.
10959
10960         - Remove all locking, which is useless since we no longer use threads.  For
10961                 example, nm_get_device_by_iface_locked() has been removed.  The global
10962                 device list lock, the AP List lock, and all static locks in
10963                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10964                 in NetworkManagerUtils.c have also been removed.
10965
10966         - Other cleanups in spacing and code style
10967
10968 2007-01-01  Dan Williams  <dcbw@redhat.com>
10969
10970         Found by Bill Moss:
10971
10972         * src/supplicant-manager/nm-supplicant-interface.c
10973                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10974                         the supplicant interface wasn't already disconnected.  Always
10975                         call removeNetwork and disconnect unless the supplicant interface
10976                         is in the DISCONNECTED or INACTIVE state.
10977
10978 2006-12-28  Dan Williams  <dcbw@redhat.com>
10979
10980         Use a single thread for everything.  With the move to wpa_supplicant
10981         and communication over D-Bus, there's no reason for multiple threads.
10982         Almost all of the blocking code has been removed, with one exception in
10983         the DHCP manager and a few in the VPN manager.  This commit removes the
10984         per-device worker thread and fixes activation cancellation in the absence
10985         of threads.  Further removal of thread-related code would be removing
10986         any locking code (like the device list lock) and simplification of logic
10987         around areas of code or data structures that are currently locked.
10988
10989         * autoip.c
10990           dhcp-manager/nm-dhcp-manager.c 
10991           nm-device-802-11-wireless.c
10992           nm-device-802-3-ethernet.c
10993           nm-device.c
10994           nm-device.h
10995                 - Remove usage of multiple threads
10996
10997 2006-12-19  Dan Williams  <dcbw@redhat.com>
10998
10999         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11000         plus a few other patches from wpa_supplicant bugzilla.
11001
11002         * src/Makefile.am
11003           src/NetworkManagerPolicy.c
11004           src/NetworkManagerUtils.c
11005           src/NetworkManagerUtils.h
11006           src/nm-ap-security-leap.c
11007           src/nm-ap-security-wep.c
11008           src/nm-ap-security-wpa-eap.c
11009           src/nm-ap-security-wpa-psk.c
11010           src/nm-ap-security.c
11011           src/nm-ap-security.h
11012           src/nm-device-802-11-wireless.c
11013           src/nm-device-802-11-wireless.h
11014           src/supplicant-manager/nm-supplicant-config.c
11015           src/supplicant-manager/nm-supplicant-config.h
11016           src/supplicant-manager/nm-supplicant-interface.c
11017           src/supplicant-manager/nm-supplicant-interface.h
11018           src/supplicant-manager/nm-supplicant-marshal.list
11019           src/supplicant-manager/nm-supplicant-settings-verify.c
11020           src/supplicant-manager/nm-supplicant-settings-verify.h
11021                 - Move all connection management and association handling to
11022                         wpa_supplicant over dbus, rather than spawning a private copy
11023
11024 2006-12-19  Dan Williams  <dcbw@redhat.com>
11025
11026         * src/NetworkManagerPolicy.c
11027                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11028                         better locking of the device change check handler ID.  Incorrect
11029                         locking was causing lost device change requests
11030
11031 2006-12-18  Dan Williams  <dcbw@redhat.com>
11032
11033         * libnm-util/dbus-dict-helpers.c
11034                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11035                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
11036                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
11037
11038 2006-12-18  Dan Williams  <dcbw@redhat.com>
11039
11040         * gnome/libnm_glib/libnm_glib.c
11041                 - Change dbus_connection_close() -> dbus_connection_unref()
11042
11043 2006-12-11  Dan Williams  <dcbw@redhat.com>
11044
11045         * src/supplicant-manager/nm-supplicant-interface.c
11046                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11047                         wpa_supplicant interface state
11048                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11049                         state before transitioning to READY state
11050
11051 2006-12-04  Dan Williams  <dcbw@redhat.com>
11052
11053         * src/nm-device-802-11-wireless.c
11054                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11055                         odd length of ESSID returned from ieee80211 stack-based drivers
11056
11057 2006-12-04  Dan Williams  <dcbw@redhat.com>
11058
11059         * src/nm-device-802-11-wireless.c
11060                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11061                         IE handling blocks that cause mis-parsing of the IE
11062
11063 2006-12-04  Dan Williams  <dcbw@redhat.com>
11064
11065         * src/nm-device-802-11-wireless.c
11066                 - (init_supplicant_interface): new function; pull supplicant interface
11067                         setup code out into standalone function since it must be called from
11068                         two different places
11069                 - (real_init): sup_mgr is now in private object data; get and track
11070                         the supplicant manager object over the NMDevice subclass' lifetime
11071                         and register a signal handler for its state signals; only try to
11072                         initialize the supplicant interface if the supplicant manager is in
11073                         the IDLE state (and therefore is ready for requests)
11074                 - (request_wireless_scan): reschedule the scan request if (a) there is
11075                         no supplicant interface yet (meaning wpa_supplicant isn't running
11076                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11077                         for requests yet
11078                 - (supplicant_iface_connection_state_cb): new function; stub for
11079                         handling supplicant interface connection state signals
11080                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11081                         comes and goes
11082                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11083                         supplicant manager object that's being tracked starting with this
11084                         commit
11085
11086 2006-12-04  Dan Williams  <dcbw@redhat.com>
11087
11088         * src/supplicant-manager/nm-supplicant-interface.c
11089                 - (nm_supplicant_interface_set_property): track signal handler ID
11090                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11091
11092 2006-12-04  Dan Williams  <dcbw@redhat.com>
11093
11094         * src/supplicant-manager/nm-supplicant-interface.[ch]
11095                 - (nm_supplicant_interface_get_state): new function
11096
11097 2006-12-04  Dan Williams  <dcbw@redhat.com>
11098
11099         * src/supplicant-manager/nm-supplicant-interface.c
11100                 - (bssid_properties_cb): don't treat DBus errors as valid
11101                         scanned AP messages
11102
11103 2006-12-04  Dan Williams  <dcbw@redhat.com>
11104
11105         * src/supplicant-manager/nm-supplicant-interface.[ch]
11106                 - (nm_supplicant_interface_get_connection_state): new function
11107                 - define new supplicant connection states
11108                 - send a signal when the supplicant connection state changes
11109
11110 2006-12-03  Dan Williams  <dcbw@redhat.com>
11111
11112         * src/supplicant-manager/Makefile.am
11113           src/supplicant-manager/nm-supplicant-connection.h
11114           src/supplicant-manager/nm-supplicant-connection.c
11115           src/supplicant-manager/nm-supplicant-config.h
11116           src/supplicant-manager/nm-supplicant-config.c
11117           src/supplicant-manager/nm-supplicant-types.h
11118           src/supplicant-manager/nm-supplicant-interface.h
11119           src/supplicant-manager/nm-supplicant-interface.c
11120                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11121
11122 2006-12-03  Dan Williams  <dcbw@redhat.com>
11123
11124         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11125
11126         * po/POTFILES.in
11127           po/POTFILES.skip
11128                 - Move VPN-related translatables to .skip
11129
11130         * vpn-daemons/pptp/po/POTFILES.in
11131                 - Update with new translatables
11132
11133 2006-12-02  Dan Williams  <dcbw@redhat.com>
11134
11135         Patch from Christian Persch <chpe@gnome.org>
11136
11137         * gnome/applet/Makefile.am
11138           gnome/applet/applet-dbus-devices.c
11139           gnome/applet/applet-notifications.c
11140           gnome/applet/applet.c
11141           gnome/applet/applet.h
11142           gnome/applet/main.c
11143                 - Be a GtkStatusIcon on GTK+ >= 2.10
11144
11145 2006-12-02  Dan Williams  <dcbw@redhat.com>
11146
11147         * gnome/applet/applet.c
11148                 - (nma_update_info): fix two unecessary allocations
11149
11150 2006-12-02  Dan Williams  <dcbw@redhat.com>
11151
11152         Patch from Michael Biebl <biebl@teco.edu>
11153         * configure.in
11154           man/NetworkManager.1.in
11155           man/NetworkManagerDispatcher.1.in
11156           man/NetworkManager.8.in
11157           man/NetworkManagerDispatcher.8.in
11158                 - Add .SH NAME stanzas
11159                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11160
11161 2006-12-02  Dan Williams  <dcbw@redhat.com>
11162
11163         Patch from Christian Persch <chpe@gnome.org>
11164
11165         * configure.in
11166                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11167
11168 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11169
11170         Patch by Timo Hoenig <thoenig@suse.de>:
11171         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11172         DBUS-1.0.
11173
11174         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11175         we can't use the one from the main source directory.
11176
11177 2006-11-27  Dan Williams  <dcbw@redhat.com>
11178
11179         Patch from Christian Persch <chpe@gnome.org>
11180
11181         * gnome/applet/applet-dbus-devices.c
11182                 - (hal_info_product_cb): fix memleak; free duped string.
11183                         Gnome.org #379908
11184
11185 2006-11-27  Dan Williams  <dcbw@redhat.com>
11186
11187         Patch from Christian Persch <chpe@gnome.org>
11188
11189         * gnome/applet/menu-items.c
11190                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11191                         as gtk_progress_set_percentage is deprecated.  Should
11192                         work as far back as GTK+ 2.4.  Gnome.org #379780
11193
11194 2006-11-26  Dan Williams  <dcbw@redhat.com>
11195
11196         Scan using wpa_supplicant over DBus.
11197
11198         * src/nm-device-802-11-wireless.c
11199                 - remove wireless extensions netlink event handler bits
11200                         (wireless_event_helper, nm_device_802_11_wireless_event)
11201                 - remove wireless extensions scan event handler bits
11202                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11203                         hex2byte, hex2num, request_and_convert_scan_results,
11204                         free_process_scan_cb_data, scan_results_timeout,
11205                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11206                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11207                         and request scans from the supplicant interface rather than directly
11208                 - Move functionality of convert_scan_results() to cull_scan_list() and
11209                         supplicant_iface_scanned_ap_cb()
11210                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11211                         at the scan interval when the current scan has finished
11212                 - (supplicant_iface_state_cb): start scanning when the supplicant
11213                         interface enters the READY state, and stop scanning when it
11214                         enters the DOWN state
11215                 - (cull_scan_list): weed out old access points from the scan list
11216                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11217                         point into an NMAccessPoint and merge it into the device's scan list
11218
11219         * src/supplicant-manager/nm-supplicant-interface.c
11220           src/supplicant-manager/nm-supplicant-interface.h
11221                 - Add a new signal "scan-result" which is issued when the supplicant
11222                         notifies NM that a scan has completed
11223                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11224                         point found in the scan.  Called once for each access point that
11225                         the supplicant interface object receives from the supplicant as a
11226                         result of the "scanResults" method call
11227                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11228                         for the initial scan results
11229                 - (scan_request_cb): new function; send listeners the result
11230                         (success, error) of a wireless scan request
11231                 - (nm_supplicant_interface_request_scan): new function; ask the
11232                         supplicant to perform an immediate wireless scan
11233
11234 2006-11-25  Dan Williams  <dcbw@redhat.com>
11235
11236         * src/supplicant-manager/Makefile.am
11237                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11238                         add HAL cflags/includes and named-manager includes directory
11239
11240         * src/supplicant-manager/nm-supplicant-interface.h
11241                 - New state STARTING to handle transition from INIT to READY where
11242                         the addInterface pending call is still outstanding
11243
11244         * src/supplicant-manager/nm-supplicant-interface.c
11245                 - track pending calls differently since we may have more than one
11246                         going on at any given time
11247                 - request scan results from wpa_supplicant; but don't do it more often
11248                         than every 4 seconds.  Drivers that do background scanning
11249                         (like the 'ipw' drivers) send a continuous stream of scan completion
11250                         notifications, so we don't want to hammer the supplicant or dbus
11251                         with requests for all scan results every time we get a completion
11252                         notification.
11253
11254 2006-11-25  Dan Williams  <dcbw@redhat.com>
11255
11256         * src/supplicant-manager/nm-supplicant-types.h
11257                 - new file; move all supplicant manager object typedefs here for
11258                         #include sanity
11259
11260         * src/supplicant-manager/nm-supplicant-interface.c
11261           src/supplicant-manager/nm-supplicant-interface.h
11262                 - new file; an object that interfaces an NMDevice object to the
11263                         supplicant and handles signals from the supplicant.  This object
11264                         does all necessary DBus communication with wpa_supplicant.
11265
11266         * src/supplicant-manager/nm-supplicant-manager.c
11267           src/supplicant-manager/nm-supplicant-manager.h
11268                 - Actually do something.  Track the state of the wpa_supplicant service
11269                         and deal with its comings & goings.  Handle life events of
11270                         supplicant interfaces too.
11271                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11272
11273         * src/supplicant-manager/nm-supplicant-connection.h
11274                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11275
11276         * src/supplicant-manager/Makefile.am
11277                 - Add new files to build, and add libnm-util to includes
11278
11279         * src/nm-marshal.list
11280                 - New marshaler type: VOID:UINT,UINT
11281
11282         * src/nm-device-802-3-ethernet.c
11283                 - (real_init): grab a supplicant interface
11284                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11285                 - (supplicant_iface_state_cb): new function, stub for handling
11286                         supplicant interface state changes
11287
11288         * src/nm-device-802-11-wireless.c
11289                 - (real_init): grab a supplicant interface
11290                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11291                 - (supplicant_iface_state_cb): new function, stub for handling
11292                         supplicant interface state changes
11293
11294         * src/NetworkManager.c
11295                 - (main): create and keep the supplicant manager around for the lifetime
11296                         of NetworkManager
11297
11298         * src/Makefile.am
11299                 - Link to the supplicant manager sub-library and use the supplicant
11300                         manager includes
11301
11302 2006-11-25  Dan Williams  <dcbw@redhat.com>
11303
11304         Rework DBus manager signal handling to be more flexible.  Previously,
11305         only one signal handler could be registered for a particular interface.
11306         The DBus manager now reference counts DBus bus matches and allows multiple
11307         clients to register signal handlers for the same interface and sender.
11308
11309         * src/NetworkManager.c
11310                 - (main): track NMI signal handler ID and remove it when we quit
11311
11312         * src/NetworkManagerMain.h
11313                 - Keep track of NMI signal handler ID
11314
11315         * src/nm-dbus-manager.c
11316           src/nm-dbus-manager.h
11317                 - rework signal handling; each signal handler references one signal
11318                         match, but a signal match may be referenced by one or more
11319                         signal handlers.  Matches are refcounted and are destroyed when the
11320                         last signal handler that references the match is removed.  This is
11321                         necessary because two signal handlers may end up requiring the same
11322                         dbus bus match, so the match must live until the last signal handler
11323                         is destroyed (for example, with the wpa_supplicant network interface
11324                         dbus interface).
11325
11326         * src/dhcp-manager/nm-dhcp-manager.c
11327                 - (nm_dhcp_manager_new): track DHCP signal handler id
11328                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11329
11330         * src/vpn-manager/nm-vpn-service.c
11331                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11332                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11333
11334 2006-11-25  Dan Williams  <dcbw@redhat.com>
11335
11336         Suggested by Helmut Schaa <hschaa@suse.de>
11337
11338         * src/vpn-daemons/nm-vpn-service.c
11339                 - (supplicant_child_setup): new function
11340                 - (supplicant_exec): make child process use a new process group id
11341
11342         * src/nm-device-802-11-wireless.c
11343                 - (nm_vpn_service_child_setup): new function
11344                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11345                         process group id
11346
11347 2006-11-19  Dan Williams  <dcbw@redhat.com>
11348
11349         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11350         * gnome/vpn-properties/nm-vpn-properties.c
11351                 - clean up after renamed VPN connection
11352
11353 2006-11-19  Dan Williams  <dcbw@redhat.com>
11354
11355         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11356         * gnome/applet/applet-dbus-vpn.c
11357                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11358
11359         * gnome/vpn-properties/nm-vpn-properties.c
11360                 - (init_app): sort VPN connections
11361
11362 2006-11-09  Dan Williams  <dcbw@redhat.com>
11363
11364         * src/NetworkManagerAPList.c
11365                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11366                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11367                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11368                 broke hidden SSID matching.  Found by Bill Moss.
11369
11370 2006-10-25  Dan Williams  <dcbw@redhat.com>
11371
11372         * src/nm-dbus-nm.c
11373                 - (nm_dbus_nm_set_active_device): return an empty success message on
11374                         success, rather than falling through to the error case.
11375
11376 2006-10-25  Dan Williams  <dcbw@redhat.com>
11377
11378         * src/NetworkManagerUtils.c
11379                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11380                         "SCAN" command
11381
11382 2006-10-24  Dan Williams  <dcbw@redhat.com>
11383
11384         Reduce the number of times the Gnome applet wakes up, especially when
11385         it's doing absolutely nothing and is hidden.  Initial patch by
11386         Chris Aillon.
11387
11388         * gnome/applet/applet-dbus.c
11389                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11390                         kill the redraw timeout.  When NM starts up, start the redraw
11391                         timeout.  Also, if we get kicked off the bus for some reason,
11392                         start the reconnection timeout if one's not already running.
11393                 - (nma_dbus_init): better handling of error conditions, don't leak
11394                         a half-initialized dbus connection
11395                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11396                         the applet's data, just call nm_dbus_init_helper()
11397                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11398                         timeout that calls nma_dbus_connection_watcher()
11399                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11400                         reconnection timeout, and don't start the reconnection timeout
11401                         unconditionally anymore
11402
11403         * gnome/applet/applet-dbus.h
11404                 - Expose nma_start_dbus_connection_watch()
11405
11406         * gnome/applet/applet.c
11407                 - (nma_update_state): no longer static, called from applet-dbus.c for
11408                         immediate UI updates on certain events
11409                 - (nma_set_running): new function; take over setting applet->running,
11410                         when not running (ie, NM is not active), don't activate the redraw
11411                         timeout because we're not showing the applet anyway.  When we are
11412                         running (ie, NM is active), and only when we're running, start the
11413                         redraw timeout.
11414                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11415                         kill any reconnection timeout
11416                 - (nma_get_instance): move one-off dbus initialization code here since
11417                         nm_dbus_init_helper() gets called more than once, possibly by the
11418                         reconnection timeout function too.  And, when we start up, if we
11419                         can't get a connection to the bus, start the reconnection timeout.
11420                         But don't start the redraw timeout yet, only do that when we get
11421                         NM's state and find out if it's running or not.
11422
11423         * gnome/applet/applet.h
11424                 - Add the reconnection GSource ID
11425                 - Add prototypes for nma_set_running() and the no-longer-static
11426                         nma_update_state()
11427
11428 2006-10-24  Dan Williams  <dcbw@redhat.com>
11429
11430         * src/vpn-daemons/nm-dbus-vpnc.c
11431                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11432                         pending call tracker
11433                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11434                         pending call tracker; register one-vpn-connection update pending
11435                         call in pending call tracker
11436                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11437                         update pending call in pending call tracker
11438                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11439                         update pending call in pending call tracker; don't block waiting
11440                         for call to return
11441
11442 2006-10-19  Robert Love  <rml@novell.com>
11443
11444         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11445           refresh the cache.
11446
11447 2006-10-14  Dan Williams  <dcbw@redhat.com>
11448
11449         * src/dhcp-manager/nm-dhcp-manager.c
11450                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11451                 the dbus connection and the device object path rather than
11452                 constructing it inside both functions.  Saves a bit of memory
11453                 and clarifies a failure path.
11454                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11455                 and allocate device path here rather than each of the two
11456                 functions above.
11457
11458 2006-10-13  Dan Williams  <dcbw@redhat.com>
11459
11460         * src/NetworkManager.c
11461                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11462                 this somehow droppout in the refactor
11463
11464 2006-10-13  Dan Williams  <dcbw@redhat.com>
11465
11466         * Huge DBus refactor:
11467                 - Create a "DBus Manager" object which manages the connection and
11468                 sends signals on NameOwnerChanged and connection/disconnection events,
11469                 handles reconnection to the bus if NM gets kicked off, and abstracts
11470                 signal handling
11471                 - Remove DBusConnection members from places where they are no
11472                 longer needed due to the refactor, like the dbus-connection
11473                 property of the named manager, and from NMData
11474                 - Reformats a bunch of the code to gnome style
11475                 (8-space tabs, braces on same line as statement, 80-col width).
11476                 Consider it open season to reformat any bits to gnome style.
11477                 style that aren't already.
11478
11479 2006-10-13  Dan Williams  <dcbw@redhat.com>
11480
11481         * src/supplicant-manager/Makefile.am
11482                 - Add new files
11483
11484         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11485                 - Make it a minimal GObject
11486
11487         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11488                 - Verify settings destined for wpa_supplicant
11489
11490         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11491                 - Minimal GObject to track wpa_supplicant controlled device
11492                 connections
11493
11494 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11495
11496         * gnome/applet/applet.c: (nma_update_info),
11497         (nma_act_stage_to_pixbuf), (nma_update_state):
11498         Mark missing strings for translation. Fixes bug #343306.
11499
11500 2006-10-01  Dan Williams  <dcbw@redhat.com>
11501
11502         * src/vpn-manager/nm-vpn-manager.c
11503                 - (nm_vpn_manager_load_services): split and clean up
11504                 for readability and correctness.  Restrict VPN service
11505                 files to ending in ".name", as was meant from the
11506                 beginning (but not coded in).  Better error reporting.
11507
11508 2006-10-01  Dan Williams  <dcbw@redhat.com>
11509
11510         * utils/nm-utils.h
11511                 - Clean up formatting of debug/info/warning log messages
11512
11513 2006-09-27  Robert Love  <rml@novell.com>
11514
11515         Patch by Tambet Ingo <tambet@ximian.com>:
11516         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11517           actually work.
11518
11519 2006-09-07  Dan Williams <dcbw@redhat.com>
11520
11521         * test/Makefile.am
11522           test/libnm-util/Makefile.am
11523           test/nm-supplicant-test.c
11524                 - Add test program emulating the way NM drives wpa_supplicant
11525                 to help debug supplicant issues
11526
11527 2006-08-24  Dan Williams <dcbw@redhat.com>
11528
11529         * configure.in
11530           src/Makefile.am
11531           src/supplicant-manager/Makefile.am
11532           src/supplicant-manager/nm-supplicant-manager.c
11533           src/supplicant-manager/nm-supplicant-manager.h
11534                 - Add skeleton bits of the wpa_supplicant manager
11535
11536 2006-08-24  Dan Williams <dcbw@redhat.com>
11537
11538         Patch from Ed Catmur:
11539         * src/NetworkManagerUtils.c
11540                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11541                 if netmask is 0 (Gnome #352634)
11542
11543 2006-08-17  Robert Love  <rml@novell.com>
11544
11545         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11546           package is now DBUS-enabled and listens for the NM signals.
11547
11548 2006-08-14  Dan Williams  <dcbw@redhat.com>
11549
11550         * Patch from Christian Persch <chpe gnome org>
11551         * configure.in
11552           po/LINGUAS
11553           vpn-daemons/openvpn/po/LINGUAS
11554           vpn-daemons/openvpn/configure.in
11555           vpn-daemons/pptp/po/LINGUAS
11556           vpn-daemons/pptp/configure.in
11557           vpn-daemons/vpnc/po/LINGUAS
11558           vpn-daemons/vpnc/configure.in
11559                 - Convert to LINGUAS method so translators don't have to modify
11560                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11561                 0.35 or higher
11562
11563 2006-08-14  Dan Williams  <dcbw@redhat.com>
11564
11565         Patch from Alex Smith <alex.extreme2@gmail.com>
11566         * configure.in
11567           src/backends/Makefile.am
11568           src/backends/NetworkManagerFrugalware.c
11569                 - Add support for Frugalware
11570
11571 2006-08-13  Dan Williams  <dcbw@redhat.com>
11572
11573         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11574         * src/nm-device-802-11-wireless.c
11575                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11576                 Gnome #346875
11577
11578 2006-08-13  Dan Williams  <dcbw@redhat.com>
11579
11580         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11581         * src/nm-ap-security.c
11582           src/nm-ap-security.h
11583                 - Add authentication_required bits for subclasses to specify whether
11584                 or not real authentication is required for connections, i.e. whether
11585                 the AP rejects us when an encryption key is wrong or not.
11586
11587         * src/nm-ap-security-wep.c
11588           src/nm-ap-security-wpa-eap.c
11589           src/nm-ap-security-wpa-psk.c
11590           src/nm-ap-security-leap.c
11591                 - Implement authentication_required appropriately for each method
11592
11593         * src/nm-device-802-11-wireless.c
11594                 - Be smarter about when to request a key; for example, using a wrong key
11595                 in WEP shared key mode previously just timed out and did not request
11596                 a new key
11597
11598 2006-08-13  Dan Williams  <dcbw@redhat.com>
11599
11600         * gnome/libnm_glib/libnm_glib.c
11601                 - dbus_connection_disconnect() -> dbus_connection_close() for
11602                 dbus >= 0.90
11603
11604 2006-08-07  Dan Williams  <dcbw@redhat.com>
11605
11606         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11607         * src/NetworkManagerSystem.c
11608                 - Respect specified MTU.  Gnome #344967
11609
11610 2006-08-07  Dan Williams  <dcbw@redhat.com>
11611
11612         * src/vpn-manager/nm-vpn-service.c
11613                 - Simplify print_vpn_config() arguments
11614
11615         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11616         * src/vpn-manager/Makefile.am
11617           src/vpn-manager/nm-vpn-service.c
11618                 - Add new API for passing VPN config options as a dict. Gnome #344967
11619
11620 2006-08-06  Dan Williams  <dcbw@redhat.com>
11621
11622         * gnome/applet/applet-dbus-devices.c
11623           gnome/applet/applet-dbus-vpn.c
11624           gnome/applet/applet-dbus.c
11625           gnome/applet/applet-dbus.h
11626           src/nm-dbus-nmi.c
11627           utils/nm-utils.c
11628           utils/nm-utils.h
11629                 - Make pending call tracking code generic,
11630                 so we can use it in NM as well as the applet
11631
11632 2006-08-06  Dan Williams  <dcbw@redhat.com>
11633
11634         * src/nm-activation-request.c
11635                 - Refcount pending call objects
11636
11637 2006-08-06  Dan Williams  <dcbw@redhat.com>
11638
11639         Patch from Christan Chiesa <christanc@gmail.com>
11640         * configure.in
11641                 - Tell sha1.c to use bigendian mode on PPC
11642
11643 2006-08-04  Robert Love  <rml@novell.com>
11644
11645         Glib Memory Slices!
11646         * configure.in: Require glib 2.10 or later.
11647         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11648           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11649           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11650           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11651           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11652           Memory Slices are the greatest thing since bread slices.
11653         * src/NetworkManagerAP.c: Also, fix memory leak.
11654
11655 2006-08-01  Robert Love  <rml@novell.com>
11656
11657         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11658
11659 2006-07-31  Robert Love  <rml@novell.com>
11660
11661         * src/backends/interface_parser.c: Declarations must begin the block.
11662
11663 2006-07-24  Dan Williams  <dcbw@redhat.com>
11664
11665         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11666         * src/backends/Makefile.am
11667           src/backends/NetworkManagerArch.c
11668           src/backends/NetworkManagerDebian.c
11669           src/backends/NetworkManagerGeneric.c
11670           src/backends/NetworkManagerGeneric.h
11671           src/backends/NetworkManagerGentoo.c
11672           src/backends/NetworkManagerPaldo.c
11673           src/backends/NetworkManagerRedHat.c
11674           src/backends/NetworkManagerSlackware.c
11675           src/backends/NetworkManagerSuSE.c
11676                 - Genericize common backend functions
11677
11678 2006-07-18  Robert Love  <rml@novell.com>
11679
11680         * configure.in: Add "--with-notify" option to allow disabling of
11681           libnotify support.
11682
11683 2006-07-13  Dan Williams  <dcbw@redhat.com>
11684
11685         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11686         * gnome/applet/applet.glade
11687           gnome/applet/Makefile.am
11688           gnome/applet/nm-gconf-wso.c
11689           gnome/applet/nm-gconf-wso-leap.c
11690           gnome/applet/nm-gconf-wso-leap.h
11691           gnome/applet/wireless-security-manager.c
11692           gnome/applet/wso-leap.c
11693           gnome/applet/wso-leap.h
11694           include/NetworkManager.h
11695           libnm-util/dbus-helpers.c
11696           libnm-util/dbus-helpers.h
11697           src/Makefile.am
11698           src/NetworkManagerAP.c
11699           src/nm-ap-security.c
11700           src/nm-ap-security-leap.c
11701           src/nm-ap-security-leap.h
11702                 - Add LEAP authentication support
11703
11704 2006-07-13  Dan Williams  <dcbw@redhat.com>
11705
11706         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11707         * configure.in
11708           src/backends/NetworkManagerArch.c
11709           src/backends/NetworkManagerDebian.c
11710           src/backends/NetworkManagerGentoo.c
11711           src/backends/NetworkManagerPaldo.c
11712           src/backends/NetworkManagerRedHat.c
11713           src/backends/NetworkManagerSlackware.c
11714           src/backends/NetworkManagerSuSE.c
11715                 - Convert hardcoding of 'ip' path to configure-time
11716                         detected one
11717
11718 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11719
11720         * configure.in: added ru to ALL_LINGUAS
11721
11722 2006-07-10  Dan Williams  <dcbw@redhat.com>
11723
11724         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11725         * src/nm-device.c
11726                 - (real_act_stage3_ip_config_start): don't infinite loop when
11727                         dhcdbd isn't running (Gnome #346845)
11728
11729 2006-07-09  Dan Williams  <dcbw@redhat.com>
11730
11731         * gnome/applet/applet.c
11732                 - (nma_destroy): don't pass NULL to notify_notification_close
11733                         (RH #197917)
11734
11735 2006-07-09  Dan Williams  <dcbw@redhat.com>
11736
11737         * gnome/applet/applet.c
11738                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11739
11740 2006-07-04  Tor Krill  <tor@krill.nu>
11741
11742         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11743         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11744         (nm_system_restart_mdns_responder), (ArchReadConfig),
11745         (nm_system_device_get_system_config):
11746                 - Explicitly check for DHCP configuration
11747                 - Check if daemons are running before starting them
11748
11749 2006-06-25  Dan Williams  <dcbw@redhat.com>
11750
11751         * libnm-util/dbus-dict-helpers.[ch]
11752           test/libnm-util/test-dbus-dict-helpers.c
11753                 - Add string array support
11754
11755 2006-06-24  Dan Williams  <dcbw@redhat.com>
11756
11757         * src/dhcp-manager/nm-dhcp-manager.c
11758                 - (nm_dhcp_manager_process_signal): clean up spacing
11759
11760 2006-06-21  Dan Williams  <dcbw@redhat.com>
11761
11762         * src/nm-dbus-device.c
11763                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11764                         through dbus
11765
11766 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11767
11768         * configure.in: Added 'lv' to ALL_LINGUAS
11769
11770 2006-06-19  Dan Williams  <dcbw@redhat.com>
11771
11772         * src/NetworkManagerAP.c
11773                 - Clarify usage of user_created
11774
11775         * src/nm-ap-security-wep.c
11776           src/nm-ap-security-wpa-eap.c
11777           src/nm-ap-security-wpa-psk.c
11778           src/nm-ap-security.c
11779           src/nm-ap-security.h
11780                 - s/user_created/adhoc, because we really do mean adhoc
11781
11782         Patch from Bernard Blackham <bernard@blackham.com.au>
11783         * src/nm-device-802-11-wireless.c         
11784                 - (supplicant_send_network_config): instead of user_created,
11785                         use adhoc, and do AP_SCAN 2 for adhoc networks
11786
11787 2006-06-18  Robert Love  <rml@novell.com>
11788
11789         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11790           we have a value to set.  Gconf generates a warning if `val' is NULL.
11791         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11792           unless we actually received a valid private key file passphrase or
11793           password.  Otherwise, we don't know to later ask the applet to pull
11794           the key from the keyring.
11795
11796 2006-06-17  Dan Williams  <dcbw@redhat.com>
11797
11798         * libnm-util/dbus-dict-helpers.[ch]
11799           test/libnm-util/test-dbus-dict-helpers.c
11800                 - Fixes for zero-length byte arrays
11801                 - Replace return values of 0 with FALSE for clarity
11802                 - Test zero-length byte arrays
11803
11804 2006-06-17  Dan Williams  <dcbw@redhat.com>
11805
11806         * libnm-util/dbus-dict-helpers.[ch]
11807           test/libnm-util/test-dbus-dict-helpers.c
11808                 - Add helpers for byte arrays
11809                 - Rework bits of the testcase
11810
11811 2006-06-16  Dan Williams  <dcbw@redhat.com>
11812
11813         * libnm-util/Makefile.am
11814         * libnm-util/dbus-dict-helpers.[ch]
11815                 - Add some helpers to take the pain out of using dict types in
11816                         dbus.
11817
11818         * test/libnm-util/Makefile.am
11819         * test/libnm-util/test-dbus-dict-helpers.c
11820                 - Test cases for the dict helper functions
11821
11822 2006-06-15  Robert Love  <rml@novell.com>
11823
11824         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11825           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11826           if there is no key to pass.
11827         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11828           receiving a non-NULL key.
11829
11830 2006-06-14  Robert Love  <rml@novell.com>
11831
11832         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11833           copy the strings.
11834
11835
11836 2006-06-14  Dan Williams  <dcbw@redhat.com>
11837
11838         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11839         * src/nm-device-802-11-wireless.c
11840                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11841                         or ones where the driver is unknown
11842                 - (supplicant_exec): don't wait for supplicant startup here
11843                 - (supplicant_interface_init): finer grained polling for supplicant
11844                         startup
11845
11846 2006-06-13  Robert Love  <rml@novell.com>
11847
11848         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11849           if it is currently set to TRUE.  Otherwise, we will reset the value
11850           when we connect normally.
11851         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11852           the old BSSID is valid, too.  The recently added ESSID check may not be
11853           sufficient (we can remove it?).  What we really want to catch is the
11854           case of going from all-zeros to the BSSID of some other network, which
11855           happens on failure.
11856
11857 2006-06-09  Dan Williams  <dcbw@redhat.com>
11858
11859         * src/NetworkManagerSystem.[ch]
11860                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11861                         it was unused and pointless
11862                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11863                         fix for set_up_down_with_iface change
11864
11865         * src/vpn-manager/nm-vpn-connection.c
11866                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11867
11868         * src/backends/NetworkManagerPaldo.c
11869           src/backends/NetworkManagerRedHat.c
11870           src/backends/NetworkManagerSuSE.c
11871           src/backends/NetworkManagerArch.c
11872           src/backends/NetworkManagerDebian.c
11873           src/backends/NetworkManagerGentoo.c
11874                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11875                         appropriate
11876                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11877                         where appropriate
11878
11879 2006-06-09  Dan Williams  <dcbw@redhat.com>
11880
11881         Patch from Peter Jones:
11882         * src/nm-device-802-11-wireless.c
11883                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11884                         SSID hasn't changed from what we expect before automatically
11885                         updating the saved BSSID from a new AP
11886
11887 2006-06-08  Robert Love  <rml@novell.com>
11888
11889         Add 'fallback' support.  NetworkManager will attempt to brute-force
11890         connect to networks marked as fallback if there are no better wireless
11891         connections available.  This is useful as a method of last resort, to
11892         work around driver problems, and for use with hidden networks.
11893         * gnome/applet/applet-dbus-devices.c,
11894           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11895         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11896           pass it on via DBUS.
11897         * gnome/applet/applet.c: No fallback by default.
11898         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11899           Update other-network-dialog to add UI checkbox toggling fallback.
11900         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11901           propery from AP object.  Add "fallback" property to AP object.
11902         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11903         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11904         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11905           separate function.  Add get_best_fallback_ap() for returning an AP
11906           on which to attempt fallback.
11907         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11908         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11909
11910 2006-06-07  Robert Love  <rml@novell.com>
11911
11912         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11913           checked that the return type was GCONF_VALUE_STRING, not the correct
11914           GCONF_VALUE_BOOL, and thus it never worked.
11915         * src/NetworkManagerAPList.c: Before concluding that two networks are
11916           identical based on their BSSID, make sure that the BSSID in question
11917           is actually valid.  Specifically, an empty or all zero BSSID does not
11918           cut it.
11919         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11920           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11921           similar invariant clean up.
11922
11923 2006-06-02  Robert Love  <rml@novell.com>
11924
11925         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11926
11927 2006-05-28  Dan Williams  <dcbw@redhat.com>
11928
11929         * gnome/applet/applet.glade
11930           gnome/vpn-properties/nm-vpn-properties.glade
11931                 - Set window icons on dialogs  (Gnome.org #333420)
11932
11933 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11934
11935         * gnome/vpn-properties/nm-vpn-properties.glade:
11936         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11937         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11938         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11939                 - Make the VPN properties pages prettier and more HIG
11940                   compliant. Gnome Bug #336913.
11941
11942 2006-05-28  Dan Williams  <dcbw@redhat.com>
11943
11944         Patch from Christian Persch <chpe@gnome.org>
11945         * gnome/vpn-properties/nm-vpn-properties.c
11946         * gnome/vpn-properties/nm-vpn-properties.glade
11947                 - HIG-ification love  (Gnome.org #336846)
11948
11949 2006-05-28  Dan Williams  <dcbw@redhat.com>
11950
11951         Patch from Christian Persch <chpe@gnome.org>
11952         * configure.in
11953           gnome/vpn-properties/nm-vpn-properties.c
11954                 - (main): Fix option parsing.  Gnome.org #336847
11955
11956 2006-05-28  Dan Williams  <dcbw@redhat.com>
11957
11958         * gnome/vpn-properties/nm-vpn-properties.c
11959                 - (find_vpn_ui_by_service_name): protect against NULL service names
11960                 - (update_edit_del_sensitivity): protect against NULL service names
11961                         Gnome.org #341306
11962
11963 2006-05-28  Dan Williams  <dcbw@redhat.com>
11964
11965         Patch from Chris Fuller <crf@grandecom.net>:
11966         * src/nm-device-802-11-wireless.c
11967                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11968                         don't dispose of wireless-specific stuff unless it is actually
11969                         initialized.  Gnome.org #341263
11970
11971 2006-05-28  Dan Williams  <dcbw@redhat.com>
11972
11973         * src/NetworkManagerPolicy.c
11974                 - (nm_policy_device_change_check): don't switch devices if the "best"
11975                         AP is essentially the same as the current activation request, but
11976                         the current activation request isn't done activating yet.  Fixes
11977                         multiple requests for keyring password on startup for Gnome applet.
11978                         Gnome.org #341297
11979
11980 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11981
11982         * src/NetworkManager.c: use GOptions instead of getopt
11983         * configure.in: bump glib required version to >= 2.6 for GOption
11984           support
11985
11986 2006-05-25  Robert Love  <rml@novell.com>
11987
11988         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11989           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11990           instead of dumping ifdef's throughout the code.
11991         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11992           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11993           use nm_ioctl_info() in lieu.
11994
11995 2006-05-25  Robert Love  <rml@novell.com>
11996
11997         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11998         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11999           not using gcrypt.  Otherwise, we get a linker error.
12000
12001 2006-05-25  Robert Love  <rml@novell.com>
12002
12003         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12004         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12005           configure flag to disable building of the GNOME-based applet.
12006
12007 2006-05-25  Robert Love  <rml@novell.com>
12008
12009         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12010           parameter from link, because it shadows a global variable with some
12011           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
12012           should never have exported to the entire system a common four letter
12013           word.  But we here at NetworkManager are team players.  Fixes
12014           GNOME bug #336532.
12015
12016 2006-05-25  Arangel Angov <ufo@linux.net.mk>
12017
12018         * configure.in: Added mk.po, Macedonian translation.
12019
12020 2006-05-24  Robert Love  <rml@novell.com>
12021
12022         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12023           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12024           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12025
12026 2006-05-24  Robert Love  <rml@novell.com>
12027
12028         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12029           libnm-util/Makefile.am, src/Makefile.am,
12030           vpn-daemons/openvpn/auth-dialog/Makefile.am,
12031           vpn-daemons/openvpn/properties/Makefile.am,
12032           vpn-daemons/pptp/auth-dialog/Makefile.am,
12033           vpn-daemons/pptp/properties/Makefile.am,
12034           vpn-daemons/vpnc/auth-dialog/Makefile.am,
12035           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12036           user passed for --datadir, if anything, when setting the GNOME locale
12037           directory.  It should be a function of the specified datadir and not
12038           the prefix.
12039
12040 2006-05-24  Robert Love  <rml@novell.com>
12041
12042         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12043           src/NetworkManager.c: Take care to call bindtextdomain with the
12044           location of msgid files.
12045         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12046           files.
12047
12048 2006-05-22  Robert Love  <rml@novell.com>
12049
12050         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12051           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12052           99% of the time there is a real problem with wireless, and a
12053           seemingly successful connection via Zeroconf just confuses the user.
12054           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12055
12056 2006-05-22  Robert Love  <rml@novell.com>
12057
12058         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12059           autofs on interface up if NIS is configured.  On interface down, do
12060           nothing.
12061
12062 2006-05-22  Robert Love  <rml@novell.com>
12063
12064         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12065           to avoid calling g_object_unref() on stale pointers on error in
12066           nma_icons_free().  This happens because we short-circuit loaded the
12067           icons on the first failure but then free all icons.  Normally we have
12068           no issue because the icons were zero'ed out malloc, but we have stale
12069           pointer data after nma_icon_theme_changed().
12070         * gnome/applet/main.c: Return error code if nma_new() failed.
12071
12072 2060-05-21  Dan Williams  <dcbw@redhat.com>
12073
12074         * initscript/NetworkManager.in
12075                 - Ensure both dhcdbd and named are started before NM
12076
12077 2006-05-21  Dan Williams  <dcbw@redhat.com>
12078
12079         * configure.in
12080                 - Bump version to 0.7 to signify we are in 0.7 development
12081
12082 2006-05-21  Dan Williams  <dcbw@redhat.com>
12083
12084         Patch from Adam Schreiber <sadam@clemson.edu>
12085         * gnome/vpn-properties/nm-vpn-properties.c
12086                 - (main): correct Gnome program name  (gnome.org #342498)
12087
12088 2006-05-21  Dan Williams  <dcbw@redhat.com>
12089
12090         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12091
12092         * src/NetworkManagerDbus.[ch]
12093                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12094                         clarify that function's argument should be an escaped dbus object
12095                         path, and look for path segment end before returning a match
12096         * src/nm-dbus-nm.c:
12097                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12098
12099 2006-05-17  Robert Love  <rml@novell.com>
12100
12101         Functionality to differentiate Ad-Hoc networks from infrastructure
12102         networks in the applet, by displaying a special icon:
12103         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12104         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12105         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12106           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12107           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12108           networks, encrypted or not.
12109         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12110           accessor functions to get and set the mode of a given network,
12111           wireless_network_get_mode() and wireless_network_set_mode().
12112
12113 2006-05-17  Robert Love  <rml@novell.com>
12114
12115         Functionality to automatically add BSSIDs to the allowed-MAC list as
12116         one roams from access point to access point on a given network:
12117         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12118           helper function to compare two ether_addr structures and return TRUE
12119           if they contain the same MAC address.
12120         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12121           prototype.
12122         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12123           stored with the current AP.  If the BSSID has indeed changed, we
12124           send it out to the applet, allowing the allowed-MAC list to grow
12125           automatically in response to roaming.
12126
12127 2006-05-16  Robert Love  <rml@novell.com>
12128
12129         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12130           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12131
12132 2006-05-13  Dan Williams  <dcbw@redhat.com>
12133
12134         * src/nm-device-802-3-ethernet.c
12135                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12136                         carrier detect (Debian bug #366373)
12137
12138 2006-05-11  Dan Williams  <dcbw@redhat.com>
12139
12140         Patch from Michael Biebl <biebl@teco.edu>
12141         * src/backends/NetworkManagerDebian.c
12142                 - Debian backend fixups
12143
12144 2006-05-10  Robert Love  <rml@novell.com>
12145
12146         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12147
12148 2006-05-09  Robert Love  <rml@novell.com>
12149
12150         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12151           private certificate passphrase, if any, in the GNOME Keyring.
12152         * libnm-utils/dbus-helpers.c: Update.
12153
12154 2006-05-05  Dan Williams  <dcbw@redhat.com>
12155
12156         * src/nm-device-802-11-wireless.c
12157                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12158                         nm_device_802_11_wireless_disable_encryption() since that's all
12159                         we use it for anymore; we don't ever set WEP keys ourselves.
12160                 - (real_deactivate_quickly): reset SSID and encryption keys
12161                 - (real_deactivate): move SSID and encryption key reset to
12162                         real_deactivate_quickly(), which gets run before us anyway
12163
12164 2006-05-05  Robert Love  <rml@novell.com>
12165
12166         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12167           root has a wacky default of its own (or, more common, a user has a
12168           bad umask and uses su/sudo to restart NetworkManager).  Anything
12169           other than 0022 does not do what we want with, for example,
12170           resolv.conf.  This problem is amplified by our judicious use of
12171           fopen(), which uses mode 0666 -- implying that the only way to get
12172           the permissions we want is with a umask of 0022.
12173
12174 2006-05-05  Dan Williams  <dcbw@redhat.com>
12175
12176         * gnome/libnm_glib/libnm_glib.c
12177                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12178                         to reconnect; instead wait a bit more with each reconnect attempt
12179                         up to a max of one minute.
12180
12181 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12182
12183         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12184           the WirelessNetwork structure using the proper function instead of
12185           just casting it directly to (const char *) (gnome.org #336991)
12186
12187 2006-05-03  Robert Love  <rml@novell.com>
12188
12189         * src/backends/NetworkManagerSuSE.c: Respect the variable
12190           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12191           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12192           to dynamically update /etc/resolv.conf.
12193
12194 2006-05-02  Peter Jones  <pjones@redhat.com>
12195
12196         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12197
12198 2006-05-02  Robert Love  <rml@novell.com>
12199
12200         Patch by Timo Hoenig;
12201         * tests/nm-online.c: Print pretty status indicator as timeout winds
12202           down.  Also fix possible race between DBUS startup and failure
12203           return.
12204
12205 2006-05-01  Robert Love  <rml@novell.com>
12206
12207         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12208           empty, too.
12209
12210 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12211
12212         * src/nm-device.c (discover_device_type): Actually use the hal
12213         device type instead of ioctl poking
12214
12215 2006-04-26  Robert Love  <rml@novell.com>
12216
12217         * tests/nm-online.c: New file.  Simple utility that returns exit status
12218           noting whether the connection is offline or online.  If offline on
12219           start, it waits 30 seconds (or a command-line given value) for an
12220           online signal.  If it times out, it again returns offline.  This is
12221           useful for scripts that want to wait for network connections.
12222
12223 2006-04-25  Robert Love  <rml@novell.com>
12224
12225         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12226           key mode (the authentication algorithm), e.g. open or shared, when we
12227           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12228           only shared was broken.  If the user specified a shared key, set it
12229           explicitly, otherwise let wpa_supplicant go with the default.
12230
12231 2006-04-24  Dan Williams  <dcbw@redhat.com>
12232
12233         * src/nm-device-802-11-wireless.c
12234                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12235
12236 2006-04-24  Dan Williams  <dcbw@redhat.com>
12237
12238         Commit the async scanning patch
12239
12240         * src/nm-device-802-11-wireless.c
12241                 - get rid of scan_mutex
12242                 - (wireless_event_helper): act on wireless scan events
12243                 - (real_start): schedule a pending scan
12244                 - (link_to_specific_ap): fake the link to the AP during a scan
12245                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12246                         strength during scans
12247                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12248                         nm_device_set_bitrate): unused with new scanning code, disable
12249                 - (nm_device_wireless_schedule_scan): removed
12250                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12251                 - (request_and_convert_scan_results): new function; retrieve scan
12252                         results from the driver and schedule the processing function
12253                 - (scan_results_timeout): timeout triggered when card doesn't send
12254                         a scan results wireless event during a certain interval
12255                 - (schedule_scan_results_timeout): new function; schedule the scan
12256                         results timeout
12257                 - (cancel_scan_results_timeout): new function; cancel the scan
12258                         results timeout
12259                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12260                         to do the scanning.  Otherwise, just request a scan but don't
12261                         grab results here; instead schedule a timeout for scan results and
12262                         let netlink notify us of scan completion events
12263                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12264                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12265                 - (supplicant_status_cb): ignore disconnect events while scanning
12266                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12267                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12268                         timeouts
12269                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12270
12271 2006-04-24  Dan Williams  <dcbw@redhat.com>
12272
12273         * gnome/applet/applet-dbus.c
12274                 - Disable the pending call debug stuff, seems under control now
12275
12276 2006-04-20  Robert Love  <rml@novell.com>
12277
12278         Fix bug where hidden ESSID's would not show up in the applet, even
12279         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12280         because nm_policy_device_list_update_from_allowed_list() would merge
12281         the data, putting a name to the hidden networks, but never notify NMI
12282         of the changes.  Simple fix is to invoke the function
12283         nm_dbus_signal_wireless_network_change() if we make a mapping.
12284         * src/NetworkManagerAPList.c: Call the function
12285           nm_dbus_signal_wireless_network_change() if we made a successful
12286           BSSID to ESSID mapping, notifying the applet of the "new" network.
12287         * src/NetworkManagerAPList.h: Update the prototypes for both
12288           nm_ap_list_copy_essids_by_address() and
12289           nm_ap_list_copy_one_essid_by_address().
12290
12291 2006-04-20  Robert Love  <rml@novell.com>
12292
12293         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12294           not set.  Just return zero.
12295
12296 2006-04-20  Robert Love  <rml@novell.com>
12297
12298         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12299           only one copy of nm-vpn-properties is running at a time via the 'ol
12300           X selection trick.  This prevents the user from opening two "VPN
12301           Connections" windows from within the applet, which leads to mass
12302           hysteria.
12303         * clipboard.c: New file, implementing simple X selection logic.
12304         * clipboard.h: New file.
12305         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12306
12307 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12308
12309         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12310         * configure.in
12311           initscript/Gentoo/Makefile.am
12312           initscript/Gentoo/NetworkManagerDispatcher.in
12313                 - New script
12314         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12315           Gentopia
12316
12317 2006-04-16  Dan Williams  <dcbw@redhat.com>
12318
12319         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12320         * configure.in
12321           initscript/Slackware/Makefile.am
12322           initscript/Slackware/rc.networkmanager-dispatcher.in
12323           initscript/Slackware/rc.networkmanager.in
12324                 - Update slackware initscripts
12325
12326 2006-04-10  Robert Love  <rml@novell.com>
12327
12328         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12329           the "delete_event" signal on the druid's parent window and handle it
12330           our way, lest using the WM to close the druid results in a series of
12331           bloody and ultimately lethal errors.
12332
12333 2006-04-10  Robert Love  <rml@novell.com>
12334
12335         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12336           'Back' too or else the 'Forward' option is initially disabled despite
12337           valid input.
12338
12339 2006-04-06  Robert Love  <rml@novell.com>
12340
12341         Fix bad but simple bug where an active modem connection did not update
12342         NM's connection state, breaking any app that did online/offline:
12343         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12344           represented whether a dial up connection is active, or not.
12345         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12346           to modem activation and deactivation.
12347         * src/NetworkManagerDbus.c: When asked our state, do not return
12348           disconnected if the modem is active.
12349
12350 2006-04-04  Robert Love  <rml@novell.com>
12351
12352         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12353           applet.  It just confuses the crap out of people and does not make a
12354           lot of sense, as the daemon still runs.
12355
12356 2006-04-02  Tor Krill  <tor@krill.nu>
12357
12358         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12359           in start of service.
12360         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12361           get Archlinux backend up to date.
12362
12363 2006-03-29  Robert Love  <rml@novell.com>
12364
12365         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12366         to add support for per-route MSS and improve support for per-interface
12367         MTU:
12368         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12369           optionally take an MSS parameter and set it for the given route.
12370           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12371           NMIP4Config's stored MSS, if any.
12372         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12373           the interface's MTU and the route's MSS, respectively.  Add functions
12374           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12375           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12376           MSS.
12377         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12378           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12379           nm_ip4_config_set_mss.
12380         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12381           VPN daemon.
12382         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12383           Change the retval of nm_system_get_mtu to guint32.
12384         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12385           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12386           servers can specify MTU's, we should set it here if the MTU was not
12387           provided.
12388
12389 2006-03-27  Jürg Billeter  <j@bitron.ch>
12390
12391         * configure.in:
12392         * initscript/Makefile.am:
12393         * initscript/paldo/Makefile.am:
12394         * initscript/paldo/NetworkManager.in:
12395         * initscript/paldo/NetworkManagerDispatcher.in:
12396         * src/backends/Makefile.am:
12397         * src/backends/NetworkManagerPaldo.c:
12398                 - Add paldo support
12399
12400 2006-03-27  Dan Williams  <dcbw@redhat.com>
12401
12402         Patch from Christian Persch <chpe@gnome.org>
12403         * gnome/applet/applet.glade
12404                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12405
12406 2006-03-27  Dan Williams  <dcbw@redhat.com>
12407
12408         Patch from Diffe <diffie@blazebox.homeip.net>
12409         * src/backends/NetworkManagerSlackware.c
12410                 - Don't restart howl, since it's been replaced by Avahi
12411                         in most distributions
12412
12413 2006-03-27  Dan Williams  <dcbw@redhat.com>
12414
12415         Patch from Tor Krill <bugzilla@krill.nu>
12416         * configure.in
12417           initscript/Makefile.am
12418           src/backends/Makefile.am
12419           src/backends/NetworkManagerArch.c
12420           initscript/Arch/Makefile.am
12421           initscript/Arch/networkmanager-dispatcher.in
12422           initscript/Arch/networkmanager.in
12423                 - Add Arch Linux support, fixes gnome.org #335147
12424
12425 2006-03-27  Dan Williams  <dcbw@redhat.com>
12426
12427         Patch from Diffe <diffie@blazebox.homeip.net>
12428      * initscript/Slackware/rc.networkmanager
12429         - update, fixed gnome.org #333368
12430
12431 2006-03-27  Robert Love  <rml@novell.com>
12432
12433         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12434           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12435
12436 2006-03-27  Robert Love  <rml@novell.com>
12437
12438         Patch by Jürg Billeter <j@bitron.ch>:
12439         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12440           systems.
12441         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12442           as we prefer glibc over kernel headers, if possible.
12443
12444 2006-03-27  Robert Love  <rml@novell.com>
12445
12446         Patch by Jon Escombe <list@dresco.co.uk>:
12447         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12448         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12449           fail, don't bail out.  We don't expect all of the various WPA-EAP
12450           values to be present.
12451         * src/nm-ap-security.c: We need to match all capabilities for each
12452           encryption type, not any one of them.
12453
12454 2006-03-27  Robert Love  <rml@novell.com>
12455
12456         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12457           restart, not reload, ypbind.  Unfortunately there is no superior
12458           solution.
12459
12460 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12461
12462         * gnome/applet/applet-notifications.c:
12463         When displaying a notification, make sure to get rid of the
12464         previous notification so as to not have competing bubbles,
12465         and stop leaking the old one.
12466
12467         * gnome/applet/applet.c:
12468         * gnome/applet/applet.h:
12469         Add a new 'notification' member to the applet, and zero it out
12470         and free it appropriately.
12471
12472 2006-03-23  Robert Love  <rml@novell.com>
12473
12474         Patch by j <j@bootlab.org>:
12475         * gnome/applet/applet.glade: Don't set the invisible_char property,
12476           which simply overrides the GTK default.  By and by, this behavior
12477           ought to be fixed in Glade.
12478
12479 2006-03-22  Robert Love  <rml@novell.com>
12480
12481         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12482
12483 2006-03-22  Robert Love  <rml@novell.com>
12484
12485         Bug fix by Timo Hoenig <thoenig@suse.de>:
12486         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12487           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12488           and the applet going AWOL.
12489
12490 2006-03-22  Robert Love  <rml@novell.com>
12491
12492         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12493           preprocessor define and use it instead of open-coded the DHCP
12494           timeout, which is currently 25 seconds, everywhere.
12495
12496 2006-03-22  Robert Love  <rml@novell.com>
12497
12498         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12499         key exchange via WPA, ostensibly providing good security without
12500         requiring hardware that supports full WPA.  Also, add UI elements to
12501         allow the user to select the pairwise & group cipher for WPA Enterprise
12502         networks, too:
12503         * gnome/applet/applet.glade: Update glade file.
12504         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12505           key type, too, to and from gconf.
12506         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12507           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12508           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12509           the capabilities match.
12510         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12511           prototype.
12512         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12513           serialize from UI to DBUS.
12514         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12515           one element.
12516         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12517           nmu_security_serialize_wpa_eap_with_cipher(), and
12518           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12519           serialize/deserialize the key type via DBUS as the new third DBUS
12520           parameter.
12521         * libnm-util/dbus-helpers.h: Update prototypes.
12522         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12523           too.  If the key type is WEP104, do Dynamic WEP, which means
12524           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12525           pairwise and group ciphers (fixes a FIXME).
12526
12527 2006-03-21  Robert Love  <rml@novell.com>
12528
12529         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12530           nm_system_get_mtu(), which returns a user-provided or system-mandated
12531           MTU value for a given device, if any, or zero if no such value
12532           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12533           if we have a provided value.
12534         * src/nm-device.c: Set the MTU of devices.
12535         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12536         * src/backends/NetworkManagerDebian.c,
12537           src/backends/NetworkManagerGentoo.c,
12538           src/backends/NetworkManagerRedHat.c,
12539           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12540
12541 2006-03-21  Robert Love  <rml@novell.com>
12542
12543         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12544           configuration file.
12545
12546 2006-03-17  Robert Love  <rml@novell.com>
12547
12548         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12549           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12550           it, in case it is not running in the first place.  We just want its
12551           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12552
12553 2006-03-15  Robert Love  <rml@novell.com>
12554
12555         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12556           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12557           label "WEP 40/128-bit" is inconsistent because the physical key size
12558           is 40 or 104-bits, to which a 24-bit initialisation vector is
12559           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12560           to read "40/104" or "64/128".  I do not care much which, but most
12561           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12562           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12563           WEP passphrase support only handles 128-bit keys, and any future
12564           64-bit passphrase support will require a new option (no way to auto-
12565           detect the target key size), explicitly label our passphrase support
12566           "WEP 128-bit Passphrase".
12567
12568 2006-03-15  Robert Love  <rml@novell.com>
12569
12570         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12571           the system init scripts (or some other mechanism) starting it (or a
12572           compatible DBUS service) before NetworkManager runs.  This means that
12573           distributions might need to update their init scripts.  This fixes
12574           possible races and is quite a bit cleaner.
12575         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12576           starting the NetworkManager daemon.
12577
12578
12579 2006-03-14  Robert Love  <rml@novell.com>
12580
12581         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12582           before adding anything.
12583
12584 2006-03-13  Robert Love  <rml@novell.com>
12585
12586         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12587           widgets, too, if they exist, in case the user hit the back button.
12588           Fixes a bug where the details page contains the widgets of multiple
12589           VPN modules (Novell bug #157048).
12590
12591 2006-03-13  Robert Love  <rml@novell.com>
12592
12593         Patch by Timo Hoenig <thoenig@suse.de>:
12594         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12595           daemon survive DBUS restarts, too.
12596
12597 2006-03-10  Robert Love  <rml@novell.com>
12598
12599         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12600           passphrase or key.
12601         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12602           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12603           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12604           in response to "toggled" signal on new toggle.
12605
12606 2006-03-10  Robert Love  <rml@novell.com>
12607
12608         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12609           serialization if strings are NULL, lest DBUS get angry.
12610
12611 2006-03-10  Robert Love  <rml@novell.com>
12612
12613         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12614
12615 2006-03-09  Robert Love  <rml@novell.com>
12616
12617         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12618           configurations.
12619
12620 2006-03-09  Dan Williams  <dcbw@redhat.com>
12621
12622         Track pending call requests in the applet, and report how many are
12623         outstanding, and how long each completed one takes.
12624         
12625         * gnome/applet/applet-dbus-devices.c
12626           gnome/applet/applet-dbus-vpn.c
12627                 - Track pending calls
12628
12629         * gnome/applet/applet-dbus.[ch]
12630                 - Remove some unused enums
12631                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12632                         new functions to track dbus pending calls and spit out some
12633                         statistics about them
12634
12635 2006-03-09  Robert Love  <rml@novell.com>
12636
12637         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12638           nm_ap_set_timestamp() take the second and micro-second parameters as
12639           direct arguments, which avoids both a dynamic memory allocation and a
12640           structure-to-structure copy!  Add a new interface, the aptly named
12641           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12642           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12643           the return from nm_ap_get_timestamp().  New users should use the new
12644           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12645           the extreme benefit to performance.
12646         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12647           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12648
12649 2006-03-08  Robert Love  <rml@novell.com>
12650
12651         * gnome/applet/applet.glade: Hide the password entry text with
12652           asterisks.
12653
12654 2006-03-08  Robert Love  <rml@novell.com>
12655
12656         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12657           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12658           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12659           a second argument, NMData.
12660         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12661         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12662           config files as trusted.
12663
12664 2006-03-06  Robert Love  <rml@novell.com>
12665
12666         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12667         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12668           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12669           Rivera, detect if the applet was auto-started.  If so, ask the user
12670           if he or she would like to stop automatically running the applet on
12671           login.  If so, disable autostart.
12672
12673 2006-03-06  Robert Love  <rml@novell.com>
12674
12675         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12676           directory in CFLAGS so developers can actually use NetworkManager.h.
12677
12678 2006-03-06  Robert Love  <rml@novell.com>
12679
12680         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12681           open-coded integer constants.  Add state_to_string() to map a given
12682           state to a textual description, and provide that when notifying of
12683           state change.
12684         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12685           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12686           this header directly, but it is currently not installed on most
12687           systems.
12688
12689 2006-03-05  Dan Williams  <dcbw@redhat.com>
12690
12691         Process netlink messages in device subclasses rather than in
12692         NetworkManager.c.  Also add support for recognizing Wireless Events.
12693         
12694         * configure.in
12695                 - Find GLIB_GENMARSHAL
12696
12697         * src/Makefile.am
12698                 - Since we're marshalling custom types for wireless event signals,
12699                         we get to create our own marshallers using GLIB_GENMARSHAL
12700
12701         * src/NetworkManager.c
12702                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12703                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12704                         cut down somewhat.  We no longer process signals here.
12705                 - (nm_data_new): create the netlink monitor here, and remove a
12706                         useless call to nm_policy_schedule_device_change_check()
12707                 - (nm_data_free): get rid of the netlink monitor here
12708                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12709                 - (main): don't create the netlink monitor here, let nm_data_new
12710                         do that.  Call nm_policy_schedule_device_change_check() right
12711                         before we jump to the mainloop to figure out which device
12712                         to use first
12713
12714         * src/NetworkManagerSystem.[ch]
12715                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12716                         convert back and forth from interface names to interface
12717                         indexes
12718
12719         * src/nm-device-802-11-wireless.c
12720                 - (real_init): connect to wireless-event signals from the netlink
12721                         monitor object
12722                 - (nm_device_802_11_wireless_event): new function, schedule handler
12723                         for wireless event signals from the netlink monitor object.  We
12724                         want the handler to run in the device's context
12725                 - (wireless_event_helper): handle wireless-event signals from netlink
12726                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12727                         signal handler
12728
12729         * src/nm-device-802-11-wireless.h
12730                 - remove unused prototype for nm_device_802_11_wireless_new
12731
12732         * src/nm-device-802-3-ethernet.c
12733                 - (real_init): new function; set up signal handlers for link events
12734                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12735                         handler for netlink link activated events on device's main loop
12736                 - (link_activated_helper): when we get a link activated event, set
12737                         the device's link to be active
12738                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12739                         handler for netlink link deactivated events on device's main loop
12740                 - (link_deactivated_helper): when we get a link deactivated event, set
12741                         the device's link to be inactive
12742                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12743                         dispose
12744
12745         * src/nm-device-802-3-ethernet.h
12746                 - remove unused prototype for nm_device_802_3_ethernet_new
12747
12748         * src/nm-device.[ch]
12749                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12750                         but locks the device list
12751                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12752
12753         * src/nm-netlink-monitor.[ch]
12754                 - (nm_netlink_monitor_class_install_signals): New signal
12755                         "wireless-event"
12756                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12757                         at the device list
12758                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12759
12760         * src/nm-marshal-main.c
12761                 - Include generated nm-marshal.c and nm-marshal.h
12762
12763         * src/nm-marshal.list
12764                 - List of custom marshal functions
12765
12766 2006-03-05  Dan Williams  <dcbw@redhat.com>
12767
12768         * gnome/applet/applet-notifications.h
12769                 - Protect prototype of nma_send_event_notification() because it
12770                         includes libnotify-specific types
12771                 - Include libnotify/libnotify.h too, since we technically need it
12772
12773         * gnome/applet/applet.c
12774                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12775                 - (nma_show_vpn_login_banner_dialog): add some error checking
12776
12777 2006-03-04  Dan Williams  <dcbw@redhat.com>
12778
12779         Clean up activation cancellation.  Should be a lot faster now.  Observed
12780         an issue with wireless devices between stage 2 and 3 of activation, where
12781         activation would be cancelled, but the device thread wouldn't notice until
12782         the supplicant association timed out.  Reorganize activation such that
12783         a cancellation handler gets immediately scheduled in the device's thread,
12784         and devices have a chance to perform any custom cleanup too.
12785
12786         * src/nm-device.[ch]
12787                 - (activation_cancel_handler): new device-type-specific function
12788                         for cleaning up device-type-specific stuff on cancellation
12789                 - (cancel_activation): removed
12790                 - (nm_device_activation_cancel): subsume functionality of
12791                         real_cancel_activation, but instead of doing anything, punt
12792                         operation to a handler that's run in device-thread context
12793                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12794                         a warning message
12795                 - (activation_handle_cancel_helper): cancellation handler run in
12796                         device-thread context, calls device-type-specific cancelation,
12797                         then tears down the activation request
12798                 - (real_activation_cancel_handler): generic cancellation handler,
12799                         deals with cancelling any in-process DHCP request
12800                 - (nm_device_activate_stage1_device_prepare,
12801                    nm_device_activate_stage2_device_config,
12802                    nm_device_activate_stage3_ip_config_start,
12803                    nm_device_activate_stage4_ip_config_get,
12804                    nm_device_activate_stage4_ip_config_timeout,
12805                    nm_device_activate_stage5_ip_commit): don't call
12806                         nm_device_schedule_activation_handle_cancel() any more, since
12807                         cancellation will have been already scheduled for us by
12808                         nm_device_activation_cancel().  Just exit the function and
12809                         assume that the cancel handler will be called next.
12810
12811         * src/nm-device-802-3-ethernet.c
12812                 - (real_act_stage2_config): remove; didn't do anything anyway
12813
12814         * src/nm-device-802-11-wireless.c
12815                 - (supplicant_status_cb): ensure we don't do anything if the activation
12816                         got cancelled
12817                 - (real_activation_cancel_handler): implement; cancel user key request
12818                         on activation cancellation
12819
12820 2006-03-04  Dan Williams  <dcbw@redhat.com>
12821
12822         * src/nm-device-802-11-wireless.c
12823                 - (supplicant_send_network_config): assume that drivers that don't
12824                         support WPA pretty much suck, and can't handle NM scanning
12825                         along with wpa_supplicant.
12826
12827 2006-03-03  Robert Love  <rml@novell.com>
12828
12829         * configure.in: Bump version to 0.6.0.
12830         * NEWS: Update.
12831
12832 2006-03-03  Robert Love  <rml@novell.com>
12833
12834         * configure.in: Require DBUS 0.60 or later.
12835
12836 2006-03-03  Dan Williams  <dcbw@redhat.com>
12837
12838         Fix a crash if an "Other wireless network" was chosen, failed, then
12839         chosen again from the applet's menu.  If the other network wasn't
12840         noticed in a scan, it wouldn't have any capabilities, but would still
12841         be listed because the user forced the network.  To fix this, we set
12842         sensible capabilities on the forced network, which will get overwritten
12843         with the correct ones if the network shows up later in a scan.
12844         
12845         * src/nm-ap-security.h
12846                 - Add a new "get_default_capabilities_func" member to the
12847                         NMAPSecurity class
12848
12849         * src/nm-ap-security.c
12850                 - (nm_ap_security_get_default_capabilities): new function
12851
12852         * src/nm-ap-security.c
12853           src/nm-ap-security-wep.c
12854           src/nm-ap-security-wpa-psk.c
12855           src/nm-ap-security-wpa-eap.c
12856                 - Implement get_default_capabilities_func() for all, which
12857                         uses the information contained in a specific NMAPSecurity
12858                         object to determine default AP capabilites necessary
12859                         to support that object
12860
12861         As a secondary measure, we now prune artificial access points that fail
12862         to be activated right away.  The thing failed, and we have no scan data for
12863         it, so it's pretty much useless since security information is only saved
12864         in the applets when a connection is successful.
12865
12866         * src/NetworkManagerAPList.c
12867                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12868                         not artificial.  If we see it, it's no longer a figment of the
12869                         user's imagination :)
12870
12871         * src/NetworkManagerPolicy.c
12872                 - (nm_policy_activation_failed): send along the failed AP if we
12873                         have it
12874
12875         * src/nm-device-802-11-wireless.c
12876                 - (real_activation_failure_handler): remove artificial APs from
12877                         the device list, because activation failed
12878
12879 2006-03-02  Robert Love  <rml@novell.com>
12880
12881         Add support for retrieving both the per-device speed and the
12882         per-network maximum supported rate.  Then change the getProperties
12883         DBUS API for both networks and devices to report this informaiton.
12884         Finally, display the information via both nm-applet and nm-tool:
12885         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12886           and set it.
12887         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12888           Information' dialog.
12889         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12890         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12891           network_device_get_speed() and network_device_set_speed() for
12892           retrieving and setting, respectively, a network device's current
12893           speed.
12894         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12895         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12896           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12897           not matter (yet) what the units are, because we only feed it its own
12898           output.  Implement SIOCGIRATE and set the per-network maximum
12899           supported rate during scanning.
12900         * src/nm-device-802-11-wireless.h: Export the function
12901           nm_device_802_11_wireless_get_bitrate().
12902         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12903           function nm_device_802_3_ethernet_get_speed() for returning an
12904           802.3's current speed, in Mb/s.
12905         * test/nm-tool.c: Display the per-device current speed, if available,
12906           and the per-network maximum rate.
12907
12908 2006-03-02  Dan Williams  <dcbw@redhat.com>
12909
12910         * src/nm-device-802-11-wireless.c
12911                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12912                         card when it gets initialized.  Since devices don't get added to
12913                         the scan list until they are initialized, this function wasn't
12914                         setting the intitial scan interval correctly, and was leaving
12915                         it at 0.  This caused cards to get many scan requests in a short
12916                         amount of time when they were initialized
12917
12918 2006-03-02  Robert Love  <rml@novell.com>
12919
12920         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12921           active device.  But do not do what we used to do and override the
12922           state, which caused the dreaded icon race of '05.
12923
12924 2006-03-02  Robert Love  <rml@novell.com>
12925
12926         Commit Dan's update of my previous commit:
12927         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12928           set_mode() function itself does the check.  But do only set the
12929           frequency if in Ad-Hoc mode.
12930
12931 2006-03-02  Robert Love  <rml@novell.com>
12932
12933         Patch by Brian Magnuson <magnuson@rcn.com>:
12934         * src/nm-device-802-11-wireless.c: During scanning, only set the
12935           wireless mode to infrastructure if it is not currently in
12936           infrastructure mode.  For some driver, setting the mode is a costly
12937           operation, apparently.
12938
12939 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12940
12941         * Makefile.am: use the correct dir for autostart mechanism.
12942
12943 2006-02-28  Dan Williams  <dcbw@redhat.com>
12944
12945         Patch from Brian Magnuson <magnuson@rcn.com>
12946         * gnome/applet/applet.c
12947                 - (nma_show_vpn_failure_dialog): fix errors left over from
12948                         libnotify support changes
12949
12950 2006-02-28  Dan Williams  <dcbw@redhat.com>
12951
12952         * src/vpn-manager/nm-vpn-act-request.[ch]
12953                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12954                         just one value
12955                 - (nm_vpn_act_request_is_failed): new function; return whether or
12956                         not the vpn activation request has failed
12957
12958         * src/vpn-manager/nm-vpn-manager.c 
12959                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12960                         daemon to kill the connection when the activation request fails.
12961                         Fixes issue where NM would get confused if the VPN activation
12962                         request timed out, and would not allow further VPN connections
12963                         on that service.
12964
12965 2006-02-28  Dan Williams  <dcbw@redhat.com>
12966
12967         * gnome/applet/applet.c
12968                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12969                         overlapping connection requests, disable all VPN menu items
12970                         but the active VPN connection
12971
12972 2006-02-28  Dan Williams  <dcbw@redhat.com>
12973
12974         * src/vpn-manager/nm-vpn-connection.c
12975                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12976                         called g_object_unref() on the connection's parent device
12977                         when it should have been ref-ed instead.  Fixes crash with
12978                         repeated vpn connect requests
12979
12980 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12981
12982         * gnome/applet/applet.glade:
12983         Mark a few strings non-translatable, since they shouldn't be.
12984
12985 2006-02-28  Dan Williams  <dcbw@redhat.com>
12986
12987         * src/vpn-manager/nm-vpn-service.c
12988                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12989                         already running, don't blindly ask it to connect, but wait until
12990                         it's in the STOPPED state first.  Fixes an assertion when user
12991                         starts a second vpn connection without stopping the first.
12992                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12993                         dbus service exists before continuing with the connection
12994                         process, and reduce latency while waiting for it to become
12995                         available
12996                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12997                         waiting for the vpn service daemon to become available
12998                 - General log message cleanups; show progress via "Stage x of 4"
12999                         rather than not telling anyone how many stages there are
13000
13001 2006-02-28  Robert Love  <rml@novell.com>
13002
13003         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13004         * src/backends/NetworkManagerSuSE.c: Implement the interface
13005           nm_system_should_modify_resolv_conf() for SUSE.
13006         * src/backends/NetworkManagerDebian.c,
13007           src/backends/NetworkManagerGentoo.c,
13008           src/backends/NetworkManagerRedHat.c,
13009           src/backends/NetworkManagerSlackware.c: Add stub.
13010         * src/named-manager/Makefile.am: Grab includes from src.
13011         * src/named-manager/nm-named-manager.c: Allow backends to disable the
13012           automatic updating of resolv.conf.  This is useful for testing,
13013           broken static configurations, and administrator lock-down.
13014
13015 2006-02-28  Dan Williams  <dcbw@redhat.com>
13016
13017         * src/nm-device-802-11-wireless.c
13018                 - Move all the wpa_supplicant-related management stuff into its
13019                         own struct, just for oranization's sake
13020                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13021                         to a GIOChannel/GSource
13022                 - (supplicant_log_stdout): new function; grab output from the
13023                         wpa_supplicant stdout pipe and write it to our logs.
13024
13025 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13026
13027         * src/nm-device-802-11-wireless.c:
13028         Err, fix thinko in my previous commit.
13029
13030 2006-02-28  Robert Love  <rml@novell.com>
13031
13032         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13033
13034 2006-02-28  Robert Love  <rml@novell.com>
13035
13036         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13037           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13038           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13039           deserializers are responsible for freeing the returned DBUS strings.
13040
13041 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13042
13043         * src/nm-device-802-11-wireless.c:
13044         The scan list is being pruned prematurely.  We should prune after
13045         the device has gone MIA for three scans, not one.  Split out the
13046         interval to realtime seconds function to better serve this.
13047
13048 2006-02-27  Robert Love  <rml@novell.com>
13049
13050         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13051           Open the pid file O_TRUNC, so if it already exists we truncate it to
13052           zero length.  Also, be more verbose about warnings generated during
13053           writing out the pid file.  Finally, always write out the pid file if
13054           in daemon mode.  Use "--pid-file" to override the default.
13055
13056 2006-02-27  Robert Love  <rml@novell.com>
13057
13058         Patch by R. Vinay <rvinay@novell.com>:
13059         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13060           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13061           Novell bug #153628).
13062           
13063 2006-02-27  Robert Love  <rml@novell.com>
13064
13065         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13066           entry so user can hit <ENTER> after entering passphrase (Novell bug
13067           #153738).
13068
13069 2006-02-27  Dan Williams  <dcbw@redhat.com>
13070
13071         * gnome/applet/*
13072                 - Mass search/replace of:
13073                         nmwa -> nma
13074                         NMWirelessApplet -> NMApplet
13075                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13076                    (it ain't just for wireless anymore, ma!)
13077                 - Fix duplicate function name printing when using nm_warning
13078                 - wireless-applet.glade -> applet.glade
13079
13080 2006-02-27  Dan Williams  <dcbw@redhat.com>
13081
13082         * dispatcher-daemon/NetworkManagerDispatcher.c
13083                 - Accept --pid-file with a path to a pidfile, write it out on
13084                         startup, and delete it on shutdown
13085
13086         * src/NetworkManager.c
13087                 - Accept --pid-file with a path to a pidfile, write it out on
13088                         startup, and delete it on shutdown
13089                 - Move nm_print_usage() lower
13090
13091         * initscripts/RedHat/NetworkManager.in
13092                 - Use new --pid-file option
13093                 - Fix service stopping to wait a bit for NM to quit
13094
13095         * initscripts/RedHat/NetworkManagerDispatcher.in
13096                 - Use new --pid-file option
13097
13098 2006-02-26  Dan Williams  <dcbw@redhat.com>
13099
13100         * src/Makefile.am
13101                 - make and install nm-crash-logger
13102
13103         * src/nm-logging.[ch]
13104                 - New files; consolidate logging and crash handling
13105
13106         * src/nm-crash-logger.c
13107           src/gdb-cmd
13108                 - Standalong crashlogger for NM, grab a backtrace
13109                         using GDB
13110
13111         * src/NetworkManager.[ch]
13112                 - Remove signal handling and put it into nm-logging.c
13113
13114 2006-02-26  Dan Williams  <dcbw@redhat.com>
13115
13116         * configure.in
13117           gnome/applet/Makefile.am
13118                 - Conditionalize all the notify stuff
13119
13120         Merge most of Chris Aillon's notification patch:
13121         
13122         * gnome/applet/applet-notifications.[ch]
13123                 - New files; show a notification
13124         
13125         * gnome/applet/applet-dbus-devices.[ch]
13126                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13127                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13128                         new functions, do the right thing when a device change occurs
13129
13130         * gnome/applet/applet-dbus.c
13131                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13132                         signals, so we can handle them specially
13133
13134         * gnome/applet/applet.[ch]
13135                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13136                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13137                 - (nmwa_notify_state): remove
13138                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13139                         notification work is now done when the appropriate dbus signals
13140                         are received.
13141                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13142                         defer execution of the notification/dialog stuff.  That was an
13143                         artifact of the previous multi-threaded nature of the applet
13144                         and is now pointless.
13145                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13146                         no longer needed.  Function folded into applet-notifications.c
13147
13148         * src/NetworkManagerPolicy.c
13149                 - (nm_policy_activation_finish): send the AP along with the device
13150                         status change signal, if the connection is wireless.  Should
13151                         fix the race where applet would show a connection to "unknown"
13152
13153 2006-02-25  Robert Love  <rml@novell.com>
13154
13155         Add WPA Enterprise support:
13156         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13157           nm-gconf-wso-wpa-eap.h.
13158         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13159           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13160           serialization and deserialization.
13161         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13162           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13163           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13164         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13165           settings related to WPA Enterprise.
13166         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13167           instantiate WPA Enterprise wireless-security-option.
13168         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13169           Implement WPA Enterprise wireless-security-option object.
13170         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13171           defines.  Cleanup.
13172         * libnm-util/cipher-wpa-psk-hex.c,
13173           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13174         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13175           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13176           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13177           including the cipher to DBUS method, and
13178           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13179           to output.
13180         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13181           nm-ap-security-wpa-eap.h
13182         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13183           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13184         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13185           files.  Implement NMAPSecurityWPA_EAP object.
13186         * src/nm-ap-security-wpa-psk.c: Cleanup.
13187         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13188           an NMAPSecurityWPA_EAP object via the method
13189           nm_ap_security_wpa_eap_new_deserialize().
13190         * src/nm-dbus-nm.c: Cleanup.
13191         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13192           WPA Enterprise support.
13193
13194 2006-02-24  Robert Love  <rml@novell.com>
13195
13196         Patch from Timo Hoenig <thoenig@suse.de>:
13197         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13198
13199 2006-02-24  Robert Love  <rml@novell.com>
13200
13201         Patch from Dan Winship <danw@novell.com>:
13202         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13203           area to transparent.
13204
13205 2006-02-21  Dan Williams  <dcbw@redhat.com>
13206
13207         * gnome/applet/applet.[ch]
13208           gnome/applet/applet-dbus.c
13209                 - Implement notification support for VPN messages too
13210
13211 2006-02-21  Dan Williams  <dcbw@redhat.com>
13212
13213         * gnome/applet/applet-dbus-info.c
13214                 - Clean up warning messages to not double-print the function
13215
13216 2006-02-21  Dan Williams  <dcbw@redhat.com>
13217
13218         * gnome/applet/applet-compat.c
13219                 - (convert_one_entry): accept entries without a key_type and
13220                         convert them to unencrypted networks
13221
13222 2006-02-21  Dan Williams  <dcbw@redhat.com>
13223
13224         * gnome/libnm_glib/libnm_glib.c
13225                 - Use __func__ everywhere we can
13226                 - Code cleanups
13227                 - Use dbus pending calls rather than blocking
13228                 - Reduce busywaits for our thread to start and stop
13229                         (gnome.org #330562)
13230                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13231                         stomp on others using the default shared dbus connection.
13232                         Fixes #rh177546# and gnome.org #326572
13233
13234 2006-02-21  Dan Williams  <dcbw@redhat.com>
13235
13236         Patch from Rodney Dawes <dobey@novell.com>
13237         * configure.in
13238           gnome/applet/Makefile.am
13239           gnome/applet/applet.c
13240                 - Add libnotify support if '--enable-notify=yes' is passed
13241                   at configure time
13242
13243 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13244
13245         * configure.in (ALL_LINGUAS): ko added. (Korean)
13246
13247 2006-02-15  Robert Love  <rml@novell.com>
13248
13249         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13250           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13251           and WPA_SUPPLICANT_CONTROL_SOCKET.
13252         
13253 2006-02-15  Robert Love  <rml@novell.com>
13254
13255         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13256           information about what connection stage we are at, provide the total
13257           number of stages, e.g. "Stage 2 of 5", so users know how far along
13258           they are if they experience problems.
13259
13260 2006-02-15  Robert Love  <rml@novell.com>
13261
13262         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13263           define to $sysconfdir.
13264         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13265           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13266           type of VPN and then editing another results in a mangled dialog
13267           box containing the widgets from both VPNs (fixes Novell #150854).
13268           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13269
13270 2006-02-14  Robert Love  <rml@novell.com>
13271
13272         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13273           syslog's file descriptor.
13274
13275 2006-02-14  Robert Love  <rml@novell.com>
13276
13277         Fix bug around since the change to "deal with APs changing settings on
13278         us," checked in on the fifth of February in the year of the dog, 
13279         wherein connecting to non-broadcast encrypted networks always fails
13280         because nm_ap_get_encrypted() always returns FALSE, even when the user
13281         provided a key, because the newly-created fake AP does not have any
13282         capabilities set, which is a sypmtom of security settings not matching
13283         capabilities (Novell bug #150784):
13284         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13285           nm_ap_add_capabilities_from_security(), which sets the given AP's
13286           capabilities off the given security settings.  Also improve our
13287           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13288           NM_AUTH_CIPHER_AUTO.
13289         * src/nm-device-802-11-wireless.c: Call the function
13290           nm_ap_add_capabilities_from_security() to ensure that capabilities
13291           match newly updated security settings.
13292
13293 2006-02-14  Robert Love  <rml@novell.com>
13294
13295         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13296           error as a string, not an integer, if possible; do not print the
13297           function name twice; always give the interface, if possible; misc.
13298           cleanup.
13299
13300 2006-02-12  Dan Williams  <dcbw@redhat.com>
13301
13302         Patch from Tom Parker <palfrey@tevp.net>
13303         * src/NetworkManagerSystem.h
13304                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13305                         no longer used
13306
13307         * src/backends/NetworkManagerDebian.c
13308                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13309                         unused variables
13310
13311 2006-02-12  Dan Williams  <dcbw@redhat.com>
13312
13313         * vpn-daemons/openvpn/intltool-extract.in
13314           vpn-daemons/openvpn/intltool-merge.in
13315           vpn-daemons/openvpn/intltool-update.in
13316           vpn-daemons/pptp/intltool-extract.in
13317           vpn-daemons/pptp/intltool-merge.in
13318           vpn-daemons/pptp/intltool-update.in
13319                 - Remove from CVS, they should get created by intltoolize,
13320                         shouldn't they?
13321
13322 2006-02-12  Dan Williams  <dcbw@redhat.com>
13323
13324         * vpn-daemons/pptp/src/pppd/patchlevel.h
13325         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13326                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13327                         Makefile-defined VERSION
13328
13329 2006-02-09  Dan Williams  <dcbw@redhat.com>
13330
13331         Patch from: Vinay A R <rvinay@novell.com>
13332         * src/vpn-manager/nm-vpn-act-request.[ch]
13333                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13334                         IPSec VPNs require them for std gateway.
13335                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13336                         and 'user_routes_count'
13337                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13338                         defined routes  from NMVPNActRequest object, returns the string
13339                         array of routes.
13340
13341         * src/vpn-manager/nm-vpn-manager.[ch]
13342                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13343                         for 'user_routes' and 'user_routes_count'
13344         
13345         * src/vpn-manager/nm-dbus-vpn.c
13346                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13347                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13348         
13349         * src/vpn-manager/nm-vpn-service.c
13350                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13351                         the vpn daemon
13352
13353         Modifications by Dan:
13354         * src/vpn-manager/nm-vpn-service.c
13355                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13356                         arrays into dbus
13357
13358         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13359         * vpn-daemons/pptp/src/nm-pptp-service.c
13360         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13361                 - Grab user routes from dbus message
13362                 - Free all string arrays we got from dbus
13363
13364 2006-02-07  Robert Love  <rml@novell.com>
13365
13366         Patch by Stefan Seyfried <seife@suse.de>:
13367         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13368
13369 2006-02-06  Robert Love  <rml@novell.com>
13370
13371         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13372
13373 2006-02-06  Robert Love  <rml@novell.com>
13374
13375         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13376           test ">=" is never false.  If no newline is found, we loop forever.
13377           We can just check for ">" because the following if() will see the
13378           zero-th argument if the while() gets that far.
13379
13380 2006-02-05  Dan Williams  <dcbw@redhat.com>
13381
13382         Refine handling of non-broadcast networks.
13383
13384         * src/NetworkManagerAPList.c
13385                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13386                         property from scanned AP to the AP from the device list
13387
13388         * src/nm-device-802-11-wireless.c
13389                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13390                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13391                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13392                         networks since those don't have APs.
13393                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13394                         AP as non-SSID-broadcasting
13395                 - (process_scan_results): don't handle non-SSID-broadcasting here
13396
13397 2006-02-05  Dan Williams  <dcbw@redhat.com>
13398
13399         * src/nm-device-802-11-wireless.c
13400                 - (get_supplicant_timeout): new function; return
13401                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13402                         14 channels.  These are likely a/b/g cards, like Atheros, and
13403                         slow as hell to scan.
13404                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13405                         get_supplicant_timeout()
13406
13407 2006-02-05  Dan Williams  <dcbw@redhat.com>
13408
13409         * src/dhcp-manager/nm-dhcp-manager.c
13410                 - Loose a commit race with Robert; make sure size check
13411                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13412
13413 2006-02-05  Robert Love  <rml@novell.com>
13414
13415         Patch by Christoph Brill <chrisbrill@gmx.net>:
13416         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13417           with DHCP_SERVICE_NAME.
13418
13419 2006-02-05  Dan Williams  <dcbw@redhat.com>
13420
13421         Remove anything having to do with device_setup_func from the
13422         AP security objects, since it's no longer used.
13423
13424         * src/nm-ap-security.h
13425                 - Kill device_setup_func and nm_ap_security_device_setup()
13426
13427         * src/nm-ap-security-wep.c
13428           src/nm-ap-security-wpa-psk.c
13429                 - (real_device_setup): remove
13430
13431         * src/nm-ap-security.c
13432                 - (real_device_setup): remove
13433                 - (nm_ap_security_device_setup): remove
13434
13435         * src/nm-device-802-11-wireless.[ch]
13436                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13437                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13438                         and done by wpa_supplicant now anyway
13439
13440 2006-02-05  Dan Williams  <dcbw@redhat.com>
13441
13442         * src/nm-device-802-11-wireless.c
13443                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13444                         settings on us.  Previously NM would loop asking for the
13445                         key but getting the same one back.  Now, if the NMI-supplied
13446                         cipher doesn't overlap with the scanned AP capabilities,
13447                         we request a completely new key from the user.
13448
13449 2006-02-05  Dan Williams  <dcbw@redhat.com>
13450
13451         * src/NetworkManagerUtils.c
13452                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13453                         Handle newline killing better
13454
13455 2006-02-05  Dan Williams  <dcbw@redhat.com>
13456
13457         * gnome/applet/nm-gconf-wso.c
13458                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13459                         of unencrypted access point security info.
13460
13461 2006-02-03  Robert Love  <rml@novell.com>
13462
13463         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13464           user's encryption key, so we print the err_msg_cmd not the command,
13465           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13466           sense.
13467
13468 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13469
13470         * initscript/RedHat/NetworkManagerDispatcher.in:
13471         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13472         Patch from Dan Walsh <dwalsh@redhat.com>
13473
13474 2006-02-03  Robert Love  <rml@novell.com>
13475
13476         * dispatcher-daemon/NetworkManagerDispatcher.c,
13477           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13478           but use the sysconfdir.
13479
13480 2006-02-03  Robert Love  <rml@novell.com>
13481
13482         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13483           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13484           'char *'.
13485         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13486           nm_ip4_config_get_hostname() and
13487           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13488         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13489           leak g_strdup() result.
13490
13491 2006-02-03  Robert Love  <rml@novell.com>
13492
13493         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13494           broadcast == TRUE.  Also, copy broadcast and artificial properties
13495           from source network to destination in nm_ap_copy().
13496         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13497           since we now default new networks to non-hidden.
13498
13499 2006-02-03  Dan Williams  <dcbw@redhat.com>
13500
13501         * gnome/applet/main.c
13502                 - (main): change the NEVER->ALWAYS so we start at the
13503                         beginning of the session, if being session-managed
13504
13505 2006-02-03  Dan Williams  <dcbw@redhat.com>
13506
13507         * gnome/applet/main.c
13508                 - (main): in a variation on Robert's patch, change
13509                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13510                         he wants.
13511
13512 2006-02-02  Robert Love  <rml@novell.com>
13513
13514         * src/Makefile.am: If we aren't going to create the run directory at,
13515           uh, run-time, create it during install.  Then users just doing
13516           'make install' are cool, too.  While we are here, create the
13517           dispatcher.d directory, too.
13518         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13519           the exact run directory.
13520         * Makefile.am: Install nm-applet.desktop.
13521
13522 2006-02-02  Robert Love  <rml@novell.com>
13523
13524         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13525           structure, which denotes whether or not the AP is hidden.  This is a
13526           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13527           can show up in the scan list.  Add nm_ap_get_broadcast() and
13528           nm_ap_set_broadcast() accessor interfaces.
13529         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13530           nm_ap_set_broadcast().
13531         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13532           "getProperties" method, which denotes whether or not the given
13533           network is hidden.
13534         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13535           an artificial network.  Set broadcast to TRUE when scanning returns
13536           an ESSID and FALSE when not.
13537         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13538           from "getProperties" method on a network.  Possible TODO is to
13539           somehow display this.
13540         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13541
13542 2006-02-02  Dan Williams  <dcbw@redhat.com>
13543
13544         * src/nm-device-802-11-wireless.c
13545                 - (supplicant_interface_init): don't try to create
13546                         /var/run/NetworkManager, since that should be done by
13547                         the distro package.  Causes problems for stuff like SELinux
13548
13549 2006-02-02  Robert Love  <rml@novell.com>
13550
13551         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13552         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13553           Check for and handle empty string for iface.
13554
13555 2006-02-01  Robert Love  <rml@novell.com>
13556
13557         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13558           manpage.
13559
13560 2006-01-31  Dan Williams  <dcbw@redhat.com>
13561
13562         * nm-applet.desktop
13563                 - Add --sm-disable to Exec arguments, presuming that when
13564                         using autostart, we don't want session management
13565
13566 2006-01-31  Robert Love  <rml@novell.com>
13567
13568         * src/NetworkManagerAP.c: Add two new manufacturer default network
13569           names: linksys-a and linksys-g.  These are found (at least) on the
13570           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13571           own ESSID.
13572
13573 2006-01-31  Robert Love  <rml@novell.com>
13574
13575         * src/NetworkManagerAP.c: Optimize the function
13576           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13577           machine code.  This is the first in a series of code tweaks aiming to
13578           generate better machine code and make NetworkManager all the better.
13579           Just kidding.  Who has time to go through the assembly generated for
13580           every function?  I certainly don't.  I have a wife, a kid, a job,
13581           a mortgage, a mistress.  But this function was so bad, I was called
13582           to arms.  Like the book.
13583
13584 2006-01-31  Robert Love  <rml@novell.com>
13585
13586         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13587           AP is not broadcasting, to scan with probe request frames.  Required
13588           for non-broadcast networks.
13589
13590 2006-01-31  Robert Love  <rml@novell.com>
13591
13592         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13593           preprocessor define (still 20s).  Fix message text in nm_info()
13594           s/too too/took too/.
13595
13596 2006-01-30  Dan Williams  <dcbw@redhat.com>
13597
13598         * src/nm-device-802-11-wireless.c
13599                 - (supplicant_monitor_start): increase connect/auth timeout to
13600                         20 seconds from 10 seconds
13601
13602 2006-01-30  Dan Williams  <dcbw@redhat.com>
13603
13604         * src/Makefile.am
13605                 - Define LOCALSTATEDIR
13606
13607         * src/nm-device-802-11-wireless.c
13608                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13609                         socket where we want it to
13610
13611         * src/wpa_ctrl.[ch]
13612                 - (wpa_ctrl_open): accept location to put local control socket
13613
13614 2006-01-30  Robert Love  <rml@novell.com>
13615
13616         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13617           get_ip4_string() for "domain_name".
13618
13619 2006-01-30  Robert Love  <rml@novell.com>
13620
13621         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13622           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13623           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13624           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13625           support for "Automatic" pairwise and group cipher configuration by
13626           letting wpa_supplicant handle the details.  Add UI elements, new
13627           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13628           charm.  Note this does more than add a nice feature, it fixes a bug.
13629           Apparently, some people have AP's where the pairwise cipher does not
13630           match the group cipher.  Insane, but true.
13631
13632 2006-01-30  Dan Williams  <dcbw@redhat.com>
13633
13634         * gnome/applet/applet-dbus-devices.c
13635                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13636                         functions, grab device driver name from NetworkManager
13637                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13638
13639         * gnome/applet/applet.c
13640                 - (nmwa_update_info): show driver name in Connection Information
13641                         dialog
13642
13643         * gnome/applet/nm-device.[ch]
13644                 - (network_device_get_driver, network_device_set_driver): add
13645                         accessors for driver name
13646
13647         * gnome/applet/wireless-applet.glade
13648                 - Add line for driver name to Connection Information dialog
13649
13650         * src/nm-dbus-device.c
13651                 - (nm_dbus_device_get_driver): new function to return driver name
13652                 - (nm_dbus_device_methods): hook up driver name function to dbus
13653
13654         * test/nm-tool.c
13655                 - (get_driver_name): new function
13656                 - (detail_device): grab and show driver name
13657
13658 2006-01-30  Robert Love  <rml@novell.com>
13659
13660         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13661           does not parse the markup if it is not part of the format.
13662
13663 2006-01-30  Robert Love  <rml@novell.com>
13664
13665         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13666           FALSE, we have no security options for this dialog, so we throw up
13667           an error dialog instead of a broken passphrase dialog.  Fixes
13668           Novell #138404.
13669         * gnome/applet/wireless-security-manager.c,
13670           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13671           does not add any security options, not even NONE, print a warning
13672           and return FALSE.  This let's functions constructing a dialog bail
13673           out if the device's capabilities and the network's requirements have
13674           zero overlap.
13675
13676 2006-01-27  Robert Love  <rml@novell.com>
13677
13678         * configure.in: Require wpa_supplicant.  Detect location of binary and
13679           use it.  Override with "--with-wpa_supplicant=foo".
13680         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13681           path to wpa_supplicant but use the auto-detected or user-provided
13682           value from configure.
13683
13684 2006-01-27  Robert Love  <rml@novell.com>
13685
13686         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13687           but the DHCP server did not return a hostname, try to look up our
13688           name via DNS and set the system hostname to that.
13689
13690 2006-01-27  Dan Williams  <dcbw@redhat.com>
13691
13692         * src/backends/NetworkManagerRedHat.c
13693                 - Add NM_CONTROLLED system network script support for RH/Fedora
13694
13695 2006-01-27  Dan Williams  <dcbw@redhat.com>
13696
13697         * src/backends/NetworkManagerGentoo.c
13698                 - (nm_system_device_get_disabled): add missing function.
13699                         Gnome BZ #328780
13700
13701 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13702
13703         * configure.in: Added vi in ALL_LINGUAS line.
13704         
13705 2006-01-26  Robert Love  <rml@novell.com>
13706
13707         * src/Makefile.am, src/kernel-types.h: Now that two different source
13708           files are feeling the crack-addled leakage of kernel types such as
13709           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13710           types in user-space -- define a header and include it as needed.
13711         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13712         * src/nm-device-802-3-ethernet.h: Remove defines.
13713         * src/wpa.c: Remove defines and include kernel-types.h.
13714
13715 2006-01-26  Robert Love  <rml@novell.com>
13716
13717         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13718           work.
13719
13720 2006-01-26  Robert Love  <rml@novell.com>
13721
13722         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13723         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13724           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13725           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13726           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13727           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13728           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13729           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13730           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13731           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13732           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13733           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13734           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13735           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13736           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13737           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13738           Kill unused variables, labels, and static functions.  Don't pass
13739           string literals as the format string for printf-like functions.
13740
13741 2006-01-25  Dan Williams  <dcbw@redhat.com>
13742
13743         * gnome/applet/wireless-applet.glade
13744                 - Remove WPA2 Checkbox
13745
13746         * gnome/applet/wireless-security-manager.c
13747                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13748                         This means the Wireless Security menu now has two WPA options,
13749                         one for "WPA Personal" and one for "WPA2 Personal"
13750
13751         * gnome/applet/wso-wpa-psk.[ch]
13752                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13753                         'wpa2' argument to determine WPA version to use
13754                 - (append_dbus_params_func): pass stored WPA version to cipher
13755                         rather than using the (removed) checkbox
13756
13757 2006-01-24  Robert Love  <rml@novell.com>
13758
13759         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13760           before we g_strdup(), not the ultimate string.
13761
13762 2006-01-23  Dan Williams  <dcbw@redhat.com>
13763
13764         * src/NetworkManagerAP.[ch]
13765                 - (nm_ap_new_from_ap): copy original essid too
13766                 - (nm_ap_unref): free original essid
13767                 - (nm_ap_get_orig_essid): new function
13768                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13769                         but keep original essid around too
13770
13771         * src/nm-device-802-11-wireless.c
13772                 - (supplicant_send_network_config): send wpa_supplicant the
13773                         _original_ essid, and not as a string, but in hex.  Should
13774                         allow us to connect to more APs that use wierd character
13775                         encodings for their essids
13776
13777         * utils/nm-utils.[ch]
13778                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13779                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13780                         use the current locale as a hint for what encoding the essid
13781                         might be in.  Obviously not 100% accurate, but the idea here is
13782                         that if a user's locale is ex. ja_JP, they are more likely than
13783                         not to be in Japan, where access points will likely be in some
13784                         Japanese encoding.
13785
13786 2006-01-23  Dan Williams  <dcbw@redhat.com>
13787
13788         * libnm-util/cipher-private.h
13789           libnm-util/cipher.c
13790           libnm-util/cipher.h
13791                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13792
13793 2006-01-23  Robert Love  <rml@novell.com>
13794
13795         Patch by Timo Hoenig <thoenig@suse.de>:
13796         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13797           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13798           by DHCP and pass it to the backends, allowing distribution-specific
13799           behavior with respect to the DHCP-supplied hostname (if nothing else,
13800           some distributions might not want to set the hostname).
13801         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13802           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13803           Also update our NIS behavior.
13804         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13805           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13806           Add stub functions.
13807
13808 2006-01-23  Robert Love  <rml@novell.com>
13809
13810         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13811           gnome-session does autostart.  TODO: We need to install this to
13812           $prefix/share/autostart/.
13813
13814 2006-01-22  Dan Williams  <dcbw@redhat.com>
13815
13816         * src/NetworkManagerAP.[ch]
13817           src/nm-dbus-nmi.c
13818           src/nm-device-802-11-wireless.c         
13819                 - Make nm_ap_get_essid return "const char *"
13820
13821 2006-01-22  Dan Williams  <dcbw@redhat.com>
13822
13823         * src/NetworkManagerAP.[ch]
13824                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13825
13826         * src/NetworkManagerAPList.[ch]
13827                 - (nm_ap_list_diff): removed
13828                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13829                         deal with access points changing essids on us
13830
13831         * src/nm-device-802-11-wireless.c
13832                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13833                         src/NetworkManagerAPList.c
13834                 - (real_can_interrupt_activation): new function; allow interruption
13835                         of device activation if we are waiting for a network key
13836
13837         * src/NetworkManagerPolicy.c
13838                 - (nm_policy_device_change_check): allow interruption of currently
13839                         activating devices if the device allows it.  Previous behavior
13840                         would refuse to activate a just-plugged wired device if a
13841                         wireless device was waiting for a key.
13842
13843         * src/nm-device.[ch]
13844                 - (nm_device_can_interrupt_activation): new function; ask devices
13845                         whether their activation can be interrupted
13846
13847 2006-01-20  Robert Love  <rml@novell.com>
13848
13849         * Makefile.am, configure.in: Add new man subdirectory.
13850         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13851           man/Makefile.am: Add man pages for NetworkManager and its
13852           crime-solving bumbling buddy, NetworkManagerDispatcher.
13853         * man/.cvsignore: Add.
13854         * initscript/Debian/NetworkManager,
13855           initscript/Gentoo/NetworkManager.in,
13856           initscript/RedHat/NetworkManager.in,
13857           initscript/RedHat/NetworkManagerDispatcher.in,
13858           initscript/SUSE/networkmanager-dispatcher.in,
13859           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13860
13861 2006-01-20  Robert Love  <rml@novell.com>
13862
13863         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13864           instead of queuing.  This prevents the running of multiple NM
13865           daemons concurrently, which does not work whatsoever and results in
13866           neither daemon working correctly.  Also, we don't handle queuing and
13867           name-owner-changes, anyhow.
13868
13869 2006-01-20  Robert Love  <rml@novell.com>
13870
13871         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13872         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13873           to sbin, not bin.
13874
13875 2006-01-19  Robert Love  <rml@novell.com>
13876
13877         * configure.in: Require hal 0.5.0 or later.
13878
13879 2006-01-18  Robert Love  <rml@novell.com>
13880
13881         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13882           Allow backends to flag a device (in whatever distro-dependent way
13883           they so desire) as disabled.  NM will ignore any such device.
13884         * src/backends/NetworkManagerDebian.c,
13885           src/backends/NetworkManagerRedHat.c,
13886           src/backends/NetworkManagerSlackware.c: Add stub function
13887           nm_system_device_get_disabled() that always returns FALSE (enabled).
13888         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13889           SUSE-specific configuration structure.  Fill it in from the
13890           NM_CONTROLLED variable in the system networking scripts.  If this var
13891           exists and is "no", we ignore the device.
13892
13893 2006-01-17  Robert Love  <rml@novell.com>
13894
13895         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13896           identical for NM.  For a full discussion, see the thread at
13897           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13898
13899 2006-01-17  Dan Williams  <dcbw@redhat.com>
13900
13901         * src/nm-device.c
13902                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13903                         function.  Fixes crash when wired DHCP fails.
13904
13905 2006-01-16  Robert Love  <rml@novell.com>
13906
13907         * src/Makefile.am: Don't install NMLoadModules
13908         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13909           from src/ to test/ as no one uses it anymore.  Note that I would be
13910           fine with removing it altogether.
13911
13912 2006-01-16  Robert Love  <rml@novell.com>
13913
13914         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13915           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13916           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13917           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13918           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13919           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13920           declarations, ever.
13921         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13922           NM_STATE_DISCONNECTED is zero).
13923
13924 2006-01-16  Robert Love  <rml@novell.com>
13925
13926         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13927           uninitialized parameter and buffer overflow.  Novell #143496.
13928
13929 2006-01-16  Dan Williams  <dcbw@redhat.com>
13930
13931         Apply the PtP Address bits of a patch from Tim Niemueller
13932
13933         * src/nm-ip4-config.[ch]
13934                 - Add ip4_ptp_address member to object
13935                 - (nm_ip4_config_copy): copy ptp address too
13936                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13937                         new functions
13938                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13939                         rather than local tunnel ip address
13940
13941         * src/vpn-manager/nm-vpn-service.c
13942                 - (print_vpn_config): update for PtP address
13943                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13944                         DBusMessageIters in preparation for getting routes from the VPN
13945                         service daemons too
13946
13947         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13948                 - (send_config_info): update for PtP address, clean up code
13949                 - (main): update for PtP address, clean up code, fix typo
13950
13951         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13952                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13953
13954         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13955                 - (pptp_ip_up): update for PtP address
13956
13957         * vpn-daemons/pptp/src/nm-pptp-service.c
13958                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13959
13960         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13961                 - (print_vpn_config): update for PtP address
13962                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13963
13964 2006-01-16  Dan Williams  <dcbw@redhat.com>
13965
13966         * gnome/applet/applet.c
13967                 - (nmwa_add_networks_helper): don't indicate an active network
13968                         if NM is disconnected or asleep
13969
13970 2006-01-16  Dan Williams  <dcbw@redhat.com>
13971
13972         * src/NetworkManagerPolicy.c
13973                 - (nm_policy_device_change_check): switch devices if we lose the link
13974                         on an ethernet device. 
13975
13976 2006-01-16  Dan Williams  <dcbw@redhat.com>
13977
13978         * gnome/applet/wso-wpa-psk-hex.[ch]
13979                 - Renamed -> wso-wpa-psk.[ch]
13980
13981         * gnome/applet/wso-wpa-psk.[ch]
13982                 - New files
13983
13984         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13985                 - Removed, rolled into wso-wpa-psk.[ch]
13986
13987         * gnome/applet/Makefile.am
13988                 - Updated for above changes
13989
13990         * gnome/applet/wireless-applet.glade
13991                 - Consolidate WPA-PSK options into one notebook
13992                         widget, and make dialogs invisible by default
13993                         to fix screen oddities
13994
13995         * gnome/applet/wireless-security-manager.c
13996                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13997                         than both the old hex & passphrase ones
13998
13999 2006-01-16  Dan Williams  <dcbw@redhat.com>
14000
14001         * gnome/applet/other-network-dialog.c
14002                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14003
14004 2006-01-16  Dan Williams  <dcbw@redhat.com>
14005
14006         * gnome/applet/applet.c
14007                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14008                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14009                         prevention to realize window before trying to get server
14010                         time
14011
14012         * gnome/applet/other-network-dialog.c
14013                 - (nmwa_other_network_dialog_run): fix up focus-stealing
14014                         prevention to realize window before trying to get server
14015                         time
14016
14017         * gnome/applet/passphrase-dialog.c
14018                 - (nmi_passphrase_dialog_new): fix up focus-stealing
14019                         prevention to realize window before trying to get server
14020                         time
14021
14022 2006-01-16  Robert Love  <rml@novell.com>
14023
14024         Patch from Timo Hoenig  <thoenig@suse.de:
14025         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14026           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14027           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14028           libnm-util/dbus-helpers.h: add checks whether headers are used
14029           within a C++ build.
14030
14031 2006-01-16  Dan Williams  <dcbw@redhat.com>
14032
14033         * gnome/applet/wireless-security-option.c
14034                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14035
14036 2006-01-16  Dan Williams  <dcbw@redhat.com>
14037
14038         * libnm-util/cipher-wpa-psk-passphrase.c
14039                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14040                         be 8 - 63 characters inclusive
14041
14042 2006-01-16  Dan Williams  <dcbw@redhat.com>
14043
14044         * src/nm-dbus-nm.c
14045                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14046
14047 2006-01-13  Robert Love  <rml@novell.com>
14048
14049         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14050         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14051           modules that do not use an interface.
14052
14053 2006-01-13  Dan Williams  <dcbw@redhat.com>
14054
14055         * src/nm-device.c
14056           src/nm-device.h
14057                 - Allow subclasses to implement deactivate_quickly()
14058                 - (nm_device_deactivate_quickly): call subclass
14059                         deactivate_quickly() methods
14060                 - (nm_device_set_active_link): small cleanups, and don't
14061                         deactivate the device right away because we risk a deadlock
14062                         when called from device thread, waiting for the device
14063                         thread to cancel activation
14064
14065         * src/nm-device-802-11-wireless.c
14066                 - (real_deactivate_quickly): new function
14067                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14068                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14069                         so that we kill the supplicant when we sleep too
14070                 - (supplicant_interface_init): work around naive naming attempts of
14071                         wpa_ctrl when naming sockets
14072
14073 2006-01-13  Dan Williams  <dcbw@redhat.com>
14074
14075         * src/nm-device-802-11-wireless.c
14076                 - (supplicant_cleanup): delete old device control sockets too
14077                 - (supplicant_get_device_socket_path): new function to consolidate
14078                         locations that need a path to a device's control socket
14079
14080 2006-01-12  Robert Love  <rml@novell.com>
14081
14082         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14083           description so that the description is unique for each
14084           pair (device,provider).  Fixes Novell #142773.
14085
14086 2006-01-12  Dan Williams  <dcbw@redhat.com>
14087
14088         * src/nm-device-802-11-wireless.c
14089                 - (supplicant_exec): ensure GError is correctly initialized
14090                         Reported by Diego González (gnome.org #326708)
14091
14092 2006-01-11  Robert Love  <rml@novell.com>
14093
14094         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14095           define if_mii(), open code the same results, and do so without any
14096           type punning.
14097
14098 2006-01-11  Robert Love  <rml@novell.com>
14099
14100         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14101           that wso_foo_new() returned non-NULL.  Instead, only append the new
14102           wso to wsm->options if the wso is non-NULL.  The crux is that we
14103           assume that the relevant key types are implied by WEP and WPA as
14104           appropriate.  To be sure, they should be, but we should not expect
14105           drivers to not be oozing piles of wolf fecal matter.
14106
14107 2006-01-11  Robert Love  <rml@novell.com>
14108
14109         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14110         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14111           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14112           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14113           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14114           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14115           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14116         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14117           comparing values within DBL_EPSILON.  Also fix shadowed variable
14118           usage.
14119
14120 2006-01-11  Dan Williams  <dcbw@redhat.com>
14121
14122         Add options for WPA2 and WPA1+CCMP (AES).
14123
14124         * gnome/applet/wireless-applet.glade
14125                 - Add UI bits for WPA+CCMP
14126
14127         * gnome/applet/other-network-dialog.c
14128                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14129                         and don't allow creation of WPA2 Ad-Hoc networks since
14130                         wpa_supplicant doesn't support them
14131
14132         * gnome/applet/wireless-security-manager.c
14133                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14134                         on to the specific wireless security option being created
14135
14136         * gnome/applet/wireless-security-option.[ch]
14137                 - (wso_wpa_create_key_type_model): new utility function to create
14138                         the model required for WPA Key Type combo box
14139
14140         * gnome/applet/wso-private.h
14141           gnome/applet/wireless-security-option.h
14142                 - Move private function prototypes into wso-private.h
14143
14144         * gnome/applet/wso-wpa-psk-hex.[ch]
14145           gnome/applet/wso-wpa-psk-passphrase.[ch]
14146                 - (append_dbus_params_func): get WPA version from checkbox and pass
14147                         it to the dbus serialization helper
14148                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14149                         key type combo changes
14150                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14151                         model and options
14152
14153         * libnm-util/cipher-wpa-psk-hex.c
14154           libnm-util/cipher-wpa-psk-passphrase.c
14155                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14156                         new function; allow the cipher to be changed after object creation
14157
14158         * src/nm-ap-security-wpa-psk.c
14159                 - (set_description): Do WPA2 descriptions too
14160
14161         * src/nm-ap-security.c
14162                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14163
14164 2006-01-11  Robert Love  <rml@novell.com>
14165
14166         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14167           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14168           from the ifreq structure in lieu of an open coded solution.  Removes
14169           a life-threatening type-punning.
14170         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14171           types, ever, whatsoever, baby.
14172
14173 2006-01-11  Robert Love  <rml@novell.com>
14174
14175         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14176           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14177           assignments to applet->nm_state into a new nmwa_set_state() function
14178           for both cleanliness and to help debugging.
14179
14180 2006-01-10  Robert Love  <rml@novell.com>
14181
14182         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14183           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14184           seconds, exclusive.  That is, we want to sleep x seconds such that
14185           1 < x < 2.
14186
14187 2006-01-10  Robert Love  <rml@novell.com>
14188
14189         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14190           the attr fields according to the example in the email available at
14191           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14192           Conversely, we do have to free 'name', so we do so, fixing a leak.
14193
14194 2006-01-10  Robert Love  <rml@novell.com>
14195
14196         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14197           sure that we close the socket!
14198
14199 2006-01-10  Robert Love  <rml@novell.com>
14200
14201         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14202           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14203           src/nm-device.c: Fix a FIXME!  Reimplement the function
14204           nm_device_update_hw_address() in device subclass variants,
14205           nm_device_802_3_ethernet_set_address() and
14206           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14207           This fixes the existing bug where MAC addresses are all zeros.
14208
14209 2006-01-10  Robert Love  <rml@novell.com>
14210
14211         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14212           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14213           option to give users ability to globally disconnect and put NM to
14214           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14215           clean disconnect.
14216
14217 2006-01-09  Robert Love  <rml@novell.com>
14218
14219         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14220           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14221           User-space does not supply these types, so we have to define them
14222           ourselves.  The relevant kernel maintainer refused to accept a patch
14223           switching these headers to the proper C99 types.
14224
14225 2006-01-09  Dan Williams  <dcbw@redhat.com>
14226
14227         Apply Robert's 'tray icon redo' patch with fixes
14228         * gnome/applet/applet.c
14229           gnome/applet/applet.h
14230                 - Instead of using a menu bar + menu item, simulate menu
14231                         behavior using a popup menu.  Highlight the area around
14232                         the icon more like a menu too, by playing with the
14233                         applet's size requisition
14234
14235 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14236         * libnm-util/dbus-helpers.c
14237           libnm-util/dbus-helpers.h
14238                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14239                         to 'exception_namespace' (:namespace is a keyword in
14240                         C++)
14241
14242 2006-01-09  Dan Williams  <dcbw@redhat.com>
14243
14244         * src/NetworkManagerPolicy.c
14245                 - (nm_policy_device_change_check): don't autoswitch away from
14246                         Ad-Hoc networks, since there's really no concept of
14247                         "link"
14248
14249         * src/nm-dbus-nm.c
14250                 - (nm_dbus_nm_create_wireless_network): mark created networks
14251                         as Ad-Hoc networks
14252
14253         * src/nm-device-802-11-wireless.c
14254                 - (real_activation_success_handler): add user-created Ad-Hoc
14255                         networks to the device's scan list
14256
14257 2006-01-08  Dan Williams  <dcbw@redhat.com>
14258
14259         We now require a patch for wpa_supplicant to support Ad-Hoc
14260         networks:
14261           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14262
14263         * src/nm-device-802-11-wireless.c
14264                 - (supplicant_send_network_config): turn off wpa_supplicant's
14265                         scanning.  Fixes Ad-Hoc networks.
14266
14267 2006-01-08  Dan Williams  <dcbw@redhat.com>
14268
14269         * src/nm-ap-security.c
14270           src/nm-ap-security.h
14271                 - Add a user_created argument to the write_supplicant_config
14272                         functions
14273
14274         * src/nm-ap-security-wep.c
14275           src/nm-ap-security-wpa-psk.c
14276           src/nm-device-802-11-wireless.c
14277                 - Make Ad-Hoc mode somewhat work, at least write the
14278                         correct options to wpa_supplicant
14279
14280 2006-01-08  Dan Williams  <dcbw@redhat.com>
14281
14282         * src/nm-device-802-11-wireless.c
14283                 - Remove unused code from the old device activation path
14284
14285 2006-01-08  Dan Williams  <dcbw@redhat.com>
14286
14287         * libnm-util/dbus-helpers.c
14288                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14289                         dbus when key == NULL
14290
14291 2006-01-08  Dan Williams  <dcbw@redhat.com>
14292
14293         * gnome/applet/nm-gconf-wso-wpa-psk.c
14294                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14295                         correct arguments to nmu_security_deserialize_wpa_psk()
14296
14297         * src/nm-ap-security-wpa-psk.c
14298                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14299                         arguments to nmu_security_deserialize_wpa_psk()
14300
14301 2006-01-08  Dan Williams  <dcbw@redhat.com>
14302
14303         * gnome/applet/wso-wpa-psk-hex.c
14304           gnome/applet/wso-wpa-psk-passphrase.c
14305                 - Hook up the append_dbus_params_func() function
14306
14307 2006-01-08  Dan Williams  <dcbw@redhat.com>
14308
14309         * src/nm-device-802-11-wireless.c
14310                 - (get_wireless_capabilities): correctly detect driver WPA
14311                         capabilities
14312
14313 2006-01-08  Dan Williams  <dcbw@redhat.com>
14314
14315         * gnome/applet/Makefile.am
14316           gnome/applet/wso-wpa-psk-hex.c
14317           gnome/applet/wso-wpa-psk-hex.h
14318                 - New files, implement WPA-PSK Hex key input
14319
14320         * gnome/applet/wireless-applet.glade
14321                 - Change existing wpa-psk stuff to wpa-psk-hex
14322                 - Add new widgets for wpa-psk-passphrase
14323
14324         * gnome/applet/wireless-security-manager.c
14325                 - (wsm_set_capabilities): enable WPA options
14326
14327         * gnome/applet/wso-wpa-psk-passphrase.c
14328                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14329                         for WPA-PSK passphrase
14330
14331 2006-01-08  Dan Williams  <dcbw@redhat.com>
14332
14333         * include/NetworkManager.h
14334                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14335                         applet/info-daemons
14336
14337         * gnome/applet/passphrase-dialog.c
14338                 - Use the constant.  Fixes a bug where the arguments to
14339                         dbus_message_new_error() were incorrect
14340
14341         * src/nm-dbus-nmi.c
14342                 - Use the constant
14343
14344 2006-01-07  Dan Williams  <dcbw@redhat.com>
14345
14346         * src/nm-device-802-11-wireless.c
14347                 - Add a link timeout so we allow the supplicant time to
14348                         reassociate if it can, before we deactivate the card
14349                 - Fix up link status and link updating so things work better
14350
14351 2006-01-07  Dan Williams  <dcbw@redhat.com>
14352
14353         * src/nm-device-802-11-wireless.c
14354                 - Switch over to using wpa_supplicant
14355                 - Add a timeout of 10s for association of the supplicant
14356                 - Start the monitor callback of the supplicant
14357
14358 2006-01-07  Dan Williams  <dcbw@redhat.com>
14359
14360         * src/NetworkManagerUtils.c
14361                 - (nm_utils_supplicant_request,
14362                   nm_utils_supplicant_request_with_check):
14363                         pass correct buffer length to wpa_ctrl_request()
14364
14365 2006-01-07  Dan Williams  <dcbw@redhat.com>
14366
14367         * src/nm-device-private.h
14368           src/nm-device.c
14369                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14370                         this function available to subclasses
14371
14372 2006-01-06  Robert Love  <rml@novell.com>
14373
14374         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14375           user plugging in a network cable signals their preference for to
14376           switch, unless the user explicitly selected a wireless network and
14377           therefore signaled their preference for said wireless network over
14378           wired.  In other words, do exactly what makes sense.
14379
14380 2006-01-06  Robert Love  <rml@novell.com>
14381
14382         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14383           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14384           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14385           showing up in my greps.
14386
14387 2006-01-06  Robert Love  <rml@novell.com>
14388
14389         * gnome/applet/applet-dbus-devices.c,
14390           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14391           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14392           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14393           New Network' both failed in the non-encrypted case because we were
14394           not appending the security options to the DBUS message.  And
14395           'Connect to Other' was also failing in the encrypted case because
14396           we were not incrementing to the next DBUS parameter.  All fixed.
14397           Thanks to dcdw for some debugging help.
14398
14399 2006-01-06  Robert Love  <rml@novell.com>
14400
14401         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14402           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14403           hangup code and add per-device hangup.  Tie last commit into the
14404           GNOME applet.  TODO:  Save, understand, and respond to the state of
14405           each dialup device.
14406
14407 2006-01-06  Robert Love  <rml@novell.com>
14408
14409         Patch by Timo Hoenig <thoenig@suse.de>:
14410         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14411           hangup specific dialup devices.
14412         * src/backends/NetworkManagerDebian.c,
14413           src/backends/NetworkManagerGentoo.c,
14414           src/backends/NetworkManagerRedHat.c,
14415           src/backends/NetworkManagerSlackware.c: Add stub backend.
14416         * src/backends/NetworkManagerRedHat.c,
14417           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14418           hangup specific dialup devices.
14419
14420 2006-01-04  Robert Love  <rml@novell.com>
14421
14422         * gnome/applet/applet-dbus-devices.c,
14423           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14424           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14425           connections.
14426
14427 2006-01-04  Dan Williams  <dcbw@redhat.com>
14428
14429         First dump of wpa_supplicant-related code.  It's not hooked up to
14430         anything yet though.  Thanks to Kay Sievers for
14431         wpa_supplicant_wrapper.c, which formed the basis for this work,
14432         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14433
14434         * src/Makefile.am
14435           src/wpa_ctrl.[ch]
14436                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14437
14438         * src/NetworkManagerUtils.[ch]
14439                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14440                         Add convenience functions for talking to wpa_supplicant
14441
14442         * src/nm-ap-security.[ch]
14443           src/nm-ap-security-wep.c
14444           src/nm-ap-security-wpa-psk.[ch]
14445                 - Update and implement real_write_supplicant_config functions
14446                         in all security types
14447                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14448                         nm-ap-security-wpa-psk.c
14449
14450         * src/nm-device-802-11-wireless.c
14451                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14452                    wpa_supplicant_start, wpa_supplicant_interface_init,
14453                    wpa_supplicant_send_network_config): add functions to talk to
14454                         wpa_supplicant and write network config to it
14455
14456 2006-01-04  Robert Love  <rml@novell.com>
14457
14458         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14459           values so that distribution-backends can differentiate between the
14460           various types (modem, ISDN, et cetera) of dialup device that they
14461           support.
14462         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14463           needed.
14464
14465 2006-01-03  Dan Williams  <dcbw@redhat.com>
14466
14467         * src/NetworkManagerPolicy.c
14468           src/nm-device.[ch]
14469           src/nm-device-802-11-wireless.c
14470                 - Move wireless-specific activation failure and success code
14471                         into wireless device class
14472
14473 2006-01-03  Robert Love  <rml@novell.com>
14474
14475         Patch by Preggna S:
14476         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14477           IPsec does not require that a VPN client be bound to an interface,
14478           due to the use of the in-kernel IPSec bits.  So make the tunnel
14479           device optional.
14480
14481 2006-01-03  Dan Williams  <dcbw@redhat.com>
14482
14483         * src/NetworkManagerAP.c
14484                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14485                         the WPA IE specifies that WEP is supported
14486
14487         * src/nm-device-802-11-wireless.c
14488                 - (process_scan_results): don't mark an AP as supporting WEP
14489                         if there's already other encryption capability info
14490
14491 2006-01-03  Dan Williams  <dcbw@redhat.com>
14492
14493         * src/dhcp-manager/nm-dhcp-manager.c
14494                 - Recognize activation cancellation when waiting for DHCP
14495                         configuration from dhcdbd
14496                 - Ignore non-dhcdbd messages
14497
14498         * src/nm-device.c
14499                 - (real_act_stage3_ip_config_start): return to correct behavior
14500                         of letting the dhcp-manager notify us of failure or
14501                         success rather than incorrectly doing that ourselves
14502                 - (nm_device_activate_stage4_ip_config_get): deal with
14503                         activation cancellation a bit earlier
14504
14505 2006-01-03  Dan Williams  <dcbw@redhat.com>
14506
14507         * src/nm-device-802-11-wireless.c
14508           src/nm-device.[ch]
14509                 - Add hooks to subclasses for stage3_ip_config_start and
14510                         stage4_ip_config_timeout
14511
14512         * src/nm-device-802-3-ethernet.c
14513                 - (real_get_generic_capabilities): make devices NM-supported
14514                         by default
14515
14516 2006-01-03  Robert Love  <rml@novell.com>
14517
14518         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14519           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14520           latter cannot differentiate between error and the address -1; misc.
14521           clean up.
14522
14523 2006-01-03  Dan Williams  <dcbw@redhat.com>
14524
14525         * src/NetworkManager.c
14526                 - Move link-checking/probing into the device subclasses
14527                         themselves
14528
14529         * src/nm-device.[ch]
14530           src/nm-device-802-11-wireless.c
14531           src/nm-device-802-3-ethernet.c
14532                 - Do periodic link checking in device subclasses rather
14533                         than being triggered from NetworkManager.c
14534                 - discover_wireless_capabilities -> get_wireless_capabilities
14535                 - discover_generic_capabilities -> get_generic_capabilities
14536                 - Device subclass activation routines now return a value of type
14537                         NMActStageReturn to indicate what step to perform next
14538                 - Devices now override stage4_get_ip4_config if they choose
14539
14540 2006-01-01  Dan Williams  <dcbw@redhat.com>
14541
14542         * src/nm-device-802-11-wireless.c
14543                 - (real_init): don't chain up to parent init because we don't
14544                         need to do that anymore
14545
14546         * src/nm-device.c
14547                 - (discover_device_type): fix arguments to ioctl() to correctly
14548                         pass interface name
14549                 - (nm_device_new): consolidate generic device initialization into
14550                         nm_device_new()
14551                 - (real_init): remove, consolidated to nm_device_new()
14552                 - (nm_device_deactivate, real_deactivate): consolidate
14553
14554 2006-01-01  Dan Williams  <dcbw@redhat.com>
14555
14556         * src/nm-activation-request.c
14557                 - Change dhcp_state member of the NMActRequest structure
14558                         from guint8 to guint32
14559
14560         * src/dhcp-manager/nm-dhcp-manager.[ch]
14561                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14562                         than guint8 to match the dbus argument.  Turns out we were
14563                         overwriting memory since we were passing in only a guint8
14564
14565 2005-12-31  Dan Williams  <dcbw@redhat.com>
14566
14567         * refactor NMDevice into a GObject-based framework with separate
14568                 objects for wired and wireless.  The following files are no
14569                 longer used but should stick around for a bit so we don't
14570                 loose code through the cracks:
14571                         NetworkManagerDevice.c
14572                         NetworkManagerDevice.h
14573                         NetworkManagerWireless.c
14574                         NetworkManagerWireless.h
14575
14576         The intent here is to allow each device type to manage its own
14577         connection & activation life-cycle, ie to allow wireless devices
14578         to interface with wpa_supplicant, etc.  There's a fair bit of
14579         encapsulation breakage right now that should gradually get pulled
14580         back into each device, along with things like periodic property
14581         updates and link probing.
14582
14583 2005-12-29  Dan Williams  <dcbw@redhat.com>
14584
14585         * include/NetworkManager.h
14586                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14587                         between networks that don't have any encryption at all
14588
14589 2005-12-29  Dan Williams  <dcbw@redhat.com>
14590
14591         * test/test-common.c
14592           test/test-common.h
14593           test/Makefile.am
14594                 - Move to a test-common subdirectory
14595
14596         * test/libnm-util/test-ciphers.c
14597                 - Move test data to test-inputs.h
14598                 - Test WPA ciphers too
14599
14600         * test/libnm-util/test-dbus-helpers.c
14601                 - Test serialization/deserialization of ciphers
14602
14603 2005-12-29  Dan Williams  <dcbw@redhat.com>
14604
14605         * gnome/applet/applet-dbus-devices.c
14606                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14607                         in dbus calls to NM
14608                 - Set capabilities on WirelessNetwork objects
14609                 - Receive and save type-specific device capabilities too
14610
14611         * gnome/applet/applet-dbus-info.c
14612           gnome/applet/applet-dbus.c
14613                 - Passphrase dialog no longer a singleton; new instance gets created
14614                         on each request.  Updates to deal with that.
14615
14616         * gnome/applet/applet.c
14617                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14618                         than single 'encrypted' flag
14619                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14620                         menu items
14621                 - Passphrase dialog updates per above
14622
14623         * gnome/applet/menu-items.c
14624                 - (network_menu_item_update): use AP capabilities to determine
14625                         encryption
14626
14627         * gnome/applet/nm-device.[ch]
14628                 - Add accessors for type-specific device capabilities
14629
14630         * gnome/applet/other-network-dialog.c
14631                 - Rework to respect device capabilities.  i.e., if the device doesn't
14632                         support WPA, remove that option from the security dropdown
14633
14634         * gnome/applet/passphrase-dialog.c
14635                 - Massive rework so that a new instance is created each time
14636                         it's used, to support wireless network capabilities
14637
14638         * gnome/applet/wireless-network.[ch]
14639                 - Add accessors and members for wireless network capabilities
14640
14641         * gnome/applet/wireless-security-manager.[ch]
14642                 - (wsm_set_capabilities): called after creation to set which
14643                         security options get shown to the user
14644
14645 2005-12-29  Dan Williams  <dcbw@redhat.com>
14646
14647         * libnm-util/cipher-wpa-psk-passphrase.c
14648                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14649                         like other ciphers
14650
14651 2005-12-23  Dan Williams  <dcbw@redhat.com>
14652
14653         * gnome/applet/applet-dbus-info.c
14654                 - (nmi_dbus_get_key_for_network): if there's no entry in
14655                         GConf for a network, assume we want a new key
14656                 - (nmi_save_network_info): serialize wireless security info
14657                         into GConf so its saved
14658
14659         * src/nm-dbus-nm.c
14660                 - Fix warning as we may not be passed security info when
14661                         connecting to a wireless network
14662
14663 2005-12-23  Dan Williams  <dcbw@redhat.com>
14664
14665         * gnome/applet/applet-compat.c
14666                 - Fix bugs in GConf entry conversion
14667
14668         * gnome/applet/applet-dbus-info.c
14669                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14670                         list being zero-length
14671
14672         * libnm-util/cipher-*
14673           libnm-util/dbus-helpers.c
14674                 - All ciphers must now return hashed keys as UTF-8 valid
14675                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14676                         through dbus as strings too.
14677                 - Consolidate various functions that do bin->hex and hex->bin
14678                         conversion into cipher.c
14679
14680         * src/nm-ap-security-wep.c
14681           src/nm-ap-security-wpa-psk.c
14682                 - Handle NULL keys since we may not know keys right away
14683
14684         * src/nm-dbus-nmi.c
14685                 - (nm_dbus_get_network_data_cb): actually advance to the start
14686                         of the wireless security info before we try to deserialize it
14687
14688         * libnm-util/test-ciphers.c
14689                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14690
14691 2005-12-22  Dan Williams  <dcbw@redhat.com>
14692
14693         * gnome/applet/applet-compat.[ch]
14694                 - Convert old-format GConf and keyring entries
14695                         when the applet starts up.
14696
14697         * gnome/applet/applet.c
14698                 - (nmwa_get_instance): Call the conversion function
14699                         on startup before dbus is initialized
14700
14701 2005-12-22  Dan Williams  <dcbw@redhat.com>
14702
14703         * gnome/applet/applet-dbus-info.c
14704                 - Remove nmi_dbus_create_error_message() in favor of
14705                         nmu_create_dbus_error_message()
14706                 - (nmi_dbus_get_network_properties): Error message cleanups
14707                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14708                         gconf key rather than 'addresses', since they really are BSSIDs
14709                 - (nmi_dbus_get_network_properties): Dispose of the security
14710                         object when we're done with it
14711
14712 2005-12-21  Dan Williams  <dcbw@redhat.com>
14713
14714         * Consolidate the info-daemon's "updateNetworkInfo" and
14715                 "addNetworkAddress" calls into just "updateNetworkInfo"
14716
14717 2005-12-21  Dan Williams  <dcbw@redhat.com>
14718
14719         * Make connection after key retrieval work again
14720
14721 2005-12-21  Dan Williams  <dcbw@redhat.com>
14722
14723         * gnome/applet/nm-gconf-wso*
14724                 - Make the serialize functions return gboolean
14725                         rather than int
14726
14727         * gnome/applet/nm-gconf-wso.c
14728                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14729                         parent class handling so we don't segfault
14730
14731         * src/NetworkManagerAP.[ch]
14732                 - (nm_ap_get_capabilities): new function, return capabilities
14733                         now that something can use them
14734                 - (nm_ap_set_encrypted): assume that an access point supports
14735                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14736                         we even tell whether it just supports WEP40?
14737
14738         * src/NetworkManagerDevice.c
14739                 - (ap_need_key): resurrect and update for the New World Order
14740                 - (nm_device_wireless_get_activation_ap): if we're not given
14741                         security info to use, create some based on access point
14742                         capabilities
14743
14744         * src/nm-ap-security-wep.c
14745                 - (nm_ap_security_wep_new_from_ap): create a new object
14746                         based on a certain access point's capabilities
14747
14748         * src/nm-ap-security.c
14749                 - (nm_ap_security_new_from_ap): delegate creation of a new
14750                         object based on access point capabilities to a subclass
14751                 - (nm_ap_security_copy_properties): don't segfault if we
14752                         don't have a key yet
14753
14754         * src/nm-dbus-nm.c
14755                 - (nm_dbus_nm_set_active_device): provide more informative
14756                         output when errors occur.  Also construct security info
14757                         for a given access point if we weren't given any
14758
14759 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14760
14761         * configure.in: Added Lithuanian to ALL_LINGUAS.
14762
14763 2005-12-21  Dan Williams  <dcbw@redhat.com>
14764
14765         * test/libnm-util
14766                 - Add some testcases for WEP ciphers
14767
14768 2005-12-17  Dan Williams  <dcbw@redhat.com>
14769
14770         * Fix bugs
14771
14772 2005-12-17  Dan Williams  <dcbw@redhat.com>
14773
14774         * include/NetworkManager.h
14775                 - Finally kill NMEncKeyType
14776
14777         * gnome/applet/applet-dbus-info.c
14778                 - (nmi_save_network_info): convert to NMGConfWSO
14779
14780         * gnome/applet/nm-gconf-wso-*.c
14781                 - Implement gconf serialization functions
14782
14783         * src/NetworkManagerPolicy.c
14784                 - (nm_policy_activation_finish): fix up meaning of
14785                         automatic/user_requested
14786
14787 2005-12-17  Dan Williams  <dcbw@redhat.com>
14788
14789         * gnome/applet/*
14790                 - More applet cleanups
14791                 - Use the dbus-method-dispatcher
14792
14793         * libnm-util/dbus-method-dispatcher.[ch]
14794                 - Generalize the implementation from NM in
14795                         NetworkManagerUtils.c
14796
14797 2005-12-16  Dan Williams  <dcbw@redhat.com>
14798
14799         * gnome/applet/*
14800                 - Fix up the passphrase dialog to use all the
14801                         WirelessSecurityOption stuff (untested)
14802
14803 2005-12-16  Dan Williams  <dcbw@redhat.com>
14804
14805         * Move nm_gconf_get_*_helper() functions to separate files,
14806                 gconf-helpers.c & gconf-helpers.h
14807
14808         * New NMGConfWSO objects for managing the gconf side of things.
14809                 Eventually these should be merged with the
14810                 WirelessSecurityOption objects and a common base (that can
14811                 serialize/deserialize from dbus & gconf) should be
14812                 refactored out, but for now they are separate.
14813
14814 2005-12-16  Robert Love  <rml@novell.com>
14815
14816         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14817           binaries unless they exist (nm_spawn_process() emits a warning if
14818           asked to spawn a non-existant process).
14819
14820 2005-12-16  Dan Williams  <dcbw@redhat.com>
14821
14822         * gnome/applet/applet-dbus-info.c
14823                 - Clean up lots of gconf-related code
14824
14825 2005-12-16  Robert Love  <rml@novell.com>
14826
14827         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14828
14829 2005-12-16  Dan Williams  <dcbw@redhat.com>
14830
14831         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14832
14833         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14834                 bits still to be done)
14835
14836 2005-12-16  Dan Williams  <dcbw@redhat.com>
14837
14838         * Finally move info-daemon related stuff out of
14839                 NetworkManagerDbus.c to nm-dbus-nmi.c
14840
14841 2005-12-16  Dan Williams  <dcbw@redhat.com>
14842
14843         * Kill auth_method for access points, since that's now done
14844                 by NMAPSecurity objects
14845
14846         * Add a copy-constructor of sorts to NMAPSecurity
14847                 (how do you do this properly in glib???)
14848
14849 2005-12-15  Dan Williams  <dcbw@redhat.com>
14850
14851         * Exorcise encryption key hashing on APs
14852         * Use libnm-util's serialization/deserialization in both the
14853                 applet and NM
14854         * Random other stuff
14855
14856 2005-12-15  Robert Love  <rml@novell.com>
14857
14858         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14859           is being added to the icon naming spec, so let's use that (Tango CVS
14860           has the icon).  Because it is new, however, we fall back to the
14861           current "gnome-lockscreen" if the new icon is not around, thus
14862           behavior is the same.
14863         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14864           factory junk.
14865
14866 2005-12-15  Robert Love  <rml@novell.com>
14867
14868         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14869           well, help to give.  Couple other misc. bits.
14870
14871 2005-12-15  Dan Williams  <dcbw@redhat.com>
14872
14873         * libnm-util/dbus-helpers.[ch]
14874                 - Make this the one-stop-shop for serializing/deserializing
14875                         AP & connection security settings over dbus.  Both NM
14876                         and applets should use this to ensure consistent dbus
14877                         API going forwared.
14878
14879 2005-12-15  Robert Love  <rml@novell.com>
14880
14881         Patch by Timo Hoenig  <thoenig@suse.de>:
14882         * src/NetworkManagerDbus.c
14883                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14884                         if HAL jumps off the system bus.  Otherwise libdbus
14885                         (dbus_connection_dispatch) will try to run the filter
14886                         function of our libhal context which is already freed.
14887
14888 2005-12-15  Alexander Shopov  <ash@contact.bg>
14889
14890         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14891
14892 2005-12-14  Dan Williams  <dcbw@redhat.com>
14893
14894         * include/NetworkManager.h
14895           src/NetworkManagerWireless.c
14896                 - Rearrange 802.11 wireless-specific capabilities again
14897
14898         * src/Makefile.am
14899                 - Forgot to add wpa.c/wpa.h to the makefiles
14900
14901         * src/NetworkManagerAP.[ch]
14902                 - Implement access point capabilities and parse the
14903                         WPA/RSN IEs into the capability bitfield
14904                 - Switch the "encrypted" attribute to utilize the bitfield
14905                         and capabilities rather than being independent
14906
14907         * src/NetworkManagerDevice.c
14908                 - (nm_device_wireless_get_activation_ap): break it horribly
14909                         until we can push NMAPSecurity objects into access point
14910                         objects and through the activation chain
14911                 - Stuff WPA & RSN IEs into AP capabilities
14912
14913         * src/nm-dbus-nm.c
14914                 - Take a shot at actually making setActiveDevice work
14915
14916         * src/wpa.[ch]
14917                 - Make the API a bit saner
14918
14919 2005-12-14  Dan Williams  <dcbw@redhat.com>
14920
14921         * include/NetworkManager.h
14922                 - Add 802.11-specific capability for 802.1x key
14923                         management
14924
14925         * src/wpa.[ch]
14926                 - Pull in WPA IE and RSN IE parsing code from
14927                         wpa_supplicant so we can determine access point
14928                         capabilities
14929                 - Move WPA-related constants here from NetworkManagerAP.h
14930                         and NetworkManagerDevice.c
14931
14932         * src/NetworkManagerDevice.c
14933           src/NetworkManagerAP.[ch]
14934                 - Use WPA-related constants from wpa.h
14935
14936 2005-12-14  Dan Williams  <dcbw@redhat.com>
14937
14938         * include/NetworkManager.h
14939                 - Update and split 802.11 wireless-specific capabilities from
14940                         generic device capabilities
14941
14942         * src/NetworkManagerDevice.c
14943           src/NetworkManagerDevicePrivate.h
14944                 - (nm_device_wireless_discover_capabilities): Move 802.11
14945                         wireless-specific capability checks to
14946                         NetworkManagerWireless.c
14947                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14948                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14949
14950         * src/NetworkManagerWireless.[ch]
14951                 - (nm_802_11_wireless_discover_capabilities): Check extended
14952                         802.11 wireless-specific capabilities of the driver
14953
14954 2005-12-14  Robert Love  <rml@novell.com>
14955
14956         Patch from Stefan Scheler <sscheler@suse.de>:
14957         * src/NetworkManagerDevice.c: call backend code to activate and
14958           deactivate NIS.
14959         * src/NetworkManagerSystem.h: add new NIS interfaces.
14960         * src/backends/NetworkManagerDebian.c,
14961           src/backends/NetworkManagerGentoo.c,
14962           src/backends/NetworkManagerRedHat.c,
14963           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14964           support.
14965         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14966
14967 2005-12-14  Dan Williams  <dcbw@redhat.com>
14968
14969         * src/nm-ap-security*.[ch]
14970                 - Add AP security abstractions to NetworkManager
14971
14972         * src/nm-dbus-device.c
14973                 - Begin to parse new format dbus messages from the applet
14974                         and construct an AP security object from the message
14975
14976         * libnm-util/dbus-helpers.c
14977                 - Use message iters so we can append the key as a fixed
14978                         array of bytes, which actually works rather than
14979                         using dbus_message_append_args() as we were before
14980
14981 2005-12-14  Dan Williams  <dcbw@redhat.com>
14982
14983         * src/NetworkManagerDbus.c
14984           gnome/applet/applet-dbus.c
14985                 - Fix up dbus service replacement options.  The applet
14986                         should allow replacement, NM itself should not.
14987
14988 2005-12-13  Robert Love  <rml@novell.com>
14989
14990         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14991           Instead, fail silently if config is NULL by not asserting and not
14992           returning FALSE.  Also, make sure we always fclose() the file.
14993
14994 2005-12-13  Robert Love  <rml@novell.com>
14995
14996         Patch by Stefan Scheler <sscheler@suse.de>:
14997         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14998            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14999            via DHCP.  Still need the backends to commit the NIS domain name and
15000            and servers to yp.conf as needed.
15001
15002 2005-12-13  Robert Love  <rml@novell.com>
15003
15004         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15005           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15006
15007 2005-12-13  Robert Love  <rml@novell.com>
15008
15009         * src/named-manager/nm-named-manager.c: Don't unref the config until
15010           after we call rewrite_resolv_conf(), because get_last_default_domain()
15011           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
15012           `config != NULL' failed" assertion failures and "Could not commit DNS
15013           changes" warnings.
15014
15015 2005-12-12  Dan Williams  <dcbw@redhat.com>
15016
15017         * libnm-util/dbus-helpers.[ch]
15018           libnm-util/Makefile.am
15019                 - new helper calls to consolidate locations where
15020                         NM's setDevice method is called
15021
15022         * gnome/applet/applet-dbus-devices.c
15023           gnome/applet/wireless-security-option.c
15024           gnome/applet/wso-*
15025                 - Implement dbus message param append function for
15026                         all wireless security options
15027
15028 2005-12-12  Robert Love  <rml@novell.com>
15029
15030         * libnm-util/cipher-wep-passphrase.c,
15031           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15032           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15033           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15034           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15035           When handling keys, we don't care what the sign is.  The compiler
15036           guarantees us that we get our 8-bits, which is all we care about.
15037         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
15038
15039 2005-12-12  Dan Williams  <dcbw@redhat.com>
15040
15041         * gnome/applet/applet-dbus-devices.[ch]
15042           gnome/applet/applet.c
15043           gnome/applet/other-network-dialog.c
15044           gnome/applet/wireless-security-manager.[ch]
15045           gnome/applet/wireless-security-option.[ch]
15046           gnome/applet/wso-*
15047                 - Push the wireless security options further into the applet
15048
15049 2005-12-12  Robert Love  <rml@novell.com>
15050
15051         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15052           return any name servers.  That is perfectly valid.  (Novell #134369).
15053
15054 2005-12-11  Dan Williams  <dcbw@redhat.com>
15055
15056         * gnome/applet/wso-*
15057           gnome/applet/wireless-security-option.*
15058           gnome/applet/Makefile.am
15059                 - split each security option out so we can eventually
15060                         have each one build up their own dbus message
15061                         arguments to send to NM
15062
15063 2005-12-11  Dan Williams  <dcbw@redhat.com>
15064
15065         * Make validation of the key work correctly
15066
15067 2005-12-11  Dan Williams  <dcbw@redhat.com>
15068
15069         * Hook more bits of the Other Network Dialog up to the
15070                 wireless security manager stuff, and restructure
15071                 bits of the dialog so there's less code.
15072
15073 2005-12-10  Dan Williams  <dcbw@redhat.com>
15074
15075         * gnome/applet/Makefile.am
15076                 - Add libnm-util to includes
15077                 - Add libnm-util to link list
15078                 - Add wireless-security-common.* to compile list
15079
15080         * gnome/applet/other-network-dialog.c
15081                 - Convert to using the WirelessSecurityManager code and
15082                         widgets
15083
15084         * gnome/applet/passphrase-dialog.c
15085                 - Comment out references to stuff in the glade file that
15086                         cause runtime errors until it can be fixed up
15087                         to use the WirelessSecurityManager code
15088
15089         * gnome/applet/wireless-applet.glade
15090                 - Rename some widgets
15091                 - Add widgets for the WirelessSecurityManager code
15092                 - Remove passphrase-related stuff since that's now
15093                         handled by the WirelessSecurityManager code
15094
15095 2005-12-10  Dan Williams  <dcbw@redhat.com>
15096
15097         * gnome/applet/applet-dbus-devices.c
15098                 - Print out error message details for dbus pending call callbacks
15099                 - Move nmwa_dbus_update_devices() up
15100
15101         * gnome/applet/applet-dbus-vpn.c
15102                 - Print out error message details for dbus pending call callbacks
15103
15104 2005-12-10  Dan Williams  <dcbw@redhat.com>
15105
15106         * libnm-util/*
15107                 - More fixups
15108                 - Remove cipher-manager.* because we don't need it
15109                 - Forgot to add gnome-keyring-md5 files to compile list
15110
15111 2005-12-09  Dan Williams  <dcbw@redhat.com>
15112
15113         * libnm-util/*
15114           configure.in
15115           Makefile.am
15116                 - Add a utility library for clients of NetworkManager.  It's
15117                         only targetted at applets for the moment, and contains
15118                         a generalized 802.11 cipher framework for different
15119                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15120
15121 2005-12-09  Robert Love  <rml@novell.com>
15122
15123         * src/NetworkManagerDevice.c: handle error better in
15124           nm_device_set_mode().
15125
15126 2005-12-08  Robert Love  <rml@novell.com>
15127
15128         * include/NetworkManager.h: add WPA capabilities constants
15129         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15130           or WPA2 and add the capabilities bits as appropriate.
15131
15132 2005-12-08  Robert Love  <rml@novell.com>
15133
15134         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15135           NetworkManagerDispatcher.
15136         * configure.in, initscript/SUSE/.cvsignore,
15137           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15138           initscript.
15139
15140 2005-12-08  Robert Love  <rml@novell.com>
15141
15142         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15143
15144 2005-12-08  Robert Love  <rml@novell.com>
15145
15146         * src/NetworkManagerDevice.c: We want to fall back on and default to
15147           IW_MODE_AUTO, not -1, which is more in line with our previous
15148           behavior.  Otherwise, we try to set the wireless mode to -1 in
15149           nm_device_set_mode().
15150
15151 2005-12-07  Robert Love  <rml@novell.com>
15152
15153         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15154           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15155           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15156           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15157           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15158           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15159           zero.
15160
15161 2005-12-07  Robert Love  <rml@novell.com>
15162
15163         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15164           supplied IP is invalid, fall back to DHCP.
15165
15166 2005-12-07  Dan Williams  <dcbw@redhat.com>
15167
15168         * Convert NETWORK_MODE_* constants to IW_MODE_*
15169         * Make all the get_mode/set_mode functions take and return 'int'
15170         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15171
15172 2005-12-07  Robert Love  <rml@novell.com>
15173
15174         * src/NetworkManagerDevice.c: strncpy() buffer check.
15175         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15176
15177 2005-12-06  Dan Williams  <dcbw@redhat.com>
15178
15179         * gnome/applet/applet-dbus.c
15180                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15181
15182         * gnome/applet/applet-dbus-vpn.c
15183                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15184                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15185                         to TRUE here if stage was ACTIVATED
15186
15187 2005-12-06  Dan Williams  <dcbw@redhat.com>
15188
15189         * Change nm_device_is_* functions to better names:
15190                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15191                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15192
15193 2005-12-06  Dan Williams  <dcbw@redhat.com>
15194
15195         * Change naming of NMDeviceType to something more sensible:
15196                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15197                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15198                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15199
15200 2005-12-06  Dan Williams  <dcbw@redhat.com>
15201
15202         * Move NetworkManager.h -> include/NetworkManager.h
15203         * Split out VPN stuff into include/NetworkManagerVPN.h
15204         * Fix up makefiles to include new location
15205         * Fix up sources to include NetworkManagerVPN.h
15206
15207 2005-12-06  Dan Williams  <dcbw@redhat.com>
15208
15209         Various changes in the applet to move VPN connection "state" -> "stage",
15210         which it actually is.  I'd like to change the signal as well when we
15211         break compat in the near future.
15212
15213 2005-12-06  Dan Williams  <dcbw@redhat.com>
15214
15215         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15216         * initscript/Slackware/rc.networkmanager
15217                 - Cosmetic fix
15218
15219         * src/backends/NetworkManagerSlackware.c
15220                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15221                         interfaces
15222
15223 2005-12-05  Robert Love  <rml@novell.com>
15224
15225         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15226           to free, particularly here as it just barfs.
15227
15228 2005-12-05  Dan Williams  <dcbw@redhat.com>
15229
15230         * gnome/applet/applet-dbus.c
15231                 - Work with dbus 0.6 too
15232
15233 2005-12-03  Dan Williams  <dcbw@redhat.com>
15234
15235         * src/NetworkManagerUtils.[ch]
15236           src/nm-ip4-config.c
15237                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15238                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15239
15240 2005-12-01  Robert Love  <rml@novell.com>
15241
15242         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15243           need a NULL for the '...' parameter, too, to fill the so-called
15244           sentinel.
15245
15246 2005-12-01  Robert Love  <rml@novell.com>
15247
15248         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15249           interface is already gone, so don't call rtnl_link_change() to down
15250           it (which will segfault, anyhow).
15251
15252 2005-11-22  Robert Love  <rml@novell.com>
15253
15254         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15255           gateway is not set, just print a little note.  Configurations without
15256           gateways are valid.
15257
15258 2005-11-22  Robert Love  <rml@novell.com>
15259
15260         * README: update
15261
15262 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15263
15264         * configure.in: Added Finnish translation to ALL_LINGUAS
15265
15266 2005-11-14  Robert Love  <rml@novell.com>
15267
15268         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15269           Niemueller <tim@niemueller.de>.
15270
15271 2005-11-08  Dan Williams  <dcbw@redhat.com>
15272
15273         Patch from Bill Moss <bmoss@clemson.edu>
15274         * src/NetworkManagerDevice.c
15275                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15276                         of nm_policy_schedule_activation_finish() to prevent a
15277                         race condition that causes the link to be dropped
15278
15279 2005-11-08  Dan Williams  <dcbw@redhat.com>
15280
15281         Patch from Bill Moss <bmoss@clemson.edu>
15282         * src/NetworkManagerAPList.c
15283           src/NetworkManagerDevice.c
15284           src/NetworkManagerDbus.c
15285                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15286                         we get more readable ether/mac addresses
15287
15288 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15289
15290         * gnome/applet/main.c: Don't set the restart command.  This fixes
15291         the issue where the restart command was getting copies of all its
15292         arguments for each time the applet was restarted.
15293
15294 2005-11-02  Robert Love  <rml@novell.com>
15295
15296         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15297           if the widget state differs from our saved state.  This ensures we
15298           do not enter an endless loop of death and destruction.  Also, this
15299           guarantees us that we enforce the widget state.
15300
15301 2005-11-02  Robert Love  <rml@novell.com>
15302
15303         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15304         * gnome/applet/applet-dbus-devices.c: invoke the new function
15305           nmwa_enable_wireless_set_active() to ensure that the state of the
15306           'Enable Wireless' checkbox matches the daemon's state.  This is a
15307           concern because the daemon remembers the state.
15308
15309 2005-11-02  Robert Love  <rml@novell.com>
15310
15311         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15312           Enabled", as checkboxes should be actions/commands not positive
15313           statements, otherwise they are confusing in the unselected case.  See
15314           examples in GNOME HIG, Chapter 6.
15315
15316 2005-11-02  Robert Love  <rml@novell.com>
15317
15318         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15319           show a list of wireless networks or the wireless devices or the
15320           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15321           a bad bug: If wireless is disabled and the user picks a wireless
15322           network, NM will switch to the network, only to immediately switch
15323           back, as wireless is disabled.  This also reassures people that NM
15324           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15325
15326 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15327
15328         * gnome/applet/applet.c:
15329         * gnome/applet/applet.h:
15330         Partial backout of Dan's timeout animation patch.
15331         Timeout IDs cannot legally be 0, so revert the code in place to handle
15332         a timeout ID of 0 to denote the timeout isn't running.
15333
15334 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15335
15336         * src/NetworkManagerPolicy.c:
15337         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15338
15339 2005-10-28  Robert Love  <rml@novell.com>
15340
15341         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15342           "Import Saved Configuration..." to make it clear that importing is
15343           not the next step, but an option.  As an aside, a nice TODO would be
15344           to move Importing out of the vpn-specific dialog and into the main
15345           property editor, as Importing goes with Adding, but that will require
15346           some rearchitecting of the VPN stuff I suspect.
15347
15348 2005-10-27  Dan Williams  <dcbw@redhat.com>
15349
15350         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15351         we should replace most of the distro-specific backend code
15352         with libnl stuff.
15353
15354         Get it here:  http://people.suug.ch/~tgr/libnl/
15355
15356         * configure.in
15357           src/Makefile.am
15358                 - Add checks for libnl pkgconfig file
15359                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15360
15361         * src/NetworkManagerSystem.c
15362           src/nm-ip4-config.[ch]
15363                 - Use libnl rather than ioctl() for most things
15364                 - Remove unused functions
15365
15366 2005-10-27  Robert Love  <rml@novell.com>
15367
15368         * src/backends/NetworkManagerSuSE.c: fix warning message text
15369
15370 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15371
15372         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15373
15374 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15375
15376         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15377         project page <http://www.gnome.org/projects/NetworkManager/>
15378
15379 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15380
15381         * gnome/applet.c: Also use translator credits if we don't have
15382         the new GtkAboutDialog (older versions of GTK+)
15383
15384 2005-10-26  Robert Love  <rml@novell.com>
15385
15386         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15387           failure; correct usage text for "--no-daemon"
15388
15389 2005-10-25  Dan Williams  <dcbw@redhat.com>
15390
15391         * src/NetworkManagerDevice.c
15392                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15393                         no scan results
15394                 - (free_process_scan_cb_data): unref the device when freeing results
15395                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15396                         so we don't unref the device underneath ourselves
15397
15398 2005-10-25  Dan Williams  <dcbw@redhat.com>
15399
15400         * Back out 2005-10-24 commit from Tor Krill.  Patch
15401                 causes nameservers never to be removed from named.
15402
15403 2005-10-24  Dan Williams  <dcbw@redhat.com>
15404
15405         Clean up wireless scanning and wireless link probing.
15406
15407         * src/NetworkManagerDevice.c
15408                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15409                         just see if there's an activation request on the device, and check the
15410                         current link against the activation request access point's ESSID.
15411                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15412                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15413                         don't call process_scan_results() on zero-length data
15414                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15415                         15 seconds (from 10)
15416
15417 2005-10-24  Dan Williams  <dcbw@redhat.com>
15418
15419         Cleanup some applet stuff:
15420
15421         - Animation timeouts.  If NM died while the applet was animating,
15422                 the applet would not hide itself.  This is now fixed.
15423
15424         - Remove some dead code
15425
15426         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15427                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15428
15429         - Track animation timeout using a gboolean rather than the timeout's
15430                 ID, since timeout IDs can legally be 0.
15431
15432 2005-10-24  Dan Williams  <dcbw@redhat.com>
15433
15434         * src/backends/interface_parser.c
15435                 - Add void to function declarations that need it
15436                         to match patch from Engin AYDOGAN
15437
15438         * src/backends/interface_parser.h
15439                 - Remove unused prototype for ifparser_interfaces()
15440
15441         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15442         * src/backends/interface_parser.h:
15443                 - Compile fixes for gcc 4.0.2 (add void)
15444
15445 2005-10-24  Dan Williams  <dcbw@redhat.com>
15446
15447         Patch from Tor Krill <tor@krill.nu>
15448         * src/named-manager/nm-named-manager.c
15449                 - Write more than just the first nameserver to /etc/resolv.conf
15450                 - Write out valid /etc/resolv.conf on exit
15451
15452 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15453
15454         * gnome/applet/applet-dbus-vpn.c:
15455         Get rid of spurious newlines in debug console output
15456
15457 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15458
15459         * src/backends/NetworkManagerGentoo.c:
15460         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15461
15462 2005-10-20  Robert Love  <rml@novell.com>
15463
15464         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15465           direct comparison of floating point values, which is never correct.
15466           Also some misc. cleanup.
15467
15468 2005-10-19  Robert Love  <rml@novell.com>
15469
15470         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15471
15472 2005-10-19  Robert Love  <rml@novell.com>
15473
15474         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15475           sensitivity of the buttons.  Specificaly, do the right thing if
15476           there are no entries.
15477
15478 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15479
15480         * configure.in: Update check for adequate wireless-tools
15481         with an AC_TRY_COMPILE for the new symbols we use.
15482
15483 2005-10-19  Dan Williams  <dcbw@redhat.com>
15484
15485         * src/NetworkManagerDevice.c
15486                 - (process_scan_results): don't drop the last (or only)
15487                         access point we see
15488
15489 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15490
15491         * src/backends/NetworkManagerSlackware.c:
15492         Patch from Nico <lordllucifer@gmail.com>
15493                 - Update the Slackware backend.
15494
15495 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15496
15497         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15498         if we've got GLib 2.8.0
15499
15500 2005-10-18  Robert Love  <rml@novell.com>
15501
15502         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15503           function nm_schedule_state_change_signal_broadcast() when we
15504           deactivate a device, too.
15505
15506 2005-10-18  Robert Love  <rml@novell.com>
15507
15508         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15509           be used uninitialized.
15510
15511 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15512
15513         * test/libnm_glib_test.c: Test unregistering, too.
15514
15515 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15516
15517         * configure.in: Bump to 0.5.0
15518
15519 2005-10-17  Dan Williams  <dcbw@redhat.com>
15520
15521         * NetworkManager.h
15522                 - Remove WPA-related constants so they aren't part of the
15523                         upcoming release.
15524
15525 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15526
15527         * gnome/applet/applet.c:
15528         * gnome/applet/applet.h:
15529         Desensitize the 'Connection Information' menu item when there is
15530         no active connection.
15531
15532 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15533
15534         * gnome/libnm_glib/libnm_glib.c:
15535         Make libnm_glib_unregister_callback () actually unregister the callback
15536
15537 2005-10-17  Robert Love  <rml@novell.com>
15538
15539         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15540           two seconds -- tries is updated every 1/10 of a second, not every
15541           second..
15542
15543 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15544
15545         * gnome/applet/applet-dbus-info.c:
15546         Let D-BUS know that we haven't handled a message when we haven't.
15547
15548 2005-10-17  Robert Love  <rml@novell.com>
15549
15550         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15551           in order to remain 64-bit clean.
15552
15553 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15554
15555         * gnome/applet/applet-dbus-info.c:
15556         Find network encryption keys asynchronously
15557
15558 2005-10-17  Robert Love  <rml@novell.com>
15559
15560         * src/backends/NetworkManagerDebian.c,
15561           src/backends/NetworkManagerRedHat,
15562           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15563           comment delimiter.
15564
15565 2005-10-17  Robert Love  <rml@novell.com>
15566
15567         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15568           "/etc"
15569
15570 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15571
15572         * src/NetworkManagerDevice.c: (process_scan_results)
15573         Fix logic that checks to see whether we have an ESSID.
15574
15575 2005-10-15  Dan Williams  <dcbw@redhat.com>
15576
15577         Move scanning code into NetworkManager rather than use iwlib's
15578         iw_scan() function, so that we can figure out AP capabilities.
15579
15580         * NetworkManager.h
15581                 - Add AP capability bits
15582
15583         * src/NetworkManagerAP.[ch]
15584                 - Add capability field to NMAccessPoint structure
15585                 - Add WPA & RSN Information Element fields and accessor
15586                         functions to NMAccessPoint
15587
15588         * src/NetworkManagerDevice.c
15589                 - Remove usage of iw_scan
15590                 - Add scanning code to NetworkManager rather than use
15591                         iw_scan() from iwlib
15592
15593         * src/NetworkManagerUtils.[ch]
15594                 - (nm_dispose_scan_results): remove, unused
15595
15596 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15597
15598         * gnome/libnm_glib/libnm_glib.c:
15599         * gnome/libnm_glib/libnm_glib.h:
15600         Use guint instead of gint for callback IDs.
15601
15602 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15603
15604         * gnome/applet/applet.c:
15605         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15606         every 1000ms.  It will unconditionally call nmwa_update_state which
15607         kills the existing animation timeout and registers a new one with a
15608         callback to draw a new frame every 100ms.  There are 11 connecting
15609         icon frames, so the last 2 frames kept getting dropped.  Only reset
15610         the animation timeout if we aren't animating.
15611
15612 2005-10-11  Dan Williams  <dcbw@redhat.com>
15613
15614         * gnome/applet/applet-dbus-devices.c
15615                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15616                         We want to grab the product & vendor from net.physical_dev
15617                         rather than info.parent.
15618
15619 2005-10-11  Dan Williams  <dcbw@redhat.com>
15620
15621         * src/NetworkManagerDevice.c
15622                 - Use the driver's WE version for scanning rather than
15623                         the WE version NM was compiled with.  Fixes random
15624                         crashes in iw_scan () in iwlib.
15625
15626 2005-10-10  Dan Williams  <dcbw@redhat.com>
15627
15628         * Remove nm_system_load_device_modules() from backend files
15629                 and from NetworkManager.c
15630
15631 2005-10-10  Dan Williams  <dcbw@redhat.com>
15632
15633         * src/NetworkManagerPolicy.c
15634                 - Fix some bugs introduced by the capabilities patch
15635
15636 2005-10-10  Dan Williams  <dcbw@redhat.com>
15637
15638         * gnome/applet/applet-dbus-info.c
15639                 - (nmi_dbus_get_network_key): hide the menu when putting up
15640                         the keyring dialog.  (not sure if the code is right...)
15641
15642 2005-10-09  Dan Williams  <dcbw@redhat.com>
15643
15644         Patch from Bill Moss <bmoss@clemson.edu>
15645         * src/NetworkManagerDevice.c
15646                 - (nm_device_set_user_key_for_network): don't try to set auth
15647                         mode on the AP from the allowed list if it's NULL
15648
15649 2005-10-09  Dan Williams  <dcbw@redhat.com>
15650
15651         * Replace the "driver support level" stuff with capabilities.  The
15652                 capability field is a bitfield that is more flexible than the
15653                 old driver support level thing.  It's mostly so we can easily
15654                 figure out what supports WPA and what doesn't, but should be
15655                 quite useful later.
15656
15657 2005-10-09  Dan Williams  <dcbw@redhat.com>
15658
15659         * test/nmtest.c
15660                 - Removed
15661
15662         * test/nm-tool.c
15663           test/Makefile.am
15664                 - Added new "nm-tool" tool that gives quite a bit more
15665                         information
15666
15667 2005-10-07  Robert Love  <rml@novell.com>
15668
15669         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15670           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15671           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15672           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15673           appropriate
15674
15675 2005-10-07  Robert Love  <rml@novell.com>
15676
15677         * configure.in: Change our compile flags for the betterment of mankind.
15678           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15679           prototype is very bad on 64-bit platforms as types default to int but
15680           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15681           "-Wmissing-declarations" to warn if we define an exported function
15682           but fail to put it in a header.
15683
15684 2005-10-07  Robert Love  <rml@novell.com>
15685
15686         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15687           by the name nm_update_device_wireless_timeouts() and once tried,
15688           without success, to steal my pet turtle.
15689
15690 2005-10-07  Robert Love  <rml@novell.com>
15691
15692         * Cleanup prototypes: put some functions in header files and mark
15693           others as 'static' -- feel free to invert
15694         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15695           nm_vpn_manager_vpn_connection_list_copy()
15696         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15697           nm_vpn_service_get_dbus_connection()
15698         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15699           nm_vpn_manager_vpn_connection_list_copy()
15700         * src/vpn-manager/nm-vpn-service.c: make
15701           nm_vpn_service_act_request_failed() and
15702           nm_vpn_service_stage2_daemon_wait() static
15703         * src/vpn-manager/nm-vpn-service.h: add prototype for
15704           nm_vpn_service_get_dbus_connection()
15705
15706 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15707
15708         * gnome/applet/applet.c:
15709         * gnome/applet/applet.h:
15710         * gnome/applet/icons/Makefile.am:
15711         Convey information about the current connection stage in the
15712         icons themselves instead of creating a separate progress bar.
15713
15714 2005-10-04  Robert Love  <rml@novell.com>
15715
15716         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15717           convert an ether_addr structure's MAC into a string, because the
15718           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15719           versus 07:3B:04, while the former will not.
15720
15721 2005-10-04  Robert Love  <rml@novell.com>
15722
15723         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15724           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15725           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15726           default route in the 'Connection Information' dialog, send primary
15727           and secondary name servers in in "getProperties" DBUS method, add
15728           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15729           secondary domain name servers are crucial pieces of information
15730           that a user might need in debugging a network problem.
15731
15732 2005-10-04  Robert Love  <rml@novell.com>
15733
15734         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15735           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15736           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15737           default route in the 'Connection Information' dialog, send default
15738           route in "getProperties" DBUS method, add network_device_set_route(),
15739           and network_device_get_route().  The Gateway is a crucial piece of
15740           connection-related information that a user might need in debugging a
15741           network problem.
15742
15743 2005-10-03  Robert Love  <rml@novell.com>
15744
15745         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15746           NULL.
15747
15748 2005-10-02  Dan Williams  <dcbw@redhat.com>
15749
15750         * Shorten time taken to sleep by fastpathing bits of device deactivation
15751                 necessary for sleep.
15752
15753         * Fix issue where deactivating a device might deactivate the active
15754                 VPN connection, even if the VPN was not using the device.
15755
15756 2005-10-02  Dan Williams  <dcbw@redhat.com>
15757
15758         * gnome/applet/applet.c
15759                 - Adjust signal strength -> icon mapping values slightly
15760                         (so that 51% signal doesn't show a 75% icon) by adding
15761                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15762                         shows 50% icon, etc.
15763
15764 2005-09-29  Robert Love  <rml@novell.com>
15765
15766         * src/NetworkManager.c: removed unused variable.
15767
15768 2005-09-28  Dan Williams  <dcbw@redhat.com>
15769
15770         Support for named + DBus, using Red Hat DBus patches for named.  You
15771         can find those patches here, with "dbus" in the patch's filename:
15772
15773                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15774
15775         Don't forget the named dbus service file either.
15776
15777         Instead of writing a config file and spawing a named process, NM will
15778         use an already-running dbus-enabled named if it finds one.  NM will
15779         update named's forwarder configuration on the fly using dbus.
15780
15781         If there is no dbus-enabled named running, NM will automatically fall
15782         back to writing the most-recent DNS server information to /etc/resolv.conf
15783         and calling nm_system_update_dns() to kick the system's resolver.
15784
15785         Accordingly, all named-related configure-time options have been removed.
15786
15787 2005-09-26  Robert Love  <rml@novell.com>
15788
15789         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15790           ISDN support!
15791         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15792           bug in error path if "ASKPASSWORD" is "no".
15793
15794 2005-09-26  Robert Love  <rml@novell.com>
15795
15796         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15797           comment in /etc/resolv.conf -- ';' is not.
15798
15799 2005-09-19  Dan Williams  <dcbw@redhat.com>
15800
15801         * src/backends/NetworkManagerRedHat.c:
15802         * src/backends/NetworkManagerDebian.c:
15803         * src/backends/NetworkManagerSlackware.c:
15804         * src/backends/NetworkManagerGentoo.c:
15805         * src/backends/NetworkManagerSUSE.c:
15806         Fix invocations of "/sbin/ip address" to use short form instead
15807
15808 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15809
15810         * src/nm-dbus-device.c: Don't assert when getting
15811         addresses of a not yet connected interface.
15812
15813         * gnome/applet/applet.c: Free icons if loading fails.
15814         Use translator-credits so translators can make themselves known.
15815
15816 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15817
15818         * src/NetworkManagerAP.c:
15819         * src/NetworkManagerAP.h:
15820         * src/NetworkManagerDevice.c:
15821         Set a blacklist for certain common manufacturer default ESSIDs:
15822         APs with these ESSIDs are extremely likely to be completely
15823         different networks: connecting to one should not make NM
15824         auto-connect to every other AP with the same default ESSID.
15825
15826 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15827
15828         * gnome/applet/wireless-applet.glade:
15829         The passphrase entry should also activate the default
15830
15831         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15832
15833         * gnome/applet/applet-dbus-devices.c:
15834         * gnome/applet/applet.c:
15835         * gnome/applet/nm-device.c:
15836         * gnome/applet/nm-device.h:
15837         * src/NetworkManagerUtils.c:
15838         * src/NetworkManagerUtils.h:
15839         * src/nm-dbus-device.c:
15840         I've got a fever, and the only cure for it is less ioctl.
15841         Make NM push IP data rather than make the applet open a socket
15842         to the device.
15843
15844 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15845
15846         * gnome/applet/applet.c:
15847         * gnome/applet/applet-dbus-devices.c:
15848         * gnome/applet/applet-dbus-info.c:
15849         * gnome/applet/passphrase-dialog.c:
15850         * gnome/libnm_glib/libnm_glib.c:
15851         * gnome/vpn-properties/nm-vpn-properties.c:
15852         * src/autoip.c:
15853         * src/backends/NetworkManagerRedHat.c:
15854         * src/named-manager/nm-named-manager.c:
15855         * src/NetworkManagerAPList.c:
15856         * src/NetworkManager.c:
15857         * src/NetworkManagerDbus.c:
15858         * src/NetworkManagerDevice.c:
15859         * src/NetworkManagerPolicy.c:
15860         * src/NetworkManagerSystem.c:
15861         * src/nm-dbus-device.c:
15862         * src/nm-dbus-nm.c:
15863         * src/vpn-manager/nm-vpn-manager.c:
15864         * src/vpn-manager/nm-vpn-service.c:
15865         * test/libnm_glib_test.c:
15866         * test/nminfotest.c:
15867         * test/nmtestdevices.c:
15868         Fix a bunch of 'unused variable' compiler warnings
15869
15870         * NetworkManager.h:
15871         * gnome/applet/applet-dbus-info.c:
15872         * gnome/applet/applet-dbus-info.h:
15873         * gnome/applet/applet.c:
15874         * gnome/applet/applet.h:
15875         * src/NetworkManager.c:
15876         * src/NetworkManagerDbus.c:
15877         * src/NetworkManagerDbus.h:
15878         * src/NetworkManagerDevice.c:
15879         * src/NetworkManagerDevice.h:
15880         * src/NetworkManagerMain.h:
15881         * src/NetworkManagerWireless.c:
15882         * src/NetworkManagerWireless.h:
15883         * src/nm-dbus-nm.c:
15884         Make NetworkManager be smart about how frequently to scan
15885         based on its current state.  Remove the UI for choosing when
15886         to scan.  Scanning still may disabled completely by the user
15887         via the "Wireless Enabled" menu item.
15888
15889 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15890
15891         * gnome/applet/applet.c:
15892         Also overlay the vpn connecting icons onto the wired icon,
15893         when appropriate.
15894
15895         * gnome/vpn-properties/nm-vpn-properties.glade:
15896         Clean up a few strings to use better grammar and proper casing.
15897
15898 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15899
15900         * gnome/applet/vpn-connection.c:
15901         * gnome/applet/vpn-connection.h:
15902         Add nmwa_vpn_connection_is_activating ()
15903
15904         * gnome/applet/applet.c:
15905         * gnome/applet/applet.h:
15906         * gnome/applet/icons/nm-vpn-connecting*.png:
15907         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15908         the user know something's happening between clicking the VPN item and it
15909         actually being connected.
15910
15911 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15912
15913         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15914         failure case as well.
15915
15916 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15917
15918         * gnome/panel/eggtrayicon.[ch]:
15919         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15920
15921 2005-09-07  Dan Williams  <dcbw@redhat.com>
15922
15923         Patch from Bill Moss <bmoss@clemson.edu>
15924         * src/applet-dbus.c
15925                 - (nmwa_dbus_filter): strip whitespace from beginning
15926                         and end of VPN login banner
15927
15928 2005-09-07  Dan Williams  <dcbw@redhat.com>
15929
15930         * The great VPN Manager rewrite of 2005
15931
15932 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15933
15934         * gnome/applet/menu-items.c:
15935         * gnome/applet/nm-device.c:
15936         * gnome/applet/wireless-network.c:
15937         * gnome/libnm_glib/libnm_glib.c:
15938         * src/NetworkManagerDbusUtils.c:
15939         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15940         g_malloc0 doesn't return NULL
15941
15942 2005-09-06  Dan Williams  <dcbw@redhat.com>
15943
15944         Patch from Tomislav Vujec <tvujec@redhat.com>
15945         * src/NetworkManagerDevice.c
15946                 - (nm_get_device_by_udi): don't return a device when we
15947                         actually didn't find what we were looking for
15948
15949 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15950
15951         * gnome/applet/applet-dbus-devices.c:
15952         * gnome/applet/applet-dbus-devices.h:
15953         * gnome/applet/applet-dbus.c:
15954         * src/NetworkManagerDbus.c:
15955         * src/NetworkManagerDbus.h:
15956         * src/NetworkManagerDevice.c:
15957         * src/nm-dbus-device.c:
15958         Make NM push updates about active device strength when it changes,
15959         rather than having the applet poll every 2s.
15960
15961 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15962
15963         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15964         network_device_set_strength
15965
15966 2005-09-04  Dan Williams  <dcbw@redhat.com>
15967
15968         Patch from Bill Nottingham <notting@redhat.com>
15969         * src/NetworkManagerDevice.c
15970                 - (nm_device_activation_cancel): reset the quit_activation flag
15971
15972 2005-09-04  Dan Williams  <dcbw@redhat.com>
15973
15974         * src/nm-activation-request.c
15975                 - (nm_act_request_unref): actually free the structure,
15976                         which we didn't seem to be doing before
15977
15978 2005-09-04  Dan Williams  <dcbw@redhat.com>
15979
15980         Patch from John Palmieri <johnp@redhat.com>
15981         * gnome/applet/applet-dbus-devices.c
15982                 - Fix up unreffing of DBusMessage objects
15983
15984 2005-09-04  Dan Williams  <dcbw@redhat.com>
15985
15986         Patch from John Palmieri <johnp@redhat.com>
15987         * gnome/applet/nm-device.c
15988                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15989
15990 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15991
15992         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15993
15994 2005-09-02  Bill Nottingham  <notting@redhat.com>
15995
15996         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15997
15998 2005-09-01  Dan Williams  <dcbw@redhat.com>
15999
16000         * src/NetworkManager.c
16001                 - (nm_remove_device_from_list): rename to nm_remove_device
16002                 - (nm_hal_device_removed): call nm_remove_device()
16003
16004         * src/NetworkManagerDevice.c
16005                 - Change the NMWirelessScanCB member 'reschedule' which
16006                         wasn't used to 'force' to indicate that we need to
16007                         force a scan when adding a device
16008
16009         * src/nm-dbus-nm.c
16010                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16011                         from the device list
16012                 - (nm_dbus_nm_wake): Re-add all devices to the device list
16013
16014 2005-09-01  Robert Love  <rml@novell.com>
16015
16016         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16017           and the check "!iface" in the error case is probably never true.
16018
16019 2005-09-01  Dan Williams  <dcbw@redhat.com>
16020
16021         Patch from Bill Nottingham <notting@redhat.com>
16022         * src/backends/NetworkManagerRedHat.c
16023                 - Add initial dialup support to Red Hat/Fedora backend
16024
16025 2005-09-01  Dan Williams  <dcbw@redhat.com>
16026
16027         * gnome/applet/applet-dbus-devices.c
16028                 - Sort both wireless networks and devices again, which got
16029                         broken when removing threading
16030
16031 2005-09-01  Christopher Aillon  <caillon@redhat.com>
16032
16033         * gnome/applet/applet.c:
16034         Only show the "Stop/Start All Wireless Devices" menuitem
16035         if we actually have wireless devices.
16036
16037         * gnome/applet/applet-dbus-info.c:
16038         * gnome/applet/applet.c:
16039         * gnome/applet/other-network-dialog.c:
16040         * gnome/applet/vpn-password-dialog.c:
16041         Drop the gtk_dialog_run () calls in favor of connecting to
16042         "response" signals, needed now that the applet is not threaded.
16043
16044 2005-08-31  Dan Williams  <dcbw@redhat.com>
16045
16046         Patch from Bill Moss <bmoss@clemson.edu>
16047         * src/NetworkManagerDevice.c
16048                 - (nm_device_wireless_scan): fix scan timeout values
16049
16050 2005-08-30  Dan Williams  <dcbw@redhat.com>
16051
16052         * gnome/applet/wireless-applet.glade
16053                 - HIG-ify the Other Wireless Networks dialog a bit more
16054                 - Fix some potential segfaults in the info dialog
16055
16056 2005-08-30  Dan Williams  <dcbw@redhat.com>
16057
16058         * gnome/applet/applet-dbus-devices.c
16059                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16060
16061 2005-08-30  Dan Williams  <dcbw@redhat.com>
16062
16063         * gnome/applet/applet-dbus.[ch]
16064                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16065                         they weren't being used anyway
16066
16067 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16068
16069         * test/nmtestdevices.c: (print_usage), (main):
16070         Check the number of arguments, and fix a typo
16071
16072 2005-08-29  Dan Williams  <dcbw@redhat.com>
16073
16074         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16075         * gnome/applet/applet.c
16076                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16077
16078 2005-08-29  Dan Williams  <dcbw@redhat.com>
16079
16080         * gnome/applet/*
16081                 - Don't use threads any more.  Anything that blocks
16082                         (like gtk_dialog_run()) will  have to get fixed up which
16083                         should happen quickly.  We really only had threads to make
16084                         the animation smooth, and when everything got converted over
16085                         to DBus Pending Calls, the need for threads kind of went away
16086
16087 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16088
16089         * gnome/applet/applet.c: Draw VPN connections as radio items
16090         since we don't yet support multiple VPNs.
16091         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16092         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16093
16094 2005-08-29  Dan Williams  <dcbw@redhat.com>
16095
16096         Patch from j@bootlab.org
16097         - Make --without-named work
16098         - Make --with-dhcdbd work correctly
16099
16100 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16101
16102         * configure.in: Added "ca" to ALL_LINGUAS.
16103
16104 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16105
16106         * Fix up VPN state handling between the applet and NetworkManager,
16107                 so that the applet doesn't show a VPN as connected when one
16108                 really is not
16109                         - The applet no longer has a pointer to the active VPN's
16110                                 name, but tracks each VPNs state individually
16111                         - NM no longer has a "getActiveVPNConnection" method
16112                         - NM no longer broadcasts the "VPNConnectionChange" signal
16113                         - NM now broadcasts a "VPNConnectionStateChange" signal
16114                                 whenever the state of a VPN changes
16115
16116 2005-08-26  Dan Williams <dcbw@redhat.com>
16117
16118         * gnome/applet/applet-dbus-devices.c
16119           gnome/applet/applet-dbus-vpn.c
16120                 - Remove calls to dbus_pending_call_ref() because we already
16121                         "own" the pending call
16122                 - Remove calls to dbus_pending_call_get_completed() because
16123                         when we are in the callback, the pending call is completed
16124                         by definition
16125
16126 2005-08-22  Dan Williams <dcbw@redhat.com>
16127
16128         Patch by Bill Moss <bmoss@clemson.edu>
16129         * src/dhcp-manager/nm-dhcp-manager.c
16130                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16131                         some time to send out a RELEASE if they like
16132
16133 2005-08-22  Dan Williams <dcbw@redhat.com>
16134
16135         Noticed by Bill Moss <bmoss@clemson.edu>
16136         * src/NetworkManagerDbus.c
16137                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16138                         instead of just cancelling its activation
16139
16140         * src/NetworkManagerDevice.c
16141                 - (nm_device_deactivate): some small cleanups
16142                 - (nm_device_set_user_key_for_network): deactivate the device
16143                         instead of just cancelling its activation
16144
16145 2005-08-22  Dan Williams <dcbw@redhat.com>
16146
16147         Noticed by Bill Moss <bmoss@clemson.edu>
16148         * src/NetworkManagerDevice.c
16149                 - (nm_device_wireless_scan): fix scan timeout, we were
16150                         waiting way too long for scans to complete
16151
16152 2005-08-22  Dan Williams <dcbw@redhat.com>
16153
16154         Patch from j@bootlab.org:
16155         * src/backends/NetworkManagerDebian.c
16156                 - Make the Debian backend work for static IP again
16157
16158 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16159
16160         * gnome/applet/other-network-dialog.c:
16161         The "Create New Network" and "Connect to Other Network"
16162         dialogs share alot of code, but shouldn't share a window
16163         title.  Give them different ones.
16164
16165         * gnome/applet/wireless-applet.glade:
16166         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16167         Some more minor UI tweaks.
16168
16169 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16170
16171         * gnome/applet/other-network-dialog.c:
16172         * gnome/applet/wireless-applet.glade:
16173         Also need mnemonic widgets, and underline enabled.
16174
16175 2005-08-19  Dan Williams <dcbw@redhat.com>
16176
16177         * vpn-daemons/vpnc/nm-vpnc-service.c
16178                 - (vpnc_watch_cb): remove no-longer-relevant comment
16179                 - (write_config_option): new function, helper to write
16180                         config options to vpnc's stdin
16181                 - (nm_vpnc_config_write): use the new helper, make the
16182                         code shorter
16183
16184 2005-08-19  Christopher Aillon <caillon@redhat.com>
16185
16186         * gnome/applet/passphrase-dialog.c:
16187         * gnome/applet/wireless-applet.glade:
16188         Make the passphrase dialog response based, and treat
16189         responses other than OK (such as Esc, [X]) as a cancel.
16190
16191 2005-08-18  Christopher Aillon <caillon@redhat.com>
16192
16193         * initscript/Gentoo/NetworkManager:
16194         * initscript/RedHat/NetworkManager:
16195         * initscript/RedHat/NetworkManagerDispatcher:
16196         * initscript/SUSE/networkmanager:
16197         CVS remove these in place of .in replacements
16198
16199         * configure.in:
16200         * initscript/Gentoo/NetworkManager.in:
16201         * initscript/RedHat/NetworkManager.in:
16202         * initscript/RedHat/NetworkManagerDispatcher.in:
16203         * initscript/SUSE/networkmanager.in:
16204         These scripts now are generated so they work still when
16205         NM is built using a bindir other than /usr/bin
16206
16207 2005-08-18  Dan Williams <dcbw@redhat.com>
16208
16209         * gnome/applet/main.c
16210                 - Revert previous change for --no-session since
16211                         --sm-disable does the same thing
16212
16213 2005-08-18  Dan Williams <dcbw@redhat.com>
16214
16215         * gnome/applet/applet-dbus-info.c
16216                 - (nmi_dbus_create_error_message): new function
16217                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16218                         functions.  Also don't check for both device _and_ network before
16219                         asking for a user's key, because we may not have gotten all our
16220                         networks back from NM quite yet (due to the dbus pending calls
16221                         coming in later).  Fixes a hang in NM/nm-applet.
16222
16223         * src/NetworkManagerDbus.c
16224                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16225                         slightly more sane manner, even though we are still broken for
16226                         certain other error conditions.
16227                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16228                         to the info-daemon too
16229
16230         * src/NetworkManagerDevice.c
16231                 - Fix some debug messages to be info messages instead
16232
16233 2005-08-18  Dan Williams <dcbw@redhat.com>
16234
16235         * gnome/applet/main.c
16236                 - Add new "--no-session" parameter that disables applet
16237                         session management, ie for testing
16238
16239 2005-08-18  Christopher Aillon <caillon@redhat.com>
16240
16241         * gnome/applet/other-network-dialog.c:
16242         * gnome/applet/wireless-applet.glade: More mnemonics
16243
16244 2005-08-17  Robert Love  <rml@novell.com>
16245
16246         * initscript/SUSE/networkmanager: update
16247
16248 2005-08-17  Dan Williams  <dcbw@redhat.com>
16249
16250         * Tag NM_0_4_1_RELEASE
16251
16252 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16253
16254         * gnome/applet/applet.c: More translatable string cleanup
16255
16256
16257 2005-08-17  Dan Williams  <dcbw@redhat.com>
16258
16259         * gnome/applet/applet-dbus-info.c
16260                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16261                         from the dbus message, which tells us to unconditionally
16262                         ask the user for a new key.  Otherwise, we pull the key from
16263                         the keyring and return it.  If we fail to get the key from the
16264                         keyring, we ask the user for a new key.
16265                 - (nmi_dbus_get_network_key): new function to grab the key for
16266                         an essid from the keyring.
16267                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16268                         Also, don't return any key in the dbus message.
16269
16270         * src/NetworkManagerDbus.[ch]
16271                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16272                         indicate that we unconditionally want a new key.  This function
16273                         is now also used to get keys from the info-daemon which are
16274                         pre-stored, not just for asking the user for a new key.  The
16275                         "new_key" parameter indicates whether or not we wish to ask the
16276                         user for a new key.
16277                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16278                         info-daemon in the return message, so use NULL instead.  The
16279                         key will be filled in at connect time by calling
16280                         nm_dbus_get_user_key_for_network()
16281
16282         * src/NetworkManagerDevice.c
16283                 - (nm_device_wireless_configure): update for "new_key" param to
16284                         nm_dbus_get_user_key_for_network().  We initially set new_key
16285                         to FALSE to see if we have a stored key in the info-daemon, but
16286                         if the connection is unsuccessful at this stage we request a
16287                         new one
16288
16289 2005-08-17  Dan Williams  <dcbw@redhat.com>
16290
16291         * gnome/applet/icons/nm-no-connection.png
16292           gnome/applet/icons/nm-device-wired.png
16293                 - Use Diana's new RJ45 connector icons
16294
16295 2005-08-17  Dan Williams  <dcbw@redhat.com>
16296
16297         * src/NetworkManagerPolicy.c
16298                 - (nm_policy_device_change_check): clarify switching rules if
16299                         both new and old devices are valid; mainly, don't switch
16300                         away from user-requested wireless connection back to a wired
16301                         one
16302
16303 2005-08-17  Dan Williams  <dcbw@redhat.com>
16304
16305         * gnome/applet/Makefile.am
16306                 - Relocate the applet to /usr/bin since it is no longer
16307                         executed by anything, but directly by the user
16308
16309 2005-08-17  Dan Williams  <dcbw@redhat.com>
16310
16311         Patch from Bill Moss <bmoss@clemson.edu>
16312
16313         * gnome/applet/applet-dbus-info.[ch]
16314                 - (nmi_save_network_info): save timestamp for network if it
16315                         was a change requested by the user
16316                 - (nmi_dbus_update_network_info): get user_requested from dbus
16317                         message and pass to nmi_save_network_info()
16318
16319         * gnome/applet/applet.c
16320                 - (nmwa_update_network_timestamp): remove
16321                 - (nmwa_menu_item_activate): don't set timestamp on networks
16322                         here, only after a successful connect in nmi_save_network_info()
16323
16324         * src/NetworkManagerDbus.[ch]
16325                 - (nm_dbus_update_network_info): pass user_requested into the 
16326                         dbus message
16327
16328         * src/NetworkManagerPolicy.c
16329                 - (nm_policy_activation_finish): pass user_requested to
16330                         nm_dbus_update_network_info()
16331
16332 2005-08-16  Robert Love  <rml@novell.com>
16333
16334         * gnome/applet/applet.c: Better "Dial Up" menu item.
16335
16336 2005-08-16  Robert Love  <rml@novell.com>
16337
16338         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16339           "Connection Information" menu item.
16340
16341 2005-08-16  Dan Williams  <dcbw@redhat.com>
16342
16343         Patch from j@bootlab.org
16344         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16345
16346         * configure.in: allow specifying the path to dhcdbd
16347
16348 2005-08-16  Robert Love  <rml@novell.com>
16349
16350         Patch from j@bootlab.org
16351         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16352           src/backends/interface_parser.h: Debian dialup support.
16353
16354 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16355
16356         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16357         * gnome/applet/applet.c: Add some mnemonics for VPNC
16358
16359         * vpn-daemons/.cvsignore: fix this up a little bit
16360
16361 2005-08-16  Robert Love  <rml@novell.com>
16362
16363         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16364           support.
16365
16366 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16367
16368         * gnome/applet/applet.c: Split markup out of translatable strings
16369         and clean up logic a little bit.  (fixes #309012)
16370
16371 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16372
16373         * gnome/vpn-properties/nm-vpn-properties.c:
16374         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16375         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16376         Makeshift fix to remove newlines from translatable strings.
16377         Note that we now return an allocated string, so callers of
16378         get_confirmation_details () must now call g_free () on the
16379         result. (fixes #309033).
16380
16381 2005-08-12  Robert Love  <rml@novell.com>
16382
16383         * gnome/applet/applet-dbus.c: remove newlines from translatable
16384           strings--not needed here anyway. (fix b.g.o #309011)
16385         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16386
16387 2005-08-11  Robert Love  <rml@novell.com>
16388
16389         * gnome/applet/applet.c: mark string as translatable.
16390
16391 2005-08-11  Robert Love  <rml@novell.com>
16392
16393         * initscript/SUSE/networkmanager: update.
16394
16395 2005-08-11  Dan Williams  <dcbw@redhat.com>
16396
16397         * src/nm-dhcp-manager.c
16398                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16399                         an gateway returned from DHCP, try to use the address of the DHCP
16400                         server as the gateway instead.  Found by Ralf Ertzinger.
16401
16402 2005-08-10  Robert Love  <rml@novell.com>
16403
16404         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16405           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16406
16407 2005-08-10  Dan Williams  <dcbw@redhat.com>
16408
16409         Patch from Bill Moss <bmoss@clemson.edu>
16410         * Consolidate writes of access point information updates to the info daemon
16411                 so that we only do it when the connection to the access point was
16412                 successful.  Also consolidates updates to GConf in the Gnome applet.
16413
16414         * src/nm-netlink-monitor.c
16415                 - Silence compile warning when calling g_object_new()
16416
16417 2005-08-08  Dan Williams  <dcbw@redhat.com>
16418
16419         Patch from Steev <steev@steev.net>:
16420         * src/backends/NetworkManagerGentoo.c
16421                 - Stub new dialup backend functions
16422
16423 2005-08-08  Dan Williams  <dcbw@redhat.com>
16424
16425         Patch from Colin Slater:
16426         * src/backends/NetworkManagerGentoo.c
16427                 - (nm_system_update_dns): Fix exit status check for restarting
16428                         nscd
16429
16430 2005-08-05  Robert Love  <rml@novell.com>
16431
16432         * NetworkManager.h,
16433           gnome/applet/applet-dbus-devices.c,
16434           gnome/applet/applet-dbus-devices.h,
16435           gnome/applet/applet-dbus.c,
16436           gnome/applet/applet.c,
16437           gnome/applet/applet.h,
16438           src/NetworkManager.c,
16439           src/NetworkManagerMain.h,
16440           src/NetworkManagerSystem.h,
16441           src/backends/NetworkManagerRedHat.c,
16442           src/backends/NetworkManagerSuSE.c,
16443           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16444
16445 2005-08-05  Robert Love  <rml@novell.com>
16446
16447         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16448           machine's hostname to make adhoc creation idiot-proof.
16449
16450 2005-08-04  Robert Love  <rml@novell.com>
16451
16452         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16453           freed.
16454
16455 2005-08-04  Dan Williams  <dcbw@redhat.com>
16456
16457         * gnome/applet/applet-dbus-info.c
16458           gnome/applet/applet-dbus-info.h
16459                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16460                         to store key, key type, and auth method rather than just auth method
16461                 - (nmi_dbus_update_network_info): new function
16462                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16463
16464         * gnome/applet/passphrase-dialog.c
16465                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16466                         of saving the info ourselves
16467
16468         * gnome/libnm_glib/libnm_glib.c
16469                 - Remove the stupid version check for dbus
16470
16471         * src/NetworkManagerAP.c
16472           src/NetworkManagerAP.h
16473                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16474
16475         * src/NetworkManagerDbus.c
16476           src/NetworkManagerDbus.h
16477                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16478                         more than just the auth method
16479
16480         * src/NetworkManagerDevice.c
16481                 - Update network info at the appropriate times
16482
16483 2005-07-29  Ray Strode  <rstrode@redhat.com>
16484
16485         * src/NetworkManager.c (nm_info_handler): don't use input as format
16486         string (Spotted by Ian Jackson).
16487
16488 2005-07-27  Dan Williams  <dcbw@redhat.com>
16489
16490         * src/nm-dbus-nm.c
16491           src/nm-dbus-net.c
16492                 - Random cleanups of spacing
16493
16494         * gnome/applet/applet.h
16495           gnome/applet/other-network-dialog.c
16496           gnome/applet/passphrase-dialog.c
16497                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16498
16499         Patch from Bill Moss:
16500                 - Make Other Wireless Networks work again with encryption keys
16501
16502 2005-07-26  Dan Williams  <dcbw@redhat.com>
16503
16504         Patch from Steev <steev@steev.net>:
16505         * src/backends/NetworkManagerGentoo.c
16506           src/backends/Makefile.am
16507                 - Fix up Gentoo backend
16508
16509 2005-07-26  Robert Love  <rml@novell.com>
16510
16511         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16512
16513 2005-07-25  Robert Love  <rml@novell.com>
16514
16515         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16516           in the same group as the wireless networks, since they are all
16517           mutually exclusive.
16518
16519 2005-07-24  Ray Strode  <rstrode@redhat.com>
16520
16521         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16522         remove unneeded NULL arg from g_object_new().  Any
16523         warnings caused by not having the extra NULL are just a
16524         result of a bug in glib 2.7.0 - 2.7.2.
16525
16526 2005-07-22  Robert Love  <rml@novell.com>
16527
16528         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16529
16530 2005-07-22  Robert Love  <rml@novell.com>
16531
16532         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16533           parameters (gcc 4.0.2 warning fix).
16534
16535 2005-07-18  Robert Love  <rml@novell.com>
16536
16537         Suggested by Aaron Bockover (abockover@novell.com)
16538         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16539           s/Ascii/ASCII
16540         * gnome/applet/passphrase-dialog.c: ditto
16541         * gnome/applet/wireless-applet.glade: ditto
16542
16543 2005-07-13  Dan Williams  <dcbw@redhat.com>
16544
16545         Patch from Ray Strode <halfline@gmail.com>
16546         * vpn-daemons/vpnc/nm-vpnc-service.c
16547                 - Don't let vpnc daemonize, fixes some races with PID file reading
16548
16549 2005-07-13  Dan Williams  <dcbw@redhat.com>
16550
16551         Patch from Ray Strode <halfline@gmail.com>
16552         * Random cleanups for strict CFLAGS
16553
16554 2005-07-07  Dan Williams  <dcbw@redhat.com>
16555
16556         Patch from Derek Atkins <warlord@MIT.EDU>
16557         * src/nm-dbus-net.c:
16558                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16559
16560 2005-07-07  Dan Williams  <dcbw@redhat.com>
16561
16562         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16563         * src/backends/NetworkManagerGentoo.c
16564                 - Gentoo backend Static IP nameserver fixes
16565                 - General Gentoo backend goodness
16566
16567 2005-07-07  Dan Williams  <dcbw@redhat.com>
16568
16569         Patch from Bastien Nocera:
16570         * gnome/applet/applet.c
16571                 - Fix up error reporting when icons or glade files are missing
16572
16573 2005-07-07  Robert Love  <rml@novell.com>
16574
16575         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16576           are not any VPN connections above it.
16577
16578 2005-07-07  Robert Love  <rml@novell.com>
16579
16580         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16581
16582 2005-07-05  Robert Love  <rml@novell.com>
16583
16584         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16585           zero.
16586
16587 2005-07-05  Robert Love  <rml@novell.com>
16588
16589         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16590           on wired or unencrypted wireless.
16591
16592 2005-07-01  Robert Love  <rml@novell.com>
16593
16594         * src/NetworkManagerSystem.c: Print the error via strerror().
16595
16596 2005-06-30  Robert Love  <rml@novell.com>
16597
16598         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16599           then exit if the glade file is not found.  currently the application
16600           just hangs.
16601
16602 2005-06-30  Robert Love  <rml@novell.com>
16603
16604         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16605           explicitly up all interfaces on wake from sleep.
16606
16607 2005-06-30  Robert Love  <rml@novell.com>
16608
16609         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16610           with information about the currently active connection.
16611         * gnome/applet/applet.h: (ditto)
16612         * gnome/applet/wireless-applet.glade: (ditto), new file
16613
16614 2005-06-30  Robert Love  <rml@novell.com>
16615
16616         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16617         * src/nm-dbus-nm.c: print when we sleep and wake up.
16618         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16619         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16620           in /sbin unless D-BUS is, folks).
16621         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16622
16623 2005-06-27  Robert Love  <rml@novell.com>
16624
16625         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16626           case.
16627
16628 2005-06-27  Robert Love  <rml@novell.com>
16629
16630         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16631           items radios.
16632
16633 2005-06-26  Robert Love  <rml@novell.com>
16634
16635         * src/NetworkManagerDevice.c: be specific about which device in
16636           nm_info() message.
16637
16638 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16639
16640         * src/nm-netlink-monitor.c: correct spelling error.
16641
16642 2005-06-23  Robert Love  <rml@novell.com>
16643
16644         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16645         * gnome/applet/passphrase-dialog.c: more of that keyring!
16646
16647 2005-06-23  Robert Love  <rml@novell.com>
16648
16649         * configure.in: remove extraneous GNOMEKEYRING directives.
16650         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16651         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16652         * gnome/applet/passphrase-dialog.c: whitespace.
16653
16654 2005-06-23  Robert Love  <rml@novell.com>
16655
16656         * src/NetworkManagerDevice.c: division in assignment was flipped.
16657
16658 2005-06-23  David Zeuthen  <david@fubar.dk>
16659
16660         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16661         signal to the child to indicate that we got what we wanted when we
16662         see two new-lines right after each other.
16663         (nmwa_vpn_request_password): Pass a structure with several members
16664         instead of just the passwords
16665
16666 2005-06-23  Dan Williams <dcbw@redhat.com>
16667
16668         * src/NetworkManager.c
16669           src/NetworkManagerMain.h
16670                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16671                 - (nm_hal_init): new function, init libhal context then add devices
16672                 - (nm_hal_deinit): new function, clean up libhal context
16673                 - (nm_data_free): Move Hal cleanup here
16674                 - (main): check whether Hal is running, and if so, get a list of
16675                         network devices from it
16676
16677         * src/NetworkManagerDbus.c
16678                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16679                         and when it appears, get a list of network devices from it.  If
16680                         Hal goes away, clean up the libhal context
16681
16682 2005-06-22  Robert Love  <rml@novell.com>
16683
16684         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16685           permissions of scripts before executing.
16686
16687 2005-06-21  Robert Love  <rml@novell.com>
16688
16689         * initscript/SUSE/networkmanager: update.
16690         * src/backends/NetworkManagerSuSE.c: cleanup.
16691
16692 2005-06-21  Robert Love <rml@novell.com>
16693
16694         * gnome/applet/applet.c: use menu mnemonics.
16695         * gnome/applet/menu-items.c: (ditto)
16696
16697 2005-06-21  Robert Love  <rml@novell.com>
16698
16699         * applet/applet-dbus-devices.c: mark non-static functions static.
16700         * applet/applet-dbus-vpn.c: (ditto)
16701         * applet/applet.c: (ditto)
16702         * applet/nm-device.h: (ditto)
16703         * applet/other-network-dialog.c: (ditto)
16704         * applet/passphrase-dialog.c: (ditto)
16705         * NetworkManager.c: (ditto)
16706         * NetworkManagerDbus.c: (ditto)
16707         * NetworkManagerDevice.c: (ditto)
16708         * NetworkManagerPolicy.c: (ditto)
16709         * NetworkManagerUtils.c: (ditto)
16710         * NetworkManagerWireless.c: (ditto)
16711         * NetworkManagerWireless.h: (ditto)
16712         * nm-netlink-monitor.c: (ditto)
16713         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16714         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16715         * autoip.c: include autoip.h.
16716         * autoip.h: new file.  define get_autoip().
16717         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16718         * NetworkManagerDbus.h: remove duplicate definitions.
16719
16720 2005-06-20  Robert Love  <rml@novell.com>
16721
16722         * Makefile.am: Add missing intltool-foo.in generated files to
16723           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16724           with the start of stuff to cleanup on 'distclea'.
16725         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16726           stuff right and 'distcheck' works.
16727         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16728           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16729           Makefile.am for each.  And systray/Makefile needs to be redone.
16730
16731 2005-06-19  Dan Williams <dcbw@redhat.com>
16732
16733         * src/NetworkManagerDevice.c
16734         - (nm_device_wireless_process_scan_results): scan every 20s when
16735           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16736
16737 2005-06-19  Dan Williams <dcbw@redhat.com>
16738
16739         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16740
16741 2005-06-18  Ray Strode <rstrode@redhat.com>
16742
16743         * src/nm-netlink-monitor.c 
16744         (nm_netlink_monitor_event_handler): check for the presence
16745         of either error condition not both. 
16746         
16747         (nm_netlink_monitor_error_handler): emit error signal if
16748         error occurs.
16749
16750         (nm_netlink_monitor_event_handler),
16751         (nm_netlink_monitor_error_handler),
16752         (nm_netlink_monitor_disconnect_handler): if an 
16753         assertion fails disconnect the event handler to prevent 
16754         infinite loops.
16755
16756         * src/nm-netlink-monitor.h: add new error condition
16757         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16758
16759 2005-06-18  Ray Strode <rstrode@redhat.com>
16760
16761         * src/nm-netlink-monitor.c 
16762         (nm_netlink_monitor_event_handler): remove bogus < 0
16763         check on unsigned value and return early if the kernel
16764         didn't send any bytes.
16765
16766 2005-06-17  Robert Love  <rml@novell.com>
16767
16768         * initscript/SUSE/networkmanager: Change the Provides and default
16769         run levels
16770
16771 2005-06-16  Dan Williams <dcbw@redhat.com>
16772
16773         Patch from Robert Love:
16774         * gnome/applet/applet.c
16775                 - Beautify some applet menu item names
16776
16777 2005-06-17  David Zeuthen  <davidz@redhat.com>
16778
16779         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16780         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16781         Also add new methods can_export, import_file and export.
16782
16783         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16784         to the main UI
16785
16786         * gnome/vpn-properties/nm-vpn-properties.c:
16787         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16788         nm-vpn-ui-interface.h.
16789         (update_edit_del_sensitivity): Also update "Export" sensitivity
16790         (add_vpn_connection): Also add new SVC_NAME column
16791         (import_settings): New function
16792         (retrieve_data_from_selected_connection): New function
16793         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16794         this function
16795         (export_cb): New function
16796         (init_app): Also setup the "export" widget
16797         (main): Support the --import-service and --import-file commandline
16798         arguments
16799
16800         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16801         D-BUS 0.34
16802
16803 2005-06-16  Dan Williams <dcbw@redhat.com>
16804
16805         Patch from Robert Love:
16806         * gnome/applet/menu-items.c
16807                 - (network_menu_item_new): pass -1 as wireless network
16808                         menu items height size request rather than ascent / 2
16809
16810 2005-06-16  Dan Williams <dcbw@redhat.com>
16811
16812         * Clean up wording in Wireless Scan Methods menu items and constants
16813
16814 2005-06-16  Robert Love  <rml@novell.com>
16815
16816         * po/POTFILES.in
16817                 - remove gtkcell* files
16818
16819 2005-06-15  Dan Williams <dcbw@redhat.com>
16820
16821         Patch from Robert Love: make the applet stetic
16822
16823         * gnome/applet/Makefile.am
16824                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16825
16826         * gnome/applet/gtkcellview.h
16827           gnome/applet/gtkcellview.c
16828           gnome/applet/gtkcellrendererprogress.h
16829           gnome/applet/gtkcellrendererprogress.c
16830                 - Removed
16831
16832         * gnome/applet/menu-items.c
16833                 - Progress bars are 5:1 size ratio
16834                 - Use GTK progress bars rather than internal ones
16835
16836 2005-06-15  Dan Williams <dcbw@redhat.com>
16837
16838         Patch from Robert Love:
16839         * initscript/SUSE/networkmanager
16840                 - Fix typo
16841
16842 2005-06-15  Dan Williams <dcbw@redhat.com>
16843
16844         * src/backends/NetworkManagerSuSE.c
16845           src/backends/NetworkManagerRedHat.c
16846           src/backends/NetworkManagerDebian.c
16847                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16848
16849 2005-06-15  Dan Williams <dcbw@redhat.com>
16850
16851         * src/backends/NetworkManagerDebian.c
16852                 - Add nm_system_device_get_use_dhcp() to debian backend
16853
16854         Patch from Kay Sievers:
16855         * src/backends/NetworkManagerSuSE.c
16856                 - Update debian backend for static IP nameservers
16857
16858         * src/NetworkManagerDevice.c
16859                 - Actually set the device to use static IP or DHCP rather
16860                         than always DHCP
16861
16862 2005-06-15  Dan Williams <dcbw@redhat.com>
16863
16864         Patch from Thom May:
16865         * src/backends/NetworkManagerDebian.c
16866                 - Update debian backend for static IP nameservers
16867
16868 2005-06-15  Dan Williams <dcbw@redhat.com>
16869
16870         Patches from Robert Love:
16871         * gnome/applet/wireless-applet.glade
16872                 - Tighten up wording
16873
16874         * src/NetworkManagerDevice.c
16875                 - Remove misplaced ';'
16876
16877         * configure.in
16878           initscript/Makefile.am
16879           initscript/SUSE/Makefile.am
16880           initscript/SUSE/networkmanager
16881                 - Add SUSE initscript
16882
16883 2005-06-12  David Zeuthen  <davidz@redhat.com>
16884
16885         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16886
16887         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16888
16889         * gnome/vpn-properties/nm-vpn-properties.c: New file
16890
16891         * gnome/vpn-properties/Makefile.am: New file
16892
16893         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16894         array of passwords
16895
16896         * src/vpn-manager/nm-vpn-manager.c
16897         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16898         instead of just a single one
16899
16900         * src/vpn-manager/nm-dbus-vpn.c:
16901         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16902         here
16903         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16904
16905         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16906         Change the interface here to give a list of passwords. Also, don't
16907         require username, but do require service
16908
16909         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16910         the binary for the auth-dialog and use that instead of putting up a
16911         dialog asking for a single password
16912
16913         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16914         however do remember the service
16915
16916         * gnome/applet/main.c (main): Setup i18n
16917
16918         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16919         connection to '%s'" to the tooltip if we are connected using VPN
16920         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16921         key to determine whether we the auth-dialog needs to
16922         reprompt. Also cope with the fact that the auth-dialog now returns
16923         an array of passwords.
16924         (nmwa_menu_configure_vpn_item_activate): New handler for
16925         "Configure VPN..." menu item
16926         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16927         (is_vpn_available): New function to determine if we got any
16928         NM-compatible VPN software installed
16929         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16930         items only if we have NM-compatible VPN software installed
16931         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16932         logic for detecting when VPN connections are removed
16933
16934         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16935         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16936         since these are defined elsewhere
16937
16938         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16939         function used to keep track of whether the last attempt succeded
16940         (nmwa_dbus_filter): Update last_attempt according to whether the
16941         VPN connection could be established or not
16942
16943         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16944         Change prototype to take an array of passwords, not just a single
16945         password
16946
16947         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16948         update service, not user
16949         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16950         dbus_active_vpn_name is not NULL before using it
16951         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16952         string array instead of assuming a single password
16953
16954         * gnome/applet/applet-dbus-info.c:
16955         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16956         user name; don't read from gconf
16957
16958         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16959         VPN_NAME_FILES_DIR
16960
16961         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16962
16963         * configure.in: Add checks for gmodule-2.0.
16964         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16965         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16966         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16967         for details
16968
16969         * vpn-daemons/Makefile.am: Removed
16970
16971         * vpn-daemons/README: New file to describe extensions points for VPN
16972         software
16973
16974 2005-06-10  Dan Williams <dcbw@redhat.com>
16975
16976         * src/backends/NetworkManagerRedHat.c
16977                 - (get_current_profile_name): new function, grab current network profile name from
16978                         /etc/sysconfig/network
16979                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16980                         update an IP4 Config structure's settings from it
16981                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16982                         get DNS info from current network profile
16983
16984 2005-06-09  Dan Williams <dcbw@redhat.com>
16985
16986         Patch from Robert Love:
16987         * src/NetworkManagerDevice.c
16988           src/NetworkManagerUtils.c
16989                 - 64-bit build fixes
16990
16991 2005-06-09  Dan Williams <dcbw@redhat.com>
16992
16993         Patch from Kay Sievers and Robert Love:
16994         * configure.in
16995           src/backends/Makefile.am
16996           src/backends/NetworkManagerSuSE.c
16997                 - Add SuSE support
16998
16999 2005-06-09  Dan Williams <dcbw@redhat.com>
17000
17001         * NetworkManager.h
17002                 - Add NMWirelessScanMethod enum for scan methods
17003
17004         * gnome/applet/applet-dbus-devices.c
17005                 - (nmwa_dbus_update_scanning_enabled_cb): remove
17006                 - (nmwa_dbus_update_scanning_enabled): remove
17007                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17008                         since it got removed
17009                 - (nmwa_dbus_enable_scanning): remove
17010
17011         * gnome/applet/applet-dbus-info.c
17012                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17013                         update the wireless scanning method from NMI
17014                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17015                         method value to NetworkManager
17016                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17017
17018         * gnome/applet/applet-dbus-info.h
17019                 - Add prototype for nmi_dbus_signal_update_scan_method
17020
17021         * gnome/applet/applet.c
17022                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17023                         Wireless Scanning menu based on current wireless scan method
17024                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17025                         signal for Wireless Scanning menu items, tell NetworkManager the new method
17026                         and update our menu items to make sure the right one is checked
17027                 - (nmwa_set_scanning_enabled_cb): remove
17028                 - (nmwa_context_menu_update): remove references to pause_scanning_item
17029                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17030                         Scanning menu item
17031                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17032                         from GConf
17033                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17034                         so we get notified of preference values too
17035                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17036
17037         * gnome/applet/applet.h
17038                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17039                 - Add wireless scan method member to applet data
17040                 - Remove pause_scanning_item, add Wireless Scanning submenu
17041
17042         * src/NetworkManager.c
17043                 - (nm_data_new): default to NM_SCAN_METHOD_ON
17044                 - (main): grab scanning method from NMI if we can
17045
17046         * src/NetworkManagerDbus.c
17047                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17048                         nm_dbus_update_wireless_scan_method()
17049                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17050                         from NMI
17051                 - (nm_dbus_nmi_is_running): redundant function, removed
17052                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17053                         when NMI comes back
17054
17055         * src/NetworkManagerDevice.c
17056                 - (nm_device_is_activated): return TRUE if the device is activated
17057                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17058                         and we are activated
17059
17060         * src/nm-dbus-nm.c
17061                 - (nm_dbus_nm_set_scanning_enabled): removed
17062                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17063                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17064
17065 2005-06-09  Dan Williams <dcbw@redhat.com>
17066
17067         * NetworkManager.h
17068           src/vpn-manager/nm-vpn-service.c
17069                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17070
17071 2005-05-27  Dan Williams <dcbw@redhat.com>
17072
17073         * vpn-daemons/vpnc/nm-vpnc-service.c
17074                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17075                         Should fix the bug where the VPN connection terminates the first time.
17076
17077 2005-05-20  Dan Williams <dcbw@redhat.com>
17078
17079         * NetworkManager.h
17080                 - Differentiate VPN config signals between bad VPN config options
17081                         and bad IP config
17082
17083         * gnome/applet/applet-dbus-info.h
17084                 - Add prototypes for wireless network and vpn connection update functions
17085
17086         * gnome/applet/applet-dbus.c
17087                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17088
17089         * gnome/applet/applet.c
17090                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17091                         error signals
17092                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17093                         propogation to NetworkManager
17094                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17095                         notify propogation to NetworkManager
17096
17097         * src/NetworkManagerDbus.c
17098                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17099                         are updating so a network can be removed from it if necessary
17100
17101         * src/vpn-manager/nm-vpn-manager.c
17102                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17103
17104         * vpn-daemons/vpnc/nm-vpnc-service.c
17105                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17106                 - (nm_vpnc_dbus_signal_launch_failed): remove
17107                 - (nm_vpnc_dbus_signal_connect_failed): remove
17108                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17109                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17110                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17111                         for new generalized error signal function, remove config file stuff
17112                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17113                         we can write configuration options to it
17114                 - (nm_vpnc_config_file_generate): removed
17115                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17116                 - (nm_vpnc_config_options_validate): validate the config options we receive
17117                         from NetworkManager to block potential exploits
17118                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17119                         starting vpnc
17120                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17121                         to NetworkManager
17122
17123 2005-05-16  Dan Williams  <dcbw@redhat.com>
17124
17125         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17126                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17127                         is not "connect"
17128
17129 2005-05-16  Dan Williams  <dcbw@redhat.com>
17130
17131         Patch from Tomislav Vujec <tvujec@redhat.com>
17132         * gnome/applet/applet-dbus-info.c
17133                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17134                         GConf and pass them to NetworkManager.  New key is 'routes' under
17135                         the VPN connection, and should be a string list
17136
17137         * src/NetworkManagerSystem.c
17138                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17139                         set them on the device when we set the rest of the VPN config.  Ensure
17140                         they are in the correct format since they are passed directly to the
17141                         command line.
17142
17143         * src/backends/NetworkManagerRedHat.c
17144           src/backends/NetworkManagerDebian.c
17145                 - (nm_system_device_add_route_via_device_with_iface): new function
17146
17147         * src/vpn-manager/nm-dbus-vpn.c
17148                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17149
17150         * src/vpn-manager/nm-vpn-manager.c
17151                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17152                         them into the IP4 config functions
17153
17154 2005-05-15  Dan Williams  <dcbw@redhat.com>
17155
17156         From Filip Miletic:
17157         * po/sr.po
17158           po/sr@Latn.po
17159           configure.in
17160                 - Serbian translation added
17161
17162 2005-05-15  Dan Williams  <dcbw@redhat.com>
17163
17164         * dispatcher-daemon/NetworkManagerDispatcher.c
17165                 - (main): sync arguments with NetworkManager and the applet, now use
17166                         "--no-daemon" rather than "daemon=no"
17167                 - (nmd_print_usage): Fix script path in usage message
17168
17169 2005-05-15  Dan Williams  <dcbw@redhat.com>
17170
17171         * src/NetworkManagerDevice.[ch]
17172           src/NetworkManagerPolicy.c
17173           src/NetworkManager.c
17174           src/nm-dbus-nm.c
17175                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17176                         longer send the DeviceNoLongerActive signal unconditionally, but only
17177                         when the device is actually active.
17178
17179         * dispatcher-daemon/NetworkManagerDispatcher.c
17180                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17181                         and simplify the logic
17182                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17183                         we free it later on
17184
17185         * initscript/RedHat/Makefile.am
17186           initscript/RedHat/NetworkManagerDispatcher
17187                 - Add initscript for NetworkManagerDispatcher
17188
17189
17190         Patch from Bill Moss:
17191         * dispatcher-daemon/NetworkManagerDispatcher.c
17192                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17193
17194         * src/NetworkManagerDbus.c
17195                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17196                         and DeviceNowActive gets signaled, then the device has a new IP address
17197                         anyway.  There's no need for a separate signal.
17198
17199         * src/NetworkManagerDevice.c
17200                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17201
17202         * src/NetworkManagerPolicy.c
17203                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17204                         activates successfully.  This kind of went missing when I reworked the
17205                         activation code.
17206
17207 2005-05-15  Dan Williams  <dcbw@redhat.com>
17208
17209         * configure.in
17210                 - Check for dhcdbd and error if its not found
17211
17212         * src/dhcp-manager/Makefile.am
17213           src/dhcp-manager/nm-dhcp-manager.c
17214                 - Use path to dhcdbd that configure found
17215
17216 2005-05-14  Dan Williams  <dcbw@redhat.com>
17217
17218         * gnome/applet/nm-device.c
17219                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17220                         sort wireless networks alphabetically
17221
17222         * gnome/applet/applet-dbus-devices.c
17223                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17224                         before copying them over to the GUI
17225
17226 2005-05-14  Dan Williams  <dcbw@redhat.com>
17227
17228         * src/NetworkManager.c
17229                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17230                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17231                         the device list, as does nm_get_active_device() which is called from
17232                         nm_vpn_manager_deactivate_vpn_connection().
17233
17234 2005-05-14  Dan Williams  <dcbw@redhat.com>
17235
17236         * NetworkManager.h
17237                 - Add signals for VPN Launch and Connect failures
17238
17239         * gnome/applet/applet-dbus.c
17240                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17241
17242         * gnome/applet/applet.c
17243                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17244                         function to handle all VPN failure messages
17245                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17246                         function to hanlde all VPN failure  messages
17247                 - (show_warning_dialog): work around focus-stealing prevention
17248
17249         * gnome/applet/other-network-dialog.c
17250           gnome/applet/passphrase-dialog.c
17251                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17252                         problem where it never enabled for ASCII Key and Hex Key types
17253
17254         * gnome/applet/wireless-applet.glade
17255                 - Add window title to Other Wireless Network Dialog
17256
17257         * src/vpn-manager/nm-dbus-vpn.c
17258                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17259                         function to handle all VPN failure messages
17260
17261         * src/vpn-manager/nm-vpn-manager.c
17262                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17263
17264         * vpn-daemons/vpnc/nm-vpnc-service.c
17265                 - (nm_vpnc_dbus_signal_launch_failed): new function
17266                 - (nm_vpnc_dbus_signal_connect_failed): new function
17267                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17268                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17269                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17270                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17271
17272 2005-05-11  Dan Williams  <dcbw@redhat.com>
17273
17274         * vpn-daemons/vpnc/nm-vpnc-service.c
17275                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17276                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17277                         file exists before trying to write it out.
17278
17279 2005-05-10  Dan Williams  <dcbw@redhat.com>
17280
17281     * gnome/applet/applet-dbus-device.c
17282         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17283             prevented just entering ESSID and leaving key and key type up to
17284             NetworkManager (which should have them already cached)
17285
17286 2005-05-08  Dan Williams  <dcbw@redhat.com>
17287
17288         * src/NetworkManagerPolicy.c
17289                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17290                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17291                         fix a situation where NM is told to terminate and the device stops activation,
17292                         but the main thread isn't aware of that because it would never have run
17293                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17294                         had already quit.
17295
17296         * src/NetworkManagerDevice.c
17297                 - (nm_device_probe_wired_link_state): cosmetic fixes
17298                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17299                         we've failed to activate or been canceled.
17300                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17301
17302 2005-05-08  Dan Williams  <dcbw@redhat.com>
17303
17304         * src/NetworkManagerWireless.c
17305                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17306                         value of WEXT quality structures, and add a debug message when we cannot
17307                         determine any quality % at all
17308
17309 2005-05-08  Dan Williams  <dcbw@redhat.com>
17310
17311         * src/dhcp-manager/nm-dhcp-manager.c
17312                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17313                         it goes down.
17314
17315 2005-05-06  Dan Williams  <dcbw@redhat.com>
17316
17317         * gnome/applet/applet-dbus-device.c
17318           gnome/applet/applet-dbus-info.c
17319           gnome/applet/applet-dbus.c
17320           gnome/applet/applet.c
17321           gnome/applet/applet.h
17322                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17323
17324         * gnome/applet/applet-dbus.c
17325                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17326                         so we notice when wired device's carriers come back on.  Should
17327                         fix issue with wired devices being grayed out even if the cable
17328                         is in, for devices that support carrier detection.
17329
17330         * gnome/applet/applet.c
17331                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17332                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17333                         tooltip message
17334                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17335                         Fix situation where applet wouldn't respond to menu selections
17336
17337         * src/NetworkManager.c
17338           src/NetworkManagerDevice.c
17339           src/NetworkManagerDbus.c
17340           src/NetworkManagerDbus.h
17341                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17342
17343         * src/NetworkManagerDbus.c
17344                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17345                         Remove, no longer used or relevant
17346                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17347                 - (nm_dbus_schedule_device_status_change_signal): add
17348
17349         * src/NetworkManagerDevice.c
17350                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17351                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17352                         ie don't deactivate them unless explicitly told to by the user.  Also send
17353                         CARRIER_OFF / CARRIER_ON signals when link changes
17354                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17355                         Don't print error message when device is no longer around
17356                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17357                         not just during activation
17358
17359         * src/NetworkManagerPolicy.c
17360                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17361                         auto-device-selection.
17362                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17363
17364         * src/NetworkManagerSystem.c
17365                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17366                         is no longer present (Bill Moss)
17367
17368         * src/backends/shvar.c
17369                 - (svOpenFile): Open read-only to make SELinux happy
17370
17371         * src/backends/NetworkManagerRedHat.c
17372                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17373                         the path to the ifcfg-* files
17374
17375 2005-05-05  Dan Williams  <dcbw@redhat.com>
17376
17377         * Expose activation stages to NetworkManager clients, like the applet
17378         * Add Diana's progress icons to the applet, cued off NM activation stage
17379         * Use more descriptive tooltips, cued off NM activation stage
17380
17381 2005-05-05  Ray Strode  <rstrode@redhat.com>
17382
17383         * src/nm-netlink-monitor.c:
17384                 - Use clear_event_source instead of g_nullify_pointer() again.
17385
17386 2005-05-05  Dan Williams  <dcbw@redhat.com>
17387
17388         * gnome/applet/main.c
17389                 - Fix session management so the applet is actually managed now
17390
17391         * gnome/applet/passphrase-dialog.c
17392                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17393
17394 2005-05-05  Dan Williams  <dcbw@redhat.com>
17395
17396         Patch from Bill Moss:
17397         * gnome/libnm_glib/libnm_glib.c
17398                 - Fix for dbus-0.33
17399
17400 2005-05-05  Dan Williams  <dcbw@redhat.com>
17401
17402         Suggestion from Bill Moss:
17403         * src/NetworkManagerSystem.c
17404                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17405
17406
17407         * src/NetworkManager.c
17408                 - (nm_data_free): move destruction of the various managers after
17409                         release of device list, because deactivating and freeing a device
17410                         requires at least the named manager
17411                 - (nm_poll_and_update_wireless_link_state):
17412                   (nm_device_link_activated):
17413                   (nm_device_link_deactivated):
17414                         don't grab the device list lock when actually updating device
17415                         link status or strength, since nm_device_set_link_active()
17416                         needs to call nm_get_active_device(), which also locks the device list.
17417
17418         * src/NetworkManagerDevice.c
17419                 - (nm_device_set_link_active): if a device's link switches from off->on,
17420                         and it's wired, and the active device is wireless (or there is no
17421                         active device), activate the new device whose link just came on
17422                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17423                         my only calling the link to the current ap "failed" when more than 2
17424                         consecutive link checks have failed
17425
17426 2005-05-04  Dan Williams  <dcbw@redhat.com>
17427
17428         * src/NetworkManagerDevice.c
17429                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17430                         but let link_to_specific_ap() do the locking where it needs
17431
17432         Patch from Bill Moss:
17433         * src/NetworkManagerSystem.c
17434                 - Set MTU of VPN devices to 1412
17435
17436 2005-05-04  Dan Williams  <dcbw@redhat.com>
17437
17438         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17439
17440         * Fix some holes in device activation and retaining the currently connected
17441                 access point
17442
17443 2005-05-03  Dan Williams  <dcbw@redhat.com>
17444
17445         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17446           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17447           means you need dhcdbd, which you can get here (get the latest one):
17448
17449                 http://people.redhat.com/jvdias/dhcdbd/
17450
17451           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17452           interface as dhcdbd.
17453
17454         * Rewrite device activation to facilitate the new DHCP infrastructure and
17455           future improvements.  Its now "activation request" based, ie there is a single
17456           activation request composed of the device, access point, and other info which
17457           follows the entire activation process.  There are 5 stages of the activation
17458           process which correspond to:
17459
17460                 1) Device preparation
17461                 2) Device configuration (bring it up, set ESSID/Key/etc)
17462                 3) IP Config Start (fire off DHCP if we're using it)
17463                 4) IP Config Get (grab config from DHCP or static config files)
17464                 5) IP Config Commit (set device's IP address, DNS, etc)
17465
17466           Note that there is no longer a "scanning" step, since the access point must
17467           be known _before_ activation starts.  If the access point drops out or does
17468           not exist for some reason, the entire activation process fails and must be
17469           restarted for a different access point or device.
17470
17471         Patch from Bill Moss:
17472         * gnome/applet/applet.c
17473                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17474
17475 2005-04-27  Dan Williams  <dcbw@redhat.com>
17476
17477         * gnome/applet/applet-dbus-vpn.c
17478           gnome/applet/applet.c
17479           gnome/applet/applet.h
17480                 - Fix up active VPN handling so that we reliably know when a VPN
17481                         connection has been deactivated
17482
17483         * src/vpn-manager/nm-vpn-manager.c
17484                 - Remove duplicate VPNConnectionChange signal
17485
17486 2005-04-27  Dan Williams  <dcbw@redhat.com>
17487
17488         Patch from Peter Jones:
17489         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17490
17491         Patch from Bill Moss:
17492         * src/NetworkManagerSystem.c
17493                 - Fix checking of return value from ioctl()
17494
17495 2005-04-27  Dan Williams  <dcbw@redhat.com>
17496
17497         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17498         * Warn and exit if icons cannot be found
17499
17500 2005-04-27  Dan Williams  <dcbw@redhat.com>
17501
17502         Patch from Tom Parker:
17503         * Update debian backend
17504
17505 2005-04-27  Dan Williams  <dcbw@redhat.com>
17506
17507         * Merge the applet and the info-daemon, and move the converged
17508                 applet under gnome/applet
17509         * Move libnm_glib to gnome/libnm_glib
17510         * Convert most dbus calls between the applet, info-daemon, and NM
17511                 into async calls
17512         * Fix a few things valgrind noticed
17513         * Make NM broadcast state more reliably
17514
17515 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17516
17517         * configure.in: Added ne in ALL_LINGUAS
17518
17519 2005-04-15  Dan Williams  <dcbw@redhat.com>
17520
17521         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17522                 code for dbus 0.2x versions
17523
17524 2005-04-15  Dan Williams  <dcbw@redhat.com>
17525
17526         Patches from Tom Parker:
17527         - Fix memleaks
17528         - Join with worker thread rather than polling for its exit
17529
17530         Patch from Bill Moss:
17531         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17532
17533 2005-04-15  Dan Williams  <dcbw@redhat.com>
17534
17535         - Fixes to pass 'make distcheck'
17536
17537 2005-04-15  Dan Williams  <dcbw@redhat.com>
17538
17539         Initial VPN Support
17540                 - supports 'vpnc'
17541                 - reworks device IP configuration, backend files have changed and will need
17542                         to be updated for all distributions.  I will try to do what I can for
17543                         them, but I cannot test them.
17544
17545         - Move named directory to src/named-manager
17546         - Make backends directory self-contained
17547
17548 2005-04-06  Dan Williams  <dcbw@redhat.com>
17549
17550         Add debug code for socket/file descriptor leaks.  We register every socket
17551         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17552         list of sockets that we forgot to close on shutdown.  This also consolidates
17553         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17554
17555 2005-04-06  Dan Williams  <dcbw@redhat.com>
17556
17557         * dhcpcd/dhcpcd.c
17558                 - (dhcp_interface_free): fix a file descriptor leak that may have
17559                         caused network drivers to not unload due to refcounts > 0
17560
17561 2005-04-04  Dan Williams  <dcbw@redhat.com>
17562
17563         * panel-applet/NMWirelessAppletDbus.c
17564                 - (nmwa_dbus_call_nm_method): remove some commented code
17565
17566         * src/NetworkManagerAPList.[ch]
17567                 - (nm_ap_list_remove_ap_by_essid): new function
17568
17569         * src/NetworkManagerDevice.c
17570                 - (nm_device_wireless_force_use): remove access points from the ignore list
17571                         when the user forces them
17572
17573         * src/nm-dbus-device.c
17574                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17575
17576 2005-04-04  Dan Williams  <dcbw@redhat.com>
17577
17578         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17579
17580 2005-04-04  Dan Williams  <dcbw@redhat.com>
17581
17582         * src/NetworkManagerDevice.c:
17583                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17584                         of only erroring after the second consecutive scan times out.  Also
17585                         don't exit when the card requires more time than we can give it, just
17586                         log the event and continue.
17587
17588 2005-04-01  Steve Murphy  <murf@e-tools.com>
17589
17590         * configure.in: Added "rw" to ALL_LINGUAS.
17591
17592 2005-04-01  Dan Williams <dcbw@redhat.com>
17593
17594         Perform scans during device activation, if needed.  Both activation 
17595         and scans run in the same GMainContext.  Therefore, if an access point
17596         is not found by the time the device starts activation, it will not
17597         be available until after activation.  We now try to scan during
17598         activation (in nm_wa_test) every 15s so that all available access
17599         points are more likely to be found and available for the activation
17600         procedure.
17601
17602         Also change nm_wireless_link_state_handle() to only update the "best"
17603         AP if we are not forcing a device and if we are not about to change
17604         state.  This attempts to work around a race when forcing a device,
17605         where the forced AP would get cleared out too soon by the link state
17606         checking timeout in the main thread, and the activation attempt with
17607         that AP would fail.
17608
17609 2005-04-01  Dan Williams <dcbw@redhat.com>
17610
17611         * po/POTFILES.in
17612                 - Update with new translatables
17613
17614 2005-03-31  Dan Williams <dcbw@redhat.com>
17615
17616         * panel-applet/NMWirelessAppletDbus.c
17617                 - Fix device names now that hal has changed device parenting for
17618                         network devices.
17619
17620 2005-03-31  Dan Williams <dcbw@redhat.com>
17621
17622         Tighten up handling of wireless devices that don't support wireless
17623         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17624         hadn't been doing pseudo-scanning for a while either and would just
17625         spin waiting for an access point.  They are now manual devices where
17626         the user must choose the access point from the menu every time.  All
17627         "allowed" access points are listed in the applet's menu regardless
17628         of whether or not they can be seen by the card, since it can't scan
17629         anyway.
17630
17631         * src/NetworkManager.c
17632                 - (nm_wireless_link_state_handle): new function, but only update
17633                         the "best" ap for non-scanning devices when its not activating,
17634                         and when no device is being forced on the card
17635                 - (nm_link_state_monitor): split wireless link state handling out
17636                         into separate function
17637
17638         * src/NetworkManagerDevice.c
17639                 - (nm_device_copy_allowed_to_dev_list): new function
17640                 - (nm_device_new): populate non-scanning cards' AP lists with
17641                         access points from the "allowed" list
17642                 - (nm_device_new): don't start a scanning timeout for devices that
17643                         can't scan
17644                 - (nm_device_activation_schedule_finish): new parameter, should be
17645                         the AP that failed to be connected to, pass it on to the
17646                         activation finish function in NetworkManagerPolicy.c
17647                 - (nm_device_activate_wireless): don't ever try to get a new AP
17648                         for non-scanning devices, just fail.  The user must choose
17649                         a new access point manually.
17650                 - (nm_device_activate): grab the AP that failed connection and
17651                         pass it on
17652                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17653                         a link to it, user must manually choose a new one
17654                 - (nm_device_do_pseudo_scan): remove function
17655                 - (nm_device_wireless_process_scan_results): remove bits for non-
17656                         scanning cards since they never get here
17657                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17658                         and fake the scan list for test devices a bit earlier
17659
17660         * src/NetworkManagerPolicy.c
17661                 - (nm_policy_activation_finish): use the failed_ap that we get
17662                         passed rather than getting the best_ap from the card, which
17663                         may have changed since we were scheduled
17664                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17665                         update their scan list directly from the allowed list when
17666                         we get updates to the allowed list from NetworkManagerInfo
17667
17668         * src/NetworkManagerPolicy.h
17669                 - New member for failed access point in NMActivationResult
17670
17671   -------------------------------------
17672
17673         Driver Notification patch: notifies the user when their driver
17674                 sucks.  Gives them the option to ignore further insertions
17675                 of the card that has the sucky driver.
17676
17677         * NetworkManager.h
17678                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17679                         enum and replace it with NO_CARRIER_DETECT and
17680                         NO_WIRELESS_SCAN
17681
17682         * panel-applet/NMWirelessApplet.[ch]
17683                 - Merge essid.glade -> wireless-applet.glade
17684                 - Implement the "Your driver sucks" notification dialog
17685
17686         * panel-applet/NMWirelessAppletDbus.c
17687                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17688                 - Grab hardware address for each device from NM too
17689                 - Check whether the driver for each device sucks or not whenever
17690                         a new device is noticed
17691
17692         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17693                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17694
17695         * src/NetworkManager.c
17696                 - Fix a double-unref on device removal
17697
17698         * src/NetworkManagerUtils.c
17699                 - Set appropriate driver support level on a device that doesn't
17700                         support scanning or carrier detection
17701
17702         * src/nm-dbus-device.c
17703                 - New "getHWAddress" dbus method on devices
17704                 - getSupportsCarrierDetect -> getDriverSupportLevel
17705
17706 2005-03-31  Dan Williams <dcbw@redhat.com>
17707
17708         * src/NetworkManagerDevice.c
17709                 - (nm_device_wireless_scan): Fix leak of scan results in some
17710                         instances
17711
17712 2005-03-29  Dan Williams <dcbw@redhat.com>
17713
17714         * src/NetworkManager.c
17715                 - (nm_poll_and_update_wireless_link_state): make code less indented
17716
17717         Patch from Bill Moss:
17718         * src/NetworkManager.c
17719                 - (nm_device_update_link_state): Update signal strength on wireless
17720                         devices every time we update link state too.
17721
17722 2005-03-29  Dan Williams <dcbw@redhat.com>
17723
17724         * src/NetworkManagerDevice.c
17725                 - (nm_device_set_essid): Work around Orinoco cards which need
17726                         extra time after setting the ESSID
17727
17728 2005-03-29  Dan Williams <dcbw@redhat.com>
17729
17730         * src/NetworkManagerDevice.c
17731                 - Merge one more bit of Peter Jones' completion patch
17732
17733 2005-03-29  Dan Williams <dcbw@redhat.com>
17734
17735         * src/NetworkManagerDevice.c
17736                 - (nm_device_force_use): Fix possible segfault
17737
17738 2005-03-29  Dan Williams <dcbw@redhat.com>
17739
17740         * src/NetworkManagerDevice.c
17741                 - Use iw_get_ext() where we should rather than iw_set_ext()
17742
17743 2005-03-29  Dan Williams <dcbw@redhat.com>
17744
17745         * src/NetworkManagerDevice.c
17746                 - (nm_device_set_up_down): remove check for unsupported devices
17747                         that caused NM to not bring devices up when they were
17748                         added to the device list.
17749
17750 2005-03-28  Dan Williams <dcbw@redhat.com>
17751
17752         * src/NetworkManagerDevice.c
17753                 - (mdio_read): Fix two bugs that caused all devices to fail
17754                         the MII carrier detection support checks
17755
17756 2005-03-26  Dan Williams <dcbw@redhat.com>
17757
17758         * src/NetworkManagerDevice.c
17759                 - (nm_device_wireless_scan): Remove duplicated scanning code
17760
17761 2005-03-25  Dan Williams <dcbw@redhat.com>
17762
17763         * panel-applet/NMWirelessApplet.c
17764                 - (nmwa_about_cb): Add some more contributors
17765                 - (nmwa_update_state): show the applet when there's no connection
17766                 - Enable the "Stop/Resume all wireless devices" option in the
17767                         context menu
17768                 - New "no connection" icon
17769
17770         * src/NetworkManager.c
17771                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17772                         wireless is disabled or we're asleep
17773
17774         * src/NetworkManagerDHCP.c
17775                 - Remove trailing "\n" on debug messages
17776
17777         * src/NetworkManagerDbus.c
17778                 - (nm_dbus_network_status_from_data): new state "asleep"
17779
17780         * src/NetworkManagerDevice.c
17781                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17782                         latency and wait times for most operations
17783                 - (nm_device_wireless_scan): Don't scan when asleep
17784
17785         * src/NetworkManagerPolicy.c
17786                 - (nm_policy_get_best_device): return no device when asleep
17787                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17788                         for all wireless devices on update, not just active device
17789
17790         * src/NetworkManagerUtils.c
17791                 - Merge Peter Jones' "completion" patch
17792
17793         * src/nm-dbus-nm.c
17794                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17795                         we're told to disable them
17796                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17797
17798         * utils/nm-utils.h
17799                 - New variants of the warn/info/error/debug print functions that can take
17800                         variables rather than static strings
17801
17802 2005-03-24  Dan Williams <dcbw@redhat.com>
17803
17804         * src/NetworkManagerUtils.c
17805                 - (nm_get_device_driver_name): driver names are now on the parents of
17806                         "Network Interface" objects, so look for them there
17807
17808 2005-03-24  Dan Williams <dcbw@redhat.com>
17809
17810         * test/nmtest.c
17811                 - Escape some forgotten object paths before we shove them through dbus
17812
17813 2005-03-24  Dan Williams <dcbw@redhat.com>
17814
17815         * dhcpcd/dhcpcd.[ch]
17816           src/NetworkManagerDHCP.c
17817                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17818                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17819
17820         * src/NetworkManagerDbus.c
17821                 - spacing cleanups
17822
17823         * src/nm-dbus-dhcp.c
17824                 - Make the API suck less.  There is now only 1 type of each function,
17825                         ie only "getInteger" and no longer also "getIntegerv".  All types
17826                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17827                         that will never have more than 1 element.  This should simplify
17828                         things greatly.
17829
17830         * test/nm-dhcp-opt-test.c
17831                 - Make the tool not segfault
17832                 - adapt to new DHCP Options API
17833
17834 2005-03-22  Dan Williams <dcbw@redhat.com>
17835
17836         * src/NetworkManager.c
17837                 - (nm_wired_link_deactivated): actually ignore netlink events from
17838                         wireless devices.
17839
17840 2005-03-22  Dan Williams <dcbw@redhat.com>
17841
17842         * src/NetworkManager.c
17843                 - (nm_wired_link_activated): actually ignore netlink events from
17844                         wireless devices.
17845
17846 2005-03-17  Dan Williams <dcbw@redhat.com>
17847
17848         Patch from Tom Parker:
17849         * src/nm-netlink-monitor.c
17850                 - Include unistd.h
17851         * info-daemon/NetworkManagerInfoDbus.c
17852                 - (nmi_dbus_update_network_auth_method): free GConf values
17853
17854         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17855         * src/NetworkManagerDevice.c
17856                 - (nm_device_set_wireless_config): wait for successful
17857                         association longer for some cards (Atheros a/b/g)
17858
17859 2005-03-15  Ray Strode  <rstrode@redhat.com>
17860
17861         * src/NetworkManager.c:
17862         (sigterm_pipe_handler):
17863         remove bogus FIXME
17864
17865 2005-03-15  Ray Strode  <rstrode@redhat.com>
17866
17867         * src/NetworkManagerDbus.c:
17868         Fix some sign weirdness that gcc4 doesn't like,
17869         and add a header file so PPC can hopefully find
17870         SIGTRAP
17871
17872 2005-03-14  Ray Strode  <rstrode@redhat.com>
17873         
17874         Fourth (probably working) cut at porting to
17875         dbus 0.30 api and new hal. This cut adds
17876         some new logging macros to make debugging
17877         easier.
17878
17879         * dispatcher-daemon/NetworkManagerDispatcher.c:
17880         * info-daemon/NetworkmanagerInfo.c:
17881         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17882         * info-daemon/NetworkManagerInfoVPN.c:
17883         * src/NetworkManager.c:
17884         * src/NetworkManagerAP.c:
17885         * src/NetworkManagerAPList.c:
17886         * src/NetworkManagerDHCP.c:
17887         * src/NetworkManagerDbus.c:
17888         * src/NetworkManagerDevice.c:
17889         * src/NetworkManagerPolicy.c:
17890         * src/NetworkManagerSystem.c:
17891         * src/NetworkManagerUtils.c:
17892         * src/NetworkManagerWireless.c:
17893         * src/autoip.c:
17894         * src/nm-dbus-nm.c:
17895         * src/backends/NetworkManagerDebian.c:
17896         * src/backends/NetworkManagerGentoo.c:
17897         * src/backends/NetworkManagerRedHat.c:
17898         * src/backends/NetworkManagerSlackware.c:
17899         use new logging macros.
17900
17901         * dispatcher-daemon/NetworkManagerDispatcher.c:
17902         (nmd_dbus_filter): s/dbus_free/g_free/
17903
17904         * info-daemon/Makefile.am: link in utils library.
17905         * info-daemon/NetworkmanagerInfo.c: use new logging 
17906         macros.
17907         (nmi_dbus_get_network): don't assume enumerations
17908         are 32-bit.
17909         (nmi_dbus_nmi_message_handler): don't free what 
17910         doesn't belong to us.
17911
17912         * libnm_glib/libnm_glib.c:
17913         (libnm_glib_get_nm_status): 
17914         (libnm_glib_init): don't free what doesn't
17915         belong to us.
17916         (libnm_glib_dbus): strdup result, so it doesn't get
17917         lost when message is unref'd.
17918
17919         * panel-applet/NMWirelessAppletDbus.c:
17920         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17921
17922         * src/NetworkManager.c:
17923         (nm_monitor_wired_link_state): request initial status 
17924         dump of all cards when we start up, instead of relying
17925         on /sys/.../carrier.
17926         (nm_info_handler), (nm_set_up_log_handlers): 
17927         log handlers to specify what syslog priorites 
17928         the logging macros default to.
17929
17930         * src/NetworkManagerAPList.c: 
17931         (nm_ap_list_populate_from_nmi):
17932         s/dbus_free_string_array/g_strfreev/
17933
17934         * src/NetworkManagerDbus.c:
17935         (nm_dbus_get_network_object):
17936         validate d-bus message argument types.
17937         Advance message iterator after reading argument,
17938         prepend instead of append to GSList.
17939
17940         * src/NetworkManagerDevice.c:
17941         (nm_device_probe_wired_link_status):
17942         remove redundant /sys in /sys path. remove wrong
17943         contents == NULL means has carrier assumption.
17944
17945         * src/nm-netlink-monitor.c 
17946         (nm_netlink_monitor_request_status): implement
17947         function to ask kernel to dump interface link
17948         status over netlink socket.
17949
17950         * test/*.c: s/dbus_free/g_free/
17951
17952         * utils/nm-utils.h:
17953         (nm_print_backtrace): new macro to print backtrace.
17954         (nm_get_timestamp): new macro to get sub-second precise
17955         unix timestamp.
17956         (nm_info), (nm_debug), (nm_warning), (nm_error):
17957         new logging functions. nm_info just prints,
17958         nm_debug includes timestamp and function,
17959         nm_warning includes function, nm_error includes
17960         backtrace and sigtrap.
17961
17962 2005-03-11  Ray Strode  <rstrode@redhat.com>
17963
17964         Third (unfinished, partially working) cut at porting to 
17965         dbus 0.30 api and new hal.
17966
17967         * info-daemon/NetworkManagerInfoDbus.c:
17968                 don't free null arrays.
17969
17970         * panel-applet/NMWirelessAppletDbus.c: 
17971         * src/nm-dbus-device.c:
17972         * src/nm-dbus-net.c: 
17973         * src/NetworkManagerDbus.c: more 
17974         STRING -> OBJECT_PATH fun
17975         * src/NetworkManagerDevice.c:
17976         * src/NetworkManagerDevice.h:
17977         (rename nm_device_get_link_active): rename to 
17978         nm_device_has_active_link
17979         (nm_device_wireless_link_active): rename to
17980         nm_device_probe_wireless_link_state
17981         (nm_device_wired_link_active): rename to
17982         nm_device_probe_wired_link_state.  Rewrite to
17983         use carrier file since hal doesn't maintain
17984         link state anymore.
17985         (nm_device_update_link_active): rename to
17986         nm_device_update_link_state
17987         * src/NetworkManagerPolicy.c 
17988           (nm_policy_activation_finish): check for NULL
17989           MAC address.
17990
17991         * src/Makefile.am:
17992         * src/NetworkManagerMain.h: 
17993         * src/NetworkManager.c:
17994         * src/nm-netlink-monitor.c:
17995         * src/nm-netlink-monitor.h: New class to support
17996         monitoring wired ethernet link status, since HAL
17997         doesn't export that information anymore.
17998
17999 2005-03-09  Ray Strode  <rstrode@redhat.com>
18000
18001         Second (unfinished, unworking) cut at porting to 
18002         dbus 0.30 api.
18003
18004         * dispatcher-daemon/NetworkManagerDispatcher.c:
18005         * info-daemon/NetworkManagerInfoDbus.c:
18006         * panel-applet/NMWirelessAppletDbus.c:
18007         * src/NetworkManagerDbusUtils.c:
18008         * src/NetworkManagerDbusUtils.h:
18009         * src/nm-dbus-device.c:
18010         * src/nm-dbus-nm.c:
18011         * test/nmtest.c: support dbus "object path" type
18012
18013         * configure.in: 
18014         * Makefile.am:
18015         * info-daemon/Makefile.am:
18016         * libnm_glib/Makefile.am:
18017         * panel-applet/Makefile.am:
18018         * dispatcher-daemon/Makefile.am
18019         * src/Makefile.am:
18020         * test/Makefile.am:
18021         * utils/Makefile.am: 
18022         * utils/nm-utils.c: 
18023         * utils/nm-utils.h: new utils static lib
18024
18025 2005-03-07  Ray Strode  <rstrode@redhat.com>
18026
18027         * info-daemon/NetworkManagerInfoDbus.c:
18028         * libnm_glib/libnm_glib.c:
18029         * panel-applet/NMWirelessAppletDbus.c:
18030         * src/NetworkManager.c:
18031         * src/NetworkManagerDbus.c:
18032         * src/NetworkManagerDevice.c:
18033         * src/NetworkManagerUtils.c:
18034         * src/nm-dbus-device.c:
18035         * src/nm-dbus-dhcp.c:
18036         * src/nm-dbus-net.c:
18037         * src/nm-dbus-nm.c:
18038         * test/nminfotest.c:
18039         First (unfinished, unworking) cut at porting to dbus 0.30 api.
18040
18041 2005-03-04  Dan Williams  <dcbw@redhat.com>
18042
18043         * configure.in
18044                 - Mark HEAD as 0.4
18045
18046 2005-03-04  Dan Williams  <dcbw@redhat.com>
18047
18048         Patch from Peter Jones:
18049         - Make stuff work with gcc 4.0
18050
18051 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18052
18053         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18054
18055 2005-02-27  Jim Huang  <jserv@kaffe.org>
18056
18057         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18058
18059 2005-02-27  Dan Williams  <dcbw@redhat.com>
18060
18061         Patch from Bill Moss:
18062         * panel-applet/NMWirelessAppletDbus.c
18063                 - Make sure strength for current access point is up-to-date when we
18064                         update the gui data model
18065
18066 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18067
18068         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18069
18070 2005-02-27  Dan Williams  <dcbw@redhat.com>
18071
18072         * src/backends/NetworkManagerRedHat.c
18073                 - (nm_system_init): Kill any dhclient processes lying around as well
18074                         as stopping 'nifd' if its already been started.  NetworkManager
18075                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18076
18077 2005-02-27  Dan Williams  <dcbw@redhat.com>
18078
18079         * panel-applet/NMWirelessApplet.c
18080                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18081                         dbus data model, not the GUI data model twice.
18082
18083 2005-02-27  Dan Williams  <dcbw@redhat.com>
18084
18085         * panel-applet/NMWirelessApplet.[ch]
18086           panel-applet/NMWirelessAppletDbus.[ch]
18087                 - Move to incremental network updates.  Instead of blowing away our list
18088                         of devices every time we get a signal from NetworkManager, we now
18089                         incrementally add/remove networks when NetworkManager notifies us that
18090                         a new network has appeared or disappered.  Strength updates now happen
18091                         on-the-fly for each access point as well.  There are now two copies of
18092                         data from NetworkManager: one for the dbus side, and one for the gui side.
18093                         When the dbus side data is modified, it is copied over to the gui side
18094                         so we don't have to hold the data_mutex for long periods of time (and
18095                         therefore block animation of the applet's icon).
18096                 - Clean up some memleaks too
18097
18098         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18099                 - Minor code beautification
18100
18101         * src/NetworkManagerAPList.c
18102                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18103                         completely new and whether or not an existing one's strength was updated.
18104                         Try to fix multiple access points and signal strength by using the highest
18105                         signal strength in each scan for any given ESSID.
18106
18107         * src/NetworkManagerDbus.[ch]
18108                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18109                         wireless networks; now we have only WirelessNetworkUpdate which includes
18110                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18111                 - Kill usage of DbusMessageIter
18112
18113         * src/NetworkManagerDevice.c
18114                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18115                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18116                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18117                         currently associated with from the network list.
18118                 - Update for new signals during scan, send out Appeared, Disappeared, or
18119                         StrengthChanged when necessary.
18120
18121 2005-02-25  Dan Williams  <dcbw@redhat.com>
18122
18123         * README
18124                 - Line break the README
18125
18126 2005-02-25  Dan Williams  <dcbw@redhat.com>
18127
18128         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18129                 - Remove usage of gtk_window_set_default_size()
18130
18131         * panel-applet/essid.glade
18132                 - Stick default size here
18133                 - Add in random crap that current glade wants to add in now
18134
18135 2005-02-25  Dan Williams  <dcbw@redhat.com>
18136
18137         * src/backends/NetworkManagerRedHat.c
18138                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18139                         and that we actually tell nscd to reload the hosts cache when it changes
18140
18141 2005-02-25  Dan Williams  <dcbw@redhat.com>
18142
18143         * info-daemon/NetworkManagerInfoDbus.c
18144                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18145
18146         * test/nminfotest.c
18147                 - Whack usage of DbusMessageIter
18148                 - Clean up DbusError and DbusMessage handling and freeing
18149                 - Remove unused unregister handler
18150
18151         * test/nmtest.c
18152                 - Whack usage of DbusMessageIter
18153
18154         * test/nmtestdevices.c
18155                 - Whack usage of DbusMessageIter
18156
18157 2005-02-25  Dan Williams  <dcbw@redhat.com>
18158
18159         * NetworkManager.h
18160                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18161                         signal
18162
18163 2005-02-25  Dan Williams  <dcbw@redhat.com>
18164
18165         * named/nm-named-manager.c
18166                 - Ensure that pid and watch variables for child named process get cleared out
18167                         when the child goes away.
18168
18169 2005-02-22  Dan Williams  <dcbw@redhat.com>
18170
18171         * src/NetworkManagerPolicy.c
18172                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18173                         and NULL out data->active_device so that we have to choose another one.
18174                         This may make NetworkManager keep attempting to connect to a wired network
18175                         if it fails, but if it keeps failing the wired network has more problems than
18176                         just NetworkManager.
18177
18178         * src/backends/NetworkManagerRedHat.c
18179                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18180                         is already running
18181
18182         * named/nm-named-manager.c
18183                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18184                         named so that the distro can flush whatever name service caching
18185                         daemon it uses
18186
18187 2005-02-21  Dan Williams  <dcbw@redhat.com>
18188
18189         * src/NetworkManagerDHCP.[ch]
18190                 - (nm_device_dhcp_remove_timeouts): new function
18191
18192         * src/NetworkManagerDevice.c
18193                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18194                         remove the DHCP timeouts.
18195
18196 2005-02-21  Dan Williams  <dcbw@redhat.com>
18197
18198         * panel-applet/NMWirelessApplet.[ch]
18199           panel-applet/menu-info.[ch]
18200                 - Give the panel applet some major love: menu items are no longer
18201                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18202                         This allows the applet to actually reflect theme changes correctly,
18203                         since themeing of subclassed items in GTK _sucks_.
18204
18205 2005-02-18  Dan Williams  <dcbw@redhat.com>
18206
18207         * libnm_glib/libnm_glib.[ch]
18208           test/libnm_glib_test.c
18209                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18210                         and its data, and doesn't have to free the callback data anymore
18211
18212 2005-02-18  Dan Williams  <dcbw@redhat.com>
18213
18214         * panel-applet/NMWirelessApplet.c
18215                 - Revert 2005-02-18 William Jon McCann fix for standard
18216                         copyright string until it passes 'make distcheck'.
18217                         With standard copyright string, xgettext complains
18218                         about "Non-ASCII string at ...".
18219
18220 2005-02-18  Dan Williams  <dcbw@redhat.com>
18221
18222         * panel-applet/essid.glade
18223           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18224                 - Correct spelling of "adaptor"->"adapter"
18225
18226 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18227
18228         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18229         (nmwa_about_cb): Use standard copyright string.  Update comment
18230         text to reflect that it is a notification area applet.  Remove
18231         leading newline in authors list.
18232         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18233         instead of on parent menu item activation.  Fixes #167550.
18234
18235 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18236
18237         * panel-applet/essid.glade: Capitalize items as per HIG.
18238           Fixes #167632
18239
18240 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18241
18242         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18243         files for GTK 2.4 or lower, since now public in GTK 2.6.
18244
18245         * panel-applet/essid.glade: Don't specify window size.
18246         
18247 2005-02-17  Dan Williams  <dcbw@redhat.com>
18248
18249         Caught by Bill Moss:
18250         * dhcpcd/client.c
18251                 - Time remaining for DHCP transaction calculation was incorrectly
18252                         inside a #ifdef DEBUG
18253
18254 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18255
18256         * configure.in: Added fr (French) to ALL_LINGUAS.
18257
18258 2005-02-14  Dan Williams  <dcbw@redhat.com>
18259
18260         * src/NetworkManagerDHCP.c
18261                 - (set_domain_searches): Fix free of invalid pointer
18262
18263 2005-02-14  Dan Williams  <dcbw@redhat.com>
18264
18265         Patch from Peter Jones:
18266         * dhcpcd/client.c
18267                 - Ensure we return RET_DHCP_CEASED everywhere we should
18268         * dhcpcd/udpipgen.c
18269                 - Use faster TOS for IP packets
18270                 - Don't set ip_id since we're UDP
18271
18272         Patch from Tomislav Vujec:
18273         * src/nm-dbus-dhcp.c
18274           test/nm-dhcp-opt-test.c
18275                 - Clean up warnings to enable cvs tree compilation.
18276
18277 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18278
18279         * configure.in
18280           po/hr.po
18281                 - Add the Croatian locale.
18282
18283 2005-02-14  Colin Walters  <walters@verbum.org>
18284
18285         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18286         list of domains to search.
18287         
18288         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18289
18290 2005-02-13  Dan Williams  <dcbw@redhat.com>
18291
18292         * dhcpcd/client.c
18293                 - Debug output cleanups of DHCP option printing and parsing.
18294
18295 2005-02-13  Dan Williams  <dcbw@redhat.com>
18296
18297         Patch from Dan Reed:  DHCP options D-BUS API
18298                 Exposes the DHCP options that a device receives to clients over D-BUS.
18299
18300         * configure.in
18301                 - A few cleanups
18302
18303         * dhcpcd/client.h
18304                 - Correct names, option length, and types for DHCP options
18305
18306         * dhcpcd/dhcpcd.[ch]
18307                 - Clarify function names that access DHCP options & data
18308
18309         * src/NetworkManagerDHCP.c
18310                 - Use new DHCP data access functions
18311
18312         * src/NetworkManagerDbus.c
18313                 - Message handler for DHCP functions
18314
18315         * src/nm-dbus-dhcp.[ch] (new)
18316                 - DHCP dbus methods
18317
18318         * test/nm-dhcp-opt-test.c
18319                 - Test DHCP D-BUS API and return all present DHCP options
18320
18321 2005-02-12  Dan Williams  <dcbw@redhat.com>
18322
18323         * test/Makefile.am
18324           test/nmclienttest.c
18325           test/nmtest.c
18326                 - Move nmclienttest.c -> nmtest.c
18327
18328 2005-02-12  Dan Williams  <dcbw@redhat.com>
18329
18330         * dhcpcd/buildmsg.c
18331                 - Pad DHCP packets until they are at least 300 bytes in size.
18332
18333 2005-02-11  Dan Williams  <dcbw@redhat.com>
18334
18335         * dhcpcd/client.c
18336                 - (dhcp_init): only print out client ID and class ID if they are specified
18337
18338         * src/NetworkManagerDbus.[ch]
18339           src/nm-dbus-nm.[ch]
18340           src/nm-dbus-device.[ch]
18341           src/nm-dbus-net.[ch]
18342                 - Move NM, Device, and Net functions to separate files and use the
18343                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18344                         method dispatching
18345
18346         * src/NetworkManagerDbusUtils.c
18347                 - Add new validate_method called before each dispatch (if present)
18348                         that can validate the method call
18349
18350         * src/NetworkManagerWireless.c
18351                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18352                         levels never to be evaluated
18353
18354         Patch from j@bootlab.org
18355         * src/NetworkManagerDevice.c
18356                 - Add typedef for "u64"
18357
18358         * src/backends/NetworkManagerDebian.c
18359                 - Copy in Dave Woodhouse's fixes for IPv6
18360
18361 2005-02-11  Dan Williams  <dcbw@redhat.com>
18362
18363         Patch from Dave Woodhouse for IPv6:
18364         * src/NetworkManagerUtils.c
18365                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18366                         and multicast addresses
18367
18368         * src/NetworkManagerDevice.c
18369                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18370                         after bringing up a card.
18371
18372 2005-02-10  Dan Williams  <dcbw@redhat.com>
18373
18374         Patch from Dave Woodhouse:
18375         * src/NetworkManagerSystem.h
18376           src/backends/NetworkManagerDebian.c
18377           src/backends/NetworkManagerGentoo.c
18378           src/backends/NetworkManagerSlackware.c
18379                 - New nm_system_device_add_ip6_link_address() function to add link-local
18380                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18381
18382         * src/backends/NetworkManagerRedHat.c
18383                 - (nm_system_device_add_ip6_link_address): implement
18384                 - (nm_system_device_flush_addresses): revert to previous behavior of
18385                         flushing all addresses
18386
18387 2005-02-10  Dan Williams  <dcbw@redhat.com>
18388
18389         Patch from Tom Parker:
18390         * src/NetworkManagerDevice.c
18391                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18392                         mii.h headers are broken, and instead use our own typedefs
18393
18394 2005-02-10  Dan Williams  <dcbw@redhat.com>
18395
18396         * dhcpcd/buildmsg.c
18397                 - (fill_host_and_class_id): only fill in client and class IDs if
18398                         they are set by callers.
18399
18400         * dhcpcd/client.c
18401                 - (class_id_setup): don't autogenerate a class ID, only use one
18402                         we're given, if any.
18403                 - (client_id_setup): don't autogenerate a client ID, only use one
18404                         we're given, if any.
18405
18406         * dhcpcd/dhcpcd.c
18407                 - (dhcp_interface_init): ensure that client options are correctly
18408                         NULL terminated
18409
18410         * src/NetworkManagerDHCP.c
18411                 - (nm_device_dhcp_request): pass hostname to dhcp library
18412
18413 2005-02-10  Dan Williams  <dcbw@redhat.com>
18414
18415         * dhcpcd/client.c
18416                 - #rh147661# Don't send kernel version in DHCP requests
18417
18418         * src/NetworkManagerSystem.h
18419           src/backends/NetworkManagerDebian.c
18420           src/backends/NetworkManagerGentoo.c
18421           src/backends/NetworkManagerRedHat.c
18422           src/backends/NetworkManagerSlackware.c
18423                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18424                         functions, they are no longer used anyway
18425
18426         * src/backends/NetworkManagerRedHat.c
18427                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18428                         addresses in an attempt to keep IPv6 local-scope addresses around
18429
18430 2005-02-10  Dan Williams  <dcbw@redhat.com>
18431
18432         * src/NetworkManager.c
18433                 - (nm_create_device_and_add_to_list): change the add message slightly
18434
18435         * src/NetworkManagerUtils.c
18436                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18437                         Return driver name to calling function
18438                 - (nm_get_driver_support_level): print out the driver a device is using
18439                         during the support check
18440
18441         Patch from Dave Woodhouse:
18442         * dhcpcd/udpipgen.c
18443                 - (in_cksum): copy last byte of odd-sized packets into a
18444                         'u_short' rather than a 'u_char', should fix wrong checksums
18445                         on big-endian platforms
18446
18447 2005-02-09  Dan Williams  <dcbw@redhat.com>
18448
18449         * Clean up usage of GSList objects and looping through their members
18450         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18451                 now.
18452         * Fix problem where even if scanning was turned off, card would still
18453                 cycle through frequencies.
18454
18455 2005-02-08  Dan Williams  <dcbw@redhat.com>
18456
18457         * panel-applet/NMWirelessApplet.c
18458                 - Fix for gtk 2.4
18459
18460 2005-02-08  Dan Williams  <dcbw@redhat.com>
18461
18462         Patch from Bill Moss
18463         * panel-applet/NMWirelessApplet.c
18464                 - Restore correct ESSID in tooltips
18465
18466 2005-02-07  Dan Williams  <dcbw@redhat.com>
18467
18468         * panel-applet/NMWirelessApplet.[ch]
18469                 - Add a context menu that contains:
18470                         Pause/Resume Wireless Scanning
18471                         Stop/Start All Wireless Devices
18472                         About...
18473                 - Grab active device strength off active device,
18474                         not its network
18475
18476         * panel-applet/NMWirelessAppletDbus.[ch]
18477                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18478                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18479                 - Update active device strength every 2 seconds, not every 1 second
18480
18481         * panel-applet/menu-info.c
18482                 - Only disable wired devices in the menu when they support carrier detection,
18483                         and don't currently have a link.  Non-carrier-detect devices will always
18484                         remain choosable
18485
18486         * src/Makefile.am
18487           src/NetworkManagerDbusUtils.[ch]
18488                 - Add new new dbus utils sources
18489
18490         * src/NetworkManager.c
18491                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18492                         with the boolean parameter
18493                 - Set scanning_enabled & wireless_enabled to TRUE
18494
18495         * src/NetworkManagerDbus.c
18496                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18497                 - Implement scanning & wireless enable/disable calls
18498                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18499
18500         * src/NetworkManagerDevice.c
18501                 - New link detection stuff again...
18502                         o  Create device's mainloop earlier (but don't run it earlier)
18503                         o  Hook up new carrier-detect support stuff
18504                         o  Add in the ethtool & mii support detection code
18505                 - Don't scan if scanning is disabled
18506
18507         * src/NetworkManagerPolicy.c
18508                 - Never automatically choose a device that doesn't support carrier detection
18509                 - Don't automatically choose a wireless device if wireless is disabled
18510
18511 2005-02-07  Dan Williams  <dcbw@redhat.com>
18512
18513         * libnm_glib/libnm_glib.c
18514                 - Small cleanup in element list iteration
18515
18516 2005-02-07  Dan Williams  <dcbw@redhat.com>
18517
18518         * src/NetworkManagerWireless.c
18519                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18520                         to be in line with the WEXT quality specification
18521
18522 2005-02-02  Dan Williams  <dcbw@redhat.com>
18523
18524         Patch from Nathan Fredrickson <nathan@silverorange.com>
18525         * Fix up compile for deprecation of libgnomeui
18526                 - Switch to <glib/gi18n.h> from <libintl.h>
18527                 - Remove <libgnomeui/libgnomeui.h> includes
18528                 - Use gtk_window_set_default_icon_from_file() rather than
18529                         gnome_window_set_default_icon_from_file()
18530
18531         * named/nm-named-manager.c
18532                 - (generate_named_conf): Fix return-nothing in non-void
18533                         function
18534
18535 2005-02-02  Dan Williams  <dcbw@redhat.com>
18536
18537         * Clean up unused variables and the like
18538
18539 2005-02-02  Dan Williams  <dcbw@redhat.com>
18540
18541         * src/NetworkManagerAPList.c
18542                 - (nm_ap_list_merge_scanned_ap): merge strength too
18543
18544         * src/NetworkManagerUtils.c
18545                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18546                         of locking issues by printing out prettier information than g_mutex_lock
18547                 - Print out names of mutexes registered with nm_register_mutex_desc()
18548                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18549                         us to seemingly block here for too long
18550
18551         * src/NetworkManager.c
18552           src/NetworkManagerAPList.c
18553           src/NetworkManagerDevice.c
18554                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18555                         so we get better debug information printed
18556
18557         * src/NetworkManagerDbus.c
18558                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18559                         since it sometimes has locking side effects
18560                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18561                         from 10s
18562                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18563                         we don't need a switch.  This gets called often enough that we can't block
18564                         until the scan mutex is acquired, because we'll block on device activation
18565                         and a few other things, which hangs main thread for too long.
18566
18567         * src/NetworkManagerPolicy.c
18568                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18569                         nm_device_need_ap_switch() will be called               
18570
18571 2005-02-02  Dan Williams  <dcbw@redhat.com>
18572
18573         * panel-applet/NMWirelessApplet.c
18574                 - Display name of wireless network we are connecting to or connected to
18575                         in the tooltip of the applet
18576
18577 2005-02-02  Dan Williams  <dcbw@redhat.com>
18578
18579         * src/NetworkManagerDHCP.c
18580                 - Hopefully fix double-default-route problem by cleaning up the default
18581                         route added by DHCP code right before the DHCP transaction begins
18582
18583 2005-02-02  Dan Williams  <dcbw@redhat.com>
18584
18585         * named/nm-named-manager.c
18586                 - Write out valid resolv.conf when we exit
18587
18588 2005-02-01  Dan Williams  <dcbw@redhat.com>
18589
18590         Patch from Colin Walters:
18591         * named/nm-named-manager.c
18592                 - Make multi-domain search options work
18593
18594 2005-01-31  Dan Williams  <dcbw@redhat.com>
18595
18596         * info-daemon/NetworkManagerInfoDbus.c
18597                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18598
18599         * src/NetworkManagerDevice.c
18600                 - (nm_device_new): Don't store the entire range struct, use only what we need
18601                         (which is currently avg_quality, max_quality, and frequencies).  Also
18602                         zero device structure when we've free'd it to maybe expose errors down
18603                         the line.
18604                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18605                         quality data from the card since quality will be useless during a scan.
18606                         Call updated wireless qual-to-percent function with values stored in
18607                         nm_device_new() earlier.
18608                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18609                         nm_device_get_bad_crypt_packets())
18610                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18611                         nm_device_new()
18612                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18613                         list if available.  Problem was this: when the WEP key is wrong, NM will
18614                         try OS then SK modes, and then get stuck in SK mode after that.  This
18615                         should reset it.
18616                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18617                         function
18618
18619         * src/NetworkManagerWireless.c
18620                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18621                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18622                         if that's all present, otherwise fall back to signal-to-noise ratios.
18623
18624 2005-01-29  Dan Williams  <dcbw@redhat.com>
18625
18626         * initscript/RedHat/NetworkManager
18627                 - Don't spit out sysctl stuff to console
18628
18629         * libnm_glib/libnm_glib.c
18630                 - (libnm_glib_init): call dbus_g_thread_init()
18631
18632         * panel-applet/NMWirelessAppletDbus.c
18633                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18634
18635         * src/NetworkManager.c
18636                 - (main): call dbus_g_thread_init()
18637
18638         * src/NetworkManagerAPList.c
18639                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18640                         so we can actually see what's there in a normal syslog
18641
18642         * src/NetworkManagerDevice.c
18643                 - (nm_device_activate_wireless): print out the "waiting for access point"
18644                         message only once, then say what access point we actually got after
18645                         the wait.
18646                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18647                         function, wait until the scan is done.  Scans may change the ESSID of
18648                         the card, making this function think we need to switch access points
18649                 - (nm_device_wireless_process_scan_results): for artificial access points
18650                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18651                         prevents collisions with the scanning code, which may change the card's
18652                         ESSID and cause the access point to get dropped from the device's AP
18653                         list.  Also increase the keep-around time to 2m from 60s since the max
18654                         scan interval could be 60s in some cases.
18655
18656         * src/NetworkManagerPolicy.c
18657                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18658                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18659                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18660                         between NM and NMI.
18661
18662 2005-01-27  Dan Williams  <dcbw@redhat.com>
18663
18664         * info-daemon/NetworkManagerInfoDbus.c
18665                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18666                         GConf, make a minimal entry for it (essid & timestamp)
18667
18668         * src/NetworkManagerAPList.c
18669                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18670                         NetworkManagerInfo isn't running
18671
18672         * src/NetworkManagerDbus.[ch]
18673                 - (nm_dbus_nmi_is_running): new function
18674
18675         * src/NetworkManagerDevice.c
18676                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18677                         address to garbage.
18678
18679         * src/NetworkManagerPolicy.c
18680                 - (nm_policy_activation_finish): On successful activation, make sure
18681                         the "best" AP has a MAC address, and don't tell NMI to add the
18682                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18683                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18684                         access point after refreshing our allowed list if it doesn't already
18685                         have a "best" access point.
18686
18687 2005-01-25  Dan Williams  <dcbw@redhat.com>
18688
18689         * panel-applet/NMWirelessAppletDbus.c
18690                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18691                         so we check for NM_DBUS_SERVICE rather than not for it
18692
18693         * libnm_glib/libnm_glib.c
18694                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18695                         ServiceOwnerChanged signal
18696
18697 2005-01-25  Dan Williams  <dcbw@redhat.com>
18698
18699         * configure.in
18700                 - Check DBUS version in configure, and set the C macros
18701                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18702
18703         * info-daemon/NetworkManagerInfoDbus.c
18704                 - Remove #if 0-d section of code that quit NMI if NM went away.
18705
18706         * panel-applet/NMWirelessAppletDbus.c
18707                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18708
18709         * src/NetworkManager.c
18710           src/NetworkManagerMain.h
18711           src/NetworkManagerDbus.c
18712                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18713                 - Make updating of our Allowed Wireless Network lists from NMI
18714                         an idle function in the main thread now, with a high priority.
18715
18716 2005-01-24  Dan Williams  <dcbw@redhat.com>
18717
18718         * panel-applet/gtkcellview.[ch]
18719           panel-applet/menu-info.c
18720                 - Fix GTK version checks to be <= rather than <
18721
18722         * test/Makefile.am
18723                 - Include the libtool archive of libnm_glib rather than
18724                         trying to pull in the .so
18725
18726 2005-01-24  Dan Williams  <dcbw@redhat.com>
18727
18728         * src/NetworkManagerDevice.c
18729           src/NetworkManagerDevicePrivate.h
18730                 - Block nm_device_new() until our device's worker thread has had a
18731                         chance to start up.  Fixes a race between main thread and worker
18732                         thread starting that caused activation requests to get lost.
18733
18734 2005-01-24  Dan Williams  <dcbw@redhat.com>
18735
18736         * initscript/RedHat/NetworkManager
18737                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18738                         to add the NM startup script at priority 50, which was
18739                         way too early
18740
18741 2005-01-24  Colin Walters  <walters@redhat.com>
18742
18743         * named/named.conf: Use any port for query source instead of
18744         restricting to port 53.
18745
18746 2005-01-24  Dan Williams  <dcbw@redhat.com>
18747
18748         * initscript/RedHat/NetworkManager
18749                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18750                         to add the NM startup script at priority 50, which was
18751                         way too early
18752
18753 2005-01-24  Dan Williams  <dcbw@redhat.com>
18754
18755         Patch from Tom Parker <palfrey@tevp.net>
18756         * Fix up compile warnings & errors in the wireless applet
18757
18758 2005-01-24  Dan Williams  <dcbw@redhat.com>
18759
18760         * panel-applet/NMWirelessApplet.c
18761                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18762
18763 2005-01-24  Dan Williams  <dcbw@redhat.com>
18764
18765         * panel-applet/gtkcellview.[ch]
18766                 - Only compile these files for GTK 2.4 or lower, since 
18767                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18768                         when choosing "Other Wireless Networks" from the panel
18769                         applet menu
18770
18771 2005-01-21  Dan Williams  <dcbw@redhat.com>
18772
18773         * src/NetworkManager.c
18774                 - Daemonize earlier so that glib doesn't get confused (?)
18775
18776 2005-01-21  Dan Williams  <dcbw@redhat.com>
18777
18778         * panel-applet/NMWirelessApplet.[ch]
18779           panel-applet/NMWirelessAppletDbus.c
18780           panel-applet/menu-info.c
18781           src/NetworkManagerDevice.c
18782                 - Disable wired devices in the menu when they have no link.
18783
18784 2005-01-21  Dan Williams  <dcbw@redhat.com>
18785
18786         * Cache last-known-good wireless authentication method in
18787                 NetworkManagerInfo, and use that method first during
18788                 wireless device activation.  Should speed up devices that
18789                 need Shared Key authentication method since Open System is
18790                 now the default.
18791
18792         * Remove the hack to not do full activation on wired connections
18793                 that are active when we launch, it causes too many problems
18794                 with name resolution and was a hack in the first place.
18795
18796         * Re-work wireless device activation again somewhat to have a
18797                 clearer chain of events and to use last-known-good
18798                 authentication method of the access point.  Also provide
18799                 better status throughout activation to ensure the applet
18800                 can tell the user exactly what's going on.
18801
18802         * Remove the "find wireless network" code and now simply attempt
18803                 to activate with that access point.  This reduces the delay
18804                 between selecting "Other wireless Network" and actually
18805                 connecting to that network.
18806
18807         * Correctly stop the device's worker thread when its removed.
18808
18809 2005-01-21  Dan Williams  <dcbw@redhat.com>
18810
18811         * dhcpcd/client.c
18812                 - Clean up some of the debug messages
18813
18814 2005-01-21  Dan Williams  <dcbw@redhat.com>
18815
18816         * Add new icons, more frames of animation
18817         * Remove some hacks to get the panel applet to display correct
18818                 status, an NM update will soon follow that will fix the
18819                 real issue.
18820
18821 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18822
18823         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18824         the first include for working i18n. Also, don't include it in .h files
18825         * panel-applet/NMWirelessApplet.h: Same
18826         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18827         * panel-applet/menu-info.c: Same
18828
18829 2005-01-18  Dan Williams <dcbw@redhat.com>
18830
18831         * dhcpcd/client.c
18832                 - Remove some debug messages
18833                 - Wrap others in #ifdef DEBUG/#endif
18834
18835         * src/NetworkManager.c
18836                 - Remove some debug messages
18837                 - Clarify some debug messages
18838                 - Remove code related to old single-thread wireless scanning
18839
18840         * src/NetworkManagerAP.[ch]
18841                 - New AP property "last_seen" to track how recently an AP was
18842                         found in a scan
18843                 - Start using 'const' more in function arguments
18844
18845         * src/NetworkManagerAPList.[ch]
18846                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18847                         of an AP found in an AP list from a source AP, or if not found
18848                         in the list add the source AP
18849                 - (nm_ap_list_combine): remove, no longer needed
18850
18851         * src/NetworkManagerDevice.c
18852                 - Each device now has a "worker" thread from start to end of its life.
18853                         Scanning for wireless devices now happens in that thread,
18854                         not in a single "wireless scanning thread" for all devices as
18855                         previously.  Activation consists of adding an idle handler to the
18856                         thread's main loop/context, which gets run at the next available
18857                         opportunity.
18858                 - Wireless scanning is also simplified, there is now only one list of
18859                         access points per wireless device, and APs older than 60s are
18860                         removed from the list.  Previously, we kept results for the last
18861                         3 scans and merged whole lists, which was complicated.
18862                 - Cleaned up activation debug messages.
18863                 - Wireless activation and access-point search routines now use Open System
18864                         authentication before trying Shared Key.
18865                 - Removed some code in nm_device_update_best_ap() that could cause cards
18866                         to loose their link to the access point.
18867                 - Scanning now uses a backoff algorithm, where the inverval becomes
18868                         progressively longer between scans when the list of scanned access
18869                         points doesn't change.  A change will revert to the shortest scan
18870                         interval (20s).
18871
18872         * src/NetworkManagerWireless.[ch]
18873                 - Remove code related to old single-thread wireless scanning
18874
18875 2005-01-18  Colin Walters  <walters@redhat.com>
18876
18877         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18878         of older nameservers.
18879
18880 2005-01-18  Colin Walters  <walters@redhat.com>
18881
18882         * named/nm-named-manager.c (generate_named_conf): Many fixes
18883         to config file generation.
18884         (safer_kill): Remove, was too much trouble for little gain.
18885         (nm_named_manager_start): Run named as NM_NAMED_USER.
18886
18887         * configure.in: Add option --with-named-user.
18888
18889 2005-01-14  Colin Walters  <walters@redhat.com>
18890
18891         Patch from ed@catmur.co.uk (Ed Catmur)
18892
18893         * named/nm-named-manager.c: Add "context" property.
18894         Use it to add child watch source in specific GMainContext.
18895
18896         * src/NetworkManager.c (nm_data_new): Initialize
18897         named with correct main context.  Start named only
18898         after forking.
18899
18900 2005-01-14  Colin Walters  <walters@redhat.com>
18901
18902         * named/nm-named-manager.c (generate_named_conf): Write config
18903         and pid files into NM_NAMED_DATA_DIR; this allows things to
18904         work better with FC3 named SELinux policy.  Also fix up silly
18905         format error.
18906
18907         * configure.in: Add --with-named-dir option.
18908
18909 2005-01-14  Colin Walters  <walters@redhat.com>
18910
18911         * configure.in: Make named support require passing --with-named.
18912
18913         * named/nm-named-manager.c: Support writing resolv.conf directly
18914         without running named.
18915
18916 2005-01-13  Dan Williams <dcbw@redhat.com>
18917
18918         * named/nm-named-manager.c
18919                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18920
18921         * src/NetworkManagerDevice.c
18922                 - Rework wireless link detection code to be more reliable
18923
18924 2005-01-12  Dan Williams <dcbw@redhat.com>
18925
18926         * initscripts/RedHat/NetworkManager
18927                 - Change initial level to "-" rather than "345" so that
18928                         we don't activate ourselves by default on install
18929
18930 2005-01-12  Dan Williams <dcbw@redhat.com>
18931
18932         * libnm_glib/
18933                 - Client library for applications using glib
18934
18935         * configure.in
18936           various Makefiles
18937                 - Split NM_CFLAGS and NM_LIBS into separate variables
18938                         like DBUS_*, HAL_* and GLIB_*
18939
18940         * src/NetworkManager.c
18941           src/NetworkManagerMain.h
18942                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18943                         broadcast a status changed signal over DBUS from the main thread.
18944                         Still unused anywhere for the moment.
18945
18946         Patch from j@bootlab.org
18947         * panel_applet/NMWirelessAppletDbus.c
18948           src/NetworkManagerDbus.c
18949                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18950                         for the "getMode" method call
18951
18952 2005-01-10  Dan Williams <dcbw@redhat.com>
18953
18954         * src/NetworkManagerDevice.c
18955                 - Minor fixups & corrections to "auto" frequency mode, make it
18956                         less chatty with syslog
18957
18958 2005-01-10  Dan Williams <dcbw@redhat.com>
18959
18960         * src/NetworkManagerDevice.c
18961                 - Implement "auto" frequency/channel support, since cards like Atheros
18962                         can't use other frequencies at all when you've told it to use a
18963                         specific one, even for scanning.
18964                 - Grab the scan mutex around places where we can't tolerate wireless
18965                         settings changing underneath us, like nm_device_wireless_network_exists()
18966                         and nm_device_activate_wireless()
18967
18968         * src/NetworkManagerWireless.c
18969                 - Back scan interval off to 20s instead of 14s
18970
18971 2005-01-09  Dan Williams <dcbw@redhat.com>
18972
18973         * src/NetworkManagerDevice.c
18974                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18975                         already set.  Stops some drivers like Atmel from continually
18976                         reloading the firmware, which they do upon every configuration
18977                         change.
18978
18979 2005-01-09  Dan Williams <dcbw@redhat.com>
18980
18981         * dhcpcd/client.c
18982                 - Use correct timeout value
18983
18984         * info-daemon/NetworkManagerInfoDbus.c
18985           src/NetworkManagerDbus.c
18986                 - Consolidate communication between NM and NMI by doing only 1 dbus
18987                         method call to get Wireless Network info from NMI instead of 6
18988
18989         * src/NetworkManager.c
18990                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18991                         when we didn't have an AP to use, we'd wait for one forever without
18992                         quitting
18993
18994         * src/NetworkManagerDevice.c
18995                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18996                         activation, dhcp might not have started yet but we don't quit activation
18997                         before starting it, so the quit signal gets lost
18998
18999 2005-01-07  Dan Williams <dcbw@redhat.com>
19000
19001         * dhcpcd/client.c
19002                 - Rework the DHCP client code to be much less chatty when
19003                         it receives non-DHCP UDP packets during the DHCP run
19004                         (reported by and preliminary patches from Bill Moss)
19005
19006         * Move wireless scanning to a separate thread.  This thread forwards the
19007                 results to the main thread when done where they are integrated into
19008                 the device's access point lists.  This keeps the main thread (which
19009                 does all the DBUS communication) from being blocked for long periods
19010                 of time by wireless scanning.
19011
19012         * Make state modification an idle routine in the main loop, and trigger
19013                 state changes rather than polling for them.
19014
19015         * src/backends/NetworkManagerGentoo.c
19016                 - Fix up invalid C90 code (reported by Christoph Ruessler)
19017
19018         * src/NetworkManagerDevice.c
19019                 - Revert IPv6 patch for wired devices from 2004-12-22 for
19020                         router advertisements, causing problems and infinite loop
19021                         during "best" device determination due to link going up/down
19022                         (reported by Bill Moss)
19023
19024         Apply patch from Peter Jones
19025         * src/NetworkManagerDevice.c
19026                 - Shortcut for link-checking for ipw2x00 cards
19027                 - Split out association check into separate routine
19028
19029 2004-01-05  Colin Walters  <walters@redhat.com>
19030
19031         * named/named.conf: Add PID_FILE.
19032
19033         * named/nm-named-manager.c: Always generate a pid
19034         file, since older BIND versions don't support
19035         "pid-file none".
19036
19037 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
19038
19039         * configure.in (ALL_LINGUAS): Added ja (Japanese).
19040
19041 2004-12-22  Dan Williams <dcbw@redhat.com>
19042
19043         * src/NetworkManagerDevice.c
19044                 - Silently fail when setting bitrate doesn't work
19045
19046
19047         Patches from j@bootlab.org:
19048         * src/backends/NetworkManagerDebian
19049                 - Update backend to match functionality in RedHat backend
19050         * src/NetworkManagerDevice.c
19051                 - Take down then bring up wired devices after connection so
19052                 they send out ipv6 router advertisements
19053
19054 2004-12-21  Colin Walters  <walters@verbum.org>
19055
19056         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19057         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19058
19059 2004-12-21  Colin Walters  <walters@redhat.com>
19060
19061         * configure.in: Correct named detection.
19062
19063 2004-12-21  Colin Walters  <walters@redhat.com>
19064
19065         * src/NetworkManager.c (nm_data_new): Initialize named.
19066         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19067         the mainloop when these signals are received.
19068         (nm_data_free): Unref named.
19069         (sigterm_handler, sigterm_pipe_handler): New functions for
19070         exiting mainloop.
19071         
19072         * src/NetworkManagerMain.h (NMData): Add signal handling and
19073         nameserver bits.
19074
19075         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19076         unref.
19077
19078         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19079         set nameservers from DHCP response data.
19080         (set_domain_search): Set domain search from DHCP response.
19081         (nm_device_dhcp_configure): Invoke them.
19082
19083         * src/NetworkManagerSystem.c
19084         (nm_system_device_update_resolv_conf): Delete.  Deleting
19085         code is totally sweet.
19086
19087         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19088
19089         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19090         implements an object which controls a nameserver.  Currently
19091         uses bind 9.
19092
19093         * configure.in: Check for named.
19094
19095         * Makefile.am (SUBDIRS): Add named dir.
19096
19097         * named/named.conf: New template config file.
19098
19099 2004-12-20  Colin Walters  <walters@redhat.com>
19100
19101         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19102         instead of '='.
19103
19104 2004-12-17  Dan Williams  <dcbw@redhat.com>
19105
19106         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19107                 link-local addresses instead of doing DHCP.
19108
19109         * In the panel applet, there's a new "Create new Wireless Network..." item
19110
19111         * The panel applet also sticks around now even if NetworkManager dies, but
19112                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19113                 a bug, I'll fix that later.
19114
19115         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19116                 lookups after a switch rather than actually doing them.
19117
19118         * Clean up some of those warnings in nm_ap_list_* functions
19119
19120         * Delay between scans changed to 15s instead of 10s
19121
19122 2004-12-15  Dan Williams  <dcbw@redhat.com>
19123
19124         Patch from Tom Parker
19125         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19126                 address
19127
19128         * Longer pause after setting ESSID on cards that support a larger number
19129                 of channels to give the card time to find the right channel
19130
19131         * Add system hook to restart mDNSResponder (or whatever the local implementation
19132                 of Multicast DNS is) when we activate interfaces
19133
19134 2004-12-15  Dan Williams  <dcbw@redhat.com>
19135
19136         * Rework the DHCP code again to revert to sending full ethernet frames
19137                 rather then relying on the kernel to do the right thing with our
19138                 packets.
19139
19140 2004-12-06  Dan Williams  <dcbw@redhat.com>
19141
19142         * dhcpcd/client.c
19143                 - Fix some minor errors in dhcp_handle_transaction() that caused
19144                         unexpected early timeouts of DHCP transactions
19145
19146         * dhcpcd/client.h
19147                 - DHCP retransmit time from 4s -> 5s
19148
19149 2004-12-05  Dan Williams  <dcbw@redhat.com>
19150
19151         * Major rework of the DHCP code, taking some cues from pump.  We don't
19152                 write raw Ethernet packets anymore, which simplifies the code quite
19153                 a bit.  The new code should be more robust, not hang in recvfrom()
19154                 as much, and generally work better.  This also means that we need
19155                 to force HAL/dbus to use a created GMainContext rather than the
19156                 default context, since having the DHCP renew/rebind thread using
19157                 its own GMainContext seemed to give dbus a fit.  There is also more
19158                 debugging information printed from the DHCP loop to help with future
19159                 problems.
19160
19161         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19162                 assume that the default gateway should be the DHCP server.
19163
19164         Patch from Matthew Schick <matt oss-institute org>
19165         * src/backends/NetworkManagerGentoo.c
19166                 - Fix compilation error due to missing "ip4_broadcast"
19167
19168 2004-12-03  Dan Williams  <dcbw@redhat.com>
19169
19170         * initscript/Makefile.am
19171         * initscript/Debian/NetworkManager
19172         * initscript/Gentoo/NetworkManager
19173         * initscript/RedHat/NetworkManager
19174         * initscript/NMLaunchHelper.c
19175                 - Remove NMLaunchHelper, if you need to wait until the network
19176                         comes up, use the dead code from CVS.
19177
19178 2004-12-01  Colin Walters  <walters@redhat.com>
19179         
19180         * configure.in: Suck in gcc warnings code from Rhythmbox,
19181         but use fewer default flags, and in particular add -Wno-unused,
19182         since the codebase has a lot of unused variables.
19183
19184         * test/nmtestdevices.c (create_device): 
19185         * test/nminfotest.c (get_network_string_property) 
19186         (get_networks_of_type): 
19187         * test/nmclienttest.c (main): 
19188         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19189         * initscript/NMLaunchHelper.c (get_nm_status): 
19190         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19191         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19192         Fix declarations after statements.
19193
19194 2004-12-01  Colin Walters  <walters@redhat.com>
19195
19196         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19197         (nmi_dbus_get_vpn_userpass): New method.
19198         (nmi_dbus_nmi_message_handler): Invoke it.
19199
19200         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19201
19202         * info-daemon/NetworkManagerInfoVPN.h,
19203         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19204         to requests for VPN passwords.
19205
19206         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19207
19208 2004-12-01  Colin Walters  <walters@redhat.com>
19209
19210         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19211         includes.
19212
19213 2004-12-01  Colin Walters  <walters@redhat.com>
19214
19215         * panel-applet/NMWirelessAppletDbus.c
19216         (nmwa_dbus_update_active_device_strength): Fix missing
19217         return value.
19218
19219 2004-12-01  Colin Walters  <walters@redhat.com>
19220
19221         * panel-applet/NMWirelessApplet.c: Add missing include.
19222
19223 2004-12-01  Colin Walters  <walters@redhat.com>
19224
19225         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19226         Remove useless CLAMP (); the value is unsigned, and the case tests
19227         qual->qual < 100, so the value must always be between 0 and 100.
19228
19229 2004-12-01  Colin Walters  <walters@redhat.com>
19230
19231         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19232
19233 2004-11-22  Colin Walters  <walters@verbum.org>
19234
19235         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19236         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19237         which is essentially a noop since nscd caches hosts on disk too.
19238         
19239 2004-11-22  Colin Walters  <walters@redhat.com>
19240
19241         * src/Makefile.am (NetworkManager_SOURCES): Add
19242         NetworkManagerDevicePrivate.h.
19243
19244 2004-11-22  Dan Williams <dcbw@redhat.com>
19245
19246         * src/NetworkManagerDevicePrivate.h
19247                 - Split out the NMDevice struct to a different file so that stuff like
19248                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19249
19250         * dhcpcd/client.c
19251                 - fprintf->syslog
19252                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19253                         need to cancel the dhcp request during the send and recv
19254
19255         * dhcpcd/client.h
19256                 - Move the DHCP option enum to dhcpcd.h
19257
19258         * src/NetworkManagerDHCP.c
19259                 - Split out the actual IP/netmask/etc setting code
19260                 - New Renew/Rebind functions
19261                 - New timer setup function for renew/rebind operations
19262
19263         * src/NetworkManagerDevice.c
19264                 - For device activation, if we are using DHCP then keep the activation thread
19265                         alive until device deactivation.  We need to renew/rebind the DHCP address
19266                         after the T1 (renew) and T2 (rebind) times have expired.
19267                 - Increase some timeouts after bringing wireless cards up/down
19268
19269 2004-11-17  Dan Williams <dcbw@redhat.com>
19270
19271         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19272                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19273                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19274                 show known access points that don't broadcast their ESSID in the menus without
19275                 any user intervention whatsoever.
19276
19277         * info-daemon/NetworkManagerInfoDbus.c
19278                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19279                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19280
19281         * src/NetworkManagerAP.[ch]
19282                 - Add a "user_addresses" data member to the NMAccessPoint structure
19283                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19284                         the user_addresses data member
19285
19286         * src/NetworkManagerAPList.c
19287                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19288                         the AP's reported address
19289                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19290
19291         * src/NetworkManagerDHCP.c
19292                 - Increase DHCP timeout from 25s -> 30s
19293
19294         * src/NetworkManagerDbus.[ch]
19295                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19296                         user addresses
19297
19298         * src/NetworkManagerDevice.c
19299                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19300                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19301                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19302                         So, we take the card down to clear it out.
19303                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19304                         too, since that's where the user_addresses are
19305
19306         * src/NetworkManagerPolicy.c
19307                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19308                         that wireless networks' user_addresses list upon successful activation
19309
19310 2004-11-16  Dan Williams <dcbw@redhat.com>
19311
19312         * src/NetworkManagerDevice.[ch]
19313                 - (nm_device_clear_activation_fail): new function
19314
19315         * src/NetworkManagerPolicy.c
19316                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19317                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19318
19319 2004-11-16  Dan Williams <dcbw@redhat.com>
19320
19321         * src/NetworkManagerDevice.c
19322                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19323                         leak the structure, better updating of now_scanning status
19324                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19325
19326 2004-11-15  Dan Williams <dcbw@redhat.com>
19327
19328         Major rework of link detection code.  We now use DHCP
19329         as part of the link detection which proves to be much more robust,
19330         and also supports Open System authentication for wireless networks.
19331
19332         We no longer use external DHCP client programs.  Instead, we use 
19333         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19334         which was written by:
19335                 Yoichi Hariguchi <yoichi@fore.com>
19336                 Sergei Viznyuk <sv@phystech.com>
19337                 http://www.phystech.com/download/
19338         It resides in the "dhcpcd" directory and was refactored into a general
19339         purpose DHCP client library by me.
19340
19341         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19342         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19343
19344 2004-11-15  Dan Williams <dcbw@redhat.com>
19345
19346         Patch from Tom Parker <palfrey@tevp.net>:
19347
19348         * src/NetworkManagerDevice.c
19349                 - Less output to console when no access
19350                         points are found during a scan
19351
19352 2004-11-15  Dan Williams <dcbw@redhat.com>
19353
19354         Patch from Tom Parker <palfrey@tevp.net>:
19355
19356         * src/backends/interface_parser.c
19357                 - Use g_strdup ()
19358                 - Check for inp == NULL
19359                 - use syslog ()
19360
19361 2004-11-13  Colin Walters  <walters@redhat.com>
19362
19363         Patch from Tom Parker <palfrey@tevp.net>:
19364
19365         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19366         
19367         * src/backends/NetworkManagerRedHat.c: Switch to
19368         including shvar.h instead of shvar.c.
19369
19370         * src/backends/NetworkManagerDebian.c: Don't include
19371         interface_parser.c in source file.
19372
19373         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19374         and interface_parser.[ch].
19375         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19376         Include shvar.c and shvar.h here.
19377         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19378         interface_parser.c and interface_parser.h here.
19379
19380 2004-11-12  Colin Walters  <walters@redhat.com>
19381
19382         * configure.in: Strip out TARGET_DISTRO and
19383         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19384         conditionals.
19385
19386         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19387         (libnmbackend_la_SOURCES): Use Automake conditionals
19388         to add distro-specific files.
19389
19390         * initscript/Makefile.am (SUBDIRS): Update to
19391         use conditionals.
19392
19393 2004-11-12  Colin Walters  <walters@redhat.com>
19394
19395         Patches from j bootlab org
19396
19397         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19398         Add interface_parser.[ch].
19399
19400         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19401         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19402
19403 2004-11-12  Colin Walters  <walters@redhat.com>
19404
19405         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19406         call to nmi_dbus_is_running too, not necessary anymore.
19407         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19408         pick up exit().
19409
19410 2004-11-11  Colin Walters  <walters@verbum.org>
19411
19412         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19413         Delete.
19414         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19415         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19416         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19417         This avoids a race condition that made it pretty easily
19418         possible to get two NetworkManagerInfo daemons running.
19419
19420 2004-11-11  Colin Walters  <walters@verbum.org>
19421         
19422         * src/NetworkManager.c (main): Use daemon(3).
19423
19424         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19425
19426         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19427
19428 2004-11-10 Dan Williams <dcbw@redhat.com>
19429
19430         Patches from j bootlab org
19431         * src/NetworkManagerDevice.c
19432                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19433                         whether the card has a link or not, some cards are slow
19434                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19435
19436         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19437                 - Disable the "Login" button on the passphrase dialog until the user
19438                         enters a valid passphrase or key
19439
19440         Patches from Tom Parker <palfrey tevp net>
19441         * src/backends/NetworkManagerDebian.c
19442                 - Add static IP support to the debian backend
19443
19444         * src/backends/interface_parser.[ch]
19445                 - Parse debian interface config files
19446
19447 2004-11-08 Dan Williams <dcbw@redhat.com>
19448
19449         * src/NetworkManagerDevice.c
19450                 - Some random fprintf->syslog conversions
19451                 - (nm_device_wireless_network_exists): double-check for network
19452                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19453
19454         * src/NetworkManagerWireless.[ch]
19455                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19456                         so that the binary->ascii conversion works (if unsigned, the bitshift
19457                         will fill with zeros, which is what's required).  Also mask bitshift
19458                         result with 0xF for futher assurance.
19459
19460 2004-11-06 Dan Williams <dcbw@redhat.com>
19461
19462         * src/NetworkManagerUtils.c
19463                 - (nm_get_wireless_driver_support_level): default to
19464                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19465                         flip this when changing from whitelist->blacklist of
19466                         wireless drivers
19467
19468 2004-11-05 Dan Williams <dcbw@redhat.com>
19469
19470         Patch from Robert Paskowitz:
19471         * src/backends/NetworkManagerGentoo.c
19472                 - Update static IP config code
19473
19474 2004-11-05 Dan Williams <dcbw@redhat.com>
19475
19476         * info-daemon/NetworkManagerInfoDbus.c
19477           src/NetworkManagerDbus.[ch]
19478           src/NetworkManagerDevice.c
19479                 - Keep track of the # of attempts to get the WEP key
19480                         from the user and pass that along to the info daemon
19481
19482 2004-11-05 Dan Williams <dcbw@redhat.com>
19483
19484         * src/NetworkManagerUtils.c
19485                 - Blacklist wireless cards rather than whitelisting them.
19486                 - Grab driver name from HAL rather than trying to find it
19487                         ourselves.
19488
19489 2004-11-03 Dan Williams <dcbw@redhat.com>
19490
19491         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19492                 - Disable OK button until valid data is entered
19493                         for encryption stuff too
19494
19495         * panel-applet/NMWirelessApplet.c
19496                 - Report card strength for current AP if the card
19497                         doesn't report strength data for scanned access
19498                         points
19499
19500         * src/NetworkManagerDevice.c
19501                 - Smooth out cards reported quality, Atmel card was
19502                         intermittently reporting no quality data but soon
19503                         recovers
19504
19505         * src/NetworkManagerWireless.c
19506                 - Better quality data percentage calculation.  Atmel
19507                         cards (mine at least) seem to report the quality
19508                         in percentage format already, so honor that
19509
19510         Patch from <j@bootlab.org>
19511         * NetworkManager.h
19512           info-daemon/NetworkManagerInfoPassphraseDialog.c
19513           info-daemon/passphrase.glade
19514           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19515           panel-applet/essid.glade
19516           src/NetworkManagerAP.c
19517           src/NetworkManagerDevice.c
19518           src/NetworkManagerWireless.[ch]
19519                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19520
19521 2004-11-03 Dan Williams <dcbw@redhat.com>
19522
19523         * src/NetworkManagerDevice.[ch]
19524                 - (nm_device_set_enc_key): Add parameter to set Authentication
19525                         Mode (Open System, Shared Key, or None).  We're still using
19526                         Shared Key for now though.
19527
19528 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19529
19530         * panel-applet/menu-info.c: change from bold text to light
19531         colored, may cause problems with some themes, i've tested a lot
19532         and they seem fine. 
19533
19534         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19535
19536 2004-11-01  Colin Walters  <walters@verbum.org>
19537
19538         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19539         (nm_wireless_128bit_key_from_passphrase): Add const.
19540
19541         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19542         (nm_ap_set_enc_key_source): Add const.
19543         
19544 2004-11-01  Colin Walters  <walters@verbum.org>
19545
19546         * .cvsignore: Update.
19547
19548 2004-10-29 Dan Williams <dcbw@redhat.com>
19549
19550         * src/NetworkManagerDevice.c
19551                 - (nm_device_wireless_network_exists): Actually use the encryption
19552                         key we got from the applet when attempting to find a wireless network
19553                 - Don't bring devices down so much since on some cards it triggers
19554                         firmware hotplugs each time
19555
19556         * src/NetworkManagerDbus.c
19557                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19558                         from the caller
19559
19560 2004-10-29 Dan Williams <dcbw@redhat.com>
19561
19562         * src/NetworkManager.c
19563                 - (nm_hal_device_property_modified): unlock a locked active
19564                         wireless device when a wired connection gets a link.
19565                         (Means you'll switch to wired whenever you plug in no
19566                         matter what).
19567
19568 2004-10-29 Dan Williams <dcbw@redhat.com>
19569
19570         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19571                 - New files, implement the "Other wireless network" dialog
19572
19573         * panel-applet/NMWirelessApplet.c
19574                 - Move "other wireless network" dialog to separate file
19575
19576         * panel-applet/NMWirelessAppletDbus.[ch]
19577                 - Take key and key_type paramaters for the set_device function
19578
19579         * panel-applet/essid.glade
19580                 - Add UI bits for encryption settings
19581
19582         * src/NetworkManagerDbus.c
19583                 - Retrieve key and key_type params for "setActiveDevice" method call
19584                         and pass them on
19585                 - unref AP returned from nm_device_get_best_ap() when needed
19586
19587         * src/NetworkManagerDevice.c
19588                 - (nm_device_get_best_ap): ref the ap before returning it
19589                 - unref AP returned from nm_device_get_best_ap() when needed
19590                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19591                         need to call nm_device_get_best_ap() here, it was pretty much
19592                         redundant anyway
19593                 - (AP_NEED_KEY): break second link check condition out into separate
19594                         function, and fix segfault when ap->enc_key_source was NULL
19595                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19596                         pass them along to nm_device_wireless_network_exists().  If the
19597                         network does exist, set the passed-in key+key_type on the AP
19598
19599         * src/NetworkManagerPolicy.c
19600                 - unref AP returned from nm_device_get_best_ap() when needed
19601
19602 2004-10-28 Dan Williams <dcbw@redhat.com>
19603
19604         * src/NetworkManagerUtils.c
19605                 - (nm_spawn_process): Fix a potential dereference of NULL
19606
19607         Patches from Peter Jones:
19608
19609         * src/NetworkManagerDevice.c
19610                 - (nm_device_test_wireless_extensions): Better check for
19611                         wireless devices
19612
19613         * src/NetworkManagerUtils.c
19614                 - (nm_spawn_process): Pass in valid stdout and stderr so
19615                         executed programs don't randomly SIGPIPE and fail
19616                 - (nm_get_wired_driver_support_level): quash hal warning
19617                         when checking for USB ethernet device
19618
19619 2004-10-27 Dan Williams <dcbw@redhat.com>
19620
19621         * info-daemon/NetworkManagerInfo.c
19622           info-daemon/NetworkManagerInfoDbus.c
19623           info-daemon/NetworkManagerInfoPassphraseDialog.c
19624           panel-applet/NMWirelessApplet.c
19625                 - Properly escape gconf keys
19626
19627         * src/NetworkManager.c
19628                 - remove unused variables
19629
19630         * src/NetworkManagerAP.c
19631                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19632                         refcount since it got set in nm_ap_new()
19633
19634         * src/NetworkManagerAPList.c
19635                 - (nm_ap_list_combine): Give up ownership of newly created
19636                         access points to the ap list, fixes memleak
19637
19638         * src/NetworkManagerDevice.c
19639                 - Remove cached_ap_list4 member since its not really needed
19640                 - (nm_device_wireless_network_exists): Try to get correct
19641                         encryption status of a found AP if its already in our
19642                         device list
19643                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19644                         memory allocs/deallocs a bit clearer and shorter-lived
19645
19646 2004-10-26 Ray Strode <rstrode@redhat.com>
19647
19648         * panel-applet/NMWirelessApplet.c:
19649           (custom_essid_item_selected):  kill some compiler
19650         warnings 
19651
19652 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19653
19654         * info-daemon/NetworkManagerInfoDbus.c
19655                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19656                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19657
19658 2004-10-23 Dan Williams <dcbw@redhat.com>
19659
19660         * info-daemon/NetworkManagerInfoDbus.c
19661                 - Trap the "DeviceActivationFailed" signal
19662
19663         * docs/NetworkManager DBUS API.txt
19664                 - Add "DeviceActivationFailed" signal
19665
19666         * panel-applet/NMWirelessAppletDbus.c
19667                 - Quash the "NetworkManager service not available" message
19668
19669         * src/NetworkManagerDbus.[ch]
19670                 - Add the "DeviceActivationFailed" signal
19671
19672         * src/NetworkManagerDevice.c
19673                 - Add support for activation_failed flag
19674                 - Fix deadlock where activation thread didn't clean itself up, making
19675                         main thread still believe it was alive forever (didn't reset activation
19676                         flags like activating, just_activated, etc when IP configuration
19677                         failed)
19678
19679         * src/NetworkManagerPolicy.c
19680                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19681                         for wireless networks, try to fall back to some other access point
19682
19683 2004-10-23 Dan Williams <dcbw@redhat.com>
19684
19685         * panel-applet/NMWirelessApplet.[ch]
19686                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19687                         to the applet object, so we can get tooltips
19688                 - Add tooltips (RH #136866)
19689
19690         * src/NetworkManagerDevice.c
19691                 - When trying to find a wireless network, try to connect with encryption
19692                         turned on first, so that we can more accurately detect whether or not
19693                         we need to use encryption for the actual association later on
19694
19695 2004-10-21 Dan Williams <dcbw@redhat.com>
19696
19697         * Add some support for telling NetworkManagerInfo to tell the user
19698                 that they are using a device that's not fully supported
19699
19700         * Fix some assertions in debug messages due to null access point args
19701
19702 2004-10-21 Dan Williams <dcbw@redhat.com>
19703
19704         * src/NetworkManagerDevice.c
19705                 - Don't try to activate/bring up/down unsupported
19706                         devices
19707
19708         * src/NetworkManagerUtils.c
19709                 - Fix case of PCI ID checks for driver support levels
19710
19711 2004-10-21 Dan Williams <dcbw@redhat.com>
19712
19713         * NetworkManager.h
19714                 - New file, now contains commonly used structures and bits
19715                         for the dbus API of NetworkManager
19716
19717         * Makefile.am
19718                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19719
19720         * src/NetworkManager.h
19721                 - Rename -> src/NetworkManagerMain.c
19722
19723         * Various fixups all around to use NetworkManager.h and new
19724                 src/NetworkManagerMain.h, remove redundant bits that got
19725                 moved into NetworkManager.h
19726
19727         * src/NetworkManagerDevice.[ch]
19728           src/NetworkManagerUtils.[ch]
19729           src/NetworkManagerPolicy.c
19730           src/NetworkManagerDbus.c
19731                 - Whitelist wireless drivers, and blacklist some wired
19732                         drivers.  Also blacklist cipsec and ethernet-over-usb
19733                         devices at this time (RH #135722, RH #135648)
19734                 - Don't leak unsupported devices out over dbus, or allow
19735                         them to be set as the active device.  Skip over them
19736                         during automatic device picking
19737
19738         * test/nmclienttest.c
19739                 - Clean up the dbus code a lot
19740
19741 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19742
19743         * configure.in: post release bump.
19744
19745 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19746
19747         * configure.in:
19748         * NEWS: Released NetworkManager-0.3.1
19749
19750 2004-10-18 Dan Williams <dcbw@redhat.com>
19751
19752         Patches from Thom May:
19753         * test/nmtestdevices.c
19754                 - Include <string.h>
19755         * src/backends/NetworkManagerDebian.c:
19756                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19757                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19758                         Move to using g_strdup_printf rather than arbitrary buffers
19759                 - (nm_system_device_setup_static_ip4_config) Implement function.
19760                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19761
19762 2004-10-17 Dan Williams <dcbw@redhat.com>
19763
19764         * info-daemon/NetworkManagerInfoDbus.c
19765                 - Display name of network in the "network not found" dialog
19766
19767         * panel-applet/NMWirelessAppletDbus.c
19768                 - (nmwa_dbus_call_nm_method): new function replaces all other
19769                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19770                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19771                         consolidated into nmwa_dbus_get_object_name()
19772
19773 2004-10-15 Dan Williams <dcbw@redhat.com>
19774
19775         * src/NetworkManagerDbus.c
19776           info-daemon/NetworkManagerInfoDbus.c
19777                 - Display an error dialog when the user tries to use an
19778                         "Other wireless network" that's not found.
19779
19780 2004-10-15 Dan Williams <dcbw@redhat.com>
19781
19782         * panel-applet/NMWirelessApplet.[ch]
19783                 - Fix up corner cases in applet state, making it
19784                         look more responsive.  Change state to "connecting" when
19785                         the user is forcing a device too.
19786
19787 2004-10-15 Dan Williams <dcbw@redhat.com>
19788
19789         * src/NetworkManagerAPList.c
19790                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19791
19792         * src/NetworkManagerDbus.c
19793                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19794
19795         * src/NetworkManagerDevice.c
19796                 - Disown APs after the device's AP list takes ownership
19797
19798 2004-10-15 Dan Williams <dcbw@redhat.com>
19799
19800         * panel-applet/NMWirelessApplet.c
19801                 - Update our applet state from the GUI thread
19802
19803         * panel-applet/NMWirelessAppletDbus.c
19804                 - Greatly simplify the locking to make the GUI thread
19805                         smoother.  Update a private copy of the device list
19806                         and active device and only when done talking to
19807                         NetworkManager turn it over to the GUI thread.
19808
19809 2004-10-15 Dan Williams <dcbw@redhat.com>
19810
19811         * src/NetworkManagerAP.[ch]
19812                 - Add "artificial" get/set functions, set for APs that
19813                         aren't discovered as part of a scan but instead
19814                         discovered by force-setting the ESSID
19815
19816         * src/NetworkManagerDevice.[ch]
19817                 - (nm_device_wireless_network_exists): pass back whether
19818                         or not the discovered AP was encrypted.  Also, try
19819                         falling back to encrypted mode on the card if unencrypted
19820                         association doesn't work
19821                 - (nm_device_find_and_use_essid): If the network requested
19822                         did in fact exists, but it wasn't in our scan list, add
19823                         an "artificial" entry for it.  Some Cisco cards don't
19824                         see non-ESSID-broadcasting APs in their scan but can still
19825                         associate with them if you know the ESSID, this works around
19826                         that behavior
19827                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19828                         to scan if the card is currently associated with that AP
19829
19830 2004-10-15 Dan Williams <dcbw@redhat.com>
19831
19832         ---- We have a website ----
19833         http://people.redhat.com/dcbw/NetworkManager
19834
19835         Patch from Robert Paskowitz:
19836         * src/NetworkManager.c
19837                 - (main): Make sure we are run as root
19838         * src/NetworkManagerDevice.c
19839                 - Fix type in ad-hoc setting function
19840
19841         Patch from Thom May:
19842         * src/backends/NetworkManagerDebian.c
19843                 - Make Debian backend compile again
19844
19845 2004-10-14 Dan Williams <dcbw@redhat.com>
19846
19847         * Tagged NetworkManager-0_3
19848
19849 2004-10-14 Dan Williams <dcbw@redhat.com>
19850
19851         Patch from Robert Paskowitz:
19852         * NEWS
19853           src/NetworkManagerDevice.[ch]
19854           src/backends/NetworkManagerDebian.c
19855           src/backends/NetworkManagerGentoo.c
19856           src/backends/NetworkManagerRedHat.c
19857           src/backends/NetworkManagerSlackware.c
19858                 - Add support for grabbing and using a broadcast address
19859                         from system config files
19860                 - Some Gentoo backend fixes for grabbing network config
19861                 - Fix LOG_WARN->LOG_WARNING
19862
19863 2004-10-14 Dan Williams <dcbw@redhat.com>
19864
19865         * NEWS: a few small fixes in the credits
19866
19867 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19868
19869         * NEWS: prep for release.
19870
19871 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19872
19873         * panel-applet/NMWirelessAppletDbus.c
19874         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19875
19876 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19877
19878         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19879         applet->state == APPLET_STATE_NO_NM animation.
19880
19881         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19882         set the text correctly.
19883
19884 2004-10-14 Dan Williams <dcbw@redhat.com>
19885
19886         * src/NetworkManager.c
19887                 - Only accept and manager 802.3 and 802.11 devices
19888
19889         * src/NetworkManagerDbus.[ch]
19890                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19891                         logic into NetworkManagerDevice.c
19892                 - (nm_dbus_network_status_from_data): new function
19893                 - (nm_dbus_signal_network_status_change): new function, unused for now
19894                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19895
19896         * src/NetworkManagerDevice.[ch]
19897                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19898                         a random ESSID.
19899
19900 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19901
19902         * info-daemon/NetworkManagerInfo.c 
19903                 - (main): Added session management
19904
19905 2004-10-14 Dan Williams <dcbw@redhat.com>
19906
19907         * panel-applet/NMWirelessAppletDbus.[ch]
19908                 - Expose network_device_[un]ref()
19909                 - Expose wireless_network_[un]ref()
19910                 - (wireless_network_new_with_essid): new function, create and return
19911                         a wireless network with a particular essid
19912
19913         * panel-applet/NMWirelessApplet.c
19914                 - Hook up the "other network" dialog to do something
19915
19916 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19917
19918         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19919         doesn't work yet, but it looks okay.
19920
19921         * panel-applet/icons/*png: Resize to 22x22 and install in the
19922         right place.
19923
19924 2004-10-13 Dan Williams <dcbw@redhat.com>
19925
19926         * panel-applet/NMWirelessApplet.c
19927                 - Add function to print out applet_state in a readable
19928                         manner
19929
19930         * src/NetworkManager.c
19931                 - (main): Don't segfault when nm_dbus_init() fails, we had
19932                         a left-over call to hal_shutdown() into which we passed NULL
19933
19934         * src/NetworkManagerAP.c
19935                 - (nm_ap_set_essid): Allow NULL essids
19936
19937         * src/NetworkManagerAPList.[ch]
19938                 - More use of nm_ap_list_[un]lock ()
19939                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19940                         network/essid, just return nothing.  Also skip over NULL
19941                         essid access points in the list when searching
19942                 - (nm_ap_list_get_ap_by_address): new function
19943                 - (nm_ap_list_update_network): set the access point's key source to
19944                         NULL when the key returned from NetworkManagerInfo is NULL or
19945                         of 0 length
19946                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19947                         copy timestamp over too
19948                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19949                         find the correct ESSID for a blank-essid access point by searching
19950                         through another list and matching access point MAC addresses
19951                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19952
19953         * src/NetworkManagerDbus.c
19954                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19955                         may specify.  This is mainly for access points that don't
19956                         broadcast their essid.  So if the user tells us to associate with
19957                         some random ESSID that's not in our access point list, we find
19958                         out if the access point does in fact exist (by attempting association
19959                         and then matching that access point's MAC address with the essid the
19960                         user gave us) and then we switch to it.
19961                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19962                         to the returned list of networks for the "getNetworks" method
19963
19964         * src/NetworkManagerDevice.[ch]
19965                 - Extra debugging info for link detection
19966                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19967                         based on MAC address
19968                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19969                 - (nm_device_wireless_network_exists): new function, find out whether
19970                         a random ESSID exists by attempting to associate with it
19971                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19972                         device list as long as they have an AP MAC address we can use.
19973                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19974                         devices too.  Lets the applet update more frequently.
19975
19976         * src/backends/NetworkManagerGentoo.c
19977                 - Patch from: Robert Paskowitz
19978                         - Update backend code for Gentoo
19979                         - Implement nm_system_device_update_config_info ()
19980
19981         * test/nmclienttest.c
19982                 - (set_network_device): new function, takes a command-line argument
19983                         and tells NetworkManager to use that wireless network
19984
19985 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19986
19987         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19988         if the notification icon crashes 5 times within 5 seconds of each respawn 
19989
19990 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19991
19992         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19993         g_print.
19994
19995 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19996
19997         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19998
19999         * panel-applet/NMWirelessApplet.c: (animation_timeout),
20000         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20001         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20002         Change the name of the icons.
20003
20004         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20005         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20006         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20007         (nm_menu_wireless_expose_event): Really bad hack to get the style
20008         to draw in the right color.
20009
20010 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20011
20012         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
20013         Notification if it crashes
20014
20015 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
20016
20017         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
20018         (nmwa_dbus_get_string): remove unused functions
20019
20020         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20021         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20022         remove unused functions
20023
20024         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20025
20026 2004-10-12 Dan Williams <dcbw@redhat.com>
20027
20028         * panel-applet/NMWirelessAppletDbus.c
20029                 - New functions:
20030                         wireless_network_new
20031                         wireless_network_copy
20032                         network_device_new
20033                         network_device_copy
20034
20035         * src/NetworkManagerDevice.[ch]
20036                 - New functions:
20037                         nm_device_set_mode_managed
20038                         nm_device_set_mode_adhoc
20039                 - Use these functions where appropriate
20040                 - When creating a new wireless device, force the card
20041                         to managed/Infrastructure mode as soon as possible
20042
20043 2004-10-12 Dan Williams <dcbw@redhat.com>
20044
20045         * src/NetworkManagerDevice.c
20046                 - Force wireless cards into Infrastructure mode before we use them
20047
20048 2004-10-12 Dan Williams <dcbw@redhat.com>
20049
20050         * TODO
20051                 - Remove bit about static IP address support
20052
20053         * src/NetworkManagerUtils.c
20054                 - (nm_spawn_process): Add some error reporting
20055
20056         * src/NetworkManagerDevice.c
20057                 - (nm_device_activation_configure_ip): hook up to the static config
20058                         routines in the backends
20059
20060         * src/backends/NetworkManagerRedHat.c
20061                 - (nm_system_device_update_config_info): use shvar.c routines to
20062                         parse the config file iformation, not our own
20063                 - (nm_system_device_setup_static_ip4_config): new function, based
20064                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20065                         with a static IP address and gateway
20066
20067         * src/backends/shvar.[ch]
20068                 - Parser (filched from initscripts package) for ifcfg-* files
20069
20070         * src/backends/NetworkManagerSystem.h
20071           src/backends/NetworkManagerGentoo.c
20072           src/backends/NetworkManagerDebian.c
20073           src/backends/NetworkManagerSlackware.c
20074                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20075
20076 2004-10-11 Dan Williams <dcbw@redhat.com>
20077
20078         * TODO
20079                 - Remove bit about more robust AP diffing since I just implemented it
20080
20081 2004-10-11 Dan Williams <dcbw@redhat.com>
20082
20083         * src/NetworkManagerAP.c
20084                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20085                         enough RAM to allocate new AP structures, but return NULL instead
20086
20087         * src/NetworkManagerAPList.[ch]
20088                 - (nm_ap_list_is_empty): new function
20089                 - (nm_ap_list_combine): new function, combine two access point lists
20090                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20091                         into another
20092
20093         * src/NetworkManagerDevice.[ch]
20094                 - Rename some functions to be clearer:
20095                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20096                         nm_device_just_activated     -> nm_device_is_just_activated
20097                         nm_device_activating         -> nm_device_is_activating
20098                         nm_device_now_scanning       -> nm_device_is_scanning
20099                 - Cache the last 4 scans so that the access point list is more stable.
20100                         We combine the lastest two scans and use that as the AP list,
20101                         and diff that combined list against the combination of the earliest
20102                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20103
20104 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20105
20106         * info-daemon/NWManagerInfo.h
20107                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20108
20109         * info-daemon/NWManagerInfoDbus.c
20110                 - (shutdown_callback): new function
20111                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20112                         if NetworkManager goes away.  Kill the timeout
20113                         if NetworkManager restarts before the 30 seconds
20114                         are up.
20115                 - (nmi_dbus_service_init): 
20116                         - call gtk_main_quit if NetworkManager is not running
20117                         - add filters to monitor dbus service creations and
20118                                 deletions
20119         
20120 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20121
20122         * panel-applet/NMWirelessApplet.c
20123                 - (nmwa_update_state): Hide notification icon if we are only
20124                         showing one wired card and no wireless interfaces 
20125                         (Red Hat Bug #134895)
20126
20127         * panel-applet/NMWirelessAppletDbus.c
20128                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20129
20130         * info-daemon/NWManagerInfo.c
20131                 - (main): Terminated the notification_icon_cmd array with a NULL
20132
20133 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20134
20135         * configure.in (ALL_LINGUAS): Added de (German).
20136
20137 2004-10-08 Dan Williams <dcbw@redaht.com>
20138
20139         * src/NetworkManagerDevice.c
20140                 - Be a bit more robust about link checking, ie make sure that
20141                         the WEP key we were given actually has some data in it
20142
20143 2004-10-08 Dan Williams <dcbw@redhat.com>
20144
20145         * info-daemon/NetworkManagerInfo.c (main):
20146                 - Initialize GError object to NULL
20147
20148 2004-10-08 Dan Williams <dcbw@redhat.com>
20149
20150         * panel-applet/NMWirelessAppletDbus.c
20151                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20152
20153 2004-10-08 Dan Williams <dcbw@redhat.com>
20154
20155         * info-daemon/NetworkManagerInfo.[ch]
20156           info-dameon/NetworkManagerInfoDbus.[ch]
20157           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20158                 - Preserve original label text in the passphrase dialog so that
20159                         it actually gets updated with the new network name the next
20160                         time around.  Previously, we were overwriting it so you'd get
20161                         the wrong network name to enter a key for
20162                 - Add a "Key Type" combo to the passphrase dialog, user selects
20163                         encryption key type now, type is stored in GConf too
20164                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20165
20166         * src/NetworkManagerAP.[ch]
20167                 - Remove all the encyption method magic.  It's now set by the user
20168                         and NetworkManager retrieves the type of encryption key from
20169                         NetworkManagerInfo
20170
20171         * src/NetworkManagerAPList.[ch]
20172           src/NetworkManagerDbus.[ch]
20173                 - Adjust to new way of setting encryption key and method
20174                 - Pull encryption method down from NMI along with key
20175
20176         * src/NetworkManagerDevice.[ch]
20177                 - Removed encryption method fallback magic as the method is now
20178                         determined by the user.  This greatly simplifies the connection
20179                         logic.
20180                 - More robust connection/link logic.  Besides removing the encryption
20181                         method fallback magic, check whether or not the card is receiving
20182                         invalidly encrypted packets, which usually indicates that we have
20183                         a bad WEP key set.
20184                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20185
20186         * test/nminfotest.c
20187                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20188
20189 2004-10-07 Dan Williams <dcbw@redhat.com>
20190
20191         * info-daemon/NetworkManagerInfo.conf
20192                 - Allow root user to run NMI too
20193
20194 2004-10-06 Dan Williams <dcbw@redhat.com>
20195
20196         * src/NetworkManagerDevice.[ch]
20197           src/NetworkManagerDbus.c
20198           doc/NetworkManager DBUS API.txt
20199                 - Add a new status tag "scanning", which is set when there
20200                         is no active network connection, but NetworkManager is
20201                         looking for an access point to associate with
20202
20203         * panel-applet/main.c
20204                 - Cast the applet appropriately for gtk_widget_show_all ()
20205
20206 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20207
20208         * panel-applet/eggtrayicon.[ch]:
20209         * panel-applet/main.c: Add missing file
20210
20211 2004-10-04 Dan Williams <dcbw@redhat.com>
20212
20213         * src/NetworkManagerDevice.[ch]
20214                 - Add a slightly more robust method of determining if the WEP key
20215                         is correct or not, by checking the WEP-discarded packet count
20216                         on the card
20217
20218         * info-daemon/NetworkManagerInfo.c
20219                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20220                         un-escape values we pull out rather than escaping them
20221
20222 2004-10-03  Marcel Telka  <marcel@telka.sk>
20223
20224         * configure.in (ALL_LINGUAS): Added sk.
20225
20226 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20227
20228         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20229         and feel.  We should be back to working, and have a good, clean
20230         look.
20231
20232 2004-09-30 Dan Williams <dcbw@redhat.com>
20233
20234         * info-daemon/NetworkManagerInfo.c
20235           info-daemon/NetworkManagerInfoDbus.c
20236           test/nminfotest.c
20237                 - Escape ESSIDs in gconf
20238
20239         * src/NetworkManagerDevice.c
20240                 - Fix pseudo-scanning to use netowrk list from info daemon
20241
20242 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20243
20244         * configure.in: Add a temporary --enable-notification-icon.  This
20245         will prolly go away.
20246
20247         * info-daemon/Makefile.am:
20248         * info-daemon/NetworkManagerInfo.c:
20249         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20250
20251         * panel-applet/Makefile.am:
20252         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20253         * panel-applet/NMWirelessApplet.h:
20254
20255 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20256
20257         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20258         before 'select custom ESSID'.
20259
20260         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20261         fully complete, but syncing in prep for merge.
20262
20263         * panel-applet/icons/*png: New images
20264
20265 2004-09-28 Dan Williams <dcbw@redhat.com>
20266
20267         * src/NetworkManager.c
20268           src/NetworkManagerDevice.c
20269           src/NetworkManagerPolicy.c
20270                 - Don't blow away an active wired connection on startup
20271
20272 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20273
20274         Changes from J5
20275         
20276         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20277
20278         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20279         syslog output
20280
20281 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20282
20283         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20284         have a wireless card.
20285
20286 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20287
20288         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20289         Also, get the right device strings.
20290
20291 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20292
20293         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20294         the logic to make this right.
20295
20296         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20297         devices so that wired networks are always first.
20298
20299 2004-09-22    <clarkbw@cvs.gnome.org>
20300
20301         * initscript/Debian/.cvsignore:
20302         * initscript/Slackware/.cvsignore:
20303         Added new cvsignores for Makefile, Makefile.in
20304         
20305         * test/.cvsignore:
20306         Added nmtestdevices
20307         
20308         * src/NetworkManagerDevice.c: 
20309         * src/NetworkManager.c: 
20310         Updated the wireless/wired HAL device strings from net.ethernet to
20311         net.80203 or net.80211 depending on wired or wireless respectively
20312         
20313         * examples/python/NetworkManager.py: 
20314         s/Quality/Strength/
20315
20316         * examples/python/systray/network_tray.py:
20317         Lots of little changes and fixes.  been rotting for a while so I
20318         figured I'd finally sync them all with CVS
20319
20320 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20321
20322         * configure.in: Add graphics
20323
20324         * panel-applet/Makefile.am: Add graphics
20325
20326         * panel-applet/icons/*: Add graphics
20327
20328         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20329         the icons fully lined up.
20330
20331         * panel-applet/menu-info.c: 
20332         * panel-applet/menu-info.h: Add another menu type.
20333
20334 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20335
20336         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20337
20338         * panel-applet/menu-item.[ch]: Wireless menu item.
20339
20340 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20341
20342         * info-daemon/NetworkManagerInfo.conf
20343                 - Created a more robust security policy for the DBus service
20344                         - everything is denied by default
20345                         - root can own and send to the service
20346                         - users logged in at the console can send to the service
20347
20348 2004-09-13  Dan Williams <dcbw@redhat.com>
20349
20350         * src/NetworkManagerDevice.c
20351                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20352                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20353                         the latter
20354
20355 2004-09-13  Dan Williams <dcbw@redhat.com>
20356
20357         * TODO: fix typo
20358
20359         * docs/NetworkManager DBUS API.txt
20360                 - Update for new signal strength changes
20361
20362         * panel-applet/NMWirelessApplet.c
20363                 - Make panel icon show strength of the current connection
20364                 - Cleanups and memleak fixes
20365
20366         * panel-applet/NMWirelessApplet.h
20367                 - Add data members for signal strength on devices and networks
20368
20369         * panel-applet/NMWirelessAppletDbus.c
20370                 - Free more DBusErrors
20371                 - Update for new signal strength changes
20372                 - Make devices and networks more like real objects, use ref/unref methods
20373                 - Actually unlock the mutex when updating the active device
20374
20375         * src/NetworkManagerAP.c
20376                 - Change AP functions and data members from "quality"->"strength"
20377
20378         * src/NetworkManagerDbus.c
20379                 - Kill "getMaxQuality" and "getQuality" methods
20380                 - Add "getStrength" methods for Networks and Devices
20381
20382         * src/NetworkManagerDevice.[ch]
20383                 - Add accessors for device strength
20384                 - Add functions to update strength for a device.  Note that not all drivers
20385                         actually support signal strength for scanned access points (Atmel drivers
20386                         being one)
20387                 - Calculate signal strength for each AP during scan
20388
20389         * src/NetworkManagerWireless.[ch]
20390                 - Add function to return signal strength % from a device and a raw quality struct
20391
20392         * test/nmclienttest.c
20393                 - Update for new signal strength changes
20394
20395 2004-09-11  Dan Williams <dcbw@redhat.com>
20396
20397         * src/NetworkManager.c
20398                 - Fix race condition between initscripts and NM on card insertion
20399                         which could cause a card to keep an IP address and routes around
20400                         even when it was not the active device
20401
20402         * src/NetworkManagerDbus.c
20403                 - Fix compile errors, free more DBusErrors
20404
20405 2004-09-11  Dan Williams <dcbw@redhat.com>
20406
20407         * docs/NetworkManager DBUS API.txt
20408                 - Add an explanation of NM's API
20409
20410         * src/NetworkManagerDbus.c
20411                 - Free some more DBusErrors if needed
20412
20413 2004-09-11  Dan Williams <dcbw@redhat.com>
20414
20415         * panel-applet/NMWirelessApplet.c
20416           panel-applet/NMWirelessAppletDbus.c
20417                 - Start using NetworkDevice/WirelessNetwork structures in more places
20418                 - Update for unified device/network forcing in NetworkManager
20419
20420         * src/NetworkManager.c
20421                 - some code consolidation
20422
20423         * src/NetworkManagerDbus.c
20424                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20425                         or two arguments:  the first is the NM ID of the device to switch to,
20426                         and the second (optional) argument is the ESSID of a wireless network
20427                         to use as well.
20428                 - Get rid of "setNetwork" method due to above change
20429
20430         * src/NetworkManagerDevice.c
20431                 - (nm_device_new): perform scan and update best AP on device creation
20432                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20433                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20434                         spin waiting for cancellation to finish before returning
20435
20436         * src/NetworkManagerPolicy.c
20437                 - Changes here clarify the situations in which a device switch occurs, and 
20438                         make sure to keep using a forced device and network if the user gives
20439                         us one
20440                 - Remove old unused code
20441
20442 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20443
20444         * configure.in: Added Danish (da) to ALL_LINGUAS.
20445
20446 2004-09-09  Dan Williams <dcbw@redhat.com>
20447
20448         * panel-applet/NMWirelessAppletDbus.c
20449                 - Pull fresh devices and networks from NM when wireless networks
20450                         change.  Provides faster feedback of a forced wireless network
20451
20452         * src/NetworkManagerDbus.c
20453                 - Return error when "getMaxQuality" is called on a wired device
20454                 - Make best_ap freezing actually work again, and signal cancellation
20455                         of activation if there's already a device activation when the user
20456                         freezes the best_ap
20457
20458         * src/NetworkManagerDevice.c
20459                 - Don't clear out the best_ap for wireless devices when the link goes
20460                         down, that's done elsewhere
20461                 - Kill any dhcp daemons when cancelling device activation since they
20462                         may be stuck waiting for a DHCP address, and since we're cancelling
20463                         activation we don't care about that anymore
20464
20465         * src/NetworkManagerPolicy.c
20466                 - Make sure to unref the device we ref earlier (we refed it to make sure
20467                         it stuck around during device activation and such)
20468                 - If we were going to change the best device, but its activating currently
20469                         (and therefore the change didn't occur due to the check earlier)
20470                         we mark the state changed to we come back to it later when device
20471                         activation has canceled and its no longer activating
20472
20473         * src/backends/NetworkManagerRedHat.c
20474                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20475
20476 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20477
20478         * info-daemon/passphrase.glade: 
20479         set passphrase input to activates_default : True
20480
20481         * examples/python/systray/network_tray.py
20482         (network_tray.sort_networks):
20483
20484         Added support for having wireless always scanning
20485
20486 2004-09-09  Dan Williams <dcbw@redhat.com>
20487
20488         NOTE: this commit changes the behavior of wireless devices in
20489         NetworkManager.  They are now up all the time, scanning all
20490         the time.  Only the active device has an IP address and routing
20491         information set up however.  Also, NetworkManager will no longer
20492         opportunistically switch wireless networks when a better one
20493         comes in range, it will remain associated with one wireless network
20494         until that one drops out.
20495
20496         * panel-applet/NMWirelessApplet.c
20497           panel-applet/NMWirelessAppletDbus.c
20498                 - List all wireless cards and their respective networks
20499
20500         * src/NMLoadModules
20501                 - Use full path to /sbin/ip
20502
20503         * src/NetworkManager.c
20504                 - Keep wireless devices up all the time so they can scan
20505
20506         * src/NetworkManagerDbus.c
20507                 - On a WirelessNetworkUpdate signal from NMI, don't update
20508                         the "best" AP
20509
20510         * src/NetworkManagerDevice.c
20511                 - (nm_device_set_link_active): clear out the best ap for
20512                         wireless devices when the link is set to FALSE
20513                 - Scan on all wireless cards, all the time
20514                 - (nm_device_activation_worker): split out the wireless card
20515                         link-waiting code to a separate function
20516                 - Keep wireless cards up even if device activation fails
20517                 - Don't update the "best" ap as much
20518
20519         * src/NetworkManagerPolicy.c
20520                 - Don't update the best ap when checking if its frozen,
20521                         let link checking clear out a frozen best ap for us
20522
20523         * src/NetworkManagerWireless.c
20524                 - Scan on all wireless cards, all the time
20525
20526 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20527
20528         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20529
20530 2004-09-09  Ankit Patel <ankit@redhat.com>
20531
20532         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20533
20534 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20535
20536         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20537
20538 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20539
20540         * examples/python/NetworkManager.py: 
20541         added CONNECTED, CONNECTING, and DISCONNECTED states
20542         added methods to return number of devices of a single type
20543
20544         * examples/python/systray/network_tray.py: 
20545         did some tweaks to get the menu looking near what it is supposed
20546         to look like.  Also did a Airo card hack to make it show the
20547         correct AP quality
20548
20549 2004-09-08  Dan Williams <dcbw@redhat.com>
20550
20551         * panel-applet/no-networkmanager.png
20552           panel-applet/Makefile.am
20553           panel-applet/NMWirelessApplet.c
20554                 - Add a "NetworkManager not running" icon and use it
20555                 - Use new consolidated GConf keys rather than Preferred/Trusted
20556
20557         * TODO: update
20558
20559         * info-daemon/NetworkManagerInfo.c
20560           info-daemon/NetworkManagerInfoDbus.[ch]
20561           info-daemon/NetworkManagerInfoPassphraseDialog.c
20562                 - There are now no longer two separate lists of wireless networks,
20563                         but one list where each network is "trusted" or not trusted
20564                 - Add a "getNetworkTrusted" dbus method
20565                 - "WirelessNetworkUpdate" signal now sent rather than
20566                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20567                 - Start freeing some dbus errors (not completed yet)
20568
20569         * info-daemon/passphrase.glade
20570                 - Remove the "don't show" hints for pager and taskbar
20571                 - Add a title since its going to be in the taskbar
20572
20573         * src/NetworkManager.[ch]
20574           src/NetworkManagerAPList.[ch]
20575                 - There are now no longer two separate lists of wireless networks,
20576                         but one list where each network is "trusted" or not trusted
20577
20578         * src/NetworkManagerAP.[ch]
20579                 - Add get/set "trusted" accessors and data bit
20580
20581         * src/NetworkManagerDbus.[ch]
20582                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20583                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20584
20585         * src/NetworkManagerDevice.[ch]
20586                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20587                 - (nm_device_new): Get device config from backend when initializing devices
20588                 - (nm_device_activation_worker): Split out device configuration on
20589                         activation to deal with static/dynamic IP differences, and try encryption
20590                         fallbacks on a device if the encryption method for the best AP is not good
20591                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20592                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20593
20594         * src/NetworkManagerWireless.c
20595                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20596
20597         * src/backends/NetworkManagerRedHat.c
20598           src/backends/NetworkManagerSystem.h
20599                 - (nm_system_device_update_config_info): Add function to get device configuration
20600                         from system data in ifcfg-* files
20601
20602         * src/backends/NetworkManagerDebian.c
20603           src/backends/NetworkManagerGentoo.c
20604           src/backends/NetworkManagerSlackware.c
20605                 - Add stub functions for getting device configuration
20606
20607 2004-09-07  Dan Williams <dcbw@redhat.com>
20608
20609         * src/backends/NetworkManagerRedhat.c
20610           src/backends/NetworkManagerSlackware.c
20611                 - Use full path to /sbin/ip everywhere
20612
20613 2004-09-07  Dan Williams <dcbw@redhat.com>
20614
20615         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20616
20617         * configure.in
20618           initscript/Makefile.am
20619           initscript/Slackware/Makfile.am
20620           initscript/Slackware/rc.networkmanager
20621           src/Makefile.am
20622           src/backends/NetworkManagerSlackware.c
20623                 - Add Slackware support
20624
20625 2004-09-07  Dan Williams <dcbw@redhat.com>
20626
20627         Patches below from:
20628                 <j@bootlab.org>
20629                 Mark Roach <mrroach@okmaybe.com>
20630                 Thom May <thom@debian.org>
20631
20632         * configure.in
20633           initscript/Debian/NetworkManager
20634           initscript/Debian/Makefile.am
20635                 - Initscript for Debian
20636
20637         * src/backends/NetworkManagerDebian.c
20638                 - Add missing system init function to allow compilation
20639                         on Debian
20640
20641 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20642
20643         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20644
20645 2004-09-03  Akagic Amila <bono@linux.org.ba>
20646
20647         * configure.in: Added 'bs' to ALL_LINGUAS.
20648
20649 2004-09-02  Colin Walters  <walters@verbum.org>
20650
20651         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20652         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20653         g_strdup_printf instead of arbitrarily sized buffers.
20654
20655 2004-09-01  Colin Walters  <walters@verbum.org>
20656
20657         * NetworkManager.pc.in: New file.
20658
20659         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20660
20661 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20662         
20663         * configure.in: Punjabi(pa) is added to po/.
20664
20665 2004-08-31  Dan Williams <dcbw@redhat.com>
20666
20667         * Remove 'debug' extern global from all files since we now
20668                 use syslog()
20669
20670         * src/NetworkManager.[ch]
20671                 - Break out routine that get the net.interface property from HAL,
20672                         removing that logic from nm_create_device_and_add_to_list()
20673                 - (nm_create_device_and_add_to_list): make this a bit more general so
20674                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20675                         the create of test devices.
20676                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20677                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20678                         which makes NetworkManager listen for dbus commands to create test
20679                         devices, which have no backing hardware.  Use when you're on a plane
20680                         for example, and/or forgot your wireless card at home.  Test devices
20681                         _cannot_ be created unless NM is started with --enable-test-devices.
20682
20683         * src/NetworkManagerDbus.[ch]
20684                 - New "getLinkActive" method for devices
20685                 - New "setLinkActive" method for devices (only works on test devices)
20686                 - New "createTestDevice" method on NetworkManager object to create a test
20687                         device of a specified type (ie wired, wireless).  UDI is created from
20688                         scratch, as is the interface name.  Only works when NM is started with
20689                         --enable-test-devices switch.
20690                 - New "removeTestDevice" method on NetworkManager object which removes a
20691                         test device.  Only works when NM is started with --enable-test-devices
20692
20693         * src/NetworkManagerDevice.[ch]
20694                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20695                         whether a device is a test device or not, and what its link status is.
20696                 - Deal with test devices in most functions.  For those that work directly on hardware
20697                         special-case test devices.
20698                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20699                         command-line.
20700                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20701                         checking to separate functions to facilitate test device link checking.
20702                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20703                         don't make a distinction between System Authentication and Encryption
20704                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20705                         on the card.  We don't deal with Shared Key auth yet.
20706                 - (nm_device_activation_worker): split the activation cancel check logic out into
20707                         a separate routine nm_device_activation_cancel_if_needed()
20708                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20709                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20710                         a list of fake access points that they can "see"
20711                 - (nm_device_is_test_device): return whether or not a device is a test device
20712
20713         * src/NetworkManagerPolicy.c
20714                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20715                         previously if you "locked"/forced NM to use a wireless device but then
20716                         selected a wireless network for NM to use, it would switch to a wired device.
20717                         So, if the active device is wireless and it has a "forced" best AP, use it
20718                         if the "forced" best AP is still valid
20719                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20720                         there were no usable network devices, or the last one was removed
20721
20722         * src/backends/NetworkManager*.c
20723                 - Deal with test devices, mostly just return success for operations like getting
20724                         a DHCP address
20725
20726         * test/nmtestdevices.c
20727                 - Test tool to create/remove/link-switch test devices
20728
20729 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20730
20731         * examples/python/NetworkManager.py: 
20732         added convience functions has_wired_device and has_wireless_device
20733
20734         * examples/python/systray/network_tray.py: 
20735         cleaned up a bunch of cruft, added support for listing wireless
20736         networks just like the real applet.  This is probably all I'm
20737         going to work on this applet from now on.
20738         TODO: add support for actually changing networks and devices
20739
20740         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20741         changed "nm.networks" into a dict from a list so I can store all
20742         the cool information about networks in there
20743
20744         * examples/python/systray/network_tray.py: 
20745         Added nice message when you try to run without running make first
20746
20747         * examples/python/NetworkManager.py: 
20748         Bug fixes to the code so we get all the device information
20749         that we need in get_device()
20750         
20751         * examples/python/NMTester.py: 
20752         Fixed _print_device_list to print_device_list
20753
20754 2004-08-29  Seth Nickell  <seth@gnome.org>
20755
20756         * configure.in:
20757
20758         Actually properly setup the Debian backend in configure.
20759         
20760 2004-08-29  Colin Walters  <walters@verbum.org>
20761
20762         * test/nminfotest.c: Include string.h and stdlib.h.
20763         (get_network_string_property, get_networks_of_type): Return NULL.
20764
20765         * test/nmclienttest.c (get_device_name, get_active_device): Return
20766         NULL.
20767
20768         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20769         use strlen, fgets always NULL-terminates the string.
20770
20771         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20772         dbus_message_get_member): Remove /* in comment.
20773
20774         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20775
20776         * src/NetworkManager.c (quit): Unused, delete.
20777         (nm_data_free): Cast arg to GFunc.
20778
20779         * panel-applet/NMWirelessAppletDbus.c: Need to include
20780         string.h, and dbus-glib-lowlevel.h (the latter is needed
20781         for dbus_connection_setup_with_g_main at present).
20782         (nmwa_dbus_update_wireless_network_list): Parenthesize
20783         assignment in conditional.
20784         (nmwa_dbus_worker): Return NULL.
20785
20786         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20787         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20788         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20789         (nmwa_populate_menu): Return NULL on failure, instead of just
20790         return;
20791
20792         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20793
20794         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20795         variables.
20796
20797         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20798         delete.
20799         
20800 2004-08-29  Colin Walters  <walters@verbum.org>
20801
20802         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20803         a GTimeVal instead of time_t.  This is easier to work with,
20804         since time_t may be a long or double, we don't know.
20805
20806         * src/NetworkManagerDbus.h: Update prototype.
20807         
20808         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20809         instead of time_t.
20810         (nm_ap_get_timestamp): Update to return GTimeVal.
20811         (nm_ap_set_timestamp): Update to take GTimeVal.
20812         
20813         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20814         to handle GTimeVal.
20815
20816         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20817         GTimeVal change.
20818         (nm_ap_list_print_members): Fix warnings in printf format.
20819
20820 2004-08-29  Colin Walters  <walters@verbum.org>
20821         
20822         * panel-applet/NMWirelessApplet.c: Include config.h.
20823
20824 2004-08-29  Colin Walters  <walters@verbum.org>
20825
20826         * configure.in: Generate config.h.
20827
20828         * configure.in: Dump dependency on OpenSSL; we can't
20829         use it since this package is GPL:
20830         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20831         Instead, check for libgcrypt, use it if available,
20832         otherwise use included MD5 code.
20833
20834         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20835         Suck in from gnome-keyring, munge a bit.
20836         
20837         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20838         gnome-keyring-md5.h gnome-keyring-md5.c.
20839         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20840
20841         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20842         libgcrypt or included gnome-keyring md5 bits.
20843         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20844
20845 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20846
20847         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20848
20849 2004-08-27  Bryan Clark  <bclark@redhat.com>
20850
20851         * examples/python/systray/Makefile: 
20852
20853         Updated the clean section
20854         
20855         * examples/python/systray/trayiconmodule.c: 
20856         * examples/python/systray/trayicon.override: 
20857         * examples/python/systray/network_tray.py: 
20858         * examples/python/systray/eggtrayicon.h: 
20859         * examples/python/systray/eggtrayicon.c: 
20860         * examples/python/systray/Makefile: 
20861         * examples/python/README: 
20862         * examples/python/NetworkManager.py: 
20863         * examples/python/NMTester.py: 
20864
20865         Initial commit of these python example files
20866
20867 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20868
20869         * panel-applet/NMWirelessApplet.c
20870                 - Make current device bold
20871                 - Show more user-friendly device name if we got one from hal
20872
20873         * panel-applet/NMWirelessAppletDbus.c
20874                 - Grab "info.product" key from hal for network devices
20875                 - Cache the current active device
20876
20877 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20878
20879         * configure.in: Added en_CA to ALL_LINGUAS.
20880
20881 2004-08-27  Christian Rose  <menthos@menthos.com>
20882
20883         * configure.in: Added "sv" to ALL_LINGUAS.
20884
20885 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20886
20887         * Tag NetworkManager-0.2
20888
20889 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20890
20891         * initscripts/Makefile.am
20892         * configure.in: Make pass distcheck
20893
20894         * po/ChangeLog: added
20895
20896 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20897
20898         * panel-applet/NMWirelessApplet.c
20899                 - Remove debugging code
20900                 - Enable device switching from menus
20901
20902         * panel-applet/NMWirelessAppletDbus.[ch]
20903                 - Method for asking NM to switch devices
20904
20905         * src/NetworkManagerDevice.c
20906                 - Set dev->activating earlier, avoids race between
20907                         the dbus signal of "DeviceActivating" and setting
20908                         dev->activating (which is what NM's "status" method call
20909                         looks at)
20910
20911 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20912
20913         * panel-applet/NMWirelessApplet.[ch]
20914                 - Rework menu code to add devices to menu, and to show
20915                         signal strength for each access point.  Code cleanups
20916                         too.
20917
20918         * panel-applet/NMWirelessAppletDbus.c
20919                 - Grab network devices from NetworkManager too
20920                 - Grab quality information from NM for wireless networks
20921
20922         * src/NetworkManagerDbus.[ch]
20923                 - Add dbus methods for getting the HAL UDI from a device and
20924                         for getting its base quality, if its wireless
20925                 - Consolidate some functions (wireless network notifications,
20926                         device notifications)
20927                 - Add method for requesting NM to use a particular device
20928
20929         * src/NetworkManager.c
20930                 - Change for function consolidations from NetworkManagerDbus.c
20931                 - Implement active device locking and user-requested devices
20932                         (ie, tell NM to use a particular device instead of the one
20933                         it autochose)
20934
20935         * src/NetworkManagerDevice.c
20936                 - Add method for getting the base quality of a device, if its
20937                         wireless
20938                 - Grab device base quailty info from iwlib during scans
20939
20940         * src/NetworkManagerPolicy.c
20941                 - Use a user-requested device rather than the auto-chosen device
20942                         if we are told to
20943
20944 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20945
20946         * Makefile.am: add po as a supdir
20947
20948         * autogen.sh: use gnome-autogen.sh
20949
20950         * initscript/Gentoo/.cvsignore:
20951         * initscript/RedHat/.cvsignore: Shut up cvs
20952
20953         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20954
20955         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20956         (nmwa_fill): Use gettext.
20957
20958         * configure.in: add gettext support
20959         * po/.cvsignore:
20960         * po/NetworkManager.pot:
20961         * po/POTFILES.in:
20962
20963 2004-08-26  Seth Nickell  <seth@gnome.org>
20964
20965         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20966         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20967         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20968         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20969         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20970         * panel-applet/NMWirelessApplet.h:
20971
20972         Use a menu bar instead of a button for the main clickable
20973         thingy.
20974         
20975 2004-08-25  Dan Williams <dcbw@redhat.com>
20976
20977         * src/NetworkManagerDevice.c
20978                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20979                         turning encryption off, because the Cisco driver doesn't associate
20980                         with WEP-enabled access points unless we are in "open"
20981
20982 2004-08-25  Dan Williams <dcbw@redhat.com>
20983
20984         * src/NetworkManagerWireless.c
20985                 - Don't try to defererence blank passphrases
20986
20987 2004-08-25  Dan Williams <dcbw@redhat.com>
20988
20989         * panel-applet/NMWirelessApplet.c
20990                 - Rebuild the menu whenever a user clicks
20991
20992 2004-08-25  Dan Williams <dcbw@redhat.com>
20993
20994         * panel-applet/NMWirelessApplet.c
20995                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20996                         when NM isn't around or when its not connected
20997
20998         * src/NetworkManagerDevice.c
20999                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21000                         canceled.
21001
21002 2004-08-25  Dan Williams <dcbw@redhat.com>
21003
21004         * panel-applet/NMWirelessAppletDbus.c
21005                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21006                         for getting encryption, and don't stop on "val" once we've gotten it
21007                         from NetworkManager.  Short form:  encryption should now show up.
21008
21009 2004-08-25  Dan Williams <dcbw@redhat.com>
21010
21011         * panel-applet/NMWirelessApplet.c
21012                 - Set ESSID on a gconf trusted network too when force-setting the wireless
21013                         network to associate with
21014
21015 2004-08-25  Dan Williams <dcbw@redhat.com>
21016
21017         * panel-applet/*
21018                 - Rework the panel applet to do all DBUS communication in a separate
21019                         thread
21020
21021 2004-08-25  Dan Williams <dcbw@redhat.com>
21022
21023         * info-daemon/NetworkManagerInfo.[ch]
21024                 - Remove "get_next_priority" function
21025
21026         * info-daemon/NetworkManagerInfoDbus.[ch]
21027                 - Convert "priority" functions to "timestamp"
21028
21029 2004-08-25  Dan Williams <dcbw@redhat.com>
21030
21031         * src/NetworkManagerAP.[ch]
21032                 - Add a "enc_method_good" member and accessors to an Access Point
21033                         to signal when we've found the correct encryption method
21034                         for an access point
21035                 - Add a "timestamp" member and accessors, remove "priority" member
21036                         and accessors (use timestamps instead)
21037                 - Rename "wep_key"->"enc_key"
21038                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21039                         for a specified encryption method using the access points
21040                         source encryption key/passphrase
21041
21042         * src/NetworkManagerAPList.c
21043                 - When updating a network with dbus, grab timestamp now instead of
21044                         priority
21045
21046         * src/NetworkManagerDBus.[ch]
21047                 - Add signal for "DeviceActivating"
21048                 - Switch priority->timestamp
21049
21050         * src/NetworkManagerDevice.c
21051                 - Change references of "wep_key" -> "enc_key" or "key"
21052                 - Signal DeviceActivating when starting activation
21053                 - When activating a wireless device, if the access point we are connecting
21054                         to is encrypted, and we have a source key, try to generate a mangled
21055                         key and use that (ie, generate real WEP key from a passphrase)
21056                 - Rework device activation to fallback to other encryption methods if
21057                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21058                         first, then if that doesn't work fall back to direct hex key).
21059                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21060                         priority.  We now prefer the latest access point used, rather than using
21061                         a priority scheme
21062                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21063                         points we've just discovered, and merge in correct info from the global
21064                         access point lists
21065
21066 2004-08-25  Seth Nickell  <seth@gnome.org>
21067
21068         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21069         Debian support.
21070         
21071         * src/Makefile.am:
21072         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21073         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21074         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21075         (nm_system_delete_default_route),
21076         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21077         (nm_system_load_device_modules):
21078
21079 2004-08-24  Dan Willemsen <dan@willemsen.us>
21080
21081         * src/NetworkManager.c
21082           src/backends/NetworkManagerGentoo.c
21083           src/backends/NetworkManagerRedHat.c
21084           src/backends/NetworkManagerSystem.h
21085                 - Implement preliminary Gentoo support, adding a
21086                         nm_system_init function to the backend specification
21087
21088         * configure.in
21089                 - Distribution auto-detection, lowercase any user-fed
21090                         distribution names
21091
21092         * initscript/.cvsignore
21093           initscript/Makefile.am
21094           initscript/RedHat/Makefile.am
21095           initscript/RedHat/NetworkManager
21096           initscript/Gentoo/Makefile.am
21097           initscript/Gentoo/NetworkManager
21098                 - Refactored initscript code separately for each
21099                         distribution
21100
21101 2004-08-23  Dan Williams <dcbw@redhat.com>
21102
21103         * configure.in
21104           src/Makefile.am
21105           src/NetworkManagerDevice.c
21106           src/NetworkManager.c
21107           src/NetworkManagerUtils.[ch]
21108           src/backends/NetworkManagerSystem.h
21109           src/backends/NetworkManagerRedHat.c
21110           src/backends/NetworkManagerGentoo.c
21111                 - Refactor system-specific code into separate backends for
21112                         each distribution
21113
21114 2004-08-23  Dan Willemsen <dan@willemsen.us>
21115
21116         * dispatcher-daemon/NetworkManagerDispatcher.c
21117           info-daemon/NetworkManagerInfo.[ch]
21118           info-daemon/NetworkManagerInfoDbus.c
21119           info-daemon/NetworkManagerInfoPassphraseDialog.c
21120           src/NetworkManager.c
21121           src/NetworkManagerAP.c
21122           src/NetworkManagerAPList.c
21123           src/NetworkManagerDbus.c
21124           src/NetworkManagerDevice.c
21125           src/NetworkManagerPolicy.c
21126           src/NetworkManagerUtils.[ch]
21127           src/NetworkManagerWireless.c
21128                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21129
21130         * src/NetworkManager.c
21131                 - Fixed usage wording for --no-daemon
21132
21133 2004-08-23  Dan Williams <dcbw@redhat.com>
21134
21135         * panel-applet/NMWirelessApplet.c
21136                 - Update our state every second to get more responsive panel icon
21137                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21138                         was causing our marching ants status blips to never move when
21139                         looking for a wireless network
21140
21141         * src/NetworkManagerDevice.c
21142                 - (nm_device_activation_begin): return if activation has already begun
21143                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21144                         trusted/preferred network into the device's access point when the
21145                         scan list is processed
21146
21147 2004-08-23  Dan Williams <dcbw@redhat.com>
21148
21149         * initscript/NetworkManager
21150                 - Use NMLaunchHelper rather than sleeping
21151
21152         * initscript/NMLaunchHelper.c
21153           Makefile.am
21154                 - Add helper program that exits only when NM activates a device,
21155                         or 10 seconds have passed, whichever happens first.  This
21156                         stops the boot processes until we have a network connection,
21157                         which NM can't do because it daemonizes and brings the connection
21158                         up in the background.  Allows stuff like NFS to not die.
21159
21160 2004-08-20  Dan Williams <dcbw@redhat.com>
21161
21162         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21163                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21164                         for a network, set the essid as well since it may not exist yet
21165                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21166                         since WEP keys/passphrases are long and prone to entry-error
21167
21168         * panel-applet/Makefile.am
21169           panel-applet/wired.png
21170                 - Add (pulled from system-config-network temporarily)
21171
21172         * panel-applet/NMWirelessApplet.[ch]
21173                 - Show wired picture when a wired connection is used
21174                 - Rename wireless icon enums, adding WIRELESS
21175
21176         * src/NetworkManagerDevice.c
21177                 - (nm_device_activate_wireless): unset encryption before bringing
21178                         down the card and setting the essid
21179                 - (nm_device_activatin_worker): request a key from the user if the
21180                         AP we are connecting to is encrypted but we don't have a key
21181                         for it yet
21182                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21183                         strcmp() that prevented a user-entered key from actually getting
21184                         used
21185
21186 2004-08-16  Dan Williams <dcbw@redhat.com>
21187
21188         * initscript/NetworkManager
21189                 - Check for /sbin/ip
21190                 - Do sysctl magic that network service does
21191                 - sleep 4s after start to allow network time to come up [hack]
21192
21193         * src/Makefile.am
21194           src/NMLoadModules
21195                 - Load all network device kernel modules (hal doesn't know devices
21196                         are ethernet until the module is loaded, and therefore we don't know)
21197
21198         * src/NetworkManager.c
21199                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21200                         network devices, and bring up the loopback device explicitly
21201
21202         * src/NetworkManagerUtils.[ch]
21203                 - (nm_enable_loopback): new function
21204
21205 2004-08-13  Dan Williams <dcbw@redhat.com>
21206
21207         * configure.in
21208           panel-applet/Makefile.am
21209                 - Fix up cleanfiles and server_DATA/server_in_files
21210
21211         * README
21212                 - Update with some comments on theory of operation
21213
21214         * CONTRIBUTING
21215           Makefile.am
21216                 - Add CONTRIBUTING
21217
21218 2004-08-12  Dan Williams <dcbw@redhat.com>
21219
21220         * info-daemon/passphrase.glade
21221                 - Set window title to " "
21222
21223         * panel-applet/Makefile.am
21224           panel-applet/keyring.png
21225                 - Deliver to correct place
21226
21227         * panel-applet/NMWirelessApplet.[ch]
21228                 - Add comments
21229                 - Remove applet->have_active_device as its no longer used
21230                 - (nmwa_load_theme): load keyring.png too
21231                 - (error_dialog): remove
21232                 - (show_warning_dialog): subsume functionality of error dialog too
21233                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21234                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21235                         the networks menu
21236                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21237                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21238                         and when we get broadcasts of changed wireless access points only, not when the
21239                         user clicks on the button to display the menu (too long of a wait)
21240                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21241                         networks that are encrypted
21242                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21243                         menu item with g_object_set_data()
21244
21245         * panel-applet/NMWirelessAppletDbus.[ch]
21246                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21247                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21248                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21249                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21250                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21251                         activation/deactivation signals and rebuild the menu when they happen
21252
21253         * src/NetworkManager.c
21254                 - (main): use new nm_spawn_process() rather than system()
21255
21256         * src/NetworkManagerDbus.c
21257                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21258                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21259                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21260                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21261                         to freeze the best_ap.
21262
21263         * src/NetworkManagerDevice.[ch]
21264                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21265                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21266                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21267                         ap list
21268
21269         * src/NetworkManagerUtils.[ch]
21270                 - (nm_spawn_process): add replacement for system() usage
21271
21272 2004-08-11  Dan Williams <dcbw@redhat.com>
21273
21274         * panel-applet/NMWirelessApplet.[ch]
21275                 - Fix up copyright and credits to include Bastien and Eskil,
21276                         who created the gnome-applets wireless applet, from whose
21277                         skeleton this one was created
21278                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21279                         pixmap to draw is computed during nmwa_update_state()
21280                 - Applet now shows itself all the time due to panel packing issues
21281                         which caused the applet to previously never come back after hiding.
21282                         When a wired device is the active device, the applet shows "not connected"
21283
21284         * panel-applet/NMWirelessAppletDbus.[ch]
21285                 - Clean up error messages and show what function they are from
21286                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21287                 - Add new device type getters, and a status getter
21288
21289         * src/NetworkManagerDbus.c
21290                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21291                         network is actually in the device's ap list
21292                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21293
21294         * src/NetworkManagerDevice.c
21295                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21296                         card
21297
21298         * test/nmclienttest.c
21299                 - Report status of NetworkManager too
21300
21301 2004-08-11  Dan Williams <dcbw@redhat.com>
21302
21303         * info-daemon/NetworkManagerInfo.c:
21304                 - (main): clean up Seth's code style
21305
21306         * info-daemon/NetworkManagerInfoDbus.c:
21307                 - Use the more aptly-named path/service/interface constants from NetworkManager
21308                 - Don't return empty strings ("") as object paths ever, instead return errors
21309
21310         * panel-applet/NMWirelessApplet.c:
21311                 - Clean up Seth's code style
21312
21313         * src/NetworkManager.[ch]
21314                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21315                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21316
21317         * src/NetworkManagerAPList.[ch]
21318                 - Move Iter struct right above the iter functions to preserve opacity
21319                 - (nm_ap_list_remove_ap): implement
21320                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21321                         remove AP if NetworkManagerInfo doesn't know anything about it
21322                 - (nm_ap_list_diff): user NMAPList iterators
21323                 - (nm_ap_list_print_members): implement debugging function
21324
21325         * src/NetworkManagerDbus.[ch]
21326                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21327                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21328                         and move the actual key setting stuff into NetworkManagerDevice.c
21329                 - (nm_dbus_get_network_priority): return -1 now on errors
21330                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21331                         get lost, and force the active device to update its "best" ap when AP lists change
21332                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21333                         method call due to pending_device member removal
21334
21335         * src/NetworkManagerDevice.[ch]
21336                 - Move NMDevice structure to the top
21337                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21338                 - Remove Pending Action stuff from everywhere
21339                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21340                         activation for us.  This thread blocks until all conditions for activation have
21341                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21342                         then setup up the interface and runs dhclient.  We have to do this because there
21343                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21344                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21345                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21346                         can tell nm_device_activation_worker() that we've got a key
21347                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21348                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21349                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21350                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21351
21352         * src/NetworkManagerPolicy.c
21353                 - Remove anything to do with pending_device
21354                 - Adjust device activation to deal with activation-in-worker-thread
21355
21356         * src/NetworkManagerUtils.c
21357                 - Clean up locking debugging a bit
21358
21359         * src/NetworkManagerWireless.[ch]
21360                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21361                         was badly named and is better as a device function
21362
21363         * panel-applet/.cvsignore: add
21364
21365 2004-08-09  Seth Nickell  <seth@gnome.org>
21366
21367         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21368         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21369         (nmwa_new):
21370         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21371
21372         Don't load the menus until clicked on (also removes a call outside
21373         normal code paths at first load).
21374
21375         Hide applet when NM is not present.
21376         
21377         Improve printf debugging stuff.
21378         
21379 2004-08-09  Dan Williams <dcbw@redhat.com>
21380
21381         * dispatcher-daemon/NetworkManagerDispatcher.c:
21382                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21383                 - Use constants for NetworkManager interface, service, and path
21384
21385 2004-08-09  Dan Williams <dcbw@redhat.com>
21386
21387         * src/NetworkManagerDbus.c:
21388                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21389                         instead return an error message
21390                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21391                         on a wired device.  Also never return an empty object path, instead return an error message
21392
21393 2004-08-06  Seth Nickell  <seth@gnome.org>
21394
21395         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21396
21397         Check the error code when getting a connection.
21398         
21399         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21400
21401         Check if the NM service exists when initializing (rather than
21402         assuming it does not).
21403         
21404         * src/NetworkManagerDbus.c: (nm_dbus_init):
21405
21406         Don't acquire the well-known service name until we have
21407         registered object/path handlers and can actually receive
21408         calls.
21409         
21410 2004-08-06  Dan Williams <dcbw@redhat.com>
21411
21412         * panel-applet/*
21413                 - Add panel applet
21414
21415         * src/NetworkManagerPolicy.c
21416           src/NetworkManager.c
21417                 - Get access point lists from NetworkManagerInfo on-demand,
21418                         and look for ServiceCreate/ServiceDeleted signals to see when
21419                         we should query NMI for lists
21420         * src/NetworkManagerAPList.c
21421                 - Make sure to init the list's mutex
21422                 - Convert traversals of the list over to the list iter functions
21423
21424         * src/NetworkManagerDbus.[ch]
21425                 - Use more aptly-named path/service/interface constants
21426                 - Treat both active and pending devices the same for "getActiveDevice"
21427                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21428
21429         * src/NetworkManagerDevice.c
21430                 - Honor "ignored" network list when picking best ap to use
21431
21432 2004-08-06  Seth Nickell  <seth@gnome.org>
21433
21434         * aclocal.m4:
21435
21436         Autogenerated, remove from CVS.
21437         
21438         * autogen.sh:
21439
21440         Don't hardcode automake version.
21441         
21442         * configure.in:
21443         * info-daemon/Makefile.am:
21444         * info-daemon/NetworkManagerInfo.c: (main):
21445
21446         Use GnomeProgram et al. for doing session management.
21447         Use popt stuff for argument parsing rather than doing
21448         it manugally.
21449         
21450 2004-08-05  Dan Williams <dcbw@redhat.com>
21451
21452         * test/nminfotest.c
21453                 - Update to new NMI dbus API, check different network types
21454
21455         * info-daemon/NetworkManagerInfoDbus.c
21456                 - Update to new NM dbus API, ie network type sent in query message
21457
21458 2004-08-05  Dan Williams <dcbw@redhat.com>
21459
21460         * An assload of changes
21461
21462 2004-08-02  Dan Williams <dcbw@redhat.com>
21463
21464         * TODO
21465                 - new task: proper logging support
21466
21467         * info-daemon/NetworkManagerInfo.c
21468                 - Correct spelling of "canceled"
21469                 - Correct casting of objects for g_signal_connect()
21470
21471         * info-daemon/NetworkManagerInfoDbus.c
21472                 - Add defines for NetworkManager namespace and object path, and use them
21473                 - Add filter function to trap new signals from NetworkManager:
21474                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21475
21476         * info-daemon/passphrase.glade
21477                 - Change name of "ok" button to "Login to Network..."
21478                 - Mark invisible
21479
21480         * src/NetworkManager.c
21481                 - Code and debug message cleanups
21482                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21483                 - (nm_add_initial_devices) Check returned string array of devices
21484                         and don't try to add devices if array is NULL
21485                 - (main) Initialize libhal a bit later, make code a bit clearer
21486
21487         * src/NetworkManagerAP.[ch]
21488                 - New accessor and data member "matched": used to speed up AP list
21489                         diffing
21490                 - New accessor and data member "enc_method": will be used during key
21491                         fallback to cache which passphrase->key conversion actually works
21492                         so we don't have to do it every time
21493
21494         * src/NetworkManagerAPList.[ch]
21495                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21496                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21497                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21498                         dbus in response to those differences
21499
21500         * src/NetworkManagerDbus.[ch]
21501                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21502                         make an object path for that access point (NOTE that we don't yet check to
21503                         make sure that access point is actually in the device's AP list yet)
21504                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21505                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21506                         New: signal appearance/disappearance of wireless networks
21507                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21508                         key entry
21509
21510         * src/NetworkManagerDevice.[ch]
21511                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21512                 - (nm_device_ap_list_get) New: return the AP list (static function)
21513                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21514                         new one resulting from the scan with the old one
21515
21516         * src/NetworkManagerWireless.c
21517                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21518
21519         * test/nminfotest.c
21520                 - #define object paths and namespaces and use the #defines rather than static strings
21521                 - Test out user-key functionality of NetworkManagerInfo too
21522
21523 2004-07-29  Dan Williams <dcbw@redhat.com>
21524
21525         * info-daemon/NetworkManagerInfoDbus.c
21526           src/NetworkManagerDbus.c
21527                 - Update to current DBus (ie don't use decomposed paths when registering
21528                         object paths/fallbacks)
21529
21530 2004-07-27  Dan Williams <dcbw@redhat.com>
21531
21532         * Remove various Makefile.in files
21533
21534         * TODO
21535                 - Add some more items
21536
21537         * configure.in
21538                 - Add checks for OpenSSL/md5 headers and libs
21539
21540         * src/Makefile.am
21541                 - Use OpenSSL CFLAGS
21542
21543         * src/NetworkManagerAP.[ch]
21544                 - Remove 'stamp' functions, replace with 'invalid' functions
21545                         to support user cancelling WEP key entry
21546
21547         * src/NetworkManagerDbus.c
21548                 - Remove 'stamp' return functions
21549                 - Treat returned user key as a passphrase and convert to a WEP key,
21550                         but don't actually use the WEP key yet.  We use the returned user
21551                         key as a hexadecimal WEP key until we can figure out a UI for
21552                         passphrase-vs-hex key
21553
21554         * src/NetworkManagerWireless.[ch]
21555                 - Add passphrase-to-128bit-key function
21556
21557 2004-07-27  Dan Williams <dcbw@redhat.com>
21558
21559         * TODO
21560                 - Add a couple of items
21561
21562 2004-07-27  Dan Williams <dcbw@redhat.com>
21563
21564         * info-daemon/NetworkManagerInfo.c
21565                 - Update allowed network's GConf key when user enters a WEP key explicitly
21566
21567         * info-daemon/NetworkManagerDbus.c
21568                 - Fix some comments
21569                 - nmi_dbus_get_allowed_networks(): kill warning
21570
21571 2004-07-27  Dan Williams <dcbw@redhat.com>
21572
21573         * initscript/Makefile.in
21574                 - Remove
21575
21576         * initscript/Makefile.am
21577                 - Add correct rules to install the init.d initscript
21578
21579         * info-daemon/NetworkManagerInfoDbus.c
21580                 - Remove debug fprintf
21581
21582         * src/NetworkManagerDbus.[ch]
21583                 - Remove debug fprintfs
21584                 - Add macros for NetworkManagerInfo object path/namespace
21585                 - Use said macros instead of constant strings
21586
21587 2004-07-27  Dan Williams <dcbw@redhat.com>
21588
21589         * initscript/.cvsignore
21590                 - Add
21591
21592         * info-daemon/Makefile.am
21593                 - Install .glade files and keyring.png
21594                 - Fix stupid omission of a \ that caused half the flags not to be
21595                         passed to gcc
21596
21597         * info-daemon/NetworkManagerInfo.c
21598                 - gtk_signal_connect->g_signal_connect
21599                 - Alert NetworkManagerInfo to new glade file location
21600
21601 2004-07-27  Dan Williams <dcbw@redhat.com>
21602
21603         * test/nmclienttest.c
21604           test/nminfotest.c
21605                 - Add missing <dbus/dbus.h> headers
21606                 - Add GPL message at top
21607
21608 2004-07-27  Dan Williams <dcbw@redhat.com>
21609
21610         * src/NetworkManagerAPList.[ch]
21611           src/Makefile.am
21612                 - Add.  Deal with allowed network list additions, deletions, and updates
21613
21614         * dispatcher-daemon/NetworkManagerDispatcher.c
21615                 - Add missing <dbus/dbus.h> header
21616
21617         * info-daemon/NetworkManagerInfo.[ch]
21618                 - Add missing <dbus/dbus.h> header
21619                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21620                         network change
21621                 - Better error checking
21622
21623         * info-daemon/NetworkManagerInfoDbus.[ch]
21624                 - Add missing <dbus/dbus.h> header
21625                 - Convert to using dbus_message_append_args/dbus_message_get_args
21626                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21627                         that an allowed network changed.  We don't want to signal on individual
21628                         keys _inside_ an allowed network really, just want NM to query the info
21629                         daemon for updated info on all keys.
21630                 - Better error checking
21631
21632         * src/NetworkManager.[ch]
21633                 - Add missing <dbus/dbus.h> header
21634                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21635                 - Zero out NMData structure on free
21636                 - No longer use a thread for allowed_ap_list updating, instead its now done
21637                         through dbus queries against NetworkManagerInfo
21638                 - Populate allowed_ap_list initially before adding existing network devices
21639                         to the device list, so wireless devices can get their "best" AP
21640
21641         * src/NetworkManagerDbus.[ch]
21642                 - Convert to using dbus_message_append_args/dbus_message_get_args
21643                 - Better error checking
21644                 - Implement Allowed Network info functions to request allowed network
21645                         info from NetworkManagerInfo
21646                 - Implement the filter function to process signals from NetworkManagerInfo
21647                         about changing allowed networks
21648
21649         * src/NetworkManagerDevice.c
21650                 - Fix file descriptor leak in nm_device_update_ip4_address()
21651
21652 2004-07-27  Dan Williams <dcbw@redhat.com>
21653
21654         * .cvsignore
21655           src/.cvsignore
21656           test/.cvsignore
21657           dispatcher-daemon/.cvsignore
21658           info-daemon/.cvsignore
21659                 - Add .cvsignore files to reduce noise when diffing
21660
21661 2004-07-24  Dan Williams <dcbw@redhat.com>
21662
21663         * src/NetworkManager.[ch]
21664           src/NetworkManagerDbus.[ch]
21665           src/NetworkManagerDevice.[ch]
21666           src/NetworkManagerPolicy.c
21667           src/NetworkManagerWireless.[ch]
21668                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21669                 - Pass the NMData application data structure through all calls
21670                         that need it so we can get rid of nm_get_global_data()
21671                 - Change deallocation of the allowed_ap_list GSList in preparation
21672                         for not completely clearing it every time we get an update,
21673                         but instead getting incremental updates via GConf/dbus
21674
21675 2004-07-22  Dan Williams <dcbw@redhat.com>
21676
21677         * configure.in
21678                 - Add checks for GConf libs & headers & flags
21679
21680         * info-daemon/Makefile.am
21681                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21682
21683         * info-daemon/NetworkManagerInfo.[ch]
21684                 - Don't use gquarks for data storage, just use normal data storage
21685                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21686
21687         * info-daemon/NetworkManagerDbus.[ch]
21688                 - Add method call for getting allowed networks
21689                 - Add method calls for getting an allowed network's essid, priority, and key
21690                 - Hook the method calls up to GConf
21691                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21692                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21693                 
21694         * src/NetworkManagerDbus.[ch]
21695                 - Switch for enumeration of networks to using essid instead
21696
21697         * test/Makefile.am
21698           test/nminfotest.c
21699                 - Add test program for NetworkManagerInfo
21700
21701 2004-07-19  Dan Williams <dcbw@redhat.com>
21702
21703         * src/NetworkManagerDbus.c
21704                 - Switch from indexed device paths to names.  Less code, more efficient.
21705                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21706
21707 2004-07-19  Dan Williams <dcbw@redhat.com>
21708
21709         * dispatcher-daemon/NetworkManagerDispatcher.c
21710                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21711
21712 2004-07-19  Dan Williams <dcbw@redhat.com>
21713
21714         * Makefile.am
21715                 - Add info-daemon directory
21716
21717         * configure.in
21718                 - Check for glade libs and headers
21719                 - Add info-daemon directory
21720
21721         * src/NetworkManagerAP.c
21722                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21723                         copied over to the new AP.
21724
21725         * src/NetworkManagerDbus.c
21726           src/NetworkManagerDbus.h
21727                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21728                 - Remove nm_dbus_signal_need_key_for_network()
21729                 - Add disabled code for asynchronous user wep key callbacks
21730                 - Add functions for getting, setting, and cancelling user key operations
21731                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21732                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21733
21734         * src/NetworkManagerDevice.c
21735           src/NetworkManagerDevice.h
21736                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21737                         logic is in device activation now
21738                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21739                         key is wrong) trigger get-user-key pending action
21740                 - Implement get-user-key pending action stuff, tie to dbus messages
21741                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21742                 - Add nm_device_ap_list_get_ap_by_essid()
21743                 - Instead of copying "best" access points, ref them instead so that the key we set
21744                         sticks around
21745
21746         * src/NetworkManagerPolicy.c
21747                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21748                 - Don't cancel pending actions on a device if its the same device as last iteration
21749                 - Only promote pending_device->active_device if activation was successfull
21750
21751         * src/Makefile.am
21752                 - Rename nmclienttest->nmtest
21753
21754         * info-daemon/Makefile.am
21755           info-daemon/NetworkManagerInfo.c
21756           info-daemon/NetworkManagerInfo.h
21757           info-daemon/NetworkManagerInfoDbus.c
21758           info-daemon/NetworkManagerInfoDbus.h
21759           info-daemon/passphrase.glade
21760           info-daemon/NetworkManagerInfo.conf
21761           info-daemon/keyring.png
21762                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21763                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21764                         lists to NetworkManager by proxying user's GConf
21765           
21766
21767 2004-07-15  Dan Williams <dcbw@redhat.com>
21768
21769         * src/Makefile.am
21770                 - Turn on warnings
21771
21772         * src/NetworkManager.c
21773                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21774                         that doing the deactivation ourselves
21775                 - Cancel an pending actions on a device if its being removed
21776                 - Break up link state checking a bit, make non-active wireless cards
21777                         deactivated to save power
21778                 - Remove unused variables
21779
21780         * src/NetworkManager.h
21781                 - Add support for "pending" device
21782
21783         * src/NetworkManagerAP.h
21784           src/NetworkManagerAP.c
21785                 - Add support for determining whether and AP has encryption enabled or not
21786                 - AP address is now "struct ether_addr" rather than a string
21787
21788         * src/NetworkManagerDbus.h
21789           src/NetworkManagerDbus.c
21790                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21791                 - Changes for AP address from struct ether_addr->string
21792
21793         * src/NetworkManagerDevice.h
21794           src/NetworkManagerDevice.c
21795                 - Remove unused variables, fix warnings
21796                 - Add support for Pending Actions (things that block a device from being "active"
21797                         until they are completed).
21798                 - First pending action:  Get a WEP key from the user
21799                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21800                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21801                 - Update wireless link checking to try to determine if the AP we are associated
21802                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21803                         trigger the GetUserKey pending action on the device
21804                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21805                         up in that case, otherwise we can't scan or link-check on it
21806                 - Add IP address change notifications at appropriate points (still needs some work)
21807                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21808
21809         * src/NetworkManagerPolicy.h
21810           src/NetworkManagerPolicy.c
21811                 - Split out "best" access point determiniation into separate function
21812                 - Make device activation 2-stage:  first the device is pending, then
21813                         in the next iteration through it becomes "active" unless it has
21814                         pending actions
21815
21816         * src/NetworkManagerUtils.h
21817           src/NetworkManagerUtils.c
21818                 - Clean up unused variables and warnings
21819                 - Wrap our debug macros in {} to prevent possible confusion
21820
21821         * src/NetworkManagerWireless.c
21822                 - Forgot to return current best priority, which lead to last available AP always
21823                         being chosen no matter what its priority was.  Corrected.
21824
21825 2004-07-15  Dan Williams <dcbw@redhat.com>
21826
21827         * dispatcher-daemon/Makefile.am
21828                 - Turn on warnings
21829
21830         * dispatcher-daemon/NetworkManagerDispatcher.c
21831                 - Remove unused variables due to warnings
21832                 - Fix some comments
21833                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21834
21835 2004-07-06  Dan Williams <dcbw@redhat.com>
21836
21837         * src/NetworkManager.c
21838                 - Add IPv4 address update for active device during link state check
21839                 - Don't allow wireless cards to be powered up when they are not the
21840                         active device
21841
21842         * src/NetworkManagerDbus.c
21843           src/NetworkManagerDbus.h
21844                 - Add DBUS IPv4 address change signal
21845                 - Add DBUS IPv4 address get method for devices
21846
21847         * src/NetworkManagerDevice.c
21848                 - Make setting the WEP key actually work
21849                 - Move IP address get/set/update stuff here, per-device
21850                 - Power down/bring down wireless device when deactivated
21851                 - For scanning wireless devices, if first scan returned ENODATA, try again
21852
21853         * src/NetworkManagerPolicy.c
21854                 - Only set the WEP key for an allowed access point if there is one.
21855                         We were setting it to be blank if one wasn't specified.
21856
21857         * src/NetworkManagerUtils.h
21858           src/NetworkManagerUtils.c
21859                 - Move the IP address stuff to NetworkManagerDevice.c
21860
21861         * dispatcher-daemon/NetworkManagerDispatcher.c
21862                 - Add device IPv4 address change notification stuff
21863
21864 2004-07-05  Dan Williams <dcbw@redhat.com>
21865
21866         * dispatcher-daemon/NetworkManagerDispatcher.c
21867                 - A bit more descriptive state message
21868                 - Don't segfault when reading directory
21869
21870         * src/NetworkManager.h
21871                 - Remove NMData desired_ap member, its now
21872                         per-device rather than global
21873
21874         * src/NetworkManager.c
21875                 - Remove references to desired_ap
21876                 - Move the allowed AP list refresh stuff into a thread
21877
21878         * src/NetworkManagerDevice.c
21879           src/NetworkManagerDevice.h
21880                 - Each wireless device now has a "best ap"
21881                 - Make device activate/deactivate functions per-device
21882                 - Make wireless scanning per-device
21883                 - Add IPv4 address discover functions, stub IPv6 ones
21884                 - Move ethernet address validation functions to NetworkManagerUtils.c
21885                 - Add wireless access point accessor function
21886                 - Get/Set functions for "best ap"
21887
21888         * src/NetworkManagerPolicy.c
21889                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21890                 - Deal with per-device "best ap" rather than data->desired_apa
21891                 - Implement allowed access point worker thread
21892                 - Add nm_policy_essid_is_allowed() function
21893
21894         * src/NetworkManagerUtils.c
21895           src/NetworkManagerUtils.h
21896                 - Add nm_ethernet_address_is_valid() function
21897                 - Add IPv4/IPv6 address get functions
21898
21899         * src/NetworkManagerWireless.c
21900           src/NetworkManagerWireless.h
21901                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21902
21903 2004-06-29  Dan Williams <dcbw@redhat.com>
21904
21905         * dispatcher-daemon/NetworkManagerDispatcher.c
21906                 - Implement script callout functionality
21907
21908 2004-06-24  Dan Williams <dcbw@redhat.com>
21909
21910         * NetworkManager.c
21911             - Spacing cleanups
21912             - Flush device routes and ip addresses when added to the device list
21913
21914         * NetworkManagerDbus.c
21915             - Spacing cleanups
21916             - Add missing returns in the two signal functions
21917         
21918         * NetworkManagerPolicy.c
21919             - Spacing and variable cleanups
21920
21921 2004-06-24  Dan Williams <dcbw@redhat.com>
21922
21923         * Makefile.am
21924           Makefile.in
21925           configure.in
21926           dispatcher-daemon/Makefile.am
21927           dispatcher-daemon/Makefile.in
21928           dispatcher-daemon/NetworkManagerDispatcher.c
21929             - Add a daemon that receives signals from NetworkManager
21930                         and will (eventually) call scripts in /etc/somewhere
21931                         when devices go up or down.
21932         
21933         * NetworkManager.c
21934             - Spacing cleanups
21935             - Flush device routes and ip addresses when added to the device list
21936
21937         * NetworkManagerDbus.c
21938             - Spacing cleanups
21939             - Add missing returns in the two signal functions
21940         
21941         * NetworkManagerPolicy.c
21942             - Spacing and variable cleanups
21943             - Rename nm_policy_switch_interface->nm_policy_switch_device
21944             - nm_policy_switch_device():
21945                                 Use kill (pid) instead of system ("kill <pid>")
21946             - nm_state_modification_monitor():
21947                                 Add wireless essid to output of debug statements
21948                                 Correct typo in device compare to switch or not (should be !=)
21949                                 Don't sleep after sending "no longer active" signal, was useless
21950
21951 2004-06-24  Dan Williams <dcbw@redhat.com>
21952
21953         * Initial import