2008-11-20 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-20  Dan Williams  <dcbw@redhat.com>
2
3         Patch from Tambet Ingo <tambet@gmail.com>
4
5         * libnm-util/nm-setting.c
6           libnm-util/nm-setting.h
7                 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
8                         all the GParamSpec flags of the property
9
10         * system-settings/plugins/keyfile/nm-keyfile-connection.c
11           system-settings/plugins/keyfile/reader.c
12           system-settings/plugins/keyfile/writer.c
13                 - Update for NMSettingValueIterFn change
14
15 2008-11-20  Dan Williams  <dcbw@redhat.com>
16
17         * libnm-util/nm-utils.c
18           libnm-util/nm-utils.h
19                 - More documentation updates
20
21 2008-11-20  Dan Williams  <dcbw@redhat.com>
22
23         * libnm-util/libnm-util.ver
24           libnm-util/nm-utils.c
25           libnm-util/nm-utils.h
26           libnm-util/nm-utils-private.h
27           libnm-util/nm-connection.c
28                 - (nm_utils_register_value_transformations): make private, called
29                         from NMConnection registration anyway
30
31 2008-11-20  Dan Williams  <dcbw@redhat.com>
32
33         * libnm-util/Makefile.am
34           libnm-util/nm-utils-private.h
35                 - New header for internal utils private functions
36
37         * libnm-util/libnm-util.ver
38           libnm-util/nm-utils.c
39           libnm-util/nm-utils.h
40                 - Document some functions
41                 - (nm_utils_string_in_list, nm_utils_string_list_contains,
42                    nm_utils_string_slist_validate): un-export, only used within
43                         libnm-util or of limited use in general, and very easy to
44                         re-implement by apps if needed
45
46         * libnm-util/nm-setting-8021x.c
47           libnm-util/nm-setting-wired.c
48           libnm-util/nm-setting-wireless-security.c
49           libnm-util/nm-setting-wireless.c
50                 - Update for private nm_utils_string_* functions
51
52 2008-11-20  Dan Williams  <dcbw@redhat.com>
53
54         * libnm-util/libnm-util.ver
55           libnm-util/nm-setting.c
56           libnm-util/nm-setting.h
57                 - Add NMSetting errors
58                 - (nm_setting_update_secrets): return errors
59
60         * libnm-util/nm-connection.c
61           libnm-util/nm-connection.h
62                 - (nm_connection_update_secrets): return errors
63
64         * libnm-util/nm-setting-vpn.c
65           src/nm-activation-request.c
66           src/vpn-manager/nm-vpn-connection.c
67                 - Handle update secrets errors
68
69 2008-11-20  Dan Williams  <dcbw@redhat.com>
70
71         * libnm-util/nm-setting.c
72           libnm-util/nm-setting.h
73           libnm-util/libnm-util.ver
74                 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
75                         consistent with nm_connection_new_from_hash()
76
77         * src/nm-activation-request.c
78           libnm-util/nm-connection.c
79                 - Handle rename
80
81 2008-11-19  Dan Williams  <dcbw@redhat.com>
82
83         * configure.in
84           Makefile.am
85           docs/libnm-util/Makefile.am
86           docs/libnm-util/libnm-util.types
87                 - Start to document libnm-util
88
89 2008-11-19  Dan Williams  <dcbw@redhat.com>
90
91         * libnm-util/nm-connection.h
92           libnm-util/nm-connection.c
93                 - Document public functions
94
95 2008-11-19  Dan Williams  <dcbw@redhat.com>
96
97         * libnm-util/nm-setting.h
98           libnm-util/nm-setting.c
99           src/nm-device.c
100           src/nm-manager.c
101           system-settings/plugins/ifcfg-fedora/plugin.c
102                 - Prefix compare flag defines with NM_SETTING_
103
104 2008-11-19  Dan Williams  <dcbw@redhat.com>
105
106         * libnm-util/nm-connection.c
107           libnm-util/nm-connection.h
108                 - (nm_connection_replace_settings): take a GError
109
110         * libnm-glib/nm-settings.c
111           libnm-glib/nm-dbus-connection.c
112           src/nm-manager.c
113           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
114           system-settings/plugins/keyfile/nm-keyfile-connection.c
115           system-settings/plugins/keyfile/plugin.c
116                 - Handle, or don't handle, errors from nm_connection_replace_settings()
117
118 2008-11-19  Dan Williams  <dcbw@redhat.com>
119
120         * libnm-util/libnm-util.ver
121           libnm-util/nm-connection.c
122                 - (nm_setting_register, nm_setting_unregister): unexport; they are
123                         private and don't have a use outside libnm-util
124
125 2008-11-17  Dan Williams  <dcbw@redhat.com>
126
127         * src/nm-hso-gsm-device.c
128                 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
129                         devices
130
131 2008-11-17  Dan Williams  <dcbw@redhat.com>
132
133         * system-settings/plugins/ifcfg-fedora/reader.c
134                 - (read_mac_address): clean up
135                 - (make_wireless_setting): pass NULL array to read_mac_address() like it
136                         expects
137
138         * system-settings/plugins/ifcfg-fedora/plugin.c
139                 - (read_one_connection): don't segfault on NULL errors
140
141 2008-11-14  Dan Williams  <dcbw@redhat.com>
142
143         * Tag 0.7.0-rc2
144
145 2008-11-14  Dan Williams  <dcbw@redhat.com>
146
147         Handle gateways on different subnets
148
149         * src/NetworkManagerSystem.c
150                 - (add_ip4_route_to_gateway): gateway route should be link scope and
151                         a host route
152                 - (replace_default_ip4_route): use a destination address too; gateway
153                         address should be /0; don't leak the gateway route object
154
155 2008-11-14  Dan Williams  <dcbw@redhat.com>
156
157         * libnm-glib/libnm_glib.ver
158           libnm-glib/nm-dbus-settings-system.c
159           libnm-glib/nm-dbus-settings-system.h
160                 - Add libnm-glib bits for CanModify
161
162 2008-11-14  Dan Williams  <dcbw@redhat.com>
163
164         * introspection/nm-settings-system.xml
165           system-settings/src/dbus-settings.c
166           system-settings/src/dbus-settings.h
167                 - Add a "CanModify" property to indicate if any plugins support
168                         connection modification
169
170 2008-11-14  Dan Williams  <dcbw@redhat.com>
171
172         Relicense libnm-glib to LGPLv2+ with agreement from contributors
173
174 2008-11-14  Dan Williams  <dcbw@redhat.com>
175
176         * vpn-manager/nm-vpn-connection.c
177                 - (plugin_state_changed): clear VPN secrets on error to ensure they
178                         are always requested from the settings service (rh #429287)
179
180 2008-11-13  Dan Williams  <dcbw@redhat.com>
181
182         * libnm-util/crypto.c
183                 - (crypto_get_private_key_data): fix bad initial arg type checking
184                         from pkcs#12 patch
185
186 2008-11-13  Dan Williams  <dcbw@redhat.com>
187
188         Add support for PKCS#12 private keys (bgo #558982)
189
190         * libnm-util/crypto.c
191           libnm-util/crypto.h
192                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
193                         take a GByteArray instead of a filename
194                 - (file_to_g_byte_array): handle private key files too
195                 - (decrypt_key): take a GByteArray rather than data + len
196                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
197                         one function that takes a filename, and one that takes raw data;
198                         detect pkcs#12 files as well
199                 - (crypto_load_and_verify_certificate): detect file type
200                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
201                         functions
202
203         * libnm-util/crypto_gnutls.c
204                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
205                         whereby tail padding was incorrectly handled, leading to erroneous
206                         successes when trying to decrypt the data
207                 - (crypto_verify_cert): rework somewhat
208                 - (crypto_verify_pkcs12): validate pkcs#12 keys
209
210         * libnm-util/crypto_nss.c
211                 - (crypto_init): enable various pkcs#12 ciphers
212                 - (crypto_decrypt): take a GByteArray rather than data + len
213                 - (crypto_verify_cert): clean up
214                 - (crypto_verify_pkcs12): validate pkcs#12 keys
215
216         * libnm-util/test-crypto.c
217                 - Handle pkcs#12 keys
218
219         * libnm-util/nm-setting-8021x.c
220           libnm-util/nm-setting-8021x.h
221           libnm-util/libnm-util.ver
222                 - Add two new properties, 'private-key-password' and
223                         'phase2-private-key-password', to be used in conjunction with
224                         pkcs#12 keys
225                 - (nm_setting_802_1x_set_ca_cert_from_file,
226                    nm_setting_802_1x_set_client_cert_from_file,
227                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
228                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
229                         type
230                 - (nm_setting_802_1x_get_private_key_password,
231                    nm_setting_802_1x_get_phase2_private_key_password): return private
232                         key passwords
233                 - (nm_setting_802_1x_set_private_key_from_file,
234                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
235                         key from a file, and update the private key password at the same time
236                 - (nm_setting_802_1x_get_private_key_type,
237                    nm_setting_802_1x_get_phase2_private_key_type): return the private
238                         key type
239
240         * src/supplicant-manager/nm-supplicant-settings-verify.c
241                 - Whitelist private key passwords
242
243         * src/supplicant-manager/nm-supplicant-config.c
244                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
245                         add the private key password to the supplicant config, but do not
246                         add the client certificate (as required by wpa_supplicant)
247
248 2008-11-12  Tambet Ingo  <tambet@gmail.com>
249
250         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
251         (add_secrets): Don't add empty secrets to the secrets hash table.
252
253 2008-11-07  Dan Williams  <dcbw@redhat.com>
254
255         * libnm-util/nm-setting-wireless.c
256                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
257                         that cased this function to return garbage, breaking hidden AP
258                         detection
259
260 2008-11-07  Dan Williams  <dcbw@redhat.com>
261
262         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
263
264         * src/NetworkManagerSystem.c
265           src/NetworkManagerSystem.h
266                 - (nm_system_device_set_ip4_route): return the route that was added
267                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
268                         public, clean up, and return the route that was added
269                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
270                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
271                         flags to allow only certain attributes of the NMIP4Config to be
272                         applied
273
274         * src/nm-device.c
275                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
276                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
277                         what's really changed between the old and new configs; don't export
278                         the new IP4 config on failure; always send the DNS info to the
279                         named manager
280
281         * src/vpn-manager/nm-vpn-connection.c
282                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
283                         parent device's IP4Config and re-add the VPN gateway route when it
284                         changes
285                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
286                         nm_system_apply_ip4_config() no longer does) and cache it for later
287                 - (connection_state_changed): move cleanup code to its own function
288                 - (vpn_cleanup): delete any previously added VPN gateway route; and
289                         re-apply the parent device's addresses and routes using
290                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
291
292 2008-11-07  Dan Williams  <dcbw@redhat.com>
293
294         * src/nm-ip4-config.c
295           src/nm-ip4-config.h
296                 - (nm_ip4_config_diff): new function; return the difference between two
297                         IP4 configs
298                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
299
300 2008-11-05  Dan Williams  <dcbw@redhat.com>
301
302         * nm-ip4-config.c
303           nm-ip4-config.h
304                 - (nm_ip4_config_compare): compare two IP4 configs
305
306 2008-11-05  Dan Williams  <dcbw@redhat.com>
307
308         * src/NetworkManagerPolicy.c
309                 - (update_etc_hosts): only add newline if not the last line of the file
310                         (Jonathan Miner)
311
312 2008-11-05  Dan Williams  <dcbw@redhat.com>
313
314         * src/dhcp-manager/nm-dhcp-dhclient.c
315                 - (get_leasefile_for_iface): move lease files back to where dhclient
316                         puts them
317
318 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
319
320         * initscripts/Debian/NetworkManager
321                 - Update to what Debian is actually using
322
323 2008-11-05  Tambet Ingo  <tambet@gmail.com>
324
325         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
326
327 2008-11-03  Dan Williams  <dcbw@redhat.com>
328
329         * system-settings/src/main.c
330                 - (add_default_dhcp_connection): make the fallback connection read-only
331
332         * libnm-glib/nm-settings.c
333           libnm-glib/nm-settings.h
334                 - Add detailed errors
335                 - (impl_exported_connection_update, impl_exported_connection_delete):
336                         return an error if the connection is read-only
337
338         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
339           system-settings/plugins/keyfile/nm-keyfile-connection.c
340           system-settings/src/main.c
341                 - Use more detailed errors
342
343         * system-settings/src/nm-system-config-error.c
344           system-settings/src/nm-system-config-error.h
345           system-settings/src/dbus-settings.c
346                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
347                         NM_SETTINGS_ERROR_INVALID_CONNECTION
348
349 2008-11-02  Dan Williams  <dcbw@redhat.com>
350
351         * Add license headers to everything in src/
352
353 2008-11-02  Dan Williams  <dcbw@redhat.com>
354
355         * Tag 0.7.0-rc1
356
357 2008-11-02  Dan Williams  <dcbw@redhat.com>
358
359         * src/NetworkManagerAP.c
360                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
361                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
362                         secrets when connecting to an encrypted network failed
363
364 2008-10-30  Dan Williams  <dcbw@redhat.com>
365
366         * libnm-util/libnm-util.ver
367           libnm-util/nm-setting-ip6-config.c
368           libnm-util/nm-setting-ip6-config.h
369           libnm-util/Makefile.am
370                 - Make properties private and add accessor functions
371                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
372
373         * libnm-util/nm-connection.c
374           libnm-util/nm-utils.c
375           libnm-util/nm-utils.h
376                 - Ignore IPv6 stuff for now
377
378 2008-10-30  Dan Williams  <dcbw@redhat.com>
379
380         * libnm-util/libnm-util.ver
381           libnm-util/nm-setting-8021x.c
382           libnm-util/nm-setting-8021x.h
383                 - Make properties private and add accessor functions
384
385         * src/supplicant-manager/nm-supplicant-config.c
386           system-settings/plugins/ifcfg-suse/parser.c
387                 - Use 802.1x setting accessors
388
389 2008-10-30  Dan Williams  <dcbw@redhat.com>
390
391         * libnm-util/libnm-util.ver
392           libnm-util/nm-setting-wireless-security.c
393           libnm-util/nm-setting-wireless-security.h
394                 - Make properties private and add accessor functions
395
396         * libnm-util/nm-setting-wireless.c
397           src/NetworkManagerAP.c
398           src/nm-device-wifi.c
399           src/supplicant-manager/nm-supplicant-config.c
400           system-settings/plugins/ifcfg-fedora/reader.c
401           system-settings/plugins/ifcfg-suse/parser.c
402                 - Use wireless security accessors
403
404 2008-10-30  Dan Williams  <dcbw@redhat.com>
405
406         * src/nm-device-ethernet.c
407           src/nm-device-wifi.c
408           src/nm-device.c
409           src/ppp-manager/nm-ppp-manager.c
410                 - Harmonize return checking of ioctl
411
412         * system-settings/plugins/ifcfg-fedora/reader.c
413                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
414
415 2008-10-30  Dan Williams  <dcbw@redhat.com>
416
417         * src/ppp-manager/nm-ppp-manager.c
418                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
419                         ppp_generic module to create it (bgo #533064)
420
421 2008-10-30  Dan Williams  <dcbw@redhat.com>
422
423         Patch from Alexander Sack <asac@canonical.com>
424
425         Fix "ppp connections don't honour ip4 connection settings"
426
427         * src/nm-device-ethernet.c
428                 - (real_act_stage4_get_ip4_config): merge ip4config settings
429                         with results from ppp manager
430
431         * src/nm-serial-device.c
432                 - (real_act_stage4_get_ip4_config): merge ip4config settings
433                         with results from ppp manager
434
435 2008-10-29  Dan Williams  <dcbw@redhat.com>
436
437         * libnm-util/libnm-util.ver
438           libnm-util/nm-setting-ip4-config.c
439           libnm-util/nm-setting-ip4-config.h
440                 - Make properties private and add accessor functions
441
442         * callouts/nm-dispatcher-action.c
443           libnm-glib/libnm-glib-test.c
444           libnm-util/nm-utils.c
445           src/NetworkManagerPolicy.c
446           src/NetworkManagerSystem.c
447           src/NetworkManagerUtils.c
448           src/dhcp-manager/nm-dhcp-dhclient.c
449           src/dhcp-manager/nm-dhcp-manager.c
450           src/dnsmasq-manager/nm-dnsmasq-manager.c
451           src/nm-device-wifi.c
452           src/nm-device.c
453           src/nm-hso-gsm-device.c
454           src/nm-ip4-config.c
455           src/nm-ip4-config.h
456           src/ppp-manager/nm-ppp-manager.c
457           src/vpn-manager/nm-vpn-connection.c
458           system-settings/plugins/ifcfg-fedora/reader.c
459           system-settings/plugins/ifcfg-suse/parser.c
460           system-settings/plugins/ifcfg-suse/plugin.c
461           system-settings/plugins/ifupdown/parser.c
462           test/nm-tool.c
463           vpn-daemons/vpnc/properties/nm-vpnc.c
464                 - Use IP4 accessor functions
465
466 2008-10-29  Tambet Ingo  <tambet@gmail.com>
467
468         Half of it by Dan Williams <dcbw@redhat.com>
469
470         * libnm-util/libnm-util.ver
471         libnm-util/nm-setting-vpn.c
472         libnm-util/nm-setting-vpn.h
473                 - Make properties private and add accessor functions.
474
475         * src/vpn-manager/nm-vpn-connection.c
476         src/vpn-manager/nm-vpn-manager.c
477         system-settings/plugins/keyfile/reader.c
478         vpn-daemons/openvpn/properties/auth-helpers.c
479         vpn-daemons/openvpn/properties/import-export.c
480         vpn-daemons/openvpn/properties/nm-openvpn.c
481         vpn-daemons/openvpn/src/nm-openvpn-service.c
482         vpn-daemons/pptp/auth-dialog/main.c
483         vpn-daemons/pptp/properties/advanced-dialog.c
484         vpn-daemons/pptp/properties/nm-pptp.c
485         vpn-daemons/pptp/src/nm-pptp-service.c
486         vpn-daemons/vpnc/properties/nm-vpnc.c
487         vpn-daemons/vpnc/src/nm-vpnc-service.c
488                 - Use VPN setting accessors.
489
490 2008-10-28  Dan Williams  <dcbw@redhat.com>
491
492         Patch from Tambet Ingo <tambet@gmail.com>
493
494         * libnm-util/libnm-util.ver
495           libnm-util/nm-setting-wireless.c
496           libnm-util/nm-setting-wireless.h
497                 - Make properties private and add accessor functions
498
499         * src/NetworkManagerAP.c
500           src/nm-device-wifi.c
501           src/nm-manager.c
502           src/supplicant-manager/nm-supplicant-config.c
503           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
504           system-settings/plugins/ifcfg-fedora/reader.c
505           system-settings/plugins/ifcfg-suse/parser.c
506           system-settings/plugins/ifupdown/parser.c
507                 - Use wireless setting accessors
508
509 2008-10-27  Dan Williams  <dcbw@redhat.com>
510
511         Patch from Tambet Ingo <tambet@gmail.com>
512
513         * libnm-util/libnm-util.ver
514           libnm-util/nm-setting-ppp.c
515           libnm-util/nm-setting-ppp.h
516                 - Make properties private and add accessor functions
517
518         * src/ppp-manager/nm-ppp-manager.c
519                 - Use ppp setting accessors
520
521 2008-10-27  Dan Williams  <dcbw@redhat.com>
522
523         Patch from Tambet Ingo <tambet@gmail.com>
524
525         * libnm-util/nm-setting.h
526           libnm-util/nm-setting.c
527                 - Make properties private and add accessor functions
528
529         * libnm-util/nm-connection.c
530           libnm-util/nm-setting-8021x.c
531           libnm-util/nm-setting-cdma.c
532           libnm-util/nm-setting-connection.c
533           libnm-util/nm-setting-gsm.c
534           libnm-util/nm-setting-ip4-config.c
535           libnm-util/nm-setting-ip6-config.c
536           libnm-util/nm-setting-ppp.c
537           libnm-util/nm-setting-pppoe.c
538           libnm-util/nm-setting-serial.c
539           libnm-util/nm-setting-template.c
540           libnm-util/nm-setting-vpn.c
541           libnm-util/nm-setting-wired.c
542           libnm-util/nm-setting-wireless-security.c
543           libnm-util/nm-setting-wireless.c
544           system-settings/plugins/keyfile/reader.c
545           system-settings/plugins/keyfile/writer.c
546                 - Use setting accessors
547
548 2008-10-27  Dan Williams  <dcbw@redhat.com>
549
550         * libnm-util/libnm-util.ver
551           libnm-util/nm-setting-connection.c
552           libnm-util/nm-setting-connection.h
553                 - Add a 'read-only' property that indicates the connection cannot be
554                         modified
555
556         * system-settings/plugins/ifcfg-fedora/reader.c
557           system-settings/plugins/ifcfg-suse/parser.c
558           system-settings/plugins/ifupdown/parser.c
559                 - These plugins are read-only at the moment
560
561         * system-settings/plugins/keyfile/reader.c
562           system-settings/plugins/keyfile/writer.c
563                 - Read-only shouldn't get saved out to files or read in from them
564
565 2008-10-27  Tambet Ingo  <tambet@gmail.com>
566
567         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
568         correct speed reporting for fast devices (kernel >= 2.6.27).
569
570 2008-10-26  Dan Williams  <dcbw@redhat.com>
571
572         Attempt to compensate for modems that don't enable full AT parsing before
573         the PIN has been entered.
574
575         * src/nm-gsm-device.c
576                 - (init_modem): accept different init strings
577                 - (init_done): try different init strings on failure
578                 - (check_pin_done): on PIN success, do full modem init
579
580 2008-10-26  Dan Williams  <dcbw@redhat.com>
581
582         Patch from Tambet Ingo <tambet@gmail.com>
583
584         * libnm-util/libnm-util.ver
585           libnm-util/nm-setting-connection.c
586           libnm-util/nm-setting-connection.h
587                 - Make properties private and add accessor functions
588
589         * src/NetworkManagerPolicy.c
590           src/nm-cdma-device.c
591           src/nm-device-ethernet.c
592           src/nm-device-interface.c
593           src/nm-device-wifi.c
594           src/nm-gsm-device.c
595           src/nm-manager.c
596           src/ppp-manager/nm-ppp-manager.c
597           src/vpn-manager/nm-vpn-connection.c
598           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
599           system-settings/plugins/ifcfg-fedora/plugin.c
600           system-settings/plugins/ifcfg-fedora/reader.c
601           system-settings/plugins/ifcfg-suse/parser.c
602           system-settings/plugins/ifupdown/parser.c
603           system-settings/plugins/keyfile/nm-keyfile-connection.c
604           system-settings/plugins/keyfile/plugin.c
605           system-settings/plugins/keyfile/writer.c
606           system-settings/src/main.c
607                 - Use those accessors
608
609 2008-10-26  Dan Williams  <dcbw@redhat.com>
610
611         Patch from Tambet Ingo <tambet@gmail.com>
612
613         * libnm-util/libnm-util.ver
614           libnm-util/nm-setting-gsm.c
615           libnm-util/nm-setting-gsm.h
616                 - Make properties private and add accessor functions
617
618         * src/nm-gsm-device.c
619           src/nm-hso-gsm-device.c
620           src/ppp-manager/nm-ppp-manager.c
621                 - Use those accessors
622
623 2008-10-26  Dan Williams  <dcbw@redhat.com>
624
625         Patch from Tambet Ingo <tambet@gmail.com>
626
627         * libnm-util/libnm-util.ver
628           libnm-util/nm-setting-cdma.c
629           libnm-util/nm-setting-cdma.h
630                 - Make properties private and add accessor functions
631
632         * src/nm-cdma-device.c
633           src/ppp-manager/nm-ppp-manager.c
634                 - Use those accessors
635
636 2008-10-26  Dan Williams  <dcbw@redhat.com>
637
638         Patch from Tambet Ingo <tambet@gmail.com>
639
640         * libnm-util/libnm-util.ver
641           libnm-util/nm-setting-pppoe.c
642           libnm-util/nm-setting-pppoe.h
643                 - Make properties private and add accessor functions
644
645         * src/nm-device-ethernet.c
646           src/ppp-manager/nm-ppp-manager.c
647                 - Use those accessors
648
649 2008-10-26  Dan Williams  <dcbw@redhat.com>
650
651         Patch from Tambet Ingo <tambet@gmail.com>
652
653         * libnm-util/libnm-util.ver
654           libnm-util/nm-setting-wired.c
655           libnm-util/nm-setting-wired.h
656                 - Make properties private and add accessor functions
657
658         * src/nm-device-ethernet.c
659           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
660           system-settings/plugins/ifcfg-suse/parser.c
661           system-settings/src/main.c
662                 - Use those accessors
663
664 2008-10-26  Dan Williams  <dcbw@redhat.com>
665
666         Patch from Tambet Ingo <tambet@gmail.com>
667
668         * libnm-util/libnm-util.ver
669           libnm-util/nm-setting-serial.c
670           libnm-util/nm-setting-serial.h
671           src/nm-serial-device.c
672                 - Make properties private and use accessors instead
673
674 2008-10-26  Dan Williams  <dcbw@redhat.com>
675
676         * src/supplicant-manager/nm-supplicant-interface.c
677           src/supplicant-manager/nm-supplicant-interface.h
678           src/supplicant-manager/nm-supplicant-manager.c
679           src/supplicant-manager/nm-supplicant-manager.h
680                 - Add state-to-string conversion functions
681
682         * src/nm-device-wifi.c
683           src/nm-device-ethernet.c
684                 - Normalize state info logging and use strings instead of numbers
685
686 2008-10-26  Dan Williams  <dcbw@redhat.com>
687
688         * src/NetworkManagerPolicy.c
689                 - (update_routing_and_dns): ignore host routes when determining whether
690                         a VPN connection should own the default route (bgo #552594)
691
692 2008-10-24  Dan Williams  <dcbw@redhat.com>
693
694         * src/nm-gsm-device.c
695                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
696
697 2008-10-23  Dan Williams  <dcbw@redhat.com>
698
699         * src/ppp-manager/nm-ppp-manager.c
700                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
701                         add really important stuff to the command line to ensure that NM
702                         overrides /etc/ppp/options (bgo #556781)
703
704 2008-10-22  Dan Williams  <dcbw@redhat.com>
705
706         * src/NetworkManagerSystem.c
707           src/nm-device.c
708                 - Use the device's IP interface where appropriate (Per Hallsmark)
709
710 2008-10-22  Dan Williams  <dcbw@redhat.com>
711
712         * src/nm-gsm-device.c
713                 - (schedule_automatic_registration_again): use a short timeout here
714                         instead of an idle handler to avoid using too much CPU polling for
715                         something we should be waiting a bit for anyway
716
717 2008-10-22  Dan Williams  <dcbw@redhat.com>
718
719         * include/NetworkManager.h
720           introspection/nm-device.xml
721                 - Add device state change reason for carrier changes
722
723         * src/nm-device-ethernet.c
724                 - (set_carrier): use the carrier change reason when changing device
725                         state in response to carrier changes
726
727 2008-10-21  Dan Williams  <dcbw@redhat.com>
728
729         * src/NetworkManagerPolicy.c
730                 - (update_etc_hosts): don't leak errors, and ensure that
731                         g_file_set_contents() gets a valid error placeholder (rh #461933)
732
733 2008-10-21  Dan Williams  <dcbw@redhat.com>
734
735         * src/nm-manager.c
736                 - (free_get_settings_info): don't use the DBusGProxy which could be
737                         disposed of by the time the function is called
738                 - (internal_new_connection_cb): save connection scope
739                 - (connection_get_settings_cb): don't replace a connection unless it's
740                         actually different from the existing one; fixes an issue where
741                         killing the settings service wouldn't deactivate an active connection
742                         provided by that settings service, because it was using a connection
743                         that had already been replaced in the system or user hash
744
745 2008-10-21  Dan Williams  <dcbw@redhat.com>
746
747         * src/NetworkManager.c
748                 - (main): keep the DHCP manager around since it's a singleton; fixes
749                         a use-after-free exposed by r4196 since the DHCP manager singleton
750                         variable isn't cleared when the DHCP manager object is finalized
751
752 2008-10-20  Dan Williams  <dcbw@redhat.com>
753
754         * libnm-util/nm-setting-wireless-security.c
755                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
756
757 2008-10-20  Dan Williams  <dcbw@redhat.com>
758
759         * src/supplicant-manager/nm-supplicant-config.c
760                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
761
762 2008-10-20  Dan Williams  <dcbw@redhat.com>
763
764         * src/dhcp-manager/nm-dhcp-manager.c
765                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
766                         manager object already refs it once
767                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
768                         also get cleaned up by nm_dhcp_device_destroy() to prevent
769                         double-frees
770
771 2008-10-20  Dan Williams  <dcbw@redhat.com>
772
773         * src/nm-manager.c
774                 - (initial_get_connections): use private dbus manager, don't keep
775                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
776                         manager object.
777
778 2008-10-18  Dan Williams  <dcbw@redhat.com>
779
780         * libnm-glib/nm-settings.c
781           libnm-glib/nm-settings.h
782                 - Rename the "get_secrets" virtual function "service_get_secrets" to
783                         clarify when it's used; NMExportedConnetion is a base-class for both
784                         the client and service side, which is sort of confusing, and
785                         get_secrets only makes sense on the service side.
786
787         * libnm-glib/nm-dbus-connection.c
788                 - (get_secrets): remove, unused, and clients need to do extra work to
789                         get secrets anyway since the call can block on the remote side
790
791         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
792           system-settings/plugins/keyfile/nm-keyfile-connection.c
793                 - Fix up for get_secrets -> service_get_secrets
794
795 2008-10-16  Dan Williams  <dcbw@redhat.com>
796
797         * src/nm-device-wifi.c
798                 - (constructor): correctly determine encryption capabilities
799
800 2008-10-15  Dan Williams  <dcbw@redhat.com>
801
802         * src/nm-device-wifi.c
803                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
804                         (Johannes Berg)
805
806 2008-10-15  Dan Williams  <dcbw@redhat.com>
807
808         * src/NetworkManagerSystem.c
809                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
810                         if the ip4_dest is in a smaller subnet contained within a subnet
811                         the machine is currently on, the destination is in the same subnet
812                 - (nm_system_device_set_ip4_route): move subnet checks to callers
813                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
814                         subnet as the parent device, and if so, don't add the direct
815                         host route via the parent device's gateway (bgo #481620)
816                 - (nm_system_apply_ip4_config): check whether the route to be added
817                         is contained within a subnet the device is already on
818
819 2008-10-11  Dan Williams  <dcbw@redhat.com>
820
821         * include/NetworkManager.h
822           introspection/nm-device.xml
823           include/NetworkManagerVPN.h
824                 - Add a few more state reasons for the device deactivated state
825
826         * src/nm-device-interface.c
827           src/nm-device-interface.h
828                 - (nm_device_interface_deactivate): add a 'reason' argument
829
830         * src/nm-device.c
831           src/nm-device.h
832                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
833                 - (nm_device_state_changed): pass the state change reason to
834                         nm_device_take_down()
835                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
836                         to the state change function
837
838         * src/nm-manager.c
839           src/nm-manager.h
840                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
841                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
842                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
843                         something reasonable along to VPN deactivation
844
845         * src/vpn-manager/nm-vpn-manager.c
846           src/vpn-manager/nm-vpn-manager.h
847                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
848                         pass that along to nm_vpn_connection_disconnect()
849
850 2008-10-11  Dan Williams  <dcbw@redhat.com>
851
852         * src/nm-device-wifi.c
853                 - (can_scan): remove old madwifi hack for not scanning while connected
854
855 2008-10-11  Dan Williams  <dcbw@redhat.com>
856
857         Add support for VPN subnet gateways (bgo #549196)
858
859         * include/NetworkManager.h
860                 - Add key for internal VPN subnet gateway
861
862         * src/vpn-manager/nm-vpn-connection.c
863                 - (ip_address_to_string): return a const from a static buffer so we
864                         don't leak a lot of strings
865                 - (print_vpn_config): print internal VPN gateway as well
866                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
867                         VPN service too
868                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
869
870         * src/NetworkManagerSystem.c
871           src/NetworkManagerSystem.h
872                 - (nm_system_device_replace_default_ip4_route): split into two, one for
873                         VPN connections and one for normal devices
874                 - (replace_default_ip4_route): break out route stuff into its own function
875                 - (nm_system_replace_default_ip4_route_vpn,
876                    nm_system_replace_default_ip4_route): simplify by having two cases,
877                         one for VPNs and one for normal devices
878
879         * src/NetworkManagerPolicy.c
880                 - (update_routing_and_dns): simplify, use split default route replacement
881                         functions
882
883 2008-10-10  Dan Williams  <dcbw@redhat.com>
884
885         Rework default route handling to consolidate decisions in the policy,
886         and to take active VPN connections into account when changing the default
887         route (bgo #545912)
888
889         * src/NetworkManager.c
890                 - (main): pass the vpn_manager to the policy so it knows about active
891                         VPN connections; clean up the named manager which wasn't done before
892
893         * src/NetworkManagerPolicy.c
894           src/NetworkManagerPolicy.h
895                 - (nm_policy_new): get a clue about the vpn_manager
896                 - (update_default_route): remove, fold into update_routing_and_dns()
897                 - (update_routing_and_dns): handle active VPN connections too; an
898                         active VPN connection becomes the default route if it does not have
899                         server-specified or user-specified custom routes.  Otherwise, the
900                         best active device gets the default route
901                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
902                    nm_policy_destroy): track VPN connection activation and deactivation
903                         and update the default route when appropriate
904
905         * src/NetworkManagerSystem.c
906           src/NetworkManagerSystem.h
907                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
908                         in the VPN connection itself
909                 - (nm_system_vpn_device_set_from_ip4_config,
910                    nm_system_device_set_from_ip4_config): merge together to make
911                         nm_system_apply_ip4_config()
912                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
913                         via the parent device
914                 - (nm_system_apply_ip4_config): simplify
915                 - (add_ip4_route_to_gateway): new function; add a direct route to the
916                         gateway if needed
917                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
918                         route stuff out into add_ip4_route_to_gateway() for clarity
919
920         * src/nm-device.c
921                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
922
923         * src/vpn-manager/nm-vpn-connection.c
924           src/vpn-manager/nm-vpn-connection.h
925                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
926                    nm_vpn_connection_get_parent_device): add
927                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
928                         device explicit
929                 - (connection_state_changed): update the named manager now that
930                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
931                         useful on errors
932
933         * src/vpn-manager/nm-vpn-manager.c
934           src/vpn-manager/nm-vpn-manager.h
935                 - Add a 'connection-activated' signal
936                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
937                         policy to find out about active VPN connections
938
939 2008-10-10  Tambet Ingo  <tambet@gmail.com>
940
941         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
942         a daemon to prevent NM logging spew on console on startup and shutdown (due
943         to dependency loop between NM and syslog).
944
945 2008-10-10  Alexander Sack  <asac@ubuntu.com>
946
947         Implement managed mode. We bind devices configured in /etc/network/interfaces
948         to their connections by updating wired/wireless setting with the
949         mac address of the device.
950
951         * system-settings/plugins/ifupdown/plugin.c
952                 - (get_net_address_for_udi): implement function to retrieve MAC
953                         address of udi from hal in GByteArray format
954                 - (bind_device_to_connection): bind mac address of device to
955                         wired/wireless system connection
956                 - (hal_device_added_cb): call bind_device_to_connection for
957                         system connections with a matching interface.name
958                 - (hal_device_added_cb): ensure that all code paths
959                         properly free the "iface" string.
960
961 2008-10-10  Alexander Sack  <asac@ubuntu.com>
962
963         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
964         mode of the ifupdown system config plugin.
965
966         * system-settings/plugins/ifupdown/plugin.c
967                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
968                         private unmanage_well_known state field accordingly
969
970 2008-10-10  Alexander Sack  <asac@ubuntu.com>
971
972         Implement unmanaged mode that will prevent all devices in the
973         well_known_udis set from being touched by NetworkManager
974
975         * system-settings/plugins/ifupdown/plugin.c
976                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
977                         unmanage_well_known field used to turn on/off unmanaged
978                         mode
979                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
980                         signal when well_known_udis get added/removed
981                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
982                         if we are in unmanaged mode
983
984 2008-10-10  Alexander Sack  <asac@ubuntu.com>
985
986         Add support to track network devices that have a configuration
987         with a matching interface.name in /etc/network/interfaces
988
989         * system-settings/plugins/ifupdown/plugin.c
990                 - (typedef struct SCPluginIfupdownPrivate): add hash table
991                         to track |well_known_udis|
992                 - (get_iface_for_udi): helper function to get interface.name
993                         for a udi
994                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
995                         that add and remove devices to and from the well_known_udis
996                         set depending on whether their |interface.name| matches
997                         any interface definition in /etc/network/interfaces
998                 - (SCPluginIfupdown_init): connect callbacks from above with
999                         hal_mgr and setup well_known_udis hashtable
1000                 - (GObject__dispose): destroy well_known_udis hashtable
1001                 - (hal_device_added_cb2): implement wrapper callback with GFunc
1002                         signature. user_data is supposed to be a triple (hal_mgr,
1003                         config and devtype)
1004                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1005                         startup and call hal_device_added_cb2
1006
1007 2008-10-10  Alexander Sack  <asac@ubuntu.com>
1008
1009         Remove implementation for not used NMSystemConfigInterface callback functions
1010         in ifupdown plugin
1011
1012         * system-settings/plugins/ifupdown/plugin.c
1013                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1014                 - (SCPluginIfupdown_connection_added): removed
1015
1016 2008-10-08  Dan Williams  <dcbw@redhat.com>
1017
1018         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1019
1020         * src/NetworkManagerUtils.c
1021                 - (nm_utils_call_dispatcher): add a 'hostname' action
1022
1023         * src/NetworkManagerPolicy.c
1024                 - (set_system_hostname): dispatch hostname changes
1025
1026         * callouts/nm-dispatcher-action.c
1027                 - (nm_dispatcher_action): handle 'hostname' actions
1028
1029 2008-10-08  Dan Williams  <dcbw@redhat.com>
1030
1031         * src/NetworkManagerSystem.c
1032                 - (find_route): ref the route so it doesn't get destroyed when the cache
1033                         is cleared
1034                 - (nm_system_device_set_priority): unref the route here after it's done
1035                         being used
1036
1037 2008-10-08  Dan Williams  <dcbw@redhat.com>
1038
1039         * src/nm-serial-device.c
1040                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1041
1042 2008-10-08  Tambet Ingo  <tambet@gmail.com>
1043
1044         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1045         connection with new settings before saving it.
1046
1047 2008-10-06  Dan Williams  <dcbw@redhat.com>
1048
1049         * src/nm-ip4-config.c
1050           src/nm-ip4-config.h
1051                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1052
1053         * src/nm-device-interface.c
1054                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1055                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1056                         by using '/' for the object path
1057
1058         * src/nm-device.c
1059                 - (src/nm-device.c): marshal missing/unexported ip4-config through
1060                         dbus as '/' since dbus-glib can't handle NULL objects nor can
1061                         dbus handle NULL object paths
1062
1063 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1064
1065         Implement system hostname support for debian/ubuntu
1066
1067         * system-settings/plugins/ifupdown/plugin.c
1068                 - (GObject__get_property): extend announced capabilities; add
1069                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1070                 - (GObject__set_property,write_system_hostname): implement
1071                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1072                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1073                    update_system_hostname, get_hostname):
1074                         implement hostname property that watches and
1075                         parses /etc/hostname
1076
1077 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1078
1079         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1080           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1081           system-settings/plugins/ifcfg-fedora/Makefile.am
1082           system-settings/src/nm-inotify-helper.c
1083           system-settings/src/nm-inotify-helper.h
1084           src/Makefile.am
1085                 - Move ifcfg-fedora inotify helpers to the system settings service so
1086                         they are available to all plugins
1087
1088 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1089
1090         Implement support for wep-tx-keyidx in ifupdown system
1091         config plugin.
1092
1093         * system-settings/plugins/ifupdown/parser.c
1094                 - (update_wireless_security_setting_from_if_block): introduce
1095                         free_type_mapping func table; rename a few local
1096                         variables to improve readability; add wpa security mapping
1097                         for wep-tx-keyidx property
1098                 - (string_to_gpointerint): new function used for the auto_type_mapping
1099                         of new wep-tx-keyidx property
1100                 - (slist_free_all): free func used for mapped slist types
1101
1102 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1103
1104         * system-settings/src/main.c:
1105                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1106                         always used as the hash key; fixes a crash when removing wired
1107                         devices
1108
1109 2008-10-02  Dan Williams  <dcbw@redhat.com>
1110
1111         * src/nm-gsm-device.c
1112                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1113                         pass the required GSM secret along via user_data rather than keeping
1114                         it around in the private data where it sometimes didn't get cleared
1115                 - (real_get_ppp_name): implement using the GSM username
1116
1117 2008-10-02  Dan Williams  <dcbw@redhat.com>
1118
1119         * src/ppp-manager/nm-ppp-manager.c
1120           src/ppp-manager/nm-ppp-manager.h
1121                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1122                         the settings daemon for completely new ones
1123                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1124                         local PPP peer name; allow PPP debuging by launching NM with
1125                         the environment variable NM_PPP_DEBUG defined
1126                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1127                         create_pppd_cmd_line()
1128
1129         * src/nm-serial-device.c
1130           src/nm-serial-device.h
1131                 - New 'get_ppp_name' function for subclasses to implement to return the
1132                         local PPP peer name
1133                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1134                         and pass that name to the PPP manager
1135
1136         * src/nm-device-ethernet.c
1137                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1138                         the local peer name
1139
1140         * src/nm-cdma-device.c
1141                 - (real_get_ppp_name): implement using the CDMA username
1142
1143 2008-10-02  Dan Williams  <dcbw@redhat.com>
1144
1145         Patch from Alexander Sack <asac ubuntu com>
1146
1147         * system-settings/plugins/ifupdown/parser.c
1148                 - Implement more graceful ip4 config parsing for cases where
1149                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1150                   by using default values
1151
1152 2008-10-02  Dan Williams  <dcbw@redhat.com>
1153
1154         * src/NetworkManagerPolicy.c
1155                 - (device_state_changed): when marking a connection invalid, clear its
1156                         secrets too so that fresh secrets get requested the next time
1157
1158 2008-10-01  Dan Williams  <dcbw@redhat.com>
1159
1160         * system-settings/src/dbus-settings.c
1161                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1162                         a fallback if no plugin provides a hostname
1163                 - (get_property): fall back to cached hostname if no plugin provides
1164                         a hostname
1165
1166 2008-10-01  Dan Williams  <dcbw@redhat.com>
1167
1168         Fix setting value comparison issue that caused some settings to look the
1169         same when they were really different (rh #464417)
1170
1171         * libnm-util/nm-param-spec-specialized.c
1172                 - (type_is_fixed_size): return fundamental size of the fixed type too
1173                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1174                         in the comparison so that the _entire_ fixed type collection gets
1175                         compared rather than just the first 'len1' bytes
1176
1177 2008-09-30  Dan Williams  <dcbw@redhat.com>
1178
1179         * src/NetworkManagerPolicy.c
1180                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1181                         idle handler could have already run and freed the LookupThread
1182                         structure
1183
1184 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1185
1186         * src/nm-device.c (nm_device_get_priority): Implement.
1187         (nm_device_set_ip4_config): Send the device priority to system ip4 
1188         config setter.
1189
1190         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1191         Add priority argument and if it's >= 0, set the priority of the network
1192         route added automatically by netlink (or kernel?).
1193         (nm_system_device_set_priority): Implement.
1194
1195         * src/NetworkManagerPolicy.c (get_best_device): Use 
1196         nm_device_get_priority() instead of home-grown version. Revert the
1197         meaning, best priority is the lowest one.
1198
1199 2008-09-29  Dan Williams  <dcbw@redhat.com>
1200
1201         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1202         when it returns EAGAIN (rh #362421)
1203
1204         * src/nm-device-wifi.c
1205                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1206                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1207
1208 2008-09-28  Dan Williams  <dcbw@redhat.com>
1209
1210         * src/nm-serial-device.c
1211           src/nm-serial-device.h
1212                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1213                         cleaned at the right times when subclasses close the serial port too
1214                 - (nm_serial_device_send_command): use a default send delay; don't
1215                         spin forever on EAGAIN
1216                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1217                         remove, no longer used
1218                 - (find_response): return the matched response if any
1219                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1220                         while doing so
1221                 - (wait_for_reply_done): pass the matched response to the callback
1222                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1223                         handling
1224                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1225                         const since they never get modified
1226                 - (cleanup_device): split out common cleanup stuff to a new function
1227                 - (real_deactivate_quickly, finalize): use cleanup_device()
1228
1229         * src/nm-gsm-device.c
1230                 - (modem_get_reply): remove, unused
1231                 - (set_apn): give the card a bit more time to respond
1232                 - (manual_registration_again, schedule_manual_registration_again,
1233                    manual_registration_response, manual_registration): handle manual
1234                         registration timeouts better by retrying registration a few times
1235                         because cards are a bit slow after CFUN=1
1236                 - (automatic_registration_get_network, get_network_response): use
1237                         modem_wait_for_reply() because it interacts better with the serial
1238                         buffer and does more intelligent matching; need to wait for 'OK'
1239                         rather than just matching terminators
1240                 - (schedule_automatic_registration_again,
1241                    automatic_registration_response, automatic_registration): retry
1242                         registration a few times on timeout or "searching" because cards
1243                         take a bit to find a network after being powered up with CFUN=1
1244                 - (power_up_response, power_up, init_full_done, enter_pin,
1245                    check_pin_done): power up the card with CFUN=1 before trying to
1246                         register with the network
1247                 - (init_modem_full, init_modem): use more standard 3G init strings
1248
1249         * src/nm-hso-gsm-device.c
1250                 - (modem_get_reply): remove, unused
1251                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1252                         modem_wait_for_reply() to match actual responses instead of single
1253                         termination characters; it doesn't leave stuff in the serial buffer
1254                         that might confuse later calls
1255                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1256                         to ensure that the call is really disconnected and not leave extra
1257                         stuff in the serial buffer
1258
1259         * src/nm-cdma-device.c
1260                 - (power_up_response, power_up, init_done): try Sierra-style modem
1261                         power up before attempting to connect
1262
1263 2008-09-27  Dan Williams  <dcbw@redhat.com>
1264
1265         * libnm-util/nm-setting-gsm.c
1266                 - (verify): verify GSM network ID
1267
1268 2008-09-25  Dan Williams  <dcbw@redhat.com>
1269
1270         * libnm-util/nm-setting-gsm.c
1271           libnm-util/nm-setting-gsm.h
1272                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1273                         technology terms (bgo #551361)
1274
1275 2008-09-25  Dan Williams  <dcbw@redhat.com>
1276
1277         Fix bgo #549401 (inspired by patch from Alexander Sack)
1278
1279         * src/nm-device-ethernet.c
1280                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1281                 - (remove_supplicant_interface_error_handler): remove the supplicant
1282                         error idle callback too
1283                 - (supplicant_interface_release): rename from supplicant_interface_clean
1284                         to match nm-device-wifi.c; clean up supplicant interface-related
1285                         state tasks when the supplicant interface is disposed of
1286                 - (schedule_state_handler): add scheduled tasks to a list so they can
1287                         be cleaned up later
1288                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1289                    supplicant_iface_connection_state_cb_handler): use
1290                         finish_supplicant_task() to clean up each completed task
1291                 - (supplicant_iface_connection_error_cb_handler,
1292                    supplicant_connection_timeout_cb): clear source id when the task is
1293                         complete
1294                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1295                         later cleanup
1296                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1297                         tasks
1298
1299         * src/nm-device-wifi.c
1300                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1301                 - (remove_supplicant_interface_error_handler): remove the supplicant
1302                         error idle callback too
1303                 - (supplicant_interface_release): clean up supplicant interface-related
1304                         state tasks when the supplicant interface is disposed of
1305                 - (schedule_state_handler): add scheduled tasks to a list so they can
1306                         be cleaned up later
1307                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1308                    supplicant_iface_connection_state_cb_handler): use
1309                         finish_supplicant_task() to clean up each completed task
1310                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1311                         the task is complete
1312                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1313                         later cleanup
1314                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1315
1316 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1317
1318         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1319         method and get/set hostname property.
1320
1321 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1322
1323         * src/supplicant-manager/nm-supplicant-interface.c
1324         (nm_supplicant_interface_disconnect): Don't increment the reference 
1325         count when disconnecting. The problem is on shutdown, when the replies
1326         to these commands do not arrive before NM exits, resulting on never
1327         calling supplicant interface's dispose(), which removes the interface
1328         from supplicant.
1329
1330 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1331
1332         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1333         all the public function arguments.
1334
1335 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1336
1337         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1338         "Failure" signal from VPN plugins, store the failure reason, and
1339         use it when the state is changed to failure.
1340
1341         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1342         description.
1343
1344         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1345         reason to the end of the list to not break the API.
1346         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1347         so it can be shared by plugins and daemon.
1348
1349 2008-09-18  Dan Williams  <dcbw@redhat.com>
1350
1351         Patch from Alexander Sack <asac@ubuntu.com>
1352
1353         * configure.in
1354           system-settings/plugins/Makefile.am
1355           system-settings/plugins/ifupdown/Makefile.am
1356           system-settings/plugins/ifupdown/interface_parser.c
1357           system-settings/plugins/ifupdown/interface_parser.h
1358           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1359           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1360           system-settings/plugins/ifupdown/parser.c
1361           system-settings/plugins/ifupdown/parser.h
1362           system-settings/plugins/ifupdown/plugin.c
1363           system-settings/plugins/ifupdown/plugin.h
1364                 - Implement a Debian/Ubuntu legacy network configuration plugin
1365                         (gnome.org #551941)
1366
1367 2008-09-18  Dan Williams  <dcbw@redhat.com>
1368
1369         Implement support for honoring configured and automatic hostnames, and for
1370         setting the configured hostname.
1371
1372         * introspection/nm-ip4-config.xml
1373           src/nm-ip4-config.c
1374           src/nm-ip4-config.h
1375           src/dhcp-manager/nm-dhcp-manager.c
1376                 - Remove useless hostname property; it's not really part of the IPv4
1377                         config
1378
1379         * introspection/nm-settings-system.xml
1380           libnm-glib/nm-dbus-settings-system.c
1381           libnm-glib/nm-dbus-settings-system.h
1382                 - Add SetHostname() call to system settings D-Bus interface
1383                 - Add Hostname property to system settings D-Bus interface
1384                 - (nm_dbus_settings_system_save_hostname,
1385                    nm_dbus_settings_system_get_hostname): implement
1386
1387         * src/nm-device.c
1388           src/nm-device.h
1389                 - (nm_device_get_dhcp4_config): implement
1390
1391         * src/nm-manager.c
1392           src/nm-manager.h
1393                 - Fetch and track system settings service hostname changes, and proxy
1394                         the changes via a GObject property of the manager
1395
1396         * system-settings/src/nm-system-config-interface.c
1397           system-settings/src/nm-system-config-interface.h
1398                 - Replace nm_system_config_interface_supports_add() with a capabilities
1399                         bitfield
1400
1401         * system-settings/src/nm-system-config-error.c
1402           system-settings/src/nm-system-config-error.h
1403                 - Add additional errors
1404
1405         * system-settings/src/dbus-settings.c
1406           system-settings/src/dbus-settings.h
1407                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1408                         property; first plugin returning a hostname wins
1409                 - (impl_settings_add_connection): use plugin capabilities instead of
1410                         nm_system_config_interface_supports_add()
1411                 - (impl_settings_save_hostname): implement hostname saving
1412
1413         * src/NetworkManagerPolicy.c
1414                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1415                    lookup_thread_die): implement an asynchronous hostname lookup thread
1416                         which given an IPv4 address tries to look up the hostname for that
1417                         address with reverse DNS
1418                 - (get_best_device): split out best device code from
1419                         update_routing_and_dns()
1420                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1421                         to preserve the 127.0.0.1 reverse mapping that so many things require
1422                 - (set_system_hostname): set a given hostname
1423                 - (update_system_hostname): implement hostname policy; a configured
1424                         hostname (from the system settings service) is used if available,
1425                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1426                         If there was no automatically determined hostname, reverse DNS of
1427                         the best device's IP address will be used, and as a last resort the
1428                         hostname 'localhost.localdomain' is set.
1429                 - (update_routing_and_dns): use get_best_device(); update the system
1430                         hostname when the network config changes
1431                 - (hostname_changed): update system hostname if the system settings
1432                         service signals a hostname change
1433                 - (nm_policy_new): list for system settings service hostname changes
1434                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1435                         gets told to die
1436
1437         * system-settings/plugins/keyfile/plugin.c
1438           system-settings/plugins/ifcfg-suse/plugin.c
1439                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1440                         capabilities properties
1441
1442         * system-settings/plugins/ifcfg-fedora/shvar.c
1443                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1444                         writes out /etc/sysconfig/network now
1445
1446         * system-settings/plugins/ifcfg-fedora/plugin.c
1447                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1448                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1449                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1450                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1451                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1452                         hostname get/set and capabilities get
1453
1454 2008-09-18  Dan Williams  <dcbw@redhat.com>
1455
1456         * libnm-util/nm-setting-wireless.c
1457                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1458                         group ciphers if the wireless-security setting explicitly specified
1459                         them, effectively making the default be "all ciphers"  (idea from
1460                         Alexander Sack)
1461
1462 2008-09-15  Dan Williams  <dcbw@redhat.com>
1463
1464         Patch from Alexander Sack <asac@ubuntu.com>
1465
1466         * src/named-manager/nm-named-manager.c
1467                 - (dispatch_resolvconf): respect resolvconf exit code
1468
1469 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1470
1471         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1472         again. Add some debugging.
1473
1474 2008-09-11  Dan Williams  <dcbw@redhat.com>
1475
1476         * system-settings/plugins/keyfile/plugin.c
1477                 - (update_connection_settings): update connection manually, since
1478                         nm_exported_connection_update() does authentication
1479                 - (dir_changed): update_connection_settings() doesn't need to return
1480                         an error
1481
1482 2008-09-09  Dan Williams  <dcbw@redhat.com>
1483
1484         * libnm-glib/nm-vpn-plugin-ui-interface.c
1485           libnm-glib/nm-vpn-plugin-ui-interface.h
1486           libnm-glib/libnm_glib_vpn.ver
1487                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1488                         should clean up resources related to the connection (like keyring
1489                         secrets)
1490                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1491                         should save user-scope secrets (like to the keyring)
1492
1493 2008-09-08  Dan Williams  <dcbw@redhat.com>
1494
1495         Patch from Alexander Sack <asac@ubuntu.com>
1496
1497         * libnm-util/crypto_gnutls.c
1498           libnm-util/crypto_nss.c
1499                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1500
1501         * libnm-util/nm-utils.c
1502           libnm-util/nm-utils.h
1503           libnm-util/libnm-util.ver
1504                 - (nm_utils_init): initialize libnm-util
1505                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1506
1507         * libnm-util/nm-setting-8021x.c
1508                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1509
1510 2008-09-05  Dan Williams  <dcbw@redhat.com>
1511
1512         Patch from Roy Marples <roy@marples.name> and others
1513
1514         * configure.in
1515           src/named-manager/nm-named-manager.c
1516                 - Add support for resolvconf; use --with-resolvconf at configure time
1517                         to enable it
1518
1519 2008-09-05  Dan Williams  <dcbw@redhat.com>
1520
1521         * libnm-util/crypto_nss.c
1522           libnm-util/crypto_gnutls.c
1523           libnm-util/crypto.h
1524                 - (crypto_init): return error when init fails
1525
1526 2008-09-05  Dan Williams  <dcbw@redhat.com>
1527
1528         * libnm-glib/nm-device-wifi.c
1529                 - (access_point_removed_proxy): clean up the active access point too
1530                         just in case the active ap changed signal didn't come through yet
1531                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1532
1533 2008-09-05  Dan Williams  <dcbw@redhat.com>
1534
1535         * libnm-glib/nm-client.c
1536                 - (constructor): get initial state after we know whether NM is running
1537                         or not
1538
1539 2008-09-05  Dan Williams  <dcbw@redhat.com>
1540
1541         * libnm-glib/nm-ip4-config.c
1542           libnm-glib/nm-dhcp4-config.c
1543                 - (finalize): clean up the DBusGProxy
1544
1545 2008-09-04  Dan Williams  <dcbw@redhat.com>
1546
1547         * src/nm-ip4-config.c
1548           src/nm-ip4-config.h
1549                 - (nm_ip4_config_new): don't export over D-Bus here
1550                 - (nm_ip4_config_export): new function; export the config over D-Bus
1551                 - (nm_ip4_config_is_exported): new function
1552
1553         * src/nm-device.c
1554                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1555                         objects by balancing the IP4Config constructor; the device holds
1556                         a reference to the IP4Config already
1557                 - (nm_device_set_ip4_config): export the IP4Config when needed
1558
1559 2008-09-04  Dan Williams  <dcbw@redhat.com>
1560
1561         * src/supplicant-manager/nm-supplicant-settings-verify.c
1562                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1563
1564 2008-09-04  Dan Williams  <dcbw@redhat.com>
1565
1566         * libnm-util/nm-setting-vpn.c
1567           libnm-util/nm-setting-vpn.h
1568                 - Split VPN secrets from VPN data so that settings services can actually
1569                         figure out that they are secrets and store them accordingly
1570
1571         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1572           system-settings/plugins/keyfile/reader.c
1573           system-settings/plugins/keyfile/reader.h
1574           system-settings/plugins/keyfile/writer.c
1575                 - Store VPN secrets separately from VPN data so that they can be fetched
1576                         on demand
1577                 - Implement the get_secrets() call so that (a) secrets don't leak out
1578                         to unprivileged callers, and (b) secrets can be sent to privileged
1579                         callers when needed
1580
1581         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1582                 - Handle split VPN secrets
1583
1584 2008-08-27  Dan Williams  <dcbw@redhat.com>
1585
1586         * system-settings/plugins/ifcfg-fedora/reader.c
1587                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1588
1589 2008-08-27  Dan Williams  <dcbw@redhat.com>
1590
1591         Ensure zombie children get cleaned up.  To get notifications when children
1592         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1593         that requires calling waitpid() yourself if you've removed the child watch
1594         handler before the process has actually died, which NM needs to do in a few
1595         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1596         cleans up after the child when required.  Should fix problems trying to
1597         activate mobile broadband connections after a previous failure.
1598
1599         * src/dhcp-manager/nm-dhcp-dhclient.c
1600           src/dhcp-manager/nm-dhcp-dhcpcd.c
1601                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1602
1603         * src/dhcp-manager/nm-dhcp-manager.c
1604                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1605                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1606                         block on child quitting, since the non-blocking functionality was
1607                         never actually used
1608
1609         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1610                 - (dm_watch_cb): child is already reaped here
1611                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1612
1613         * src/nm-device.c
1614                 - (aipd_cleanup): block until child is dead
1615
1616         * src/named-manager/nm-named-manager.c
1617                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1618                         event bothering to watch the child
1619
1620         * src/ppp-manager/nm-ppp-manager.c
1621                 - (ppp_watch_cb): child is already reaped here
1622                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1623
1624         * src/vpn-manager/nm-vpn-service.c
1625                 - (vpn_service_watch_cb): child is already reaped here
1626                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1627                         status of the child is actually tracked
1628                 - (ensure_killed, finalize): block until child is dead
1629
1630 2008-08-26  Dan Williams  <dcbw@redhat.com>
1631
1632         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1633                 - (update): Update filename of the connection if the connection id
1634                         was changed
1635
1636         * system-settings/plugins/keyfile/plugin.c
1637                 - (dir_changed): first pass at handling connection renames correctly
1638
1639         * system-settings/plugins/keyfile/writer.c
1640           system-settings/plugins/keyfile/writer.h
1641                 - (write_connection): replace '/' with '*' when writing out the filename
1642                         from the connection id
1643
1644 2008-08-26  Dan Williams  <dcbw@redhat.com>
1645
1646         Add connection UUIDs, since connection names can be changed, and since
1647         old-style connection IDs could change over the life of the connection.  The
1648         UUID should be assigned at connection creation time, be stable for a given
1649         connection, and should be unique among all connections for a given settings
1650         service.
1651
1652         * configure.in
1653           libnm-util/Makefile.am
1654                 - Require libuuid
1655
1656         * introspection/nm-exported-connection.xml
1657                 - Remove "GetID" method
1658
1659         * libnm-glib/nm-dbus-connection.c
1660           libnm-glib/nm-settings.c
1661           libnm-glib/nm-settings.h
1662                 - Remove id-related stuff
1663
1664         * libnm-util/nm-utils.c
1665           libnm-util/nm-utils.h
1666           libnm-util/libnm-util.ver
1667                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1668                         utility functions to generate UUIDs
1669
1670         * libnm-util/nm-setting-connection.c
1671           libnm-util/nm-setting-connection.h
1672                 - Add 'uuid' member to the connection setting
1673                 - (verify): require valid 'uuid' for a valid connection
1674
1675         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1676           system-settings/plugins/ifcfg-fedora/reader.c
1677           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1678           system-settings/plugins/ifcfg-suse/parser.c
1679           system-settings/plugins/keyfile/nm-keyfile-connection.c
1680           system-settings/src/main.c
1681                 - Remove id-related stuff
1682                 - Give connections UUIDs where needed
1683
1684 2008-08-25  Dan Williams  <dcbw@redhat.com>
1685
1686         * libnm-util/crypto_gnutls.c
1687           libnm-util/crypto_nss.c
1688                 - (crypto_init, crypto_deinit): refcount init/deinit
1689                 - (crypto_md5_hash): allow NULL salt
1690
1691 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1692
1693         * libnm-glib/Makefile.am
1694           libnm-util/Makefile.am
1695           libnm-glib/libnm_glib.ver
1696           libnm-glib/libnm_glib_vpn.ver
1697           libnm-util/libnm-util.ver
1698                 - Use linker version scripts to control the list of exported 
1699                 symbols. List each exported symbol explicitely.
1700         * libnm-util/Makefile.am
1701                 - Fix compilation of the test-crypto binary. The crypto
1702                 functions are no longer part of the libnm-util API. Add 
1703                 crypto_*.c to test_crypto_SOURCES and link against the correct
1704                 crypto libraries.
1705
1706 2008-08-19  Dan Williams  <dcbw@redhat.com>
1707
1708         * configure.in
1709           test/Makefile.am
1710                 - Don't build test/test-common
1711                 - Remove unused stuff
1712
1713         * test/nm-set-fallback
1714           test/nmtestdevices.c
1715           test/test-common/.cvsignore
1716           test/test-common/Makefile.am
1717           test/test-common/test-common.c
1718           test/test-common/test-common.h
1719                 - delete
1720
1721 2008-08-18  Dan Williams  <dcbw@redhat.com>
1722
1723         * libnm-util/nm-utils.c
1724           libnm-util/nm-utils.h
1725                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1726                         export anything that needs to be converted with this function
1727
1728         * src/dhcp-manager/nm-dhcp-manager.c
1729                 - (garray_to_string): convert a byte array to a UTF-8 string with
1730                         minimal validation; the DHCP client sends it in ASCII anyway
1731                 - (get_option, copy_option): use garray_to_string()
1732
1733 2008-08-18  Dan Williams  <dcbw@redhat.com>
1734
1735         * include/NetworkManager.h
1736           introspection/nm-device.xml
1737                 - Add a "missing firmware" device state reason
1738
1739         * src/NetworkManagerSystem.c
1740           src/NetworkManagerSystem.h
1741                 - (nm_system_device_set_up_down): add a no_firmware argument
1742                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1743                         IFF_UP is ENOENT, that almost always means missing firmware
1744
1745         * src/backends/NetworkManagerGeneric.c
1746           src/nm-device-ethernet.c
1747           src/nm-device-private.h
1748           src/nm-device-wifi.c
1749           src/nm-device.c
1750           src/nm-device.h
1751           src/nm-hso-gsm-device.c
1752           src/vpn-manager/nm-vpn-connection.c
1753                 - Pass no_firmware along; check it where appropriate
1754
1755 2008-08-18  Dan Williams  <dcbw@redhat.com>
1756
1757         Patch from Robert Buchholz <rbu@gentoo.org>
1758
1759         * autogen.sh
1760           configure.in
1761                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1762                         1003.1-1988, allowing for file names longer than 99 characters
1763
1764 2008-08-17  Dan Williams  <dcbw@redhat.com>
1765
1766         * include/NetworkManager.h
1767           introspection/nm-device.xml
1768           src/nm-gsm-device.c
1769                 - Finer-grained GSM registration failure error codes
1770
1771 2008-08-17  Dan Williams  <dcbw@redhat.com>
1772
1773         * callouts/Makefile.am
1774           src/Makefile.am
1775                 - Move dispatcher directory creation to callouts/Makefile.am
1776
1777         * system-settings/plugins/keyfile/Makefile.am
1778                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1779
1780 2008-08-15  Dan Williams  <dcbw@redhat.com>
1781
1782         Do connection sharing in a cleaner manner; all required iptables rules
1783         are now stored in the activation request and pertain only to the device
1784         which is being shared to other computers. (rh #458625)
1785
1786         * src/nm-activation-request.c
1787           src/nm-activation-request.h
1788                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1789                         the activation request which will get torn down automatically when
1790                         the activation request dies
1791                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1792                         is started, and tear them down when sharing is stopped
1793
1794         * src/nm-device.c
1795                 - (start_sharing): start up sharing by doing the required iptables magic
1796                 - (share_init): poke the right bits of the kernel and load the right
1797                         modules for NAT
1798                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1799                         connection if it's a 'shared' connection
1800
1801         * src/NetworkManagerPolicy.c
1802                 - Remove all sharing stuff; done in the device code itself
1803
1804 2008-08-15  Dan Williams  <dcbw@redhat.com>
1805
1806         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1807                 - (create_dm_cmd_line): send the right router address
1808
1809 2008-08-15  Dan Williams  <dcbw@redhat.com>
1810
1811         * src/ppp-manager/nm-ppp-manager.c
1812                 - (pppd_timed_out): ensure timeouts fail the connection
1813
1814 2008-08-14  Dan Williams  <dcbw@redhat.com>
1815
1816         * src/nm-properties-changed-signal.c
1817           src/nm-properties-changed-signal.h
1818                 - Add a property spec flag for "don't export this property" in
1819                         property changed signals
1820
1821         * src/nm-hso-gsm-device.c
1822           src/nm-gsm-device.c
1823           src/nm-cdma-device.c
1824                 - Don't export monitor interface or netdev interface properties
1825
1826 2008-08-14  Dan Williams  <dcbw@redhat.com>
1827
1828         * src/NetworkManagerPolicy.c
1829                 - (update_routing_and_dns): 'hso' devices can be default even if they
1830                         don't have a gateway
1831
1832 2008-08-14  Dan Williams  <dcbw@redhat.com>
1833
1834         * src/nm-device.c
1835                 - (nm_device_deactivate_quickly): tear down activation request after
1836                         calling device-specific deactivation
1837
1838         * src/nm-hso-gsm-device.c
1839                 - (real_deactivate_quickly): terminate connection when deactivating
1840
1841 2008-08-14  Dan Williams  <dcbw@redhat.com>
1842
1843         * src/nm-activation-request.h
1844                 - Add HSO secrets caller
1845
1846         * src/nm-gsm-device.c
1847           src/nm-gsm-device.h
1848                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1849                         something to the callback function
1850                 - (set_apn, set_apn_done): call class dial function, not a static one
1851                 - (nm_gsm_device_class_init): add a class 'dial' function
1852
1853         * src/nm-hal-manager.c
1854                 - (get_hso_netdev): find the hso-driven hardware's net device
1855                 - (modem_device_creator): recognize hso-driven hardware and create the
1856                         right type of device object for it
1857
1858         * src/Makefile.am
1859           src/nm-hso-gsm-device.c
1860           src/nm-hso-gsm-device.h
1861                 - Implement support for devices driven by the 'hso' driver as a subclass
1862                         of NMGsmDevice
1863
1864 2008-08-14  Dan Williams  <dcbw@redhat.com>
1865
1866         * src/NetworkManagerSystem.c
1867                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1868                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1869                         success if the operation really was successful
1870
1871 2008-08-14  Dan Williams  <dcbw@redhat.com>
1872
1873         * src/nm-netlink-monitor.c
1874           src/nm-netlink-monitor.h
1875           src/nm-device-ethernet.c
1876                 - (nm_netlink_monitor_request_status): return an error on failure
1877                 - (constructor): don't segfault on missing error
1878
1879 2008-08-13  Dan Williams  <dcbw@redhat.com>
1880
1881         * callouts/nm-dispatcher-action.c
1882                 - Add IP4 config info to script environment
1883
1884 2008-08-12  Dan Williams  <dcbw@redhat.com>
1885
1886         * src/nm-device.c
1887                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1888                         that want to use DHCP hostnames should use dispatcher scripts
1889                         for that
1890
1891         * src/NetworkManagerSystem.h
1892           src/backends/NetworkManagerArch.c
1893           src/backends/NetworkManagerDebian.c
1894           src/backends/NetworkManagerFrugalware.c
1895           src/backends/NetworkManagerGeneric.c
1896           src/backends/NetworkManagerGeneric.h
1897           src/backends/NetworkManagerGentoo.c
1898           src/backends/NetworkManagerMandriva.c
1899           src/backends/NetworkManagerPaldo.c
1900           src/backends/NetworkManagerRedHat.c
1901           src/backends/NetworkManagerSlackware.c
1902           src/backends/NetworkManagerSuSE.c
1903                 - Remove nm_system_set_hostname(), no longer used
1904           
1905         * src/backends/Makefile.am
1906           src/backends/shvar.c
1907           src/backends/shvar.h
1908                 - Remove shvar.*; no longer used
1909
1910 2008-08-12  Dan Williams  <dcbw@redhat.com>
1911
1912         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1913         hostname is updated at runtime.  Distros or users who want hostname updates
1914         can use dispatcher scripts to update the hostname if they need it.
1915
1916 2008-08-12  Dan Williams  <dcbw@redhat.com>
1917
1918         * introspection/nm-settings-system.xml
1919           system-settings/src/dbus-settings.c
1920           system-settings/src/dbus-settings.h
1921                 - Add a 'Hostname' property (rw) which represents the configured
1922                         hostname and domain of the system, if any
1923
1924         * system-settings/src/nm-system-config-error.c
1925           system-settings/src/nm-system-config-error.h
1926           system-settings/src/nm-system-config-interface.c
1927           system-settings/src/nm-system-config-interface.h
1928                 - Add a 'hostname' property to the plugin interface
1929                 - Add a method to send updated hostname to plugins to save in their
1930                         backing configuration store
1931
1932         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1933           system-settings/plugins/keyfile/plugin.c
1934           system-settings/plugins/keyfile/writer.c
1935           system-settings/plugins/keyfile/writer.h
1936           system-settings/plugins/ifcfg-suse/plugin.c
1937                 - Add minimal hostname support
1938
1939         * system-settings/plugins/ifcfg-fedora/plugin.c
1940                 - Add support for updating system hostname in /etc/sysconfig/network
1941
1942 2008-08-12  Dan Williams  <dcbw@redhat.com>
1943
1944         * system-settings/plugins/ifcfg-fedora/shvar.c
1945           system-settings/plugins/ifcfg-fedora/shvar.c
1946                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1947
1948 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1949
1950         * Makefile.am: Fix distcheck.
1951
1952 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1953
1954         * libnm-glib/*.c. Document some more.
1955
1956 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1957
1958         Start documenting libnm-glib public API using gtk-doc.
1959
1960         * libnm-glib/nm-serial-device.c: 
1961         * libnm-glib/nm-object.c: 
1962         * libnm-glib/nm-gsm-device.c: 
1963         * libnm-glib/nm-device.c: 
1964         * libnm-glib/nm-device-wifi.c: 
1965         * libnm-glib/nm-device-ethernet.c: 
1966         * libnm-glib/nm-client.c: 
1967         * libnm-glib/nm-cdma-device.c: Document the public API.
1968
1969         * docs/libnm-glib/libnm-glib.types: Implement.
1970
1971         * docs/libnm-glib/Makefile.am: Implement.
1972
1973         * autogen.sh: 
1974         * configure.in: 
1975         * Makefile.am: Add gtk-doc support.
1976
1977 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1978
1979         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1980
1981         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1982         the composite result of all the IP4 configurations and call a distro
1983         specific update_resolv_conf().
1984         (update_resolv_conf): Implement one for directly writing to 
1985         /etc/resolv.conf and one for opensuse to call netconfig.
1986
1987 2008-08-11  Dan Williams  <dcbw@redhat.com>
1988
1989         * src/ppp-manager/nm-ppp-manager.c
1990                 - (impl_ppp_manager_need_secrets): pass interface as required
1991
1992 2008-08-11  Dan Williams  <dcbw@redhat.com>
1993
1994         Merge the vpn-properties setting with the vpn setting since it was pointless
1995         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1996         of string:string (instead of string:variant) so that system settings plugins
1997         can have an easier time dealing with the arbitrary key/value pairs.
1998
1999 2008-08-11  Dan Williams  <dcbw@redhat.com>
2000
2001         * libnm-util/nm-utils.c
2002                 - (nm_utils_register_value_transformations): add value transform for
2003                         a hash table of string:string
2004
2005 2008-08-10  Dan Williams  <dcbw@redhat.com>
2006
2007         * libnm-glib/nm-vpn-plugin.c
2008                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2009                         an idle handler so the Connect reply gets delivered before the
2010                         stop StateChanged signal
2011
2012 2008-08-10  Dan Williams  <dcbw@redhat.com>
2013
2014         * src/nm-ip4-config.c
2015                 - (get_property): use common ip4 address/route conversion functions
2016                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2017                         copy the new route here, not take ownership
2018
2019 2008-08-08  Tambet Ingo  <tambet@gmail.com>
2020
2021         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2022         Update the IP4 setting's method name.
2023
2024 2008-08-07  Dan Williams  <dcbw@redhat.com>
2025
2026         * introspection/nm-ip4-config.xml
2027           libnm-glib/libnm-glib-test.c
2028           libnm-glib/nm-ip4-config.c
2029           libnm-glib/nm-ip4-config.h
2030           src/NetworkManagerSystem.h
2031           src/backends/NetworkManagerArch.c
2032           src/backends/NetworkManagerDebian.c
2033           src/backends/NetworkManagerFrugalware.c
2034           src/backends/NetworkManagerGeneric.c
2035           src/backends/NetworkManagerGeneric.h
2036           src/backends/NetworkManagerGentoo.c
2037           src/backends/NetworkManagerMandriva.c
2038           src/backends/NetworkManagerPaldo.c
2039           src/backends/NetworkManagerRedHat.c
2040           src/backends/NetworkManagerSlackware.c
2041           src/backends/NetworkManagerSuSE.c
2042           src/dhcp-manager/nm-dhcp-manager.c
2043           src/nm-device.c
2044           src/nm-ip4-config.c
2045           src/nm-ip4-config.h
2046                 - Remove NIS logic; should be done from dispatcher scripts instead
2047
2048 2008-08-07  Dan Williams  <dcbw@redhat.com>
2049
2050         * src/dhcp-manager/nm-dhcp-manager.c
2051                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2052                         mis-handling of DHCP responses that returned more than one router
2053                         (found by Grant Williamson)
2054
2055 2008-08-07  Dan Williams  <dcbw@redhat.com>
2056
2057         * callouts/nm-dispatcher-action.c
2058                 - (nm_dispatcher_action): grab device path and create the device; pass
2059                         the device's DHCP4 config to script caller
2060                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2061                         scripts
2062
2063         * libnm-glib/nm-dhcp4-config.c
2064           libnm-glib/nm-dhcp4-config.h
2065                 - (nm_dhcp4_config_get_options): expose
2066                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2067
2068 2008-08-07  Dan Williams  <dcbw@redhat.com>
2069
2070         * include/NetworkManager.h
2071                 - Add the DHCP4Config D-Bus interface
2072
2073         * libnm-glib/Makefile.am
2074           libnm-glib/nm-dhcp4-config.c
2075           libnm-glib/nm-dhcp4-config.h
2076                 - Handle DHCP4 config objects exported by NM over D-Bus
2077
2078         * libnm-glib/nm-device.c
2079           libnm-glib/nm-device.h
2080                 - Add a 'dhcp4-config' property
2081
2082         * libnm-glib/libnm-glib-test.c
2083                 - Print out DHCP4 config for devices
2084                 - Fix some crashes when no connections are active
2085
2086         * src/nm-device-interface.c
2087           src/nm-device.c
2088           src/nm-dhcp4-config.c
2089           src/nm-dhcp4-config.h
2090                 - Treat dhcp4-config object as an object path at the D-Bus interface so
2091                         that when it doesn't exist we can proxy it as "/" which dbus-glib
2092                         doesn't let us do when the property type is G_TYPE_OBJECT
2093
2094 2008-08-07  Dan Williams  <dcbw@redhat.com>
2095
2096         * src/NetworkManager.c
2097           src/NetworkManagerSystem.h
2098           src/backends/NetworkManagerArch.c
2099           src/backends/NetworkManagerDebian.c
2100           src/backends/NetworkManagerFrugalware.c
2101           src/backends/NetworkManagerGeneric.c
2102           src/backends/NetworkManagerGeneric.h
2103           src/backends/NetworkManagerGentoo.c
2104           src/backends/NetworkManagerMandriva.c
2105           src/backends/NetworkManagerPaldo.c
2106           src/backends/NetworkManagerRedHat.c
2107           src/backends/NetworkManagerSlackware.c
2108           src/backends/NetworkManagerSuSE.c
2109                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2110
2111 2008-08-06  Dan Williams  <dcbw@redhat.com>
2112
2113         * libnm-glib/nm-ip4-config.c
2114           libnm-glib/nm-ip4-config.h
2115                 - Add 'routes' property
2116
2117         * libnm-util/nm-setting-vpn.c
2118           libnm-util/nm-setting-vpn.h
2119                 - Remove 'routes' property
2120
2121         * libnm-util/nm-setting-ip4-config.c
2122           libnm-util/nm-setting-ip4-config.h
2123                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2124                 - Add 'ignore-auto-routes' property
2125                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
2126                         accomodate route metrics
2127                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2128
2129         * libnm-util/nm-utils.c
2130           libnm-util/nm-utils.h
2131                 - Add helpers for marshalling IP4 routes
2132
2133         * src/NetworkManagerUtils.c
2134                 - (nm_utils_merge_ip4_config): handle property renames and new route
2135                         structure
2136
2137         * src/NetworkManagerSystem.c
2138                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2139                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
2140
2141         * src/dhcp-manager/nm-dhcp-manager.c
2142                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2143
2144         * system-settings/plugins/ifcfg-fedora/reader.c
2145           system-settings/plugins/ifcfg-fedora/writer.c
2146                 - Handle routes separately from addresses now that routes have a different
2147                         format
2148
2149         * introspection/nm-ip4-config.xml
2150           src/nm-ip4-config.c
2151           src/nm-ip4-config.h
2152                 - Rename internal routing functions
2153                 - 'static-routes' renamed to 'routes'
2154
2155 2008-08-04  Dan Williams  <dcbw@redhat.com>
2156
2157         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2158
2159         * src/NetworkManager.c
2160           src/nm-manager.c
2161           src/nm-manager.h
2162                 - More explicitly make the NMManager a singleton
2163
2164 2008-08-04  Dan Williams  <dcbw@redhat.com>
2165
2166         * libnm-util/nm-connection.c
2167           libnm-util/nm-connection.h
2168                 - (nm_connection_verify): return error on missing 'connection' setting
2169                         (found by Sjoerd Simons)
2170
2171 2008-08-04  Dan Williams  <dcbw@redhat.com>
2172
2173         Handle multiple concurrent PPP connections.
2174
2175         * src/ppp-manager/nm-ppp-manager.c
2176           src/ppp-manager/nm-ppp-manager.h
2177                 - (constructor): only PPP Manager request bus name once; each
2178                         NMPPPManager object gets a unique object path
2179                 - (nm_ppp_manager_class_init, get_property, set_property,
2180                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2181                         at construct time
2182                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2183                         remove timeout until PPP manager gets an IP4 config
2184                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2185                         the plugin can call back to this specific PPP manager instance
2186
2187         * src/nm-device-ethernet.c
2188           src/nm-serial-device.c
2189                 - Pass parent device in nm_ppp_manager_new()
2190
2191         * src/nm-gsm-device.c
2192           src/nm-cdma-device.c
2193                 - (device_state_changed): don't close serial device on NEED_AUTH
2194                         state changed, that's not a failure case like the rest are
2195
2196         * src/ppp-manager/nm-pppd-plugin.c
2197                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2198                         binds one interface to any pppd process, thus the correct index
2199                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2200                         problems; try harder to get a peer address in spite of pppd
2201                 - (plugin_init): use 'ipparam' as the object path back to our specific
2202                         PPP manager instance
2203
2204 2008-08-04  Dan Williams  <dcbw@redhat.com>
2205
2206         * src/ppp-manager/nm-ppp-manager.c
2207                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2208                         since the GSM and CDMA settings now implement need_secrets, we can
2209                         rely on them to do the right thing.  Where secrets are not required,
2210                         just pass empty strings back to the pppd plugin.
2211                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2212                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2213                         on successful IP4 config receipt
2214
2215 2008-08-04  Dan Williams  <dcbw@redhat.com>
2216
2217         * libnm-util/nm-setting-cdma.c
2218           libnm-util/nm-setting-gsm.c
2219                 - (verify): validate username & password if they exist
2220                 - (need_secrets): if username given, require a password too
2221
2222 2008-08-04  Dan Williams  <dcbw@redhat.com>
2223
2224         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2225                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2226                         manpage says about --listen-address without --interface
2227                         (bgo #546033)
2228
2229 2008-08-01  Dan Williams  <dcbw@redhat.com>
2230
2231         * libnm-glib/nm-device.c
2232                 - (proxy_get_string): util function for querying a HAL property
2233                 - (get_ancestor_device): split out from get_product_and_vendor()
2234                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2235                         from PCI devices by querying subsys properties
2236                 - (nm_device_update_description): simplify
2237
2238 2008-08-01  Dan Williams  <dcbw@redhat.com>
2239
2240         * libnm-util/nm-setting-ip4-config.c
2241           libnm-util/nm-setting-ip4-config.h
2242                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2243                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2244                         settings, and they don't necessarily use DHCP.
2245
2246         * src/NetworkManagerPolicy.c
2247           src/nm-device.c
2248           system-settings/plugins/ifcfg-fedora/reader.c
2249           system-settings/plugins/ifcfg-suse/parser.c
2250                 - Fixup for method changes
2251
2252 2008-07-31  Dan Williams  <dcbw@redhat.com>
2253
2254         * src/nm-activation-request.c
2255           src/vpn-manager/nm-vpn-connection.c
2256                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2257                         itself should be attached to the activation request or the VPN
2258                         connection, not the NMConnection object, since the call is not
2259                         expected to live as long as the NMConnection itself
2260
2261 2008-07-31  Dan Williams  <dcbw@redhat.com>
2262
2263         * src/nm-device-wifi.c
2264                 - (real_act_stage2_config): fix issue where association would continue
2265                         even though secrets were needed; 'goto out' was in wrong scope and
2266                         result of handle_auth_or_fail() should have been dumped directly to
2267                         'ret' to ensure that the association was postponed until secrets
2268                         are available
2269
2270 2008-07-31  Dan Williams  <dcbw@redhat.com>
2271
2272         * system-settings/plugins/ifcfg-fedora/plugin.c
2273           system-settings/plugins/ifcfg-fedora/reader.c
2274                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2275                         valid NM connection
2276
2277 2008-07-29  Dan Williams  <dcbw@redhat.com>
2278
2279         * src/nm-gsm-device.c
2280                 - (automatic_registration_response, automatic_registration): recognize
2281                         denied registration and reorder responses
2282
2283 2008-07-29  Dan Williams  <dcbw@redhat.com>
2284
2285         * src/nm-serial-device.c
2286                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2287                         time(2) is used for current time, which returns seconds, we shouldn't
2288                         be multiplying by 1000.
2289
2290 2008-07-28  Dan Williams  <dcbw@redhat.com>
2291
2292         Patch from Fabrice Bellet <fabrice@bellet.info>
2293
2294         * src/NetworkManagerSystem.c
2295                 - (route_in_same_subnet): mask addresses and compare them so that the
2296                         function actually does what it says it's going to do (rh #456685)
2297
2298 2008-07-27  Dan Williams  <dcbw@redhat.com>
2299
2300         * libnm-util/nm-setting-ip6-config.c
2301                 - (set_property): add missing break that caused routes to be overwritten
2302                         with addresses
2303
2304         * libnm-util/nm-setting-ip6-config.c
2305                 - (verify): validate routes and return GError everywhere on invalid setting
2306                 - (finalize): don't leak routes
2307                 - (set_property): add missing break that caused routes to be overwritten
2308                         with addresses
2309
2310 2008-07-27  Dan Williams  <dcbw@redhat.com>
2311
2312         * libnm-util/*
2313                 - Relicense to LGPLv2+
2314
2315 2008-07-27  Dan Williams  <dcbw@redhat.com>
2316
2317         * system-settings/plugins/ifcfg-fedora/reader.c
2318                 - (make_ip4_setting): fix parsing automatic configs
2319
2320 2008-07-27  Dan Williams  <dcbw@redhat.com>
2321
2322         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2323           src/nm-device.c
2324           src/ppp-manager/nm-ppp-manager.c
2325                 - Ensure child process gets reaped.  The child watch function may be
2326                         removed from the mainloop before the child gets killed, so we have
2327                         to make sure the child is reaped when it's told to die intentionally
2328
2329 2008-07-27  Dan Williams  <dcbw@redhat.com>
2330
2331         Patch from Roy Marples <roy@marples.name>
2332
2333         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2334                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2335
2336 2008-07-27  Dan Williams  <dcbw@redhat.com>
2337
2338         * src/nm-gsm-device.c
2339                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2340                         Huawei devices turn echo back on after CPIN (rh #456770)
2341
2342 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2343
2344         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2345         format argument to g_set_error() call.
2346
2347         * src/backends/interface_parser.[ch]: Remove.
2348
2349         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2350
2351 2008-07-21  Dan Williams  <dcbw@redhat.com>
2352
2353         * src/ppp-manager/nm-ppp-manager.c
2354                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2355                         to prevent pppd from picking up some random local address from an
2356                         interface that doesn't have anything to do with the one we're
2357                         interested in (rh #455348)
2358
2359 2008-07-17  Dan Williams  <dcbw@redhat.com>
2360
2361         * libnm-util/nm-utils.c
2362                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2363                         by locale
2364                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2365                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2366
2367 2008-07-17  Dan Williams  <dcbw@redhat.com>
2368
2369         * introspection/Makefile.am
2370           introspection/nm-device.xml
2371           introspection/nm-dhcp4-config.xml
2372                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2373                         itself
2374         * src/nm-device-interface.c
2375           src/nm-device-interface.h
2376                 - Add the DHCP4Config property
2377
2378         * src/nm-device.c
2379                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2380                         D-Bus clients when it changes
2381
2382         * src/nm-dhcp4-config.c
2383           src/nm-dhcp4-config.h
2384                 - Simple object to store DHCP4 options, export them over D-Bus, and
2385                         notify when they change
2386
2387         * src/dhcp-manager/nm-dhcp-manager.c
2388           src/dhcp-manager/nm-dhcp-manager.h
2389                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2390                         filter server-returned DHCP options into an NMDHCP4Config object
2391
2392 2008-07-16  Dan Williams  <dcbw@redhat.com>
2393
2394         * introspection/nm-device.xml
2395                 - Add device state reasons
2396
2397 2008-07-16  Dan Williams  <dcbw@redhat.com>
2398
2399         Patch from Roy Marples <roy@marples.name>
2400
2401         * configure.in
2402                 - Add --with-dhcp-client option
2403
2404         * src/dhcp-manager/Makefile.am
2405                 - pass DHCP_CLIENT_PATH on compile line
2406
2407         * src/dhcp-manager/nm-dhcp-manager.c
2408           src/dhcp-manager/nm-dhcp-manager.h
2409                 - Genericize for both dhcpcd and dhclient
2410
2411         * src/dhcp-manager/nm-dhcp-dhclient.c
2412                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2413
2414         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2415                 - Implement support for dhcpcd too
2416
2417 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2418
2419         * system-settings/src/nm-system-config-interface.c 
2420         (nm_system_config_interface_supports_add): Implement.
2421         (nm_system_config_interface_add_connection): Return a boolean to notify
2422         of errors.
2423
2424         * system-settings/src/nm-polkit-helpers.c: 
2425         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2426         a separate file.
2427
2428         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2429         Return an error when none of the plugins support add or if addition
2430         failed for some reason.
2431
2432         * system-settings/src/nm-system-config-error.h: 
2433         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2434         here from nm-polkit-helpers.[ch].
2435
2436         * system-settings/src/Makefile.am: Build new files.
2437
2438         * system-settings/plugins/keyfile/reader.c 
2439         (read_array_of_array_of_uint): Make it more general so that it would
2440         work for routes as well.
2441
2442         * system-settings/plugins/keyfile/writer.c
2443         (write_array_of_array_of_uint): Ditto.
2444         Fix the netmask/prefix writing.
2445
2446         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2447         boolean to notify errors.
2448
2449         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2450         Return more specific error.
2451         (delete): Ditto.
2452
2453 2008-07-11  Dan Williams  <dcbw@redhat.com>
2454
2455         Modify the NMDevice::state-changed signal to include the previous state
2456         and reason. Enables the applet to provide more information why device
2457         activation failed.
2458
2459 2008-07-09  Dan Williams  <dcbw@redhat.com>
2460
2461         * callouts/Makefile.am
2462           callouts/nm-avahi-autoipd-action.c
2463           callouts/nm-avahi-autoipd.conf
2464                 - avahi-autoipd callout to send options back to NM
2465
2466         * src/autoip.c
2467           src/autoip.h
2468                 - remove
2469
2470         * src/nm-device.c
2471           src/nm-device-private.h
2472           src/nm-manager.c
2473                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2474                         old custom stuff
2475
2476 2008-07-07  Dan Williams  <dcbw@redhat.com>
2477
2478         * system-settings/plugins/ifcfg-fedora/reader.c
2479                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2480                         handle PREFIX too; clean up
2481
2482 2008-07-07  Dan Williams  <dcbw@redhat.com>
2483
2484         Convert to using IPv4 prefixes instead of netmasks.
2485
2486 2008-07-03  Dan Williams  <dcbw@redhat.com>
2487
2488         * libnm-util/nm-setting-ip4-config.c
2489           libnm-util/nm-setting-ip4-config.h
2490                 - Add properties for DHCP Client Identifier and DHCP Hostname
2491
2492         * src/dhcp-manager/nm-dhcp-manager.c
2493           src/dhcp-manager/nm-dhcp-manager.h
2494                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2495                         setting as an argument to pass on to the dhclient config file
2496                         creation function
2497                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2498                         DHCP is torn down
2499                 - (dhclient_run): punt config file handling to create_dhclient_config()
2500                 - (create_dhclient_config): create an interface-specific dhclient
2501                         config file since there may need to be interface-specific options
2502                         passed to dhclient
2503                 - (merge_dhclient_config): merge normal distro dhclient config file and
2504                         add options from the connection
2505                 - (nm_dhcp_device_new): generate the interface specific dhclient
2506                         config file path once
2507                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2508                         dhclient config file path
2509
2510         * src/nm-device.c
2511                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2512                         DHCP manager when starting DHCP
2513
2514 2008-07-02  Dan Williams  <dcbw@redhat.com>
2515
2516         * libnm-util/nm-setting-8021x.c
2517                 - (verify): allow forcing the PEAP label to 0
2518
2519 2008-07-02  Dan Williams  <dcbw@redhat.com>
2520
2521         * introspection/nm-active-connection.xml
2522           introspection/nm-vpn-connection.xml
2523           libnm-glib/nm-active-connection.c
2524           src/nm-activation-request.c
2525           src/nm-active-connection.h
2526           src/vpn-manager/nm-vpn-connection.c
2527                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2528                         and libnm-glib API since sharing didn't get implemented that way
2529
2530 2008-07-02  Dan Williams  <dcbw@redhat.com>
2531
2532         * src/nm-device-wifi.c
2533                 - (can_scan): don't scan when a shared connection is activated since
2534                         that makes drivers mad (causing disconnects); also NM doesn't need
2535                         to hedge against disconnects by keeping up-to-date network topology
2536                         because the connection originates from the local machine, and thus
2537                         there should be no disconnects
2538
2539 2008-07-01  Dan Williams  <dcbw@redhat.com>
2540
2541         Fix mobile broadband username/password issues.  NM was never requesting
2542         mobile broadband secrets, nor was it passing back the username and password
2543         if it had them.
2544
2545         * marshallers/nm-marshal.list
2546                 - Add some new types for activation request objects
2547
2548         * src/nm-activation-request.c
2549           src/nm-activation-request.h
2550                 - (get_secrets_cb): pass the caller type in the signal
2551                 - (nm_act_request_request_connection_secrets): take a caller type, so
2552                         that GetSecrets() reply handlers know who asked for the secrets in
2553                         the first place; use secret hints too so the settings service can
2554                         figure out exactly what NM wants (ie, PIN or the PPP password)
2555
2556         * src/ppp-manager/nm-ppp-manager.c
2557           src/ppp-manager/nm-ppp-manager.h
2558                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2559                         detect needed secrets when the secret could be blank, like GSM/CDMA
2560                         passwords.  So always ask for secrets, and send a hint as to what
2561                         secret we really want.
2562                 - (nm_ppp_manager_update_secrets): make function more generic by making
2563                         the device specific class figure out the username and password, and
2564                         accept an error argument to return back over D-Bus
2565
2566         * src/nm-device-wifi.c
2567                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2568                         nm_act_request_request_connection_secrets()
2569                 - (real_connection_secrets_updated): update for 'caller' changes
2570
2571         * src/nm-device.c
2572           src/nm-device.h
2573                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2574                         for 'caller' changes
2575
2576         * src/nm-device-ethernet.c
2577                 - (real_connection_secrets_updated): update for 'caller' changes and
2578                         move logic for getting PPPoE username and password here before
2579                         calling nm_ppp_manager_update_secrets()
2580                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2581                         nm_act_request_request_connection_secrets()
2582
2583         * src/nm-cdma-device.c
2584                 - (real_connection_secrets_updated): pass username and password back
2585                         to the PPP manager when required
2586
2587         * src/nm-gsm-device.c
2588                 - (enter_pin): send the required secret name to the settings service
2589                 - (real_connection_secrets_updated): pass username and password back
2590                         to the PPP manager when required
2591
2592 2008-06-30  Dan Williams  <dcbw@redhat.com>
2593
2594         * src/nm-device-wifi.c
2595                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2596
2597 2008-06-30  Dan Williams  <dcbw@redhat.com>
2598
2599         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2600         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2601         priv->supplicant.iface.  When either condition is false, the device should
2602         transition back to UNAVAILABLE because it cannot be used.
2603
2604         * src/nm-device-wifi.c
2605                 - (constructor): cleanup; connect to supplicant manager here since the
2606                         supplicant manager is always around
2607                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2608                         ensure the supplicant manager is in the IDLE state
2609                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2610                         cancel any pending scans too
2611                 - (real_bring_up): don't set up the supplicnat interface here, because
2612                         we need the supplicant interface at times when the device may not
2613                         be "up"
2614                 - (real_take_down): just remove the periodic source
2615                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2616                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2617                         do anything if there's no supplicant interface
2618                 - (cleanup_association_attempt): cleanup
2619                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2620                         the interface enters the READY state; transition to UNAVAILABLE
2621                         state when the interface goes down because the device can't be used
2622                         without a supplicant interface
2623                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2624                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2625                         acquire the supplicant interface and transition to DISCONNECTED
2626                         if the radio isn't killed
2627                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2628                 - (state_changed_cb): release any existing supplicant interface; if the
2629                         radio is enabled then try to acquire a new supplicant interface;
2630                         if the radio is enabled and a supplicant interface has been acquired,
2631                         we can transition to DISCONNECTED
2632                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2633                         don't enable the radio, because HAL probably lied to us about the
2634                         killswitch being off.  If bringing the hardware up worked, then
2635                         try to grab a supplicant interface, and if that was successful,
2636                         transition to DISCONNECTED
2637
2638 2008-06-30  Dan Williams  <dcbw@redhat.com>
2639
2640         * src/supplicant-manager/nm-supplicant-interface.c
2641                 - (request_scan_results, nm_supplicant_interface_dispose,
2642                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2643                         the id of the timeout, not a GSource
2644
2645 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2646
2647         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2648         bunch of typoes introduced by "Patch from David Cantrell 
2649         <dcantrell@redhat.com> and me".
2650
2651 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2652
2653         * src/nm-serial-device.c: 
2654         * src/nm-gsm-device.c: 
2655         * src/nm-cdma-device.c: Move the pending call handling to a common location
2656         in serial device. Handle setting device state to failed in one place as well.
2657
2658 2008-06-29  Dan Williams <dcbw@redhat.com>
2659
2660         * src/nm-hal-manager.c
2661                 - Rework killswitch handling to query killswitch status immediately
2662                         when the first killswitch is added, so that rfkill state is
2663                         known as early as possible
2664                 - Also treat failure of GetPower() as rfkill when the dbus method
2665                         call times out (but not when the HAL callout returns an error)
2666
2667 2008-06-26  Dan Williams <dcbw@redhat.com>
2668
2669         Patch from David Cantrell <dcantrell@redhat.com> and me
2670
2671         * include/nm-dbus-glib-types.h
2672                 - Add IP6 address types
2673
2674         * libnm-util/Makefile.am
2675           libnm-util/nm-setting-ip6-config.c
2676           libnm-util/nm-setting-ip6-config.h
2677                 - Add IP6 settings object
2678
2679         * libnm-util/nm-connection.c
2680                 - (register_default_settings): register ip6 settings object
2681
2682         * libnm-util/nm-utils.c
2683           libnm-util/nm-utils.h
2684                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2685                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2686                         ip6 address conversion functions
2687         
2688 2008-06-26  Dan Williams <dcbw@redhat.com>
2689
2690         Patch from David Cantrell <dcantrell@redhat.com>
2691         
2692         * Use inet_ntop() and inet_pton() everwhere and check for errors
2693
2694 2008-06-26  Dan Williams <dcbw@redhat.com>
2695
2696         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2697
2698 2008-06-26  Dan Williams <dcbw@redhat.com>
2699
2700         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2701
2702         * src/nm-device-wifi.c
2703                 - (link_timeout_cb): don't ignore disconnects due to scanning
2704                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2705                         a longer timeout when scanning; avoids case where supplicant can't
2706                         find the AP and just keeps scanning forever but isn't connected
2707
2708 2008-06-26  Dan Williams <dcbw@redhat.com>
2709
2710         Patch from Michael Biebl <biebl@debian.org>
2711
2712         * Clean up build system stuff
2713
2714 2008-06-23  Christian Persch  <chpe@gnome.org>
2715
2716         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2717         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2718         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2719         (impl_get_object):
2720         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2721         (impl_get_object):
2722         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2723         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2724         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2725         (impl_get_object):
2726         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2727         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2728         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2729         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2730         * vpn-daemons/pptp/properties/vpnui_opt.c:
2731         (vpnui_opt_connect_signals):
2732         * vpn-daemons/pptp/properties/vpnui_opt.h:
2733         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2734         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2735         deprecated gtk type macros. Bug #539325.
2736
2737 2008-06-20  Dan Williams  <dcbw@redhat.com>
2738
2739         * libnm-glib/nm-vpn-plugin-ui-interface.c
2740           libnm-glib/nm-vpn-plugin-ui-interface.h
2741                 - 'validity-changed' -> 'changed' to work better with the connection
2742                         editor.  Plugin UI widgets should emit 'changed' whenever their
2743                         UI values change in a meaningful way.
2744                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2745                         update_connection member now returns validity of the UI widget
2746
2747 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2748
2749         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2750
2751 2008-06-17  Dan Williams  <dcbw@redhat.com>
2752
2753         * libnm-glib/nm-vpn-plugin-ui-interface.c
2754           libnm-glib/nm-vpn-plugin-ui-interface.h
2755                 - Add "desc" property for longer descriptions of the VPN plugin
2756
2757 2008-06-16  Dan Williams  <dcbw@redhat.com>
2758
2759         * configure.in
2760           libnm-glib/libnm_glib_vpn.pc.in
2761                 - add a .pc file for libnm_glib_vpn
2762
2763         * libnm-glib/nm-vpn-plugin-ui-interface.c
2764           libnm-glib/nm-vpn-plugin-ui-interface.h
2765                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2766                         rework it substantially
2767
2768 2008-06-12  Dan Williams  <dcbw@redhat.com>
2769
2770         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2771         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2772         returns a descriptive GError when verification fails.
2773
2774 2008-06-11  Dan Williams  <dcbw@redhat.com>
2775
2776         Patch from Tambet Ingo <tambet@gmail.com>
2777
2778         * libnm-util/nm-setting-gsm.c
2779                 - (verify): validate APN
2780
2781         * src/nm-gsm-device.c
2782                 - (manual_registration_done): start setting APN if needed
2783                 - (set_apn, set_apn_done): set the APN
2784                 - (do_dial): use the APN when dialing
2785
2786 2008-06-11  Dan Williams  <dcbw@redhat.com>
2787
2788         * src/NetworkManagerSystem.c
2789                 - (nm_system_device_set_ip4_route,
2790                    nm_system_device_replace_default_ip4_route): check for the right
2791                         return value from rtnl_route_add() to know when to add a gateway
2792                         route (from Tambet)
2793
2794 2008-06-11  Dan Williams  <dcbw@redhat.com>
2795
2796         * src/NetworkManagerPolicy.c
2797                 - do_ipt_cmd -> do_cmd
2798                 - (sharing_init): use do_cmd() instead of system()
2799
2800 2008-06-10  Dan Williams  <dcbw@redhat.com>
2801
2802         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2803         and use "wifi" everwhere instead.
2804
2805 2008-06-10  Dan Williams  <dcbw@redhat.com>
2806
2807         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2808
2809 2008-06-10  Dan Williams  <dcbw@redhat.com>
2810
2811         Patch from Tambet Ingo <tambet@gmail.com>
2812
2813         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2814                 changes.
2815
2816         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2817                 a signal to emit these changes over dbus.
2818
2819         * src/Makefile.am: Genereate nm-serial-device-glue.
2820
2821         * libnm-glib/nm-serial-device.[ch]: Implement.
2822
2823         * libnm-glib/nm-cdma-device.[ch]
2824           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2825
2826         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2827
2828         * introspection/nm-device-serial.xml: Implement.
2829
2830         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2831
2832         * introspection/Makefile.am: Add nm-device-serial.xml.
2833
2834         * include/NetworkManager.h: Add a DBus interface for serial device.
2835
2836 2008-06-10  Dan Williams  <dcbw@redhat.com>
2837
2838         * configure.in
2839                 - Add TARGET_* define to config.h to distinguish distros
2840
2841         * src/dhcp-manager/nm-dhcp-manager.c
2842                 - (dhclient_run): use distro-specific path for dhclient config file
2843
2844 2008-06-09  Dan Williams  <dcbw@redhat.com>
2845
2846         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2847           src/dnsmasq-manager/nm-dnsmasq-manager.h
2848                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2849                         calculate the addresses passed to dnsmasq instead of hard-coding
2850                         them
2851
2852         * src/nm-device.c
2853                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2854                         IP addresses for shared connections to guard against shared
2855                         connection address collisions
2856                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2857                         error conditions
2858                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2859                         the dnsmasq manager
2860
2861 2008-06-09  Dan Williams  <dcbw@redhat.com>
2862
2863         * src/NetworkManagerPolicy.c
2864                 - (update_routing_and_dns): set the default connection _after_ unsetting
2865                         default on all non-default connections so that two connections can
2866                         never be default at the same time
2867                 - (device_state_changed): start and stop connection sharing when
2868                         needed
2869                 - (active_connection_default_changed): restart or stop sharing when
2870                         the default connection changes to keep shared connections always
2871                         NAT-ed through the default connection
2872                 - (check_sharing): handle activation/deactivation of shared connections
2873                 - (sharing_restart): atom-bomb approach to connection sharing until we
2874                         can use libnl; reinit all sharing when the default connection or
2875                         shared connections change
2876                 - (sharing_init, sharing_stop): evil functions that init and deinit
2877                         iptables
2878
2879 2008-06-09  Dan Williams  <dcbw@redhat.com>
2880
2881         * src/nm-activation-request.c
2882           src/nm-activation-request.h
2883                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2884                    nm_act_request_get_device): new functions to facilitate connection
2885                         sharing
2886
2887 2008-06-09  Dan Williams  <dcbw@redhat.com>
2888
2889         * src/nm-device.c
2890                 - (clear_act_request): unset the 'default' property of the activation
2891                         request when clearing it to ensure the property changed signal gets
2892                         delivered and handled
2893
2894 2008-06-09  Dan Williams  <dcbw@redhat.com>
2895
2896         * libnm-glib/nm-device-802-11-wireless.c
2897                 - (access_point_removed_proxy): actually unref the AP after removing
2898                         it from the device's AP list.  Fixes refcounting bug for APs that
2899                         caused them to get mixed up in the applet's menu.
2900
2901 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2902
2903         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2904         (nm_dhcp_device_destroy): Destroy the device options hash table.
2905
2906 2008-06-06  Dan Williams <dcbw@redhat.com>
2907
2908         * system-settings/src/nm-polkit-helpers.c
2909                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2910                         unref the context if the initialization fails; also avoid spew when
2911                         the error isn't set
2912
2913 2008-06-06  Dan Williams <dcbw@redhat.com>
2914
2915         Patch from Tambet Ingo  <tambet@gmail.com>
2916
2917         * src/NetworkManagerSystem.c
2918           src/NetworkManagerSystem.h
2919                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2920                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2921                 - (nm_system_device_set_ip4_route): clean up
2922                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2923
2924         * src/nm-device.c
2925                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2926
2927         * src/vpn-manager/nm-vpn-connection.c
2928                 - (ip_address_to_string): new function
2929                 - (print_vpn_config): use ip_address_to_string
2930                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2931                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2932
2933         * include/NetworkManagerVPN.h
2934                 - Add 'routes' key
2935
2936 2008-06-05  Dan Williams <dcbw@redhat.com>
2937
2938         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2939
2940         * test/nm-tool.c
2941                 - Show which device is the default device
2942
2943 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2944
2945         Fix memory leaks.
2946
2947         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2948         Free data returned from dbus method call.
2949
2950         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2951         dbus_g_method_get_sender() returns a duplicated string, free it 
2952         when done.
2953         (check_polkit_privileges): Looks like policykit sometimes returns
2954         error and non-null return value, don't leak errors in that case.
2955
2956         * system-settings/src/main.c (find_plugin): Don't leak existing 
2957         plugin names.
2958         (load_stuff): Don't leak device list and list items.
2959         (have_connection_for_device): Don't leak connection list.
2960
2961         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2962         Free the data received from g_keyfile_get_*.
2963
2964         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2965         the key when the security object is updated.
2966
2967         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2968         Free data returned from dbus method call.
2969         (iface_state_cb): Ditto.
2970         (add_network_cb): Ditto.
2971         (nm_supplicant_interface_add_cb): Don't make another copy of already
2972         duplicated object path.
2973         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2974         when done.
2975
2976         * src/supplicant-manager/nm-supplicant-config.c 
2977         (ADD_STRING_LIST_VAL): Fix a memory leak.
2978
2979         * src/nm-manager.c (free_get_settings_info): Free the allocated
2980         memory slice.
2981         (list_connections_cb): Free data returned from dbus method call.
2982         (system_settings_get_unmanaged_devices_cb): Ditto.
2983
2984         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2985
2986         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2987         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2988         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2989         of the GList.
2990
2991         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2992         arguments after the object is created.
2993
2994 2008-06-04  Dan Williams <dcbw@redhat.com>
2995
2996         * libnm-util/Makefile.am
2997                 - Don't distribute nm-param-spec-specialized.h
2998
2999 2008-06-02  Tambet Ingo  <tambet@gmail.com>
3000
3001         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3002
3003         * src/nm-ip4-config.[ch]: Store the static routes as a list of
3004         NMIP4Address, update the getters and setters.
3005
3006         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3007         Use the updated NMIP4Config routes api.
3008
3009         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3010         static routes as well.
3011
3012         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3013         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3014         routes api.
3015
3016 2008-05-30  Dan Williams <dcbw@redhat.com>
3017
3018         * src/named-manager/nm-named-manager.c
3019           src/named-manager/nm-named-manager.h
3020                 - Remove stale/obsolete bits for controlling bind over DBus
3021
3022 2008-05-29  Dan Williams <dcbw@redhat.com>
3023
3024         * src/dnsmasq-manager/nm-dnsmasq-manager.c
3025           src/dnsmasq-manager/nm-dnsmasq-manager.h
3026                 - (nm_dnsmasq_manager_new): move iface argument here
3027                 - (constructor): remove, not needed
3028                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3029                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3030
3031         * src/nm-device.c
3032                 - (real_act_stage4_get_ip4_config,
3033                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3034                         changes
3035
3036 2008-05-29  Dan Williams <dcbw@redhat.com>
3037
3038         * src/nm-device.c
3039                 - (dnsmasq_state_changed_cb): new function; fail the connection if
3040                         something happens to dnsmasq
3041                 - (nm_device_new_ip4_shared_config): new function; create a new
3042                         ip4-config for shared connections.  Shared connections always use a
3043                         fixed static IP address.
3044                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3045                         autoip connections by actually using the returned ip4-config and
3046                         not leaking it
3047                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3048                         connections
3049                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3050                         if its active
3051
3052 2008-05-29  Dan Williams <dcbw@redhat.com>
3053
3054         * src/nm-device-802-11-wireless.c
3055                 - (real_get_best_auto_connection): auto-activate 'shared' method
3056                         connections too
3057
3058 2008-05-29  Dan Williams <dcbw@redhat.com>
3059
3060         * libnm-util/nm-setting-ip4-config.c
3061           libnm-util/nm-setting-ip4-config.h
3062                 - Add a 'shared' method to indicate that this connection should be
3063                         brought up with a DHCP and proxy DNS server to facilitate
3064                         connection sharing.
3065                 - (verify): 'shared' method doesn't allow DNS or searches either
3066
3067 2008-05-29  Dan Williams <dcbw@redhat.com>
3068
3069         * configure.in
3070           src/Makefile.am
3071           src/dnsmasq-manager/Makefile.am
3072           src/dnsmasq-manager/nm-dnsmasq-manager.c
3073           src/dnsmasq-manager/nm-dnsmasq-manager.h
3074                 - Add a dnsmasq daemon manager to facilitate connection sharing
3075
3076 2008-05-29  Dan Williams <dcbw@redhat.com>
3077
3078         * src/nm-device-private.h
3079                 - Remove unused prototypes and clean up
3080
3081         * src/nm-device.c
3082                 - Remove anything related to system_config_data, which is no longer used
3083                 - (nm_device_new_ip4_autoip_config): make static
3084
3085 2008-05-29  Tambet Ingo  <tambet@gmail.com>
3086
3087         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3088         (file_changed): Fix a bug where suse system settings plugin didn't
3089         update the connections automatically when the files changed.
3090
3091 2008-05-28  Dan Williams  <dcbw@redhat.com>
3092
3093         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3094
3095 2008-05-28  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_routes_with_iface): implement with libnl
3101                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3102                         was causing -EINVAL errors since the libnl code actually does flush
3103                         the routes on VPN interfaces now
3104
3105         * src/backends/NetworkManagerArch.c
3106           src/backends/NetworkManagerDebian.c
3107           src/backends/NetworkManagerFrugalware.c
3108           src/backends/NetworkManagerGeneric.c
3109           src/backends/NetworkManagerGentoo.c
3110           src/backends/NetworkManagerMandriva.c
3111           src/backends/NetworkManagerPaldo.c
3112           src/backends/NetworkManagerRedHat.c
3113           src/backends/NetworkManagerSlackware.c
3114           src/backends/NetworkManagerSuSE.c
3115                 - (nm_system_device_flush_ip4_routes,
3116                    nm_system_device_flush_ip4_routes_with_iface): remove
3117
3118 2008-05-28  Dan Williams  <dcbw@redhat.com>
3119
3120         * libnm-util/nm-setting-wireless.c
3121           libnm-util/nm-setting-wireless.h
3122                 - (set_property, get_property, nm_setting_wireless_class_init): add the
3123                         'adhoc-create' property, which when TRUE indicates that NM should
3124                         create this connection as an adhoc wifi network if it's not found
3125                         as an adhoc network during scanning.  Can be used to auto-create
3126                         adhoc networks when used in combination with autoconnect.
3127
3128 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3129
3130         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3131
3132         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3133         checked, it doesn't work on some devices.
3134
3135 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3136
3137         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
3138         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3139
3140         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3141         Use inet_aton() everywhere to improve error detection.
3142         Don't fall back to 'dhcp_server_identifier' if the gateway is not
3143         provided.
3144
3145 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3146
3147         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3148         Fix a typo.
3149
3150 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3151
3152         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3153         reference counting issue.
3154
3155 2008-05-23  Dan Williams  <dcbw@redhat.com>
3156
3157         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3158
3159         * src/backends/NetworkManagerGeneric.c
3160                 - (nm_generic_enable_loopback): use libnl
3161
3162 2008-05-23  Dan Williams  <dcbw@redhat.com>
3163
3164         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3165
3166         * src/NetworkManagerSystem.h
3167           src/backends/NetworkManagerArch.c
3168           src/backends/NetworkManagerDebian.c
3169           src/backends/NetworkManagerFrugalware.c
3170           src/backends/NetworkManagerGentoo.c
3171           src/backends/NetworkManagerMandriva.c
3172           src/backends/NetworkManagerPaldo.c
3173           src/backends/NetworkManagerRedHat.c
3174           src/backends/NetworkManagerSlackware.c
3175           src/backends/NetworkManagerSuSE.c
3176                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3177                    nm_system_flush_arp_cache): remove, unused
3178
3179         * src/backends/NetworkManagerGeneric.c
3180           src/backends/NetworkManagerGeneric.h
3181                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3182                    nm_generic_flush_arp_cache): remove, unused
3183
3184 2008-05-23  Dan Williams  <dcbw@redhat.com>
3185
3186         * system-settings/plugins/ifcfg-fedora/reader.c
3187                 - (make_ip4_setting): honor PEERDNS setting
3188
3189 2008-05-23  Dan Williams  <dcbw@redhat.com>
3190
3191         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3192
3193         * src/NetworkManagerSystem.c
3194                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3195                         libnl
3196
3197         * src/backends/NetworkManagerArch.c
3198           src/backends/NetworkManagerDebian.c
3199           src/backends/NetworkManagerFrugalware.c
3200           src/backends/NetworkManagerGentoo.c
3201           src/backends/NetworkManagerMandriva.c
3202           src/backends/NetworkManagerPaldo.c
3203           src/backends/NetworkManagerRedHat.c
3204           src/backends/NetworkManagerSlackware.c
3205           src/backends/NetworkManagerSuSE.c
3206                 - (nm_system_device_flush_ip4_addresses,
3207                    nm_system_device_flush_ip4_addresses_with_iface): remove
3208
3209         * src/backends/NetworkManagerGeneric.c
3210                 - (nm_generic_device_flush_ip4_addresses,
3211                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3212
3213 2008-05-23  Dan Williams  <dcbw@redhat.com>
3214
3215         * src/supplicant-manager/nm-supplicant-settings-verify.c
3216                 - Switch 'bssid' from bytes to keyword type
3217                 - (validate_type_keyword): allow NULL keyword lists
3218
3219         * src/supplicant-manager/nm-supplicant-config.c
3220                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3221                         a byte array to string form, which is what the supplicant expects
3222
3223 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3224
3225         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3226         information received from DHCP.
3227
3228         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3229         to make it possible to ignore the DNS information (both servers and 
3230         searches) returned by DHCP server.
3231
3232         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3233         name servers and searches if "ignore_dhcp_dns" is set.
3234
3235         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3236         (nm_ip4_config_reset_searches): Implement.
3237
3238 2008-05-22  Dan Williams  <dcbw@redhat.com>
3239
3240         Remove anything mDNS related.  This is better done from a distro-specific
3241         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3242         avahi, since avahi can handle interface changes just fine using netlink.
3243
3244         * configure.in
3245                 - Remove --with-mdns-provider
3246
3247         * src/NetworkManagerPolicy.c
3248                 - (global_state_changed): don't restart the mdns provider
3249
3250         * src/NetworkManagerSystem.h
3251           src/backends/NetworkManagerArch.c
3252           src/backends/NetworkManagerDebian.c
3253           src/backends/NetworkManagerFrugalware.c
3254           src/backends/NetworkManagerGentoo.c
3255           src/backends/NetworkManagerMandriva.c
3256           src/backends/NetworkManagerPaldo.c
3257           src/backends/NetworkManagerRedHat.c
3258           src/backends/NetworkManagerSlackware.c
3259           src/backends/NetworkManagerSuSE.c
3260                 - (nm_system_restart_mdns_responder): remove
3261
3262         * src/backends/NetworkManagerGeneric.c
3263           src/backends/NetworkManagerGeneric.h
3264                 - (nm_generic_restart_mdns_responder): remove
3265
3266 2008-05-22  Dan Williams  <dcbw@redhat.com>
3267
3268         * configure.in
3269                 - clean up crypto options; just use --with-crypto=nss or
3270                         --with-crypto=gnutls
3271
3272 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3273
3274         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3275         anymore, do it right away.
3276
3277 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3278
3279         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3280         serial device open when we're not connecting or connected.
3281
3282         * src/nm-cdma-device.c (device_state_changed): Ditto.
3283
3284 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3285
3286         Don't remove all devices on waking up, sync with HAL.
3287
3288         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3289         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3290         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3291
3292 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3293
3294         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3295         If the default gateway is unreachable, add a route to gateway and try
3296         again.
3297
3298 2008-05-20  Dan Williams  <dcbw@redhat.com>
3299
3300         * system-settings/plugins/ifcfg-fedora/reader.c
3301                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3302
3303 2008-05-19  Dan Williams  <dcbw@redhat.com>
3304
3305         * system-settings/plugins/ifcfg-fedora/reader.c
3306                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3307                         if the ifcfg doesn't specify one (rh #446527)
3308
3309 2008-05-19  Dan Williams  <dcbw@redhat.com>
3310
3311         Make the system settings service exit when the bus goes away.  Since it's
3312         a bus-activated service, it's lifetime is limited to the bus that activated
3313         it (rh #444976).
3314
3315         * system-settings/src/Makefile.am
3316           system-settings/src/nm-system-config-hal-manager-private.h
3317                 - Remove nm-system-config-hal-manager-private.h
3318
3319         * system-settings/src/nm-system-config-hal-manager.c
3320                 - (nm_system_config_hal_manager_reinit_dbus,
3321                    nm_system_config_hal_manager_deinit_dbus): remove
3322
3323         * system-settings/src/main.c
3324                 - (dbus_reconnect): remove
3325                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3326                 - (destroy_cb): just quit when the bus goes away
3327                 - (start_dbus_service, dbus_init): simplify
3328                 - (main): destroy the wired devices hash table after destroying
3329                         the HAL manager so we don't have to disconnect signals from the
3330                         HAL manager
3331
3332 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3333
3334         Move crypto functions from nm-applet to libnm-util.
3335
3336         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3337         (nm_setting_802_1x_set_client_cert)
3338         (nm_setting_802_1x_set_phase2_ca_cert)
3339         (nm_setting_802_1x_set_phase2_client_cert)
3340         (nm_setting_802_1x_set_private_key)
3341         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3342         file (or private key and it's password), read the certificate data.
3343
3344         * libnm-util/crypto_nss.c: 
3345         * libnm-util/crypto_gnutls.c: 
3346         * libnm-util/crypto.[ch]: Move here from nm-applet.
3347
3348         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3349
3350         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3351         Imlement WPA-EAP configuration reading from sysconfig.
3352
3353 2008-05-16  Dan Williams  <dcbw@redhat.com>
3354
3355         * src/nm-device-802-11-wireless.c
3356                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3357                         wireless
3358
3359 2008-05-14  Dan Williams  <dcbw@redhat.com>
3360
3361         Fix Linus' bug in rh #134886
3362
3363         * src/nm-device-802-3-ethernet.c
3364                 - (constructor): request initial carrier state
3365
3366         * src/nm-netlink-monitor.c
3367                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3368                         signals after refilling the link cache.  Because the refill is a 
3369                         synchronous operation, the normal message hander won't get called
3370                         since libnl has already consumed the messages.
3371                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3372
3373 2008-05-14  Dan Williams  <dcbw@redhat.com>
3374
3375         * src/NetworkManagerSystem.c
3376                 - (nm_system_device_is_up_with_iface): clean up
3377
3378 2008-05-13  Dan Williams  <dcbw@redhat.com>
3379
3380         Fix refcounting issues over sleep/wake when a VPN connection was active that
3381         caused NM to try registering an object path for a device upon wake that was
3382         the same as an already registered object path.
3383
3384         * src/nm-device.c
3385                 - (nm_device_take_down): properly handle cases where the device is
3386                         no longer active but was just active, and therefore must be
3387                         deactivated.  When a device moves to unmanaged mode, this function
3388                         previously would not deactivate the device, because the state was
3389                         already unmanaged by the time this function was called.
3390
3391         * src/vpn-manager/nm-vpn-connection.c
3392                 - (device_state_changed): properly handle multiple devices states in
3393                         which the device is now deactivated.  Code previously didn't handle
3394                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3395                         UNMANAGED states.
3396
3397 2008-05-13  Dan Williams  <dcbw@redhat.com>
3398
3399         * src/nm-device-private.h
3400           src/nm-device.c
3401                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3402
3403         * src/nm-device-802-11-wireless.c
3404                 - (nm_device_802_11_wireless_set_enabled): take devices up
3405                         and down as appropriate for the rfkill state
3406
3407 2008-05-13  Dan Williams  <dcbw@redhat.com>
3408
3409         * marshallers/nm-marshal.list
3410                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3411
3412         * system-settings/plugins/ifcfg-fedora/Makefile.am
3413           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3414           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3415                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3416                         events.  Solely for use watching ifcfg files to pick up changes
3417                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3418
3419         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3420                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3421                         file contents change
3422                 - (finalize): clean up inotify watches
3423                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3424                         and the connection ifcfg for changes on their hardlinks
3425                 - (files_changed_cb): proxy the changed signal back out to listeners
3426
3427         * system-settings/plugins/ifcfg-fedora/plugin.c
3428                 - (dir_changed): 
3429                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3430                         changes
3431                 - (read_one_connection): connect to change signals on the new connection
3432                 - (dir_changed, connection_changed_handler,
3433                    handle_connection_remove_or_new): break out connection change
3434                         handling and connection new/remove handling so it can be used from
3435                         both the GFileMonitor callback and the NMIfcfgConnection changed
3436                         signals
3437
3438         * system-settings/plugins/ifcfg-fedora/reader.c
3439           system-settings/plugins/ifcfg-fedora/reader.h
3440                 - (connection_from_file): return the keyfile path the connection would use
3441
3442 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3443
3444         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3445         single PolKitContext which is shared by all. PolKitContext::unref leaks
3446         just about everything, including all open file descriptiors and results
3447         in 99% cpu usage when data arrives to any of the fds that don't belong
3448         to any context anymore.
3449
3450 2008-05-12  Dan Williams  <dcbw@redhat.com>
3451
3452         * gfilemonitor/glocaldirectorymonitor.c
3453           gfilemonitor/glocaldirectorymonitor.h
3454                 - (g_local_directory_monitor_constructor): actually subscribe to the
3455                         watch
3456                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3457
3458         * gfilemonitor/glocalfilemonitor.c
3459           gfilemonitor/glocalfilemonitor.h
3460                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3461                 - (_g_local_file_monitor_new): ensure that inotify is started up
3462
3463 2008-05-11  Dan Williams  <dcbw@redhat.com>
3464
3465         * configure.in
3466                 - record PolicyKit version
3467
3468         * system-settings/src/nm-polkit-helpers.c
3469                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3470                         with PolicyKit <= 0.6
3471
3472 2008-05-11  Dan Williams  <dcbw@redhat.com>
3473
3474         Update Fedora system-settings plugin to support latest API and use
3475         GFileMonitor rather than home-rolled inotify code.
3476
3477         * system-settings/plugins/ifcfg-fedora/Makefile.am
3478           system-settings/plugins/ifcfg-fedora/common.h
3479           system-settings/plugins/ifcfg-fedora/plugin.c
3480                 - Update to latest system settings plugin API; use GIO instead of
3481                         custom inotify code; use NMIfcfgConnection objects instead of
3482                         ConnectionData structures tacked onto NMConnection objects
3483
3484         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3485           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3486                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3487                         connections
3488
3489         * system-settings/plugins/ifcfg-fedora/reader.c
3490           system-settings/plugins/ifcfg-fedora/reader.h
3491                 - Move ifcfg parsing bits here from parser.c
3492
3493         * system-settings/plugins/ifcfg-fedora/parser.c
3494           system-settings/plugins/ifcfg-fedora/parser.h
3495                 - Remove; most code moved to reader.c
3496
3497 2008-05-11  Dan Williams  <dcbw@redhat.com>
3498
3499         * configure.in
3500           Makefile.am
3501           gfilemonitor/*
3502                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3503                         implementation, so that the same change monitoring code can be used
3504                         on systems without glib-2.14 (like Fedora 8)
3505
3506         * system-settings/plugins/keyfile/Makefile.am
3507           system-settings/plugins/keyfile/plugin.c
3508           system-settings/plugins/ifcfg-suse/Makefile.am
3509           system-settings/plugins/ifcfg-suse/plugin.c
3510                 - Use private gfilemonitor code if GIO is not present
3511
3512 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3513
3514         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3515         NMExportedConnection's 'update' and 'delete' and return error with
3516         descriptive message.
3517
3518 2008-05-08  Dan Williams  <dcbw@redhat.com>
3519
3520         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3521
3522         * src/nm-gsm-device.c
3523           src/nm-cdma-device.c
3524                 - (real_get_best_auto_connection): implement; allow autoconnection
3525                         to GSM & CDMA devices
3526
3527 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3528
3529         Use PolicyKit to authorize the system settings' AddConnection method
3530         and the system settings connections' Update and Delete methods.
3531         
3532         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3533         (impl_exported_connection_delete, nm_exported_connection_update)
3534         (nm_exported_connection_delete): Return boolean and fill GError
3535         to notify the callers of the reasons why it might have failed.
3536
3537         * libnm-glib/nm-dbus-settings-system.c
3538         (nm_dbus_settings_system_add_connection): Return the error from dbus
3539         call so that the callers can see why it failed.
3540
3541         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3542         signatures.
3543
3544         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3545
3546         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3547         abstract base class that checks PolicyKit permissions.
3548
3549         * system-settings/src/dbus-settings.c:
3550         (impl_settings_add_connection): Check the policy before carring out
3551         the request.
3552
3553         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3554         Inherit from NMSysconfigConnection, check the policies before
3555         allowing updating or removing.
3556
3557         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3558         Inherit from NMSysconfigConnection.
3559
3560         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3561         "Delete" methods with async flag so that the implementations can get
3562         access to DBusGMethodInvocation.
3563
3564         * system-settings/src/dbus-settings.c 
3565         (settings_add_connection_check_privileges): Implement.
3566         (impl_settings_add_connection): Check the privileges before adding a new
3567         connection. Improve error reporting.
3568
3569         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3570         async so that the implementation can access DBusGMethodInvocation.
3571
3572         * configure.in: Check for PolicyKit.
3573
3574         * policy/org.freedesktop.network-manager-settings.system.policy: 
3575         New file.
3576
3577         * policy/Makefile.am: Install the policy file.
3578
3579         * configure.in: Add 'policy' subdir.
3580
3581 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3582
3583         Rewrite the suse system settings plugin.
3584
3585         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3586
3587         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3588
3589         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3590
3591         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3592
3593         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3594
3595         * system-settings/src/main.c (load_plugins): Improve error reporting.
3596
3597         * system-settings/src/sha1.[ch] Add.
3598
3599         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3600
3601 2008-05-07  Dan Williams  <dcbw@redhat.com>
3602
3603         * system-settings/plugins/keyfile/reader.c
3604                 - (read_one_setting_value): handle IP address items separately
3605                 - (read_array_of_uint): read IPv4 DNS option as a string array
3606                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3607                         array
3608
3609         * system-settings/plugins/keyfile/writer.c
3610                 - (write_setting_value): handle IP address items separately
3611                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3612                         not an array of uint, so that it's user-editable
3613                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3614                         arrays, so they are user-editable
3615
3616 2008-05-07  Dan Williams  <dcbw@redhat.com>
3617
3618         * system-settings/plugins/keyfile/Makefile.am
3619                 - Change location of the keyfile plugin settings to
3620                         /etc/NetworkManager/system-connections
3621
3622 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3623
3624         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3625
3626         * system-settings/plugins/keyfile/plugin.c: Work with
3627         NMKeyfileConnections.
3628
3629         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3630         Plugins are supposed to return NMExportedConnections now and handle the
3631         updated(), removed(), and GetSecrets().
3632         Store the internal list of connections in hash table to make it easier
3633         to find duplicates.
3634
3635 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3636
3637         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3638         for multiple IP addresses.
3639
3640 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3641
3642         Patch from André Lemos.
3643
3644         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3645         corruption.
3646
3647 2008-05-06  Dan Williams  <dcbw@redhat.com>
3648
3649         * src/dhcp-manager/nm-dhcp-manager.c
3650                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3651                         NMIP4Config to support multiple IP addresses
3652
3653         * src/NetworkManagerUtils.c
3654                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3655
3656         * src/nm-ip4-config.c
3657           src/nm-ip4-config.h
3658                 - Store a list of IPv4 address/netmask/gateway tuples
3659                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3660                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3661                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3662                    nm_ip4_config_set_address): remove
3663                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3664                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3665                         new functions; handle multiple IPv4 addresses
3666
3667         * src/nm-device.c
3668           src/ppp-manager/nm-ppp-manager.c
3669           src/vpn-manager/nm-vpn-connection.c
3670           src/NetworkManagerPolicy.c
3671           test/nm-tool.c
3672           libnm-glib/libnm-glib-test.c
3673                 - update for changes to NMIP4Config for multiple IPv4 addresses
3674
3675         * src/NetworkManagerSystem.c
3676                 - (nm_system_device_set_ip4_route): don't add the route if any address
3677                         is on the same subnet as the destination
3678                 - (check_one_address): ignore the exact match, just match family and
3679                         interface index
3680                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3681                         an interface
3682                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3683                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3684
3685         * introspection/nm-ip4-config.xml
3686                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3687                 - Add 'addresses' property which is an array of (uuu) tuples of
3688                         address/netmask/gateway
3689
3690         * libnm-util/nm-setting-ip4-config.c
3691                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3692
3693         * libnm-glib/nm-ip4-config.c
3694           libnm-glib/nm-ip4-config.h
3695                 - Handle D-Bus interface changes to support multiple IP addresses
3696
3697 2008-05-06  Dan Williams  <dcbw@redhat.com>
3698
3699         * libnm-util/nm-utils.c
3700           libnm-util/nm-utils.h
3701                 - (nm_utils_ip4_addresses_from_gvalue,
3702                    nm_utils_ip4_addresses_to_gvalue): new functions
3703
3704 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3705
3706         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3707         the returned connection paths.
3708
3709 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3710
3711         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3712         "PropertiesChanged" signal signature.
3713
3714         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3715         defined in nm-dbus-glib-types.h.
3716         Don't register the connection on dbus, we're a proxy class to 
3717         communicate with an already registered connection over dbus.
3718
3719 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3720
3721         Implement new subclasses of NMSettings and NMExportedConnection to make
3722         it easier for the applet to access and modify system settings.
3723
3724         * libnm-glib/nm-dbus-connection.[ch]:
3725         * libnm-glib/nm-dbus-settings.[ch]:
3726         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3727
3728         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3729         bindings and glue.
3730
3731         * include/NetworkManager.h: Define the system settings DBus interface.
3732
3733 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3734
3735         Implement additional C API for exported connections to make them identical
3736         with the DBus API. Change the (list_connections) virtual function to be
3737         more usable from C - instead of requiring implementers to return a GPtrArray
3738         of dbus paths, return a list of connections.
3739
3740         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3741         (nm_settings_list_connections):
3742         (nm_exported_connection_new):
3743         (nm_exported_connection_update):
3744         (nm_exported_connection_delete): Implement.
3745
3746         (impl_settings_list_connections):
3747         (impl_exported_connection_update):
3748         (impl_exported_connection_delete): Use the new public functions to make 
3749         sure the C and dbus interfaces stay in sync.
3750
3751         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3752         connections.
3753
3754 2008-05-02  Dan Williams  <dcbw@redhat.com>
3755
3756         * system-settings/plugins/ifcfg-fedora/plugin.c
3757                 - (dispose): use right unref call on the DBusGConnection
3758
3759 2008-05-02  Dan Williams  <dcbw@redhat.com>
3760
3761         * src/nm-serial-device.c
3762                 - (find_terminator): don't compare the whole line, just the size of the
3763                         terminator, since some modems put stuff after the terminator, like
3764                         "CONNECT 9600"
3765
3766 2008-05-01  Dan Williams  <dcbw@redhat.com>
3767
3768         Patch from Michael Biebl <biebl@debian.org>
3769
3770         * callouts/Makefile.am
3771           callouts/org.freedesktop.nm_dispatcher.service.in
3772           system-settings/src/Makefile.am
3773           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3774                 - use the right install location for dbus-activated stuff
3775
3776 2008-04-30  Dan Williams  <dcbw@redhat.com>
3777
3778         * src/nm-gsm-device.c
3779                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3780                         PIN or PUK
3781
3782 2008-04-30  Dan Williams  <dcbw@redhat.com>
3783
3784         * src/nm-manager.c
3785                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3786
3787 2008-04-30  Dan Williams  <dcbw@redhat.com>
3788
3789         * src/nm-device-802-3-ethernet.c
3790           src/nm-device-802-11-wireless.c
3791                 - (real_is_up): return true instead of chaining up to unimplemented
3792                         parent method
3793
3794 2008-04-30  Dan Williams  <dcbw@redhat.com>
3795
3796         * src/NetworkManagerSystem.c
3797           src/NetworkManagerSystem.h
3798                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3799                         functions to check device flags for IFF_UP
3800
3801         * src/nm-serial-device.c
3802                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3803                         implement is_up
3804
3805         * src/nm-device-802-3-ethernet.c
3806           src/nm-device-802-11-wireless.c
3807                 - (real_hw_is_up): call nm_system_device_is_up()
3808
3809         * src/nm-device.c
3810                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3811                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3812                         does not implement
3813
3814 2008-04-29  Dan Williams  <dcbw@redhat.com>
3815
3816         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3817
3818         * marshallers/nm-marshal.list
3819                 - Add marshaller
3820
3821         * src/NetworkManager.c
3822                 - (main): let the NMManager handle the NMHalManager
3823
3824         * src/nm-hal-manager.c
3825           src/nm-hal-manager.h
3826                 - convert to a GObject, and emit singals when stuff changes.  Let the
3827                         NMManager handle the signals, instead of the NMHalManager calling
3828                         into the NMManager.  
3829
3830         * src/nm-manager.c
3831           src/nm-manager.h
3832                 - (remove_one_device): consolidate device removals here
3833                 - (dispose): use remove_one_device()
3834                 - (nm_manager_get_device_by_udi): make static
3835                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3836                         manager for devices at startup or wakeup time
3837                 - (nm_manager_new): create and monitor the HAL manager
3838                 - (hal_manager_udi_added_cb): new function; do what
3839                         nm_manager_add_device() used to do when signalled by the hal manager
3840                 - (hal_manager_udi_removed_cb): new function; do what
3841                         nm_manager_remove_device() used to do when signalled by the hal
3842                         manager
3843                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3844                         hal manager
3845                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3846                         in our device list that aren't known to HAL
3847                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3848                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3849                         commits ago
3850                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3851                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3852                    nm_manager_wireless_hardware_enabled,
3853                    nm_manager_set_wireless_hardware_enabled): remove, unused
3854
3855 2008-04-28  Dan Williams  <dcbw@redhat.com>
3856
3857         Fix the device up/down ambiguities.  Up/down state used to be a
3858         conglomeration of hardware state (IFF_UP) and any device-specific things
3859         (supplicant, periodic timers, etc) that the device used to indicate
3860         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3861         reason, then the device specific stuff wouldn't get run, and the device
3862         would be stuck.
3863
3864         * src/nm-device.c
3865           src/nm-device.h
3866                 - Create hw_is_up, hw_bring_up, and hw_take_down
3867                 - Rename bring_down -> take_down
3868                 - (real_hw_is_up): check interface flags for IFF_UP
3869                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3870                 - (nm_device_is_up): make static; only used locally
3871                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3872                         if the device is already up; if the device isn't up, bring it up
3873                 - (nm_device_hw_take_down): just take down hardware
3874                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3875                 - (nm_device_take_down): always deactivate device when called; always
3876                         try to take hardware down too
3877                 - (nm_device_state_changed): take device down when entering unmanaged
3878                         state from a higher state
3879
3880         * src/nm-device-802-11-wireless.c
3881                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3882                         check IFF_UP really
3883                 - (real_take_down, supplicant_iface_state_cb_handler, 
3884                    supplicant_iface_connection_state_cb_handler,
3885                    supplicant_mgr_state_cb_handler): fix some messages
3886
3887         * src/nm-device-802-3-ethernet.c
3888                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3889                         check IFF_UP really
3890
3891 2008-04-28  Dan Williams  <dcbw@redhat.com>
3892
3893         * src/nm-manager.c
3894           src/nm-manager.h
3895                 - (nm_manager_error_get_type): add new error
3896                 - (nm_manager_remove_device): don't bother taking down the device here,
3897                         the state change from unmanaging the device will do it
3898                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3899                         uses it; when going to sleep, just unmanage the device instead of
3900                         taking it down, because stuff will cleaned up correctly when the
3901                         device gets unmanaged
3902
3903 2008-04-28  Dan Williams  <dcbw@redhat.com>
3904
3905         * src/nm-hal-manager.c
3906                 - (add_initial_devices): convert to a GSourceFunc prototype
3907                 - (nm_manager_state_changed): when coming out of sleep, punt the
3908                         device re-addition to an idle handler to let D-Bus events go out
3909                         first, fixing a potential dbus-glib assert if the old device was
3910                         not yet disposed (due to references held while emitting the D-Bus
3911                         signals) but the new device was found, because the mainloop didn't
3912                         run between signal emission and add_initial_devices()
3913
3914 2008-04-27  Dan Williams  <dcbw@redhat.com>
3915
3916         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3917
3918         * initscript/paldo/NetworkManager.in
3919           initscript/SUSE/networkmanager.in
3920                 - Remove last bits of dhcdbd
3921
3922 2008-04-27  Dan Williams  <dcbw@redhat.com>
3923
3924         * src/nm-device-802-11-wireless.c
3925                 - (link_timeout_cb): don't ask for secrets when disconnected during
3926                         association/authentication phase, drivers are still just too crappy
3927
3928 2008-04-27  Dan Williams  <dcbw@redhat.com>
3929
3930         * Makefile.am
3931           configure.in
3932           dispatcher-daemon/Makefile.am
3933           dispatcher-daemon/NetworkManagerDispatcher.c
3934           initscript/Arch/Makefile.am
3935           initscript/Arch/networkmanager-dispatcher.in
3936           initscript/Gentoo/Makefile.am
3937           initscript/Gentoo/NetworkManagerDispatcher.in
3938           initscript/Mandriva/Makefile.am
3939           initscript/Mandriva/networkmanagerdispatcher.in
3940           initscript/RedHat/Makefile.am
3941           initscript/RedHat/NetworkManagerDispatcher.in
3942           initscript/SUSE/Makefile.am
3943           initscript/SUSE/networkmanager-dispatcher.in
3944           initscript/Slackware/Makefile.am
3945           initscript/Slackware/rc.networkmanager-dispatcher.in
3946           initscript/paldo/Makefile.am
3947           initscript/paldo/NetworkManagerDispatcher.in
3948           man/Makefile.am
3949           man/NetworkManagerDispatcher.8.in
3950                 - Remove the dispatcher daemon
3951
3952 2008-04-27  Dan Williams  <dcbw@redhat.com>
3953
3954         * callouts/Makefile.am
3955           callouts/nm-dispatcher-action.c
3956           callouts/nm-dispatcher-action.h
3957           callouts/nm-dispatcher.conf
3958           callouts/nm-dispatcher.xml
3959           callouts/org.freedesktop.nm_dispatcher.service
3960                 - Re-implement the dispatcher as a system-bus activated service that
3961                         NM calls on-demand, rather than an always running daemon
3962
3963         * src/Makefile.am
3964                 - Add callouts dir to includes to pick up dispatcher defines
3965
3966         * src/nm-device.c
3967                 - (nm_device_state_changed): call dispatcher on device activated/
3968                         deactivated
3969
3970         * src/vpn-manager/nm-vpn-connection.c
3971                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3972                         go up and down
3973
3974         * src/NetworkManagerUtils.c
3975           src/NetworkManagerUtils.h
3976                 - (nm_utils_call_dispatcher): helper to call dispatcher
3977
3978 2008-04-27  Dan Williams  <dcbw@redhat.com>
3979
3980         * src/NetworkManagerUtils.c
3981           src/NetworkManagerUtils.h
3982                 - remove unneeded includes
3983                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3984                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3985                    nm_timeval_cmp, nm_timeval_add): remove, unused
3986                 - clean up formatting
3987                 - (nm_spawn_process): de-uglify
3988
3989         * src/nm-device-802-11-wireless.c
3990                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3991
3992 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3993
3994         * initscript/Gentoo/NetworkManager.in:
3995                 Fix for starting the daemon.
3996
3997 2008-04-25  Dan Williams  <dcbw@redhat.com>
3998
3999         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4000
4001         * src/NetworkManagerSystem.c
4002                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4003
4004 2008-04-25  Dan Williams  <dcbw@redhat.com>
4005
4006         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4007
4008         * src/NetworkManagerSystem.c
4009                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4010                         implementation of nm_system_device_replace_default_route()
4011
4012         * src/NetworkManagerPolicy.c
4013                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4014
4015         * src/backends/NetworkManagerArch.c
4016           src/backends/NetworkManagerDebian.c
4017           src/backends/NetworkManagerFrugalware.c
4018           src/backends/NetworkManagerGeneric.c
4019           src/backends/NetworkManagerGeneric.h
4020           src/backends/NetworkManagerGentoo.c
4021           src/backends/NetworkManagerMandriva.c
4022           src/backends/NetworkManagerPaldo.c
4023           src/backends/NetworkManagerRedHat.c
4024           src/backends/NetworkManagerSlackware.c
4025           src/backends/NetworkManagerSuSE.c
4026                 - (nm_system_device_replace_default_route): remove
4027
4028 2008-04-25  Dan Williams  <dcbw@redhat.com>
4029
4030         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4031
4032         * src/NetworkManagerSystem.c
4033                 - (validate_ip4_route): remove; use nl_addr_parse() instead
4034                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4035                         replace nm_system_device_add_route_via_device_with_iface() in the
4036                         backends
4037
4038         * src/backends/NetworkManagerArch.c
4039           src/backends/NetworkManagerDebian.c
4040           src/backends/NetworkManagerFrugalware.c
4041           src/backends/NetworkManagerGeneric.c
4042           src/backends/NetworkManagerGeneric.h
4043           src/backends/NetworkManagerGentoo.c
4044           src/backends/NetworkManagerMandriva.c
4045           src/backends/NetworkManagerPaldo.c
4046           src/backends/NetworkManagerRedHat.c
4047           src/backends/NetworkManagerSlackware.c
4048           src/backends/NetworkManagerSuSE.c
4049                 - Remove nm_system_device_add_route_via_device_with_iface()
4050
4051 2008-04-25  Dan Williams  <dcbw@redhat.com>
4052
4053         * system-settings/plugins/ifcfg-fedora/parser.c
4054                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4055
4056 2008-04-24  Dan Williams  <dcbw@redhat.com>
4057
4058         * dispatcher-daemon/NetworkManagerDispatcher.c
4059                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4060
4061 2008-04-24  Dan Williams  <dcbw@redhat.com>
4062
4063         * initscript/RedHat/NetworkManager.in
4064           initscript/RedHat/NetworkManagerDispatcher.in
4065                 - Be active at runlevel 2
4066                 - Adjust priorities earlier
4067
4068 2008-04-22  Dan Williams  <dcbw@redhat.com>
4069
4070         * src/NetworkManagerPolicy.c
4071                 - (update_routing_and_dns): when checking for a gateway, look at the
4072                         composite IP4 config, not the connection's ip4-config setting, which
4073                         doesn't include DHCP-returned information
4074
4075 2008-04-22  Tambet Ingo  <tambet@gmail.com>
4076
4077         Implement GKeyFile system settings plugin.
4078         Implement writing system settings (currently supported only by GKeyFile plugin).
4079
4080         * system-settings/src/main.c: 
4081         * system-settings/src/dbus-settings.c: Move the communication with plugins
4082         from main.c to dbus-settings.c. Makes it possible to talk to all registered
4083         plugins for adding/updating/removing connections.
4084
4085         * system-settings/src/nm-system-config-interface.c
4086         (nm_system_config_interface_add_connection): Implement
4087         (nm_system_config_interface_update_connection): Implement.
4088         (nm_system_config_interface_remove_connection): Implement.
4089
4090         * system-settings/plugins/keyfile/Makefile.am:
4091         * system-settings/plugins/keyfile/plugin.[ch]:
4092         * system-settings/plugins/keyfile/writer.[ch]:
4093         * system-settings/plugins/keyfile/reader.[ch]: Implement.
4094
4095         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4096
4097         * configure.in: Generate GKeyFile Makefile.
4098
4099         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4100         corruption, need to duplicate the returned string.
4101         (impl_exported_connection_update): Implement.
4102         (impl_exported_connection_delete): Implement.
4103
4104         * introspection/nm-settings-system.xml: Add "AddConnection" method.
4105
4106         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4107
4108 2008-04-22  Dan Williams  <dcbw@redhat.com>
4109
4110         Patch from Charles R. Anderson (cra@wpi.edu)
4111
4112         * src/NetworkManagerPolicy.c
4113                 - (update_routing_and_dns): don't select devices without a gateway
4114                         as having the default route (rh #437338)
4115
4116 2008-04-21  Dan Williams  <dcbw@redhat.com>
4117
4118         * src/nm-activation-request.c
4119           src/nm-activation-request.h
4120                 - (dispose): ensure to disconnect from the device's state-changed signal
4121                         when appropriate so the signal doesn't get handled by an already
4122                         disposed NMActRequest
4123                 - (device_state_changed): update is_default here too just to make sure
4124                         default is only True when the child device is activated
4125                 - (nm_act_request_set_default): new function
4126
4127         * src/NetworkManagerPolicy.c
4128                 - (update_routing_and_dns): set 'default' on the active connection which
4129                         has the default route and DNS
4130
4131 2008-04-21  Dan Williams  <dcbw@redhat.com>
4132
4133         * src/NetworkManagerPolicy.c
4134                 - (device_state_changed): update routing and DNS when a device goes
4135                         into unmanaged or unavailable states too (like rfkill or carrier loss)
4136
4137 2008-04-21  Dan Williams  <dcbw@redhat.com>
4138
4139         * include/NetworkManager.h
4140                 - Add NMActiveConnectionState enum
4141
4142         * introspection/nm-active-connection.xml
4143           introspection/nm-vpn-connection.xml
4144                 - Add 'State' property for overall active connection state
4145                 - Add 'Default' property, when True means this active connection
4146                         has the default route
4147                 - Add PropertyChanged signals so changes actually go out over the bus
4148
4149         * src/nm-active-connection.h
4150                 - Add defines for State & Default properties
4151
4152         * src/nm-activation-request.c
4153                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4154                         signal to determine active connection state
4155
4156         * src/vpn-manager/nm-vpn-connection.c
4157           src/vpn-manager/nm-vpn-connection.h
4158           src/vpn-manager/nm-vpn-manager.c
4159           src/vpn-manager/nm-vpn-service.c
4160                 - Rename old 'state' to 'vpn-state'
4161                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4162                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4163                         'vpn-state-changed' signal
4164
4165         * libnm-glib/nm-active-connection.c
4166           libnm-glib/nm-active-connection.h
4167                 - Add new 'state' and 'default' properties and accessors
4168
4169         * libnm-glib/nm-vpn-connection.c
4170           libnm-glib/nm-vpn-connection.h
4171                 - Rename old 'state' property to 'vpn-state'
4172                 - Add new 'state' and 'default' properties and accessors
4173
4174 2008-04-21  Dan Williams  <dcbw@redhat.com>
4175
4176         * src/nm-ip4-config.c
4177                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4178                         not specified (rh #443474)
4179
4180 2008-04-20  Dan Williams  <dcbw@redhat.com>
4181
4182         * src/NetworkManagerUtils.c
4183           src/NetworkManagerUtils.h
4184                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4185                         NMSettingIP4Config to an NMIP4Config object
4186
4187         * src/nm-device.c
4188                 - (merge_ip4_config): move to NetworkManagerUtils.c
4189
4190         * src/vpn-manager/nm-vpn-connection.c
4191                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4192                         too
4193
4194 2008-04-18  Dan Williams  <dcbw@redhat.com>
4195
4196         * libnm-util/nm-setting-ppp.c
4197           libnm-util/nm-setting-ppp.h
4198                 - Add 'no-vj-comp' option for TCP header compression
4199                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4200                         uint32
4201
4202 2008-04-18  Dan Williams  <dcbw@redhat.com>
4203
4204         * libnm-util/nm-setting-ppp.c
4205           libnm-util/nm-setting-ppp.h
4206           src/ppp-manager/nm-ppp-manager.c
4207                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4208
4209 2008-04-18  Dan Williams  <dcbw@redhat.com>
4210
4211         * libnm-util/nm-setting-ppp.c
4212           libnm-util/nm-setting-ppp.h
4213           src/ppp-manager/nm-ppp-manager.c
4214                 - Remove the 'usepeerdns' option and always request DNS servers from
4215                         the PPP server; the connection chooses to use/override/ignore the
4216                         DNS servers returned from the PPP server
4217
4218 2008-04-18  Dan Williams  <dcbw@redhat.com>
4219
4220         * libnm-util/nm-setting-ppp.c
4221           libnm-util/nm-setting-ppp.h
4222           src/ppp-manager/nm-ppp-manager.c
4223                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4224                         it seems to have been an erroneous addition to the PPTP plugin in
4225                         the first place (from which the ppp-manager is derived)
4226
4227 2008-04-17  Dan Williams  <dcbw@redhat.com>
4228
4229         * libnm-util/nm-setting-pppoe.c
4230                 - (verify): require a PPP setting too
4231
4232         * src/ppp-manager/nm-ppp-manager.c
4233                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4234                         segfaulting
4235
4236 2008-04-17  Dan Williams  <dcbw@redhat.com>
4237
4238         * src/nm-device.c
4239                 - (nm_device_state_changed): do deactivation and and promotion to
4240                         unavailable here, so that the device gets cleaned up before the
4241                         manager runs and starts emitting signals; do the
4242                         FAILED->DISCONNECTED transition from an idle handler rather than
4243                         immediately to guard against recursion
4244                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4245                         FAILED->DISCONNECTED handler if it's scheduled
4246
4247 2008-04-17  Dan Williams  <dcbw@redhat.com>
4248
4249         * src/nm-device-802-11-wireless.c
4250                 - (state_changed_cb): clear AP list when device transitions to
4251                         unavailable or unmanaged
4252                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4253                         since this is already done in device_cleanup()
4254                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4255                         isn't available or managed
4256                 - (device_cleanup): use remove_all_aps()
4257                 - (remove_all_aps): consolidate code removing all APs
4258
4259 2008-04-17  Dan Williams  <dcbw@redhat.com>
4260
4261         * src/nm-serial-device.c
4262           src/nm-serial-device.h
4263                 - (wait_for_reply_got_data): break input into lines, and search each
4264                         line for responses _and_ terminator strings; also make sure that
4265                         the read loop doesn't continue after the timeout is supposed to fire
4266                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4267
4268         * src/nm-gsm-device.c
4269           src/nm-cdma-device.c
4270                 - Send terminators to nm_serial_device_wait_for_reply()
4271
4272 2008-04-16  Dan Williams  <dcbw@redhat.com>
4273
4274         Patch from 陈鑫 <znscnchen@gmail.com>
4275
4276         * src/ppp-manager/nm-pppd-plugin.c
4277                 - (get_credentials): return correct value for success; handle case where
4278                         pppd just does some checking but doesn't want a password
4279                 - (plugin_init): make CHAP work too
4280
4281 2008-04-16  Dan Williams  <dcbw@redhat.com>
4282
4283         Patch from 陈鑫 <znscnchen@gmail.com>
4284
4285         * src/ppp-manager/nm-ppp-manager.c
4286                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4287
4288 2008-04-16  Dan Williams  <dcbw@redhat.com>
4289
4290         Patch from 陈鑫 <znscnchen@gmail.com>
4291
4292         * src/nm-device-802-3-ethernet.c
4293                 - (real_deactivate_quickly): clear the IP interface name on
4294                         deactivation, otherwise the wrong interface might get used later
4295                         for routing and IP management
4296
4297 2008-04-15  Dan Williams  <dcbw@redhat.com>
4298
4299         * libnm-glib/nm-device.c
4300                 - (get_product_and_vendor): handle serial devices correctly
4301                 - (nm_device_update_description): pass device to get_product_and_vendor()
4302
4303 2008-04-15  Dan Williams  <dcbw@redhat.com>
4304
4305         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4306
4307         * src/NetworkManagerSystem.h
4308           src/backends/NetworkManagerArch.c
4309           src/backends/NetworkManagerDebian.c
4310           src/backends/NetworkManagerFrugalware.c
4311           src/backends/NetworkManagerGeneric.c
4312           src/backends/NetworkManagerGeneric.h
4313           src/backends/NetworkManagerGentoo.c
4314           src/backends/NetworkManagerMandriva.c
4315           src/backends/NetworkManagerPaldo.c
4316           src/backends/NetworkManagerRedHat.c
4317           src/backends/NetworkManagerSlackware.c
4318           src/backends/NetworkManagerSuSE.c
4319           src/nm-device.c
4320                 - (nm_generic_device_add_ip6_link_address,
4321                    nm_system_device_add_ip6_link_address): remove
4322
4323 2008-04-15  Dan Williams  <dcbw@redhat.com>
4324
4325         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4326
4327         * src/backends/NetworkManagerArch.c
4328           src/backends/NetworkManagerDebian.c
4329           src/backends/NetworkManagerFrugalware.c
4330           src/backends/NetworkManagerGeneric.c
4331           src/backends/NetworkManagerGeneric.h
4332           src/backends/NetworkManagerGentoo.c
4333           src/backends/NetworkManagerMandriva.c
4334           src/backends/NetworkManagerPaldo.c
4335           src/backends/NetworkManagerRedHat.c
4336           src/backends/NetworkManagerSlackware.c
4337           src/backends/NetworkManagerSuSE.c
4338           src/NetworkManagerSystem.h
4339                 - flush_routes -> flush_ip4_routes
4340                 - flush_addresses -> flush_ip4_addresses
4341
4342         * src/NetworkManagerSystem.c
4343           src/nm-device.c
4344           src/vpn-manager/nm-vpn-connection.c
4345                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4346
4347 2008-04-15  Dan Williams  <dcbw@redhat.com>
4348
4349         Remove exposure of wireless-tools mode types in the API.
4350
4351         * include/NetworkManager.h
4352                 - Define NM80211Mode enum
4353
4354         * introspection/generic-types.xml
4355                 - Describe NM_802_11_MODE enum
4356                 - Remove IW_MODE_* enum
4357
4358         * introspection/nm-access-point.xml
4359           libnm-glib/nm-access-point.c
4360           libnm-glib/nm-access-point.h
4361                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4362
4363         * introspection/nm-device-802-11-wireless.xml
4364           libnm-glib/nm-device-802-11-wireless.c
4365           libnm-glib/nm-device-802-11-wireless.h
4366                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4367
4368         * libnm-util/nm-setting-wireless.c
4369           src/NetworkManagerAP.c
4370           src/NetworkManagerAP.h
4371           src/nm-device-802-11-wireless.c
4372           src/nm-device-802-11-wireless.h
4373           test/nm-tool.c
4374                 - Use NM80211Mode not IW_MODE_*
4375
4376 2008-04-15  Dan Williams  <dcbw@redhat.com>
4377
4378         Enhance nm-online based on a patch from Bill Nottingham.
4379
4380         * test/nm-online.c
4381                 - Add a '-q' option
4382                 - Add help messages and option summary
4383                 - Add long-format options
4384                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4385
4386 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4387
4388         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4389
4390         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4391
4392 2008-04-15  Dan Williams  <dcbw@redhat.com>
4393
4394         * nm-setting-ip4-config.c
4395                 - (ip4_addresses_from_gvalue): handle NULL address array
4396
4397         * nm-setting-8021x.c
4398                 - (verify_tls, verify_ttls): warn on failed verification
4399
4400 2008-04-10  Dan Williams  <dcbw@redhat.com>
4401
4402         * src/nm-gsm-device.c
4403                 - (automatic_registration): accept "+CREG: 0,0"
4404                 - (automatic_registration_response): fail on "+CREG: 0,0"
4405
4406 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4407
4408         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4409
4410 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4411
4412         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4413         Make it compile again by commenting out broken code that at first didn't work and
4414         now didn't compile either.
4415
4416 2008-04-08  Dan Williams  <dcbw@redhat.com>
4417
4418         * libnm-glib/nm-object-cache.c
4419           libnm-glib/nm-settings.c
4420           src/dhcp-manager/nm-dhcp-manager.c
4421           system-settings/plugins/ifcfg-fedora/plugin.c
4422           system-settings/plugins/ifcfg-suse/plugin.c
4423           system-settings/src/nm-system-config-hal-manager.c
4424           libnm-util/nm-utils.c
4425                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4426                         not threadsafe anyway
4427
4428 2008-04-08  Dan Williams  <dcbw@redhat.com>
4429
4430         * system-settings/src/main.c
4431                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4432                         callbacks take a device type too
4433
4434 2008-04-08  Dan Williams  <dcbw@redhat.com>
4435
4436         The system settings service will now create a new default DHCP connection
4437         for wired devices that have no existing applicable connection.
4438
4439         * system-settings/src/nm-system-config-hal-manager.c
4440           system-settings/src/nm-system-config-hal-manager.h
4441                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4442
4443         * system-settings/src/dbus-settings.c
4444           system-settings/src/dbus-settings.h
4445                 - (nm_sysconfig_settings_get_connections): new function
4446                 - (nm_sysconfig_settings_is_device_managed): new function
4447
4448         * system-settings/src/main.c
4449                 - (load_stuff): check for wired devices that need a default connection
4450                 - (get_details_for_udi): get interface and MAC address from HAL
4451                 - (add_default_dhcp_connection): add a default connection for a wired
4452                         device if needed
4453                 - (device_added_cb, device_removed_cb): do the right thing with
4454                         wired devices and their default connections on HAL device events
4455
4456 2008-04-07  Dan Williams  <dcbw@redhat.com>
4457
4458         * libnm-glib/nm-device.c
4459           libnm-glib/nm-device.h
4460                 - Proxy the 'managed' property
4461
4462 2008-04-07  Dan Williams  <dcbw@redhat.com>
4463
4464         * src/nm-gsm-device.c
4465           src/nm-cdma-device.c
4466                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4467                         handler to transition to DISCONNECTED
4468
4469 2008-04-07  Dan Williams  <dcbw@redhat.com>
4470
4471         Patch from Bill Nottingham
4472
4473         * dispatcher-daemon/NetworkManagerDispatcher.c
4474                 - ignore backup/packaging crufy (rh #440143)
4475
4476 2008-04-07  Dan Williams  <dcbw@redhat.com>
4477
4478         * include/NetworkManager.h
4479                 - Remove the DOWN and CANCELLED device states
4480                 - Add UNMANAGED and UNAVAILABLE device states
4481                 - Document the device states
4482
4483         * introspection/nm-device.xml
4484           src/nm-device-interface.c
4485           src/nm-device-interface.h
4486                 - Add the 'managed' property
4487
4488         * test/nm-tool.c
4489                 - (detail_device): print out device state
4490
4491         * src/NetworkManagerSystem.h
4492           src/backends/NetworkManagerArch.c
4493           src/backends/NetworkManagerDebian.c
4494           src/backends/NetworkManagerFrugalware.c
4495           src/backends/NetworkManagerGentoo.c
4496           src/backends/NetworkManagerMandriva.c
4497           src/backends/NetworkManagerPaldo.c
4498           src/backends/NetworkManagerRedHat.c
4499           src/backends/NetworkManagerSlackware.c
4500           src/backends/NetworkManagerSuSE.c
4501                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4502                    nm_system_device_free_system_config): remove; they were unused and
4503                         their functionality should be re-implemented in each distro's
4504                         system settings service plugin 
4505
4506         * src/nm-gsm-device.c
4507           src/nm-gsm-device.h
4508           src/nm-cdma-device.c
4509           src/nm-cdma-device.h
4510                 - (*_new): take the 'managed' argument
4511
4512         * src/nm-device.c
4513                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4514                 - (nm_device_init): start in unmanaged state, not disconnected
4515                 - (constructor): don't start device until the system settings service
4516                         has had a chance to figure out if the device is managed or not
4517                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4518                         don't set device state here, let callers handle that as appropriate
4519                 - (nm_device_dispose): don't touch the device if it's not managed
4520                 - (set_property, get_property, nm_device_class_init): implement the
4521                         'managed' property
4522                 - (nm_device_state_changed): bring the device up if its now managed,
4523                         and deactivate it if it used to be active
4524                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4525                         with the managed state
4526
4527         * src/nm-hal-manager.c
4528                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4529                         take initial managed state and pass it along to device constructors
4530                 - (create_device_and_add_to_list): get managed state and pass to
4531                         type creators
4532
4533         * src/nm-device-802-11-wireless.c
4534                 - (real_can_activate): fold in most of
4535                         nm_device_802_11_wireless_can_activate()
4536                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4537                 - (link_timeout_cb): instead of deactivating, change device state and
4538                         let the device state handler to it
4539                 - (real_update_hw_address): clean up
4540                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4541                         handler to transition to DISCONNECTED if the device isn't rfkilled
4542
4543         * src/nm-device-802-3-ethernet.c
4544                 - (set_carrier): move above callers and get rid of prototype
4545                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4546                         idle handler to transition to DISCONNECTED if the device has a
4547                         carrier
4548                 - (real_update_hw_address): clean up
4549                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4550                         deactivation directly as deactivation doesn't change state anymore
4551
4552         * src/NetworkManagerPolicy.c
4553                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4554                         the NMManager and wireless devices work that out themselves now
4555                 - (device_state_changed): change to a switch and update for new device
4556                         states
4557                 - (device_carrier_changed): remove; device handles this now through
4558                         state changes
4559                 - (device_added): don't care about carrier any more; the initial
4560                         activation check will happen when the device transitions to
4561                         DISCONNECTED
4562
4563         * src/nm-manager.c
4564                 - (dispose): clear unmanaged devices
4565                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4566                         the managed property on each device when needed
4567                 - (system_settings_properties_changed_cb): handle signals from the
4568                         system settings service
4569                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4570                         getting the unmanaged device list method call
4571                 - (query_unmanaged_devices): ask the system settings service for its
4572                         list of unmanaged devices
4573                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4574                         devices
4575                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4576                         devices directly and let them handle the necessary state transitions
4577                 - (manager_device_state_changed): update for new device states
4578                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4579                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4580                 - (nm_manager_activate_connection): return error if the device is
4581                         unmanaged
4582                 - (nm_manager_sleep): handle new device states correctly; don't change
4583                         the state of unavailable/unmanaged devices
4584
4585         * libnm-glib/nm-device-802-11-wireless.c
4586                 - (state_changed_cb): update for new device states
4587
4588 2008-04-07  Dan Williams  <dcbw@redhat.com>
4589
4590         * marshallers/nm-marshal.list
4591                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4592
4593 2008-04-07  Dan Williams  <dcbw@redhat.com>
4594
4595         * system-settings/src/main.c
4596                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4597                         plugins to the dbus settings object
4598                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4599                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4600                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4601                 - (main): switch default logging to syslog with a 'debug' option to
4602                         output to console; start up the HAL manager
4603
4604 2008-04-07  Dan Williams  <dcbw@redhat.com>
4605
4606         * introspection/nm-settings-system.xml
4607           introspection/Makefile.am
4608                 - Define the unmanaged devices interface for the system settings service
4609
4610         * system-settings/src/nm-system-config-hal-manager.c
4611           system-settings/src/nm-system-config-hal-manager.h
4612           system-settings/src/nm-system-config-hal-manager-private.h
4613           system-settings/src/Makefile.am
4614                 - Add a lightweight HAL manager object for tracking network devices for
4615                         the purpose of determining unmanaged devices and which devices need
4616                         the default DHCP connections
4617
4618         * system-settings/src/nm-system-config-interface.c
4619           system-settings/src/nm-system-config-interface.h
4620                 - (nm_system_config_interface_init): add the HAL manager as an argument
4621                 - (nm_system_config_interface_get_unmanaged_devices): implement
4622                 - Define 'unmanaged-devices-changed' signal
4623
4624         * system-settings/src/dbus-settings.c
4625           system-settings/src/dbus-settings.h
4626                 - Implement the unmanaged devices interface; some cleanups
4627
4628         * system-settings/plugins/ifcfg-suse/plugin.c
4629                 - Fixup for plugin interface changes
4630
4631         * system-settings/plugins/ifcfg-fedora/plugin.c
4632                 - (get_ether_device_udi): new function; find the device that has
4633                         a specified MAC address and return its UDI
4634                 - (get_udi_for_connection): new function; try to find the specific
4635                         device a connection is locked to, if any
4636                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4637                         response to HAL events
4638                 - (get_unmanaged_devices): new function; return unmanaged device list
4639                 - (build_one_connection): set the connection's locked device, if any
4640                 - (write_auto_wired_connection): remove
4641                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4642                 - (handle_connection_changed): alert listeners that the unmanaged device
4643                         list has changed
4644                 - (init): fixup for plugin interface changes, implement unmanaged devices
4645
4646         * system-settings/plugins/ifcfg-fedora/parser.c
4647           system-settings/plugins/ifcfg-fedora/parser.h
4648                 - (connection_data_free): clean up connection UDI
4649
4650 2008-04-07  Dan Williams  <dcbw@redhat.com>
4651
4652         * system-settings/plugins/ifcfg-fedora/parser.c
4653                 - (make_ip4_setting): fix parsing of DNS servers
4654
4655 2008-04-05  Dan Williams  <dcbw@redhat.com>
4656
4657         * Makefile.am
4658           configure.in
4659           marshallers/Makefile.am
4660           marshallers/nm-marshal-main.c
4661           marshallers/nm-marshal.list
4662                 - Consolidate marshallers
4663
4664         * libnm-glib/nm-marshal-main.c
4665           libnm-glib/nm-marshal.list
4666           src/marshallers/Makefile.am
4667           src/marshallers/nm-marshal-main.c
4668           src/marshallers/nm-marshal.list
4669                 - Remove
4670
4671         * libnm-glib/Makefile.am
4672           src/Makefile.am
4673           src/dhcp-manager/Makefile.am
4674           src/ppp-manager/Makefile.am
4675           src/supplicant-manager/Makefile.am
4676           src/vpn-manager/Makefile.am
4677                 - Use consolidated marshallers
4678
4679 2008-04-04  Dan Williams  <dcbw@redhat.com>
4680
4681         * src/nm-hal-manager.c
4682           src/nm-hal-manager.h
4683                 - (hal_init): don't look for hardware here
4684                 - (nm_hal_manager_start): new function; look for hardware here instead,
4685                         which can be done at a later time than hal_init()
4686
4687         * src/NetworkManager.c
4688                 - (main): start HAL manager after entering the main loop
4689
4690 2008-04-03  Dan Williams  <dcbw@redhat.com>
4691
4692         * libnm-glib/nm-settings.c
4693           libnm-glib/nm-settings.h
4694             - (nm_exported_connection_get_id): new function
4695                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4696
4697 2008-04-02  Dan Williams  <dcbw@redhat.com>
4698
4699         * src/nm-device-interface.c
4700           src/nm-device-interface.h
4701           src/nm-device.c
4702           src/nm-device.h
4703                 - Rename check_connection_conflicts() to check_connection_compatible()
4704
4705         * src/nm-device-802-11-wireless.c
4706                 - (real_check_connection_conflicts): remove
4707                 - (real_check_connection_compatible): implement; match MAC address
4708
4709         * src/nm-device-802-3-ethernet.c
4710                 - (real_check_connection_conflicts): remove
4711                 - (real_check_connection_compatible): implement; match MAC address
4712                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4713
4714         * src/nm-manager.c
4715                 - (check_connection_allowed): remove; unused until PolicyKit integration
4716                 - (internal_activate_device): check whether the connection is compatible
4717                         with the device before trying to activate it
4718
4719 2008-04-02  Dan Williams  <dcbw@redhat.com>
4720
4721         * system-settings/plugins/ifcfg-fedora/parser.c
4722                 - (read_mac_address): new function; read in MAC address and stuff it
4723                         into the connection
4724                 - (add_one_wep_key): remove debug spew
4725                 - (make_wireless_security_setting): validate the default TX key; don't
4726                         add the wireless-security setting if the connection doesn't need
4727                         security; don't leak the keys shvarFile on error cases
4728                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4729                         address
4730
4731 2008-04-02  Dan Williams  <dcbw@redhat.com>
4732
4733         * libnm-util/nm-setting-connection.c
4734           libnm-util/nm-setting-connection.h
4735                 - (set_property, get_property, nm_setting_connection_class_init): remove
4736                         the 'lockdown' property; it's functionality will be replaced by
4737                         PolicyKit instead
4738
4739 2008-04-01  Dan Williams  <dcbw@redhat.com>
4740
4741         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4742
4743         * configure.in
4744           initscript/Makefile.am
4745           initscript/Mandriva/Makefile.am
4746           initscript/Mandriva/networkmanager.in
4747           initscript/Mandriva/networkmanagerdispatcher.in
4748           src/backends/Makefile.am
4749           src/backends/NetworkManagerMandriva.c
4750           system-settings/plugins/Makefile.am
4751                 - Add Mandriva support
4752
4753 2008-03-31  Dan Williams  <dcbw@redhat.com>
4754
4755         * src/vpn-manager/nm-vpn-service.c
4756                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4757                         errors can be passed back to the caller; also no longer scheduled
4758                         as an idle handler, but called directly; and bump up VPN service
4759                         spawn timeout, 2s is really short
4760                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4761                         but call it directly so that errors are reported on return from
4762                         ActivateConnection() and don't get lost.  If scheduled as an idle
4763                         handler, clients don't have the time to query NM for the new VPN
4764                         connection's properties before the VPN connection is torn down again
4765                         if the service couldn't be launched, and therefore launch errors
4766                         get lost.
4767
4768 2008-03-31  Dan Williams  <dcbw@redhat.com>
4769
4770         * src/vpn-manager/nm-vpn-connection.c
4771                 - (device_state_changed): send correct state on device failure too
4772                 - (plugin_state_changed): failed state means unexpected disconnection,
4773                         thus if the service goes away while the VPN connection is activated
4774                         that's a failure too
4775
4776 2008-03-31  Dan Williams  <dcbw@redhat.com>
4777
4778         * src/vpn-manager/nm-vpn-manager.c
4779           src/vpn-manager/nm-vpn-manager.h
4780                 - Make VPNManager errors more available; add a service-start-failed error
4781
4782 2008-03-31  Dan Williams  <dcbw@redhat.com>
4783
4784         * libnm-glib/nm-client.c
4785           libnm-glib/nm-client.h
4786                 - (activate_cb): pass the new active connection to callback; fix
4787                         message when no callback is specified
4788
4789 2008-03-30  Dan Williams  <dcbw@redhat.com>
4790
4791         * libnm-util/nm-setting-wireless-security.c
4792                 - (need_secrets): only require key0 if the transmit key index is also
4793                         0
4794                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4795
4796 2008-03-29  Dan Williams  <dcbw@redhat.com>
4797
4798         * libnm-util/nm-setting-8021x.c
4799           libnm-util/nm-setting-ip4-config.c
4800           libnm-util/nm-setting-vpn-properties.c
4801           libnm-util/nm-setting-vpn.c
4802           libnm-util/nm-setting-wireless-security.c
4803           libnm-util/nm-setting-wireless.c
4804           libnm-util/nm-utils.c
4805           src/dhcp-manager/nm-dhcp-manager.c
4806           src/nm-activation-request.c
4807           src/nm-ip4-config.c
4808           src/nm-manager.c
4809           src/nm-properties-changed-signal.c
4810           src/ppp-manager/nm-pppd-plugin.c
4811           src/supplicant-manager/nm-supplicant-interface.c
4812           src/vpn-manager/nm-vpn-connection.c
4813                 - consistently use nm-dbus-glib-types.h
4814
4815 2008-03-29  Dan Williams  <dcbw@redhat.com>
4816
4817         * src/vpn-manager/nm-vpn-connection.c
4818                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4819                         not string
4820
4821         * src/nm-activation-request.c
4822                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4823                         not string
4824
4825 2008-03-29  Dan Williams  <dcbw@redhat.com>
4826
4827         * libnm-glib/nm-device-802-11-wireless.c
4828                 - (access_point_added_proxy): create new APs if not found
4829
4830 2008-03-29  Dan Williams  <dcbw@redhat.com>
4831
4832         * libnm-glib/nm-client.c
4833                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4834                         before freeing them
4835
4836 2008-03-29  Dan Williams  <dcbw@redhat.com>
4837
4838         * system-settings/plugins/ifcfg-fedora/parser.c
4839                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4840                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4841
4842 2008-03-29  Dan Williams  <dcbw@redhat.com>
4843
4844         * system-settings/plugins/ifcfg-fedora/parser.c
4845                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4846
4847 2008-03-27  Dan Williams  <dcbw@redhat.com>
4848
4849         * nm-object.c
4850                 - (nm_object_queue_notify): don't notify multiple times for the same
4851                         property
4852
4853         * nm-object-private.h
4854                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4855                         if it has zero elements
4856
4857         * nm-ip4-config.c
4858                 - (finalize): use g_ptr_array_foreach() when freeing domains
4859                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4860
4861         * nm-active-connection.c
4862                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4863
4864         * nm-device-802-11-wireless.c
4865           nm-device-802-11-wireless.h
4866                 - (nm_device_802_11_wireless_get_access_points): return const; use
4867                         handle_ptr_array_return()
4868
4869         * nm-types.c
4870                 - (nm_object_array_demarshal): always create an array, even of length
4871                         zero, to distinguish between "NM returned no items" and "haven't
4872                         asked NM yet"
4873
4874         * nm-client.c
4875                 - (dispose): free active connections too
4876                 - (proxy_name_owner_changed): free active connections too when NM goes
4877                         away
4878                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4879                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4880
4881 2008-03-26  Dan Williams  <dcbw@redhat.com>
4882
4883         Rework VPN connection handling for a more consistent D-Bus API.  The
4884         VPNManager object has been removed, and active VPN connections are now the
4885         same as any other active connection.  The Manager object's ActivateConnection
4886         and DeactivateConnection methods are used to start and stop a VPN connection,
4887         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4888         When activating a VPN connection, pass the path of the active connection
4889         to which the VPN connection is tied in the 'specific_object' argument.
4890
4891         Consequently, the libnm-glib API has been reworked to match this arrangement,
4892         with the VPNManager object removed, and the NMVPNConnection objects now
4893         being subclasses of NMActiveConnection.
4894
4895 2008-03-25  Dan Williams  <dcbw@redhat.com>
4896
4897         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4898
4899         * initscript/Arch/networkmanager.in
4900           initscript/Arch/networkmanager-dispatcher.in
4901                 - Updates for Arch Linux (gnome.org #523701)
4902
4903 2008-03-25  Dan Williams  <dcbw@redhat.com>
4904
4905         * libnm-glib/nm-ip4-config.c
4906           libnm-glib/nm-active-connection.c
4907           libnm-glib/nm-access-point.c
4908                 - Use nm_object_queue_notify() instead of g_object_notify()
4909
4910         * libnm-glib/nm-device.c
4911                 - (demarshal_ip4_config): distinguish between successful but missing
4912                         ip4-config request, and unsuccessful and missing ip4-config request
4913                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4914                         path
4915                 - Use nm_object_queue_notify() instead of g_object_notify()
4916
4917         * libnm-glib/nm-device-802-11-wireless.c
4918                 - (demarshal_active_ap): distinguish between successfull but missing
4919                         active-ap request, and unsuccessful and missing active-ap request
4920                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4921                         code
4922                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4923                         for the NMClient to notify the device that wireless is disabled,
4924                         and therefore to clear the AP list and active AP
4925                 - Use nm_object_queue_notify() instead of g_object_notify()
4926
4927         * libnm-glib/nm-client.c
4928                 - (poke_wireless_devices_with_rf_status): new function
4929                 - (update_wireless_status): notify wireless devices of the rfkill status
4930                         so they can clean up if needed
4931                 - Use nm_object_queue_notify() instead of g_object_notify()
4932
4933 2008-03-25  Dan Williams  <dcbw@redhat.com>
4934
4935         * libnm-glib/nm-object.c
4936           libnm-glib/nm-object-private.h
4937                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4938                         signals to an idle handler
4939                 - (nm_object_get_property): add a timeout to the D-Bus method call
4940
4941 2008-03-25  Dan Williams  <dcbw@redhat.com>
4942
4943         * introspection/nm-device-cdma.xml
4944           introspection/nm-device-gsm.xml
4945           introspection/Makefile.am
4946           introspection/all.xml
4947                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4948
4949         * src/nm-gsm-device.h
4950           src/nm-gsm-device.c
4951           src/nm-cdma-device.h
4952           src/nm-cdma-device.c
4953           src/Makefile.am
4954                 - Implement PropertiesChanged signals
4955
4956         * libnm-glib/nm-cdma-device.c
4957           libnm-glib/nm-cdma-device.c
4958                 - Attach to PropertiesChanged signals
4959
4960 2008-03-24  Dan Williams  <dcbw@redhat.com>
4961
4962         * libnm-glib/nm-client.c
4963                 - (client_device_added_proxy): add new devices to the internal device
4964                         list so they appear to clients
4965
4966 2008-03-24  Dan Williams  <dcbw@redhat.com>
4967
4968         Massive fixup of libnm-glib to:
4969         a) have all objects (with the exception of VPN) cache their properties and
4970                 update them asynchronously on PropertiesChanged signals from NM
4971         b) return internal const data for most attributes/properties instead of
4972                 allocated values that the caller must free
4973         c) cache wrapped objects such that a given D-Bus path will always map to the
4974                 same GObject returned by libnm-glib
4975         d) remove a few signals and move them to GObject property notifications
4976         e) match recent NM D-Bus API changes for activation/deactivation
4977         f) remove some private functions from libnm-glib headers
4978
4979 2008-03-20  Dan Williams  <dcbw@redhat.com>
4980
4981         * src/nm-manager.c
4982                 - (nm_manager_update_state, manager_device_state_changed,
4983                    nm_manager_activate_device, connection_added_default_handler,
4984                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4985                         queue PropertyChanged singals when the active connections change
4986
4987 2008-03-20  Dan Williams  <dcbw@redhat.com>
4988
4989         * introspection/nm-manager.xml
4990           introspection/nm-manager-client.xml
4991                 - (ActivateConnection): return the object path of the active connection
4992                         on success
4993                 - (GetActiveConnections): remove
4994                 - (DeactivateConnection): new function; deactivate a currently active
4995                         connection
4996                 - Add an ActiveConnections property which returns an array of
4997                         active connection object paths
4998
4999         * introspection/nm-device.xml
5000                 - (Deactivate): remove
5001
5002         * introspection/all.xml
5003                 - Add ActiveConnection introspection
5004
5005         * introspection/nm-active-connection.xml
5006                 - Add the ActiveConnection object
5007
5008         * include/NetworkManager.h
5009                 - Add the Connection.Active D-Bus interface
5010
5011         * src/nm-device-interface.c
5012                 - (impl_device_deactivate): remove
5013
5014         * src/nm-activation-request.c
5015           src/nm-activation-request.c
5016           src/Makefile.am
5017                 - Implement the Connection.Active D-Bus interface
5018
5019         * src/nm-manager.c
5020                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5021                 - (nm_manager_activate_device): return the active connection path
5022                 - (connection_added_default_handler, impl_manager_activate_connection):
5023                         return the active connection to the caller
5024                 - (add_one_connection_element, impl_manager_get_active_connections):
5025                         remove
5026                 - (impl_manager_deactivate_connection): new function; deactivate an
5027                         active connection
5028
5029         * libnm-glib/nm-device.c
5030           libnm-glib/nm-device.h
5031                 - Remove Deactivate() function
5032
5033 2008-03-19  Dan Williams  <dcbw@redhat.com>
5034
5035         * introspection/nm-manager.xml
5036           introspection/nm-manager-client.xml
5037                 - Rename the ActivateDevice method to ActivateConnection to better
5038                         reflect it's usage; it's arguments get reordered a bit too
5039                 - Convert GetActiveConnections method return from a struct to a dict
5040
5041         * include/NetworkManager.h
5042                 - Define the dict keys for return value of GetActiveConnections
5043
5044         * src/nm-manager.c
5045                 - impl_manager_activate_device -> impl_manager_activate_connection
5046                 - (add_one_connection_element): return a populated hash table, not
5047                         a structure
5048
5049         * libnm-glib/nm-client.c
5050           libnm-glib/nm-client.h
5051                 - nm_client_activate_device -> nm_client_activate_connection
5052                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5053                 - (nm_client_get_active_connections): return a GSList of GHashTables,
5054                         instead of the custom structures.  Each element of the returned list
5055                         must be freed with nm_client_free_active_connections_element()
5056
5057 2008-03-18  Dan Williams  <dcbw@redhat.com>
5058
5059         * system-settings/plugins/ifcfg-fedora/parser.c
5060           system-settings/plugins/ifcfg-fedora/parser.h
5061           system-settings/plugins/ifcfg-fedora/plugin.c
5062                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5063                         profiles.  DNS servers and searches must now be stored in the ifcfg
5064                         files themselves
5065
5066 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5067
5068         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5069         print out username and password, it's supposed to be a secret.
5070
5071         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
5072         request and set the device state accordingly.
5073
5074 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5075
5076         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5077
5078         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5079
5080 2008-03-18  Dan Williams  <dcbw@redhat.com>
5081
5082         * src/vpn-manager/nm-vpn-connection.c
5083                 - (get_secrets_cb): handle new GetSecrets return format
5084
5085 2008-03-18  Dan Williams  <dcbw@redhat.com>
5086
5087         Adapt system settings service for split 802.1x.
5088
5089         * system-settings/src/nm-system-config-interface.h
5090                 - clarify return value of get_secrets()
5091
5092         * system-settings/src/dbus-settings.c
5093                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5094                 - (check_for_secrets): check if there actually secrets returned by a
5095                         plugin
5096                 - (exported_connection_get_secrets): just return the plugin-returned
5097                         hash of settings' secrets if it looks valid
5098
5099         * system-settings/plugins/ifcfg-fedora/plugin.c
5100                 - (get_secrets): add split secrets with correct format to reply hash
5101
5102         * system-settings/plugins/ifcfg-fedora/parser.c
5103           system-settings/plugins/ifcfg-fedora/parser.h
5104                 - (copy_one_cdata_secret, connection_data_copy_secrets,
5105                    connection_data_free, connection_data_add): keep secrets for
5106                         different settings in different hashes
5107
5108 2008-03-17  Tambet Ingo  <tambet@gmail.com>
5109
5110         Clean up activating device deactivation.
5111
5112         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5113         should be done whether the device activation gets cancelled or the device
5114         is just getting deactivated.
5115         (nm_device_activation_cancel): Remove.
5116         (nm_device_deactivate_quickly): Handle the case where device is activating.
5117
5118         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5119         It does the exact same thing as real_deactivate_quickly().
5120
5121 2008-03-17  Dan Williams  <dcbw@redhat.com>
5122
5123         Split the 802.1x bits out of the wireless-security setting so they are
5124         generalized enough for wired 802.1x to use too.
5125
5126         * introspection/nm-exported-connection.xml
5127                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5128                         of just a hash of the secrets for one setting
5129
5130         * libnm-util/nm-setting-wireless-security.c
5131           libnm-util/nm-setting-wireless-security.h
5132                 - Remove 802.1x-specific stuff
5133                 - Added leap-username and leap-password properties for old-school LEAP
5134
5135         * src/nm-device.c
5136           src/nm-device.h
5137                 - (connection_secrets_updated_cb): take a list of updated settings names,
5138                         not just one
5139
5140         * src/supplicant-manager/nm-supplicant-config.c
5141           src/supplicant-manager/nm-supplicant-config.h
5142                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5143                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5144                         to nm_supplicant_config_add_setting_8021x()
5145                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5146                         the supplicant config
5147
5148         * src/nm-device-802-11-wireless.c
5149                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5150                 - (real_connection_secrets_updated): take a list of updated settings
5151                         names, not just one
5152
5153         * src/nm-device-802-3-ethernet.c
5154           src/nm-cdma-device.c
5155           src/nm-gsm-device.c
5156                 - (real_connection_secrets_updated_cb): take a list of updated settings
5157                         names, not just one
5158
5159         * src/nm-activation-request.c
5160           src/nm-activation-request.h
5161                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5162                         now passes a list of updated settings names, not just one
5163                 - (update_one_setting): new function; handle one updated setting
5164                 - (get_secrets_cb): handle multiple settings returned from the
5165                         settings service; have to be careful of ordering here as there are
5166                         some dependencies between settings (ex. wireless-security and 802.1x
5167                         in some cases)
5168
5169         * src/marshallers/nm-marshal.list
5170                 - new marshaller for connection-secrets-updated signal
5171
5172         * libnm-util/nm-setting-8021x.c
5173                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5174                         methods
5175                 - (verify): a valid 'eap' property is now required
5176
5177         * libnm-util/nm-connection.c
5178                 - (register_default_settings): add priorities to settings; there are
5179                         some dependencies between settings, and during the need_secrets
5180                         calls this priority needs to be respected.  For example, only the
5181                         wireless-security setting knows whether or not the connection is
5182                         going to use 802.1x or now, so it must be asked for secrets before
5183                         any existing 802.1x setting is
5184                 - (nm_connection_lookup_setting_type): expose
5185
5186         * libnm-util/nm-setting-wireless.c
5187                 - (verify): should verify even if all_settings is NULL; otherwise won't
5188                         catch the case where there is missing security
5189
5190         * libnm-util/nm-setting-wireless-security.c
5191                 - Remove everything to do with 802.1x
5192                 - Add old-school LEAP specific properties for username and password
5193                 - (need_secrets): rework LEAP secrets checking
5194                 - (verify): rework for LEAP and 802.1x verification
5195
5196 2008-03-17  Dan Williams  <dcbw@redhat.com>
5197
5198         * src/NetworkManagerPolicy.c
5199                 - (auto_activate_device): always remove the current activation check
5200                         from the pending activation list, otherwise when the policy gets
5201                         destroyed on NM exit it will attempt to free the already freed
5202                         activation check
5203
5204 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5205
5206         * src/backends/NetworkManagerSlackware.c 
5207         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5208
5209         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5210
5211 2008-03-14  Dan Williams  <dcbw@redhat.com>
5212
5213         * src/nm-manager.c
5214                 - (nm_device_interface_get_iface): g_object_get() will return an
5215                         allocated value, so this function must not return const
5216                 - (nm_device_interface_activate): free returned iface
5217
5218 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5219
5220         * libnm-util/Makefile.am: Add new files to build.
5221
5222         * libnm-util/nm-connection.c: Register NMSetting8021x.
5223
5224         * libnm-util/nm-setting-8021x.c
5225         * libnm-util/nm-setting-8021x.h: Implement.
5226
5227 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5228
5229         * libnm-util/Makefile.am: Add new files to build.
5230
5231         * libnm-util/nm-connection.c: Register NMSetting8021x.
5232
5233         * libnm-util/nm-setting-8021x.c
5234         * libnm-util/nm-setting-8021x.h: Implement.
5235
5236 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5237
5238         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5239         data.
5240
5241 2008-03-14  Dan Williams  <dcbw@redhat.com>
5242
5243         * include/wireless-helper.h
5244           include/Makefile.am
5245                 - One place for all the junk needed for #including wireless.h
5246
5247         * test/nm-tool.c
5248           src/NetworkManagerAP.c
5249           src/wpa.c
5250           src/Makefile.am
5251           libnm-util/nm-utils.c
5252           libnm-util/nm-setting-wireless.c
5253           libnm-glib/nm-device-802-11-wireless.c
5254           libnm-glib/nm-access-point.c
5255           libnm-glib/libnm-glib-test.c
5256                 - include wireless-helper.h, not iwlib.h
5257
5258         * configure.in
5259                 - Don't need libiw really, just need to check for wireless.h
5260
5261         * src/kernel-types.h
5262                 - Remove; used types moved into wpa.c
5263
5264         * src/nm-device-802-11-wireless.c
5265                 - (nm_device_802_11_wireless_update_signal_strength,
5266                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5267                    nm_device_802_11_wireless_set_mode,
5268                    nm_device_802_11_wireless_get_frequency,
5269                    nm_device_802_11_wireless_get_ssid,
5270                    nm_device_802_11_wireless_set_ssid,
5271                    nm_device_802_11_wireless_get_bitrate,
5272                    nm_device_802_11_wireless_get_bssid,
5273                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5274                         instead of iwlib functions
5275
5276 2008-03-14  Dan Williams  <dcbw@redhat.com>
5277
5278         * src/ppp-manager/nm-ppp-manager.c
5279                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5280                         should only take the DBusGMethodInvocation argument, not user/pass
5281                         too.  With dbus-glib, async functions only take 2 C arguments since
5282                         the real dbus method arguments get passed back with
5283                         dbus_g_method_return()
5284
5285 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5286
5287         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5288         Adapt the changes of NMSettingIP4Config.
5289
5290 2008-03-13  Dan Williams  <dcbw@redhat.com>
5291
5292         * src/NetworkManagerUtils.c
5293           src/NetworkManagerUtils.h
5294                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5295
5296         * src/NetworkManagerAP.c
5297           src/nm-device-802-11-wireless.c
5298           src/nm-device-802-3-ethernet.c
5299                 - s/iw_ether_ntop/nm_ether_ntop/g
5300
5301 2008-03-13  Dan Williams  <dcbw@redhat.com>
5302
5303         * src/NetworkManagerPolicy.c
5304                 - (update_routing_and_dns): never set the default route through an
5305                         IPv4LL addressed device
5306
5307 2008-03-13  Dan Williams  <dcbw@redhat.com>
5308
5309         * NetworkManagerUtils.c
5310           NetworkManagerUtils.h
5311                 - Remove NMSock stuff
5312                 - Remove the completion stuff
5313
5314         * nm-device.c
5315           nm-device.h
5316           NetworkManager.c
5317           NetworkManagerSystem.c
5318           autoip.c
5319           nm-device-802-11-wireless.c
5320           nm-device-802-3-ethernet.c
5321                 - Remove NMSock and completion stuff
5322                 - Remove nm_ioctl_info()
5323
5324 2008-03-12  Dan Williams  <dcbw@redhat.com>
5325
5326         * src/nm-device.c
5327                 - (merge_ip4_config): avoid duplicates
5328
5329 2008-03-12  Dan Williams  <dcbw@redhat.com>
5330
5331         * libnm-util/nm-setting-ip4-config.c
5332           libnm-util/nm-setting-ip4-config.h
5333                 - Remove 'manual' and 'autoip' properties
5334                 - Add 'method' property
5335                 - (verify): fix verification with 'method'
5336                 - (finalize): free 'method'
5337                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5338                         up for 'method'
5339
5340         * src/nm-device.c
5341                 - (real_act_stage3_ip_config_start): check IP4Config method
5342                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5343                         the future
5344                 - (merge_ip4_config): IP settings are valid with DHCP too
5345                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5346                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5347
5348         * src/nm-device-802-11-wireless.c
5349                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5350                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5351                         only on demand
5352
5353         * system-settings/plugins/ifcfg-fedora/parser.c
5354           system-settings/plugins/ifcfg-suse/parser.c
5355                 - (make_ip4_setting): fix up for 'method'
5356
5357 2008-03-12  Dan Williams  <dcbw@redhat.com>
5358
5359         * system-settings/plugins/ifcfg-fedora/parser.c
5360           system-settings/plugins/ifcfg-fedora/parser.h
5361                 - (get_ifcfg_name): ignore more file suffixes
5362                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5363
5364 2008-03-12  Dan Williams  <dcbw@redhat.com>
5365
5366         * configure.in
5367                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5368
5369 2008-03-12  Dan Williams  <dcbw@redhat.com>
5370
5371         * system-settings/plugins/ifcfg-fedora/plugin.c
5372                 - (write_auto_wired_connection): new function; write out an auto
5373                         wired connection file since the applet isn't doing it any more
5374                 - (reload_all_connections): write out the auto wired connection file
5375                         if there aren't any wired connections already
5376                 - (init): don't leak a GError
5377
5378 2008-03-12  Dan Williams  <dcbw@redhat.com>
5379
5380         * src/nm-device-interface.c
5381                 - (nm_device_interface_activate): print the ID of the connection
5382                         that's about to be activated
5383
5384 2008-03-12  Dan Williams  <dcbw@redhat.com>
5385
5386         Harmonize the 802.11 bitrate API
5387
5388         * introspection/nm-access-point.xml
5389                 - 'Rate' -> 'MaxBitrate'; clarify units
5390
5391         * introspection/nm-device-802-11-wireless.xml
5392                 - Clarify units of 'Bitrate'
5393
5394         * src/NetworkManagerAP.c
5395           src/NetworkManagerAP.h
5396                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5397                         property to 'max-bitrate'
5398                 - (foreach_property_cb): convert rate to Kb/s
5399
5400         * src/nm-device-802-11-wireless.c
5401                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5402
5403         * libnm-glib/nm-access-point.c
5404           libnm-glib/nm-access-point.h
5405                 - 'rate' -> 'max-bitrate'
5406
5407         * test/nm-tool.c
5408           libnm-glib/libnm-glib-test.c
5409                 - Fix up for these changes
5410
5411 2008-03-12  Dan Williams  <dcbw@redhat.com>
5412
5413         * src/nm-device.c
5414                 - (nm_device_set_ip4_config): don't send property notifications when
5415                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5416                         which dbus-glib can't parse because the value is NULL, which isn't
5417                         a legal object path.  Setting the IP4 config to NULL is only
5418                         valid when deactivating a device anyway, so the device state change
5419                         will alert listeners that the ip4 config is invalid.
5420
5421 2008-03-12  Dan Williams  <dcbw@redhat.com>
5422
5423         * src/nm-properties-changed-signal.c
5424                 - (add_to_string): better handling of NULL objects
5425
5426 2008-03-12  Dan Williams  <dcbw@redhat.com>
5427
5428         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5429         convert the libnm-glib NMDevice8023Ethernet to cached properties
5430
5431         * introspection/nm-device-802-3-ethernet.xml
5432                 - New 'Carrier' property
5433                 - New 'PropertiesChanged' signal
5434
5435         * introspection/nm-device.xml
5436                 - Remove 'Carrier' property
5437                 - Remove 'CarrierChanged' signal
5438
5439         * src/nm-device-interface.c
5440           src/nm-device-interface.h
5441                 - (nm_device_interface_init): remove 'carrier' property and
5442                         'carrier-changed' signal
5443
5444         * src/nm-device.c
5445           src/nm-device.h
5446                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5447                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5448                         the link here; wired device will handle that
5449                 - (handle_dhcp_lease_change): don't bother updating link here
5450                 - (get_property, nm_device_class_init): remove carrier property
5451
5452         * src/nm-device-802-11-wireless.c
5453                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5454                         real_update_link(); wireless devices don't use carrier at all
5455                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5456                    supplicant_iface_connection_state_cb_handler,
5457                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5458
5459         * src/nm-device-802-3-ethernet.c
5460           src/nm-device-802-3-ethernet.h
5461                 - (nm_device_802_3_ethernet_carrier_on,
5462                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5463                         instead of nm_device_set_carrier()
5464                 - (device_state_changed): update link from sysfs on activation;
5465                         replaces real_update_link()
5466                 - (real_update_link): remove, replaced by device_state_changed()
5467                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5468                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5469                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5470                         new get_carrier function
5471                 - (get_property): add 'carrier' property
5472                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5473                         hook into property-changed signal helper
5474
5475         * src/NetworkManagerPolicy.c
5476                 - (device_carrier_changed): will only ever be called with a wired device
5477                 - (device_added): only hook up to carrier-changed for wired devices
5478
5479         * libnm-glib/nm-device.c
5480           libnm-glib/nm-device.h
5481                 - (constructor, nm_device_class_init): remove carrier-changed signal
5482                 - (device_carrier_changed_proxy): remove; unused
5483                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5484
5485         * libnm-glib/nm-device-802-3-ethernet.c
5486           libnm-glib/nm-device-802-3-ethernet.h
5487                 - Convert to cached properties like AP and Wireless objects
5488                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5489                         instead of a 'char *', return value should not be freed
5490                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5491                 - (constructor): hook into properties-changed helper
5492                 - (set_property, get_property): new functions
5493                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5494
5495         * test/nm-tool.c
5496                 - (detail_device): strdup the wired hardware address too since it's
5497                         cached now
5498
5499         * libnm-glib/libnm-glib-test.c
5500                 - (dump_wired): strdup the wired hardware address too since it's
5501                         cached now
5502
5503 2008-03-12  Dan Williams  <dcbw@redhat.com>
5504
5505         * libnm-util/nm-setting-ip4-config.c
5506           libnm-util/nm-setting-ip4-config.h
5507                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5508                         the 'autoip' property from the spec
5509
5510 2008-03-11  Dan Williams  <dcbw@redhat.com>
5511
5512         * src/backends/NetworkManagerGeneric.c
5513           src/backends/NetworkManagerGeneric.h
5514                 - (nm_generic_device_get_use_dhcp): remove
5515
5516 2008-03-11  Dan Williams  <dcbw@redhat.com>
5517
5518         * src/nm-device.c
5519                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5520                         already in nm_device_set_ip4_config()
5521                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5522                         due to a DHCP rebind fails
5523                 - (nm_device_set_ip4_config): send property notifications when the
5524                         ip4 config changes
5525                 - (get_property): only report IP4Config property during valid states
5526
5527         * src/NetworkManagerPolicy.c
5528                 - (update_routing_and_dns): ignore devices that don't have an ip4
5529                         config; add parameter 'force_update' to allow callers to specify
5530                         that changes should be made even if the default device doesn't change
5531                 - (device_ip4_config_changed): update DNS and routing when the device's
5532                         IP4Config changes, like for DHCP updates
5533                 - (device_added): listen for ip4-config property changes
5534
5535 2008-03-11  Dan Williams  <dcbw@redhat.com>
5536
5537         Fix address handling as a result of DHCP rebind/renew/reboot.
5538
5539         * src/NetworkManagerSystem.c
5540                 - (check_one_address): delete an address if it doesn't match a given
5541                         one for the same interface
5542                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5543                         be smarter about flushing addresses (only flush ones that don't
5544                         match the one we're about to apply)
5545
5546         * src/backends/NetworkManagerDebian.c
5547           src/backends/NetworkManagerSuSE.c
5548           src/backends/NetworkManagerArch.c
5549           src/backends/NetworkManagerSlackware.c
5550           src/backends/NetworkManagerRedHat.c
5551           src/backends/NetworkManagerPaldo.c
5552           src/backends/NetworkManagerFrugalware.c
5553           src/backends/NetworkManagerGentoo.c
5554                 - (nm_system_delete_default_route): remove
5555
5556         * src/backends/NetworkManagerGeneric.c
5557           src/backends/NetworkManagerGeneric.h
5558                 - (nm_generic_enable_loopback): fix the loopback device label
5559                 - (nm_generic_delete_default_route): remove; no longer used
5560
5561 2008-03-11  Dan Williams  <dcbw@redhat.com>
5562
5563         * src/nm-device-interface.h
5564                 - Delimit property name words with '-', otherwise g_object_notify()
5565                         doesn't work the way we expect
5566
5567 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5568
5569         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5570
5571 2008-03-11  Dan Williams  <dcbw@redhat.com>
5572
5573         * src/NetworkManagerPolicy.c
5574                 - (update_routing_and_dns): don't change anything if the default device
5575                         hasn't changed; print something out when switching the default route
5576                         and DNS
5577
5578 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5579
5580         Implement PPPoE.
5581
5582         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5583         setting. Use "nic-$eth".
5584
5585         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5586         the device is activating here to fix a race condition.
5587
5588         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5589
5590         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5591         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5592         (nm_ppp_manager_start): Take activation request instead of connection, we might
5593         need it for asking secrets.
5594         (nm_ppp_manager_update_secrets): Implement.
5595
5596         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5597         ppp manager start. It might be needed for asking secrets.
5598
5599         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5600         (ppp_state_changed): Handle pppd daemon disappearing.
5601         (pppoe_stage2_config): Send activation request to ppp manager start.
5602
5603         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5604
5605         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5606         username and password.
5607         
5608 2008-03-10  Dan Williams  <dcbw@redhat.com>
5609
5610         * src/nm-device.c
5611                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5612                         response to a DHCP lease change
5613                 - (dhcp_state_changed): handle DHCP lease changes while activated
5614                 - (nm_device_set_ip4_config): remove a previously set named config
5615                         when setting an ip4 config
5616
5617 2008-03-10  Dan Williams  <dcbw@redhat.com>
5618
5619         * src/nm-serial-device.c
5620                 - (nm_serial_device_send_command): report errno on error
5621                 - (get_reply_got_data): limit the size of the overall buffer
5622                 - (wait_for_reply_info_destroy): destroy result string
5623                 - (wait_for_reply_got_data): append received data to an overall buffer
5624                         until timeout, filled buffer, or error instead of keeping a per-call
5625                         buffer.  Some devices send data slowly enough that this function
5626                         gets called multiple times for the same command stream.
5627                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5628                         wait_for_reply_got_data() here
5629
5630 2008-03-10  Dan Williams  <dcbw@redhat.com>
5631
5632         * src/nm-cdma-device.c
5633                 - (do_dial, init_modem): handle errors from
5634                         nm_serial_device_send_command_string()
5635
5636         * src/nm-gsm-device.c
5637                 - (do_dial, manual_registration, automatic_registration_get_network,
5638                    automatic_registration, enter_pin, check_pin, init_modem): handle
5639                         errors from nm_serial_device_send_command_string()
5640
5641 2008-03-10  Dan Williams  <dcbw@redhat.com>
5642
5643         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5644
5645         * src/named-manager/nm-named-manager.c
5646                 - (compute_searches): prefer searches before domains
5647                 - (compute_domain): new function
5648                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5649                 - (merge_one_ip4_config): if there are no searches in the source config,
5650                         merge domains of the source config into the target config
5651                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5652
5653 2008-03-10  Dan Williams  <dcbw@redhat.com>
5654
5655         * src/nm-serial-device.c
5656                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5657                 - (wait_for_reply_got_data): try to handle slower serial devices where
5658                         the reply is broken up into multiple reads by concatenating replies
5659                         together until either an error is received or the search string is
5660                         found
5661
5662 2008-03-10  Dan Williams  <dcbw@redhat.com>
5663
5664         * src/nm-device.c
5665                 - (nm_device_bring_down): deactivate the device if it's activating too,
5666                         not just if it's already activated.  This makes sure that everything
5667                         from an association attempt is cleaned up (like DHCP for example)
5668
5669 2008-03-10  Dan Williams  <dcbw@redhat.com>
5670
5671         * src/nm-serial-device.c
5672                 - (config_fd): report error from TCSETA
5673                 - (nm_serial_device_open): fail when config_fd() fails
5674
5675 2008-03-10  Dan Williams  <dcbw@redhat.com>
5676
5677         * src/nm-ip4-config.c
5678                 - (nm_ip4_config_init): allocate searches list
5679                 - (finalize): free searches list
5680
5681 2008-03-09  Dan Williams  <dcbw@redhat.com>
5682
5683         Patch from Bas Zoetekouw <bas@debian.org>
5684
5685         * src/dhcp-manager/nm-dhcp-manager.c
5686                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5687
5688 2008-03-09  Dan Williams  <dcbw@redhat.com>
5689
5690         Patch from Bas Zoetekouw <bas@debian.org>
5691
5692         * src/nm-ip4-config.c
5693           src/nm-ip4-config.h
5694                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5695                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5696                         domains.  'searches' is the correct way to store multiple search
5697                         domains, whereas 'domains' is really just supposed to store one
5698                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5699                         search domains to the client.
5700                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5701
5702 2008-03-09  Dan Williams  <dcbw@redhat.com>
5703
5704         * src/dhcp-manager/nm-dhcp-manager.c
5705                 - (dhclient_run): send interface-specific config files to dhclient
5706
5707 2008-03-07  Dan Williams  <dcbw@redhat.com>
5708
5709         * system-settings/plugins/ifcfg-fedora/parser.c
5710                 - (is_wireless_device): new function; test a device for wireless
5711                         extensions
5712                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5713                         test the device for wireless extensions to determine the type
5714
5715 2008-03-07  Dan Williams  <dcbw@redhat.com>
5716
5717         Change manager's StateChange signal to StateChanged for consistency.
5718
5719         * introspection/nm-manager.xml
5720                 - Add 'StateChanged' signal
5721                 - Move 'StateChange' down to the deprecated section
5722
5723         * src/nm-hal-manager.c
5724                 - (nm_hal_manager_new): connect to 'state-changed' instead
5725
5726         * src/NetworkManagerPolicy.c
5727                 - (nm_policy_new): connect to 'state-changed' instead
5728
5729         * src/nm-manager.c
5730           src/nm-manager.h
5731                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5732                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5733                         of 'state-change'
5734
5735         * libnm-glib/nm-client.c
5736           libnm-glib/nm-client.h
5737                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5738                         track and proxy 'state-changed' instead of 'state-change'
5739
5740 2008-03-07  Dan Williams  <dcbw@redhat.com>
5741
5742         First pass of multiple active device support.  Expect bugs.
5743
5744         * src/nm-ip4-config.c
5745           src/nm-ip4-config.h
5746                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5747                         there are better ways to do this in the named manager
5748
5749         * src/nm-device.c
5750           src/nm-device.h
5751                 - (nm_device_can_activate): return whether the device can activate a
5752                         connection right now; taking into account things like carrier state
5753                         and rfkill state
5754                 - (nm_device_get_best_auto_connection): renamed from
5755                         nm_device_get_best_connection
5756                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5757                         device subclasses themselves, so that each device can override the
5758                         MTU from it's NMSetting subclass if needed
5759                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5760                         in NetworkManagerSystem.c, not here
5761
5762         * src/named-manager/nm-named-manager.c
5763           src/named-manager/nm-named-manager.h
5764                 - (nm_named_manager_name_owner_changed,
5765                    nm_named_manager_dbus_connection_changed): fix for changes to
5766                         rewrite_resolv_conf()
5767                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5768                         from parameter list
5769                 - (merge_one_ip4_config): new function; merge ip4 configs together
5770                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5771                         ip4 configs; the VPN config takes precedence, then the best
5772                         device config, then the rest of the configs
5773                 - (get_domain_for_config): take the NMNamedManager as an argument
5774                         to check whether the config is the VPN config
5775                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5776                         attribute from ip4 configs
5777                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5778                 - (remove_ip4_config_from_named): fix for changes to
5779                         get_domain_for_config()
5780                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5781                         based on its type; callers must pass in the type now
5782                 - (get_last_default_domain): remove, unused
5783                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5784
5785         * src/nm-device-802-11-wireless.c
5786                 - (real_can_activate): new function
5787                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5788                 - (real_act_stage4_get_ip4_config): handle MTU override
5789
5790         * src/nm-device-802-3-ethernet.c
5791                 - (real_can_activate): new function
5792                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5793                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5794
5795         * src/vpn-manager/nm-vpn-connection.c
5796                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5797                         attribute on the ip4 config
5798
5799         * src/NetworkManagerPolicy.c
5800                 - (nm_policy_auto_get_best_device): remove
5801                 - (nm_policy_device_change_check): remove
5802                 - (update_default_route): new function; set the default route via
5803                         the specified device
5804                 - (get_device_priority): new function; return the priority number of
5805                         a device type WRT which one should have the default route.  Order is
5806                         (highest to lowest)  wired, wireless, GSM, CDMA.
5807                 - (update_routing_and_dns): new function; determine which device should
5808                         have the default route, then update the routing table and DNS
5809                 - (maybe_auto_activate_device): new function; if a device is now
5810                         available for activation, find out what connection it would like to
5811                         activate and do it
5812                 - (schedule_activate_check): new function; if a device can be activated
5813                         now, schedule the activation.  Each device may have only one
5814                         pending activation at a given time.
5815                 - (device_state_changed): if activation was canceled, try again,
5816                         possibly with another connection; if the device was activated,
5817                         update routing and DNS; if the device was deactivated, try again
5818                         with another connection
5819                 - (device_carrier_changed): if there is no carrier, deactivate the
5820                         device; otherwise schedule an activation check for the device
5821                 - (wireless_networks_changed): schedule an activation check for the
5822                         device
5823                 - (device_added): keep track of the signal handler IDs so they can
5824                         be removed when the device goes away
5825                 - (device_removed): remove any signal handlers that might be attached
5826                         to the device; update routing and DNS
5827                 - (schedule_activate_all): new function
5828                 - (connections_added, connection_added, connection_updated): when
5829                         connections change, schedule all devices for an activation check
5830                 - (connection_removed): when a device is deactivated because its
5831                         connection was removed, schedule another activation check for it
5832                 - (nm_policy_destroy): destroy pending activations and disconnect
5833                         all device signal handlers
5834
5835         * src/nm-manager.c
5836                 - (nm_manager_activate_device): if the device was already actived,
5837                         deactivate it
5838                 - (deactivate_old_device): remove
5839                 - (connection_added_default_handler, impl_manager_activate_device):
5840                         don't deactivate other devices when activating this one
5841
5842         * src/backends/NetworkManagerGentoo.c
5843           src/backends/NetworkManagerFrugalware.c
5844           src/backends/NetworkManagerPaldo.c
5845           src/backends/NetworkManagerRedHat.c
5846           src/backends/NetworkManagerSlackware.c
5847           src/backends/NetworkManagerArch.c
5848           src/backends/NetworkManagerSuSE.c
5849           src/backends/NetworkManagerDebian.c
5850                 - (nm_system_get_mtu): remove; MTU should be provided through the
5851                         distro's system settings service plugin instead
5852                 - (nm_system_device_add_default_route_via_device): remove
5853                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5854                 - (nm_system_device_replace_default_route): new function; call
5855                         generic implementation
5856
5857         * src/backends/NetworkManagerGeneric.c
5858           src/backends/NetworkManagerGeneric.h
5859                 - (nm_generic_device_add_default_route_via_device,
5860                    nm_generic_device_add_default_route_via_device_with_iface): remove
5861                 - (nm_generic_device_replace_default_route): replace the default route
5862                         with the given route via some gateway
5863
5864         * src/NetworkManagerSystem.c
5865           src/NetworkManagerSystem.h
5866                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5867                         to routing and DNS; but set the MTU here
5868                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5869                         ip_iface of the active device; use the standard MTU setting function
5870                 - (nm_system_set_mtu): remove
5871                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5872
5873 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5874
5875         Rework the interaction between ppp manager and pppd plugin. Register a well
5876         known DBUS service in manager and let the plugin call it's methods instead
5877         of listening plugin's signals.
5878
5879         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5880         of emitting signals.
5881
5882         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5883
5884         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5885
5886         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5887         nm_ppp_manager_start().
5888
5889         * introspection/nm-ppp-manager.xml: New file.
5890
5891         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5892         the case correctly where driver is trying to send -1 for the speed, which gets
5893         casted to u16 and thus is always > 0.
5894
5895 2008-03-07  Dan Williams  <dcbw@redhat.com>
5896
5897         * src/nm-hal-manager.c
5898                 - (nm_get_device_driver_name): use net.originating_device first, fall
5899                         back to physical device.  HAL has deprecated physical_device.
5900
5901         * libnm-glib/nm-device.c
5902                 - (get_product_and_vendor): use net.originating_device first, fall
5903                         back to physical device.  HAL has deprecated physical_device.
5904                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5905
5906 2008-03-07  Dan Williams  <dcbw@redhat.com>
5907
5908         * src/nm-netlink.c
5909                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5910                         last commit; fix that
5911                 - (get_link_cache): print error string
5912
5913 2008-03-07  Dan Williams  <dcbw@redhat.com>
5914
5915         * src/nm-netlink.c
5916                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5917                         don't need this hack any more (Benoit Boissinot)
5918
5919 2008-03-06  Dan Williams  <dcbw@redhat.com>
5920
5921         * autogen.sh
5922                 - Die gnome-common, die
5923
5924 2008-03-04  Dan Williams  <dcbw@redhat.com>
5925
5926         Patch from Michael Biebl <biebl@debian.org>
5927
5928         * NetworkManager.pc.in
5929                 - doesn't actually depend on dbus-1
5930
5931         * libnm-util/nm-utils.h
5932                 - remove unused #include <dbus/dbus.h>
5933
5934         * libnm-glib/libnm_glib.pc.in
5935                 - depends on glib and dbus-glib
5936
5937 2008-03-02  Dan Williams  <dcbw@redhat.com>
5938
5939         * src/NetworkManagerPolicy.c
5940                 - s/device_state_changed_idle_id/update_state_id/
5941
5942 2008-03-02  Dan Williams  <dcbw@redhat.com>
5943
5944         * src/nm-device.c
5945           src/nm-device.h
5946           src/nm-device-802-11-wireless.c
5947           src/nm-device-802-3-ethernet.c
5948           src/NetworkManagerPolicy.c
5949                 - s/link_active/carrier
5950                 - nm_device_set_active_link() -> nm_device_set_carrier()
5951                 - nm_device_has_active_link() -> nm_device_get_carrier()
5952
5953 2008-03-02  Dan Williams  <dcbw@redhat.com>
5954
5955         * system-settings/plugins/ifcfg-fedora/parser.c
5956                 - (make_wireless_setting): fail connection creation on missing SSID
5957
5958 2008-02-29  Dan Williams  <dcbw@redhat.com>
5959
5960         * src/NetworkManagerPolicy.c
5961                 - (nm_policy_device_change_check): ensure that a previously active
5962                         device with a system connection has a link before denying a switch
5963                         to a user connection
5964
5965 2008-02-29  Dan Williams  <dcbw@redhat.com>
5966
5967         * src/nm-device-802-11-wireless.c
5968                 - (link_timeout_cb): try again if scanning; deactivate the device when
5969                         activated if the link dies
5970                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5971                         15 seconds
5972
5973 2008-02-29  Dan Williams  <dcbw@redhat.com>
5974
5975         * src/nm-device-802-11-wireless.c
5976           src/nm-device-802-11-wireless.h
5977                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5978                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5979                 - (device_cleanup): reset the scan interval lower when the device
5980                         deactivates
5981                 - (can_scan): base decision mostly off device state, not supplicant
5982                         interface state since the supplicant interface state isn't a
5983                         great indicator of whether the device is active or not
5984                 - (request_wireless_scan): clean up; schedule the next scan here
5985                 - (schedule_scan): only back the scan interval off if a new scan
5986                         actually gets scheduled; and make scan intervals tighter when the
5987                         device is disconnected
5988                 - (supplicant_iface_state_cb_handler): fold in the bits of
5989                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5990                         interval to minimum
5991                 - (activation_success_handler): reset scan interval to something
5992                         reasonable 
5993
5994 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5995
5996         reviewed by: Steev <steev@steev.net>
5997
5998         * configure.in:
5999         * src/backends/NetworkManagerGentoo.c:
6000         (nm_system_restart_mdns_responder):
6001                 Howl is no longer a supported mDNS provider
6002
6003 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6004
6005         Get rid of a bunch of unused distro specific functions.
6006
6007 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6008
6009         Implement suse plugin for system settings daemon.
6010
6011         * system-settings/plugins/ifcfg-suse/*: Implement.
6012
6013         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6014         suse.
6015
6016         * configure.in: Check (without failing) for gio.
6017         Create ifcfg-suse plugin's Makefile.
6018
6019 2008-02-20  Dan Williams  <dcbw@redhat.com>
6020
6021         * libnm-util/nm-connection.c
6022           libnm-util/nm-connection.h
6023                 - (nm_connection_compare): accept compare flags and pass them to the
6024                         setting compare function
6025
6026         * libnm-util/nm-setting.c
6027           libnm-util/nm-setting.h
6028                 - (nm_setting_compare): accept compare flags; ignore properties that are
6029                         marked fuzzy
6030
6031         * libnm-util/nm-setting-connection.c
6032           libnm-util/nm-setting-wireless.c
6033           libnm-util/nm-setting-ppp.c
6034           libnm-util/nm-setting-wired.c
6035                 - Mark some setting properties as ignorable when doing a fuzzy compare
6036
6037         * src/nm-device.c
6038                 - (device_activation_precheck): use exact compare
6039
6040 2008-02-20  Dan Williams  <dcbw@redhat.com>
6041
6042         * src/NetworkManagerPolicy.c
6043                 - (nm_policy_device_change_check): get scope off the connection, not
6044                         using the manager helper
6045
6046         * src/nm-manager.c
6047           src/nm-manager.h
6048                 - (get_scope_for_proxy): rename from get_type_for_proxy()
6049                 - (connection_get_settings_cb): set scope and path on connection, not
6050                         using GObject data items
6051                 - (get_connection_for_proxy): don't need to return path, since that
6052                         can be gotten from the connection
6053                 - (get_connection_for_proxy): get path off the connection, not from
6054                         parameters
6055                 - (connection_removed_cb, connection_updated_cb): don't need to get
6056                         path from get_connection_for_proxy(); get scope off the connection
6057                         instead of using GObject data items
6058                 - (connection_added_default_handler, add_one_connection_element): use
6059                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6060                 - (nm_manager_get_connection_dbus_path): remove
6061                 - (nm_manager_get_connection_scope): remove
6062
6063 2008-02-20  Dan Williams  <dcbw@redhat.com>
6064
6065         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6066                 on confusing names
6067
6068         * Add 'path' and 'scope' properties to NMConnection since both NM and the
6069                 applet were having to hack this in anyway.  Remove the 'path' stuff from
6070                 NMExportedConnection
6071
6072         * Internally rename NMConnectionType -> NMConnectionScope
6073
6074         * Provide default implementations of the 'get_id' and 'get_settings' methods
6075                 of NMExportedConnection
6076
6077 2008-02-15  Dan Williams  <dcbw@redhat.com>
6078
6079         * src/nm-device-802-11-wireless.c
6080                 - (device_cleanup): release the AP list here too so that the AP list
6081                         doesn't survive across suspend/resume and up/down.  There is some
6082                         room for optimization, for example blow the list away when the card
6083                         brought back up, but only if the device has only been down for a
6084                         minute or more.
6085
6086 2008-02-15  Dan Williams  <dcbw@redhat.com>
6087
6088         * src/nm-hal-manager.c
6089                 - (modem_device_creator): recognize new HAL modem capabilities
6090
6091 2008-02-12  Dan Williams  <dcbw@redhat.com>
6092
6093         * system-settings/plugins/ifcfg-fedora/plugin.c
6094                 - (watch_path): handle IN_DELETE_SELF too
6095                 - (handle_connection_changed): notify when removing a connection
6096                 - (stuff_changed): don't warn on unknown inotify watches; handle the
6097                         case of a file moving out of the profile directory
6098
6099 2008-02-12  Dan Williams  <dcbw@redhat.com>
6100
6101         * system-settings/plugins/ifcfg-fedora/parser.c
6102                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6103
6104 2008-02-12  Dan Williams  <dcbw@redhat.com>
6105
6106         * libnm-util/nm-utils.c
6107                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6108                         just any empty array
6109
6110 2008-02-12  Dan Williams  <dcbw@redhat.com>
6111
6112         * system-settings/src/nm-system-config-interface.c
6113           system-settings/src/nm-system-config-interface.h
6114                 - (load_connections): get_connections() should now return an allocated
6115                         GSList that the system settings service will free
6116
6117         * system-settings/plugins/ifcfg-fedora/plugin.c
6118           system-settings/plugins/ifcfg-fedora/parser.h
6119           system-settings/plugins/ifcfg-fedora/parser.c
6120                 - Fix up inotify issues; handle keys-* files, handle new files appearing
6121                         in the profile directory, handle resolv.conf file changes
6122
6123 2008-02-10  Dan Williams  <dcbw@redhat.com>
6124
6125         * src/nm-device-802-3-ethernet.c
6126                 - (real_bring_up): save the supplicant interface state signal id
6127                 - (real_bring_down): disconnect from the supplicant interface state
6128                         signal
6129
6130 2008-02-07  Dan Williams  <dcbw@redhat.com>
6131
6132         * initscript/RedHat/NetworkManager.in
6133           initscript/RedHat/NetworkManagerDispatcher.in
6134                 - Add new-style LSB init headers
6135
6136 2008-02-07  Dan Williams  <dcbw@redhat.com>
6137
6138         * system-settings/src/dbus-settings.c
6139           system-settings/src/dbus-settings.h
6140                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6141                         table of secrets
6142                 - (connection_settings_get_secrets): consolidate error returns into
6143                         one place; use the new get_secrets() plugin interface function to
6144                         get secrets from the plugin itself rather than using GObject data
6145                         magic
6146
6147         * system-settings/src/main.c
6148                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6149                    load_connections): keep a private list of the plugin-returned
6150                         connections, don't use the plugin's GSList
6151
6152         * system-settings/plugins/ifcfg-fedora/plugin.c
6153                 - (watch_path): watch the path, not the filename (duh)
6154                 - (reload_all_connections): use the direct hash/equal functions; the
6155                         ones for int aren't appropriate here
6156                 - (get_secrets, system_config_interface_init): implement the
6157                         get_secrets() function
6158                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6159                         now in the connection's ConnectionData instead of being a GObject
6160                         data property
6161                 - (handle_profile_item_changed): ifcfg file path is now in the
6162                         connection's ConnectionData instead of being a GObject data property;
6163                         be sure to copy secrets over from the new connection to the existing
6164                         connection when updating the connection's settings
6165                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6166                         file descriptor
6167
6168         * system-settings/plugins/ifcfg-fedora/parser.c
6169           system-settings/plugins/ifcfg-fedora/parser.h
6170                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6171                    connection_data_copy_secrets, connection_data_free,
6172                    connection_data_add): new functions; connection data manipulation
6173                 - (make_wireless_security_setting): stuff secrets into the
6174                         connection data, not as GObject data items; make sure to close
6175                         the keys ifcfg file
6176                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6177                         connection data to the connection
6178
6179 2008-02-07  Dan Williams  <dcbw@redhat.com>
6180
6181         * system-settings/src/nm-system-config-interface.c
6182           system-settings/src/nm-system-config-interface.h
6183                 - Add a get_secrets() interface function to retrieve secrets for a
6184                         specific setting of a specific connection.  Document the interface
6185                         a bit more too.
6186
6187 2008-02-07  Dan Williams  <dcbw@redhat.com>
6188
6189         * src/nm-device-802-11-wireless.c
6190                 - (handle_auth_or_fail): new function; consolidate device activation
6191                         failure check after a certain number of failures getting secrets
6192                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6193                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6194                         the connection if secrets were requested more than a few times
6195                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6196                         tries here; otherwise they are cleared before the IP configure
6197                         timeout, which happens with open system WEP when key is wrong
6198                 - (activation_success_handler): clear wireless secrets tries here too
6199
6200 2008-02-07  Dan Williams  <dcbw@redhat.com>
6201
6202         * src/NetworkManagerPolicy.c
6203                 - (connection_updated): clear invalid tag when connection gets updated
6204                         to allow that connection to be tried again
6205                 - (nm_policy_new): save signal ids so they can be disconnected when
6206                         the policy is destroyed
6207                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6208                         and disconnect all signals from the manager object so that none
6209                         of the policy functions gets called after the policy is destroyed
6210
6211 2008-02-06  Dan Williams  <dcbw@redhat.com>
6212
6213         * src/nm-manager.c
6214                 - (finalize): remove devices a bit earlier; clean up system settings
6215                         poke
6216                 - (nm_manager_name_owner_changed): clean up system settings poke when
6217                         the service appears, and try to restart it if it fails
6218                 - (poke_system_settings_daemon_cb): try to get the system settings
6219                         service started through D-Bus service activation
6220                 - (initial_get_connections): start the system settings daemon if it's
6221                         not already running
6222
6223 2008-02-05  Dan Williams  <dcbw@redhat.com>
6224
6225         * src/supplicant-manager/nm-supplicant-config.c
6226                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6227                         broadcast networks too
6228
6229 2008-02-04  Dan Williams  <dcbw@redhat.com>
6230
6231         * system-settings/plugins/ifcfg-fedora/parser.c
6232                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6233                         need key_mgmt set too
6234                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6235                         .bak files; ensure that an error is set whenever NULL gets returned
6236
6237 2008-02-04  Dan Williams  <dcbw@redhat.com>
6238
6239         * system-settings/src/Makefile.am
6240                 - Install D-Bus service activation file for the system settings
6241                         service
6242
6243         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6244                 - D-Bus service activation file for system settings service
6245
6246 2008-02-04  Dan Williams  <dcbw@redhat.com>
6247
6248         * system-settings/src/main.c
6249                 - (parse_config_file): parse a config file
6250                 - (main): accept --config option and read plugins from config file
6251
6252 2008-02-04  Dan Williams  <dcbw@redhat.com>
6253
6254         * system-settings/plugins/ifcfg-fedora/plugin.c
6255                 - Change reported name to 'ifcfg-fedora'
6256                 - Use IFCFG_PLUGIN_NAME
6257
6258         * system-settings/plugins/ifcfg-fedora/plugin.c
6259                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6260
6261 2008-02-04  Dan Williams  <dcbw@redhat.com>
6262
6263         * system-settings/plugins/ifcfg-fedora/parser.c
6264                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6265                 - (make_connection_setting): use get_ifcfg_name()
6266                 - (make_wireless_security_setting): handle shadow key files
6267                 - (get_one_wep_key): treat empty string as NULL
6268
6269 2008-02-04  Dan Williams  <dcbw@redhat.com>
6270
6271         * src/supplicant-manager/nm-supplicant-manager.c
6272                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6273                         glib automatically reschedule
6274                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6275                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6276                         the supplicant
6277
6278 2008-02-01  Dan Williams  <dcbw@redhat.com>
6279
6280         * src/NetworkManagerPolicy.c
6281                 - (device_state_changed): schedule a change check when a device gets
6282                         deactivated so something happens if you disconnect GSM/CDMA
6283
6284 2008-01-31  Dan Williams  <dcbw@redhat.com>
6285
6286         * src/nm-device-802-11-wireless.h
6287           src/nm-device-802-11-wireless.c
6288                 - (ap_list_get_ap_by_ssid, is_associated,
6289                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6290                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6291                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6292                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6293                         function
6294
6295 2008-01-30  Dan Williams  <dcbw@redhat.com>
6296
6297         * system-settings/plugins/ifcfg
6298         * system-settings/plugins/ifcfg-fedora
6299                 - Move the ifcfg plugin to ifcfg-fedora
6300
6301 2008-01-24  Dan Williams  <dcbw@redhat.com>
6302
6303         * libnm-glib/nm-device-802-11-wireless.c
6304                 - (get_access_point): move the "/" check here; check for invalid path
6305                         too
6306                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6307                         to get_access_point()
6308                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6309                         to send signals for non-existent access points
6310
6311 2008-01-24  Dan Williams  <dcbw@redhat.com>
6312
6313         * libnm-glib/nm-device-802-11-wireless.c
6314                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6315
6316 2008-01-23  Dan Williams  <dcbw@redhat.com>
6317
6318         * libnm-glib/libnm_glib.c
6319                 - (libnm_glib_init): make thread joinable
6320                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6321
6322 2008-01-23  Dan Williams  <dcbw@redhat.com>
6323
6324         * test/libnm_glib_test.c
6325                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6326                 - (main): set up signal handlers; call libnm_glib_shutdown
6327
6328 2008-01-21  Dan Williams  <dcbw@redhat.com>
6329
6330         * include/NetworkManager.h
6331                 - Add CDMA mobile broadband card device type
6332
6333         * src/nm-hal-manager.c
6334                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6335                         must now be tagged with 'cdma' or 'gsm' capability
6336
6337         * src/nm-cdma-device.c
6338           src/nm-cdma-device.h
6339           src/Makefile.am
6340                 - Add the CDMA mobile broadband card device class
6341
6342         * libnm-util/nm-connection.c
6343                 - (register_default_settings): add NMSettingCdma
6344
6345         * libnm-util/nm-setting-cdma.c
6346           libnm-util/nm-setting-cdma.h
6347           libnm-util/Makefile.am
6348                 - Add the CDMA mobile broadband card setting class
6349
6350         * libnm-glib/nm-cdma-device.c
6351           libnm-glib/nm-cdma-device.h
6352           libnm-glib/Makefile.am
6353                 - Add the CDMA mobile broadband card GLib proxy class
6354
6355         * libnm-glib/nm-client.c
6356                 - (get_device): handle CDMA devices too
6357
6358 2008-01-21  Dan Williams  <dcbw@redhat.com>
6359
6360         * src/ppp-manager/nm-ppp-manager.c
6361                 - (ip4_config_get): set peer address too
6362
6363         * src/ppp-manager/nm-pppd-plugin.c
6364                 - (nm_ip_up): try harder to get the peer's address
6365
6366         * src/NetworkManagerSystem.c
6367                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6368                         address, use that too.  Otherwise, some PPP connections won't work.
6369
6370 2008-01-19  Dan Williams  <dcbw@redhat.com>
6371
6372         * src/NetworkManagerPolicy.c
6373                 - (nm_policy_device_change_check): system connections override user
6374                         connections; don't activate a user connection if there's a currently
6375                         active system connection, and new, better system connections always
6376                         interrupt user connections
6377
6378 2008-01-19  Dan Williams  <dcbw@redhat.com>
6379
6380         * src/nm-manager.h
6381                 - (nm_manager_get_connection_type): new function
6382
6383 2008-01-19  Dan Williams  <dcbw@redhat.com>
6384
6385         * src/nm-device-802-11-wireless.c
6386                 - (real_get_best_connection): collapse find_best_connection() into this
6387                         function
6388
6389 2008-01-19  Dan Williams  <dcbw@redhat.com>
6390
6391         * src/nm-device-802-3-ethernet.c
6392                 - (real_get_best_connection): collapse find_best_connection() into this
6393                         function
6394
6395 2008-01-18  Dan Williams  <dcbw@redhat.com>
6396
6397         * src/nm-device-802-3-ethernet.c
6398                 - (find_best_connection): check MAC address too
6399                 - (real_get_best_connection): let autoconnect=True connections activate
6400                         for devices that don't have carrier detection
6401
6402         * src/nm-device-802-11-wireless.c
6403                 - (find_best_connection): check MAC address too
6404
6405 2008-01-18  Dan Williams  <dcbw@redhat.com>
6406
6407         * system-settings/plugins/ifcfg/parser.c
6408                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6409
6410 2008-01-17  Dan Williams  <dcbw@redhat.com>
6411
6412         * src/nm-device-802-3-ethernet.c
6413                 - (nm_device_802_3_ethernet_carrier_on,
6414                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6415                         carrier events that might come in for devices that don't support
6416                         carrier detect
6417
6418 2008-01-17  Dan Williams  <dcbw@redhat.com>
6419
6420         * src/nm-device-interface.c
6421                 - (nm_device_interface_check_connection_conflicts): need to actually
6422                         get the interface, not cast to the object
6423
6424         * src/nm-device.c
6425                 - (nm_device_check_connection_conflicts): need to get the device class,
6426                         not cast the device to the device class
6427
6428 2008-01-17  Dan Williams  <dcbw@redhat.com>
6429
6430         * src/nm-device-802-11-wireless.c
6431                 - (real_check_connection_conflicts): ignore connections that aren't
6432                         wireless connections
6433
6434 2008-01-17  Dan Williams  <dcbw@redhat.com>
6435
6436         * src/NetworkManagerPolicy.c
6437                 - (nm_policy_device_change_check): clear change check idle here
6438                 - (device_change_check_done): remove
6439                 - (schedule_change_check): simplify
6440
6441 2008-01-17  Dan Williams  <dcbw@redhat.com>
6442
6443         * src/nm-manager.c
6444                 - (check_connection_allowed): take an NMDeviceInterface instead of
6445                         an NMDevice object as an argument
6446                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6447                         check_connection_allowed()
6448
6449 2008-01-13  Dan Williams  <dcbw@redhat.com>
6450
6451         * libnm-glib/nm-device-802-11-wireless.c
6452                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6453
6454 2008-01-12  Dan Williams  <dcbw@redhat.com>
6455
6456         * src/nm-device-802-11-wireless.c
6457                 - (activation_success_handler): if a match was found in the scan list
6458                         and that match is a hidden AP, update that AP's SSID
6459
6460 2008-01-11  Dan Williams  <dcbw@redhat.com>
6461
6462         * src/NetworkManagerAP.c
6463                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6464
6465         * src/nm-device-802-11-wireless.c
6466                 - (get_active_ap): do two passes over the scan list if the caller
6467                         requests that hidden APs get matched too; during the second pass
6468                         when matching hidden APs, ignore the SSID since hidden APs in the
6469                         scan list don't have an SSID yet
6470                 - (periodic_update): move some checks to
6471                         nm_device_802_11_periodic_update() because not all callers need them
6472                 - (nm_device_802_11_periodic_update): move some checks here from
6473                         perodic_update()
6474                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6475                         matching on incoming scan results, because the fake AP's flags
6476                         might be slightly different (yet still compatible) with the incoming
6477                         scan result's flags and they might actually be the same AP; update
6478                         the rate on merged APs too
6479                 - (activation_success_handler): update the frequency of the fake AP
6480                         on successful connection; match hidden APs too since if the
6481                         current AP is fake, there might already be a scan result in the
6482                         scan list for the desired AP, just without it's SSID filled in yet
6483
6484 2008-01-10  Dan Williams  <dcbw@redhat.com>
6485
6486         * src/NetworkManagerAP.c
6487                 - (foreach_property_cb): catch more hidden SSID formats
6488
6489 2008-01-10  Dan Williams  <dcbw@redhat.com>
6490
6491         Fix gnome.org #464215.  Requires the kernel patch titled
6492         "Introduce WEXT scan capabilities" but will handle the patch not being
6493         present, you'll just continue to have problems with hidden SSIDs when
6494         using mac80211-based drivers.
6495
6496         * src/supplicant-manager/nm-supplicant-config.h
6497           src/supplicant-manager/nm-supplicant-config.c
6498                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6499                         whether the driver supports SSID scans or not.  If it does, and if
6500                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6501
6502         * src/nm-device-802-11-wireless.c
6503                 - (constructor): check whether or not the driver supports SSID scans
6504                 - (build_supplicant_config): pass driver SSID scan capability when
6505                         building the wireless bits of the supplicant config
6506
6507 2008-01-09  Dan Williams  <dcbw@redhat.com>
6508
6509         * src/nm-device.c
6510           src/nm-device.h
6511                 - (device_activation_precheck, check_connection_complete): remove this
6512                         virtual function; incomplete connections should be invalid by
6513                         definition, complete-ness should be checked in the setting's
6514                         verify function
6515
6516         * src/nm-serial-device.c
6517           src/nm-gsm-device.c
6518                 - (real_check_connection_complete): remove
6519
6520         * libnm-util/nm-setting-serial.c
6521                 - (verify): new function; ensure there is a PPP setting too
6522
6523         * libnm-util/nm-setting-gsm.c
6524                 - (verify): ensure there is a serial setting too
6525
6526 2008-01-06  Dan Williams  <dcbw@redhat.com>
6527
6528         * src/dhcp-manager/nm-dhcp-manager.c
6529                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6530                         (gnome.org #332953)
6531
6532 2008-01-04  Dan Williams  <dcbw@redhat.com>
6533
6534         * src/named-manager/nm-named-manager.c
6535                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6536                         nameservers if the secondary config doesn't have any
6537                         (gnome.org #346833)
6538
6539 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6540
6541         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6542         with G_PARAM_CONSTRUCT so that they get the default values.
6543
6544         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6545         the monitoring device and prints out the output for now. Or more precicely, doesn't
6546         do absolutely anything right now since the montoring device argument is never set.
6547
6548         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6549         requires it's own knob to turn it on.
6550         (config_fd): Add NMSettingSerial to the arguments list.
6551         (nm_serial_device_open): Ditto.
6552         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6553         (nm_serial_device_get_io_channel): Implement.
6554
6555         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6556         a new reference every time (and forgetting to release it sometimes) is a pain and
6557         it's not like NMManager could work without dbus.
6558         (nm_manager_add_device): Register the added device on dbus here.
6559
6560         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6561         device.
6562
6563         * src/nm-device.c (constructor): Don't export the device here, instead export
6564         it when it's added to the NMManager's device list.
6565
6566 2007-12-31  Dan Williams  <dcbw@redhat.com>
6567
6568         * src/nm-device-interface.c
6569           src/nm-device-interface.h
6570                 - (nm_device_interface_check_connection_conflicts): new function
6571
6572         * src/nm-device.c
6573           src/nm-device.h
6574                 - (nm_device_check_connection_conflicts): new function
6575                 - (device_activation_precheck): don't require subclasses to implement
6576                         check_connection_complete()
6577                 - check_connection() -> check_connection_complete()
6578
6579         * src/nm-device-802-11-wireless.c
6580                 - (real_check_connection): remove; unused
6581                 - (real_check_connection_conflicts): implement, handle lockdown for
6582                         system connections
6583
6584         * src/nm-device-802-3-ethernet.c
6585                 - (real_check_connection): remove; unused
6586
6587         * src/nm-manager.c
6588                 - (check_connection_allowed): new function
6589                 - (nm_manager_activate_device): ensure the connection being requested
6590                         is allowed to be activated
6591
6592         * src/nm-serial-device.c
6593           src/nm-gsm-device.c
6594                 - real_check_connection() -> real_check_connection_complete()
6595
6596 2007-12-27  Dan Williams  <dcbw@redhat.com>
6597
6598         * src/nm-device-interface.c
6599           src/nm-device-interface.h
6600                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6601                         normalize and expand errors
6602                 - (nm_device_interface_init): register errors so they can be marshalled
6603                         through dbus-glib
6604                 - (nm_device_interface_activate): ensure that failure of activation
6605                         returns an error
6606
6607         * src/nm-device.c
6608           src/nm-device.h
6609                 - (device_activation_precheck): implementations of check_connection()
6610                         now take a GError and must fill it in if the check fails.  Return
6611                         more descriptive error if the requested connection is already
6612                         activating
6613                 - (nm_device_activate): actually try to return descriptive errors on
6614                         failures
6615
6616         * src/nm-device-802-11-wireless.c
6617           src/nm-device-802-3-ethernet.c
6618           src/nm-serial-device.c
6619           src/nm-gsm-device.c
6620                 - (real_check_connection): return more descriptive errors on failure
6621
6622         * src/NetworkManagerPolicy.c
6623                 - (nm_policy_device_change_check): print activation errors in the logs
6624
6625         * src/nm-manager.c
6626                 - (nm_manager_error_quark, nm_manager_error_get_type,
6627                    nm_manager_class_init): new errors
6628                 - (nm_manager_activate_device): handle errors
6629                 - (nm_manager_error_new): removed
6630                 - (wait_for_connection_expired, connection_added_default_handler,
6631                    impl_manager_activate_device): better error handling
6632
6633 2007-12-27  Dan Williams  <dcbw@redhat.com>
6634
6635         Fixes gnome.org #466954
6636
6637         * src/supplicant-manager/nm-supplicant-settings-verify.c
6638                 - Allow 'frequency' network property
6639
6640         * src/supplicant-manager/nm-supplicant-config.c
6641           src/supplicant-manager/nm-supplicant-config.h
6642                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6643                         for callers to specify the frequency an Ad-Hoc network should operate
6644                         on.  Some drivers require this to successfully create an Ad-Hoc
6645                         network.
6646
6647         * src/nm-device-802-11-wireless.c
6648                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6649                         guint32 value in MHz
6650                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6651                         iw_freq_to_uint32()
6652                 - (find_supported_frequency): new function; find a free supported
6653                         frequency for a user-created Ad-Hoc network
6654                 - (build_supplicant_config): if no frequency was specified for a user-
6655                         created Ad-Hoc network, find a free one to use
6656                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6657                         a specific object as user-created
6658
6659 2007-12-27  Dan Williams  <dcbw@redhat.com>
6660
6661         * libnm-util/nm-utils.c
6662           libnm-util/nm-utils.h
6663                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6664                         for adhoc networks
6665
6666 2007-12-24  Dan Williams  <dcbw@redhat.com>
6667
6668         * libnm-util/nm-setting-wireless.c
6669                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6670                         185, 187, 188, 192, and 196
6671
6672 2007-12-24  Dan Williams  <dcbw@redhat.com>
6673
6674         * src/nm-device-802-11-wireless.c
6675                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6676                         a channel # instead of a frequency
6677
6678 2007-12-24  Dan Williams  <dcbw@redhat.com>
6679
6680         * src/NetworkManagerAP.c
6681           src/NetworkManagerAP.h
6682                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6683                 - (freq_to_channel): handle split band tables
6684                 - (channel_to_freq): handle split band tables, take a band argument
6685
6686 2007-12-24  Dan Williams  <dcbw@redhat.com>
6687
6688         * libnm-util/nm-setting-connection.h
6689           libnm-util/nm-setting-connection.c
6690                 - Add 'lockdown' member
6691
6692 2007-12-22  Dan Williams  <dcbw@redhat.com>
6693
6694         * libnm-util/nm-setting-wireless.c
6695                 - (nm_setting_wireless_class_init): add missing 'rate' property
6696                         specification
6697
6698 2007-12-18  Dan Williams  <dcbw@redhat.com>
6699
6700         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6701
6702         * src/nm-netlink-monitor.c
6703           src/nm-netlink-monitor.h
6704                 - Remove handrolled netlink, use libnl instead
6705
6706         * src/nm-device-802-3-ethernet.c
6707                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6708                    nm_device_802_3_ethernet_carrier_on): use new names
6709
6710 2007-12-17  Dan Williams  <dcbw@redhat.com>
6711
6712         * configure.in
6713                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6714                         and fixes memory leaks)
6715
6716         * src/nm-netlink.c
6717                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6718                         automatically handle the netlink PID
6719
6720 2007-12-17  Dan Williams  <dcbw@redhat.com>
6721
6722         Patch from Michael Biebl <biebl@debian.org>
6723
6724         * configure.in
6725           src/ppp-manager/Makefile.am
6726                 - fix up install dir of pppd plugin
6727                 - clean up configure.in a bit
6728
6729 2007-12-12  Dan Williams  <dcbw@redhat.com>
6730
6731         * system-settings/src/nm-system-settings.conf
6732                 - Allow non-root clients (like the applet) to read settings
6733
6734 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6735
6736         * Replace all occurences of 'UMTS' with 'GSM'.
6737
6738 2007-12-07  Dan Williams  <dcbw@redhat.com>
6739
6740         * src/nm-serial-device.c
6741                 - (real_is_up): serial devices are always "up"
6742
6743 2007-12-07  Dan Williams  <dcbw@redhat.com>
6744
6745         * src/nm-netlink.c
6746           src/NetworkManagerSystem.c
6747                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6748                         twice (gnome.org #491047)
6749                 - Make more robust against allocation-related failures should they occur
6750
6751 2007-12-07  Dan Williams  <dcbw@redhat.com>
6752
6753         Noticed by Christian Persch <chpe@gnome.org>
6754
6755         Always chain up to parent object in dispose and finalize handlers.
6756                 (gnome.org #433112)
6757
6758 2007-12-07  Dan Williams  <dcbw@redhat.com>
6759
6760         * src/nm-device-802-11-wireless.c
6761                 - Wrap #include of linux/mii.h to fix redefined structures due to
6762                         incorrect kernel headers (gnome.org #350061)
6763
6764 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6765
6766         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6767         before doing anything else.
6768         (init_modem): Move modem initialization here.
6769
6770         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6771         (nm_serial_device_flash): Implement.
6772
6773         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6774         changes signal is "StateChanged" and not "Status".
6775         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6776
6777 2007-12-06  Dan Williams  <dcbw@redhat.com>
6778
6779         * src/supplicant-manager/nm-supplicant-config.c
6780                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6781                         to only send some options when they make sense; also send phase2
6782                         option to the supplicant (possible fix for rh #399631)
6783
6784 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6785
6786         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6787         arguments: This whole file shouldn't really know anything about NMDevices, it
6788         should deal only with device interfaces. Devices might have different ifaces for
6789         different stuff and this place shouldn't know anything about it.
6790
6791         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6792         (global_state_changed): Implement. In the current NM it's not really important,
6793         but will be required in the case of multiple active devices. (Or even better,
6794         if stuff like that gets moved out from NM).
6795
6796         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6797         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6798         instead.
6799
6800         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6801         devices like serial devices (ttyS0 and ppp0 for example).
6802         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6803         set.
6804         (nm_device_set_ip_iface): Implement.
6805         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6806         after setting ip4_config from here ...
6807         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6808         than this function should call nm_system_device_set_from_ip4_config() because no
6809         other code has enough information on which arguments to use. So instead, other code
6810         could just set the new ip4 config using this function and everyone is happy.
6811
6812         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6813         if we happen to get deactivated while something is pending.
6814         (automatic_registration): Handle the response that indicates pending network
6815         registration and wait until the pending registration is done.
6816         (real_deactivate_quickly): If there's a pending operation, cancel it.
6817
6818         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6819         (real_deactivate_quickly): ... and remove it when it's down.
6820         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6821         it if needed.
6822         (nm_serial_device_wait_for_reply): Ditto.
6823
6824 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6825
6826         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6827         (get_network_done): Remove newline, nm_info() does it already.
6828         (real_act_stage1_prepare): Turn the modem echo off.
6829
6830         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6831         device, set the route to the device interface. This is a hack.
6832
6833         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6834         return, no need for a new-line.
6835         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6836         Change the device iface here (ugh).
6837         (real_act_stage4_get_ip4_config): Implement.
6838         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6839         Restore the device iface.
6840
6841         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6842         device is not wired or wireless (eg, automatically upped) device.
6843
6844         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6845         it isn't.
6846         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6847
6848         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6849         before calling it's is_device_fn().
6850
6851 2007-12-05  Dan Williams  <dcbw@redhat.com>
6852
6853         * libnm-util/nm-utils.c
6854                 - (nm_utils_register_value_transformations,
6855                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6856                         GHashTables of GValues too
6857
6858 2007-12-04  Dan Williams  <dcbw@redhat.com>
6859
6860         * initscript/RedHat/NetworkManager.in
6861                 - No longer start named; it's D-Bus interface is going away
6862
6863 2007-12-04  Dan Williams  <dcbw@redhat.com>
6864
6865         Patch from Michael Biebl <biebl@debian.org>
6866
6867         * system-settings/plugins/ifcfg/Makefile.am
6868           system-settings/src/main.c
6869           system-settings/src/Makefile.am
6870                 - Put system settings plugins in NM plugins dir
6871
6872         * src/ppp-manager/Makefile.am
6873           src/ppp-manager/nm-ppp-manager.c
6874                 - Move pppd plugin to NM plugins dir
6875
6876 2007-12-04  Dan Williams  <dcbw@redhat.com>
6877
6878         * libnm-util/nm-setting-vpn-properties.h
6879                 - Clarify usage of the 'data' member of the setting
6880
6881         * libnm-util/nm-setting-vpn-properties.c
6882                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6883                 - (set_property): just remove all the settings; don't recreate the has
6884                 - (update_one_secret): don't need to create the hash table here since
6885                         it should always be present
6886
6887 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6888
6889         Implement PIN and PUK requesting.
6890
6891         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6892         (enter_pin): Handle PIN and PUK requests.
6893         (real_act_stage1_prepare): Clear the secret type.
6894         (real_connection_secrets_updated): Implement this class method to get
6895         notified when new secrets arrive.
6896         (nm_umts_device_class_init): Add private data back to the umts device class
6897         to store the required secret type.
6898
6899 2007-12-01  Dan Williams  <dcbw@redhat.com>
6900
6901         * system-settings/plugins/ifcfg/parser.c
6902                 - (parser_parse_file): don't try to verify NULL connections
6903
6904 2007-12-01  Dan Williams  <dcbw@redhat.com>
6905
6906         * system-settings/src/main.c
6907                 - (load_connections, add_connection_to_settings): actually export
6908                         plugin-provided connections over D-Bus so NM can get them
6909
6910 2007-12-01  Dan Williams  <dcbw@redhat.com>
6911
6912         * system-settings/plugins/ifcfg/parser.c
6913           system-settings/plugins/ifcfg/parser.h
6914           system-settings/plugins/ifcfg/plugin.c
6915                 - Hook up more inotify bits (untested)
6916
6917 2007-11-29  Dan Williams  <dcbw@redhat.com>
6918
6919         * system-settings/src/nm-system-config-interface.h
6920           system-settings/src/nm-system-config-interface.c
6921                 - (nm_system_config_interface_init,
6922                    nm_system_config_interface_get_connections): add
6923
6924         * system-settings/src/main.c
6925                 - (load_plugins, load_connections, main): use a GSList for plugins
6926                         to ensure priority ordering
6927
6928         * system-settings/plugins/ifcfg/parser.c
6929                 - (ifcfg_error_quark): move to plugin.c, and rename
6930
6931         * system-settings/plugins/ifcfg/plugin.h
6932           system-settings/plugins/ifcfg/plugin.c
6933                 - (ifcfg_plugin_error_quark): move here from parser.c
6934                 - rework connection loading and initialization
6935                 - Add preliminary inotify support for network profile config file
6936
6937 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6938
6939         Merge the beginnings of the new GSM card support.
6940
6941         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6942         ppp watch source before killing pppd - If this happens from g_object_unref()
6943         then the ppp manager is already destroyed by the time the watch callback runs.
6944
6945         * src/nm-hal-manager.c: Add a device_type_name string to the device
6946         creators, so that we can print a nice human readable string when a
6947         device is added.
6948
6949         * src/nm-umts-device.c (automatic_registration_get_network): Query
6950         for the activated network, not much is done with the result thought.
6951
6952         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6953         (ppp_ip4_config): Change the device state to activated here for now.
6954         (real_check_connection): Make sure the connection includes ppp setting.
6955
6956         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6957
6958         * libnm-glib/Makefile.am: Add the new files to build.
6959
6960         * libnm-glib/nm-umts-device.c: 
6961         * libnm-glib/nm-umts-device.h: Implement.
6962
6963 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6964
6965         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6966         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6967
6968         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6969         the timeout source - this function is only called when the timeout source has
6970         been removed.
6971         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6972         to be big enough to contain the terminating zero element as well.
6973         The timeout argument is meant to be in seconds now.
6974         (real_deactivate_quickly): Implement.
6975
6976         * src/NetworkManager.conf: Allow root to own 
6977         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6978
6979         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6980         (not unsigned ints).
6981
6982         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6983         small issue with parity bounds - capital letters have lower ascii codes
6984         than lower case letters.
6985
6986         * libnm-util/nm-connection.c (register_default_settings): Register serial
6987         and umts settings.
6988
6989 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6990
6991         Remove the "index" property from devices as not all device types have this.
6992
6993         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6994
6995         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6996         (wired_device_creator): Get the device interface from hal to create the device.
6997         (wireless_device_creator): Ditto.
6998
6999         * src/nm-device.c (nm_device_init): Remove the index member.
7000         (constructor): Remove the checks for index property, make interface property
7001         a require constructor property.
7002         Use the HAL udi for DBus path for devices.
7003         (nm_device_get_index): Remove.
7004         (set_property): Remove index handling.
7005         (get_property): Ditto.
7006         (nm_device_get_dbus_path): Remove.
7007
7008         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7009         property.
7010
7011         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7012         Access the device index through it's interface.
7013         (nm_device_802_3_ethernet_link_deactivated): Ditto.
7014         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7015         index argument. Add interface argument.
7016
7017         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7018         the useless test_dev argument. Remove index argument. Add interface arugment.
7019
7020         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7021         device index through interface.
7022         (nm_system_set_mtu): Ditto.
7023
7024         * introspection/nm-device.xml: Remove the "Index" property.
7025
7026 2007-11-21  Tambet Ingo  <tambet@gmail.com>
7027
7028         * src/nm-serial-device.c: 
7029         * src/nm-serial-device.c: 
7030         * src/nm-umts-device.c:
7031         * src/nm-umts-device.h: Implement.
7032
7033         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
7034         allocated by libhal.
7035         (modem_device_creator): Implement.
7036         (register_built_in_creators): Register the modem creator.
7037
7038         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
7039         Remove the unused test_dev argument.
7040
7041         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7042
7043         * src/Makefile.am: Add new files to build.
7044         Link in ppp-manager.
7045
7046         * libnm-util/nm-setting-umts.c: 
7047         * libnm-util/nm-setting-umts.h: 
7048         * libnm-util/nm-setting-serial.c: 
7049         * libnm-util/nm-setting-serial.h: Implement.
7050
7051         * libnm-util/Makefile.am: Add new files to build.
7052
7053 2007-11-28  Dan Williams  <dcbw@redhat.com>
7054
7055         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7056
7057         Support DHCP-provided static routes.
7058
7059         * src/nm-ip4-config.h
7060           src/nm-ip4-config.c
7061                 - Add get/set functions for static routes
7062
7063         * src/dhcp-manager/nm-dhcp-manager.c
7064                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7065                         DHCP response
7066
7067         * src/NetworkManagerSystem.c
7068                 - (nm_system_device_set_from_ip4_config): set any static routes on the
7069                         interface when applying the IP4Config
7070
7071 2007-11-28  Dan Williams  <dcbw@redhat.com>
7072
7073         * src/nm-device-802-11-wireless.c
7074                 - (real_act_stage1_prepare): mark APs created for hidden networks
7075                         as non-broadcasting
7076
7077 2007-11-27  Dan Williams  <dcbw@redhat.com>
7078
7079         * system-settings/src/nm-system-config-interface.h
7080                 - Note how to store secrets on NMSetting objects
7081
7082         * system-settings/src/dbus-settings.c
7083                 - (connection_settings_get_secrets): implement
7084
7085 2007-11-27  Dan Williams  <dcbw@redhat.com>
7086
7087         * system-settings/plugins/ifcfg/Makefile.am
7088           system-settings/plugins/ifcfg/parser.c
7089           system-settings/plugins/ifcfg/parser.h
7090           system-settings/plugins/ifcfg/plugin.c
7091                 - Parse wireless connections too
7092
7093         * system-settings/src/dbus-settings.c
7094           system-settings/src/dbus-settings.h
7095           system-settings/src/main.c
7096                 - Handle connection update/removal if the plugin supports it
7097
7098 2007-11-27  Dan Williams  <dcbw@redhat.com>
7099
7100         * src/nm-dbus-manager.h
7101           src/nm-hal-manager.c
7102                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7103                         do it for them
7104
7105         * src/Makefile.am
7106           src/NetworkManagerDbusUtils.c
7107           src/NetworkManagerDbusUtils.h
7108                 - Remove these two source files; they are unused
7109
7110 2007-11-27  Dan Williams  <dcbw@redhat.com>
7111
7112         * src/vpn-manager/nm-vpn-manager.c
7113                 - (impl_vpn_manager_connect): fix system settings check (found by
7114                         James M. Leddy)
7115
7116 2007-11-26  Dan Williams  <dcbw@redhat.com>
7117
7118         * Fix warnings so everything compiles with --enable-more-warnings
7119
7120 2007-11-25  Dan Williams  <dcbw@redhat.com>
7121
7122         * system-settings/*
7123                 - Rework structure and code to use GModule-loaded plugins and a plugin
7124                         interface that plugins export to the system settings service
7125
7126 2007-11-21  Dan Williams  <dcbw@redhat.com>
7127
7128         * system-settings/*
7129                 - Add Soren's system settings service.  Needs work for distros other
7130                         than Fedora; the backends from NM should mostly migrate to here
7131                         and be converted to GObjects
7132
7133 2007-11-21  Dan Williams  <dcbw@redhat.com>
7134
7135         * libnm-util/nm-setting-vpn-properties.c
7136                 - (set_property): must deep-copy the given settings hash, otherwise
7137                         double-free errors occur when the setting is disposed of
7138
7139 2007-11-21  Dan Williams  <dcbw@redhat.com>
7140
7141         * src/vpn-manager/nm-vpn-act-request.h
7142           src/vpn-manager/nm-vpn-act-request.c
7143                 - Remove; unused
7144
7145 2007-11-20  Dan Williams  <dcbw@redhat.com>
7146
7147         * libnm-util/nm-utils.c
7148                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7149                    nm_utils_convert_ip4_addr_struct_array_to_string,
7150                    nm_utils_register_value_transformations): print out the readable
7151                         values of more types of properties of NMSettings subclasses
7152
7153 2007-11-20  Dan Williams  <dcbw@redhat.com>
7154
7155         * libnm-util/nm-setting-ip4-config.c
7156                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7157                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7158                         marshal GValueArrays inside collections, so switch to types that it
7159                         can actually marshal/demarshal
7160
7161 2007-11-16  Dan Williams  <dcbw@redhat.com>
7162
7163         * libnm-util/nm-setting-wireless-security.c
7164                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7165                         minimal verification of EAP methods too
7166                 - (verify): verify phase1 eap methods too
7167
7168 2007-11-15  Dan Williams  <dcbw@redhat.com>
7169
7170         * libnm-glib/nm-device.h
7171           libnm-glib/nm-device.c
7172                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7173                         const char *
7174
7175 2007-11-15  Dan Williams  <dcbw@redhat.com>
7176
7177         * libnm-glib/nm-device.c
7178                 - (get_product_and_vendor): don't try to free things that should be
7179                         freed
7180
7181 2007-11-15  Dan Williams  <dcbw@redhat.com>
7182
7183         * src/NetworkManagerUtils.c
7184                 - (nm_ethernet_address_is_valid): unbreak previous fix
7185
7186 2007-11-15  Dan Williams  <dcbw@redhat.com>
7187
7188         * src/supplicant-manager/nm-supplicant-config.c
7189                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7190                         options
7191
7192 2007-11-15  Dan Williams  <dcbw@redhat.com>
7193
7194         * src/NetworkManagerUtils.c
7195                 - (nm_ethernet_address_is_valid): fix style, clarify
7196                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7197
7198         * src/nm-device-802-11-wireless.c
7199                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7200                 - (nm_device_802_11_wireless_get_ssid,
7201                    nm_device_802_11_wireless_get_bssid,
7202                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7203                         before calling the ioctl; fixes valgrind-reported jump depends on
7204                         uninitialized value errors
7205
7206 2007-11-15  Dan Williams  <dcbw@redhat.com>
7207
7208         * libnm-util/nm-setting.c
7209                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7210                         unecessary to serialize 'name'
7211
7212         * src/nm-activation-request.c
7213                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7214                         the GetSecrets call
7215
7216 2007-11-15  Dan Williams  <dcbw@redhat.com>
7217
7218         * libnm-util/nm-setting-connection.h
7219           libnm-util/nm-setting-connection.c
7220                 - Rename the 'name' property to 'id', because it conflicted with the
7221                         NMSetting superclass' 'name' property.
7222
7223         * libnm-util/nm-setting.c
7224                 - (nm_setting_to_hash): serialize the 'name' property
7225                 - (one_property_cb): ignore 'name' on deserialization of a connection
7226
7227         * src/nm-device-802-11-wireless.c
7228           src/vpn-manager/nm-vpn-connection.c
7229           src/NetworkManagerPolicy.c
7230                 - Fix up for NMSettingConnection 'name'->'id' changes
7231
7232 2007-11-13  Dan Williams  <dcbw@redhat.com>
7233
7234         * libnm-glib/nm-device-802-11-wireless.h
7235           libnm-glib/nm-device-802-11-wireless.c
7236                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7237
7238         * test/nm-tool.c
7239           libnm-glib/libnm-glib-test.c
7240                 - Fixes for above change
7241
7242 2007-11-12  Dan Williams  <dcbw@redhat.com>
7243
7244         * src/supplicant-manager/nm-supplicant-settings-verify.c
7245                 - Allow fragment_size option
7246
7247         * src/supplicant-manager/nm-supplicant-settings-verify.c
7248                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7249                         EAP fragment size than the default to help some TLS connections
7250
7251 2007-11-12  Dan Williams  <dcbw@redhat.com>
7252
7253         Make certs actually work.  The private key is now a secret, and should be
7254         decrypted when requested by NM.  The private key and phase2 private key
7255         passwords are no longer interesting to NM because they should be used by
7256         the settings service to decrypt the private key itself before passing it
7257         to NM, and hence have been removed as fields.
7258
7259         * libnm-util/nm-setting-wireless-security.h
7260           libnm-util/nm-setting-wireless-security.c
7261                 - Remove private-key-passwd and phase2-private-key-passwd from
7262                         properties
7263                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7264                    need_secrets): use property #defines instead strings to keep things
7265                         consistent
7266                 - (need_secrets_tls): if a client certificate is present but no
7267                         private key, request the private key
7268                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7269                         remove private key password stuff, mark private keys as secret
7270
7271         * src/supplicant-manager/nm-supplicant-settings-verify.c
7272                 - Remove private_key_passwd and private_key2_passwd from opt_table
7273
7274 2007-11-09  Dan Williams  <dcbw@redhat.com>
7275
7276         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7277         Since the vpn-properties are managed and known by the VPN daemons themselves,
7278         libnm-util doesn't know what's secret and what's in the setting's 'data'
7279         member.
7280
7281         * libnm-util/nm-setting.h
7282           libnm-util/nm-setting.c
7283                 - Add the ability for subclasses to override update_one_secret
7284
7285         * libnm-util/nm-setting-vpn-properties.c
7286                 - Override update_one_secret and just copy the values into the
7287                         internal table
7288
7289 2007-11-09  Dan Williams  <dcbw@redhat.com>
7290
7291         * libnm-glib/nm-settings.h
7292           libnm-glib/nm-settings.c
7293                 - (nm_settings_new_error): remove
7294                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7295                         clients should use g_set_error() with NM_SETTINGS_ERROR
7296
7297 2007-11-09  Dan Williams  <dcbw@redhat.com>
7298
7299         * src/supplicant-manager/nm-supplicant-config.c
7300                 - (nm_supplicant_config_add_setting_wireless_security): private key
7301                         passwords are never sent to wpa_supplicant, because the supplicant
7302                         should never be reading random files from the disk.  Clients like
7303                         the applet are required to decrypt the private keys and send NM
7304                         the decrypted blobs.
7305
7306 2007-11-08  Dan Williams  <dcbw@redhat.com>
7307
7308         * libnm-util/nm-setting-wireless-security.h
7309           libnm-util/nm-setting-wireless-security.c
7310                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7311                         members to 802-11-wireless-security structure.  This should be used
7312                         to indicate that the values in private-key and phase2-private-key
7313                         are already decrypted by the user agent, and that no
7314                         private-key-passwd or phase2-private-key-passwd should be expected.
7315                         It is not meant to be a stored configuration value, but meant to
7316                         be set when the conneciton is sent to NM over dbus.
7317
7318 2007-11-08  Dan Williams  <dcbw@redhat.com>
7319
7320         * libnm-util/nm-connection.h
7321           libnm-util/nm-connection.c
7322                 - (nm_connection_need_secrets): add argument to return hints
7323
7324         * src/nm-device-802-11-wireless.c
7325                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7326                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7327                         nm_connection_need_secrets() change
7328
7329 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7330
7331         Rework NMSetting structures: Move each setting to it's own file.
7332         Convert to GObject. Remove home grown setting types and use GTypes.
7333         Use GObject property introspection for hash conversion, enumerating
7334         properties, etc.
7335
7336         * libnm-util/nm-setting-connection.[ch]
7337         * libnm-util/nm-setting-ip4-config.[ch]
7338         * libnm-util/nm-setting-ppp.[ch]
7339         * libnm-util/nm-setting-vpn.[ch]
7340         * libnm-util/nm-setting-vpn-properties.[ch]
7341         * libnm-util/nm-setting-wired.[ch]
7342         * libnm-util/nm-setting-wireless.[ch]
7343         * libnm-util/nm-setting-wireless-security.[ch]
7344
7345         New files, each containing a setting.
7346
7347         * libnm-util/nm-setting-template.[ch]: A template for creating new
7348         settings. To use it, just replace 'template' with the new setting
7349         name, and you're half-way done.
7350
7351         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7352         introspection instead of internal types and tables.
7353
7354         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7355
7356         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7357         GValue types defined by dbus-glib for composed types like collections,
7358         structures and maps.
7359
7360         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7361         a setting from connection takes the setting type now. Also, since
7362         the settings are in multiple files, include relevant settings.
7363
7364 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7365
7366         * configure.in:
7367         * src/backends/NetworkManagerGentoo.c:
7368         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7369         providers in Gentoo.
7370
7371 2007-10-31  Dan Williams  <dcbw@redhat.com>
7372
7373         * libnm-util/nm-connection.c
7374                 - (gvalue_to_string): handle UINT32 arrays
7375
7376 2007-10-31  Dan Williams  <dcbw@redhat.com>
7377
7378         * libnm-glib/nm-device.h
7379           libnm-glib/nm-device.c
7380                 - (nm_device_get_description): remove
7381                 - (nm_device_get_product, nm_device_get_vendor): add
7382                 - (nm_device_update_description): new function (private); walk HAL
7383                         devices to get product and vendor IDs for a specific device
7384
7385 2007-10-31  Dan Williams  <dcbw@redhat.com>
7386
7387         * src/nm-device-802-11-wireless.c
7388                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7389
7390 2007-10-29  Dan Williams  <dcbw@redhat.com>
7391
7392         * src/nm-hal-manager.c
7393                 - (device_added, device_new_capability): ignore device additions while
7394                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7395                         kernel module is unloaded and reloaded and recognized by NM again.
7396
7397 2007-10-26  Dan Williams  <dcbw@redhat.com>
7398
7399         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7400
7401         * src/NetworkManagerAP.c
7402           src/NetworkManagerAP.h
7403           libnm-glib/nm-access-point.c
7404           libnm-glib/nm-access-point.h
7405                 - Make 'rate' property a guint32 to better match with WEXT and
7406                         wpa_supplicant and to allow representation of higher bitrates
7407
7408         * src/nm-device-802-11-wireless.c
7409           introspection/nm-device-802-11-wireless.xml
7410           libnm-glib/nm-device-802-11-wireless.c
7411           libnm-glib/nm-device-802-11-wireless.h
7412                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7413
7414         * src/nm-device-802-3-ethernet.c
7415           src/nm-device-802-3-ethernet.h
7416           introspection/nm-device-802-3-ethernet.xml
7417           libnm-glib/nm-device-802-3-ethernet.c
7418           libnm-glib/nm-device-802-3-ethernet.h
7419                 - Make 'speed' property a guint32 to match other speed/rate types
7420                 - Make nm_device_802_3_ethernet_get_speed() static
7421
7422         * test/nm-tool.c
7423                 - Update for the changes above
7424
7425 2007-10-26  Dan Williams  <dcbw@redhat.com>
7426
7427         * src/named-manager/nm-named-manager.c
7428                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7429                     not calling fclose() twice on some error conditions
7430
7431 2007-10-26  Dan Williams  <dcbw@redhat.com>
7432
7433         * src/nm-activation-request.c
7434                 - (dispose): clean up indentation; get the right DBusGProxy object to
7435                         cancel the GetSecrets pending call on.  Need to use the Secrets
7436                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7437                         pending call doesn't get canceled, and pressing Cancel in the
7438                         applet's password dialog could cause get_secrets_cb() to be called
7439                         after the activation request has already been destroyed
7440
7441 2007-10-24  Dan Williams  <dcbw@redhat.com>
7442
7443         * src/supplicant-manager/nm-supplicant-config.c
7444                 - (nm_supplicant_config_add_blob): pass blob data and length for
7445                         verification
7446                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7447
7448 2007-10-24  Dan Williams  <dcbw@redhat.com>
7449
7450         * src/supplicant-manager/nm-supplicant-settings-verify.c
7451                 - (opt_table): max length for certificates should be 65536
7452
7453 2007-10-24  Dan Williams  <dcbw@redhat.com>
7454
7455         * src/supplicant-manager/nm-supplicant-interface.c
7456                 - (blob_free): correctly free blob data after use
7457                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7458
7459 2007-10-24  Dan Williams  <dcbw@redhat.com>
7460
7461         * libnm-util/nm-setting.c
7462                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7463                         EAP method need secrets
7464
7465 2007-10-24  Dan Williams  <dcbw@redhat.com>
7466
7467         * src/backends/NetworkManagerRedHat.c
7468                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7469
7470 2007-10-23  Dan Williams  <dcbw@redhat.com>
7471
7472         * libnm-util/nm-setting.c
7473           libnm-util/nm-setting.c
7474                 - (nm_setting_compare): implement
7475                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7476                    compare_one_hash_gvalue): compare the contents of a setting
7477
7478         * libnm-util/nm-connection.c
7479                 - (nm_connection_compare): implement
7480
7481 2007-10-23  Dan Williams  <dcbw@redhat.com>
7482
7483         * src/nm-activation-request.c
7484                 - (get_secrets_cb): handle getting a setting back that is more than
7485                         just secrets (ie, user changed auth or EAP method or something)
7486
7487 2007-10-23  Dan Williams  <dcbw@redhat.com>
7488
7489         * libnm-util/nm-setting.c
7490           libnm-util/nm-setting.h
7491                 - (nm_setting_verify): new function; verify one setting
7492                 - (nm_settings_verify_all): rename from nm_settings_verify()
7493                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7494                         all_settings
7495
7496         * libnm-util/nm-connection.c
7497                 - (nm_connection_replace_settings, nm_connection_verify,
7498                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7499
7500 2007-10-23  Dan Williams  <dcbw@redhat.com>
7501
7502         * src/nm-device-802-11-wireless.c
7503                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7504                         desired behavior
7505
7506 2007-10-23  Dan Williams  <dcbw@redhat.com>
7507
7508         * src/supplicant-manager/nm-supplicant-settings-verify.c
7509                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7510                         nm-settings.c
7511
7512 2007-10-23  Dan Williams  <dcbw@redhat.com>
7513
7514         * src/nm-device-802-11-wireless.c
7515                 - (real_act_stage2_config): after the first association failure,
7516                         if the connection still needs secrets ask the user for them
7517                         explicitly.  After the fourth association failure due to bad
7518                         secrets, fail the connection entirely.  Handles the GetSecrets
7519                         loop that NM gets into when the provided secrets don't match up
7520                         with the connection details.
7521
7522 2007-10-23  Dan Williams  <dcbw@redhat.com>
7523
7524         * src/supplicant-manager/nm-supplicant-config.c
7525                 - (nm_supplicant_config_add_setting_wireless_security): only add
7526                         WPA-specific options when WPA is in use
7527
7528 2007-10-23  Dan Williams  <dcbw@redhat.com>
7529
7530         * src/supplicant-manager/nm-supplicant-config.c
7531                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7532                         secret doesn't need to be unhexified
7533
7534 2007-10-23  Dan Williams  <dcbw@redhat.com>
7535
7536         * libnm-util/nm-setting.c
7537                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7538                         before trying to do something with it
7539
7540 2007-10-23  Dan Williams  <dcbw@redhat.com>
7541
7542         * src/nm-device-802-11-wireless.c
7543                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7544
7545 2007-10-23  Dan Williams  <dcbw@redhat.com>
7546
7547         * src/nm-device-802-11-wireless.c
7548                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7549                         non-SSID-broadcasting APs
7550
7551 2007-10-23  Dan Williams  <dcbw@redhat.com>
7552
7553         * src/NetworkManagerAP.c
7554                 - (match_cipher, security_compatible): remove
7555                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7556                         libnm-util instead
7557
7558 2007-10-23  Dan Williams  <dcbw@redhat.com>
7559
7560         * libnm-util/nm-utils.c
7561           libnm-util/nm-utils.h
7562                 - (nm_utils_ap_security_compatible): common function for checking
7563                         whether a specific AP is compatible with an NMConnection
7564
7565 2007-10-23  Dan Williams  <dcbw@redhat.com>
7566
7567         * libnm-util/nm-setting.c
7568                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7569                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7570                    need_secrets_password, setting_wireless_security_verify): fix
7571                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7572                         secrets logic for each supported EAP method
7573
7574 2007-10-23  Dan Williams  <dcbw@redhat.com>
7575
7576         * src/supplicant-manager/nm-supplicant-config.c
7577                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7578                         config option name, should be "private_key2_passwd"
7579
7580 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7581
7582         Implement support for static IP addresses, additional/overridden DNS and
7583         DNS domain search lists.
7584
7585         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7586         (ip4_addresses_to_gvalue): Implement.
7587         (convert_array_to_byte_array): Implement.
7588         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7589         NM_S_TYPE_IP4_ADDRESSES.
7590         (nm_setting_hash): Ditto.
7591         (default_setting_clear_secrets): Add a default case for the switch: IP address
7592         shouldn't be secret, ever.
7593         (setting_ip4_config_verify): Update, requires addresses in case of manual
7594         configurations.
7595         (setting_ip4_config_destroy): Free stuff.
7596
7597         * src/nm-device.c (merge_ip4_config): Implement.
7598         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7599
7600 2007-10-22  Dan Williams  <dcbw@redhat.com>
7601
7602         * libnm-util/nm-setting.c
7603                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7604                         pairwise cipher options for Dynamic WEP
7605
7606 2007-10-21  Dan Williams  <dcbw@redhat.com>
7607
7608         * src/NetworkManagerAP.c
7609           src/NetworkManagerAP.h
7610                 - Rename 'articifical' -> 'fake' since that's what they are until
7611                         noticed in scans
7612                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7613                         from the attributes in an NMConnection object
7614                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7615                         WPA Enterprise
7616                 - (nm_ap_match_in_list): find a matching AP in a scan list
7617
7618         * src/nm-device-802-11-wireless.c
7619                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7620                         AP when searching the scan list; match on frequency and mode too
7621                 - (nm_device_802_11_wireless_get_frequency): implement
7622                 - (merge_scanned_ap): replace duplicate matching logic with
7623                         nm_ap_match_in_list()
7624                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7625                         the user is trying to connect to a hidden network that is not yet
7626                         known from the scan list
7627                 - (activation_success_handler): now that the card knows the AP's BSSID,
7628                         there may already be a scanned AP in the scan list that is what
7629                         we really wanted to connect to, but didn't know at the time.  Use
7630                         that instead of the 'fake' AP created at activation start and get
7631                         rid of the 'fake' AP 
7632                 - (cull_scan_list): don't remove fake APs
7633
7634 2007-10-21  Dan Williams  <dcbw@redhat.com>
7635
7636         * src/nm-activation-request.h
7637           src/nm-activation-request.c
7638                 - (nm_act_request_set_specific_object): new function; allow setting the
7639                         specific object if one isn't set yet
7640
7641 2007-10-20  Dan Williams  <dcbw@redhat.com>
7642
7643         * src/supplicant-manager/nm-supplicant-config.h
7644           src/supplicant-manager/nm-supplicant-config.c
7645                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7646                         table to store blobs
7647                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7648                         blob hash table
7649                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7650                 - (nm_supplicant_config_add_setting_wireless_security): handle
7651                         options that use certificates (ie, blobs)
7652
7653         * src/nm-device-802-11-wireless.c
7654                 - (build_supplicant_config): pass a UID (just use the connection path)
7655                         to the supplicant config as now required
7656
7657         * src/supplicant-manager/nm-supplicant-interface.c
7658                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7659                         there are any blobs to send to wpa_supplicant, send those first
7660                         before sending the network configuration
7661
7662 2007-10-19  Dan Williams  <dcbw@redhat.com>
7663
7664         Split the GetSecrets() call off to a separate D-Bus interface so that it
7665         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7666         should be able to call GetSecrets().
7667
7668         * include/NetworkManager.h
7669                 - Define the connection secrets D-Bus interface
7670
7671         * src/vpn-manager/nm-vpn-connection.c
7672                 - (clear_need_auth): get the right proxy object for the connection
7673                         secrets interface
7674                 - (get_connection_secrets): use the connection secrets proxy; send
7675                         empty hints in get secrets request
7676
7677         * src/nm-activation-request.c
7678                 - (nm_act_request_request_connection_secrets): use the connection
7679                         secrets proxy; send empty hints in get secrets request
7680
7681         * src/nm-manager.c
7682           src/nm-manager.h
7683                 - (connection_get_settings_cb): set the connection secrets proxy on
7684                         the connection object too
7685                 - (internal_new_connection_cb): create the connection secrets proxy
7686
7687         * introspection/nm-settings-connection.xml
7688                 - Define Connection.Secrets interface and move GetSecrets there
7689                 - Add a 'hints' argument to GetSecrets
7690
7691         * libnm-glib/nm-settings.c
7692           libnm-glib/nm-settings.h
7693                 - (impl_connection_settings_get_secrets): add 'hints' argument
7694
7695 2007-10-19  Dan Williams  <dcbw@redhat.com>
7696
7697         * src/nm-device.c
7698                 - (constructor): add message about what path a device is exported as
7699                         to help in debugging rh #339011
7700
7701 2007-10-17  Dan Williams  <dcbw@redhat.com>
7702
7703         * libnm-util/nm-utils.h
7704           libnm-util/nm-utils.c
7705                 - (nm_utils_security_valid): common function to help find the intersection
7706                         of capabilities of devices and (optionally) access points
7707
7708 2007-10-17  Dan Williams  <dcbw@redhat.com>
7709
7710         * src/nm-device-802-11-wireless.c
7711                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7712                         don't get erroneously cleared
7713
7714 2007-10-17  Dan Williams  <dcbw@redhat.com>
7715
7716         * src/nm-manager.h
7717           src/nm-manager.c
7718           src/nm-hal-manager.c
7719                 - (device_removed, finalize, nm_manager_remove_device,
7720                    nm_manager_sleep): add a 'deactivate' argument to 
7721                    nm_manager_remove_device() to fully deactivate devices when necessary
7722                    (ie, always except when waking up)
7723
7724 2007-10-16  Dan Williams  <dcbw@redhat.com>
7725
7726         * libnm-util/nm-setting.c
7727                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7728                         also isn't valid phase2 autheap method
7729
7730 2007-10-16  Dan Williams  <dcbw@redhat.com>
7731
7732         * libnm-glib/nm-client.c
7733                 - (update_wireless_status): consolidate updates of wireless status
7734                 - (constructor): use update_wireless_status()
7735                 - (manager_running): set wireless status off when NM goes away; requery
7736                         the wireless status when NM comes back
7737
7738 2007-10-16  Dan Williams  <dcbw@redhat.com>
7739
7740         * libnm-glib/nm-client.c
7741                 - (nm_client_activate_device): actually use the fixed-up specific
7742                         object path
7743
7744 2007-10-16  Dan Williams  <dcbw@redhat.com>
7745
7746         * src/nm-hal-manager.c
7747                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7748                         killswitch error messages once
7749
7750 2007-10-16  Dan Williams  <dcbw@redhat.com>
7751
7752         * src/nm-manager.c
7753                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7754                         if it's disabled in hardware; don't touch network devices while
7755                         NM is asleep
7756
7757 2007-10-16  Dan Williams  <dcbw@redhat.com>
7758
7759         * libnm-util/nm-client.c
7760                 - (nm_client_activate_device): convert NULL specific_object to "/",
7761                         which is used in place of NULL
7762
7763         * src/nm-manager.c
7764                 - (impl_manager_activate_device): convert "/" specific_object back into
7765                         NULL
7766
7767 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7768
7769         Implement a generic NMSetting creator from setting name.
7770         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7771         add a virtual function 'populate_fn'.
7772
7773         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7774         (register_default_creators): Register setting creators instead of functions
7775         that create and then populate.
7776         (parse_one_setting): Use the common setting creator and then setting specific
7777         poplulation function.
7778
7779         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7780         they all looked exactly the same.
7781         Add a 'populate_fn' virtual function to NMSetting.
7782         Use default virtual functions in case they are not overriden.
7783         (nm_setting_populate_from_hash): Implement.
7784
7785         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7786         name, use a defined string.
7787         (real_act_stage4_get_ip4_config): Ditto.
7788
7789 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7790
7791         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7792         HAL is int, not uint.
7793
7794 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7795
7796         Implement killswitch polling through HAL.
7797
7798         * src/nm-manager.c: Add wireless hardware status property. Add 
7799         'properties-changed' signal for changes in wireless and wireless hardware
7800         state changes.
7801
7802         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7803         and update NMManager's wireless hardware state when it has changed.
7804         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7805         already does that.
7806
7807         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7808         values of wireless state and wireless hardware state. Listen for the
7809         'properties-changed' signals, update the cached values and emit notify.
7810
7811         * include/NetworkManager.h: Fix a typo in a comment.
7812
7813 2007-10-14  Dan Williams  <dcbw@redhat.com>
7814
7815         * libnm-util/nm-setting.c
7816                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7817
7818 2007-10-13  Dan Williams  <dcbw@redhat.com>
7819
7820         * libnm-util/nm-setting.h
7821           libnm-util/nm-setting.c
7822           src/supplicant-manager/nm-supplicant-config.c
7823                 - Make the 'proto' field of the 802-11-wireless-security field a
7824                         string list
7825
7826 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7827
7828         Rework the "properties-changed" signal listening implementation.
7829         Add a generic implementation to NMObject class that listens for
7830         the signal and calls property setters of the target NMObject.
7831
7832         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7833
7834         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7835         code to the end of file so that all the static functions are available
7836         without extra declarations.
7837         Remove the "properties-changed" signal handling and use the framework from
7838         NMObject.
7839         Implement property setters for properties that change with 
7840         "properties-changed" signal.
7841
7842         * libnm-glib/nm-access-point.c: Ditto.
7843
7844 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7845
7846         Rework the "properties-changed" signal implementation.
7847         In classes that need to use it, just emit "GObject::notify" and the new
7848         framework takes care of the rest to make the signal available on dbus.
7849         The framework queues the notifications and tries to send as many together
7850         in one signal as possible.
7851
7852         * src/nm-properties-changed-signal.c:
7853         * src/nm-properties-changed-signal.h: Implement.
7854
7855         * src/Makefile.am: Add new files to build.
7856
7857         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7858         signal.
7859
7860         * src/nm-device-802-11-wireless.c: Ditto.
7861
7862 2007-10-10  Dan Williams  <dcbw@redhat.com>
7863
7864         * src/nm-manager.c
7865                 - (wait_for_connection_expired): ensure info is valid
7866                 - (connection_added_default_handler): Should only remove pending
7867                         connection info when the manager has the connection that it's
7868                         waiting for.  Fixes segfault in wait_for_connection_info().  
7869
7870 2007-10-10  Dan Williams  <dcbw@redhat.com>
7871
7872         * libnm-util/nm-setting.c
7873           libnm-util/nm-setting.h
7874                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7875                         can use if they choose.  Should be filled in by the settings service
7876                         on-the-fly with the currently logged in user's username
7877
7878 2007-10-10  Dan Williams  <dcbw@redhat.com>
7879
7880         * src/nm-device-802-11-wireless.c
7881                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7882                         as such, because even if the manager fills in the SSID, NM still
7883                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7884                         its SSID
7885
7886 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7887
7888         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7889         code that used NM's own version of dbus signal handling and custom dictionary
7890         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7891         and we get to maintain over 2000 lines less code.
7892
7893         * libnm-util/dbus-dict-helpers.c:
7894         * libnm-util/dbus-dict-helpers.h: Remove.
7895
7896         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7897
7898         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7899
7900         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7901         handlers.
7902
7903         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7904
7905         * configure.in: Remove test/libnm-util/Makefile creation.
7906
7907         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7908
7909         * test/libnm-util/: Remove the whole directory.
7910
7911 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7912
7913         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7914         device_state_changed_idle_id variable or it would contain some random value and the
7915         schedule_change_check calls would not do anything.
7916
7917 2007-10-09  Dan Williams  <dcbw@redhat.com>
7918
7919         * src/nm-device-802-11-wireless.c
7920                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7921                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7922                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7923                         merging of non-SSID-broadcasting APs
7924
7925 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7926
7927         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7928         "guint8 *" since it's usually used with GByteArray->data.
7929         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7930
7931 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7932
7933         * src/NetworkManagerUtils.c
7934         (nm_utils_is_empty_ssid):
7935         (nm_utils_escape_ssid):
7936         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7937         lot of places, so they belong to libnm-utils instead.
7938
7939         Now with 100% less compiler warnings:
7940
7941         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7942         (nm_dbus_unescape_object_path): Ditto.
7943         (nm_utils_ssid_to_utf8): Ditto.
7944         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7945         (nm_utils_escape_ssid): Ditto.
7946         (nm_utils_same_ssid): Ditto.
7947
7948         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7949         (add_one_connection_element): Remove an unused variable.
7950         (impl_manager_get_active_connections): Ditto.
7951
7952         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7953         variable.
7954
7955         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7956         from the previous commit.
7957
7958         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7959         (real_act_stage1_prepare): Ditto.
7960         (activation_success_handler): Ditto.
7961         (get_property): Ditto.
7962
7963         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7964         variable.
7965
7966         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7967         it's always set.
7968
7969         * src/supplicant-manager/nm-supplicant-config.c 
7970         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7971         to expected "char *".
7972         (nm_supplicant_config_add_setting_wireless): Ditto.
7973         (nm_supplicant_config_remove_option): Remove, not used.
7974
7975         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7976         not double.
7977         (test_wireless_enabled): Ifdef out unused function.
7978         (device_deactivate): Ditto.
7979         (device_state_changed): Ditto.
7980         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7981         (nm_utils_escape_ssid): Ditto.
7982
7983         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7984         (nm_utils_is_empty_ssid): Ditto.
7985
7986         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7987         unused variable.
7988
7989         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7990         (setting_vpn_properties_update_secrets): Ditto.
7991         (int_to_gvalue): Ifdef out for now, not used.
7992         (byte_to_gvalue): Ditto.
7993
7994         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7995         Unused, remove.
7996
7997 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7998
7999         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8000         about dbus manager, not named manager.
8001         Make sure hal_manager and dbus_mgr are created before trying to unreference.
8002
8003         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8004         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8005         However, the same signal is emitted when we destroy it and there's 
8006         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8007
8008         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8009         releasing the DBusGConnection, since proxy needs a conneciton.
8010         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8011
8012 2007-10-08  Dan Williams  <dcbw@redhat.com>
8013
8014         * src/NetworkManager.c
8015                 - (main): error on unknown command-line options
8016
8017 2007-10-08  Dan Williams  <dcbw@redhat.com>
8018
8019         Reimplement the invalid connection list.  Don't try to re-activate a
8020         connection that just failed or was canceled.
8021
8022         * src/nm-device.c
8023                 - (connection_secrets_failed_cb): fail device activation, don't just
8024                         deactivate the device.  Listeners have to know about the failure.
8025
8026         * src/NetworkManagerPolicy.c
8027                 - (nm_policy_auto_get_best_device): exclude invalid connections from
8028                         the connection list given to a device's get_best_connection()
8029                         method
8030                 - (device_state_changed): tag failed connections as invalid; clear the
8031                         tag from successful connections
8032
8033 2007-10-08  Dan Williams  <dcbw@redhat.com>
8034
8035         Fix problems with interrupted activation.  Previously, choosing an AP
8036         from the menu, then choosing another one before the first connection was
8037         successful wouldn't deactivate the device before starting the new connection
8038         on that same device.
8039
8040         * src/NetworkManagerPolicy.c
8041                 - (deactivate_old_device, device_state_changed, state_changed,
8042                    nm_policy_new): wrong place to deactivate old devices
8043
8044         * src/nm-manager.c
8045                 - (pending_connection_info_destroy, finalize,
8046                    wait_for_connection_expired): decouple destruction of the pending
8047                         connection info from the manager device
8048                 - (connection_added_default_handler): deactivate any active or
8049                         activating device before starting a new activation
8050                 - (impl_manager_activate_device): deactivate any active or activating
8051                         device before starting a new activation; be sure not to leak
8052                         pending connection info if a new activation request arrives but
8053                         there's already a pending one in-process
8054
8055 2007-10-08  Dan Williams  <dcbw@redhat.com>
8056
8057         * src/NetworkManagerAP.h
8058           src/NetworkManagerAP.c
8059                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
8060                         should handle default SSIDs and whether or not to autoconnect
8061                         to them
8062
8063 2007-10-08  Dan Williams  <dcbw@redhat.com>
8064
8065         * src/NetworkManagerPolicy.c
8066                 - (nm_policy_device_change_check): print out connection name where
8067                         possible
8068
8069 2007-10-08  Dan Williams  <dcbw@redhat.com>
8070
8071         * src/nm-device-802-11-wireless.c
8072           src/nm-device-802-11-wireless.h
8073                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8074                         'hidden-ap-found' signal (for internal use only) that allows the
8075                         NMManager to fill in the AP's SSID if a connection has that AP's
8076                         BSSID in its seen-bssids list
8077
8078         * src/nm-manager.c
8079                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8080                         wireless device's hidden-ap-found signal and fill in the APs SSID
8081                         if possible
8082
8083 2007-10-07  Dan Williams  <dcbw@redhat.com>
8084
8085         * src/nm-manager.c
8086           src/nm-manager.h
8087                 - Add a 'connections-added' signal to batch together updates of large
8088                         numbers of connections, like when reading from a settings service
8089                         the first time.  Otherwise, the policy would just activate the first
8090                         suitable connection it saw rather than waiting for the full list
8091                         to arrive.
8092                 - (nm_manager_class_init): register new signal
8093                 - (get_type_for_proxy, connection_get_settings_cb,
8094                    get_connection_for_proxy): centralize places where a proxy's setting
8095                         service is determined
8096                 - (free_get_settings_info): if the call being freed is the last call
8097                         in a pending call group, fire off the connections-added signal
8098                 - (internal_new_connection_cb): add call to a pending call group if
8099                         requested
8100                 - (list_connections_cb): always create a call group here, because this
8101                         call results in a batch of new connections
8102                 - (initial_get_connections): start getting system connections first
8103                 - (nm_manager_connections_destroy, emit_removed): actually emit the
8104                         removed signal when destroying connections
8105
8106         * src/NetworkManagerPolicy.c
8107                 - (nm_policy_new, connections_added): handle connections-added signal
8108                         from the manager
8109
8110 2007-10-06  Dan Williams  <dcbw@redhat.com>
8111
8112         * src/nm-device-802-11-wireless.c
8113                 - (constructor): fix leaked socket
8114
8115 2007-10-06  Dan Williams  <dcbw@redhat.com>
8116
8117         * src/NetworkManagerPolicy.c
8118                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
8119                         connection in the list returned by nm_manager_get_connections() is
8120                         reffed, but they weren't getting unreffed before returning
8121
8122 2007-10-06  Dan Williams  <dcbw@redhat.com>
8123
8124         * src/nm-manager.c
8125                 - (connections_to_slist): sort connections first on autoconnect, then
8126                         on timestamp
8127
8128 2007-10-06  Dan Williams  <dcbw@redhat.com>
8129
8130         * libnm-util/nm-connection.c
8131                 - (gvalue_to_string): handle UINT64
8132
8133 2007-10-06  Dan Williams  <dcbw@redhat.com>
8134
8135         * src/NetworkManagerPolicy.c
8136                 - (connection_updated, nm_policy_new): recheck state when a connection
8137                         gets updated
8138
8139 2007-10-06  Dan Williams  <dcbw@redhat.com>
8140
8141         * src/nm-manager.c
8142           src/nm-manager.h
8143                 - (nm_manager_get_connection_dbus_path): make static
8144                 - (nm_manager_update_connections): remove; unused
8145                 - Add a connection-updated signal
8146                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8147                         handle connection object updates
8148
8149 2007-10-06  Dan Williams  <dcbw@redhat.com>
8150
8151         * src/NetworkManagerPolicy.c
8152                 - (connection_removed): deactivate removed connections
8153
8154 2007-10-06  Dan Williams  <dcbw@redhat.com>
8155
8156         * libnm-util/nm-connection.c
8157           libnm-util/nm-connection.h
8158                 - (nm_connection_replace_settings): new function
8159
8160 2007-10-06  Dan Williams  <dcbw@redhat.com>
8161
8162         * libnm-glib/nm-device-802-11-wireless.c
8163                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8164                         on error when getting the active access point over D-Bus from NM
8165
8166 2007-10-05  Dan Williams  <dcbw@redhat.com>
8167
8168         * libnm-util/nm-setting.c
8169                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8170                         to the NMSettingWireless table; it's now a string array not an array
8171                         of byte arrays
8172
8173 2007-10-05  Dan Williams  <dcbw@redhat.com>
8174
8175         * libnm-glib/nm-device-802-11-wireless.c
8176                 - Cache properties and update cached properties on D-Bus signals from NM
8177
8178 2007-10-05  Dan Williams  <dcbw@redhat.com>
8179
8180         * src/nm-device-802-11-wireless.c
8181                 - (set_current_ap): consolidate current_ap handling code into one place
8182                         to ensure that PropertiesChanged signals are emitted in all cases
8183                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8184                    nm_device_802_11_wireless_dispose): use set_current_ap()
8185
8186 2007-10-05  Dan Williams  <dcbw@redhat.com>
8187
8188         * libnm-glib/nm-access-point.c
8189           libnm-glib/nm-access-point.h
8190                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8191                         because the value is cached internally now.  Callers should not
8192                         free the internal value.
8193                 - Make signal name defines private
8194
8195         * test/nm-tool.c
8196           libnm-glib/libnm-glib-test.c
8197                 - Don't free value returned from nm_access_point_get_hw_address()
8198
8199 2007-10-04  Dan Williams  <dcbw@redhat.com>
8200
8201         * introspection/nm-device-802-11-wireless.xml
8202           src/nm-device-802-11-wireless.h
8203           src/nm-device-802-11-wireless.c
8204                 - Add a PropertiesChanged signal for wireless device
8205                 - Store currently associated access point
8206                 - (periodic_update): generalize; update rate here too and emit the
8207                         correct PropertiesChanged signal when stuff changes
8208                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8209                    real_activation_cancel_handler): clear current_ap when device is
8210                         deactivated
8211                 - (link_to_specific_ap, get_ap_blacklisted,
8212                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8213                         code
8214                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8215                         outside this file
8216                 - (real_set_hw_address): emit property changed signal if the card's
8217                         MAC address changes
8218                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8219                         the card is supposed to be connecting to
8220                 - (activation_success_handler): send out property updates on successful
8221                         activation
8222                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8223                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8224                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8225                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8226                         is now boxed; add PropertiesChanged signal
8227
8228 2007-10-04  Dan Williams  <dcbw@redhat.com>
8229
8230         * libnm-util/nm-connection.c
8231           libnm-util/nm-connection.h
8232                 - (nm_connection_verify): new function
8233
8234 2007-10-04  Dan Williams  <dcbw@redhat.com>
8235
8236         * libnm-util/nm-setting.c
8237                 - (nm_settings_verify): use #defines when possible rather than strings
8238                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8239                 - (setting_vpn_verify): tighter validity check on 'service_type'
8240
8241 2007-10-04  Dan Williams  <dcbw@redhat.com>
8242
8243         * libnm-glib/nm-settings.c
8244                 - (nm_connection_settings_class_init): provide correct type for argument
8245                         to the Updated signal so that dbus-glib knows how to marshal it
8246
8247 2007-10-03  Dan Williams  <dcbw@redhat.com>
8248
8249         * src/nm-device-802-3-ethernet.c
8250                 - (real_get_best_connection): don't create automatic connections
8251                         internally; clients should provide a setting that applies to
8252                         the device with 'autoconnect: True'.  Problem was that these
8253                         internally auto-created connections don't have a proxy or service
8254                         name becuase they weren't created by a settings daemon, and therefore
8255                         clients have no idea what to do with them.
8256
8257 2007-10-03  Dan Williams  <dcbw@redhat.com>
8258
8259         * src/nm-device-802-11-wireless.c
8260           src/nm-device-802-11-wireless.h
8261           introspection/nm-device-802-11-wireless.xml
8262                 - GetActiveNetworks -> GetAccessPoints
8263                 - ActiveNetwork -> ActiveAccessPoint
8264                 - NetworkAdded -> AccessPointAdded
8265                 - NetowrkRemoved -> AccessPointRemoved
8266
8267         * libnm-glib/nm-device-802-11-wireless.c
8268           libnm-glib/nm-device-802-11-wireless.h
8269                 - network-added signal -> access-point-added
8270                 - network-removed signal -> access-point-removed
8271                 - nm_device_802_11_wireless_get_active_network() ->
8272                         nm_device_802_11_wireless_get_active_access_point()
8273                 - nm_device_802_11_wireless_get_network_by_path() ->
8274                         nm_device_802_11_wireless_get_access_point_by_path()
8275                 - nm_device_802_11_wireless_get_networks() ->
8276                         nm_device_802_11_wireless_get_access_points()
8277
8278         * libnm-glib/libnm-glib-test.c
8279           test/nm-tool.c
8280           src/NetworkManagerPolicy.c
8281                 - Fixups for Network -> AccessPoint
8282
8283 2007-10-03  Dan Williams  <dcbw@redhat.com>
8284
8285         Add a GetActiveConnections() method on the Manager object.
8286
8287         * src/nm-manager.c
8288           src/nm-manager.h
8289           introspection/nm-manager.xml
8290                 - (connection_get_settings_cb): keep connection type around too
8291                 - (impl_manager_get_active_connections, add_one_connection_element):
8292                         implement; returns all active connections and what devices they
8293                         apply to
8294
8295         * libnm-glib/nm-client.c
8296           libnm-glib/nm-client.h
8297           introspection/nm-manager-client.xml
8298                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8299                         by the caller; free here to avoid memory leak
8300                 - (nm_client_get_active_connections): implement; return the list of
8301                         active connections
8302                 - (nm_client_free_active_connection_element): implement; free an element
8303                         of the GSList returned by nm_client_get_active_connections()
8304
8305 2007-10-03  Dan Williams  <dcbw@redhat.com>
8306
8307         * src/nm-device-802-11-wireless.c
8308                 - (nm_device_802_11_wireless_update_bssid): remove
8309                 - (get_active_ap): new function; find the AP in the scan list which
8310                         matches the current BSSID and SSID of the wireless device
8311                 - (nm_device_802_11_periodic_update): get current AP using
8312                         get_active_ap() and print AP roam messages
8313
8314 2007-10-01  Dan Williams  <dcbw@redhat.com>
8315
8316         * libnm-util/nm-setting.h
8317                 - Add a 'timestamp' option to NMSettingConnection
8318                 - Add a UINT64 type
8319
8320         * libnm-util/nm-setting.c
8321                 - (uint64_to_gvalue): new function
8322                 - (nm_setting_populate_from_hash, nm_setting_hash,
8323                    default_setting_clear_secrets): handle UINT64 type
8324                 - con_table: add 'timestamp' member
8325
8326 2007-10-01  Dan Williams  <dcbw@redhat.com>
8327
8328         * src/nm-manager.c
8329                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8330                         value when the connection can be activated immediately
8331
8332 2007-10-01  Dan Williams  <dcbw@redhat.com>
8333
8334         * libnm-glib/nm-device.c
8335                 - (nm_device_class_init): actually tell glib about the carrier-changed
8336                         signal
8337
8338 2007-10-01  Dan Williams  <dcbw@redhat.com>
8339
8340         * configure.in
8341           src/marshallers/Makefile.am
8342           src/marshallers/nm-marshal.list
8343           src/marshallers/nm-marshal-main.c
8344                 - Consolidate glib marshallers into one place
8345
8346         * src/dhcp-manager/Makefile.am
8347           src/dhcp-manager/nm-dhcp-manager.c
8348           src/supplicant-manager/Makefile.am
8349           src/supplicant-manager/nm-supplicant-manager.c
8350           src/supplicant-manager/nm-supplicant-interface.c
8351           src/ppp-manager/Makefile.am
8352           src/ppp-manager/nm-ppp-manager.c
8353           src/vpn-manager/Makefile.am
8354           src/vpn-manager/nm-vpn-connection.c
8355           src/Makefile.am
8356                 - Use consolidated marshallers
8357
8358         * src/dhcp-manager/nm-dhcp-marshal.list
8359           src/dhcp-manager/nm-dhcp-marshal-main.c
8360           src/supplicant-manager/nm-supplicant-marshal-main.c
8361           src/supplicant-manager/nm-supplicant-marshal.list
8362           src/nm-marshal-main.c
8363           src/nm-marshal.list
8364           src/ppp-manager/nm-ppp-marshal-main.c
8365           src/ppp-manager/nm-ppp-marshal.list
8366           src/vpn-manager/nm-vpn-marshal-main.c
8367           src/vpn-manager/nm-vpn-marshal.list
8368                 - Remove
8369
8370 2007-10-01  Dan Williams  <dcbw@redhat.com>
8371
8372         * include/NetworkManagerVPN.h
8373                 - define VPN connection state change reason codes
8374
8375         * src/vpn-manager/Makefile.am
8376           src/vpn-manager/nm-vpn-marshal.list
8377           src/vpn-manager/nm-vpn-marshal-main.c
8378                 - Add marshallers for StateChanged signal
8379
8380         * introspection/nm-vpn-connection.xml
8381                 - New Banner property
8382                 - StateChanged signal now includes a 'reason' argument
8383
8384         * src/vpn-manager/nm-vpn-connection.c
8385           src/vpn-manager/nm-vpn-connection.h
8386                 - Add a "Banner" property that contains the returned VPN server login
8387                         banner (if any); valid only in the ACTIVATED state
8388                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8389                         a 'reason' argument and emits that reason along with the
8390                         state-changed signal
8391                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8392                 - (nm_vpn_connection_ip4_config_get): save banner for later
8393                 - (nm_vpn_connection_get_banner, get_property,
8394                    nm_vpn_connection_class_init): implement Banner property
8395
8396         * src/vpn-manager/nm-vpn-service.c
8397                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8398                         connection list because elements may get added/removed from it
8399                         while iterating over the list
8400                 - (connection_state_changed): signal now includes the 'reason' argument
8401
8402         * libnm-glib/nm-vpn-connection.c
8403           libnm-glib/nm-vpn-connection.h
8404                 - (nm_vpn_connection_get_banner): new function
8405                 - (state_changed_proxy): handle reason argument
8406
8407 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8408
8409         * src/nm-manager.c:
8410         * src/nm-manager.h:
8411         Implement device activation through NMManager.
8412         Implement "pending device activation" here - If the connection isn't found,
8413         we try to wait for up to 5 seconds for the connection to be provided.
8414         Add NMConnectionType argument to "connection-added" and "connection-removed"
8415         signals.
8416         (nm_manager_get): Remove. Finally.
8417
8418         * src/nm-activation-request.c: 
8419         * src/nm-activation-request.h: 
8420         Remove all the deferred activation code.
8421
8422         * src/nm-device.c: Remove all the deferred activation code. Once the device
8423         activation is started, it's started. Update the activation virtual function
8424         signature.
8425
8426         * src/nm-device-interface.c:
8427         * src/nm-device-interface.h:
8428         Device activation now takes only NMActRequest argument.
8429         Don't expose device activation directly on dbus, it's supposed to go through
8430         NMManager now.
8431
8432         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8433         a bit more compact.
8434         Use the new device activation methods through NMManager.
8435
8436         * introspection/nm-manager-client.xml: 
8437         * introspection/nm-manager.xml: 
8438         * libnm-glib/nm-client.c:
8439         * libnm-glib/nm-client.h:
8440         Add device activation method.
8441         
8442         * libnm-glib/nm-device.c: 
8443         * libnm-glib/nm-device.h: 
8444         * introspection/nm-device.xml: 
8445         Remove device activation method. It's done through NMManager now.
8446
8447         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8448         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8449
8450 2007-09-28  Dan Williams  <dcbw@redhat.com>
8451
8452         * libnm-glib/nm-vpn-connection.c
8453                 - (nm_vpn_connection_get_state): try to update state if the current
8454                         state is UNKNOWN
8455
8456 2007-09-27  Dan Williams  <dcbw@redhat.com>
8457
8458         Patch from Bill Nottingham
8459
8460         * src/supplicant-manager/nm-supplicant-config.c
8461                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8462                         data to the supplicant
8463
8464 2007-09-27  Dan Williams  <dcbw@redhat.com>
8465
8466         * src/NetworkManagerSystem.c
8467                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8468                         and all address manipulation here should be happening on the
8469                         _VPN_ device, not the active device
8470
8471 2007-09-26  Dan Williams  <dcbw@redhat.com>
8472
8473         * src/nm-manager.c
8474           src/nm-manager.h
8475           src/nm-activation-request.c
8476           src/nm-activation-request.h
8477                 - Move the GetSecrets stuff out of the NMManager instance because it
8478                         doesn't really need to be there and complicates things
8479
8480         * src/nm-device.c
8481                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8482                         connection-secrets-failed signal and deactivate the device if
8483                         the GetSecrets call fails
8484
8485         * src/nm-device-802-11-wireless.c
8486                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8487                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8488                         secrets and give correct hints about whether new secrets should be
8489                         asked for by the client or not
8490
8491 2007-09-26  Dan Williams  <dcbw@redhat.com>
8492
8493         * src/vpn-manager/nm-vpn-connection.c
8494                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8495                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8496                         to the secrets-updated signal of the NMConnection since updating
8497                         the secrets is done within the scope of the NMVPNConnection object
8498                         already
8499                 - (get_connection_secrets): fix an uninialized variable usage error
8500
8501 2007-09-26  Dan Williams  <dcbw@redhat.com>
8502
8503         * libnm-util/nm-setting.c
8504                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8505                         actually get updated when the user enters them
8506
8507 2007-09-26  Dan Williams  <dcbw@redhat.com>
8508
8509         * libnm-glib/nm-vpn-plugin.c
8510                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8511
8512 2007-09-26  Dan Williams  <dcbw@redhat.com>
8513
8514         * include/NetworkManagerVPN.h
8515                 - Add a NEED_AUTH state
8516
8517         * src/vpn-manager/nm-vpn-connection.c
8518                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8519                         the connection needs secrets, and if so, then ask the settings
8520                         service to fill in the secrets.  Then start the connection.
8521
8522 2007-09-26  Dan Williams  <dcbw@redhat.com>
8523
8524         * src/vpn-manager/nm-vpn-manager.c
8525                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8526
8527 2007-09-26  Dan Williams  <dcbw@redhat.com>
8528
8529         * introspection/nm-vpn-plugin.xml
8530           libnm-glib/nm-vpn-plugin.c
8531           libnm-glib/nm-vpn-plugin.h
8532                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8533                         the name of the NMSetting in an NMConnection that may require
8534                         secrets specific to that VPN plugin
8535
8536 2007-09-26  Dan Williams  <dcbw@redhat.com>
8537
8538         * src/nm-manager.c
8539           src/nm-manager.h
8540                 - (nm_manager_get_connection_secrets): make static, unused outside
8541                         the file
8542                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8543
8544 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8545
8546         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8547         method.
8548         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8549         unreference the connection.
8550
8551         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8552         passing properties hash and routes string list, pass NMConnection (in hashed form).
8553
8554         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8555         as GSList, no need to copy stuff around anymore.
8556         (nm_vpn_connection_activate): Update the plugin activation method.
8557
8558         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8559         routes argument to GSList.
8560
8561 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8562
8563         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8564         state and try to get the secrets.
8565
8566         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8567         connections from NMManager and let the device to choose the best from the list.
8568         Since the connection list is sorted by system ones first and user ones later,
8569         the devices still prefer system connections like they did before.
8570         (deactivate_old_device): Implement. When a device starts activation, we have a
8571         policy (for now at least) to deactivate any other device that might be either
8572         active or still activating.
8573
8574         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8575         It's set on construction, there will be no other way to access it.
8576
8577         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8578         device events and drive the device, not the other way around.
8579
8580         * src/nm-device-802-3-ethernet.c: Ditto.
8581
8582         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8583         sent along, pass it on to virtual functions.
8584
8585         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8586         for now, but should really be public instead of nm_device_get_iface() since iface
8587         is a property of the DeviceInterface, not Device.
8588         (impl_device_activate): Don't touch NMManager!
8589
8590 2007-09-26  Jürg Billeter  <j@bitron.ch>
8591
8592         * initscript/paldo/NetworkManager.in:
8593         * initscript/paldo/NetworkManagerDispatcher.in:
8594         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8595         (nm_system_flush_loopback_routes): update paldo backend
8596
8597 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8598
8599         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8600         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8601         which means none of the devices get brought down properly, which in turn leaves
8602         DHCP client running.
8603
8604         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8605         (supplicant_connection_timeout_cb): Ditto.
8606
8607 2007-09-25  Dan Williams  <dcbw@redhat.com>
8608
8609         * src/nm-device.c
8610                 - (device_activation_go): small hack to work around race when
8611                         activating deferred connections; should solve this in a better way
8612
8613 2007-09-25  Dan Williams  <dcbw@redhat.com>
8614
8615         * introspection/nm-device.xml
8616           libnm-glib/nm-device.c
8617           libnm-glib/nm-device.h
8618                 - Add 'Carrier' property to exported NMDevice objects
8619
8620         * src/nm-device-interface.h
8621           src/nm-device-interface.c
8622           src/nm-device.c
8623                 - Add a 'carrier' property to internal NMDevice objects
8624
8625 2007-09-25  Dan Williams  <dcbw@redhat.com>
8626
8627         * src/nm-device-802-11-wireless.c
8628                 - (ap_auth_enforced): also return the encryption status of the AP so
8629                         that callers can differentiate easily between unencrypted APs
8630                         and encrypted ones, in addition to whether the AP has an
8631                         authenticator
8632                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8633                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8634                         previously would request secrets from unencrypted APs at times
8635
8636 2007-09-25  Dan Williams  <dcbw@redhat.com>
8637
8638         * src/nm-manager.c
8639                 - (nm_manager_update_state): new function; updates state and emits
8640                         appropriate signals ensuring a state-change signal for the same state
8641                         never gets emitted twice in a row.
8642                 - (manager_device_state_changed): handle more device state to get a
8643                         better picture of the overall NM state
8644
8645 2007-09-25  Dan Williams  <dcbw@redhat.com>
8646
8647         * libnm-glib/nm-settings.c
8648           libnm-glib/nm-settings.h
8649                 - (new_error -> nm_settings_new_error): make public so that subclasses
8650                         can use the same error domain.  Also pass a valid error code to
8651                         g_error_new_literal() so that libdbus doesn't assert when converting
8652                         the GError into a DBusError
8653                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8654                    impl_connection_settings_get_settings,
8655                    impl_connection_settings_get_secrets): use new error creator
8656                         function
8657
8658 2007-09-25  Dan Williams  <dcbw@redhat.com>
8659
8660         * src/NetworkManager.c
8661                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8662
8663 2007-09-25  Dan Williams  <dcbw@redhat.com>
8664
8665         * src/supplicant-manager/nm-supplicant-manager.c
8666                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8667                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8668                    nm_supplicant_manager_startup): when the supplicant isn't running,
8669                         try to start it periodically via system bus activation.  Fixes
8670                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8671                         for the supplicant to come back
8672
8673 2007-09-25  Dan Williams  <dcbw@redhat.com>
8674
8675         Ensure that old activation requests are forgotten about; previously
8676         hitting Cancel in the password dialog would deactivate whatever device
8677         that password was requested for, even if that wasn't the currently
8678         activating connection.
8679
8680         * src/nm-manager.c
8681           src/nm-manager.h
8682                 - (nm_manager_get_connection_secrets): track the pending call
8683                         object so it can be canceled later if needed
8684                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8685                         GetSecrets call for a particular connection
8686
8687         * src/nm-activation-request.c
8688                 - (dispose): cancel any outstanding GetSecrets calls on the
8689                         connection
8690
8691 2007-09-25  Dan Williams  <dcbw@redhat.com>
8692
8693         * src/NetworkManagerPolicy.c
8694                 - (nm_policy_device_change_check): handle devices that have a
8695                         deferred activation.  These devices are not really active _yet_,
8696                         but need to be treated as such here.  Don't interrupt them
8697                         automatically.
8698
8699         * src/nm-device-interface.c
8700                 - (impl_device_activate): handle devices that have a deferred activation
8701                         like activating or active devices.  When multiple active devices
8702                         get committed, the device shouldn't be deactivated until the
8703                         connection details are available to avoid DoS and such.  Currently,
8704                         any active, activating, or deferred activation device is deactivated
8705                         here before starting the new activation request.
8706
8707 2007-09-25  Dan Williams  <dcbw@redhat.com>
8708
8709         Properly re-query secrets from the settings daemon when stuff fails.
8710
8711         * src/nm-device-802-11-wireless.c
8712                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8713                         between Shared Key and Open System auth modes
8714                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8715                    real_act_stage4_ip_config_timeout): clear existing secrets and
8716                         request new ones when something fails due to a suspected wrong key
8717                 - (real_act_stage2_config): fix for new request_new argument to
8718                         nm_manager_get_connection_secrets()
8719
8720         * src/nm-manager.c
8721           src/nm-manager.h
8722                 - (nm_manager_get_connection_secrets): return error status; pass
8723                         new request_new argument on to the settings daemon
8724
8725         * introspection/nm-settings-connection.xml
8726                 - New 'request_new' argument to the GetSecrets call that hints to the
8727                         settings daemon to ask the user for completely new secrets
8728
8729         * libnm-glib/nm-settings.c
8730           libnm-glib/nm-settings.h
8731                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8732                         argument
8733
8734 2007-09-25  Dan Williams  <dcbw@redhat.com>
8735
8736         * libnm-util/nm-connection.c
8737           libnm-util/nm-connection.h
8738                 - (nm_connection_clear_secrets): new function; clear secrets out of
8739                         each NMSetting in an NMConnection
8740
8741         * libnm-util/nm-setting.h
8742           libnm-util/nm-setting.c
8743                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8744                         secrets out of an NMSetting
8745                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8746                    nm_setting_wired_new, nm_setting_wireless_new,
8747                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8748                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8749                         to default handler default_setting_clear_secrets()
8750
8751 2007-09-25  Dan Williams  <dcbw@redhat.com>
8752
8753         * src/nm-activation-request.c
8754           src/nm-activation-request.h
8755                 - (nm_act_request_is_deferred): new function
8756
8757 2007-09-24  Dan Williams  <dcbw@redhat.com>
8758
8759         * src/nm-device-802-11-wireless.c
8760                 - (activation_success_handler): update signal strength immediately
8761                         after activation
8762
8763 2007-09-24  Dan Williams  <dcbw@redhat.com>
8764
8765         * libnm-util/nm-setting.c
8766                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8767
8768 2007-09-24  Dan Williams  <dcbw@redhat.com>
8769
8770         * src/NetworkManagerPolicy.c
8771                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8772                         device by deactivating it because it doesn't have a "best connection".
8773                         Since autoconnect=False connections aren't automatically chosen,
8774                         NM would interrupt activation of such a connection because it
8775                         would never be "best" due to autoconnect=False.
8776
8777 2007-09-24  Dan Williams  <dcbw@redhat.com>
8778
8779         * src/nm-manager.c
8780                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8781                         actually has some time to enter a key before the GetSecrets call
8782                         times out
8783
8784 2007-09-24  Dan Williams  <dcbw@redhat.com>
8785
8786         * introspection/nm-manager.xml
8787           src/nm-manager.c
8788                 - (impl_manager_legacy_state): fix 'state' method call return value
8789
8790 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8791
8792         * test/Makefile.am: Install nm-tool
8793
8794 2007-09-24  Dan Williams  <dcbw@redhat.com>
8795
8796         Patch from Ross Burton <ross@burtonini.com>
8797
8798         * test/nm-tool.c
8799           callouts/nm-dhcp-client-action.c
8800           src/nm-netlink.c
8801           src/vpn-manager/nm-vpn-connection.c
8802           libnm-glib/libnm-glib-test.c
8803                 - warning fixes
8804
8805 2007-09-24  Dan Williams  <dcbw@redhat.com>
8806
8807         * libnm-util/nm-utils.h
8808           libnm-util/nm-utils.c
8809                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8810                         remove, unused
8811
8812 2007-09-23  Dan Williams  <dcbw@redhat.com>
8813
8814         * vpn-daemons/vpnc/properties/nm-vpnc.c
8815                 - Update for new VPN properties API bits; instead of passing around
8816                         a lot of random things, everything goes into the NMConnection
8817                         object.
8818
8819 2007-09-23  Dan Williams  <dcbw@redhat.com>
8820
8821         * libnm-util/nm-setting.c
8822                 - Correctly dispose of settings objects if creating them from a hash
8823                         table fails
8824
8825 2007-09-23  Dan Williams  <dcbw@redhat.com>
8826
8827         * libnm-util/nm-setting.c
8828                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8829                         the hash table in a standard manner.  Clients of libnm-util should
8830                         only call g_hash_table_remove_all(), never destroy the hash table
8831                         and recreate it.
8832
8833 2007-09-22  Dan Williams  <dcbw@redhat.com>
8834
8835         * src/nm-device-802-11-wireless.c
8836                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8837                         real reason to do it so often, and reduces wakeups for clients.
8838
8839 2007-09-21  Dan Williams  <dcbw@redhat.com>
8840
8841         * src/nm-device-802-11-wireless.c
8842                 - (build_supplicant_config): wpa_supplicant requires the option
8843                         key_mgmt=NONE for unencrypted networks
8844                 - (real_act_stage2_config): clarify log message on activation
8845
8846 2007-09-21  Dan Williams  <dcbw@redhat.com>
8847
8848         * test/nm-supplicant-test.c
8849           test/Makefile.am
8850                 - Remove supplicant test binary; no longer applicable
8851
8852 2007-09-21  Dan Williams  <dcbw@redhat.com>
8853
8854         * src/supplicant-manager/nm-supplicant-manager.c
8855                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8856                         activate it on the system bus
8857
8858 2007-09-20  Dan Williams  <dcbw@redhat.com>
8859
8860         * initscript/RedHat/NetworkManager.in
8861                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8862
8863 2007-09-20  Dan Williams  <dcbw@redhat.com>
8864
8865         * src/nm-device.c
8866                 - (nm_device_is_activating): work around a race between auto-activation
8867                         and the user activating the same device that is being auto-activated
8868
8869 2007-09-20  Dan Williams  <dcbw@redhat.com>
8870
8871         * src/nm-device-interface.c
8872                 - (impl_device_activate): until multiple active device support lands,
8873                         ensure only one device can be active at a time
8874
8875 2007-09-20  Dan Williams  <dcbw@redhat.com>
8876
8877         * src/supplicant-manager/nm-supplicant-config.c
8878           src/supplicant-manager/nm-supplicant-config.h
8879                 - (nm_supplicant_config_add_option): hide secrets from system logs
8880
8881 2007-09-20  Dan Williams  <dcbw@redhat.com>
8882
8883         * src/NetworkManagerPolicy.c
8884                 - (nm_policy_device_change_check): re-enable the wireless device change
8885                         checking code; insted of checking for SSIDs, check for the same
8886                         connection instead
8887
8888 2007-09-20  Dan Williams  <dcbw@redhat.com>
8889
8890         * src/nm-device-802-11-wireless.c
8891                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8892                         composite link state when determining when to start the disconnection
8893                         timer; that link state is already based on the supplicant interface's
8894                         status which is exactly what's already being examined, plus the link
8895                         state is a conglomeration of various things that we don't want here
8896
8897 2007-09-20  Dan Williams  <dcbw@redhat.com>
8898
8899         * libnm-glib/nm-access-point.c
8900                 - (handle_property_changed): strength is a UCHAR
8901
8902 2007-09-20  Dan Williams  <dcbw@redhat.com>
8903
8904         * src/supplicant-manager/nm-supplicant-config.c
8905                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8906                         string list keywords too since that's what wpa_supplicant wants
8907
8908 2007-09-20  Dan Williams  <dcbw@redhat.com>
8909
8910         * libnm-util/nm-setting.c
8911                 - (convert_strv_to_slist): dupe the values in the list because since
8912                         the list is a boxed value, it'll get destroyed when it's container
8913                         (like a hash table or whatever) gets destroyed
8914
8915 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8916
8917         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8918         GSList.
8919
8920         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8921
8922         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8923         just use (g_object_set_data_full).
8924
8925         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8926         that NMSettingVPN->routes is a GSList, convert it to char **.
8927         (nm_vpn_connection_ip4_config_get): Free routes when done.
8928         (nm_vpn_connection_activate): Ditto.
8929
8930         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8931         (real_act_stage2_config): Use defined setting names.
8932
8933 2007-09-20  Dan Williams  <dcbw@redhat.com>
8934
8935         * src/nm-device-802-11-wireless.c
8936           src/nm-manager.c
8937           src/nm-manager.h
8938                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8939                         so that the device can be deactivated if secrets are wrong
8940
8941 2007-09-20  Dan Williams  <dcbw@redhat.com>
8942
8943         * introspection/nm-settings-connection.xml
8944           libnm-glib/nm-settings.c
8945           libnm-glib/nm-settings.h
8946                 - Make GetSecrets asynchronous on the server side
8947
8948 2007-09-20  Dan Williams  <dcbw@redhat.com>
8949
8950         * src/nm-manager.h
8951           src/nm-device.c
8952                 - (nm_device_activate): actually check if a given connection
8953                         exists before assuming it doesn't
8954
8955 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8956
8957         * libnm-util/nm-connection.c (register_default_creators): Use defined
8958         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8959
8960         * libnm-util/nm-setting.c: Define property name strings, use them.
8961         Implement NMSettingVPN and NMSettingVPNProperties settings.
8962         Implement NM_S_TYPE_GVALUE_HASH.
8963         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8964         (setting_connection_verify): Rename 'devtype' property to 'type'.
8965
8966         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8967         properties.
8968
8969         * src/vpn-manager/nm-vpn-service.c: Ditto.
8970
8971         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8972
8973         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8974         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8975
8976         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8977         names. NMSettingConnection->devtype got renamed to 'type'.
8978
8979         * src/nm-device-802-3-ethernet.c (find_best_connection):
8980         (real_get_best_connection): Ditto.
8981
8982         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8983
8984         * libnm-glib/nm-vpn-manager.[ch]: Update.
8985
8986 2007-09-19  Dan Williams  <dcbw@redhat.com>
8987
8988         * src/NetworkManagerAP.c
8989           src/NetworkManagerAP.h
8990           introspection/nm-access-point.xml
8991                 - Change strength-changed signal into a properties-changed signal
8992                         for all properties, not just strength.  Export that signal over dbus
8993                         so listeners don't have to poll NM for changes.
8994                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8995                         get exported over D-Bus, so break up the logic and let other bits
8996                         decided when to export the AP
8997                 - (nm_ap_new_from_ap): remove, unused
8998
8999         * src/nm-device-802-11-wireless.c
9000                 - (merge_scanned_ap): only export APs that are actually on the device
9001                         list, not every AP created internally
9002
9003         * libnm-glib/nm-access-point.c
9004           libnm-glib/nm-access-point.h
9005                 - Cache properties internally and only hit DBus when needed.  Get
9006                         property updates from NM signals
9007
9008 2007-09-16  Dan Williams  <dcbw@redhat.com>
9009
9010         * libnm-util/nm-connection.c
9011           libnm-util/nm-connection.h
9012                 - (nm_connection_for_each_setting_value): new function; iterate over
9013                         each setting's value and call a user-provided function with details
9014                         about that value
9015
9016         * libnm-util/nm-setting.c
9017           libnm-util/nm-setting.h
9018                 - (nm_setting_enumerate_values): new function; enumerate the values
9019                         of a specific NMSetting subclass for a user-provided function with
9020                         details about that value
9021                 - Change wep_tx_keyidx to a uint32
9022                 - Create settings value tables for each setting defining their type,
9023                         key name, offset into the NMSetting subclass' structure, and whether
9024                         they are required and/or a secret
9025                 - (nm_setting_populate_from_hash): generic function to populate an
9026                         NMSetting from a GHash table, make all settings use it
9027                 - (nm_setting_hash): generic function to derive a GHashTable from
9028                         an NMSetting object, make all settings use it
9029
9030 2007-09-14  Dan Williams  <dcbw@redhat.com>
9031
9032         Remove unused stuff in libnm-util
9033
9034         * configure.in
9035           libnm-util/Makefile.am
9036           libnm-util/cipher-private.h
9037           libnm-util/cipher-wep-ascii.c
9038           libnm-util/cipher-wep-ascii.h
9039           libnm-util/cipher-wep-hex.c
9040           libnm-util/cipher-wep-hex.h
9041           libnm-util/cipher-wep-passphrase.c
9042           libnm-util/cipher-wep-passphrase.h
9043           libnm-util/cipher-wpa-psk-hex.c
9044           libnm-util/cipher-wpa-psk-hex.h
9045           libnm-util/cipher-wpa-psk-passphrase.c
9046           libnm-util/cipher-wpa-psk-passphrase.h
9047           libnm-util/cipher.c
9048           libnm-util/cipher.h
9049           libnm-util/dbus-helpers.c
9050           libnm-util/dbus-helpers.h
9051           libnm-util/gnome-keyring-md5.c
9052           libnm-util/gnome-keyring-md5.h
9053           libnm-util/sha1.c
9054           libnm-util/sha1.h
9055           src/nm-device-802-11-wireless.c
9056           test/libnm-util/Makefile.am
9057           test/libnm-util/test-ciphers.c
9058           test/libnm-util/test-dbus-helpers.c
9059           test/libnm-util/test-inputs.h
9060                 - Removed
9061
9062 2007-09-14  Dan Williams  <dcbw@redhat.com>
9063
9064         * libnm-util/dbus-method-dispatcher.c
9065           libnm-util/dbus-method-dispatcher.h
9066                 - Remove, unused
9067
9068 2007-09-14  Dan Williams  <dcbw@redhat.com>
9069
9070         Implement deferred activation support in the device class.
9071
9072         * src/nm-device-interface.c
9073           src/nm-device-interface.h
9074                 - (nm_device_interface_activate): take more arguments to support
9075                         deferred activation; callers must pass one of (connection) OR
9076                         (service_name, connection_path)
9077                 - (impl_device_activate): connection validation is punted to the device
9078                         to be able to handle deferred activation.  Yes, this means errors
9079                         don't get returned from the Activate() dbus call, and yes, that
9080                         should be fixed somehow later.
9081
9082         * src/nm-device.c
9083           src/nm-device.h
9084                 - (clear_act_request): clear additional deferred activation stuff too
9085                 - (deferred_activation_timeout_cb): new function; clean up when
9086                         deferred activation times out.
9087                 - (deferred_activation_start_cb): new function; when the connection
9088                         finally becomes available, start device activation
9089                 - (nm_device_activate): attach to the right signals of the activation
9090                         request if we need to defer activation until the connection is valid
9091
9092         * src/NetworkManagerPolicy.c
9093                 - (nm_policy_device_change_check): update for additional arguments
9094                         required for nm_device_interface_activate().  Pass NULL for these
9095                         though because this function already knows exactly which
9096                         NMConnection to use
9097
9098 2007-09-14  Dan Williams  <dcbw@redhat.com>
9099
9100         Implement deferred activation handling in the NMActRequest class.  When a
9101         client wants to activate a device but must create the NMConnection details
9102         on the fly, there likely hasn't been enough time yet for NM to receive the
9103         new connection signal and grab all the connection details.  So the
9104         activation is deferred (and bounded by a timer) for a while, and if the
9105         connection appears within the window, it is activated.
9106
9107         * src/nm-activation-request.c
9108           src/nm-activation-request.h
9109                 - (nm_act_request_class_init): two new signals to support deferred
9110                         activation, to allow the listener to handle both timeout and success
9111                 - (nm_act_request_new_deferred): new function, starts the deferred
9112                         activation timeout handler and listens to the NMManager for
9113                         new-connection signals to notice when the connection comes in
9114
9115 2007-09-14  Dan Williams  <dcbw@redhat.com>
9116
9117         * src/nm-manager.h
9118           src/nm-manager.c
9119                 - (nm_manager_get_connection_service_name,
9120                    nm_manager_get_connection_dbus_path): get details about a connection
9121                         known internally by the NMManager
9122                 - (nm_manager_class_init): fix connection add/remove signal marshalers
9123                         because NMConnection is now a GObject subclass
9124                 - Use constant for the gobject data tag used on NMConnection objects for
9125                         storing the associated DBusGProxy
9126
9127 2007-09-14  Dan Williams  <dcbw@redhat.com>
9128
9129         * utils/Makefile.am
9130           utils/nm-utils.c
9131           utils/nm-utils.h
9132           src/supplicant-manager/Makefile.am
9133           src/dhcp-manager/Makefile.am
9134           src/backends/Makefile.am
9135           src/named-manager/Makefile.am
9136           src/ppp-manager/Makefile.am
9137           src/vpn-manager/Makefile.am
9138           test/libnm-util/Makefile.am
9139           test/test-common/Makefile.am
9140                 - Remove utils/; it was unused
9141
9142 2007-09-13  Dan Williams  <dcbw@redhat.com>
9143
9144         * libnm-glib/nm-vpn-manager.h
9145           libnm-glib/nm-vpn-manager.c
9146                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9147
9148 2007-09-13  Dan Williams  <dcbw@redhat.com>
9149
9150         * src/nm-device-802-3-ethernet.c
9151                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9152                         netlink monitor carrier signals on dispose, not bring down.  The
9153                         carrier signals should be handled over the entire lifetime of the
9154                         device anyway, not created/destroyed on up or down.
9155
9156 2007-09-13  Dan Williams  <dcbw@redhat.com>
9157
9158         * libnm-glib/nm-device.c
9159           libnm-glib/nm-device.h
9160                 - (nm_device_activate): take a connection object path rather than an
9161                         NMConnection because NMConnection isn't exported over D-Bus and
9162                         therefore it dbus-glib can't automatically get an object path from it
9163
9164 2007-09-13  Dan Williams  <dcbw@redhat.com>
9165
9166         * libnm-util/nm-setting.c
9167                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9168
9169 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9170
9171         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9172
9173 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9174
9175         * src/vpn-manager/nm-vpn-connection.[ch]: 
9176         * src/vpn-manager/nm-vpn-manager.[ch]:
9177         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9178         dbus-glib, GObjects, signals etc.
9179
9180         * libnm-glib/nm-vpn-manager.[ch]: 
9181         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9182         so much, rewrite these too.
9183
9184         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9185         the new introspection files.
9186
9187         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9188
9189         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9190         the header with the same name from libnm-utils.
9191
9192         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9193
9194         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9195
9196         * introspection/nm-vpn-plugin.xml: Implement.
9197
9198         * introspection/nm-vpn-connection.xml: Implement.
9199
9200         * introspection/nm-vpn-manager.xml: Implement.
9201
9202         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9203         the named manager argument, it can just as easily get it as the caller.
9204         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9205
9206         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9207
9208         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9209
9210         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9211         libnm-utils.
9212
9213         * libnm-util/nm-connection.c: Ditto.
9214
9215         * src/NetworkManagerMain.h: Remove, it's finally empty.
9216
9217         * configure.in: Remove utils/ from build.
9218
9219         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9220         of hard-coded strings.
9221
9222         * utils/: Move it over to libnm-util.
9223
9224         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9225
9226         * dispatcher-daemon/Makefile.am: Ditto.
9227
9228         * src/Makefile.am: Ditto.
9229
9230 2007-09-12  Dan Williams  <dcbw@redhat.com>
9231
9232         Wireless connections can be made with config data from the applet now.
9233         
9234         Yay.
9235
9236         * src/supplicant-manager/nm-supplicant-config.h
9237           src/supplicant-manager/nm-supplicant-config.c
9238                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9239                 - (nm_supplicant_config_add_setting_wireless,
9240                    nm_supplicant_config_add_setting_wireless_security): new functions;
9241                         add key/value pairs from the settings objects to the supplicant
9242                         config
9243
9244         * src/nm-device-802-11-wireless.c
9245                 - (cull_scan_list): fix check to not prune currently associated AP
9246                 - (build_supplicant_config, real_act_stage2_config): call the functions
9247                         of the NMSupplicantConfig that parse settings objects rather than
9248                         doing it manually here
9249
9250 2007-09-12  Dan Williams  <dcbw@redhat.com>
9251
9252         * src/supplicant-manager/nm-supplicant-interface.c
9253           src/supplicant-manager/nm-supplicant-marshal.list
9254                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9255                         "connection-error" signal arguments should be STRING not CHAR
9256
9257 2007-09-12  Dan Williams  <dcbw@redhat.com>
9258
9259         * src/NetworkManagerUtils.c
9260           src/NetworkManagerUtils.h
9261                 - (nm_utils_hexstr2bin): new function
9262
9263 2007-09-11  Dan Williams  <dcbw@redhat.com>
9264
9265         * src/nm-manager.c
9266                 - (connection_get_settings_cb): emit connection-added signal
9267                 - (connection_removed_cb): uncomment bits for system settings service,
9268                         send connection-removed when appropriate
9269                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9270                         the stack by trying to g_object_set_data() on something that's
9271                         not a GObject; handle case where settings service returns
9272                         empty settings hash table
9273
9274 2007-09-11  Dan Williams  <dcbw@redhat.com>
9275
9276         * src/NetworkManagerPolicy.c
9277                 - (connection_added, connection_removed): trigger device change checks
9278                         on connection changes
9279
9280 2007-09-11  Dan Williams  <dcbw@redhat.com>
9281
9282         * src/nm-activation-request.c
9283                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9284
9285 2007-09-11  Dan Williams  <dcbw@redhat.com>
9286
9287         * src/nm-device-802-11-wireless.c
9288                 - (real_connection_secrets_updated): fix erroneous check
9289
9290 2007-09-11  Dan Williams  <dcbw@redhat.com>
9291
9292         * introspection/nm-device.xml
9293           libnm-glib/nm-device.c
9294           libnm-glib/nm-device.c
9295                 - Fix Activate call argument borkage; Activate takes 3 arguments
9296
9297 2007-09-11  Dan Williams  <dcbw@redhat.com>
9298
9299         * libnm-glib/nm-access-point.c
9300           libnm-glib/nm-access-point.c
9301                 - (nm_access_point_get_frequency): now returns guint32 to match
9302                         property change on 2007-09-10
9303
9304 2007-09-11  Dan Williams  <dcbw@redhat.com>
9305
9306         * src/nm-device-802-11-wireless.c
9307                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9308                         somewhere defines 'index' and I missed this one when I fixed the
9309                         shadow declaration errors earlier
9310
9311 2007-09-11  Dan Williams  <dcbw@redhat.com>
9312
9313         * libnm-util/nm-connection.c
9314                 - (nm_connection_update_secrets, need_secrets_check): move
9315                         802-11-wireless-security need_secrets checks to the setting object
9316                         itself, where it belongs
9317
9318         * libnm-util/nm-setting.c
9319           libnm-util/nm-setting.h
9320                 - (nm_setting_need_secrets): new function
9321                 - (setting_wireless_security_verify,
9322                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9323                 - (setting_wireless_security_need_secrets): mostly copy code over
9324                         from nm-connection.c
9325
9326 2007-09-11  Dan Williams  <dcbw@redhat.com>
9327
9328         * libnm-util/nm-setting.c
9329           libnm-util/nm-setting.h
9330                 - (nm_setting_update_secrets): new function; add a virtual function that
9331                         subclasses can implement to update their secrets
9332                 - (setting_wireless_security_update_secrets): implement that function
9333                         for the 802-11-wireless-security subclass
9334
9335         * libnm-util/nm-connection.c
9336           libnm-util/nm-connection.h
9337                 - (nm_connection_update_secrets): update secrets for a Setting and
9338                         emit a signal on success
9339
9340         * src/nm-manager.c
9341           src/nm-manager.h
9342           src/nm-marshal.list
9343                 - (connection_get_settings_cb): enable system settings bits
9344                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9345                         to request secrets from the settings dbus service and to
9346                         push those secrets to the NMConnection itself
9347
9348         * src/nm-activation-request.c
9349           src/nm-activation-request.h
9350                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9351                         currently being activated, and proxy that signal to other listeners.
9352                         Goes through the activation request because the activation request
9353                         is the thing that manages the lifetime of the NMConnection that's
9354                         being activated.
9355
9356         * src/nm-device-802-11-wireless.c
9357                 - (real_connection_secrets_updated): implement the connection secrets
9358                         updated notification and restart activation when secrets are
9359                         received
9360                 - (real_act_stage2_config): request secrets from the settings dbus
9361                         service if secrets are needed
9362
9363         * src/nm-device.c
9364           src/nm-device.h
9365                 - (clear_act_request, nm_device_activation_cancel,
9366                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9367                         where the activation request is cleared
9368                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9369                         updated secrets signal of activation request and add a function
9370                         that subclasses can override to handle it easily
9371
9372 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9373
9374         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9375         removal of NetworkManagerAPList.
9376
9377 2007-09-10  Dan Williams  <dcbw@redhat.com>
9378
9379         * src/NetworkManagerAP.c
9380           src/NetworkManagerAP.h
9381           introspection/nm-access-point.xml
9382                 - Change 'freq' property to a guint32 instead of a double since we
9383                         weren't using the floating point bits anyway
9384
9385 2007-09-10  Dan Williams  <dcbw@redhat.com>
9386
9387         * NetworkManagerAP.c
9388           NetworkManagerAP.h
9389           NetworkManagerPolicy.c
9390           NetworkManagerSystem.c
9391           NetworkManagerUtils.c
9392           NetworkManagerUtils.h
9393           nm-device-802-11-wireless.c
9394           nm-device-802-3-ethernet.c
9395           nm-hal-manager.c
9396           nm-manager.c
9397           vpn-manager/nm-dbus-vpn.c
9398                 - Warning fixes; casts and removal of unused variables
9399
9400 2007-09-10  Dan Williams  <dcbw@redhat.com>
9401
9402         * include/NetworkManager.h
9403                 - Kill NMNetworkType; AP types don't matter any more
9404
9405         * src/NetworkManagerAPList.c
9406           src/NetworkManagerAPList.h
9407           src/Makefile.am
9408                 - Kill; NMAccessPointList has outlived it's usefulness
9409
9410         * src/NetworkManagerAP.c
9411           src/NetworkManagerAP.h
9412                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9413                         functions; check if an NMConnection object is compatible with the
9414                         settings of this AP
9415                 - (freq_to_channel, channel_to_freq): utility functions for
9416                         channel <-> frequency conversion
9417
9418         * src/nm-device.c
9419           src/nm-device.h
9420                 - (nm_device_get_best_connection): pass the specific object around
9421                          (which might be the object path of a specific AP to connect to).
9422                          The get_best_connection() call should populate this on return
9423                          if needed (wireless does).
9424
9425         * src/nm-device-802-3-ethernet.c
9426                 - (real_get_best_connection): handle specific_object argument
9427
9428         * src/NetworkManager.c
9429           src/NetworkManagerMain.h
9430                 - Remove unused includes
9431
9432         * src/nm-device-802-11-wireless.c
9433           src/nm-device-802-11-wireless.h
9434                 - Convert the ap_list into a GSList from an NMAccessPointList
9435                 - No need for caching the 'activation_ap' since this is now determined
9436                         from the specific_object of the activation request, which is
9437                         populated from the get_best_connection() call or from a user request
9438                 - (nm_device_802_11_wireless_update_bssid): fix warning
9439                 - (get_wireless_capabilities): fix error message format arguments
9440                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9441                 - (find_best_connection, real_get_best_connection): implement
9442                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9443                         move here from NetworkManagerAPList
9444                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9445                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9446                         already verified earlier
9447                 - (real_act_stage2_config): use nm_connection_need_secrets()
9448
9449         * src/NetworkManagerPolicy.c
9450                 - (nm_policy_auto_get_best_device): handle specific objects
9451                 - (create_connection): remove; automatic connection creation functionality
9452                         is handled by the Connection objects
9453                 - (nm_policy_device_change_check): handle specific_object
9454
9455         * libnm-util/nm-connection.c
9456                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9457
9458 2007-09-10  Dan Williams  <dcbw@redhat.com>
9459
9460         * src/nm-manager.c
9461                 - (query_connections): fix uninitialized variable problem that caused
9462                         segfault
9463                 - (nm_manager_add_device): take devices down on startup so that we can
9464                         be assured that nm_device_is_up() won't short-circuit the init
9465                         process.  Hack until the is_up check gets split into two pieces
9466                         that aren't behaviorally confusing.
9467
9468 2007-09-09  Dan Williams  <dcbw@redhat.com>
9469
9470         * introspection/nm-device.xml
9471                 - The 'Activate' method now takes 3 arguments, a service name for the
9472                 settings service (user or system), the object path of the connection
9473                 to activate, and the specific object to activate, if any
9474
9475         * src/nm-device-interface.c
9476                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9477                 Add error bits
9478                 - (impl_device_activate): adapt to new Activate arguments; validate
9479                 the service name and get the Connection object from the NMManager
9480                 before starting to activate the device with the specified connection
9481
9482         * src/nm-device-802-3-ethernet.c
9483                 - (real_get_best_connection): find the best connection, or create a
9484                 default one if no existing connections can be used
9485
9486         * src/NetworkManagerPolicy.c
9487                 - (nm_policy_auto_get_best_device): Get the device's best connection
9488                 and only pick the device if it has one
9489                 - (nm_policy_device_change_check): disable wireless bits for now until
9490                 wireless get_best_connection() can be implemented (replacing "best_ap");
9491                 don't create a default connection here as the device subclass will do
9492                 that if needed
9493
9494         * src/nm-manager.h
9495           src/nm-manager.c
9496                 - (nm_manager_get): make NMManager a singleton and expose the getter
9497                 internally
9498                 - Rework internal NMManager connection handling to use the same
9499                 routines for both the system and user settings services.  Most calls
9500                 take a new NMConnectionType argument specifying either system or user
9501                 connections
9502                 - (nm_manager_get_connection_by_object_path): new function; get a
9503                 connection keyed on its object path
9504
9505         * src/NetworkManager.c
9506                 - (main): use nm_manager_get()
9507
9508 2007-09-09  Dan Williams  <dcbw@redhat.com>
9509
9510         * src/nm-device.h
9511           src/nm-device.c
9512                 - (nm_device_get_best_connection): new function; get best connection
9513                         for the device at that time
9514
9515 2007-09-09  Dan Williams  <dcbw@redhat.com>
9516
9517         * src/nm-device-interface.h
9518                 - Add NMDeviceInterfaceError with an UnknownConnection error
9519
9520 2007-09-09  Dan Williams  <dcbw@redhat.com>
9521
9522         Stupid mistake on my part; object path and interface for settings service
9523         and connection objects can be the same, only the service name must be
9524         different for the system and user settings services.
9525
9526         * include/NetworkManager.h
9527           src/nm-manager.c
9528           introspection/nm-settings-connection.xml
9529           introspection/nm-settings.xml
9530           libnm-glib/nm-settings.c
9531                 - (nm_connection_settings_init, query_user_connections,
9532                    new_connection_cb): Unify NetworkManagerSettings and Connection
9533                    interface name and object path
9534
9535 2007-09-06  Dan Williams  <dcbw@redhat.com>
9536
9537         * libnm-glib/nm-object.c
9538                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9539                    nm_object_get_int_property, nm_object_get_uint_property,
9540                    nm_object_get_boolean_property, nm_object_get_byte_property,
9541                    nm_object_get_double_property, nm_object_get_byte_array_property):
9542                         clear GValues after copying their contents, fixes memory leaks
9543                         after every property access because dbus-glib copies the values
9544                         from the DBusMessage into the GValue already.
9545
9546 2007-09-06  Dan Williams  <dcbw@redhat.com>
9547
9548         * introspection/nm-access-point.xml
9549                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9550                         them to be.  There's some magic property name parsing going on in
9551                         dbus-glib that breaks up property names based on studly-caps and
9552                         puts - between words.
9553
9554         * libnm-glib/nm-access-point.c
9555                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9556                         Fix property names
9557
9558 2007-09-06  Dan Williams  <dcbw@redhat.com>
9559
9560         * src/nm-manager.c
9561                 - (nm_manager_user_connections_destroy): clear the user connections hash
9562                         table, don't destroy it
9563                 - (finalize): only destroy the hash table on NMManager finalization
9564
9565 2007-09-02  Dan Williams  <dcbw@redhat.com>
9566
9567         * include/NetworkManager.h
9568           libnm-glib/nm-settings.c
9569                 - defines for the user settings daemon D-Bus bits
9570
9571         * src/NetworkManager.c
9572                 - Remove stuff that referred to the old NetworkManagerInfo service
9573
9574         * src/vpn-manager/nm-dbus-vpn.h
9575                 - Move old NMI defines to the only place they are used still
9576
9577         * libnm-util/nm-connection.c
9578           libnm-util/nm-connection.h
9579           src/nm-activation-request.c
9580                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9581
9582         * src/nm-manager.c
9583           src/nm-manager.h
9584                 - Get connections and their settings from the user settings daemon
9585                         at the appropriate times
9586
9587 2007-09-02  Dan Williams  <dcbw@redhat.com>
9588
9589         * libnm-util/nm-setting.c
9590                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9591                 - (setting_wireless_hash): set the right value on the item
9592
9593 2007-09-02  Dan Williams  <dcbw@redhat.com>
9594
9595         * test/Makefile.am
9596           test/nminfotest.c
9597                 - Remove, no longer useful
9598
9599 2007-08-30  Dan Williams  <dcbw@redhat.com>
9600
9601         * src/Makefile.am
9602           src/NetworkManagerDbus.c
9603           src/NetworkManagerDbus.h
9604           src/vpn-manager/nm-dbus-vpn.c
9605                 - Remove, no longer necessary.  Move last bits to the only place its
9606                 used, in nm-dbus-vpn.c
9607
9608         * src/NetworkManagerAPList.c
9609           src/nm-device.c
9610           src/NetworkManager.c
9611           src/nm-device-802-11-wireless.c
9612           src/vpn-manager/nm-vpn-manager.c
9613           src/vpn-manager/nm-vpn-service.c
9614           src/NetworkManagerPolicy.c
9615           src/nm-manager.c
9616                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9617                 that was message_is_error()
9618
9619 2007-08-30  Dan Williams  <dcbw@redhat.com>
9620
9621         * libnm-util/sha1.c
9622                 - Include config.h to get defines for endiannes (gnome.org #420216)
9623
9624 2007-08-30  Dan Williams  <dcbw@redhat.com>
9625
9626         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9627
9628         * src/ppp-manager/Makefile.am
9629                 - use -fPIC (gnome.org #471825)
9630
9631 2007-08-29  Dan Williams  <dcbw@redhat.com>
9632
9633         * include/NetworkManager.h
9634                 - Keep NMConnection object path in sync
9635
9636         * libnm-glib/nm-settings.c
9637           libnm-glib/nm-settings.h
9638                 - Break D-Bus object registration out of the init function, because
9639                 every object that's exported over D-Bus needs to use the _same_
9640                 DBusConnection.  Otherwise, each object would get a different object
9641                 path tree and wouldn't be callable.
9642
9643 2007-08-29  Dan Williams  <dcbw@redhat.com>
9644
9645         * libnm-util/nm-setting.h
9646           libnm-util/nm-setting.c
9647           libnm-util/nm-connection.c
9648           src/NetworkManagerPolicy.c
9649                 - 'info' settings object should be 'connection' says the spec
9650                 at NetworkManagerConfigurationSpecification
9651
9652 2007-08-29  Dan Williams  <dcbw@redhat.com>
9653
9654         * libnm-glib/nm-settings.c
9655           libnm-glib/nm-settings.h
9656                 - make the dbus path a property of the object, and autogenerate it.
9657                 It can't be composed of the 'id' field becuase that's not available
9658                 yet during the GObject creation in nm_connection_settings_init()
9659
9660 2007-08-29  Dan Williams  <dcbw@redhat.com>
9661
9662         * introspection/nm-settings-connection.xml
9663           introspection/nm-settings.xml
9664                 - Service name -> NetworkManagerUserSettings because two services
9665                 can't share part of the same path.  I'm not really sure how we'll use
9666                 the same code with the system-settings daemon...
9667
9668 2007-08-28  Dan Williams  <dcbw@redhat.com>
9669
9670         * src/nm-device-interface.c
9671           src/nm-device-interface.h
9672                 - Kill one more bit of NMData
9673
9674 2007-08-28  Dan Williams  <dcbw@redhat.com>
9675
9676         * src/NetworkManagerSystem.h
9677           src/nm-device.c
9678           src/nm-device.h
9679           src/nm-hal-manager.c
9680           src/NetworkManager.c
9681           src/nm-device-802-11-wireless.c
9682           src/nm-hal-manager.h
9683           src/nm-device-802-3-ethernet.c
9684           src/vpn-manager/nm-vpn-service.h
9685           src/vpn-manager/nm-vpn-manager.c
9686           src/vpn-manager/nm-vpn-manager.h
9687           src/vpn-manager/nm-vpn-service.c
9688           src/nm-device-802-11-wireless.h
9689           src/NetworkManagerMain.h
9690           src/nm-device-802-3-ethernet.h
9691           src/backends/NetworkManagerGentoo.c
9692           src/backends/NetworkManagerPaldo.c
9693           src/backends/NetworkManagerFrugalware.c
9694           src/backends/NetworkManagerRedHat.c
9695           src/backends/NetworkManagerSlackware.c
9696           src/backends/NetworkManagerGeneric.c
9697           src/backends/NetworkManagerArch.c
9698           src/backends/NetworkManagerSuSE.c
9699           src/backends/NetworkManagerGeneric.h
9700           src/backends/NetworkManagerDebian.c
9701                 - Kill NMData
9702
9703 2007-08-28  Dan Williams  <dcbw@redhat.com>
9704
9705         * src/NetworkManagerMain.h
9706           src/nm-device-802-11-wireless.c
9707           src/NetworkManager.c
9708                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9709                 for now we should set the 'invalid' property on individual APs, and when
9710                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9711                 that ESS
9712
9713 2007-08-28  Dan Williams  <dcbw@redhat.com>
9714
9715         * src/NetworkManagerAP.c
9716           src/NetworkManagerAP.h
9717                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9718                         'autoconnect' property instead
9719
9720         * src/NetworkManager.c
9721           src/NetworkManagerMain.h
9722           src/NetworkManagerPolicy.c
9723           src/NetworkManagerPolicy.h
9724                 - Remove the 'allowed_ap_list', which should be replaced by 
9725                         NMConnection/NMSettings instead, since _those_ are the allowed
9726                         things that NM can connect to
9727
9728         * src/nm-device-802-11-wireless.c
9729                 - Remove both allowed_ap_list usage and 'fallback' checking
9730
9731 2007-08-28  Dan Williams  <dcbw@redhat.com>
9732
9733         * src/nm-device.c
9734           src/named-manager/nm-named-manager.c
9735           src/named-manager/nm-named-manager.h
9736           src/NetworkManager.c
9737           src/vpn-manager/nm-vpn-manager.c
9738           src/NetworkManagerMain.h
9739           src/NetworkManagerSystem.c
9740                 - Remove the named-manager object from NMData structure in preparation
9741                 for NMData's timely death.  Make the NMNamedManager the singleton that
9742                 it really is
9743
9744 2007-08-28  Dan Williams  <dcbw@redhat.com>
9745
9746         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9747         each AP's capabilities, and by NMConnection/NMSettings objects for user
9748         defined connections.
9749
9750         * include/NetworkManager.h
9751                 - Redefine 802.11 security properties.  There are now device capabilities
9752                         and AP flags and AP security flags.  It was way to unclear before.
9753
9754         * src/Makefile.am
9755           src/nm-ap-security-leap.h
9756           src/nm-ap-security-leap.c
9757           src/nm-ap-security-wpa-eap.c
9758           src/nm-ap-security-wpa-eap.h
9759           src/nm-ap-security-private.h
9760           src/nm-ap-security-wpa-psk.c
9761           src/nm-ap-security-wpa-psk.h
9762           src/nm-ap-security-wep.c
9763           src/nm-ap-security-wep.h
9764           src/nm-ap-security.c
9765           src/nm-ap-security.h
9766                 - Removed, to be replaced with NMConnection/NMSettings objects
9767
9768         * src/nm-dbus-nmi.c
9769           src/nm-dbus-nmi.h
9770                 - Removed, to be replaced by code that talks to the new info daemon
9771                         interface and gets NMConnection/NMSettings objects
9772
9773         * src/backends/NetworkManagerSuSE.c
9774                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9775                         info-daemon that does the same thing but talks the new info-daemon
9776                         D-Bus interface
9777
9778         * src/NetworkManagerAP.h
9779           src/NetworkManagerAP.c
9780           src/NetworkManagerAPList.c
9781           libnm-glib/libnm-glib-test.c
9782                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9783                         WPA/RSN
9784
9785         * libnm-glib/nm-access-point.c
9786           libnm-glib/nm-access-point.h
9787           introspection/nm-access-point.xml
9788           test/nm-tool.c
9789                 - Adjust to new flags for AP security
9790
9791         * utils/nm-utils.c
9792           utils/nm-utils.h
9793           src/vpn-manager/nm-dbus-vpn.c
9794                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9795                         stuff which is the only place it's used
9796
9797         * src/nm-device-interface.c
9798           src/nm-device-interface.h
9799           introspection/nm-device.xml
9800           src/nm-activation-request.c
9801           src/nm-activation-request.h
9802           src/nm-device.c
9803                 - Add a new 'specific_object' argument that hints to NM what actual
9804                         AP or other device-specific thing the connection should apply to.
9805                         NMConnection objects can apply to more than one actual device/AP.
9806
9807         * libnm-util/nm-connection.c
9808         * libnm-util/nm-connection.h
9809                 - Add 'have_secrets" call stubs
9810
9811         * libnm-util/cipher.h
9812                 - Move NM_AUTH_TYPE_* defines here for now
9813
9814         * src/nm-device-802-11-wireless.c
9815                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9816                         NMSettings objects
9817
9818         * src/NetworkManagerDbus.c
9819         * src/NetworkManagerPolicy.c
9820                 - Remove usage of update_allowed_networks, should be pushing data in
9821                         a different manner
9822
9823 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9824
9825         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9826         dbus-glib frees it when the call is done.
9827
9828 2007-08-26  Dan Williams  <dcbw@redhat.com>
9829
9830         * introspection/nm-device.xml
9831                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9832
9833 2007-08-26  Dan Williams  <dcbw@redhat.com>
9834
9835         * src/nm-device-802-3-ethernet.c
9836                 - (constructor): move connection of interface-connected/disconnected
9837                         signals here from real_bring_up().  Should be listening to netlink
9838                         for carrier events no matter what the initial state of the device
9839                         is.
9840
9841 2007-08-26  Dan Williams  <dcbw@redhat.com>
9842
9843         * src/nm-netlink-monitor.c
9844                 - (nm_netlink_monitor_class_init): fix marshalling types for
9845                         interface-connected/interface-disconnected
9846                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9847                         check
9848
9849 2007-08-26  Dan Williams  <dcbw@redhat.com>
9850
9851         Convert to using interface indexes as the primary method of identifying
9852         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9853         be renamed at any time.  Device object paths now refer to the device
9854         index rather than the name, and you can map those two manually if you like
9855         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9856         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9857         to use interface indexes rather than names.
9858
9859 2007-08-26  Dan Williams  <dcbw@redhat.com>
9860
9861         * src/nm-netlink-monitor.h
9862                 - Remove one last bit of wireless-event signal
9863
9864 2007-08-26  Dan Williams  <dcbw@redhat.com>
9865
9866         * src/nm-netlink-monitor.c
9867                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9868                         don't need the 'wireless-event' signal anymore since that's all
9869                         handled by wpa_supplicant
9870
9871 2007-08-25  Dan Williams  <dcbw@redhat.com>
9872
9873         It's 2007. Remove support for drivers that don't support wireless scanning.
9874
9875         * test/nm-tool.c
9876           include/NetworkManager.h
9877           src/NetworkManagerUtils.c
9878           src/NetworkManagerPolicy.c
9879           src/nm-device-802-11-wireless.c
9880                 - Remove special handling for non-scanning devices and mark them
9881                         as unsupported/unhandled
9882
9883 2007-08-20  Dan Williams  <dcbw@redhat.com>
9884
9885         * src/nm-device-802-11-wireless.c
9886           src/nm-device-802-3-ethernet.c
9887                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9888                         because when the card is pulled or the module removed, the device
9889                         is already !IFF_UP and then device-specific cleanup (removing
9890                         the supplicant interface, periodic checks, etc) never gets done
9891
9892 2007-08-20  Dan Williams  <dcbw@redhat.com>
9893
9894         * src/nm-manager.c
9895                 - (nm_manager_remove_device): bring device down before disconnecting
9896                         signal handlers, so that the 'state' signal will get broadcast when
9897                         the device enters the DOWN state
9898                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9899                         of states that cause the NMManager to recheck its state
9900
9901 2007-08-20  Dan Williams  <dcbw@redhat.com>
9902
9903         * src/supplicant-manager/nm-supplicant-interface.c
9904                 - (interface_disconnect_done): don't try to dispose of the net proxy
9905                         when it may already have been disposed of
9906
9907 2007-08-20  Dan Williams  <dcbw@redhat.com>
9908
9909         * src/nm-device-802-11-wireless.c
9910                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9911                         the SSID isn't available; this can happen when the card is pulled
9912                         or the module unloaded, during the post-removal deactivation
9913                         paths, when the ioctl returns ENODEV
9914
9915 2007-08-20  Dan Williams  <dcbw@redhat.com>
9916
9917         * src/nm-device-802-11-wireless.c
9918                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9919                         frequency, and mode match.  Applets are now responsible for grouping
9920                         access points
9921
9922 2007-08-20  Dan Williams  <dcbw@redhat.com>
9923
9924         * src/NetworkManagerAP.c
9925         * src/NetworkManagerAP.h
9926                 - (nm_ap_print_self): new function
9927
9928         * src/NetworkManagerAPList.c
9929                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9930                         to do it all here
9931         
9932 2007-08-17  Dan Williams  <dcbw@redhat.com>
9933
9934         * src/nm-device-802-3-ethernet.c
9935                 - (real_bring_down): don't try to dispose of stuff that might not
9936                         exist
9937
9938 2007-08-17  Dan Williams  <dcbw@redhat.com>
9939
9940         * src/NetworkManagerAP.c
9941                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9942                         applet.  This ensures that the case between the seen-bssids and
9943                         the bssids reported by the driver match.
9944
9945 2007-08-17  Dan Williams  <dcbw@redhat.com>
9946
9947         * src/nm-device-802-11-wireless.c
9948                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9949                         we dispose of the interface proxy in NM
9950
9951 2007-08-16  Dan Williams  <dcbw@redhat.com>
9952
9953         * libnm-glib/nm-client.c
9954                 - (nm_client_init): create VPN connections hash table with key free
9955                         function
9956                 - (proxy_vpn_connection_added): VPN connections hash table key should
9957                         be a duplicated value, not the same memory address as the VPN
9958                         connection name.  This is because the VPN connection name could
9959                         potentially be freed and set to something else during the lifetime
9960                         of the NMVPNConnection object.
9961
9962 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9963
9964         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9965         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9966         with the file descriptors. Send a child setup function to change the pppd
9967         progress group.
9968
9969 2007-08-15  Dan Williams  <dcbw@redhat.com>
9970
9971         * src/supplicant-manager/nm-supplicant-interface.c
9972                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9973                         an interface
9974                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9975                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9976                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9977                         the interface internally
9978
9979 2007-08-15  Dan Williams  <dcbw@redhat.com>
9980
9981         * src/nm-device-802-11-wireless.c
9982                 - (real_bring_down): move most of this function into device_cleanup()
9983                         so that it can be called from elsewhere
9984                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9985                         and stuff on dispose.  These would normally get cleaned up when
9986                         the device is marked down and deactivated, but when the device is
9987                         hot-unplugged, it's already down and real_down() never gets run
9988
9989 2007-08-15  Dan Williams  <dcbw@redhat.com>
9990
9991         * src/nm-dbus-nmi.c
9992                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9993                         caused a reference leak on device for which NM requested a key
9994
9995 2007-08-15  Dan Williams  <dcbw@redhat.com>
9996
9997         * libnm-glib/nm-client.c
9998                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9999
10000 2007-08-15  Tambet Ingo  <tambet@gmail.com>
10001
10002         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10003         nothing is using it at the moment, but it'll be all useful and stuff later on.
10004
10005         * libnm-util/nm-setting.h: Define NMSettingPPP.
10006
10007         * libnm-util/nm-setting.c: Implement NMSettingPPP.
10008
10009         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10010
10011         * src/Makefile.am: Add ppp-manager to SUBDIRS.
10012
10013         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10014
10015         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10016
10017 2007-08-14  Tambet Ingo  <tambet@gmail.com>
10018
10019         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10020
10021         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10022         an issue with dbus-glib bindings generator. The issue is, the generated C caller
10023         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10024         name and different arguments and it won't compile anymore. To fix this, we now have
10025         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10026         that is new API + compatibility API and used by the daemon. The other, 
10027         nm-manager-client.xml is only the new API without compatibility bits and is used
10028         by libnm-glib to make it compile.
10029
10030         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10031
10032         * src/nm-manager.c (impl_manager_legacy_sleep)
10033         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10034         interface functions for 0.6 branch.
10035
10036 2007-08-14  Dan Williams  <dcbw@redhat.com>
10037
10038         * src/NetworkManagerAP.c
10039                 - (nm_ap_new_from_properties): fix mistaken check of return value
10040                         from memcmp (should expect 0)
10041
10042 2007-08-14  Dan Williams  <dcbw@redhat.com>
10043
10044         (force-commit to fix wrong comment and partial commit of r2685; this
10045          commit actually applies to r2685)
10046
10047         * src/NetworkManagerUtils.c
10048                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10049                         ignores trailing nulls in the SSID to work around mismatches in
10050                         expectations between WEXT and what the info-daemon passes back.  The
10051                         info-daemon would pass back the correct length, but due to the
10052                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10053                         the device would always have an SSID + 1 depending on what versions
10054                         of wpa_supplicant, the kernel, and NM you have.  This was most often
10055                         visible by just quitting the applet and relaunching, which caused
10056                         NM to reassociated to the same network over again when reloading
10057                         the save networks.
10058
10059         * src/NetworkManagerPolicy.c
10060           src/NetworkManagerUtils.h
10061           src/nm-device-802-11-wireless.c
10062                 - Update for new parameter to nm_utils_same_ssid()
10063
10064 2007-08-14  Dan Williams  <dcbw@redhat.com>
10065
10066         * src/NetworkManagerAP.c
10067                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
10068                         I encountered a BSS that wasn't just hiding it's ESSID, it was
10069                         setting the BSSID to all 0s.  That confused the heck out of NM,
10070                         plus it's useless and probably out-of-spec.
10071
10072 2007-08-14  Dan Williams  <dcbw@redhat.com>
10073
10074         * callouts/Makefile.am
10075           src/dhcp-manager/nm-dhcp-manager.c
10076           src/dhcp-manager/nm-dhcp-manager.h
10077           src/dhcp-manager/Makefile.am
10078                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10079
10080 2007-08-14  Dan Williams  <dcbw@redhat.com>
10081
10082         * src/dhcp-manager/nm-dhcp-manager.c
10083                 - (dhclient_run): don't pass -x to dhclient until we figure out if
10084                         it's really needed, get rid of unused xtra_args parameter
10085
10086 2007-08-14  Dan Williams  <dcbw@redhat.com>
10087
10088         * include/NetworkManagerVPN.h
10089           src/vpn-manager/nm-dbus-vpn.c
10090           src/vpn-manager/nm-dbus-vpn.h
10091           src/vpn-manager/nm-vpn-act-request.c
10092           src/vpn-manager/nm-vpn-act-request.h
10093           src/vpn-manager/nm-vpn-service.c
10094           src/vpn-manager/nm-vpn-service.h
10095           libnm-glib/nm-vpn-connection.c
10096           libnm-glib/nm-vpn-connection.h
10097           libnm-glib/nm-client.h
10098                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
10099                         NMVPNServiceState to clarify what they apply to
10100                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10101                         NMVPNActStage -> NMVPNConnectionState for the same reason
10102
10103         * libnm-glib/nm-client.c
10104                 - Constant + type renames from above
10105                 - Properly handle NameOwnerChanged/manager_running signals
10106                         for NM service; only emit when state really changes
10107                 - Use hash tables correctly so that the key (which was previously owned
10108                         by the D-Bus message) now has the same lifetime as the value, since
10109                         the key is now taken from the the NMVPNConnection itself.  This
10110                         really fixes the double-VPN names in the applet
10111
10112 2007-08-13  Dan Williams  <dcbw@redhat.com>
10113
10114         Patch from Michael Biebl <biebl@debian.org>
10115
10116         * po/POTFILES.in
10117           po/POTFILES.skip
10118                 - Update for vpn-properties move
10119
10120 2007-08-13  Dan Williams  <dcbw@redhat.com>
10121
10122         * libnm-glib/nm-client.c
10123                 - Convert internal VPN connection tracking from a list to a hash table
10124                         to easily avoid duplicates
10125                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10126                         must be freed by the caller, like nm_client_get_devices()
10127                 - (nm_client_remove_vpn_connection): don't let the removal signal
10128                         leak through for NMVPNConnection objects that aren't actually
10129                         tracked.
10130                 - (manager_running): throw away VPN connection list when NM goes away,
10131                         like with the device list
10132
10133 2007-08-13  Dan Williams  <dcbw@redhat.com>
10134
10135         * src/dhcp-manager/nm-dhcp-manager.c
10136                 - Stop any dhclient instance that might be already running for a
10137                         particular interface before starting an NM spawned dhclient.  Fixes
10138                         dhclient processes left over if NM crashes, stuff like that.
10139
10140 2007-08-13  Dan Williams  <dcbw@redhat.com>
10141
10142         * src/NetworkManagerAP.c
10143                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10144                         when the AP wasn't broadcasting it's SSID
10145
10146 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10147
10148         * include/NetworkManager.h: added DBus path for connection settings.
10149
10150         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10151         nm_connection_settings_signal_updated,
10152         nm_connection_settings_signal_removed): new functions to wrap the
10153         objects' signals.
10154         (nm_connection_settings_init): register GObject with DBus.
10155         (nm_connection_settings_get_dbus_object_path): new function.
10156
10157         * libnm-glib/Makefile.am: added libnmutil to link flags.
10158
10159 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10160
10161         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10162
10163         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10164         libnm_glib directory got merged with libnm-glib/.
10165
10166         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10167
10168         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10169         Rename the library from libnm-glib to libnm_glib to maintain the library API
10170         compatibility with 0.6 branch.
10171
10172         * Makefile.am: Remove gnome/ SUBDIR.
10173
10174         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10175
10176         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10177
10178         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10179
10180         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10181         anymore.
10182         Remove checks for wpa_supplicant binary, it's used over dbus.
10183         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10184
10185         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10186         Link the binaries with libnm_glib.la.
10187
10188 2007-08-12  Dan Williams  <dcbw@redhat.com>
10189
10190         * src/NetworkManagerPolicy.c
10191                 - (nm_policy_device_change_check): fix policy to deactivate old device
10192                         before activating new one, at least until the multiple active
10193                         device support lands
10194
10195 2007-08-12  Dan Williams  <dcbw@redhat.com>
10196
10197         * src/NetworkManagerPolicy.c
10198                 - (nm_policy_new): hook up to connection-added / connection-removed
10199                         signals instead of connections-changed
10200
10201 2007-08-12  Dan Williams  <dcbw@redhat.com>
10202
10203         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10204         Robert Frank <rfrank@redhat.com>
10205
10206         * src/dhcp-manager/nm-dhcp-manager.c
10207           src/dhcp-manager/nm-dhcp-manager.c
10208           src/nm-device.c
10209                 - Spawn and communicate with dhclient directly, through means of a
10210                 custom dhclient callout script.  Process callout D-Bus signals
10211                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10212                 sent via gobject signals rather than being driven by the dhcp manager
10213                 directly.
10214
10215 2007-08-12  Dan Williams  <dcbw@redhat.com>
10216
10217         * callouts/nm-dhcp-client-action.c
10218                 - (build_message): ignore non-DHCP-related environment variables
10219
10220 2007-08-12  Dan Williams  <dcbw@redhat.com>
10221
10222         * Makefile.am
10223           configure.in
10224           callouts/Makefile.am
10225           callouts/nm-dhcp-client-action.c
10226           callouts/nm-dhcp-client.conf
10227                 - Add dhclient-executed callout that takes the place of dhclient-script
10228                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10229                 NM then listens for
10230
10231 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10232
10233         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10234
10235         * libnm-glib/nm-client.h:
10236         * libnm-glib/nm-object.h:
10237         * libnm-glib/nm-vpn-connection.h:
10238         * libnm-glib/nm-settings.h:
10239         * libnm-glib/nm-device.h:
10240         * libnm-glib/nm-ip4-config.h:
10241         * libnm-glib/nm-access-point.h:
10242         * libnm-glib/nm-device-802-3-ethernet.h:
10243         * libnm-util/nm-setting.h: 
10244         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10245
10246         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10247
10248         * libnm-glib/nm-access-point.c: Strength has type char.
10249
10250         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10251         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10252
10253         * introspection/nm-access-point.xml: Strength property is char, not int.
10254
10255         * src/NetworkManagerAP.c (set_property): Set strength from char.
10256         (get_property): Handle hidden APs (with empty SSID).
10257         Get strength value from char.
10258         (nm_ap_class_init): Strength property has char type.
10259
10260 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10261
10262         * introspection/Makefile.am:
10263         * introspection/nm-settings.xml:
10264         * introspection/nm-settings-connection.xml: added Settings interfaces.
10265
10266         * libnm-glib/nm-settings.[ch]:
10267         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10268         containing the DBus implementation.
10269
10270 2007-07-26  Dan Williams  <dcbw@redhat.com>
10271
10272         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10273
10274         * src/NetworkManagerSystem.c
10275                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10276                         same subnet (#437396)
10277
10278 2007-07-26  Dan Williams  <dcbw@redhat.com>
10279
10280         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10281
10282         * gnome/vpn-properties/nm-vpn-properties.c
10283                 - Fix translatable strings (#445865)
10284
10285 2007-07-26  Dan Williams  <dcbw@redhat.com>
10286
10287         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10288
10289         * configure.in
10290                 - Remove useless junk (#412530)
10291
10292 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10293
10294         Patch from Robert Buchholz <rbu@gentoo.org>:
10295
10296         * configure.in:
10297         * Makefile.am:
10298         * introspection/Makefile.am:
10299         Make make distcheck work again.
10300
10301 2007-06-27  Dan Williams  <dcbw@redhat.com>
10302
10303         * Make SSIDs GByteArrays everywhere
10304         * Rename "essid" -> "ssid" everywhere that's appropriate
10305         * Refcount activation_ap member of the 802.11 wireless device class
10306
10307 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10308
10309         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10310
10311 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10312
10313         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10314         that we got a new AP when we just update existing AP properties.
10315
10316 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10317
10318         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10319
10320         * nm-utils.[ch]: Remove.
10321
10322         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10323         objects for easy property access and dbus connection handling.
10324
10325         * libnm-glib/nm-client.c: Derive from NMObject.
10326
10327         * libnm-glib/nm-device.c: Ditto.
10328
10329         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10330
10331         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10332
10333         * libnm-glib/nm-ip4-config.c: Ditto.
10334
10335         * libnm-glib/nm-access-point.c: Ditto.
10336
10337         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10338         comparision. Currently used by the device activation code to determine if the new
10339         activation is the same as the old one.
10340
10341         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10342         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10343         able to ask password for the AP.
10344
10345         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10346         up if the device is already connected, tear down it's connection (if it isn't the
10347         same as new one) and start the activation.
10348
10349         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10350
10351         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10352         the issue where all APs are always listed as encrypted.
10353
10354         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10355         their own registered paths.
10356
10357         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10358         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10359
10360 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10361
10362         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10363         (0 & 0 == 0, doh)
10364
10365         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10366         because the handling code will cause the next state change and signal listeners
10367         get the signals in wrong order.
10368
10369         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10370         correctly in case of pending activation.
10371
10372         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10373         Convert the essid byte array to string correctly, including the terminating NULL.
10374
10375         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10376         mode with correct types.
10377
10378         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10379         constructed info to dbus call instead of the activation request.
10380
10381 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10382
10383         Patch from Christian Persch <chpe@gnome.org>
10384
10385         * libnm-glib/Makefile.am:
10386         * dispatcher-daemon/Makefile.am:
10387         Use the correct variables, the correct paths, and correct ordering. (446315)
10388
10389 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10390
10391         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10392         argument. The activation request is easy to retrieve.
10393
10394         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10395         just to be a convenient location for devices to store random stuff.
10396
10397 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10398
10399         Patch from Alex Smith <alex@alex-smith.me.uk>
10400
10401         * src/backends/NetworkManagerFrugalware.c:
10402         Update the FrugalWare backend to fix a few segfaults. (#392642)
10403
10404 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10405
10406         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10407
10408         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10409         setting.
10410         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10411
10412 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10413
10414         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10415         automagically.
10416         Implement NMSettingIP4Config.
10417         Finish NMSettingWired by adding all known members.
10418         (setting_wired_verify): Implement.
10419         Finish NMSettingWireless by adding all known members.
10420         (setting_wireless_verify): Implement.
10421
10422         * libnm-util/nm-connection.c: Register "ipv4" setting.
10423         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10424         dump function, we can introspect the GHashTable which is used for sending connections
10425         over dbus.
10426
10427         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10428         Take GByteArray for essid, it's really not a string.
10429
10430         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10431         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10432         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10433         means overriding the values we got from DHCP.
10434         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10435         (nm_device_deactivate_quickly): Ditto.
10436
10437         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10438         for debugging.
10439
10440 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10441
10442         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10443         NMConnection.
10444
10445         * libnm-glib/nm-device-802-11-wireless.c:
10446         (nm_device_802_3_ethernet_activate): Remove.
10447
10448         * libnm-glib/nm-device-802-3-ethernet.c
10449         (nm_device_802_3_ethernet_activate): Remove.
10450
10451         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10452
10453         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10454         NMConnection.
10455
10456         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10457         activation has started.
10458         Implement the new activation using NMConnection.
10459
10460         * src/nm-activation-request.c: Store a generic connection object instead
10461         of a wireless-specific AP.
10462
10463         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10464         on device type, create a device specific connection object suitable for
10465         device activation.
10466
10467         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10468         specific check to validate the connection and on success start the
10469         activation.
10470
10471         * src/nm-device-interface.h: Add a activate virtual function to the
10472         interface definition.
10473
10474         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10475         (impl_device_activate): Implement.
10476
10477         * introspection/nm-device.xml: Add a generic device activation interface
10478         that accepts an abstract NMConnection structure that has device-specific
10479         information in it.
10480
10481         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10482         activation interface.
10483
10484         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10485         activation interface.
10486
10487         * libnm-util/nm-connection.c: 
10488         * libnm-util/nm-connection.h: 
10489         * libnm-util/nm-setting.c:
10490         * libnm-util/nm-setting.h: Add.
10491
10492         * libnm-util/Makefile.am: Build the added files.
10493
10494         * src/nm-dbus-manager.c
10495         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10496         DbusConnection argument from 'name-owner-changed' signal. The manager
10497         is already passed as a first argument to the signal and the connection
10498         is easy enough to get from it.
10499
10500         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10501         Update the signature of the function.
10502
10503         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10504         Ditto.
10505
10506         * src/NetworkManager.c: Ditto.
10507
10508         * src/named-manager/nm-named-manager.c
10509         (nm_named_manager_name_owner_changed): Ditto.
10510
10511         * src/supplicant-manager/nm-supplicant-manager.c
10512         (nm_supplicant_manager_name_owner_changed): Ditto.
10513
10514         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10515
10516         * src/dhcp-manager/nm-dhcp-manager.c
10517         (nm_dhcp_manager_name_owner_changed): Ditto.
10518
10519         * src/nm-hal-manager.c: Add a list of device detectors and creators
10520         to make it easier to add new devices. Each device type has it's own
10521         entry in the table so adding new device types is only a matter of
10522         implementing a couple of functions, one for device detection and the
10523         other for device creation.
10524
10525 2007-04-25  Dan Williams  <dcbw@redhat.com>
10526
10527         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10528                 (gnome.org #432401)
10529
10530 2007-03-30  Dan Williams  <dcbw@redhat.com>
10531
10532         * src/NetworkManagerSystem.c
10533                 - (nm_system_device_set_ip4_route): clean up and fix argument
10534                         to nm_dev_sock_open()
10535
10536 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10537
10538         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10539         data to correct types instead of always using string.
10540
10541         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10542         _not_ have NM_802_11_CAP_PROTO_NONE.
10543         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10544         is not set.
10545
10546 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10547
10548         * libnm-glib/Makefile.am: Fix the build issue.
10549
10550 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10551
10552         * libnm-glib/nm-vpn-connection.h: 
10553         * libnm-glib/nm-vpn-connection.c: Implement.
10554
10555         * libnm-glib/nm-client.c: Add VPN support.
10556
10557         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10558         handler for VPN.
10559
10560         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10561         on DBUS again.
10562
10563 2007-03-26  Dan Williams  <dcbw@redhat.com>
10564
10565         * src/NetworkManagerAPList.c
10566         * src/nm-device-802-11-wireless.c
10567         * src/NetworkManagerAP.c:
10568                 - Store last seen as glong instead of GTimeVal.
10569                 - Fix the upper bound of capabilities, it's a bitfield.
10570
10571 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10572
10573         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10574
10575         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10576         "manager-running" signal that notifies the appearance/disappearance of NM.
10577         (nm_client_sleep): Implement.
10578
10579         * libnm-glib/nm-device.c:
10580         * libnm-glib/nm-device-802-11-wireless.c: 
10581         * libnm-glib/nm-device-802-3-ethernet.c: 
10582
10583         Don't inherit from DBusGProxy, add a proxy to private
10584         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10585         for anything but their own dbus interface. DBusGProxy objects support only one
10586         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10587         interface. The nice side effect of this change is that we do not create a new
10588         DBusGProxy object for each property access.
10589
10590 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10591
10592         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10593         with zeroes before passing them to functions - the functions never do that and
10594         reading the values back may produce wrong values.
10595         (real_bring_up): Store the signal handler id ...
10596         (real_bring_down): ... So that it can be removed here.
10597         Disconnect the supplicant interface here as well.
10598         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10599         from the access point instead of old $device/Networks/$essid.
10600
10601         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10602         device state is connected (instead of just having link/carrier).
10603
10604         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10605         already easily accessible through the device.
10606
10607         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10608         store it within the object.
10609         (nm_ap_get_dbus_path): Export it to public as well.
10610
10611         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10612         of the singleton.
10613
10614 2007-03-12  Dan Williams  <dcbw@redhat.com>
10615
10616         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10617         for non-carrier-detect capable devices, and useless for carrier-detect
10618         devices since we get notifications from netlink about carrier status anyway.
10619
10620         * src/nm-device-802-3-ethernet.c
10621                 - remove 'link_source_id' member from private data
10622                 - (probe_link): remove and collapse into real_update_link()
10623                 - (nm_device_802_3_periodic_update): remove
10624                 - (real_is_up): check for sup_iface rather than link_source_id
10625                 - (real_bring_up): return gboolean for success/fail; require that
10626                         sup_iface be valid for device bringup to succeed
10627                 - (real_bring_down): zero out link signal ids
10628
10629         * src/nm-device.c
10630                 - (nm_device_activate_stage2_device_config): fail activation if device
10631                         bringup fails
10632                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10633                         fails
10634                 - (nm_device_bring_up): return success/fail
10635
10636         * src/nm-device.h
10637                 - bring_up now returns success/fail
10638
10639         * src/nm-device-802-11-wireless.c
10640                 - (real_bring_up): return success from bringup
10641
10642 2007-03-07  Dan Williams  <dcbw@redhat.com>
10643
10644         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10645         * src/nm-ap-security-wpa-psk.c
10646                 - (real_write_supplicant_config): work with PSKs that may contain
10647                         zeros in the binary format rather than treating it as a string
10648
10649 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10650
10651         * libnm-glib/nm-device-802-11-wireless.c
10652         (nm_device_802_11_wireless_get_capabilities): Implement.
10653
10654         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10655
10656         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10657
10658         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10659         reply only if it's not NULL. Not sure why this started happening right now.
10660
10661         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10662         code paths for when devices get removed on shutdown or when a device is just
10663         removed.
10664         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10665         gets freed so any signal from a device (disconnected for instance) would invoke
10666         NMState update which would crash.
10667         (nm_manager_remove_device): Bring the device down when it gets removed.
10668
10669         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10670         the unused dev_type.
10671
10672         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10673         reference to the added device, NMManager will own it (if it wants).
10674
10675         * test/nm-tool.c: Rewrite using libnm-glib.
10676
10677         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10678         We get signalled when it changes.
10679
10680         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10681         when it changes.
10682
10683         * libnm-glib/nm-device.c: Cache the device state property.
10684
10685         * libnm-glib/nm-access-point.c: Cache the strength property.
10686
10687         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10688         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10689         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10690         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10691         the device is down, activating, or activated (in case of A/B/G cards).
10692         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10693         it's all done through supplicant now.
10694
10695         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10696         counting issues with pending calls which caused leaks and crashes when
10697         interface was removed (now that the interface actually gets removed).
10698
10699         * src/nm-call-store.c: Make a copy of data before running a foreach
10700         with user callback on it - The most common usage pattern is to cancel
10701         (and thus remove) all pending calls with foreach which would modify
10702         the hash table we're iterating over.
10703
10704         * src/nm-manager.c: When a device is added, make sure it is "up". When
10705         it's removed or disabled due to disabling wireless or networking, bring
10706         it down.
10707
10708         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10709
10710         * src/nm-device-802-11-wireless.c: 
10711         * src/nm-device-802-3-ethernet.c: 
10712         * src/nm-device.c:
10713                 - Remove "init" virtual function, all gobjects have a place for that
10714                   already (constructor).
10715                 - Replace "start" virtual function with "bring_up", devices can be
10716                   brought up and down more than just on startup now.
10717                 - Add "is_up" virtual function.
10718                 - Implement one way to bring a device down instead of previous 4 different
10719                   ways, each of witch did something different.
10720
10721         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10722         all it needs is the device interface.
10723
10724         Get rid of NMData.dev_list (3 members to go).
10725         Get rif of NMData in a lot of places.
10726
10727         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10728
10729 2007-02-23  Dan Williams  <dcbw@redhat.com>
10730
10731         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10732
10733         * src/NetworkManagerAP.c
10734                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10735                         OR-ing rather than AND-ing
10736
10737 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10738
10739         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10740         "network-removed" signals.
10741
10742         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10743
10744         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10745         when receiving the signal from dbus.
10746
10747         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10748         property.
10749
10750         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10751         deactivation of the previously activated device working again.
10752
10753         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10754         and setter.
10755
10756         * src/nm-device.c (nm_device_is_activated): Remove.
10757         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10758
10759         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10760         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10761         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10762         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10763         Remove NMNetworkStatus and NMActStage enums.
10764
10765 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10766
10767         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10768         Handle device state changes and disconnect VPN if it's device deactivates.
10769
10770         * src/nm-dbus-nm.c: 
10771         * src/nm-dbus-nm.h: 
10772         * src/nm-dbus-device.c: 
10773         * src/nm-dbus-device.c: 
10774         * src/nm-dbus-net.c: 
10775         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10776
10777         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10778
10779         * src/nm-device.c (nm_device_get_by_udi):
10780         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10781         implemented in the correct location (NMManager).
10782         Rip out all the test_device stuff.
10783
10784         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10785         failure handlers, it's all done by NMDevice already.
10786
10787         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10788         Remove the iochannel hack to route the unix signals to the main thread since
10789         we're not threaded anymore.
10790
10791         * src/NetworkManagerAP.c: Implement HWAddress property.
10792
10793         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10794         automatically with dbus-glib.
10795
10796         * src/nm-netlink-monitor.c: 
10797         * src/nm-netlink-monitor.h:
10798                 - Move it low in the class hierarchy, don't reference any NM types.
10799                 - Remove private data from the header.
10800                 - Use type safe checks in public API methods.
10801                 - Make it a singleton so we don't have to pass the single reference around.
10802
10803 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10804
10805         * introspection/nm-ip4-config.xml: Implement.
10806
10807         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10808
10809         * libnm-glib/nm-ip4-config.c:
10810         * libnm-glib/nm-ip4-config.c: Implement.
10811
10812         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10813         securities. APs reference security.
10814
10815         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10816         be exported over DBUS.
10817
10818         * src/nm-device-802-3-ethernet.c: Ditto.
10819
10820         * src/NetworkManagerAP.c:
10821         * src/NetworkManagerAP.h:
10822                 - Convert to GObject, export over DBUS.
10823
10824         * src/nm-ip4-config.h:
10825         * src/nm-ip4-config.h:
10826                 - Convert to GObject, export over DBUS.
10827
10828 2007-02-12  Dan Williams  <dcbw@redhat.com>
10829
10830         Patch from Helmut Schaa <hschaa@suse.de>
10831
10832         * vpn-daemons/pptp/configure.in
10833           vpn-daemons/pptp/Makefile.am
10834           vpn-daemons/openvpn/configure.in
10835           vpn-daemons/openvpn/Makefile.am
10836           vpn-daemons/vpnc/configure.in
10837           vpn-daemons/vpnc/Makefile.am
10838                 - Add --without-gnome switch which disables building gnome bits
10839
10840 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10841
10842         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10843
10844         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10845
10846         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10847         'HwAddress'.
10848
10849         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10850
10851         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10852
10853         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10854
10855         * src/:
10856                 - Remove old low-level dbus interface implementations and replace them
10857                   with dbus-glib one.
10858
10859         * configure.in:
10860                 - Require dbus-glib >= 0.72.
10861                 - Plug in new sources to build.
10862
10863         * libnm-glib/:
10864                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10865                   to make it more convenient to use from GObject based programs.
10866
10867         * introspection/:
10868                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10869
10870 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10871
10872         * src/nm-device-802-11-wireless.c:
10873                 - Add "network-added" and "network-removed" signals.
10874                 - Use gobject boilerplate macros to define the GObject.
10875                 - Implement wireless device activation.
10876                 - Remove activation_failure_handler and activation_success_handler
10877                   and instead listen on state-changed signals and run the same code
10878                   from there.
10879
10880         * src/nm-device.c:
10881                 - Implment NMDeviceInterface::deactivate.
10882                 - Remove activation_failure_handler and activation_success_handler
10883                   virtual methods. Each device which is interested in these events
10884                   can just listen on it's state changed signals.
10885
10886         * src/NetworkManagerPolicy.c:
10887                 - Move a bit more NMData usage to NMManager.
10888                 - Remove activation scheduling bits.
10889                 - Add listeners for wireless device's "network-added" and
10890                   "network-removed" signals.
10891                 - Listen device changed signals and deactivate currently activated
10892                   device when another device start activating (for now).
10893                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10894                   for calling this, the policy code knows exactly when this should happen,
10895                   by listening on events from NMManager and NMDevices.
10896
10897         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10898         Implement.
10899
10900         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10901         method on the specific device instead of going to through policy code
10902         and determining the device type by passed in AP's existance.
10903
10904         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10905         abstract NMDevice deactivation.
10906
10907 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10908
10909         * src/NetworkManager.c:
10910                 - Set up all the shiny new managers.
10911
10912         * src/NetworkManagerPolicy.c:
10913                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10914                   classes to call into policy code, make the policy code kind of like
10915                   a supervisor that monitors what's going on and drives the whole NM.
10916
10917         * src/nm-hal-manager.c: 
10918         * src/nm-hal-manager.h:
10919                 - Collect all libhal code scattered around NM to this one class.
10920                 - Listen libhal and NMManager events and add/remove devices to
10921                   NMManager.
10922
10923         * src/nm-manager.c:
10924         * src/nm-manager.h:
10925                 - Implment a replacement for NMData. NMData is now officially
10926                 deprecated.
10927
10928 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10929
10930         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10931         * src/supplicant-manager/nm-supplicant-interface.h
10932         * src/supplicant-manager/nm-supplicant-interface.c
10933         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10934         argument to boolean from enum.
10935
10936         Make NMDevice abstract class, remove almost all references to it's
10937         subclasses (the last place gets removed with new policy manager). Add
10938         NMDeviceInterface (which NMDevice implements) so that when we have
10939         NMDevice exported over DBUS, there's a common NMDevice interface which
10940         all instances have, plus there's a device specific interface for each
10941         specific type.
10942         Remove functions (nm_device_is_802_3_ethernet) and
10943         (nm_device_is_802_11_wireless). There are already standard GObject macros
10944         for type safe checks.
10945         Use the updated supplican manager API.
10946
10947         * src/nm-device-interface.h: 
10948         * src/nm-device-interface.c: 
10949         * src/nm-call-store.h: 
10950         * src/nm-call-store.c: Implement.
10951
10952         * src/supplicant-manager/nm-supplicant-interface.c:
10953         * src/supplicant-manager/nm-supplicant-interface.h:
10954         * src/supplicant-manager/nm-supplicant-manager.c:
10955         * src/supplicant-manager/nm-supplicant-manager.h:
10956                 - Remove all private data type references from public header files.
10957                 - Remove all references to other NM classes, this class is just a
10958                   proxy between wpa_supplicant and NM so it doesn't have to know
10959                   any internals.
10960                 - Convert to dbus-glib bindings.
10961                 - Type safe checks for public methods' arguments.
10962                 - Store pending DBUS call ids to NMCallStore.
10963
10964         * src/supplicant-manager/nm-supplicant-config.c:
10965                 - Store config values in a GHashTable instead of GSList.
10966
10967         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10968
10969         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10970         singleton now.
10971
10972         * src/nm-device.c: Use the new DHCP manager API.
10973
10974         * src/nm-activation-request.c:
10975         * src/nm-activation-request.h:
10976                 - Remove all dhcp related properties and methods.
10977
10978         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10979
10980         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10981
10982         * src/dhcp-manager/nm-dhcp-manager.c:
10983         * src/dhcp-manager/nm-dhcp-manager.h:
10984                 - Convert it to GObject since we need to signal state changes.
10985                 - Remove all references to other NM classes, this class is one
10986                   of the lowest classes in our hierarchy.
10987                 - One less class to use NMActRequest.
10988                 - Make it singleton, one less user of NMData.
10989                 - Remove a couple of sleep() calls.
10990                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10991                   One less class to use the NM's custom tailored signal handlig.
10992
10993         * Makefile.am: Generate marshallers, add them to build.
10994
10995 2007-02-02  Dan Williams  <dcbw@redhat.com>
10996
10997         * configure.in
10998           gnome/Makefile.am
10999           nm-applet.desktop
11000           Makefile.am
11001                 - Remove last bits referencing gnome applet
11002
11003 2007-02-02  Dan Williams  <dcbw@redhat.com>
11004
11005         * src/vpn-manager/nm-vpn-service.c
11006                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11007                         and NBNS server addresses
11008
11009 2007-02-02  Tambet Ingo  <tambet@ximian.com>
11010
11011         * src/nm-dbus-manager.c:
11012         * src/nm-dbus-manager.h:
11013                 - Convert all internal DBUS code to use dbus-glib bindings.
11014                 - Remove GObject properties, we don't need them here.
11015                 - Don't explicitly set things to NULL after freeing, glib is
11016                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
11017                 - Make public API argument checks type safe.
11018                 - Remove unnecessary (and wrong) cast to GObject for the first
11019                   argument to g_signal_* calls - The first argument is a gpointer.
11020                 - Export DBusGConnection to other cool classes that (are going to)
11021                   use dbus-glib.
11022
11023 2007-01-26  Dan Williams  <dcbw@redhat.com>
11024
11025         * libnm-util/dbus-dict-helpers.c
11026           libnm-util/dbus-dict-helpers.h
11027                 - Coordinate style with wpa_supplicant version to minimize diff
11028                 - Add uint32 array support
11029                 - (nmu_dbus_dict_append_uint32_array): new function
11030                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11031                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11032                         version; allow adding string array elements individually
11033
11034         * test/libnm-util/test-dbus-dict-helpers.c
11035                 - Test uint32 arrays
11036
11037 2007-01-27  Jürg Billeter  <j@bitron.ch>
11038
11039         * src/backends/NetworkManagerPaldo.c
11040                 - (nm_system_update_dns): clear nscd hosts cache
11041
11042 2007-01-04  Dan Williams  <dcbw@redhat.com>
11043
11044         Threading removal related cleanups:
11045
11046         - Use the glib default main context.  Remove the device main context
11047                 member from NMDevice, and the main_context member from NMData.  Change
11048                 all the idle and timeout scheduler functions to use plain
11049                 g_idle_add() and g_timeout_add().
11050
11051         - As a side-effect of the first change, nm_dbus_manager_get() no longer
11052                 takes an argument; fix that up too.
11053
11054         - Remove all locking, which is useless since we no longer use threads.  For
11055                 example, nm_get_device_by_iface_locked() has been removed.  The global
11056                 device list lock, the AP List lock, and all static locks in
11057                 NetworkManagerPolicy.c have been removed.  The locking utility functions
11058                 in NetworkManagerUtils.c have also been removed.
11059
11060         - Other cleanups in spacing and code style
11061
11062 2007-01-01  Dan Williams  <dcbw@redhat.com>
11063
11064         Found by Bill Moss:
11065
11066         * src/supplicant-manager/nm-supplicant-interface.c
11067                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11068                         the supplicant interface wasn't already disconnected.  Always
11069                         call removeNetwork and disconnect unless the supplicant interface
11070                         is in the DISCONNECTED or INACTIVE state.
11071
11072 2006-12-28  Dan Williams  <dcbw@redhat.com>
11073
11074         Use a single thread for everything.  With the move to wpa_supplicant
11075         and communication over D-Bus, there's no reason for multiple threads.
11076         Almost all of the blocking code has been removed, with one exception in
11077         the DHCP manager and a few in the VPN manager.  This commit removes the
11078         per-device worker thread and fixes activation cancellation in the absence
11079         of threads.  Further removal of thread-related code would be removing
11080         any locking code (like the device list lock) and simplification of logic
11081         around areas of code or data structures that are currently locked.
11082
11083         * autoip.c
11084           dhcp-manager/nm-dhcp-manager.c 
11085           nm-device-802-11-wireless.c
11086           nm-device-802-3-ethernet.c
11087           nm-device.c
11088           nm-device.h
11089                 - Remove usage of multiple threads
11090
11091 2006-12-19  Dan Williams  <dcbw@redhat.com>
11092
11093         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11094         plus a few other patches from wpa_supplicant bugzilla.
11095
11096         * src/Makefile.am
11097           src/NetworkManagerPolicy.c
11098           src/NetworkManagerUtils.c
11099           src/NetworkManagerUtils.h
11100           src/nm-ap-security-leap.c
11101           src/nm-ap-security-wep.c
11102           src/nm-ap-security-wpa-eap.c
11103           src/nm-ap-security-wpa-psk.c
11104           src/nm-ap-security.c
11105           src/nm-ap-security.h
11106           src/nm-device-802-11-wireless.c
11107           src/nm-device-802-11-wireless.h
11108           src/supplicant-manager/nm-supplicant-config.c
11109           src/supplicant-manager/nm-supplicant-config.h
11110           src/supplicant-manager/nm-supplicant-interface.c
11111           src/supplicant-manager/nm-supplicant-interface.h
11112           src/supplicant-manager/nm-supplicant-marshal.list
11113           src/supplicant-manager/nm-supplicant-settings-verify.c
11114           src/supplicant-manager/nm-supplicant-settings-verify.h
11115                 - Move all connection management and association handling to
11116                         wpa_supplicant over dbus, rather than spawning a private copy
11117
11118 2006-12-19  Dan Williams  <dcbw@redhat.com>
11119
11120         * src/NetworkManagerPolicy.c
11121                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11122                         better locking of the device change check handler ID.  Incorrect
11123                         locking was causing lost device change requests
11124
11125 2006-12-18  Dan Williams  <dcbw@redhat.com>
11126
11127         * libnm-util/dbus-dict-helpers.c
11128                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11129                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
11130                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
11131
11132 2006-12-18  Dan Williams  <dcbw@redhat.com>
11133
11134         * gnome/libnm_glib/libnm_glib.c
11135                 - Change dbus_connection_close() -> dbus_connection_unref()
11136
11137 2006-12-11  Dan Williams  <dcbw@redhat.com>
11138
11139         * src/supplicant-manager/nm-supplicant-interface.c
11140                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11141                         wpa_supplicant interface state
11142                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11143                         state before transitioning to READY state
11144
11145 2006-12-04  Dan Williams  <dcbw@redhat.com>
11146
11147         * src/nm-device-802-11-wireless.c
11148                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11149                         odd length of ESSID returned from ieee80211 stack-based drivers
11150
11151 2006-12-04  Dan Williams  <dcbw@redhat.com>
11152
11153         * src/nm-device-802-11-wireless.c
11154                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11155                         IE handling blocks that cause mis-parsing of the IE
11156
11157 2006-12-04  Dan Williams  <dcbw@redhat.com>
11158
11159         * src/nm-device-802-11-wireless.c
11160                 - (init_supplicant_interface): new function; pull supplicant interface
11161                         setup code out into standalone function since it must be called from
11162                         two different places
11163                 - (real_init): sup_mgr is now in private object data; get and track
11164                         the supplicant manager object over the NMDevice subclass' lifetime
11165                         and register a signal handler for its state signals; only try to
11166                         initialize the supplicant interface if the supplicant manager is in
11167                         the IDLE state (and therefore is ready for requests)
11168                 - (request_wireless_scan): reschedule the scan request if (a) there is
11169                         no supplicant interface yet (meaning wpa_supplicant isn't running
11170                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11171                         for requests yet
11172                 - (supplicant_iface_connection_state_cb): new function; stub for
11173                         handling supplicant interface connection state signals
11174                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11175                         comes and goes
11176                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11177                         supplicant manager object that's being tracked starting with this
11178                         commit
11179
11180 2006-12-04  Dan Williams  <dcbw@redhat.com>
11181
11182         * src/supplicant-manager/nm-supplicant-interface.c
11183                 - (nm_supplicant_interface_set_property): track signal handler ID
11184                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11185
11186 2006-12-04  Dan Williams  <dcbw@redhat.com>
11187
11188         * src/supplicant-manager/nm-supplicant-interface.[ch]
11189                 - (nm_supplicant_interface_get_state): new function
11190
11191 2006-12-04  Dan Williams  <dcbw@redhat.com>
11192
11193         * src/supplicant-manager/nm-supplicant-interface.c
11194                 - (bssid_properties_cb): don't treat DBus errors as valid
11195                         scanned AP messages
11196
11197 2006-12-04  Dan Williams  <dcbw@redhat.com>
11198
11199         * src/supplicant-manager/nm-supplicant-interface.[ch]
11200                 - (nm_supplicant_interface_get_connection_state): new function
11201                 - define new supplicant connection states
11202                 - send a signal when the supplicant connection state changes
11203
11204 2006-12-03  Dan Williams  <dcbw@redhat.com>
11205
11206         * src/supplicant-manager/Makefile.am
11207           src/supplicant-manager/nm-supplicant-connection.h
11208           src/supplicant-manager/nm-supplicant-connection.c
11209           src/supplicant-manager/nm-supplicant-config.h
11210           src/supplicant-manager/nm-supplicant-config.c
11211           src/supplicant-manager/nm-supplicant-types.h
11212           src/supplicant-manager/nm-supplicant-interface.h
11213           src/supplicant-manager/nm-supplicant-interface.c
11214                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11215
11216 2006-12-03  Dan Williams  <dcbw@redhat.com>
11217
11218         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11219
11220         * po/POTFILES.in
11221           po/POTFILES.skip
11222                 - Move VPN-related translatables to .skip
11223
11224         * vpn-daemons/pptp/po/POTFILES.in
11225                 - Update with new translatables
11226
11227 2006-12-02  Dan Williams  <dcbw@redhat.com>
11228
11229         Patch from Christian Persch <chpe@gnome.org>
11230
11231         * gnome/applet/Makefile.am
11232           gnome/applet/applet-dbus-devices.c
11233           gnome/applet/applet-notifications.c
11234           gnome/applet/applet.c
11235           gnome/applet/applet.h
11236           gnome/applet/main.c
11237                 - Be a GtkStatusIcon on GTK+ >= 2.10
11238
11239 2006-12-02  Dan Williams  <dcbw@redhat.com>
11240
11241         * gnome/applet/applet.c
11242                 - (nma_update_info): fix two unecessary allocations
11243
11244 2006-12-02  Dan Williams  <dcbw@redhat.com>
11245
11246         Patch from Michael Biebl <biebl@teco.edu>
11247         * configure.in
11248           man/NetworkManager.1.in
11249           man/NetworkManagerDispatcher.1.in
11250           man/NetworkManager.8.in
11251           man/NetworkManagerDispatcher.8.in
11252                 - Add .SH NAME stanzas
11253                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11254
11255 2006-12-02  Dan Williams  <dcbw@redhat.com>
11256
11257         Patch from Christian Persch <chpe@gnome.org>
11258
11259         * configure.in
11260                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11261
11262 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11263
11264         Patch by Timo Hoenig <thoenig@suse.de>:
11265         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11266         DBUS-1.0.
11267
11268         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11269         we can't use the one from the main source directory.
11270
11271 2006-11-27  Dan Williams  <dcbw@redhat.com>
11272
11273         Patch from Christian Persch <chpe@gnome.org>
11274
11275         * gnome/applet/applet-dbus-devices.c
11276                 - (hal_info_product_cb): fix memleak; free duped string.
11277                         Gnome.org #379908
11278
11279 2006-11-27  Dan Williams  <dcbw@redhat.com>
11280
11281         Patch from Christian Persch <chpe@gnome.org>
11282
11283         * gnome/applet/menu-items.c
11284                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11285                         as gtk_progress_set_percentage is deprecated.  Should
11286                         work as far back as GTK+ 2.4.  Gnome.org #379780
11287
11288 2006-11-26  Dan Williams  <dcbw@redhat.com>
11289
11290         Scan using wpa_supplicant over DBus.
11291
11292         * src/nm-device-802-11-wireless.c
11293                 - remove wireless extensions netlink event handler bits
11294                         (wireless_event_helper, nm_device_802_11_wireless_event)
11295                 - remove wireless extensions scan event handler bits
11296                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11297                         hex2byte, hex2num, request_and_convert_scan_results,
11298                         free_process_scan_cb_data, scan_results_timeout,
11299                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11300                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11301                         and request scans from the supplicant interface rather than directly
11302                 - Move functionality of convert_scan_results() to cull_scan_list() and
11303                         supplicant_iface_scanned_ap_cb()
11304                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11305                         at the scan interval when the current scan has finished
11306                 - (supplicant_iface_state_cb): start scanning when the supplicant
11307                         interface enters the READY state, and stop scanning when it
11308                         enters the DOWN state
11309                 - (cull_scan_list): weed out old access points from the scan list
11310                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11311                         point into an NMAccessPoint and merge it into the device's scan list
11312
11313         * src/supplicant-manager/nm-supplicant-interface.c
11314           src/supplicant-manager/nm-supplicant-interface.h
11315                 - Add a new signal "scan-result" which is issued when the supplicant
11316                         notifies NM that a scan has completed
11317                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11318                         point found in the scan.  Called once for each access point that
11319                         the supplicant interface object receives from the supplicant as a
11320                         result of the "scanResults" method call
11321                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11322                         for the initial scan results
11323                 - (scan_request_cb): new function; send listeners the result
11324                         (success, error) of a wireless scan request
11325                 - (nm_supplicant_interface_request_scan): new function; ask the
11326                         supplicant to perform an immediate wireless scan
11327
11328 2006-11-25  Dan Williams  <dcbw@redhat.com>
11329
11330         * src/supplicant-manager/Makefile.am
11331                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11332                         add HAL cflags/includes and named-manager includes directory
11333
11334         * src/supplicant-manager/nm-supplicant-interface.h
11335                 - New state STARTING to handle transition from INIT to READY where
11336                         the addInterface pending call is still outstanding
11337
11338         * src/supplicant-manager/nm-supplicant-interface.c
11339                 - track pending calls differently since we may have more than one
11340                         going on at any given time
11341                 - request scan results from wpa_supplicant; but don't do it more often
11342                         than every 4 seconds.  Drivers that do background scanning
11343                         (like the 'ipw' drivers) send a continuous stream of scan completion
11344                         notifications, so we don't want to hammer the supplicant or dbus
11345                         with requests for all scan results every time we get a completion
11346                         notification.
11347
11348 2006-11-25  Dan Williams  <dcbw@redhat.com>
11349
11350         * src/supplicant-manager/nm-supplicant-types.h
11351                 - new file; move all supplicant manager object typedefs here for
11352                         #include sanity
11353
11354         * src/supplicant-manager/nm-supplicant-interface.c
11355           src/supplicant-manager/nm-supplicant-interface.h
11356                 - new file; an object that interfaces an NMDevice object to the
11357                         supplicant and handles signals from the supplicant.  This object
11358                         does all necessary DBus communication with wpa_supplicant.
11359
11360         * src/supplicant-manager/nm-supplicant-manager.c
11361           src/supplicant-manager/nm-supplicant-manager.h
11362                 - Actually do something.  Track the state of the wpa_supplicant service
11363                         and deal with its comings & goings.  Handle life events of
11364                         supplicant interfaces too.
11365                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11366
11367         * src/supplicant-manager/nm-supplicant-connection.h
11368                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11369
11370         * src/supplicant-manager/Makefile.am
11371                 - Add new files to build, and add libnm-util to includes
11372
11373         * src/nm-marshal.list
11374                 - New marshaler type: VOID:UINT,UINT
11375
11376         * src/nm-device-802-3-ethernet.c
11377                 - (real_init): grab a supplicant interface
11378                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11379                 - (supplicant_iface_state_cb): new function, stub for handling
11380                         supplicant interface state changes
11381
11382         * src/nm-device-802-11-wireless.c
11383                 - (real_init): grab a supplicant interface
11384                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11385                 - (supplicant_iface_state_cb): new function, stub for handling
11386                         supplicant interface state changes
11387
11388         * src/NetworkManager.c
11389                 - (main): create and keep the supplicant manager around for the lifetime
11390                         of NetworkManager
11391
11392         * src/Makefile.am
11393                 - Link to the supplicant manager sub-library and use the supplicant
11394                         manager includes
11395
11396 2006-11-25  Dan Williams  <dcbw@redhat.com>
11397
11398         Rework DBus manager signal handling to be more flexible.  Previously,
11399         only one signal handler could be registered for a particular interface.
11400         The DBus manager now reference counts DBus bus matches and allows multiple
11401         clients to register signal handlers for the same interface and sender.
11402
11403         * src/NetworkManager.c
11404                 - (main): track NMI signal handler ID and remove it when we quit
11405
11406         * src/NetworkManagerMain.h
11407                 - Keep track of NMI signal handler ID
11408
11409         * src/nm-dbus-manager.c
11410           src/nm-dbus-manager.h
11411                 - rework signal handling; each signal handler references one signal
11412                         match, but a signal match may be referenced by one or more
11413                         signal handlers.  Matches are refcounted and are destroyed when the
11414                         last signal handler that references the match is removed.  This is
11415                         necessary because two signal handlers may end up requiring the same
11416                         dbus bus match, so the match must live until the last signal handler
11417                         is destroyed (for example, with the wpa_supplicant network interface
11418                         dbus interface).
11419
11420         * src/dhcp-manager/nm-dhcp-manager.c
11421                 - (nm_dhcp_manager_new): track DHCP signal handler id
11422                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11423
11424         * src/vpn-manager/nm-vpn-service.c
11425                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11426                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11427
11428 2006-11-25  Dan Williams  <dcbw@redhat.com>
11429
11430         Suggested by Helmut Schaa <hschaa@suse.de>
11431
11432         * src/vpn-daemons/nm-vpn-service.c
11433                 - (supplicant_child_setup): new function
11434                 - (supplicant_exec): make child process use a new process group id
11435
11436         * src/nm-device-802-11-wireless.c
11437                 - (nm_vpn_service_child_setup): new function
11438                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11439                         process group id
11440
11441 2006-11-19  Dan Williams  <dcbw@redhat.com>
11442
11443         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11444         * gnome/vpn-properties/nm-vpn-properties.c
11445                 - clean up after renamed VPN connection
11446
11447 2006-11-19  Dan Williams  <dcbw@redhat.com>
11448
11449         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11450         * gnome/applet/applet-dbus-vpn.c
11451                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11452
11453         * gnome/vpn-properties/nm-vpn-properties.c
11454                 - (init_app): sort VPN connections
11455
11456 2006-11-09  Dan Williams  <dcbw@redhat.com>
11457
11458         * src/NetworkManagerAPList.c
11459                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11460                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11461                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11462                 broke hidden SSID matching.  Found by Bill Moss.
11463
11464 2006-10-25  Dan Williams  <dcbw@redhat.com>
11465
11466         * src/nm-dbus-nm.c
11467                 - (nm_dbus_nm_set_active_device): return an empty success message on
11468                         success, rather than falling through to the error case.
11469
11470 2006-10-25  Dan Williams  <dcbw@redhat.com>
11471
11472         * src/NetworkManagerUtils.c
11473                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11474                         "SCAN" command
11475
11476 2006-10-24  Dan Williams  <dcbw@redhat.com>
11477
11478         Reduce the number of times the Gnome applet wakes up, especially when
11479         it's doing absolutely nothing and is hidden.  Initial patch by
11480         Chris Aillon.
11481
11482         * gnome/applet/applet-dbus.c
11483                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11484                         kill the redraw timeout.  When NM starts up, start the redraw
11485                         timeout.  Also, if we get kicked off the bus for some reason,
11486                         start the reconnection timeout if one's not already running.
11487                 - (nma_dbus_init): better handling of error conditions, don't leak
11488                         a half-initialized dbus connection
11489                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11490                         the applet's data, just call nm_dbus_init_helper()
11491                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11492                         timeout that calls nma_dbus_connection_watcher()
11493                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11494                         reconnection timeout, and don't start the reconnection timeout
11495                         unconditionally anymore
11496
11497         * gnome/applet/applet-dbus.h
11498                 - Expose nma_start_dbus_connection_watch()
11499
11500         * gnome/applet/applet.c
11501                 - (nma_update_state): no longer static, called from applet-dbus.c for
11502                         immediate UI updates on certain events
11503                 - (nma_set_running): new function; take over setting applet->running,
11504                         when not running (ie, NM is not active), don't activate the redraw
11505                         timeout because we're not showing the applet anyway.  When we are
11506                         running (ie, NM is active), and only when we're running, start the
11507                         redraw timeout.
11508                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11509                         kill any reconnection timeout
11510                 - (nma_get_instance): move one-off dbus initialization code here since
11511                         nm_dbus_init_helper() gets called more than once, possibly by the
11512                         reconnection timeout function too.  And, when we start up, if we
11513                         can't get a connection to the bus, start the reconnection timeout.
11514                         But don't start the redraw timeout yet, only do that when we get
11515                         NM's state and find out if it's running or not.
11516
11517         * gnome/applet/applet.h
11518                 - Add the reconnection GSource ID
11519                 - Add prototypes for nma_set_running() and the no-longer-static
11520                         nma_update_state()
11521
11522 2006-10-24  Dan Williams  <dcbw@redhat.com>
11523
11524         * src/vpn-daemons/nm-dbus-vpnc.c
11525                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11526                         pending call tracker
11527                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11528                         pending call tracker; register one-vpn-connection update pending
11529                         call in pending call tracker
11530                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11531                         update pending call in pending call tracker
11532                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11533                         update pending call in pending call tracker; don't block waiting
11534                         for call to return
11535
11536 2006-10-19  Robert Love  <rml@novell.com>
11537
11538         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11539           refresh the cache.
11540
11541 2006-10-14  Dan Williams  <dcbw@redhat.com>
11542
11543         * src/dhcp-manager/nm-dhcp-manager.c
11544                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11545                 the dbus connection and the device object path rather than
11546                 constructing it inside both functions.  Saves a bit of memory
11547                 and clarifies a failure path.
11548                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11549                 and allocate device path here rather than each of the two
11550                 functions above.
11551
11552 2006-10-13  Dan Williams  <dcbw@redhat.com>
11553
11554         * src/NetworkManager.c
11555                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11556                 this somehow droppout in the refactor
11557
11558 2006-10-13  Dan Williams  <dcbw@redhat.com>
11559
11560         * Huge DBus refactor:
11561                 - Create a "DBus Manager" object which manages the connection and
11562                 sends signals on NameOwnerChanged and connection/disconnection events,
11563                 handles reconnection to the bus if NM gets kicked off, and abstracts
11564                 signal handling
11565                 - Remove DBusConnection members from places where they are no
11566                 longer needed due to the refactor, like the dbus-connection
11567                 property of the named manager, and from NMData
11568                 - Reformats a bunch of the code to gnome style
11569                 (8-space tabs, braces on same line as statement, 80-col width).
11570                 Consider it open season to reformat any bits to gnome style.
11571                 style that aren't already.
11572
11573 2006-10-13  Dan Williams  <dcbw@redhat.com>
11574
11575         * src/supplicant-manager/Makefile.am
11576                 - Add new files
11577
11578         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11579                 - Make it a minimal GObject
11580
11581         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11582                 - Verify settings destined for wpa_supplicant
11583
11584         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11585                 - Minimal GObject to track wpa_supplicant controlled device
11586                 connections
11587
11588 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11589
11590         * gnome/applet/applet.c: (nma_update_info),
11591         (nma_act_stage_to_pixbuf), (nma_update_state):
11592         Mark missing strings for translation. Fixes bug #343306.
11593
11594 2006-10-01  Dan Williams  <dcbw@redhat.com>
11595
11596         * src/vpn-manager/nm-vpn-manager.c
11597                 - (nm_vpn_manager_load_services): split and clean up
11598                 for readability and correctness.  Restrict VPN service
11599                 files to ending in ".name", as was meant from the
11600                 beginning (but not coded in).  Better error reporting.
11601
11602 2006-10-01  Dan Williams  <dcbw@redhat.com>
11603
11604         * utils/nm-utils.h
11605                 - Clean up formatting of debug/info/warning log messages
11606
11607 2006-09-27  Robert Love  <rml@novell.com>
11608
11609         Patch by Tambet Ingo <tambet@ximian.com>:
11610         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11611           actually work.
11612
11613 2006-09-07  Dan Williams <dcbw@redhat.com>
11614
11615         * test/Makefile.am
11616           test/libnm-util/Makefile.am
11617           test/nm-supplicant-test.c
11618                 - Add test program emulating the way NM drives wpa_supplicant
11619                 to help debug supplicant issues
11620
11621 2006-08-24  Dan Williams <dcbw@redhat.com>
11622
11623         * configure.in
11624           src/Makefile.am
11625           src/supplicant-manager/Makefile.am
11626           src/supplicant-manager/nm-supplicant-manager.c
11627           src/supplicant-manager/nm-supplicant-manager.h
11628                 - Add skeleton bits of the wpa_supplicant manager
11629
11630 2006-08-24  Dan Williams <dcbw@redhat.com>
11631
11632         Patch from Ed Catmur:
11633         * src/NetworkManagerUtils.c
11634                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11635                 if netmask is 0 (Gnome #352634)
11636
11637 2006-08-17  Robert Love  <rml@novell.com>
11638
11639         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11640           package is now DBUS-enabled and listens for the NM signals.
11641
11642 2006-08-14  Dan Williams  <dcbw@redhat.com>
11643
11644         * Patch from Christian Persch <chpe gnome org>
11645         * configure.in
11646           po/LINGUAS
11647           vpn-daemons/openvpn/po/LINGUAS
11648           vpn-daemons/openvpn/configure.in
11649           vpn-daemons/pptp/po/LINGUAS
11650           vpn-daemons/pptp/configure.in
11651           vpn-daemons/vpnc/po/LINGUAS
11652           vpn-daemons/vpnc/configure.in
11653                 - Convert to LINGUAS method so translators don't have to modify
11654                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11655                 0.35 or higher
11656
11657 2006-08-14  Dan Williams  <dcbw@redhat.com>
11658
11659         Patch from Alex Smith <alex.extreme2@gmail.com>
11660         * configure.in
11661           src/backends/Makefile.am
11662           src/backends/NetworkManagerFrugalware.c
11663                 - Add support for Frugalware
11664
11665 2006-08-13  Dan Williams  <dcbw@redhat.com>
11666
11667         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11668         * src/nm-device-802-11-wireless.c
11669                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11670                 Gnome #346875
11671
11672 2006-08-13  Dan Williams  <dcbw@redhat.com>
11673
11674         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11675         * src/nm-ap-security.c
11676           src/nm-ap-security.h
11677                 - Add authentication_required bits for subclasses to specify whether
11678                 or not real authentication is required for connections, i.e. whether
11679                 the AP rejects us when an encryption key is wrong or not.
11680
11681         * src/nm-ap-security-wep.c
11682           src/nm-ap-security-wpa-eap.c
11683           src/nm-ap-security-wpa-psk.c
11684           src/nm-ap-security-leap.c
11685                 - Implement authentication_required appropriately for each method
11686
11687         * src/nm-device-802-11-wireless.c
11688                 - Be smarter about when to request a key; for example, using a wrong key
11689                 in WEP shared key mode previously just timed out and did not request
11690                 a new key
11691
11692 2006-08-13  Dan Williams  <dcbw@redhat.com>
11693
11694         * gnome/libnm_glib/libnm_glib.c
11695                 - dbus_connection_disconnect() -> dbus_connection_close() for
11696                 dbus >= 0.90
11697
11698 2006-08-07  Dan Williams  <dcbw@redhat.com>
11699
11700         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11701         * src/NetworkManagerSystem.c
11702                 - Respect specified MTU.  Gnome #344967
11703
11704 2006-08-07  Dan Williams  <dcbw@redhat.com>
11705
11706         * src/vpn-manager/nm-vpn-service.c
11707                 - Simplify print_vpn_config() arguments
11708
11709         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11710         * src/vpn-manager/Makefile.am
11711           src/vpn-manager/nm-vpn-service.c
11712                 - Add new API for passing VPN config options as a dict. Gnome #344967
11713
11714 2006-08-06  Dan Williams  <dcbw@redhat.com>
11715
11716         * gnome/applet/applet-dbus-devices.c
11717           gnome/applet/applet-dbus-vpn.c
11718           gnome/applet/applet-dbus.c
11719           gnome/applet/applet-dbus.h
11720           src/nm-dbus-nmi.c
11721           utils/nm-utils.c
11722           utils/nm-utils.h
11723                 - Make pending call tracking code generic,
11724                 so we can use it in NM as well as the applet
11725
11726 2006-08-06  Dan Williams  <dcbw@redhat.com>
11727
11728         * src/nm-activation-request.c
11729                 - Refcount pending call objects
11730
11731 2006-08-06  Dan Williams  <dcbw@redhat.com>
11732
11733         Patch from Christan Chiesa <christanc@gmail.com>
11734         * configure.in
11735                 - Tell sha1.c to use bigendian mode on PPC
11736
11737 2006-08-04  Robert Love  <rml@novell.com>
11738
11739         Glib Memory Slices!
11740         * configure.in: Require glib 2.10 or later.
11741         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11742           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11743           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11744           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11745           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11746           Memory Slices are the greatest thing since bread slices.
11747         * src/NetworkManagerAP.c: Also, fix memory leak.
11748
11749 2006-08-01  Robert Love  <rml@novell.com>
11750
11751         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11752
11753 2006-07-31  Robert Love  <rml@novell.com>
11754
11755         * src/backends/interface_parser.c: Declarations must begin the block.
11756
11757 2006-07-24  Dan Williams  <dcbw@redhat.com>
11758
11759         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11760         * src/backends/Makefile.am
11761           src/backends/NetworkManagerArch.c
11762           src/backends/NetworkManagerDebian.c
11763           src/backends/NetworkManagerGeneric.c
11764           src/backends/NetworkManagerGeneric.h
11765           src/backends/NetworkManagerGentoo.c
11766           src/backends/NetworkManagerPaldo.c
11767           src/backends/NetworkManagerRedHat.c
11768           src/backends/NetworkManagerSlackware.c
11769           src/backends/NetworkManagerSuSE.c
11770                 - Genericize common backend functions
11771
11772 2006-07-18  Robert Love  <rml@novell.com>
11773
11774         * configure.in: Add "--with-notify" option to allow disabling of
11775           libnotify support.
11776
11777 2006-07-13  Dan Williams  <dcbw@redhat.com>
11778
11779         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11780         * gnome/applet/applet.glade
11781           gnome/applet/Makefile.am
11782           gnome/applet/nm-gconf-wso.c
11783           gnome/applet/nm-gconf-wso-leap.c
11784           gnome/applet/nm-gconf-wso-leap.h
11785           gnome/applet/wireless-security-manager.c
11786           gnome/applet/wso-leap.c
11787           gnome/applet/wso-leap.h
11788           include/NetworkManager.h
11789           libnm-util/dbus-helpers.c
11790           libnm-util/dbus-helpers.h
11791           src/Makefile.am
11792           src/NetworkManagerAP.c
11793           src/nm-ap-security.c
11794           src/nm-ap-security-leap.c
11795           src/nm-ap-security-leap.h
11796                 - Add LEAP authentication support
11797
11798 2006-07-13  Dan Williams  <dcbw@redhat.com>
11799
11800         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11801         * configure.in
11802           src/backends/NetworkManagerArch.c
11803           src/backends/NetworkManagerDebian.c
11804           src/backends/NetworkManagerGentoo.c
11805           src/backends/NetworkManagerPaldo.c
11806           src/backends/NetworkManagerRedHat.c
11807           src/backends/NetworkManagerSlackware.c
11808           src/backends/NetworkManagerSuSE.c
11809                 - Convert hardcoding of 'ip' path to configure-time
11810                         detected one
11811
11812 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11813
11814         * configure.in: added ru to ALL_LINGUAS
11815
11816 2006-07-10  Dan Williams  <dcbw@redhat.com>
11817
11818         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11819         * src/nm-device.c
11820                 - (real_act_stage3_ip_config_start): don't infinite loop when
11821                         dhcdbd isn't running (Gnome #346845)
11822
11823 2006-07-09  Dan Williams  <dcbw@redhat.com>
11824
11825         * gnome/applet/applet.c
11826                 - (nma_destroy): don't pass NULL to notify_notification_close
11827                         (RH #197917)
11828
11829 2006-07-09  Dan Williams  <dcbw@redhat.com>
11830
11831         * gnome/applet/applet.c
11832                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11833
11834 2006-07-04  Tor Krill  <tor@krill.nu>
11835
11836         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11837         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11838         (nm_system_restart_mdns_responder), (ArchReadConfig),
11839         (nm_system_device_get_system_config):
11840                 - Explicitly check for DHCP configuration
11841                 - Check if daemons are running before starting them
11842
11843 2006-06-25  Dan Williams  <dcbw@redhat.com>
11844
11845         * libnm-util/dbus-dict-helpers.[ch]
11846           test/libnm-util/test-dbus-dict-helpers.c
11847                 - Add string array support
11848
11849 2006-06-24  Dan Williams  <dcbw@redhat.com>
11850
11851         * src/dhcp-manager/nm-dhcp-manager.c
11852                 - (nm_dhcp_manager_process_signal): clean up spacing
11853
11854 2006-06-21  Dan Williams  <dcbw@redhat.com>
11855
11856         * src/nm-dbus-device.c
11857                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11858                         through dbus
11859
11860 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11861
11862         * configure.in: Added 'lv' to ALL_LINGUAS
11863
11864 2006-06-19  Dan Williams  <dcbw@redhat.com>
11865
11866         * src/NetworkManagerAP.c
11867                 - Clarify usage of user_created
11868
11869         * src/nm-ap-security-wep.c
11870           src/nm-ap-security-wpa-eap.c
11871           src/nm-ap-security-wpa-psk.c
11872           src/nm-ap-security.c
11873           src/nm-ap-security.h
11874                 - s/user_created/adhoc, because we really do mean adhoc
11875
11876         Patch from Bernard Blackham <bernard@blackham.com.au>
11877         * src/nm-device-802-11-wireless.c         
11878                 - (supplicant_send_network_config): instead of user_created,
11879                         use adhoc, and do AP_SCAN 2 for adhoc networks
11880
11881 2006-06-18  Robert Love  <rml@novell.com>
11882
11883         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11884           we have a value to set.  Gconf generates a warning if `val' is NULL.
11885         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11886           unless we actually received a valid private key file passphrase or
11887           password.  Otherwise, we don't know to later ask the applet to pull
11888           the key from the keyring.
11889
11890 2006-06-17  Dan Williams  <dcbw@redhat.com>
11891
11892         * libnm-util/dbus-dict-helpers.[ch]
11893           test/libnm-util/test-dbus-dict-helpers.c
11894                 - Fixes for zero-length byte arrays
11895                 - Replace return values of 0 with FALSE for clarity
11896                 - Test zero-length byte arrays
11897
11898 2006-06-17  Dan Williams  <dcbw@redhat.com>
11899
11900         * libnm-util/dbus-dict-helpers.[ch]
11901           test/libnm-util/test-dbus-dict-helpers.c
11902                 - Add helpers for byte arrays
11903                 - Rework bits of the testcase
11904
11905 2006-06-16  Dan Williams  <dcbw@redhat.com>
11906
11907         * libnm-util/Makefile.am
11908         * libnm-util/dbus-dict-helpers.[ch]
11909                 - Add some helpers to take the pain out of using dict types in
11910                         dbus.
11911
11912         * test/libnm-util/Makefile.am
11913         * test/libnm-util/test-dbus-dict-helpers.c
11914                 - Test cases for the dict helper functions
11915
11916 2006-06-15  Robert Love  <rml@novell.com>
11917
11918         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11919           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11920           if there is no key to pass.
11921         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11922           receiving a non-NULL key.
11923
11924 2006-06-14  Robert Love  <rml@novell.com>
11925
11926         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11927           copy the strings.
11928
11929
11930 2006-06-14  Dan Williams  <dcbw@redhat.com>
11931
11932         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11933         * src/nm-device-802-11-wireless.c
11934                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11935                         or ones where the driver is unknown
11936                 - (supplicant_exec): don't wait for supplicant startup here
11937                 - (supplicant_interface_init): finer grained polling for supplicant
11938                         startup
11939
11940 2006-06-13  Robert Love  <rml@novell.com>
11941
11942         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11943           if it is currently set to TRUE.  Otherwise, we will reset the value
11944           when we connect normally.
11945         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11946           the old BSSID is valid, too.  The recently added ESSID check may not be
11947           sufficient (we can remove it?).  What we really want to catch is the
11948           case of going from all-zeros to the BSSID of some other network, which
11949           happens on failure.
11950
11951 2006-06-09  Dan Williams  <dcbw@redhat.com>
11952
11953         * src/NetworkManagerSystem.[ch]
11954                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11955                         it was unused and pointless
11956                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11957                         fix for set_up_down_with_iface change
11958
11959         * src/vpn-manager/nm-vpn-connection.c
11960                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11961
11962         * src/backends/NetworkManagerPaldo.c
11963           src/backends/NetworkManagerRedHat.c
11964           src/backends/NetworkManagerSuSE.c
11965           src/backends/NetworkManagerArch.c
11966           src/backends/NetworkManagerDebian.c
11967           src/backends/NetworkManagerGentoo.c
11968                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11969                         appropriate
11970                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11971                         where appropriate
11972
11973 2006-06-09  Dan Williams  <dcbw@redhat.com>
11974
11975         Patch from Peter Jones:
11976         * src/nm-device-802-11-wireless.c
11977                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11978                         SSID hasn't changed from what we expect before automatically
11979                         updating the saved BSSID from a new AP
11980
11981 2006-06-08  Robert Love  <rml@novell.com>
11982
11983         Add 'fallback' support.  NetworkManager will attempt to brute-force
11984         connect to networks marked as fallback if there are no better wireless
11985         connections available.  This is useful as a method of last resort, to
11986         work around driver problems, and for use with hidden networks.
11987         * gnome/applet/applet-dbus-devices.c,
11988           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11989         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11990           pass it on via DBUS.
11991         * gnome/applet/applet.c: No fallback by default.
11992         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11993           Update other-network-dialog to add UI checkbox toggling fallback.
11994         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11995           propery from AP object.  Add "fallback" property to AP object.
11996         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11997         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11998         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11999           separate function.  Add get_best_fallback_ap() for returning an AP
12000           on which to attempt fallback.
12001         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12002         * test/nm-set-fallback: New file.  Sets a given network as fallback.
12003
12004 2006-06-07  Robert Love  <rml@novell.com>
12005
12006         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12007           checked that the return type was GCONF_VALUE_STRING, not the correct
12008           GCONF_VALUE_BOOL, and thus it never worked.
12009         * src/NetworkManagerAPList.c: Before concluding that two networks are
12010           identical based on their BSSID, make sure that the BSSID in question
12011           is actually valid.  Specifically, an empty or all zero BSSID does not
12012           cut it.
12013         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12014           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12015           similar invariant clean up.
12016
12017 2006-06-02  Robert Love  <rml@novell.com>
12018
12019         * gnome/applet/applet.c: Update copyright years.  Add Novell.
12020
12021 2006-05-28  Dan Williams  <dcbw@redhat.com>
12022
12023         * gnome/applet/applet.glade
12024           gnome/vpn-properties/nm-vpn-properties.glade
12025                 - Set window icons on dialogs  (Gnome.org #333420)
12026
12027 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
12028
12029         * gnome/vpn-properties/nm-vpn-properties.glade:
12030         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12031         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12032         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12033                 - Make the VPN properties pages prettier and more HIG
12034                   compliant. Gnome Bug #336913.
12035
12036 2006-05-28  Dan Williams  <dcbw@redhat.com>
12037
12038         Patch from Christian Persch <chpe@gnome.org>
12039         * gnome/vpn-properties/nm-vpn-properties.c
12040         * gnome/vpn-properties/nm-vpn-properties.glade
12041                 - HIG-ification love  (Gnome.org #336846)
12042
12043 2006-05-28  Dan Williams  <dcbw@redhat.com>
12044
12045         Patch from Christian Persch <chpe@gnome.org>
12046         * configure.in
12047           gnome/vpn-properties/nm-vpn-properties.c
12048                 - (main): Fix option parsing.  Gnome.org #336847
12049
12050 2006-05-28  Dan Williams  <dcbw@redhat.com>
12051
12052         * gnome/vpn-properties/nm-vpn-properties.c
12053                 - (find_vpn_ui_by_service_name): protect against NULL service names
12054                 - (update_edit_del_sensitivity): protect against NULL service names
12055                         Gnome.org #341306
12056
12057 2006-05-28  Dan Williams  <dcbw@redhat.com>
12058
12059         Patch from Chris Fuller <crf@grandecom.net>:
12060         * src/nm-device-802-11-wireless.c
12061                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12062                         don't dispose of wireless-specific stuff unless it is actually
12063                         initialized.  Gnome.org #341263
12064
12065 2006-05-28  Dan Williams  <dcbw@redhat.com>
12066
12067         * src/NetworkManagerPolicy.c
12068                 - (nm_policy_device_change_check): don't switch devices if the "best"
12069                         AP is essentially the same as the current activation request, but
12070                         the current activation request isn't done activating yet.  Fixes
12071                         multiple requests for keyring password on startup for Gnome applet.
12072                         Gnome.org #341297
12073
12074 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
12075
12076         * src/NetworkManager.c: use GOptions instead of getopt
12077         * configure.in: bump glib required version to >= 2.6 for GOption
12078           support
12079
12080 2006-05-25  Robert Love  <rml@novell.com>
12081
12082         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12083           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
12084           instead of dumping ifdef's throughout the code.
12085         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12086           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12087           use nm_ioctl_info() in lieu.
12088
12089 2006-05-25  Robert Love  <rml@novell.com>
12090
12091         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12092         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12093           not using gcrypt.  Otherwise, we get a linker error.
12094
12095 2006-05-25  Robert Love  <rml@novell.com>
12096
12097         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12098         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12099           configure flag to disable building of the GNOME-based applet.
12100
12101 2006-05-25  Robert Love  <rml@novell.com>
12102
12103         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12104           parameter from link, because it shadows a global variable with some
12105           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
12106           should never have exported to the entire system a common four letter
12107           word.  But we here at NetworkManager are team players.  Fixes
12108           GNOME bug #336532.
12109
12110 2006-05-25  Arangel Angov <ufo@linux.net.mk>
12111
12112         * configure.in: Added mk.po, Macedonian translation.
12113
12114 2006-05-24  Robert Love  <rml@novell.com>
12115
12116         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12117           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12118           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12119
12120 2006-05-24  Robert Love  <rml@novell.com>
12121
12122         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12123           libnm-util/Makefile.am, src/Makefile.am,
12124           vpn-daemons/openvpn/auth-dialog/Makefile.am,
12125           vpn-daemons/openvpn/properties/Makefile.am,
12126           vpn-daemons/pptp/auth-dialog/Makefile.am,
12127           vpn-daemons/pptp/properties/Makefile.am,
12128           vpn-daemons/vpnc/auth-dialog/Makefile.am,
12129           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12130           user passed for --datadir, if anything, when setting the GNOME locale
12131           directory.  It should be a function of the specified datadir and not
12132           the prefix.
12133
12134 2006-05-24  Robert Love  <rml@novell.com>
12135
12136         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12137           src/NetworkManager.c: Take care to call bindtextdomain with the
12138           location of msgid files.
12139         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12140           files.
12141
12142 2006-05-22  Robert Love  <rml@novell.com>
12143
12144         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12145           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12146           99% of the time there is a real problem with wireless, and a
12147           seemingly successful connection via Zeroconf just confuses the user.
12148           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12149
12150 2006-05-22  Robert Love  <rml@novell.com>
12151
12152         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12153           autofs on interface up if NIS is configured.  On interface down, do
12154           nothing.
12155
12156 2006-05-22  Robert Love  <rml@novell.com>
12157
12158         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12159           to avoid calling g_object_unref() on stale pointers on error in
12160           nma_icons_free().  This happens because we short-circuit loaded the
12161           icons on the first failure but then free all icons.  Normally we have
12162           no issue because the icons were zero'ed out malloc, but we have stale
12163           pointer data after nma_icon_theme_changed().
12164         * gnome/applet/main.c: Return error code if nma_new() failed.
12165
12166 2060-05-21  Dan Williams  <dcbw@redhat.com>
12167
12168         * initscript/NetworkManager.in
12169                 - Ensure both dhcdbd and named are started before NM
12170
12171 2006-05-21  Dan Williams  <dcbw@redhat.com>
12172
12173         * configure.in
12174                 - Bump version to 0.7 to signify we are in 0.7 development
12175
12176 2006-05-21  Dan Williams  <dcbw@redhat.com>
12177
12178         Patch from Adam Schreiber <sadam@clemson.edu>
12179         * gnome/vpn-properties/nm-vpn-properties.c
12180                 - (main): correct Gnome program name  (gnome.org #342498)
12181
12182 2006-05-21  Dan Williams  <dcbw@redhat.com>
12183
12184         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12185
12186         * src/NetworkManagerDbus.[ch]
12187                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12188                         clarify that function's argument should be an escaped dbus object
12189                         path, and look for path segment end before returning a match
12190         * src/nm-dbus-nm.c:
12191                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12192
12193 2006-05-17  Robert Love  <rml@novell.com>
12194
12195         Functionality to differentiate Ad-Hoc networks from infrastructure
12196         networks in the applet, by displaying a special icon:
12197         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12198         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12199         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12200           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12201           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12202           networks, encrypted or not.
12203         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12204           accessor functions to get and set the mode of a given network,
12205           wireless_network_get_mode() and wireless_network_set_mode().
12206
12207 2006-05-17  Robert Love  <rml@novell.com>
12208
12209         Functionality to automatically add BSSIDs to the allowed-MAC list as
12210         one roams from access point to access point on a given network:
12211         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12212           helper function to compare two ether_addr structures and return TRUE
12213           if they contain the same MAC address.
12214         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12215           prototype.
12216         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12217           stored with the current AP.  If the BSSID has indeed changed, we
12218           send it out to the applet, allowing the allowed-MAC list to grow
12219           automatically in response to roaming.
12220
12221 2006-05-16  Robert Love  <rml@novell.com>
12222
12223         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12224           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12225
12226 2006-05-13  Dan Williams  <dcbw@redhat.com>
12227
12228         * src/nm-device-802-3-ethernet.c
12229                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12230                         carrier detect (Debian bug #366373)
12231
12232 2006-05-11  Dan Williams  <dcbw@redhat.com>
12233
12234         Patch from Michael Biebl <biebl@teco.edu>
12235         * src/backends/NetworkManagerDebian.c
12236                 - Debian backend fixups
12237
12238 2006-05-10  Robert Love  <rml@novell.com>
12239
12240         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12241
12242 2006-05-09  Robert Love  <rml@novell.com>
12243
12244         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12245           private certificate passphrase, if any, in the GNOME Keyring.
12246         * libnm-utils/dbus-helpers.c: Update.
12247
12248 2006-05-05  Dan Williams  <dcbw@redhat.com>
12249
12250         * src/nm-device-802-11-wireless.c
12251                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12252                         nm_device_802_11_wireless_disable_encryption() since that's all
12253                         we use it for anymore; we don't ever set WEP keys ourselves.
12254                 - (real_deactivate_quickly): reset SSID and encryption keys
12255                 - (real_deactivate): move SSID and encryption key reset to
12256                         real_deactivate_quickly(), which gets run before us anyway
12257
12258 2006-05-05  Robert Love  <rml@novell.com>
12259
12260         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12261           root has a wacky default of its own (or, more common, a user has a
12262           bad umask and uses su/sudo to restart NetworkManager).  Anything
12263           other than 0022 does not do what we want with, for example,
12264           resolv.conf.  This problem is amplified by our judicious use of
12265           fopen(), which uses mode 0666 -- implying that the only way to get
12266           the permissions we want is with a umask of 0022.
12267
12268 2006-05-05  Dan Williams  <dcbw@redhat.com>
12269
12270         * gnome/libnm_glib/libnm_glib.c
12271                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12272                         to reconnect; instead wait a bit more with each reconnect attempt
12273                         up to a max of one minute.
12274
12275 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12276
12277         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12278           the WirelessNetwork structure using the proper function instead of
12279           just casting it directly to (const char *) (gnome.org #336991)
12280
12281 2006-05-03  Robert Love  <rml@novell.com>
12282
12283         * src/backends/NetworkManagerSuSE.c: Respect the variable
12284           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12285           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12286           to dynamically update /etc/resolv.conf.
12287
12288 2006-05-02  Peter Jones  <pjones@redhat.com>
12289
12290         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12291
12292 2006-05-02  Robert Love  <rml@novell.com>
12293
12294         Patch by Timo Hoenig;
12295         * tests/nm-online.c: Print pretty status indicator as timeout winds
12296           down.  Also fix possible race between DBUS startup and failure
12297           return.
12298
12299 2006-05-01  Robert Love  <rml@novell.com>
12300
12301         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12302           empty, too.
12303
12304 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12305
12306         * src/nm-device.c (discover_device_type): Actually use the hal
12307         device type instead of ioctl poking
12308
12309 2006-04-26  Robert Love  <rml@novell.com>
12310
12311         * tests/nm-online.c: New file.  Simple utility that returns exit status
12312           noting whether the connection is offline or online.  If offline on
12313           start, it waits 30 seconds (or a command-line given value) for an
12314           online signal.  If it times out, it again returns offline.  This is
12315           useful for scripts that want to wait for network connections.
12316
12317 2006-04-25  Robert Love  <rml@novell.com>
12318
12319         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12320           key mode (the authentication algorithm), e.g. open or shared, when we
12321           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12322           only shared was broken.  If the user specified a shared key, set it
12323           explicitly, otherwise let wpa_supplicant go with the default.
12324
12325 2006-04-24  Dan Williams  <dcbw@redhat.com>
12326
12327         * src/nm-device-802-11-wireless.c
12328                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12329
12330 2006-04-24  Dan Williams  <dcbw@redhat.com>
12331
12332         Commit the async scanning patch
12333
12334         * src/nm-device-802-11-wireless.c
12335                 - get rid of scan_mutex
12336                 - (wireless_event_helper): act on wireless scan events
12337                 - (real_start): schedule a pending scan
12338                 - (link_to_specific_ap): fake the link to the AP during a scan
12339                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12340                         strength during scans
12341                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12342                         nm_device_set_bitrate): unused with new scanning code, disable
12343                 - (nm_device_wireless_schedule_scan): removed
12344                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12345                 - (request_and_convert_scan_results): new function; retrieve scan
12346                         results from the driver and schedule the processing function
12347                 - (scan_results_timeout): timeout triggered when card doesn't send
12348                         a scan results wireless event during a certain interval
12349                 - (schedule_scan_results_timeout): new function; schedule the scan
12350                         results timeout
12351                 - (cancel_scan_results_timeout): new function; cancel the scan
12352                         results timeout
12353                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12354                         to do the scanning.  Otherwise, just request a scan but don't
12355                         grab results here; instead schedule a timeout for scan results and
12356                         let netlink notify us of scan completion events
12357                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12358                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12359                 - (supplicant_status_cb): ignore disconnect events while scanning
12360                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12361                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12362                         timeouts
12363                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12364
12365 2006-04-24  Dan Williams  <dcbw@redhat.com>
12366
12367         * gnome/applet/applet-dbus.c
12368                 - Disable the pending call debug stuff, seems under control now
12369
12370 2006-04-20  Robert Love  <rml@novell.com>
12371
12372         Fix bug where hidden ESSID's would not show up in the applet, even
12373         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12374         because nm_policy_device_list_update_from_allowed_list() would merge
12375         the data, putting a name to the hidden networks, but never notify NMI
12376         of the changes.  Simple fix is to invoke the function
12377         nm_dbus_signal_wireless_network_change() if we make a mapping.
12378         * src/NetworkManagerAPList.c: Call the function
12379           nm_dbus_signal_wireless_network_change() if we made a successful
12380           BSSID to ESSID mapping, notifying the applet of the "new" network.
12381         * src/NetworkManagerAPList.h: Update the prototypes for both
12382           nm_ap_list_copy_essids_by_address() and
12383           nm_ap_list_copy_one_essid_by_address().
12384
12385 2006-04-20  Robert Love  <rml@novell.com>
12386
12387         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12388           not set.  Just return zero.
12389
12390 2006-04-20  Robert Love  <rml@novell.com>
12391
12392         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12393           only one copy of nm-vpn-properties is running at a time via the 'ol
12394           X selection trick.  This prevents the user from opening two "VPN
12395           Connections" windows from within the applet, which leads to mass
12396           hysteria.
12397         * clipboard.c: New file, implementing simple X selection logic.
12398         * clipboard.h: New file.
12399         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12400
12401 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12402
12403         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12404         * configure.in
12405           initscript/Gentoo/Makefile.am
12406           initscript/Gentoo/NetworkManagerDispatcher.in
12407                 - New script
12408         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12409           Gentopia
12410
12411 2006-04-16  Dan Williams  <dcbw@redhat.com>
12412
12413         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12414         * configure.in
12415           initscript/Slackware/Makefile.am
12416           initscript/Slackware/rc.networkmanager-dispatcher.in
12417           initscript/Slackware/rc.networkmanager.in
12418                 - Update slackware initscripts
12419
12420 2006-04-10  Robert Love  <rml@novell.com>
12421
12422         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12423           the "delete_event" signal on the druid's parent window and handle it
12424           our way, lest using the WM to close the druid results in a series of
12425           bloody and ultimately lethal errors.
12426
12427 2006-04-10  Robert Love  <rml@novell.com>
12428
12429         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12430           'Back' too or else the 'Forward' option is initially disabled despite
12431           valid input.
12432
12433 2006-04-06  Robert Love  <rml@novell.com>
12434
12435         Fix bad but simple bug where an active modem connection did not update
12436         NM's connection state, breaking any app that did online/offline:
12437         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12438           represented whether a dial up connection is active, or not.
12439         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12440           to modem activation and deactivation.
12441         * src/NetworkManagerDbus.c: When asked our state, do not return
12442           disconnected if the modem is active.
12443
12444 2006-04-04  Robert Love  <rml@novell.com>
12445
12446         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12447           applet.  It just confuses the crap out of people and does not make a
12448           lot of sense, as the daemon still runs.
12449
12450 2006-04-02  Tor Krill  <tor@krill.nu>
12451
12452         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12453           in start of service.
12454         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12455           get Archlinux backend up to date.
12456
12457 2006-03-29  Robert Love  <rml@novell.com>
12458
12459         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12460         to add support for per-route MSS and improve support for per-interface
12461         MTU:
12462         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12463           optionally take an MSS parameter and set it for the given route.
12464           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12465           NMIP4Config's stored MSS, if any.
12466         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12467           the interface's MTU and the route's MSS, respectively.  Add functions
12468           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12469           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12470           MSS.
12471         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12472           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12473           nm_ip4_config_set_mss.
12474         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12475           VPN daemon.
12476         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12477           Change the retval of nm_system_get_mtu to guint32.
12478         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12479           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12480           servers can specify MTU's, we should set it here if the MTU was not
12481           provided.
12482
12483 2006-03-27  Jürg Billeter  <j@bitron.ch>
12484
12485         * configure.in:
12486         * initscript/Makefile.am:
12487         * initscript/paldo/Makefile.am:
12488         * initscript/paldo/NetworkManager.in:
12489         * initscript/paldo/NetworkManagerDispatcher.in:
12490         * src/backends/Makefile.am:
12491         * src/backends/NetworkManagerPaldo.c:
12492                 - Add paldo support
12493
12494 2006-03-27  Dan Williams  <dcbw@redhat.com>
12495
12496         Patch from Christian Persch <chpe@gnome.org>
12497         * gnome/applet/applet.glade
12498                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12499
12500 2006-03-27  Dan Williams  <dcbw@redhat.com>
12501
12502         Patch from Diffe <diffie@blazebox.homeip.net>
12503         * src/backends/NetworkManagerSlackware.c
12504                 - Don't restart howl, since it's been replaced by Avahi
12505                         in most distributions
12506
12507 2006-03-27  Dan Williams  <dcbw@redhat.com>
12508
12509         Patch from Tor Krill <bugzilla@krill.nu>
12510         * configure.in
12511           initscript/Makefile.am
12512           src/backends/Makefile.am
12513           src/backends/NetworkManagerArch.c
12514           initscript/Arch/Makefile.am
12515           initscript/Arch/networkmanager-dispatcher.in
12516           initscript/Arch/networkmanager.in
12517                 - Add Arch Linux support, fixes gnome.org #335147
12518
12519 2006-03-27  Dan Williams  <dcbw@redhat.com>
12520
12521         Patch from Diffe <diffie@blazebox.homeip.net>
12522      * initscript/Slackware/rc.networkmanager
12523         - update, fixed gnome.org #333368
12524
12525 2006-03-27  Robert Love  <rml@novell.com>
12526
12527         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12528           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12529
12530 2006-03-27  Robert Love  <rml@novell.com>
12531
12532         Patch by Jürg Billeter <j@bitron.ch>:
12533         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12534           systems.
12535         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12536           as we prefer glibc over kernel headers, if possible.
12537
12538 2006-03-27  Robert Love  <rml@novell.com>
12539
12540         Patch by Jon Escombe <list@dresco.co.uk>:
12541         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12542         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12543           fail, don't bail out.  We don't expect all of the various WPA-EAP
12544           values to be present.
12545         * src/nm-ap-security.c: We need to match all capabilities for each
12546           encryption type, not any one of them.
12547
12548 2006-03-27  Robert Love  <rml@novell.com>
12549
12550         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12551           restart, not reload, ypbind.  Unfortunately there is no superior
12552           solution.
12553
12554 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12555
12556         * gnome/applet/applet-notifications.c:
12557         When displaying a notification, make sure to get rid of the
12558         previous notification so as to not have competing bubbles,
12559         and stop leaking the old one.
12560
12561         * gnome/applet/applet.c:
12562         * gnome/applet/applet.h:
12563         Add a new 'notification' member to the applet, and zero it out
12564         and free it appropriately.
12565
12566 2006-03-23  Robert Love  <rml@novell.com>
12567
12568         Patch by j <j@bootlab.org>:
12569         * gnome/applet/applet.glade: Don't set the invisible_char property,
12570           which simply overrides the GTK default.  By and by, this behavior
12571           ought to be fixed in Glade.
12572
12573 2006-03-22  Robert Love  <rml@novell.com>
12574
12575         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12576
12577 2006-03-22  Robert Love  <rml@novell.com>
12578
12579         Bug fix by Timo Hoenig <thoenig@suse.de>:
12580         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12581           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12582           and the applet going AWOL.
12583
12584 2006-03-22  Robert Love  <rml@novell.com>
12585
12586         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12587           preprocessor define and use it instead of open-coded the DHCP
12588           timeout, which is currently 25 seconds, everywhere.
12589
12590 2006-03-22  Robert Love  <rml@novell.com>
12591
12592         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12593         key exchange via WPA, ostensibly providing good security without
12594         requiring hardware that supports full WPA.  Also, add UI elements to
12595         allow the user to select the pairwise & group cipher for WPA Enterprise
12596         networks, too:
12597         * gnome/applet/applet.glade: Update glade file.
12598         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12599           key type, too, to and from gconf.
12600         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12601           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12602           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12603           the capabilities match.
12604         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12605           prototype.
12606         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12607           serialize from UI to DBUS.
12608         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12609           one element.
12610         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12611           nmu_security_serialize_wpa_eap_with_cipher(), and
12612           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12613           serialize/deserialize the key type via DBUS as the new third DBUS
12614           parameter.
12615         * libnm-util/dbus-helpers.h: Update prototypes.
12616         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12617           too.  If the key type is WEP104, do Dynamic WEP, which means
12618           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12619           pairwise and group ciphers (fixes a FIXME).
12620
12621 2006-03-21  Robert Love  <rml@novell.com>
12622
12623         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12624           nm_system_get_mtu(), which returns a user-provided or system-mandated
12625           MTU value for a given device, if any, or zero if no such value
12626           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12627           if we have a provided value.
12628         * src/nm-device.c: Set the MTU of devices.
12629         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12630         * src/backends/NetworkManagerDebian.c,
12631           src/backends/NetworkManagerGentoo.c,
12632           src/backends/NetworkManagerRedHat.c,
12633           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12634
12635 2006-03-21  Robert Love  <rml@novell.com>
12636
12637         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12638           configuration file.
12639
12640 2006-03-17  Robert Love  <rml@novell.com>
12641
12642         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12643           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12644           it, in case it is not running in the first place.  We just want its
12645           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12646
12647 2006-03-15  Robert Love  <rml@novell.com>
12648
12649         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12650           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12651           label "WEP 40/128-bit" is inconsistent because the physical key size
12652           is 40 or 104-bits, to which a 24-bit initialisation vector is
12653           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12654           to read "40/104" or "64/128".  I do not care much which, but most
12655           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12656           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12657           WEP passphrase support only handles 128-bit keys, and any future
12658           64-bit passphrase support will require a new option (no way to auto-
12659           detect the target key size), explicitly label our passphrase support
12660           "WEP 128-bit Passphrase".
12661
12662 2006-03-15  Robert Love  <rml@novell.com>
12663
12664         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12665           the system init scripts (or some other mechanism) starting it (or a
12666           compatible DBUS service) before NetworkManager runs.  This means that
12667           distributions might need to update their init scripts.  This fixes
12668           possible races and is quite a bit cleaner.
12669         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12670           starting the NetworkManager daemon.
12671
12672
12673 2006-03-14  Robert Love  <rml@novell.com>
12674
12675         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12676           before adding anything.
12677
12678 2006-03-13  Robert Love  <rml@novell.com>
12679
12680         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12681           widgets, too, if they exist, in case the user hit the back button.
12682           Fixes a bug where the details page contains the widgets of multiple
12683           VPN modules (Novell bug #157048).
12684
12685 2006-03-13  Robert Love  <rml@novell.com>
12686
12687         Patch by Timo Hoenig <thoenig@suse.de>:
12688         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12689           daemon survive DBUS restarts, too.
12690
12691 2006-03-10  Robert Love  <rml@novell.com>
12692
12693         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12694           passphrase or key.
12695         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12696           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12697           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12698           in response to "toggled" signal on new toggle.
12699
12700 2006-03-10  Robert Love  <rml@novell.com>
12701
12702         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12703           serialization if strings are NULL, lest DBUS get angry.
12704
12705 2006-03-10  Robert Love  <rml@novell.com>
12706
12707         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12708
12709 2006-03-09  Robert Love  <rml@novell.com>
12710
12711         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12712           configurations.
12713
12714 2006-03-09  Dan Williams  <dcbw@redhat.com>
12715
12716         Track pending call requests in the applet, and report how many are
12717         outstanding, and how long each completed one takes.
12718         
12719         * gnome/applet/applet-dbus-devices.c
12720           gnome/applet/applet-dbus-vpn.c
12721                 - Track pending calls
12722
12723         * gnome/applet/applet-dbus.[ch]
12724                 - Remove some unused enums
12725                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12726                         new functions to track dbus pending calls and spit out some
12727                         statistics about them
12728
12729 2006-03-09  Robert Love  <rml@novell.com>
12730
12731         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12732           nm_ap_set_timestamp() take the second and micro-second parameters as
12733           direct arguments, which avoids both a dynamic memory allocation and a
12734           structure-to-structure copy!  Add a new interface, the aptly named
12735           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12736           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12737           the return from nm_ap_get_timestamp().  New users should use the new
12738           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12739           the extreme benefit to performance.
12740         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12741           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12742
12743 2006-03-08  Robert Love  <rml@novell.com>
12744
12745         * gnome/applet/applet.glade: Hide the password entry text with
12746           asterisks.
12747
12748 2006-03-08  Robert Love  <rml@novell.com>
12749
12750         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12751           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12752           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12753           a second argument, NMData.
12754         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12755         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12756           config files as trusted.
12757
12758 2006-03-06  Robert Love  <rml@novell.com>
12759
12760         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12761         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12762           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12763           Rivera, detect if the applet was auto-started.  If so, ask the user
12764           if he or she would like to stop automatically running the applet on
12765           login.  If so, disable autostart.
12766
12767 2006-03-06  Robert Love  <rml@novell.com>
12768
12769         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12770           directory in CFLAGS so developers can actually use NetworkManager.h.
12771
12772 2006-03-06  Robert Love  <rml@novell.com>
12773
12774         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12775           open-coded integer constants.  Add state_to_string() to map a given
12776           state to a textual description, and provide that when notifying of
12777           state change.
12778         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12779           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12780           this header directly, but it is currently not installed on most
12781           systems.
12782
12783 2006-03-05  Dan Williams  <dcbw@redhat.com>
12784
12785         Process netlink messages in device subclasses rather than in
12786         NetworkManager.c.  Also add support for recognizing Wireless Events.
12787         
12788         * configure.in
12789                 - Find GLIB_GENMARSHAL
12790
12791         * src/Makefile.am
12792                 - Since we're marshalling custom types for wireless event signals,
12793                         we get to create our own marshallers using GLIB_GENMARSHAL
12794
12795         * src/NetworkManager.c
12796                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12797                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12798                         cut down somewhat.  We no longer process signals here.
12799                 - (nm_data_new): create the netlink monitor here, and remove a
12800                         useless call to nm_policy_schedule_device_change_check()
12801                 - (nm_data_free): get rid of the netlink monitor here
12802                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12803                 - (main): don't create the netlink monitor here, let nm_data_new
12804                         do that.  Call nm_policy_schedule_device_change_check() right
12805                         before we jump to the mainloop to figure out which device
12806                         to use first
12807
12808         * src/NetworkManagerSystem.[ch]
12809                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12810                         convert back and forth from interface names to interface
12811                         indexes
12812
12813         * src/nm-device-802-11-wireless.c
12814                 - (real_init): connect to wireless-event signals from the netlink
12815                         monitor object
12816                 - (nm_device_802_11_wireless_event): new function, schedule handler
12817                         for wireless event signals from the netlink monitor object.  We
12818                         want the handler to run in the device's context
12819                 - (wireless_event_helper): handle wireless-event signals from netlink
12820                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12821                         signal handler
12822
12823         * src/nm-device-802-11-wireless.h
12824                 - remove unused prototype for nm_device_802_11_wireless_new
12825
12826         * src/nm-device-802-3-ethernet.c
12827                 - (real_init): new function; set up signal handlers for link events
12828                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12829                         handler for netlink link activated events on device's main loop
12830                 - (link_activated_helper): when we get a link activated event, set
12831                         the device's link to be active
12832                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12833                         handler for netlink link deactivated events on device's main loop
12834                 - (link_deactivated_helper): when we get a link deactivated event, set
12835                         the device's link to be inactive
12836                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12837                         dispose
12838
12839         * src/nm-device-802-3-ethernet.h
12840                 - remove unused prototype for nm_device_802_3_ethernet_new
12841
12842         * src/nm-device.[ch]
12843                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12844                         but locks the device list
12845                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12846
12847         * src/nm-netlink-monitor.[ch]
12848                 - (nm_netlink_monitor_class_install_signals): New signal
12849                         "wireless-event"
12850                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12851                         at the device list
12852                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12853
12854         * src/nm-marshal-main.c
12855                 - Include generated nm-marshal.c and nm-marshal.h
12856
12857         * src/nm-marshal.list
12858                 - List of custom marshal functions
12859
12860 2006-03-05  Dan Williams  <dcbw@redhat.com>
12861
12862         * gnome/applet/applet-notifications.h
12863                 - Protect prototype of nma_send_event_notification() because it
12864                         includes libnotify-specific types
12865                 - Include libnotify/libnotify.h too, since we technically need it
12866
12867         * gnome/applet/applet.c
12868                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12869                 - (nma_show_vpn_login_banner_dialog): add some error checking
12870
12871 2006-03-04  Dan Williams  <dcbw@redhat.com>
12872
12873         Clean up activation cancellation.  Should be a lot faster now.  Observed
12874         an issue with wireless devices between stage 2 and 3 of activation, where
12875         activation would be cancelled, but the device thread wouldn't notice until
12876         the supplicant association timed out.  Reorganize activation such that
12877         a cancellation handler gets immediately scheduled in the device's thread,
12878         and devices have a chance to perform any custom cleanup too.
12879
12880         * src/nm-device.[ch]
12881                 - (activation_cancel_handler): new device-type-specific function
12882                         for cleaning up device-type-specific stuff on cancellation
12883                 - (cancel_activation): removed
12884                 - (nm_device_activation_cancel): subsume functionality of
12885                         real_cancel_activation, but instead of doing anything, punt
12886                         operation to a handler that's run in device-thread context
12887                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12888                         a warning message
12889                 - (activation_handle_cancel_helper): cancellation handler run in
12890                         device-thread context, calls device-type-specific cancelation,
12891                         then tears down the activation request
12892                 - (real_activation_cancel_handler): generic cancellation handler,
12893                         deals with cancelling any in-process DHCP request
12894                 - (nm_device_activate_stage1_device_prepare,
12895                    nm_device_activate_stage2_device_config,
12896                    nm_device_activate_stage3_ip_config_start,
12897                    nm_device_activate_stage4_ip_config_get,
12898                    nm_device_activate_stage4_ip_config_timeout,
12899                    nm_device_activate_stage5_ip_commit): don't call
12900                         nm_device_schedule_activation_handle_cancel() any more, since
12901                         cancellation will have been already scheduled for us by
12902                         nm_device_activation_cancel().  Just exit the function and
12903                         assume that the cancel handler will be called next.
12904
12905         * src/nm-device-802-3-ethernet.c
12906                 - (real_act_stage2_config): remove; didn't do anything anyway
12907
12908         * src/nm-device-802-11-wireless.c
12909                 - (supplicant_status_cb): ensure we don't do anything if the activation
12910                         got cancelled
12911                 - (real_activation_cancel_handler): implement; cancel user key request
12912                         on activation cancellation
12913
12914 2006-03-04  Dan Williams  <dcbw@redhat.com>
12915
12916         * src/nm-device-802-11-wireless.c
12917                 - (supplicant_send_network_config): assume that drivers that don't
12918                         support WPA pretty much suck, and can't handle NM scanning
12919                         along with wpa_supplicant.
12920
12921 2006-03-03  Robert Love  <rml@novell.com>
12922
12923         * configure.in: Bump version to 0.6.0.
12924         * NEWS: Update.
12925
12926 2006-03-03  Robert Love  <rml@novell.com>
12927
12928         * configure.in: Require DBUS 0.60 or later.
12929
12930 2006-03-03  Dan Williams  <dcbw@redhat.com>
12931
12932         Fix a crash if an "Other wireless network" was chosen, failed, then
12933         chosen again from the applet's menu.  If the other network wasn't
12934         noticed in a scan, it wouldn't have any capabilities, but would still
12935         be listed because the user forced the network.  To fix this, we set
12936         sensible capabilities on the forced network, which will get overwritten
12937         with the correct ones if the network shows up later in a scan.
12938         
12939         * src/nm-ap-security.h
12940                 - Add a new "get_default_capabilities_func" member to the
12941                         NMAPSecurity class
12942
12943         * src/nm-ap-security.c
12944                 - (nm_ap_security_get_default_capabilities): new function
12945
12946         * src/nm-ap-security.c
12947           src/nm-ap-security-wep.c
12948           src/nm-ap-security-wpa-psk.c
12949           src/nm-ap-security-wpa-eap.c
12950                 - Implement get_default_capabilities_func() for all, which
12951                         uses the information contained in a specific NMAPSecurity
12952                         object to determine default AP capabilites necessary
12953                         to support that object
12954
12955         As a secondary measure, we now prune artificial access points that fail
12956         to be activated right away.  The thing failed, and we have no scan data for
12957         it, so it's pretty much useless since security information is only saved
12958         in the applets when a connection is successful.
12959
12960         * src/NetworkManagerAPList.c
12961                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12962                         not artificial.  If we see it, it's no longer a figment of the
12963                         user's imagination :)
12964
12965         * src/NetworkManagerPolicy.c
12966                 - (nm_policy_activation_failed): send along the failed AP if we
12967                         have it
12968
12969         * src/nm-device-802-11-wireless.c
12970                 - (real_activation_failure_handler): remove artificial APs from
12971                         the device list, because activation failed
12972
12973 2006-03-02  Robert Love  <rml@novell.com>
12974
12975         Add support for retrieving both the per-device speed and the
12976         per-network maximum supported rate.  Then change the getProperties
12977         DBUS API for both networks and devices to report this informaiton.
12978         Finally, display the information via both nm-applet and nm-tool:
12979         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12980           and set it.
12981         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12982           Information' dialog.
12983         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12984         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12985           network_device_get_speed() and network_device_set_speed() for
12986           retrieving and setting, respectively, a network device's current
12987           speed.
12988         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12989         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12990           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12991           not matter (yet) what the units are, because we only feed it its own
12992           output.  Implement SIOCGIRATE and set the per-network maximum
12993           supported rate during scanning.
12994         * src/nm-device-802-11-wireless.h: Export the function
12995           nm_device_802_11_wireless_get_bitrate().
12996         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12997           function nm_device_802_3_ethernet_get_speed() for returning an
12998           802.3's current speed, in Mb/s.
12999         * test/nm-tool.c: Display the per-device current speed, if available,
13000           and the per-network maximum rate.
13001
13002 2006-03-02  Dan Williams  <dcbw@redhat.com>
13003
13004         * src/nm-device-802-11-wireless.c
13005                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13006                         card when it gets initialized.  Since devices don't get added to
13007                         the scan list until they are initialized, this function wasn't
13008                         setting the intitial scan interval correctly, and was leaving
13009                         it at 0.  This caused cards to get many scan requests in a short
13010                         amount of time when they were initialized
13011
13012 2006-03-02  Robert Love  <rml@novell.com>
13013
13014         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13015           active device.  But do not do what we used to do and override the
13016           state, which caused the dreaded icon race of '05.
13017
13018 2006-03-02  Robert Love  <rml@novell.com>
13019
13020         Commit Dan's update of my previous commit:
13021         * src/nm-device-802-11-wireless.c: Always set the mode, because the
13022           set_mode() function itself does the check.  But do only set the
13023           frequency if in Ad-Hoc mode.
13024
13025 2006-03-02  Robert Love  <rml@novell.com>
13026
13027         Patch by Brian Magnuson <magnuson@rcn.com>:
13028         * src/nm-device-802-11-wireless.c: During scanning, only set the
13029           wireless mode to infrastructure if it is not currently in
13030           infrastructure mode.  For some driver, setting the mode is a costly
13031           operation, apparently.
13032
13033 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
13034
13035         * Makefile.am: use the correct dir for autostart mechanism.
13036
13037 2006-02-28  Dan Williams  <dcbw@redhat.com>
13038
13039         Patch from Brian Magnuson <magnuson@rcn.com>
13040         * gnome/applet/applet.c
13041                 - (nma_show_vpn_failure_dialog): fix errors left over from
13042                         libnotify support changes
13043
13044 2006-02-28  Dan Williams  <dcbw@redhat.com>
13045
13046         * src/vpn-manager/nm-vpn-act-request.[ch]
13047                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13048                         just one value
13049                 - (nm_vpn_act_request_is_failed): new function; return whether or
13050                         not the vpn activation request has failed
13051
13052         * src/vpn-manager/nm-vpn-manager.c 
13053                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13054                         daemon to kill the connection when the activation request fails.
13055                         Fixes issue where NM would get confused if the VPN activation
13056                         request timed out, and would not allow further VPN connections
13057                         on that service.
13058
13059 2006-02-28  Dan Williams  <dcbw@redhat.com>
13060
13061         * gnome/applet/applet.c
13062                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13063                         overlapping connection requests, disable all VPN menu items
13064                         but the active VPN connection
13065
13066 2006-02-28  Dan Williams  <dcbw@redhat.com>
13067
13068         * src/vpn-manager/nm-vpn-connection.c
13069                 - (nm_vpn_connection_set_parent_device): fix C&P error which
13070                         called g_object_unref() on the connection's parent device
13071                         when it should have been ref-ed instead.  Fixes crash with
13072                         repeated vpn connect requests
13073
13074 2006-02-28  Christopher Aillon  <caillon@redhat.com>
13075
13076         * gnome/applet/applet.glade:
13077         Mark a few strings non-translatable, since they shouldn't be.
13078
13079 2006-02-28  Dan Williams  <dcbw@redhat.com>
13080
13081         * src/vpn-manager/nm-vpn-service.c
13082                 - (nm_vpn_service_start_connection): if the vpn service daemon is
13083                         already running, don't blindly ask it to connect, but wait until
13084                         it's in the STOPPED state first.  Fixes an assertion when user
13085                         starts a second vpn connection without stopping the first.
13086                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13087                         dbus service exists before continuing with the connection
13088                         process, and reduce latency while waiting for it to become
13089                         available
13090                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13091                         waiting for the vpn service daemon to become available
13092                 - General log message cleanups; show progress via "Stage x of 4"
13093                         rather than not telling anyone how many stages there are
13094
13095 2006-02-28  Robert Love  <rml@novell.com>
13096
13097         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13098         * src/backends/NetworkManagerSuSE.c: Implement the interface
13099           nm_system_should_modify_resolv_conf() for SUSE.
13100         * src/backends/NetworkManagerDebian.c,
13101           src/backends/NetworkManagerGentoo.c,
13102           src/backends/NetworkManagerRedHat.c,
13103           src/backends/NetworkManagerSlackware.c: Add stub.
13104         * src/named-manager/Makefile.am: Grab includes from src.
13105         * src/named-manager/nm-named-manager.c: Allow backends to disable the
13106           automatic updating of resolv.conf.  This is useful for testing,
13107           broken static configurations, and administrator lock-down.
13108
13109 2006-02-28  Dan Williams  <dcbw@redhat.com>
13110
13111         * src/nm-device-802-11-wireless.c
13112                 - Move all the wpa_supplicant-related management stuff into its
13113                         own struct, just for oranization's sake
13114                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13115                         to a GIOChannel/GSource
13116                 - (supplicant_log_stdout): new function; grab output from the
13117                         wpa_supplicant stdout pipe and write it to our logs.
13118
13119 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13120
13121         * src/nm-device-802-11-wireless.c:
13122         Err, fix thinko in my previous commit.
13123
13124 2006-02-28  Robert Love  <rml@novell.com>
13125
13126         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13127
13128 2006-02-28  Robert Love  <rml@novell.com>
13129
13130         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13131           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13132           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13133           deserializers are responsible for freeing the returned DBUS strings.
13134
13135 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13136
13137         * src/nm-device-802-11-wireless.c:
13138         The scan list is being pruned prematurely.  We should prune after
13139         the device has gone MIA for three scans, not one.  Split out the
13140         interval to realtime seconds function to better serve this.
13141
13142 2006-02-27  Robert Love  <rml@novell.com>
13143
13144         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13145           Open the pid file O_TRUNC, so if it already exists we truncate it to
13146           zero length.  Also, be more verbose about warnings generated during
13147           writing out the pid file.  Finally, always write out the pid file if
13148           in daemon mode.  Use "--pid-file" to override the default.
13149
13150 2006-02-27  Robert Love  <rml@novell.com>
13151
13152         Patch by R. Vinay <rvinay@novell.com>:
13153         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13154           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13155           Novell bug #153628).
13156           
13157 2006-02-27  Robert Love  <rml@novell.com>
13158
13159         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13160           entry so user can hit <ENTER> after entering passphrase (Novell bug
13161           #153738).
13162
13163 2006-02-27  Dan Williams  <dcbw@redhat.com>
13164
13165         * gnome/applet/*
13166                 - Mass search/replace of:
13167                         nmwa -> nma
13168                         NMWirelessApplet -> NMApplet
13169                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13170                    (it ain't just for wireless anymore, ma!)
13171                 - Fix duplicate function name printing when using nm_warning
13172                 - wireless-applet.glade -> applet.glade
13173
13174 2006-02-27  Dan Williams  <dcbw@redhat.com>
13175
13176         * dispatcher-daemon/NetworkManagerDispatcher.c
13177                 - Accept --pid-file with a path to a pidfile, write it out on
13178                         startup, and delete it on shutdown
13179
13180         * src/NetworkManager.c
13181                 - Accept --pid-file with a path to a pidfile, write it out on
13182                         startup, and delete it on shutdown
13183                 - Move nm_print_usage() lower
13184
13185         * initscripts/RedHat/NetworkManager.in
13186                 - Use new --pid-file option
13187                 - Fix service stopping to wait a bit for NM to quit
13188
13189         * initscripts/RedHat/NetworkManagerDispatcher.in
13190                 - Use new --pid-file option
13191
13192 2006-02-26  Dan Williams  <dcbw@redhat.com>
13193
13194         * src/Makefile.am
13195                 - make and install nm-crash-logger
13196
13197         * src/nm-logging.[ch]
13198                 - New files; consolidate logging and crash handling
13199
13200         * src/nm-crash-logger.c
13201           src/gdb-cmd
13202                 - Standalong crashlogger for NM, grab a backtrace
13203                         using GDB
13204
13205         * src/NetworkManager.[ch]
13206                 - Remove signal handling and put it into nm-logging.c
13207
13208 2006-02-26  Dan Williams  <dcbw@redhat.com>
13209
13210         * configure.in
13211           gnome/applet/Makefile.am
13212                 - Conditionalize all the notify stuff
13213
13214         Merge most of Chris Aillon's notification patch:
13215         
13216         * gnome/applet/applet-notifications.[ch]
13217                 - New files; show a notification
13218         
13219         * gnome/applet/applet-dbus-devices.[ch]
13220                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13221                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13222                         new functions, do the right thing when a device change occurs
13223
13224         * gnome/applet/applet-dbus.c
13225                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13226                         signals, so we can handle them specially
13227
13228         * gnome/applet/applet.[ch]
13229                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13230                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13231                 - (nmwa_notify_state): remove
13232                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13233                         notification work is now done when the appropriate dbus signals
13234                         are received.
13235                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13236                         defer execution of the notification/dialog stuff.  That was an
13237                         artifact of the previous multi-threaded nature of the applet
13238                         and is now pointless.
13239                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13240                         no longer needed.  Function folded into applet-notifications.c
13241
13242         * src/NetworkManagerPolicy.c
13243                 - (nm_policy_activation_finish): send the AP along with the device
13244                         status change signal, if the connection is wireless.  Should
13245                         fix the race where applet would show a connection to "unknown"
13246
13247 2006-02-25  Robert Love  <rml@novell.com>
13248
13249         Add WPA Enterprise support:
13250         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13251           nm-gconf-wso-wpa-eap.h.
13252         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13253           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13254           serialization and deserialization.
13255         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13256           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13257           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13258         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13259           settings related to WPA Enterprise.
13260         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13261           instantiate WPA Enterprise wireless-security-option.
13262         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13263           Implement WPA Enterprise wireless-security-option object.
13264         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13265           defines.  Cleanup.
13266         * libnm-util/cipher-wpa-psk-hex.c,
13267           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13268         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13269           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13270           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13271           including the cipher to DBUS method, and
13272           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13273           to output.
13274         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13275           nm-ap-security-wpa-eap.h
13276         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13277           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13278         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13279           files.  Implement NMAPSecurityWPA_EAP object.
13280         * src/nm-ap-security-wpa-psk.c: Cleanup.
13281         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13282           an NMAPSecurityWPA_EAP object via the method
13283           nm_ap_security_wpa_eap_new_deserialize().
13284         * src/nm-dbus-nm.c: Cleanup.
13285         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13286           WPA Enterprise support.
13287
13288 2006-02-24  Robert Love  <rml@novell.com>
13289
13290         Patch from Timo Hoenig <thoenig@suse.de>:
13291         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13292
13293 2006-02-24  Robert Love  <rml@novell.com>
13294
13295         Patch from Dan Winship <danw@novell.com>:
13296         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13297           area to transparent.
13298
13299 2006-02-21  Dan Williams  <dcbw@redhat.com>
13300
13301         * gnome/applet/applet.[ch]
13302           gnome/applet/applet-dbus.c
13303                 - Implement notification support for VPN messages too
13304
13305 2006-02-21  Dan Williams  <dcbw@redhat.com>
13306
13307         * gnome/applet/applet-dbus-info.c
13308                 - Clean up warning messages to not double-print the function
13309
13310 2006-02-21  Dan Williams  <dcbw@redhat.com>
13311
13312         * gnome/applet/applet-compat.c
13313                 - (convert_one_entry): accept entries without a key_type and
13314                         convert them to unencrypted networks
13315
13316 2006-02-21  Dan Williams  <dcbw@redhat.com>
13317
13318         * gnome/libnm_glib/libnm_glib.c
13319                 - Use __func__ everywhere we can
13320                 - Code cleanups
13321                 - Use dbus pending calls rather than blocking
13322                 - Reduce busywaits for our thread to start and stop
13323                         (gnome.org #330562)
13324                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13325                         stomp on others using the default shared dbus connection.
13326                         Fixes #rh177546# and gnome.org #326572
13327
13328 2006-02-21  Dan Williams  <dcbw@redhat.com>
13329
13330         Patch from Rodney Dawes <dobey@novell.com>
13331         * configure.in
13332           gnome/applet/Makefile.am
13333           gnome/applet/applet.c
13334                 - Add libnotify support if '--enable-notify=yes' is passed
13335                   at configure time
13336
13337 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13338
13339         * configure.in (ALL_LINGUAS): ko added. (Korean)
13340
13341 2006-02-15  Robert Love  <rml@novell.com>
13342
13343         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13344           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13345           and WPA_SUPPLICANT_CONTROL_SOCKET.
13346         
13347 2006-02-15  Robert Love  <rml@novell.com>
13348
13349         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13350           information about what connection stage we are at, provide the total
13351           number of stages, e.g. "Stage 2 of 5", so users know how far along
13352           they are if they experience problems.
13353
13354 2006-02-15  Robert Love  <rml@novell.com>
13355
13356         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13357           define to $sysconfdir.
13358         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13359           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13360           type of VPN and then editing another results in a mangled dialog
13361           box containing the widgets from both VPNs (fixes Novell #150854).
13362           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13363
13364 2006-02-14  Robert Love  <rml@novell.com>
13365
13366         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13367           syslog's file descriptor.
13368
13369 2006-02-14  Robert Love  <rml@novell.com>
13370
13371         Fix bug around since the change to "deal with APs changing settings on
13372         us," checked in on the fifth of February in the year of the dog, 
13373         wherein connecting to non-broadcast encrypted networks always fails
13374         because nm_ap_get_encrypted() always returns FALSE, even when the user
13375         provided a key, because the newly-created fake AP does not have any
13376         capabilities set, which is a sypmtom of security settings not matching
13377         capabilities (Novell bug #150784):
13378         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13379           nm_ap_add_capabilities_from_security(), which sets the given AP's
13380           capabilities off the given security settings.  Also improve our
13381           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13382           NM_AUTH_CIPHER_AUTO.
13383         * src/nm-device-802-11-wireless.c: Call the function
13384           nm_ap_add_capabilities_from_security() to ensure that capabilities
13385           match newly updated security settings.
13386
13387 2006-02-14  Robert Love  <rml@novell.com>
13388
13389         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13390           error as a string, not an integer, if possible; do not print the
13391           function name twice; always give the interface, if possible; misc.
13392           cleanup.
13393
13394 2006-02-12  Dan Williams  <dcbw@redhat.com>
13395
13396         Patch from Tom Parker <palfrey@tevp.net>
13397         * src/NetworkManagerSystem.h
13398                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13399                         no longer used
13400
13401         * src/backends/NetworkManagerDebian.c
13402                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13403                         unused variables
13404
13405 2006-02-12  Dan Williams  <dcbw@redhat.com>
13406
13407         * vpn-daemons/openvpn/intltool-extract.in
13408           vpn-daemons/openvpn/intltool-merge.in
13409           vpn-daemons/openvpn/intltool-update.in
13410           vpn-daemons/pptp/intltool-extract.in
13411           vpn-daemons/pptp/intltool-merge.in
13412           vpn-daemons/pptp/intltool-update.in
13413                 - Remove from CVS, they should get created by intltoolize,
13414                         shouldn't they?
13415
13416 2006-02-12  Dan Williams  <dcbw@redhat.com>
13417
13418         * vpn-daemons/pptp/src/pppd/patchlevel.h
13419         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13420                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13421                         Makefile-defined VERSION
13422
13423 2006-02-09  Dan Williams  <dcbw@redhat.com>
13424
13425         Patch from: Vinay A R <rvinay@novell.com>
13426         * src/vpn-manager/nm-vpn-act-request.[ch]
13427                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13428                         IPSec VPNs require them for std gateway.
13429                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13430                         and 'user_routes_count'
13431                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13432                         defined routes  from NMVPNActRequest object, returns the string
13433                         array of routes.
13434
13435         * src/vpn-manager/nm-vpn-manager.[ch]
13436                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13437                         for 'user_routes' and 'user_routes_count'
13438         
13439         * src/vpn-manager/nm-dbus-vpn.c
13440                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13441                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13442         
13443         * src/vpn-manager/nm-vpn-service.c
13444                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13445                         the vpn daemon
13446
13447         Modifications by Dan:
13448         * src/vpn-manager/nm-vpn-service.c
13449                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13450                         arrays into dbus
13451
13452         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13453         * vpn-daemons/pptp/src/nm-pptp-service.c
13454         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13455                 - Grab user routes from dbus message
13456                 - Free all string arrays we got from dbus
13457
13458 2006-02-07  Robert Love  <rml@novell.com>
13459
13460         Patch by Stefan Seyfried <seife@suse.de>:
13461         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13462
13463 2006-02-06  Robert Love  <rml@novell.com>
13464
13465         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13466
13467 2006-02-06  Robert Love  <rml@novell.com>
13468
13469         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13470           test ">=" is never false.  If no newline is found, we loop forever.
13471           We can just check for ">" because the following if() will see the
13472           zero-th argument if the while() gets that far.
13473
13474 2006-02-05  Dan Williams  <dcbw@redhat.com>
13475
13476         Refine handling of non-broadcast networks.
13477
13478         * src/NetworkManagerAPList.c
13479                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13480                         property from scanned AP to the AP from the device list
13481
13482         * src/nm-device-802-11-wireless.c
13483                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13484                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13485                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13486                         networks since those don't have APs.
13487                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13488                         AP as non-SSID-broadcasting
13489                 - (process_scan_results): don't handle non-SSID-broadcasting here
13490
13491 2006-02-05  Dan Williams  <dcbw@redhat.com>
13492
13493         * src/nm-device-802-11-wireless.c
13494                 - (get_supplicant_timeout): new function; return
13495                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13496                         14 channels.  These are likely a/b/g cards, like Atheros, and
13497                         slow as hell to scan.
13498                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13499                         get_supplicant_timeout()
13500
13501 2006-02-05  Dan Williams  <dcbw@redhat.com>
13502
13503         * src/dhcp-manager/nm-dhcp-manager.c
13504                 - Loose a commit race with Robert; make sure size check
13505                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13506
13507 2006-02-05  Robert Love  <rml@novell.com>
13508
13509         Patch by Christoph Brill <chrisbrill@gmx.net>:
13510         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13511           with DHCP_SERVICE_NAME.
13512
13513 2006-02-05  Dan Williams  <dcbw@redhat.com>
13514
13515         Remove anything having to do with device_setup_func from the
13516         AP security objects, since it's no longer used.
13517
13518         * src/nm-ap-security.h
13519                 - Kill device_setup_func and nm_ap_security_device_setup()
13520
13521         * src/nm-ap-security-wep.c
13522           src/nm-ap-security-wpa-psk.c
13523                 - (real_device_setup): remove
13524
13525         * src/nm-ap-security.c
13526                 - (real_device_setup): remove
13527                 - (nm_ap_security_device_setup): remove
13528
13529         * src/nm-device-802-11-wireless.[ch]
13530                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13531                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13532                         and done by wpa_supplicant now anyway
13533
13534 2006-02-05  Dan Williams  <dcbw@redhat.com>
13535
13536         * src/nm-device-802-11-wireless.c
13537                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13538                         settings on us.  Previously NM would loop asking for the
13539                         key but getting the same one back.  Now, if the NMI-supplied
13540                         cipher doesn't overlap with the scanned AP capabilities,
13541                         we request a completely new key from the user.
13542
13543 2006-02-05  Dan Williams  <dcbw@redhat.com>
13544
13545         * src/NetworkManagerUtils.c
13546                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13547                         Handle newline killing better
13548
13549 2006-02-05  Dan Williams  <dcbw@redhat.com>
13550
13551         * gnome/applet/nm-gconf-wso.c
13552                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13553                         of unencrypted access point security info.
13554
13555 2006-02-03  Robert Love  <rml@novell.com>
13556
13557         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13558           user's encryption key, so we print the err_msg_cmd not the command,
13559           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13560           sense.
13561
13562 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13563
13564         * initscript/RedHat/NetworkManagerDispatcher.in:
13565         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13566         Patch from Dan Walsh <dwalsh@redhat.com>
13567
13568 2006-02-03  Robert Love  <rml@novell.com>
13569
13570         * dispatcher-daemon/NetworkManagerDispatcher.c,
13571           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13572           but use the sysconfdir.
13573
13574 2006-02-03  Robert Love  <rml@novell.com>
13575
13576         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13577           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13578           'char *'.
13579         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13580           nm_ip4_config_get_hostname() and
13581           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13582         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13583           leak g_strdup() result.
13584
13585 2006-02-03  Robert Love  <rml@novell.com>
13586
13587         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13588           broadcast == TRUE.  Also, copy broadcast and artificial properties
13589           from source network to destination in nm_ap_copy().
13590         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13591           since we now default new networks to non-hidden.
13592
13593 2006-02-03  Dan Williams  <dcbw@redhat.com>
13594
13595         * gnome/applet/main.c
13596                 - (main): change the NEVER->ALWAYS so we start at the
13597                         beginning of the session, if being session-managed
13598
13599 2006-02-03  Dan Williams  <dcbw@redhat.com>
13600
13601         * gnome/applet/main.c
13602                 - (main): in a variation on Robert's patch, change
13603                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13604                         he wants.
13605
13606 2006-02-02  Robert Love  <rml@novell.com>
13607
13608         * src/Makefile.am: If we aren't going to create the run directory at,
13609           uh, run-time, create it during install.  Then users just doing
13610           'make install' are cool, too.  While we are here, create the
13611           dispatcher.d directory, too.
13612         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13613           the exact run directory.
13614         * Makefile.am: Install nm-applet.desktop.
13615
13616 2006-02-02  Robert Love  <rml@novell.com>
13617
13618         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13619           structure, which denotes whether or not the AP is hidden.  This is a
13620           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13621           can show up in the scan list.  Add nm_ap_get_broadcast() and
13622           nm_ap_set_broadcast() accessor interfaces.
13623         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13624           nm_ap_set_broadcast().
13625         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13626           "getProperties" method, which denotes whether or not the given
13627           network is hidden.
13628         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13629           an artificial network.  Set broadcast to TRUE when scanning returns
13630           an ESSID and FALSE when not.
13631         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13632           from "getProperties" method on a network.  Possible TODO is to
13633           somehow display this.
13634         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13635
13636 2006-02-02  Dan Williams  <dcbw@redhat.com>
13637
13638         * src/nm-device-802-11-wireless.c
13639                 - (supplicant_interface_init): don't try to create
13640                         /var/run/NetworkManager, since that should be done by
13641                         the distro package.  Causes problems for stuff like SELinux
13642
13643 2006-02-02  Robert Love  <rml@novell.com>
13644
13645         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13646         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13647           Check for and handle empty string for iface.
13648
13649 2006-02-01  Robert Love  <rml@novell.com>
13650
13651         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13652           manpage.
13653
13654 2006-01-31  Dan Williams  <dcbw@redhat.com>
13655
13656         * nm-applet.desktop
13657                 - Add --sm-disable to Exec arguments, presuming that when
13658                         using autostart, we don't want session management
13659
13660 2006-01-31  Robert Love  <rml@novell.com>
13661
13662         * src/NetworkManagerAP.c: Add two new manufacturer default network
13663           names: linksys-a and linksys-g.  These are found (at least) on the
13664           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13665           own ESSID.
13666
13667 2006-01-31  Robert Love  <rml@novell.com>
13668
13669         * src/NetworkManagerAP.c: Optimize the function
13670           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13671           machine code.  This is the first in a series of code tweaks aiming to
13672           generate better machine code and make NetworkManager all the better.
13673           Just kidding.  Who has time to go through the assembly generated for
13674           every function?  I certainly don't.  I have a wife, a kid, a job,
13675           a mortgage, a mistress.  But this function was so bad, I was called
13676           to arms.  Like the book.
13677
13678 2006-01-31  Robert Love  <rml@novell.com>
13679
13680         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13681           AP is not broadcasting, to scan with probe request frames.  Required
13682           for non-broadcast networks.
13683
13684 2006-01-31  Robert Love  <rml@novell.com>
13685
13686         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13687           preprocessor define (still 20s).  Fix message text in nm_info()
13688           s/too too/took too/.
13689
13690 2006-01-30  Dan Williams  <dcbw@redhat.com>
13691
13692         * src/nm-device-802-11-wireless.c
13693                 - (supplicant_monitor_start): increase connect/auth timeout to
13694                         20 seconds from 10 seconds
13695
13696 2006-01-30  Dan Williams  <dcbw@redhat.com>
13697
13698         * src/Makefile.am
13699                 - Define LOCALSTATEDIR
13700
13701         * src/nm-device-802-11-wireless.c
13702                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13703                         socket where we want it to
13704
13705         * src/wpa_ctrl.[ch]
13706                 - (wpa_ctrl_open): accept location to put local control socket
13707
13708 2006-01-30  Robert Love  <rml@novell.com>
13709
13710         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13711           get_ip4_string() for "domain_name".
13712
13713 2006-01-30  Robert Love  <rml@novell.com>
13714
13715         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13716           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13717           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13718           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13719           support for "Automatic" pairwise and group cipher configuration by
13720           letting wpa_supplicant handle the details.  Add UI elements, new
13721           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13722           charm.  Note this does more than add a nice feature, it fixes a bug.
13723           Apparently, some people have AP's where the pairwise cipher does not
13724           match the group cipher.  Insane, but true.
13725
13726 2006-01-30  Dan Williams  <dcbw@redhat.com>
13727
13728         * gnome/applet/applet-dbus-devices.c
13729                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13730                         functions, grab device driver name from NetworkManager
13731                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13732
13733         * gnome/applet/applet.c
13734                 - (nmwa_update_info): show driver name in Connection Information
13735                         dialog
13736
13737         * gnome/applet/nm-device.[ch]
13738                 - (network_device_get_driver, network_device_set_driver): add
13739                         accessors for driver name
13740
13741         * gnome/applet/wireless-applet.glade
13742                 - Add line for driver name to Connection Information dialog
13743
13744         * src/nm-dbus-device.c
13745                 - (nm_dbus_device_get_driver): new function to return driver name
13746                 - (nm_dbus_device_methods): hook up driver name function to dbus
13747
13748         * test/nm-tool.c
13749                 - (get_driver_name): new function
13750                 - (detail_device): grab and show driver name
13751
13752 2006-01-30  Robert Love  <rml@novell.com>
13753
13754         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13755           does not parse the markup if it is not part of the format.
13756
13757 2006-01-30  Robert Love  <rml@novell.com>
13758
13759         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13760           FALSE, we have no security options for this dialog, so we throw up
13761           an error dialog instead of a broken passphrase dialog.  Fixes
13762           Novell #138404.
13763         * gnome/applet/wireless-security-manager.c,
13764           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13765           does not add any security options, not even NONE, print a warning
13766           and return FALSE.  This let's functions constructing a dialog bail
13767           out if the device's capabilities and the network's requirements have
13768           zero overlap.
13769
13770 2006-01-27  Robert Love  <rml@novell.com>
13771
13772         * configure.in: Require wpa_supplicant.  Detect location of binary and
13773           use it.  Override with "--with-wpa_supplicant=foo".
13774         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13775           path to wpa_supplicant but use the auto-detected or user-provided
13776           value from configure.
13777
13778 2006-01-27  Robert Love  <rml@novell.com>
13779
13780         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13781           but the DHCP server did not return a hostname, try to look up our
13782           name via DNS and set the system hostname to that.
13783
13784 2006-01-27  Dan Williams  <dcbw@redhat.com>
13785
13786         * src/backends/NetworkManagerRedHat.c
13787                 - Add NM_CONTROLLED system network script support for RH/Fedora
13788
13789 2006-01-27  Dan Williams  <dcbw@redhat.com>
13790
13791         * src/backends/NetworkManagerGentoo.c
13792                 - (nm_system_device_get_disabled): add missing function.
13793                         Gnome BZ #328780
13794
13795 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13796
13797         * configure.in: Added vi in ALL_LINGUAS line.
13798         
13799 2006-01-26  Robert Love  <rml@novell.com>
13800
13801         * src/Makefile.am, src/kernel-types.h: Now that two different source
13802           files are feeling the crack-addled leakage of kernel types such as
13803           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13804           types in user-space -- define a header and include it as needed.
13805         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13806         * src/nm-device-802-3-ethernet.h: Remove defines.
13807         * src/wpa.c: Remove defines and include kernel-types.h.
13808
13809 2006-01-26  Robert Love  <rml@novell.com>
13810
13811         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13812           work.
13813
13814 2006-01-26  Robert Love  <rml@novell.com>
13815
13816         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13817         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13818           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13819           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13820           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13821           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13822           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13823           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13824           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13825           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13826           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13827           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13828           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13829           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13830           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13831           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13832           Kill unused variables, labels, and static functions.  Don't pass
13833           string literals as the format string for printf-like functions.
13834
13835 2006-01-25  Dan Williams  <dcbw@redhat.com>
13836
13837         * gnome/applet/wireless-applet.glade
13838                 - Remove WPA2 Checkbox
13839
13840         * gnome/applet/wireless-security-manager.c
13841                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13842                         This means the Wireless Security menu now has two WPA options,
13843                         one for "WPA Personal" and one for "WPA2 Personal"
13844
13845         * gnome/applet/wso-wpa-psk.[ch]
13846                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13847                         'wpa2' argument to determine WPA version to use
13848                 - (append_dbus_params_func): pass stored WPA version to cipher
13849                         rather than using the (removed) checkbox
13850
13851 2006-01-24  Robert Love  <rml@novell.com>
13852
13853         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13854           before we g_strdup(), not the ultimate string.
13855
13856 2006-01-23  Dan Williams  <dcbw@redhat.com>
13857
13858         * src/NetworkManagerAP.[ch]
13859                 - (nm_ap_new_from_ap): copy original essid too
13860                 - (nm_ap_unref): free original essid
13861                 - (nm_ap_get_orig_essid): new function
13862                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13863                         but keep original essid around too
13864
13865         * src/nm-device-802-11-wireless.c
13866                 - (supplicant_send_network_config): send wpa_supplicant the
13867                         _original_ essid, and not as a string, but in hex.  Should
13868                         allow us to connect to more APs that use wierd character
13869                         encodings for their essids
13870
13871         * utils/nm-utils.[ch]
13872                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13873                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13874                         use the current locale as a hint for what encoding the essid
13875                         might be in.  Obviously not 100% accurate, but the idea here is
13876                         that if a user's locale is ex. ja_JP, they are more likely than
13877                         not to be in Japan, where access points will likely be in some
13878                         Japanese encoding.
13879
13880 2006-01-23  Dan Williams  <dcbw@redhat.com>
13881
13882         * libnm-util/cipher-private.h
13883           libnm-util/cipher.c
13884           libnm-util/cipher.h
13885                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13886
13887 2006-01-23  Robert Love  <rml@novell.com>
13888
13889         Patch by Timo Hoenig <thoenig@suse.de>:
13890         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13891           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13892           by DHCP and pass it to the backends, allowing distribution-specific
13893           behavior with respect to the DHCP-supplied hostname (if nothing else,
13894           some distributions might not want to set the hostname).
13895         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13896           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13897           Also update our NIS behavior.
13898         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13899           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13900           Add stub functions.
13901
13902 2006-01-23  Robert Love  <rml@novell.com>
13903
13904         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13905           gnome-session does autostart.  TODO: We need to install this to
13906           $prefix/share/autostart/.
13907
13908 2006-01-22  Dan Williams  <dcbw@redhat.com>
13909
13910         * src/NetworkManagerAP.[ch]
13911           src/nm-dbus-nmi.c
13912           src/nm-device-802-11-wireless.c         
13913                 - Make nm_ap_get_essid return "const char *"
13914
13915 2006-01-22  Dan Williams  <dcbw@redhat.com>
13916
13917         * src/NetworkManagerAP.[ch]
13918                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13919
13920         * src/NetworkManagerAPList.[ch]
13921                 - (nm_ap_list_diff): removed
13922                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13923                         deal with access points changing essids on us
13924
13925         * src/nm-device-802-11-wireless.c
13926                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13927                         src/NetworkManagerAPList.c
13928                 - (real_can_interrupt_activation): new function; allow interruption
13929                         of device activation if we are waiting for a network key
13930
13931         * src/NetworkManagerPolicy.c
13932                 - (nm_policy_device_change_check): allow interruption of currently
13933                         activating devices if the device allows it.  Previous behavior
13934                         would refuse to activate a just-plugged wired device if a
13935                         wireless device was waiting for a key.
13936
13937         * src/nm-device.[ch]
13938                 - (nm_device_can_interrupt_activation): new function; ask devices
13939                         whether their activation can be interrupted
13940
13941 2006-01-20  Robert Love  <rml@novell.com>
13942
13943         * Makefile.am, configure.in: Add new man subdirectory.
13944         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13945           man/Makefile.am: Add man pages for NetworkManager and its
13946           crime-solving bumbling buddy, NetworkManagerDispatcher.
13947         * man/.cvsignore: Add.
13948         * initscript/Debian/NetworkManager,
13949           initscript/Gentoo/NetworkManager.in,
13950           initscript/RedHat/NetworkManager.in,
13951           initscript/RedHat/NetworkManagerDispatcher.in,
13952           initscript/SUSE/networkmanager-dispatcher.in,
13953           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13954
13955 2006-01-20  Robert Love  <rml@novell.com>
13956
13957         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13958           instead of queuing.  This prevents the running of multiple NM
13959           daemons concurrently, which does not work whatsoever and results in
13960           neither daemon working correctly.  Also, we don't handle queuing and
13961           name-owner-changes, anyhow.
13962
13963 2006-01-20  Robert Love  <rml@novell.com>
13964
13965         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13966         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13967           to sbin, not bin.
13968
13969 2006-01-19  Robert Love  <rml@novell.com>
13970
13971         * configure.in: Require hal 0.5.0 or later.
13972
13973 2006-01-18  Robert Love  <rml@novell.com>
13974
13975         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13976           Allow backends to flag a device (in whatever distro-dependent way
13977           they so desire) as disabled.  NM will ignore any such device.
13978         * src/backends/NetworkManagerDebian.c,
13979           src/backends/NetworkManagerRedHat.c,
13980           src/backends/NetworkManagerSlackware.c: Add stub function
13981           nm_system_device_get_disabled() that always returns FALSE (enabled).
13982         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13983           SUSE-specific configuration structure.  Fill it in from the
13984           NM_CONTROLLED variable in the system networking scripts.  If this var
13985           exists and is "no", we ignore the device.
13986
13987 2006-01-17  Robert Love  <rml@novell.com>
13988
13989         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13990           identical for NM.  For a full discussion, see the thread at
13991           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13992
13993 2006-01-17  Dan Williams  <dcbw@redhat.com>
13994
13995         * src/nm-device.c
13996                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13997                         function.  Fixes crash when wired DHCP fails.
13998
13999 2006-01-16  Robert Love  <rml@novell.com>
14000
14001         * src/Makefile.am: Don't install NMLoadModules
14002         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14003           from src/ to test/ as no one uses it anymore.  Note that I would be
14004           fine with removing it altogether.
14005
14006 2006-01-16  Robert Love  <rml@novell.com>
14007
14008         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14009           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14010           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14011           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14012           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14013           src/nm-netlink-monitor.c: Don't miss any initializers on structure
14014           declarations, ever.
14015         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14016           NM_STATE_DISCONNECTED is zero).
14017
14018 2006-01-16  Robert Love  <rml@novell.com>
14019
14020         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
14021           uninitialized parameter and buffer overflow.  Novell #143496.
14022
14023 2006-01-16  Dan Williams  <dcbw@redhat.com>
14024
14025         Apply the PtP Address bits of a patch from Tim Niemueller
14026
14027         * src/nm-ip4-config.[ch]
14028                 - Add ip4_ptp_address member to object
14029                 - (nm_ip4_config_copy): copy ptp address too
14030                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14031                         new functions
14032                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14033                         rather than local tunnel ip address
14034
14035         * src/vpn-manager/nm-vpn-service.c
14036                 - (print_vpn_config): update for PtP address
14037                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14038                         DBusMessageIters in preparation for getting routes from the VPN
14039                         service daemons too
14040
14041         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14042                 - (send_config_info): update for PtP address, clean up code
14043                 - (main): update for PtP address, clean up code, fix typo
14044
14045         * vpn-daemons/openvpn/src/nm-openvpn-service.c
14046                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14047
14048         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14049                 - (pptp_ip_up): update for PtP address
14050
14051         * vpn-daemons/pptp/src/nm-pptp-service.c
14052                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14053
14054         * vpn-daemons/vpnc/src/nm-vpnc-service.c
14055                 - (print_vpn_config): update for PtP address
14056                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14057
14058 2006-01-16  Dan Williams  <dcbw@redhat.com>
14059
14060         * gnome/applet/applet.c
14061                 - (nmwa_add_networks_helper): don't indicate an active network
14062                         if NM is disconnected or asleep
14063
14064 2006-01-16  Dan Williams  <dcbw@redhat.com>
14065
14066         * src/NetworkManagerPolicy.c
14067                 - (nm_policy_device_change_check): switch devices if we lose the link
14068                         on an ethernet device. 
14069
14070 2006-01-16  Dan Williams  <dcbw@redhat.com>
14071
14072         * gnome/applet/wso-wpa-psk-hex.[ch]
14073                 - Renamed -> wso-wpa-psk.[ch]
14074
14075         * gnome/applet/wso-wpa-psk.[ch]
14076                 - New files
14077
14078         * gnome/applet/wso-wpa-psk-passphrase.[ch]
14079                 - Removed, rolled into wso-wpa-psk.[ch]
14080
14081         * gnome/applet/Makefile.am
14082                 - Updated for above changes
14083
14084         * gnome/applet/wireless-applet.glade
14085                 - Consolidate WPA-PSK options into one notebook
14086                         widget, and make dialogs invisible by default
14087                         to fix screen oddities
14088
14089         * gnome/applet/wireless-security-manager.c
14090                 - (wsm_set_capabilities): create the new wpa-psk widget rather
14091                         than both the old hex & passphrase ones
14092
14093 2006-01-16  Dan Williams  <dcbw@redhat.com>
14094
14095         * gnome/applet/other-network-dialog.c
14096                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14097
14098 2006-01-16  Dan Williams  <dcbw@redhat.com>
14099
14100         * gnome/applet/applet.c
14101                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14102                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14103                         prevention to realize window before trying to get server
14104                         time
14105
14106         * gnome/applet/other-network-dialog.c
14107                 - (nmwa_other_network_dialog_run): fix up focus-stealing
14108                         prevention to realize window before trying to get server
14109                         time
14110
14111         * gnome/applet/passphrase-dialog.c
14112                 - (nmi_passphrase_dialog_new): fix up focus-stealing
14113                         prevention to realize window before trying to get server
14114                         time
14115
14116 2006-01-16  Robert Love  <rml@novell.com>
14117
14118         Patch from Timo Hoenig  <thoenig@suse.de:
14119         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14120           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14121           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14122           libnm-util/dbus-helpers.h: add checks whether headers are used
14123           within a C++ build.
14124
14125 2006-01-16  Dan Williams  <dcbw@redhat.com>
14126
14127         * gnome/applet/wireless-security-option.c
14128                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14129
14130 2006-01-16  Dan Williams  <dcbw@redhat.com>
14131
14132         * libnm-util/cipher-wpa-psk-passphrase.c
14133                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14134                         be 8 - 63 characters inclusive
14135
14136 2006-01-16  Dan Williams  <dcbw@redhat.com>
14137
14138         * src/nm-dbus-nm.c
14139                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14140
14141 2006-01-13  Robert Love  <rml@novell.com>
14142
14143         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14144         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14145           modules that do not use an interface.
14146
14147 2006-01-13  Dan Williams  <dcbw@redhat.com>
14148
14149         * src/nm-device.c
14150           src/nm-device.h
14151                 - Allow subclasses to implement deactivate_quickly()
14152                 - (nm_device_deactivate_quickly): call subclass
14153                         deactivate_quickly() methods
14154                 - (nm_device_set_active_link): small cleanups, and don't
14155                         deactivate the device right away because we risk a deadlock
14156                         when called from device thread, waiting for the device
14157                         thread to cancel activation
14158
14159         * src/nm-device-802-11-wireless.c
14160                 - (real_deactivate_quickly): new function
14161                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14162                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14163                         so that we kill the supplicant when we sleep too
14164                 - (supplicant_interface_init): work around naive naming attempts of
14165                         wpa_ctrl when naming sockets
14166
14167 2006-01-13  Dan Williams  <dcbw@redhat.com>
14168
14169         * src/nm-device-802-11-wireless.c
14170                 - (supplicant_cleanup): delete old device control sockets too
14171                 - (supplicant_get_device_socket_path): new function to consolidate
14172                         locations that need a path to a device's control socket
14173
14174 2006-01-12  Robert Love  <rml@novell.com>
14175
14176         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14177           description so that the description is unique for each
14178           pair (device,provider).  Fixes Novell #142773.
14179
14180 2006-01-12  Dan Williams  <dcbw@redhat.com>
14181
14182         * src/nm-device-802-11-wireless.c
14183                 - (supplicant_exec): ensure GError is correctly initialized
14184                         Reported by Diego González (gnome.org #326708)
14185
14186 2006-01-11  Robert Love  <rml@novell.com>
14187
14188         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14189           define if_mii(), open code the same results, and do so without any
14190           type punning.
14191
14192 2006-01-11  Robert Love  <rml@novell.com>
14193
14194         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14195           that wso_foo_new() returned non-NULL.  Instead, only append the new
14196           wso to wsm->options if the wso is non-NULL.  The crux is that we
14197           assume that the relevant key types are implied by WEP and WPA as
14198           appropriate.  To be sure, they should be, but we should not expect
14199           drivers to not be oozing piles of wolf fecal matter.
14200
14201 2006-01-11  Robert Love  <rml@novell.com>
14202
14203         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14204         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14205           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14206           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14207           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14208           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14209           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14210         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14211           comparing values within DBL_EPSILON.  Also fix shadowed variable
14212           usage.
14213
14214 2006-01-11  Dan Williams  <dcbw@redhat.com>
14215
14216         Add options for WPA2 and WPA1+CCMP (AES).
14217
14218         * gnome/applet/wireless-applet.glade
14219                 - Add UI bits for WPA+CCMP
14220
14221         * gnome/applet/other-network-dialog.c
14222                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14223                         and don't allow creation of WPA2 Ad-Hoc networks since
14224                         wpa_supplicant doesn't support them
14225
14226         * gnome/applet/wireless-security-manager.c
14227                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14228                         on to the specific wireless security option being created
14229
14230         * gnome/applet/wireless-security-option.[ch]
14231                 - (wso_wpa_create_key_type_model): new utility function to create
14232                         the model required for WPA Key Type combo box
14233
14234         * gnome/applet/wso-private.h
14235           gnome/applet/wireless-security-option.h
14236                 - Move private function prototypes into wso-private.h
14237
14238         * gnome/applet/wso-wpa-psk-hex.[ch]
14239           gnome/applet/wso-wpa-psk-passphrase.[ch]
14240                 - (append_dbus_params_func): get WPA version from checkbox and pass
14241                         it to the dbus serialization helper
14242                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14243                         key type combo changes
14244                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14245                         model and options
14246
14247         * libnm-util/cipher-wpa-psk-hex.c
14248           libnm-util/cipher-wpa-psk-passphrase.c
14249                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14250                         new function; allow the cipher to be changed after object creation
14251
14252         * src/nm-ap-security-wpa-psk.c
14253                 - (set_description): Do WPA2 descriptions too
14254
14255         * src/nm-ap-security.c
14256                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14257
14258 2006-01-11  Robert Love  <rml@novell.com>
14259
14260         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14261           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14262           from the ifreq structure in lieu of an open coded solution.  Removes
14263           a life-threatening type-punning.
14264         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14265           types, ever, whatsoever, baby.
14266
14267 2006-01-11  Robert Love  <rml@novell.com>
14268
14269         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14270           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14271           assignments to applet->nm_state into a new nmwa_set_state() function
14272           for both cleanliness and to help debugging.
14273
14274 2006-01-10  Robert Love  <rml@novell.com>
14275
14276         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14277           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14278           seconds, exclusive.  That is, we want to sleep x seconds such that
14279           1 < x < 2.
14280
14281 2006-01-10  Robert Love  <rml@novell.com>
14282
14283         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14284           the attr fields according to the example in the email available at
14285           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14286           Conversely, we do have to free 'name', so we do so, fixing a leak.
14287
14288 2006-01-10  Robert Love  <rml@novell.com>
14289
14290         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14291           sure that we close the socket!
14292
14293 2006-01-10  Robert Love  <rml@novell.com>
14294
14295         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14296           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14297           src/nm-device.c: Fix a FIXME!  Reimplement the function
14298           nm_device_update_hw_address() in device subclass variants,
14299           nm_device_802_3_ethernet_set_address() and
14300           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14301           This fixes the existing bug where MAC addresses are all zeros.
14302
14303 2006-01-10  Robert Love  <rml@novell.com>
14304
14305         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14306           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14307           option to give users ability to globally disconnect and put NM to
14308           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14309           clean disconnect.
14310
14311 2006-01-09  Robert Love  <rml@novell.com>
14312
14313         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14314           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14315           User-space does not supply these types, so we have to define them
14316           ourselves.  The relevant kernel maintainer refused to accept a patch
14317           switching these headers to the proper C99 types.
14318
14319 2006-01-09  Dan Williams  <dcbw@redhat.com>
14320
14321         Apply Robert's 'tray icon redo' patch with fixes
14322         * gnome/applet/applet.c
14323           gnome/applet/applet.h
14324                 - Instead of using a menu bar + menu item, simulate menu
14325                         behavior using a popup menu.  Highlight the area around
14326                         the icon more like a menu too, by playing with the
14327                         applet's size requisition
14328
14329 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14330         * libnm-util/dbus-helpers.c
14331           libnm-util/dbus-helpers.h
14332                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14333                         to 'exception_namespace' (:namespace is a keyword in
14334                         C++)
14335
14336 2006-01-09  Dan Williams  <dcbw@redhat.com>
14337
14338         * src/NetworkManagerPolicy.c
14339                 - (nm_policy_device_change_check): don't autoswitch away from
14340                         Ad-Hoc networks, since there's really no concept of
14341                         "link"
14342
14343         * src/nm-dbus-nm.c
14344                 - (nm_dbus_nm_create_wireless_network): mark created networks
14345                         as Ad-Hoc networks
14346
14347         * src/nm-device-802-11-wireless.c
14348                 - (real_activation_success_handler): add user-created Ad-Hoc
14349                         networks to the device's scan list
14350
14351 2006-01-08  Dan Williams  <dcbw@redhat.com>
14352
14353         We now require a patch for wpa_supplicant to support Ad-Hoc
14354         networks:
14355           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14356
14357         * src/nm-device-802-11-wireless.c
14358                 - (supplicant_send_network_config): turn off wpa_supplicant's
14359                         scanning.  Fixes Ad-Hoc networks.
14360
14361 2006-01-08  Dan Williams  <dcbw@redhat.com>
14362
14363         * src/nm-ap-security.c
14364           src/nm-ap-security.h
14365                 - Add a user_created argument to the write_supplicant_config
14366                         functions
14367
14368         * src/nm-ap-security-wep.c
14369           src/nm-ap-security-wpa-psk.c
14370           src/nm-device-802-11-wireless.c
14371                 - Make Ad-Hoc mode somewhat work, at least write the
14372                         correct options to wpa_supplicant
14373
14374 2006-01-08  Dan Williams  <dcbw@redhat.com>
14375
14376         * src/nm-device-802-11-wireless.c
14377                 - Remove unused code from the old device activation path
14378
14379 2006-01-08  Dan Williams  <dcbw@redhat.com>
14380
14381         * libnm-util/dbus-helpers.c
14382                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14383                         dbus when key == NULL
14384
14385 2006-01-08  Dan Williams  <dcbw@redhat.com>
14386
14387         * gnome/applet/nm-gconf-wso-wpa-psk.c
14388                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14389                         correct arguments to nmu_security_deserialize_wpa_psk()
14390
14391         * src/nm-ap-security-wpa-psk.c
14392                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14393                         arguments to nmu_security_deserialize_wpa_psk()
14394
14395 2006-01-08  Dan Williams  <dcbw@redhat.com>
14396
14397         * gnome/applet/wso-wpa-psk-hex.c
14398           gnome/applet/wso-wpa-psk-passphrase.c
14399                 - Hook up the append_dbus_params_func() function
14400
14401 2006-01-08  Dan Williams  <dcbw@redhat.com>
14402
14403         * src/nm-device-802-11-wireless.c
14404                 - (get_wireless_capabilities): correctly detect driver WPA
14405                         capabilities
14406
14407 2006-01-08  Dan Williams  <dcbw@redhat.com>
14408
14409         * gnome/applet/Makefile.am
14410           gnome/applet/wso-wpa-psk-hex.c
14411           gnome/applet/wso-wpa-psk-hex.h
14412                 - New files, implement WPA-PSK Hex key input
14413
14414         * gnome/applet/wireless-applet.glade
14415                 - Change existing wpa-psk stuff to wpa-psk-hex
14416                 - Add new widgets for wpa-psk-passphrase
14417
14418         * gnome/applet/wireless-security-manager.c
14419                 - (wsm_set_capabilities): enable WPA options
14420
14421         * gnome/applet/wso-wpa-psk-passphrase.c
14422                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14423                         for WPA-PSK passphrase
14424
14425 2006-01-08  Dan Williams  <dcbw@redhat.com>
14426
14427         * include/NetworkManager.h
14428                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14429                         applet/info-daemons
14430
14431         * gnome/applet/passphrase-dialog.c
14432                 - Use the constant.  Fixes a bug where the arguments to
14433                         dbus_message_new_error() were incorrect
14434
14435         * src/nm-dbus-nmi.c
14436                 - Use the constant
14437
14438 2006-01-07  Dan Williams  <dcbw@redhat.com>
14439
14440         * src/nm-device-802-11-wireless.c
14441                 - Add a link timeout so we allow the supplicant time to
14442                         reassociate if it can, before we deactivate the card
14443                 - Fix up link status and link updating so things work better
14444
14445 2006-01-07  Dan Williams  <dcbw@redhat.com>
14446
14447         * src/nm-device-802-11-wireless.c
14448                 - Switch over to using wpa_supplicant
14449                 - Add a timeout of 10s for association of the supplicant
14450                 - Start the monitor callback of the supplicant
14451
14452 2006-01-07  Dan Williams  <dcbw@redhat.com>
14453
14454         * src/NetworkManagerUtils.c
14455                 - (nm_utils_supplicant_request,
14456                   nm_utils_supplicant_request_with_check):
14457                         pass correct buffer length to wpa_ctrl_request()
14458
14459 2006-01-07  Dan Williams  <dcbw@redhat.com>
14460
14461         * src/nm-device-private.h
14462           src/nm-device.c
14463                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14464                         this function available to subclasses
14465
14466 2006-01-06  Robert Love  <rml@novell.com>
14467
14468         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14469           user plugging in a network cable signals their preference for to
14470           switch, unless the user explicitly selected a wireless network and
14471           therefore signaled their preference for said wireless network over
14472           wired.  In other words, do exactly what makes sense.
14473
14474 2006-01-06  Robert Love  <rml@novell.com>
14475
14476         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14477           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14478           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14479           showing up in my greps.
14480
14481 2006-01-06  Robert Love  <rml@novell.com>
14482
14483         * gnome/applet/applet-dbus-devices.c,
14484           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14485           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14486           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14487           New Network' both failed in the non-encrypted case because we were
14488           not appending the security options to the DBUS message.  And
14489           'Connect to Other' was also failing in the encrypted case because
14490           we were not incrementing to the next DBUS parameter.  All fixed.
14491           Thanks to dcdw for some debugging help.
14492
14493 2006-01-06  Robert Love  <rml@novell.com>
14494
14495         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14496           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14497           hangup code and add per-device hangup.  Tie last commit into the
14498           GNOME applet.  TODO:  Save, understand, and respond to the state of
14499           each dialup device.
14500
14501 2006-01-06  Robert Love  <rml@novell.com>
14502
14503         Patch by Timo Hoenig <thoenig@suse.de>:
14504         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14505           hangup specific dialup devices.
14506         * src/backends/NetworkManagerDebian.c,
14507           src/backends/NetworkManagerGentoo.c,
14508           src/backends/NetworkManagerRedHat.c,
14509           src/backends/NetworkManagerSlackware.c: Add stub backend.
14510         * src/backends/NetworkManagerRedHat.c,
14511           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14512           hangup specific dialup devices.
14513
14514 2006-01-04  Robert Love  <rml@novell.com>
14515
14516         * gnome/applet/applet-dbus-devices.c,
14517           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14518           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14519           connections.
14520
14521 2006-01-04  Dan Williams  <dcbw@redhat.com>
14522
14523         First dump of wpa_supplicant-related code.  It's not hooked up to
14524         anything yet though.  Thanks to Kay Sievers for
14525         wpa_supplicant_wrapper.c, which formed the basis for this work,
14526         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14527
14528         * src/Makefile.am
14529           src/wpa_ctrl.[ch]
14530                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14531
14532         * src/NetworkManagerUtils.[ch]
14533                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14534                         Add convenience functions for talking to wpa_supplicant
14535
14536         * src/nm-ap-security.[ch]
14537           src/nm-ap-security-wep.c
14538           src/nm-ap-security-wpa-psk.[ch]
14539                 - Update and implement real_write_supplicant_config functions
14540                         in all security types
14541                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14542                         nm-ap-security-wpa-psk.c
14543
14544         * src/nm-device-802-11-wireless.c
14545                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14546                    wpa_supplicant_start, wpa_supplicant_interface_init,
14547                    wpa_supplicant_send_network_config): add functions to talk to
14548                         wpa_supplicant and write network config to it
14549
14550 2006-01-04  Robert Love  <rml@novell.com>
14551
14552         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14553           values so that distribution-backends can differentiate between the
14554           various types (modem, ISDN, et cetera) of dialup device that they
14555           support.
14556         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14557           needed.
14558
14559 2006-01-03  Dan Williams  <dcbw@redhat.com>
14560
14561         * src/NetworkManagerPolicy.c
14562           src/nm-device.[ch]
14563           src/nm-device-802-11-wireless.c
14564                 - Move wireless-specific activation failure and success code
14565                         into wireless device class
14566
14567 2006-01-03  Robert Love  <rml@novell.com>
14568
14569         Patch by Preggna S:
14570         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14571           IPsec does not require that a VPN client be bound to an interface,
14572           due to the use of the in-kernel IPSec bits.  So make the tunnel
14573           device optional.
14574
14575 2006-01-03  Dan Williams  <dcbw@redhat.com>
14576
14577         * src/NetworkManagerAP.c
14578                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14579                         the WPA IE specifies that WEP is supported
14580
14581         * src/nm-device-802-11-wireless.c
14582                 - (process_scan_results): don't mark an AP as supporting WEP
14583                         if there's already other encryption capability info
14584
14585 2006-01-03  Dan Williams  <dcbw@redhat.com>
14586
14587         * src/dhcp-manager/nm-dhcp-manager.c
14588                 - Recognize activation cancellation when waiting for DHCP
14589                         configuration from dhcdbd
14590                 - Ignore non-dhcdbd messages
14591
14592         * src/nm-device.c
14593                 - (real_act_stage3_ip_config_start): return to correct behavior
14594                         of letting the dhcp-manager notify us of failure or
14595                         success rather than incorrectly doing that ourselves
14596                 - (nm_device_activate_stage4_ip_config_get): deal with
14597                         activation cancellation a bit earlier
14598
14599 2006-01-03  Dan Williams  <dcbw@redhat.com>
14600
14601         * src/nm-device-802-11-wireless.c
14602           src/nm-device.[ch]
14603                 - Add hooks to subclasses for stage3_ip_config_start and
14604                         stage4_ip_config_timeout
14605
14606         * src/nm-device-802-3-ethernet.c
14607                 - (real_get_generic_capabilities): make devices NM-supported
14608                         by default
14609
14610 2006-01-03  Robert Love  <rml@novell.com>
14611
14612         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14613           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14614           latter cannot differentiate between error and the address -1; misc.
14615           clean up.
14616
14617 2006-01-03  Dan Williams  <dcbw@redhat.com>
14618
14619         * src/NetworkManager.c
14620                 - Move link-checking/probing into the device subclasses
14621                         themselves
14622
14623         * src/nm-device.[ch]
14624           src/nm-device-802-11-wireless.c
14625           src/nm-device-802-3-ethernet.c
14626                 - Do periodic link checking in device subclasses rather
14627                         than being triggered from NetworkManager.c
14628                 - discover_wireless_capabilities -> get_wireless_capabilities
14629                 - discover_generic_capabilities -> get_generic_capabilities
14630                 - Device subclass activation routines now return a value of type
14631                         NMActStageReturn to indicate what step to perform next
14632                 - Devices now override stage4_get_ip4_config if they choose
14633
14634 2006-01-01  Dan Williams  <dcbw@redhat.com>
14635
14636         * src/nm-device-802-11-wireless.c
14637                 - (real_init): don't chain up to parent init because we don't
14638                         need to do that anymore
14639
14640         * src/nm-device.c
14641                 - (discover_device_type): fix arguments to ioctl() to correctly
14642                         pass interface name
14643                 - (nm_device_new): consolidate generic device initialization into
14644                         nm_device_new()
14645                 - (real_init): remove, consolidated to nm_device_new()
14646                 - (nm_device_deactivate, real_deactivate): consolidate
14647
14648 2006-01-01  Dan Williams  <dcbw@redhat.com>
14649
14650         * src/nm-activation-request.c
14651                 - Change dhcp_state member of the NMActRequest structure
14652                         from guint8 to guint32
14653
14654         * src/dhcp-manager/nm-dhcp-manager.[ch]
14655                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14656                         than guint8 to match the dbus argument.  Turns out we were
14657                         overwriting memory since we were passing in only a guint8
14658
14659 2005-12-31  Dan Williams  <dcbw@redhat.com>
14660
14661         * refactor NMDevice into a GObject-based framework with separate
14662                 objects for wired and wireless.  The following files are no
14663                 longer used but should stick around for a bit so we don't
14664                 loose code through the cracks:
14665                         NetworkManagerDevice.c
14666                         NetworkManagerDevice.h
14667                         NetworkManagerWireless.c
14668                         NetworkManagerWireless.h
14669
14670         The intent here is to allow each device type to manage its own
14671         connection & activation life-cycle, ie to allow wireless devices
14672         to interface with wpa_supplicant, etc.  There's a fair bit of
14673         encapsulation breakage right now that should gradually get pulled
14674         back into each device, along with things like periodic property
14675         updates and link probing.
14676
14677 2005-12-29  Dan Williams  <dcbw@redhat.com>
14678
14679         * include/NetworkManager.h
14680                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14681                         between networks that don't have any encryption at all
14682
14683 2005-12-29  Dan Williams  <dcbw@redhat.com>
14684
14685         * test/test-common.c
14686           test/test-common.h
14687           test/Makefile.am
14688                 - Move to a test-common subdirectory
14689
14690         * test/libnm-util/test-ciphers.c
14691                 - Move test data to test-inputs.h
14692                 - Test WPA ciphers too
14693
14694         * test/libnm-util/test-dbus-helpers.c
14695                 - Test serialization/deserialization of ciphers
14696
14697 2005-12-29  Dan Williams  <dcbw@redhat.com>
14698
14699         * gnome/applet/applet-dbus-devices.c
14700                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14701                         in dbus calls to NM
14702                 - Set capabilities on WirelessNetwork objects
14703                 - Receive and save type-specific device capabilities too
14704
14705         * gnome/applet/applet-dbus-info.c
14706           gnome/applet/applet-dbus.c
14707                 - Passphrase dialog no longer a singleton; new instance gets created
14708                         on each request.  Updates to deal with that.
14709
14710         * gnome/applet/applet.c
14711                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14712                         than single 'encrypted' flag
14713                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14714                         menu items
14715                 - Passphrase dialog updates per above
14716
14717         * gnome/applet/menu-items.c
14718                 - (network_menu_item_update): use AP capabilities to determine
14719                         encryption
14720
14721         * gnome/applet/nm-device.[ch]
14722                 - Add accessors for type-specific device capabilities
14723
14724         * gnome/applet/other-network-dialog.c
14725                 - Rework to respect device capabilities.  i.e., if the device doesn't
14726                         support WPA, remove that option from the security dropdown
14727
14728         * gnome/applet/passphrase-dialog.c
14729                 - Massive rework so that a new instance is created each time
14730                         it's used, to support wireless network capabilities
14731
14732         * gnome/applet/wireless-network.[ch]
14733                 - Add accessors and members for wireless network capabilities
14734
14735         * gnome/applet/wireless-security-manager.[ch]
14736                 - (wsm_set_capabilities): called after creation to set which
14737                         security options get shown to the user
14738
14739 2005-12-29  Dan Williams  <dcbw@redhat.com>
14740
14741         * libnm-util/cipher-wpa-psk-passphrase.c
14742                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14743                         like other ciphers
14744
14745 2005-12-23  Dan Williams  <dcbw@redhat.com>
14746
14747         * gnome/applet/applet-dbus-info.c
14748                 - (nmi_dbus_get_key_for_network): if there's no entry in
14749                         GConf for a network, assume we want a new key
14750                 - (nmi_save_network_info): serialize wireless security info
14751                         into GConf so its saved
14752
14753         * src/nm-dbus-nm.c
14754                 - Fix warning as we may not be passed security info when
14755                         connecting to a wireless network
14756
14757 2005-12-23  Dan Williams  <dcbw@redhat.com>
14758
14759         * gnome/applet/applet-compat.c
14760                 - Fix bugs in GConf entry conversion
14761
14762         * gnome/applet/applet-dbus-info.c
14763                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14764                         list being zero-length
14765
14766         * libnm-util/cipher-*
14767           libnm-util/dbus-helpers.c
14768                 - All ciphers must now return hashed keys as UTF-8 valid
14769                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14770                         through dbus as strings too.
14771                 - Consolidate various functions that do bin->hex and hex->bin
14772                         conversion into cipher.c
14773
14774         * src/nm-ap-security-wep.c
14775           src/nm-ap-security-wpa-psk.c
14776                 - Handle NULL keys since we may not know keys right away
14777
14778         * src/nm-dbus-nmi.c
14779                 - (nm_dbus_get_network_data_cb): actually advance to the start
14780                         of the wireless security info before we try to deserialize it
14781
14782         * libnm-util/test-ciphers.c
14783                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14784
14785 2005-12-22  Dan Williams  <dcbw@redhat.com>
14786
14787         * gnome/applet/applet-compat.[ch]
14788                 - Convert old-format GConf and keyring entries
14789                         when the applet starts up.
14790
14791         * gnome/applet/applet.c
14792                 - (nmwa_get_instance): Call the conversion function
14793                         on startup before dbus is initialized
14794
14795 2005-12-22  Dan Williams  <dcbw@redhat.com>
14796
14797         * gnome/applet/applet-dbus-info.c
14798                 - Remove nmi_dbus_create_error_message() in favor of
14799                         nmu_create_dbus_error_message()
14800                 - (nmi_dbus_get_network_properties): Error message cleanups
14801                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14802                         gconf key rather than 'addresses', since they really are BSSIDs
14803                 - (nmi_dbus_get_network_properties): Dispose of the security
14804                         object when we're done with it
14805
14806 2005-12-21  Dan Williams  <dcbw@redhat.com>
14807
14808         * Consolidate the info-daemon's "updateNetworkInfo" and
14809                 "addNetworkAddress" calls into just "updateNetworkInfo"
14810
14811 2005-12-21  Dan Williams  <dcbw@redhat.com>
14812
14813         * Make connection after key retrieval work again
14814
14815 2005-12-21  Dan Williams  <dcbw@redhat.com>
14816
14817         * gnome/applet/nm-gconf-wso*
14818                 - Make the serialize functions return gboolean
14819                         rather than int
14820
14821         * gnome/applet/nm-gconf-wso.c
14822                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14823                         parent class handling so we don't segfault
14824
14825         * src/NetworkManagerAP.[ch]
14826                 - (nm_ap_get_capabilities): new function, return capabilities
14827                         now that something can use them
14828                 - (nm_ap_set_encrypted): assume that an access point supports
14829                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14830                         we even tell whether it just supports WEP40?
14831
14832         * src/NetworkManagerDevice.c
14833                 - (ap_need_key): resurrect and update for the New World Order
14834                 - (nm_device_wireless_get_activation_ap): if we're not given
14835                         security info to use, create some based on access point
14836                         capabilities
14837
14838         * src/nm-ap-security-wep.c
14839                 - (nm_ap_security_wep_new_from_ap): create a new object
14840                         based on a certain access point's capabilities
14841
14842         * src/nm-ap-security.c
14843                 - (nm_ap_security_new_from_ap): delegate creation of a new
14844                         object based on access point capabilities to a subclass
14845                 - (nm_ap_security_copy_properties): don't segfault if we
14846                         don't have a key yet
14847
14848         * src/nm-dbus-nm.c
14849                 - (nm_dbus_nm_set_active_device): provide more informative
14850                         output when errors occur.  Also construct security info
14851                         for a given access point if we weren't given any
14852
14853 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14854
14855         * configure.in: Added Lithuanian to ALL_LINGUAS.
14856
14857 2005-12-21  Dan Williams  <dcbw@redhat.com>
14858
14859         * test/libnm-util
14860                 - Add some testcases for WEP ciphers
14861
14862 2005-12-17  Dan Williams  <dcbw@redhat.com>
14863
14864         * Fix bugs
14865
14866 2005-12-17  Dan Williams  <dcbw@redhat.com>
14867
14868         * include/NetworkManager.h
14869                 - Finally kill NMEncKeyType
14870
14871         * gnome/applet/applet-dbus-info.c
14872                 - (nmi_save_network_info): convert to NMGConfWSO
14873
14874         * gnome/applet/nm-gconf-wso-*.c
14875                 - Implement gconf serialization functions
14876
14877         * src/NetworkManagerPolicy.c
14878                 - (nm_policy_activation_finish): fix up meaning of
14879                         automatic/user_requested
14880
14881 2005-12-17  Dan Williams  <dcbw@redhat.com>
14882
14883         * gnome/applet/*
14884                 - More applet cleanups
14885                 - Use the dbus-method-dispatcher
14886
14887         * libnm-util/dbus-method-dispatcher.[ch]
14888                 - Generalize the implementation from NM in
14889                         NetworkManagerUtils.c
14890
14891 2005-12-16  Dan Williams  <dcbw@redhat.com>
14892
14893         * gnome/applet/*
14894                 - Fix up the passphrase dialog to use all the
14895                         WirelessSecurityOption stuff (untested)
14896
14897 2005-12-16  Dan Williams  <dcbw@redhat.com>
14898
14899         * Move nm_gconf_get_*_helper() functions to separate files,
14900                 gconf-helpers.c & gconf-helpers.h
14901
14902         * New NMGConfWSO objects for managing the gconf side of things.
14903                 Eventually these should be merged with the
14904                 WirelessSecurityOption objects and a common base (that can
14905                 serialize/deserialize from dbus & gconf) should be
14906                 refactored out, but for now they are separate.
14907
14908 2005-12-16  Robert Love  <rml@novell.com>
14909
14910         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14911           binaries unless they exist (nm_spawn_process() emits a warning if
14912           asked to spawn a non-existant process).
14913
14914 2005-12-16  Dan Williams  <dcbw@redhat.com>
14915
14916         * gnome/applet/applet-dbus-info.c
14917                 - Clean up lots of gconf-related code
14918
14919 2005-12-16  Robert Love  <rml@novell.com>
14920
14921         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14922
14923 2005-12-16  Dan Williams  <dcbw@redhat.com>
14924
14925         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14926
14927         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14928                 bits still to be done)
14929
14930 2005-12-16  Dan Williams  <dcbw@redhat.com>
14931
14932         * Finally move info-daemon related stuff out of
14933                 NetworkManagerDbus.c to nm-dbus-nmi.c
14934
14935 2005-12-16  Dan Williams  <dcbw@redhat.com>
14936
14937         * Kill auth_method for access points, since that's now done
14938                 by NMAPSecurity objects
14939
14940         * Add a copy-constructor of sorts to NMAPSecurity
14941                 (how do you do this properly in glib???)
14942
14943 2005-12-15  Dan Williams  <dcbw@redhat.com>
14944
14945         * Exorcise encryption key hashing on APs
14946         * Use libnm-util's serialization/deserialization in both the
14947                 applet and NM
14948         * Random other stuff
14949
14950 2005-12-15  Robert Love  <rml@novell.com>
14951
14952         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14953           is being added to the icon naming spec, so let's use that (Tango CVS
14954           has the icon).  Because it is new, however, we fall back to the
14955           current "gnome-lockscreen" if the new icon is not around, thus
14956           behavior is the same.
14957         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14958           factory junk.
14959
14960 2005-12-15  Robert Love  <rml@novell.com>
14961
14962         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14963           well, help to give.  Couple other misc. bits.
14964
14965 2005-12-15  Dan Williams  <dcbw@redhat.com>
14966
14967         * libnm-util/dbus-helpers.[ch]
14968                 - Make this the one-stop-shop for serializing/deserializing
14969                         AP & connection security settings over dbus.  Both NM
14970                         and applets should use this to ensure consistent dbus
14971                         API going forwared.
14972
14973 2005-12-15  Robert Love  <rml@novell.com>
14974
14975         Patch by Timo Hoenig  <thoenig@suse.de>:
14976         * src/NetworkManagerDbus.c
14977                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14978                         if HAL jumps off the system bus.  Otherwise libdbus
14979                         (dbus_connection_dispatch) will try to run the filter
14980                         function of our libhal context which is already freed.
14981
14982 2005-12-15  Alexander Shopov  <ash@contact.bg>
14983
14984         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14985
14986 2005-12-14  Dan Williams  <dcbw@redhat.com>
14987
14988         * include/NetworkManager.h
14989           src/NetworkManagerWireless.c
14990                 - Rearrange 802.11 wireless-specific capabilities again
14991
14992         * src/Makefile.am
14993                 - Forgot to add wpa.c/wpa.h to the makefiles
14994
14995         * src/NetworkManagerAP.[ch]
14996                 - Implement access point capabilities and parse the
14997                         WPA/RSN IEs into the capability bitfield
14998                 - Switch the "encrypted" attribute to utilize the bitfield
14999                         and capabilities rather than being independent
15000
15001         * src/NetworkManagerDevice.c
15002                 - (nm_device_wireless_get_activation_ap): break it horribly
15003                         until we can push NMAPSecurity objects into access point
15004                         objects and through the activation chain
15005                 - Stuff WPA & RSN IEs into AP capabilities
15006
15007         * src/nm-dbus-nm.c
15008                 - Take a shot at actually making setActiveDevice work
15009
15010         * src/wpa.[ch]
15011                 - Make the API a bit saner
15012
15013 2005-12-14  Dan Williams  <dcbw@redhat.com>
15014
15015         * include/NetworkManager.h
15016                 - Add 802.11-specific capability for 802.1x key
15017                         management
15018
15019         * src/wpa.[ch]
15020                 - Pull in WPA IE and RSN IE parsing code from
15021                         wpa_supplicant so we can determine access point
15022                         capabilities
15023                 - Move WPA-related constants here from NetworkManagerAP.h
15024                         and NetworkManagerDevice.c
15025
15026         * src/NetworkManagerDevice.c
15027           src/NetworkManagerAP.[ch]
15028                 - Use WPA-related constants from wpa.h
15029
15030 2005-12-14  Dan Williams  <dcbw@redhat.com>
15031
15032         * include/NetworkManager.h
15033                 - Update and split 802.11 wireless-specific capabilities from
15034                         generic device capabilities
15035
15036         * src/NetworkManagerDevice.c
15037           src/NetworkManagerDevicePrivate.h
15038                 - (nm_device_wireless_discover_capabilities): Move 802.11
15039                         wireless-specific capability checks to
15040                         NetworkManagerWireless.c
15041                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15042                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15043
15044         * src/NetworkManagerWireless.[ch]
15045                 - (nm_802_11_wireless_discover_capabilities): Check extended
15046                         802.11 wireless-specific capabilities of the driver
15047
15048 2005-12-14  Robert Love  <rml@novell.com>
15049
15050         Patch from Stefan Scheler <sscheler@suse.de>:
15051         * src/NetworkManagerDevice.c: call backend code to activate and
15052           deactivate NIS.
15053         * src/NetworkManagerSystem.h: add new NIS interfaces.
15054         * src/backends/NetworkManagerDebian.c,
15055           src/backends/NetworkManagerGentoo.c,
15056           src/backends/NetworkManagerRedHat.c,
15057           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15058           support.
15059         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15060
15061 2005-12-14  Dan Williams  <dcbw@redhat.com>
15062
15063         * src/nm-ap-security*.[ch]
15064                 - Add AP security abstractions to NetworkManager
15065
15066         * src/nm-dbus-device.c
15067                 - Begin to parse new format dbus messages from the applet
15068                         and construct an AP security object from the message
15069
15070         * libnm-util/dbus-helpers.c
15071                 - Use message iters so we can append the key as a fixed
15072                         array of bytes, which actually works rather than
15073                         using dbus_message_append_args() as we were before
15074
15075 2005-12-14  Dan Williams  <dcbw@redhat.com>
15076
15077         * src/NetworkManagerDbus.c
15078           gnome/applet/applet-dbus.c
15079                 - Fix up dbus service replacement options.  The applet
15080                         should allow replacement, NM itself should not.
15081
15082 2005-12-13  Robert Love  <rml@novell.com>
15083
15084         * src/named-manager/nm-named-manager.c: Revert earlier commit.
15085           Instead, fail silently if config is NULL by not asserting and not
15086           returning FALSE.  Also, make sure we always fclose() the file.
15087
15088 2005-12-13  Robert Love  <rml@novell.com>
15089
15090         Patch by Stefan Scheler <sscheler@suse.de>:
15091         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
15092            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15093            via DHCP.  Still need the backends to commit the NIS domain name and
15094            and servers to yp.conf as needed.
15095
15096 2005-12-13  Robert Love  <rml@novell.com>
15097
15098         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15099           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15100
15101 2005-12-13  Robert Love  <rml@novell.com>
15102
15103         * src/named-manager/nm-named-manager.c: Don't unref the config until
15104           after we call rewrite_resolv_conf(), because get_last_default_domain()
15105           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
15106           `config != NULL' failed" assertion failures and "Could not commit DNS
15107           changes" warnings.
15108
15109 2005-12-12  Dan Williams  <dcbw@redhat.com>
15110
15111         * libnm-util/dbus-helpers.[ch]
15112           libnm-util/Makefile.am
15113                 - new helper calls to consolidate locations where
15114                         NM's setDevice method is called
15115
15116         * gnome/applet/applet-dbus-devices.c
15117           gnome/applet/wireless-security-option.c
15118           gnome/applet/wso-*
15119                 - Implement dbus message param append function for
15120                         all wireless security options
15121
15122 2005-12-12  Robert Love  <rml@novell.com>
15123
15124         * libnm-util/cipher-wep-passphrase.c,
15125           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15126           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15127           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15128           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15129           When handling keys, we don't care what the sign is.  The compiler
15130           guarantees us that we get our 8-bits, which is all we care about.
15131         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
15132
15133 2005-12-12  Dan Williams  <dcbw@redhat.com>
15134
15135         * gnome/applet/applet-dbus-devices.[ch]
15136           gnome/applet/applet.c
15137           gnome/applet/other-network-dialog.c
15138           gnome/applet/wireless-security-manager.[ch]
15139           gnome/applet/wireless-security-option.[ch]
15140           gnome/applet/wso-*
15141                 - Push the wireless security options further into the applet
15142
15143 2005-12-12  Robert Love  <rml@novell.com>
15144
15145         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15146           return any name servers.  That is perfectly valid.  (Novell #134369).
15147
15148 2005-12-11  Dan Williams  <dcbw@redhat.com>
15149
15150         * gnome/applet/wso-*
15151           gnome/applet/wireless-security-option.*
15152           gnome/applet/Makefile.am
15153                 - split each security option out so we can eventually
15154                         have each one build up their own dbus message
15155                         arguments to send to NM
15156
15157 2005-12-11  Dan Williams  <dcbw@redhat.com>
15158
15159         * Make validation of the key work correctly
15160
15161 2005-12-11  Dan Williams  <dcbw@redhat.com>
15162
15163         * Hook more bits of the Other Network Dialog up to the
15164                 wireless security manager stuff, and restructure
15165                 bits of the dialog so there's less code.
15166
15167 2005-12-10  Dan Williams  <dcbw@redhat.com>
15168
15169         * gnome/applet/Makefile.am
15170                 - Add libnm-util to includes
15171                 - Add libnm-util to link list
15172                 - Add wireless-security-common.* to compile list
15173
15174         * gnome/applet/other-network-dialog.c
15175                 - Convert to using the WirelessSecurityManager code and
15176                         widgets
15177
15178         * gnome/applet/passphrase-dialog.c
15179                 - Comment out references to stuff in the glade file that
15180                         cause runtime errors until it can be fixed up
15181                         to use the WirelessSecurityManager code
15182
15183         * gnome/applet/wireless-applet.glade
15184                 - Rename some widgets
15185                 - Add widgets for the WirelessSecurityManager code
15186                 - Remove passphrase-related stuff since that's now
15187                         handled by the WirelessSecurityManager code
15188
15189 2005-12-10  Dan Williams  <dcbw@redhat.com>
15190
15191         * gnome/applet/applet-dbus-devices.c
15192                 - Print out error message details for dbus pending call callbacks
15193                 - Move nmwa_dbus_update_devices() up
15194
15195         * gnome/applet/applet-dbus-vpn.c
15196                 - Print out error message details for dbus pending call callbacks
15197
15198 2005-12-10  Dan Williams  <dcbw@redhat.com>
15199
15200         * libnm-util/*
15201                 - More fixups
15202                 - Remove cipher-manager.* because we don't need it
15203                 - Forgot to add gnome-keyring-md5 files to compile list
15204
15205 2005-12-09  Dan Williams  <dcbw@redhat.com>
15206
15207         * libnm-util/*
15208           configure.in
15209           Makefile.am
15210                 - Add a utility library for clients of NetworkManager.  It's
15211                         only targetted at applets for the moment, and contains
15212                         a generalized 802.11 cipher framework for different
15213                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15214
15215 2005-12-09  Robert Love  <rml@novell.com>
15216
15217         * src/NetworkManagerDevice.c: handle error better in
15218           nm_device_set_mode().
15219
15220 2005-12-08  Robert Love  <rml@novell.com>
15221
15222         * include/NetworkManager.h: add WPA capabilities constants
15223         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15224           or WPA2 and add the capabilities bits as appropriate.
15225
15226 2005-12-08  Robert Love  <rml@novell.com>
15227
15228         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15229           NetworkManagerDispatcher.
15230         * configure.in, initscript/SUSE/.cvsignore,
15231           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15232           initscript.
15233
15234 2005-12-08  Robert Love  <rml@novell.com>
15235
15236         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15237
15238 2005-12-08  Robert Love  <rml@novell.com>
15239
15240         * src/NetworkManagerDevice.c: We want to fall back on and default to
15241           IW_MODE_AUTO, not -1, which is more in line with our previous
15242           behavior.  Otherwise, we try to set the wireless mode to -1 in
15243           nm_device_set_mode().
15244
15245 2005-12-07  Robert Love  <rml@novell.com>
15246
15247         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15248           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15249           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15250           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15251           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15252           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15253           zero.
15254
15255 2005-12-07  Robert Love  <rml@novell.com>
15256
15257         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15258           supplied IP is invalid, fall back to DHCP.
15259
15260 2005-12-07  Dan Williams  <dcbw@redhat.com>
15261
15262         * Convert NETWORK_MODE_* constants to IW_MODE_*
15263         * Make all the get_mode/set_mode functions take and return 'int'
15264         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15265
15266 2005-12-07  Robert Love  <rml@novell.com>
15267
15268         * src/NetworkManagerDevice.c: strncpy() buffer check.
15269         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15270
15271 2005-12-06  Dan Williams  <dcbw@redhat.com>
15272
15273         * gnome/applet/applet-dbus.c
15274                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15275
15276         * gnome/applet/applet-dbus-vpn.c
15277                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15278                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15279                         to TRUE here if stage was ACTIVATED
15280
15281 2005-12-06  Dan Williams  <dcbw@redhat.com>
15282
15283         * Change nm_device_is_* functions to better names:
15284                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15285                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15286
15287 2005-12-06  Dan Williams  <dcbw@redhat.com>
15288
15289         * Change naming of NMDeviceType to something more sensible:
15290                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15291                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15292                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15293
15294 2005-12-06  Dan Williams  <dcbw@redhat.com>
15295
15296         * Move NetworkManager.h -> include/NetworkManager.h
15297         * Split out VPN stuff into include/NetworkManagerVPN.h
15298         * Fix up makefiles to include new location
15299         * Fix up sources to include NetworkManagerVPN.h
15300
15301 2005-12-06  Dan Williams  <dcbw@redhat.com>
15302
15303         Various changes in the applet to move VPN connection "state" -> "stage",
15304         which it actually is.  I'd like to change the signal as well when we
15305         break compat in the near future.
15306
15307 2005-12-06  Dan Williams  <dcbw@redhat.com>
15308
15309         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15310         * initscript/Slackware/rc.networkmanager
15311                 - Cosmetic fix
15312
15313         * src/backends/NetworkManagerSlackware.c
15314                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15315                         interfaces
15316
15317 2005-12-05  Robert Love  <rml@novell.com>
15318
15319         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15320           to free, particularly here as it just barfs.
15321
15322 2005-12-05  Dan Williams  <dcbw@redhat.com>
15323
15324         * gnome/applet/applet-dbus.c
15325                 - Work with dbus 0.6 too
15326
15327 2005-12-03  Dan Williams  <dcbw@redhat.com>
15328
15329         * src/NetworkManagerUtils.[ch]
15330           src/nm-ip4-config.c
15331                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15332                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15333
15334 2005-12-01  Robert Love  <rml@novell.com>
15335
15336         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15337           need a NULL for the '...' parameter, too, to fill the so-called
15338           sentinel.
15339
15340 2005-12-01  Robert Love  <rml@novell.com>
15341
15342         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15343           interface is already gone, so don't call rtnl_link_change() to down
15344           it (which will segfault, anyhow).
15345
15346 2005-11-22  Robert Love  <rml@novell.com>
15347
15348         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15349           gateway is not set, just print a little note.  Configurations without
15350           gateways are valid.
15351
15352 2005-11-22  Robert Love  <rml@novell.com>
15353
15354         * README: update
15355
15356 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15357
15358         * configure.in: Added Finnish translation to ALL_LINGUAS
15359
15360 2005-11-14  Robert Love  <rml@novell.com>
15361
15362         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15363           Niemueller <tim@niemueller.de>.
15364
15365 2005-11-08  Dan Williams  <dcbw@redhat.com>
15366
15367         Patch from Bill Moss <bmoss@clemson.edu>
15368         * src/NetworkManagerDevice.c
15369                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15370                         of nm_policy_schedule_activation_finish() to prevent a
15371                         race condition that causes the link to be dropped
15372
15373 2005-11-08  Dan Williams  <dcbw@redhat.com>
15374
15375         Patch from Bill Moss <bmoss@clemson.edu>
15376         * src/NetworkManagerAPList.c
15377           src/NetworkManagerDevice.c
15378           src/NetworkManagerDbus.c
15379                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15380                         we get more readable ether/mac addresses
15381
15382 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15383
15384         * gnome/applet/main.c: Don't set the restart command.  This fixes
15385         the issue where the restart command was getting copies of all its
15386         arguments for each time the applet was restarted.
15387
15388 2005-11-02  Robert Love  <rml@novell.com>
15389
15390         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15391           if the widget state differs from our saved state.  This ensures we
15392           do not enter an endless loop of death and destruction.  Also, this
15393           guarantees us that we enforce the widget state.
15394
15395 2005-11-02  Robert Love  <rml@novell.com>
15396
15397         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15398         * gnome/applet/applet-dbus-devices.c: invoke the new function
15399           nmwa_enable_wireless_set_active() to ensure that the state of the
15400           'Enable Wireless' checkbox matches the daemon's state.  This is a
15401           concern because the daemon remembers the state.
15402
15403 2005-11-02  Robert Love  <rml@novell.com>
15404
15405         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15406           Enabled", as checkboxes should be actions/commands not positive
15407           statements, otherwise they are confusing in the unselected case.  See
15408           examples in GNOME HIG, Chapter 6.
15409
15410 2005-11-02  Robert Love  <rml@novell.com>
15411
15412         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15413           show a list of wireless networks or the wireless devices or the
15414           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15415           a bad bug: If wireless is disabled and the user picks a wireless
15416           network, NM will switch to the network, only to immediately switch
15417           back, as wireless is disabled.  This also reassures people that NM
15418           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15419
15420 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15421
15422         * gnome/applet/applet.c:
15423         * gnome/applet/applet.h:
15424         Partial backout of Dan's timeout animation patch.
15425         Timeout IDs cannot legally be 0, so revert the code in place to handle
15426         a timeout ID of 0 to denote the timeout isn't running.
15427
15428 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15429
15430         * src/NetworkManagerPolicy.c:
15431         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15432
15433 2005-10-28  Robert Love  <rml@novell.com>
15434
15435         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15436           "Import Saved Configuration..." to make it clear that importing is
15437           not the next step, but an option.  As an aside, a nice TODO would be
15438           to move Importing out of the vpn-specific dialog and into the main
15439           property editor, as Importing goes with Adding, but that will require
15440           some rearchitecting of the VPN stuff I suspect.
15441
15442 2005-10-27  Dan Williams  <dcbw@redhat.com>
15443
15444         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15445         we should replace most of the distro-specific backend code
15446         with libnl stuff.
15447
15448         Get it here:  http://people.suug.ch/~tgr/libnl/
15449
15450         * configure.in
15451           src/Makefile.am
15452                 - Add checks for libnl pkgconfig file
15453                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15454
15455         * src/NetworkManagerSystem.c
15456           src/nm-ip4-config.[ch]
15457                 - Use libnl rather than ioctl() for most things
15458                 - Remove unused functions
15459
15460 2005-10-27  Robert Love  <rml@novell.com>
15461
15462         * src/backends/NetworkManagerSuSE.c: fix warning message text
15463
15464 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15465
15466         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15467
15468 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15469
15470         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15471         project page <http://www.gnome.org/projects/NetworkManager/>
15472
15473 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15474
15475         * gnome/applet.c: Also use translator credits if we don't have
15476         the new GtkAboutDialog (older versions of GTK+)
15477
15478 2005-10-26  Robert Love  <rml@novell.com>
15479
15480         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15481           failure; correct usage text for "--no-daemon"
15482
15483 2005-10-25  Dan Williams  <dcbw@redhat.com>
15484
15485         * src/NetworkManagerDevice.c
15486                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15487                         no scan results
15488                 - (free_process_scan_cb_data): unref the device when freeing results
15489                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15490                         so we don't unref the device underneath ourselves
15491
15492 2005-10-25  Dan Williams  <dcbw@redhat.com>
15493
15494         * Back out 2005-10-24 commit from Tor Krill.  Patch
15495                 causes nameservers never to be removed from named.
15496
15497 2005-10-24  Dan Williams  <dcbw@redhat.com>
15498
15499         Clean up wireless scanning and wireless link probing.
15500
15501         * src/NetworkManagerDevice.c
15502                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15503                         just see if there's an activation request on the device, and check the
15504                         current link against the activation request access point's ESSID.
15505                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15506                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15507                         don't call process_scan_results() on zero-length data
15508                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15509                         15 seconds (from 10)
15510
15511 2005-10-24  Dan Williams  <dcbw@redhat.com>
15512
15513         Cleanup some applet stuff:
15514
15515         - Animation timeouts.  If NM died while the applet was animating,
15516                 the applet would not hide itself.  This is now fixed.
15517
15518         - Remove some dead code
15519
15520         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15521                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15522
15523         - Track animation timeout using a gboolean rather than the timeout's
15524                 ID, since timeout IDs can legally be 0.
15525
15526 2005-10-24  Dan Williams  <dcbw@redhat.com>
15527
15528         * src/backends/interface_parser.c
15529                 - Add void to function declarations that need it
15530                         to match patch from Engin AYDOGAN
15531
15532         * src/backends/interface_parser.h
15533                 - Remove unused prototype for ifparser_interfaces()
15534
15535         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15536         * src/backends/interface_parser.h:
15537                 - Compile fixes for gcc 4.0.2 (add void)
15538
15539 2005-10-24  Dan Williams  <dcbw@redhat.com>
15540
15541         Patch from Tor Krill <tor@krill.nu>
15542         * src/named-manager/nm-named-manager.c
15543                 - Write more than just the first nameserver to /etc/resolv.conf
15544                 - Write out valid /etc/resolv.conf on exit
15545
15546 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15547
15548         * gnome/applet/applet-dbus-vpn.c:
15549         Get rid of spurious newlines in debug console output
15550
15551 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15552
15553         * src/backends/NetworkManagerGentoo.c:
15554         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15555
15556 2005-10-20  Robert Love  <rml@novell.com>
15557
15558         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15559           direct comparison of floating point values, which is never correct.
15560           Also some misc. cleanup.
15561
15562 2005-10-19  Robert Love  <rml@novell.com>
15563
15564         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15565
15566 2005-10-19  Robert Love  <rml@novell.com>
15567
15568         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15569           sensitivity of the buttons.  Specificaly, do the right thing if
15570           there are no entries.
15571
15572 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15573
15574         * configure.in: Update check for adequate wireless-tools
15575         with an AC_TRY_COMPILE for the new symbols we use.
15576
15577 2005-10-19  Dan Williams  <dcbw@redhat.com>
15578
15579         * src/NetworkManagerDevice.c
15580                 - (process_scan_results): don't drop the last (or only)
15581                         access point we see
15582
15583 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15584
15585         * src/backends/NetworkManagerSlackware.c:
15586         Patch from Nico <lordllucifer@gmail.com>
15587                 - Update the Slackware backend.
15588
15589 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15590
15591         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15592         if we've got GLib 2.8.0
15593
15594 2005-10-18  Robert Love  <rml@novell.com>
15595
15596         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15597           function nm_schedule_state_change_signal_broadcast() when we
15598           deactivate a device, too.
15599
15600 2005-10-18  Robert Love  <rml@novell.com>
15601
15602         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15603           be used uninitialized.
15604
15605 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15606
15607         * test/libnm_glib_test.c: Test unregistering, too.
15608
15609 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15610
15611         * configure.in: Bump to 0.5.0
15612
15613 2005-10-17  Dan Williams  <dcbw@redhat.com>
15614
15615         * NetworkManager.h
15616                 - Remove WPA-related constants so they aren't part of the
15617                         upcoming release.
15618
15619 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15620
15621         * gnome/applet/applet.c:
15622         * gnome/applet/applet.h:
15623         Desensitize the 'Connection Information' menu item when there is
15624         no active connection.
15625
15626 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15627
15628         * gnome/libnm_glib/libnm_glib.c:
15629         Make libnm_glib_unregister_callback () actually unregister the callback
15630
15631 2005-10-17  Robert Love  <rml@novell.com>
15632
15633         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15634           two seconds -- tries is updated every 1/10 of a second, not every
15635           second..
15636
15637 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15638
15639         * gnome/applet/applet-dbus-info.c:
15640         Let D-BUS know that we haven't handled a message when we haven't.
15641
15642 2005-10-17  Robert Love  <rml@novell.com>
15643
15644         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15645           in order to remain 64-bit clean.
15646
15647 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15648
15649         * gnome/applet/applet-dbus-info.c:
15650         Find network encryption keys asynchronously
15651
15652 2005-10-17  Robert Love  <rml@novell.com>
15653
15654         * src/backends/NetworkManagerDebian.c,
15655           src/backends/NetworkManagerRedHat,
15656           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15657           comment delimiter.
15658
15659 2005-10-17  Robert Love  <rml@novell.com>
15660
15661         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15662           "/etc"
15663
15664 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15665
15666         * src/NetworkManagerDevice.c: (process_scan_results)
15667         Fix logic that checks to see whether we have an ESSID.
15668
15669 2005-10-15  Dan Williams  <dcbw@redhat.com>
15670
15671         Move scanning code into NetworkManager rather than use iwlib's
15672         iw_scan() function, so that we can figure out AP capabilities.
15673
15674         * NetworkManager.h
15675                 - Add AP capability bits
15676
15677         * src/NetworkManagerAP.[ch]
15678                 - Add capability field to NMAccessPoint structure
15679                 - Add WPA & RSN Information Element fields and accessor
15680                         functions to NMAccessPoint
15681
15682         * src/NetworkManagerDevice.c
15683                 - Remove usage of iw_scan
15684                 - Add scanning code to NetworkManager rather than use
15685                         iw_scan() from iwlib
15686
15687         * src/NetworkManagerUtils.[ch]
15688                 - (nm_dispose_scan_results): remove, unused
15689
15690 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15691
15692         * gnome/libnm_glib/libnm_glib.c:
15693         * gnome/libnm_glib/libnm_glib.h:
15694         Use guint instead of gint for callback IDs.
15695
15696 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15697
15698         * gnome/applet/applet.c:
15699         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15700         every 1000ms.  It will unconditionally call nmwa_update_state which
15701         kills the existing animation timeout and registers a new one with a
15702         callback to draw a new frame every 100ms.  There are 11 connecting
15703         icon frames, so the last 2 frames kept getting dropped.  Only reset
15704         the animation timeout if we aren't animating.
15705
15706 2005-10-11  Dan Williams  <dcbw@redhat.com>
15707
15708         * gnome/applet/applet-dbus-devices.c
15709                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15710                         We want to grab the product & vendor from net.physical_dev
15711                         rather than info.parent.
15712
15713 2005-10-11  Dan Williams  <dcbw@redhat.com>
15714
15715         * src/NetworkManagerDevice.c
15716                 - Use the driver's WE version for scanning rather than
15717                         the WE version NM was compiled with.  Fixes random
15718                         crashes in iw_scan () in iwlib.
15719
15720 2005-10-10  Dan Williams  <dcbw@redhat.com>
15721
15722         * Remove nm_system_load_device_modules() from backend files
15723                 and from NetworkManager.c
15724
15725 2005-10-10  Dan Williams  <dcbw@redhat.com>
15726
15727         * src/NetworkManagerPolicy.c
15728                 - Fix some bugs introduced by the capabilities patch
15729
15730 2005-10-10  Dan Williams  <dcbw@redhat.com>
15731
15732         * gnome/applet/applet-dbus-info.c
15733                 - (nmi_dbus_get_network_key): hide the menu when putting up
15734                         the keyring dialog.  (not sure if the code is right...)
15735
15736 2005-10-09  Dan Williams  <dcbw@redhat.com>
15737
15738         Patch from Bill Moss <bmoss@clemson.edu>
15739         * src/NetworkManagerDevice.c
15740                 - (nm_device_set_user_key_for_network): don't try to set auth
15741                         mode on the AP from the allowed list if it's NULL
15742
15743 2005-10-09  Dan Williams  <dcbw@redhat.com>
15744
15745         * Replace the "driver support level" stuff with capabilities.  The
15746                 capability field is a bitfield that is more flexible than the
15747                 old driver support level thing.  It's mostly so we can easily
15748                 figure out what supports WPA and what doesn't, but should be
15749                 quite useful later.
15750
15751 2005-10-09  Dan Williams  <dcbw@redhat.com>
15752
15753         * test/nmtest.c
15754                 - Removed
15755
15756         * test/nm-tool.c
15757           test/Makefile.am
15758                 - Added new "nm-tool" tool that gives quite a bit more
15759                         information
15760
15761 2005-10-07  Robert Love  <rml@novell.com>
15762
15763         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15764           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15765           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15766           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15767           appropriate
15768
15769 2005-10-07  Robert Love  <rml@novell.com>
15770
15771         * configure.in: Change our compile flags for the betterment of mankind.
15772           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15773           prototype is very bad on 64-bit platforms as types default to int but
15774           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15775           "-Wmissing-declarations" to warn if we define an exported function
15776           but fail to put it in a header.
15777
15778 2005-10-07  Robert Love  <rml@novell.com>
15779
15780         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15781           by the name nm_update_device_wireless_timeouts() and once tried,
15782           without success, to steal my pet turtle.
15783
15784 2005-10-07  Robert Love  <rml@novell.com>
15785
15786         * Cleanup prototypes: put some functions in header files and mark
15787           others as 'static' -- feel free to invert
15788         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15789           nm_vpn_manager_vpn_connection_list_copy()
15790         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15791           nm_vpn_service_get_dbus_connection()
15792         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15793           nm_vpn_manager_vpn_connection_list_copy()
15794         * src/vpn-manager/nm-vpn-service.c: make
15795           nm_vpn_service_act_request_failed() and
15796           nm_vpn_service_stage2_daemon_wait() static
15797         * src/vpn-manager/nm-vpn-service.h: add prototype for
15798           nm_vpn_service_get_dbus_connection()
15799
15800 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15801
15802         * gnome/applet/applet.c:
15803         * gnome/applet/applet.h:
15804         * gnome/applet/icons/Makefile.am:
15805         Convey information about the current connection stage in the
15806         icons themselves instead of creating a separate progress bar.
15807
15808 2005-10-04  Robert Love  <rml@novell.com>
15809
15810         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15811           convert an ether_addr structure's MAC into a string, because the
15812           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15813           versus 07:3B:04, while the former will not.
15814
15815 2005-10-04  Robert Love  <rml@novell.com>
15816
15817         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15818           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15819           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15820           default route in the 'Connection Information' dialog, send primary
15821           and secondary name servers in in "getProperties" DBUS method, add
15822           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15823           secondary domain name servers are crucial pieces of information
15824           that a user might need in debugging a network problem.
15825
15826 2005-10-04  Robert Love  <rml@novell.com>
15827
15828         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15829           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15830           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15831           default route in the 'Connection Information' dialog, send default
15832           route in "getProperties" DBUS method, add network_device_set_route(),
15833           and network_device_get_route().  The Gateway is a crucial piece of
15834           connection-related information that a user might need in debugging a
15835           network problem.
15836
15837 2005-10-03  Robert Love  <rml@novell.com>
15838
15839         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15840           NULL.
15841
15842 2005-10-02  Dan Williams  <dcbw@redhat.com>
15843
15844         * Shorten time taken to sleep by fastpathing bits of device deactivation
15845                 necessary for sleep.
15846
15847         * Fix issue where deactivating a device might deactivate the active
15848                 VPN connection, even if the VPN was not using the device.
15849
15850 2005-10-02  Dan Williams  <dcbw@redhat.com>
15851
15852         * gnome/applet/applet.c
15853                 - Adjust signal strength -> icon mapping values slightly
15854                         (so that 51% signal doesn't show a 75% icon) by adding
15855                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15856                         shows 50% icon, etc.
15857
15858 2005-09-29  Robert Love  <rml@novell.com>
15859
15860         * src/NetworkManager.c: removed unused variable.
15861
15862 2005-09-28  Dan Williams  <dcbw@redhat.com>
15863
15864         Support for named + DBus, using Red Hat DBus patches for named.  You
15865         can find those patches here, with "dbus" in the patch's filename:
15866
15867                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15868
15869         Don't forget the named dbus service file either.
15870
15871         Instead of writing a config file and spawing a named process, NM will
15872         use an already-running dbus-enabled named if it finds one.  NM will
15873         update named's forwarder configuration on the fly using dbus.
15874
15875         If there is no dbus-enabled named running, NM will automatically fall
15876         back to writing the most-recent DNS server information to /etc/resolv.conf
15877         and calling nm_system_update_dns() to kick the system's resolver.
15878
15879         Accordingly, all named-related configure-time options have been removed.
15880
15881 2005-09-26  Robert Love  <rml@novell.com>
15882
15883         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15884           ISDN support!
15885         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15886           bug in error path if "ASKPASSWORD" is "no".
15887
15888 2005-09-26  Robert Love  <rml@novell.com>
15889
15890         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15891           comment in /etc/resolv.conf -- ';' is not.
15892
15893 2005-09-19  Dan Williams  <dcbw@redhat.com>
15894
15895         * src/backends/NetworkManagerRedHat.c:
15896         * src/backends/NetworkManagerDebian.c:
15897         * src/backends/NetworkManagerSlackware.c:
15898         * src/backends/NetworkManagerGentoo.c:
15899         * src/backends/NetworkManagerSUSE.c:
15900         Fix invocations of "/sbin/ip address" to use short form instead
15901
15902 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15903
15904         * src/nm-dbus-device.c: Don't assert when getting
15905         addresses of a not yet connected interface.
15906
15907         * gnome/applet/applet.c: Free icons if loading fails.
15908         Use translator-credits so translators can make themselves known.
15909
15910 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15911
15912         * src/NetworkManagerAP.c:
15913         * src/NetworkManagerAP.h:
15914         * src/NetworkManagerDevice.c:
15915         Set a blacklist for certain common manufacturer default ESSIDs:
15916         APs with these ESSIDs are extremely likely to be completely
15917         different networks: connecting to one should not make NM
15918         auto-connect to every other AP with the same default ESSID.
15919
15920 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15921
15922         * gnome/applet/wireless-applet.glade:
15923         The passphrase entry should also activate the default
15924
15925         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15926
15927         * gnome/applet/applet-dbus-devices.c:
15928         * gnome/applet/applet.c:
15929         * gnome/applet/nm-device.c:
15930         * gnome/applet/nm-device.h:
15931         * src/NetworkManagerUtils.c:
15932         * src/NetworkManagerUtils.h:
15933         * src/nm-dbus-device.c:
15934         I've got a fever, and the only cure for it is less ioctl.
15935         Make NM push IP data rather than make the applet open a socket
15936         to the device.
15937
15938 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15939
15940         * gnome/applet/applet.c:
15941         * gnome/applet/applet-dbus-devices.c:
15942         * gnome/applet/applet-dbus-info.c:
15943         * gnome/applet/passphrase-dialog.c:
15944         * gnome/libnm_glib/libnm_glib.c:
15945         * gnome/vpn-properties/nm-vpn-properties.c:
15946         * src/autoip.c:
15947         * src/backends/NetworkManagerRedHat.c:
15948         * src/named-manager/nm-named-manager.c:
15949         * src/NetworkManagerAPList.c:
15950         * src/NetworkManager.c:
15951         * src/NetworkManagerDbus.c:
15952         * src/NetworkManagerDevice.c:
15953         * src/NetworkManagerPolicy.c:
15954         * src/NetworkManagerSystem.c:
15955         * src/nm-dbus-device.c:
15956         * src/nm-dbus-nm.c:
15957         * src/vpn-manager/nm-vpn-manager.c:
15958         * src/vpn-manager/nm-vpn-service.c:
15959         * test/libnm_glib_test.c:
15960         * test/nminfotest.c:
15961         * test/nmtestdevices.c:
15962         Fix a bunch of 'unused variable' compiler warnings
15963
15964         * NetworkManager.h:
15965         * gnome/applet/applet-dbus-info.c:
15966         * gnome/applet/applet-dbus-info.h:
15967         * gnome/applet/applet.c:
15968         * gnome/applet/applet.h:
15969         * src/NetworkManager.c:
15970         * src/NetworkManagerDbus.c:
15971         * src/NetworkManagerDbus.h:
15972         * src/NetworkManagerDevice.c:
15973         * src/NetworkManagerDevice.h:
15974         * src/NetworkManagerMain.h:
15975         * src/NetworkManagerWireless.c:
15976         * src/NetworkManagerWireless.h:
15977         * src/nm-dbus-nm.c:
15978         Make NetworkManager be smart about how frequently to scan
15979         based on its current state.  Remove the UI for choosing when
15980         to scan.  Scanning still may disabled completely by the user
15981         via the "Wireless Enabled" menu item.
15982
15983 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15984
15985         * gnome/applet/applet.c:
15986         Also overlay the vpn connecting icons onto the wired icon,
15987         when appropriate.
15988
15989         * gnome/vpn-properties/nm-vpn-properties.glade:
15990         Clean up a few strings to use better grammar and proper casing.
15991
15992 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15993
15994         * gnome/applet/vpn-connection.c:
15995         * gnome/applet/vpn-connection.h:
15996         Add nmwa_vpn_connection_is_activating ()
15997
15998         * gnome/applet/applet.c:
15999         * gnome/applet/applet.h:
16000         * gnome/applet/icons/nm-vpn-connecting*.png:
16001         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16002         the user know something's happening between clicking the VPN item and it
16003         actually being connected.
16004
16005 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16006
16007         * gnome/applet/applet-dbus-info.c: need to free attributes in the
16008         failure case as well.
16009
16010 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
16011
16012         * gnome/panel/eggtrayicon.[ch]:
16013         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16014
16015 2005-09-07  Dan Williams  <dcbw@redhat.com>
16016
16017         Patch from Bill Moss <bmoss@clemson.edu>
16018         * src/applet-dbus.c
16019                 - (nmwa_dbus_filter): strip whitespace from beginning
16020                         and end of VPN login banner
16021
16022 2005-09-07  Dan Williams  <dcbw@redhat.com>
16023
16024         * The great VPN Manager rewrite of 2005
16025
16026 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16027
16028         * gnome/applet/menu-items.c:
16029         * gnome/applet/nm-device.c:
16030         * gnome/applet/wireless-network.c:
16031         * gnome/libnm_glib/libnm_glib.c:
16032         * src/NetworkManagerDbusUtils.c:
16033         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16034         g_malloc0 doesn't return NULL
16035
16036 2005-09-06  Dan Williams  <dcbw@redhat.com>
16037
16038         Patch from Tomislav Vujec <tvujec@redhat.com>
16039         * src/NetworkManagerDevice.c
16040                 - (nm_get_device_by_udi): don't return a device when we
16041                         actually didn't find what we were looking for
16042
16043 2005-09-06  Christopher Aillon  <caillon@redhat.com>
16044
16045         * gnome/applet/applet-dbus-devices.c:
16046         * gnome/applet/applet-dbus-devices.h:
16047         * gnome/applet/applet-dbus.c:
16048         * src/NetworkManagerDbus.c:
16049         * src/NetworkManagerDbus.h:
16050         * src/NetworkManagerDevice.c:
16051         * src/nm-dbus-device.c:
16052         Make NM push updates about active device strength when it changes,
16053         rather than having the applet poll every 2s.
16054
16055 2005-09-05  Christopher Aillon  <caillon@redhat.com>
16056
16057         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16058         network_device_set_strength
16059
16060 2005-09-04  Dan Williams  <dcbw@redhat.com>
16061
16062         Patch from Bill Nottingham <notting@redhat.com>
16063         * src/NetworkManagerDevice.c
16064                 - (nm_device_activation_cancel): reset the quit_activation flag
16065
16066 2005-09-04  Dan Williams  <dcbw@redhat.com>
16067
16068         * src/nm-activation-request.c
16069                 - (nm_act_request_unref): actually free the structure,
16070                         which we didn't seem to be doing before
16071
16072 2005-09-04  Dan Williams  <dcbw@redhat.com>
16073
16074         Patch from John Palmieri <johnp@redhat.com>
16075         * gnome/applet/applet-dbus-devices.c
16076                 - Fix up unreffing of DBusMessage objects
16077
16078 2005-09-04  Dan Williams  <dcbw@redhat.com>
16079
16080         Patch from John Palmieri <johnp@redhat.com>
16081         * gnome/applet/nm-device.c
16082                 - (nm_device_unref): clear network_device's memory _before_ freeing it
16083
16084 2005-09-02  Christopher Aillon  <caillon@redhat.com>
16085
16086         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16087
16088 2005-09-02  Bill Nottingham  <notting@redhat.com>
16089
16090         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16091
16092 2005-09-01  Dan Williams  <dcbw@redhat.com>
16093
16094         * src/NetworkManager.c
16095                 - (nm_remove_device_from_list): rename to nm_remove_device
16096                 - (nm_hal_device_removed): call nm_remove_device()
16097
16098         * src/NetworkManagerDevice.c
16099                 - Change the NMWirelessScanCB member 'reschedule' which
16100                         wasn't used to 'force' to indicate that we need to
16101                         force a scan when adding a device
16102
16103         * src/nm-dbus-nm.c
16104                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16105                         from the device list
16106                 - (nm_dbus_nm_wake): Re-add all devices to the device list
16107
16108 2005-09-01  Robert Love  <rml@novell.com>
16109
16110         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16111           and the check "!iface" in the error case is probably never true.
16112
16113 2005-09-01  Dan Williams  <dcbw@redhat.com>
16114
16115         Patch from Bill Nottingham <notting@redhat.com>
16116         * src/backends/NetworkManagerRedHat.c
16117                 - Add initial dialup support to Red Hat/Fedora backend
16118
16119 2005-09-01  Dan Williams  <dcbw@redhat.com>
16120
16121         * gnome/applet/applet-dbus-devices.c
16122                 - Sort both wireless networks and devices again, which got
16123                         broken when removing threading
16124
16125 2005-09-01  Christopher Aillon  <caillon@redhat.com>
16126
16127         * gnome/applet/applet.c:
16128         Only show the "Stop/Start All Wireless Devices" menuitem
16129         if we actually have wireless devices.
16130
16131         * gnome/applet/applet-dbus-info.c:
16132         * gnome/applet/applet.c:
16133         * gnome/applet/other-network-dialog.c:
16134         * gnome/applet/vpn-password-dialog.c:
16135         Drop the gtk_dialog_run () calls in favor of connecting to
16136         "response" signals, needed now that the applet is not threaded.
16137
16138 2005-08-31  Dan Williams  <dcbw@redhat.com>
16139
16140         Patch from Bill Moss <bmoss@clemson.edu>
16141         * src/NetworkManagerDevice.c
16142                 - (nm_device_wireless_scan): fix scan timeout values
16143
16144 2005-08-30  Dan Williams  <dcbw@redhat.com>
16145
16146         * gnome/applet/wireless-applet.glade
16147                 - HIG-ify the Other Wireless Networks dialog a bit more
16148                 - Fix some potential segfaults in the info dialog
16149
16150 2005-08-30  Dan Williams  <dcbw@redhat.com>
16151
16152         * gnome/applet/applet-dbus-devices.c
16153                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16154
16155 2005-08-30  Dan Williams  <dcbw@redhat.com>
16156
16157         * gnome/applet/applet-dbus.[ch]
16158                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16159                         they weren't being used anyway
16160
16161 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16162
16163         * test/nmtestdevices.c: (print_usage), (main):
16164         Check the number of arguments, and fix a typo
16165
16166 2005-08-29  Dan Williams  <dcbw@redhat.com>
16167
16168         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16169         * gnome/applet/applet.c
16170                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16171
16172 2005-08-29  Dan Williams  <dcbw@redhat.com>
16173
16174         * gnome/applet/*
16175                 - Don't use threads any more.  Anything that blocks
16176                         (like gtk_dialog_run()) will  have to get fixed up which
16177                         should happen quickly.  We really only had threads to make
16178                         the animation smooth, and when everything got converted over
16179                         to DBus Pending Calls, the need for threads kind of went away
16180
16181 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16182
16183         * gnome/applet/applet.c: Draw VPN connections as radio items
16184         since we don't yet support multiple VPNs.
16185         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16186         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16187
16188 2005-08-29  Dan Williams  <dcbw@redhat.com>
16189
16190         Patch from j@bootlab.org
16191         - Make --without-named work
16192         - Make --with-dhcdbd work correctly
16193
16194 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16195
16196         * configure.in: Added "ca" to ALL_LINGUAS.
16197
16198 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16199
16200         * Fix up VPN state handling between the applet and NetworkManager,
16201                 so that the applet doesn't show a VPN as connected when one
16202                 really is not
16203                         - The applet no longer has a pointer to the active VPN's
16204                                 name, but tracks each VPNs state individually
16205                         - NM no longer has a "getActiveVPNConnection" method
16206                         - NM no longer broadcasts the "VPNConnectionChange" signal
16207                         - NM now broadcasts a "VPNConnectionStateChange" signal
16208                                 whenever the state of a VPN changes
16209
16210 2005-08-26  Dan Williams <dcbw@redhat.com>
16211
16212         * gnome/applet/applet-dbus-devices.c
16213           gnome/applet/applet-dbus-vpn.c
16214                 - Remove calls to dbus_pending_call_ref() because we already
16215                         "own" the pending call
16216                 - Remove calls to dbus_pending_call_get_completed() because
16217                         when we are in the callback, the pending call is completed
16218                         by definition
16219
16220 2005-08-22  Dan Williams <dcbw@redhat.com>
16221
16222         Patch by Bill Moss <bmoss@clemson.edu>
16223         * src/dhcp-manager/nm-dhcp-manager.c
16224                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16225                         some time to send out a RELEASE if they like
16226
16227 2005-08-22  Dan Williams <dcbw@redhat.com>
16228
16229         Noticed by Bill Moss <bmoss@clemson.edu>
16230         * src/NetworkManagerDbus.c
16231                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16232                         instead of just cancelling its activation
16233
16234         * src/NetworkManagerDevice.c
16235                 - (nm_device_deactivate): some small cleanups
16236                 - (nm_device_set_user_key_for_network): deactivate the device
16237                         instead of just cancelling its activation
16238
16239 2005-08-22  Dan Williams <dcbw@redhat.com>
16240
16241         Noticed by Bill Moss <bmoss@clemson.edu>
16242         * src/NetworkManagerDevice.c
16243                 - (nm_device_wireless_scan): fix scan timeout, we were
16244                         waiting way too long for scans to complete
16245
16246 2005-08-22  Dan Williams <dcbw@redhat.com>
16247
16248         Patch from j@bootlab.org:
16249         * src/backends/NetworkManagerDebian.c
16250                 - Make the Debian backend work for static IP again
16251
16252 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16253
16254         * gnome/applet/other-network-dialog.c:
16255         The "Create New Network" and "Connect to Other Network"
16256         dialogs share alot of code, but shouldn't share a window
16257         title.  Give them different ones.
16258
16259         * gnome/applet/wireless-applet.glade:
16260         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16261         Some more minor UI tweaks.
16262
16263 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16264
16265         * gnome/applet/other-network-dialog.c:
16266         * gnome/applet/wireless-applet.glade:
16267         Also need mnemonic widgets, and underline enabled.
16268
16269 2005-08-19  Dan Williams <dcbw@redhat.com>
16270
16271         * vpn-daemons/vpnc/nm-vpnc-service.c
16272                 - (vpnc_watch_cb): remove no-longer-relevant comment
16273                 - (write_config_option): new function, helper to write
16274                         config options to vpnc's stdin
16275                 - (nm_vpnc_config_write): use the new helper, make the
16276                         code shorter
16277
16278 2005-08-19  Christopher Aillon <caillon@redhat.com>
16279
16280         * gnome/applet/passphrase-dialog.c:
16281         * gnome/applet/wireless-applet.glade:
16282         Make the passphrase dialog response based, and treat
16283         responses other than OK (such as Esc, [X]) as a cancel.
16284
16285 2005-08-18  Christopher Aillon <caillon@redhat.com>
16286
16287         * initscript/Gentoo/NetworkManager:
16288         * initscript/RedHat/NetworkManager:
16289         * initscript/RedHat/NetworkManagerDispatcher:
16290         * initscript/SUSE/networkmanager:
16291         CVS remove these in place of .in replacements
16292
16293         * configure.in:
16294         * initscript/Gentoo/NetworkManager.in:
16295         * initscript/RedHat/NetworkManager.in:
16296         * initscript/RedHat/NetworkManagerDispatcher.in:
16297         * initscript/SUSE/networkmanager.in:
16298         These scripts now are generated so they work still when
16299         NM is built using a bindir other than /usr/bin
16300
16301 2005-08-18  Dan Williams <dcbw@redhat.com>
16302
16303         * gnome/applet/main.c
16304                 - Revert previous change for --no-session since
16305                         --sm-disable does the same thing
16306
16307 2005-08-18  Dan Williams <dcbw@redhat.com>
16308
16309         * gnome/applet/applet-dbus-info.c
16310                 - (nmi_dbus_create_error_message): new function
16311                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16312                         functions.  Also don't check for both device _and_ network before
16313                         asking for a user's key, because we may not have gotten all our
16314                         networks back from NM quite yet (due to the dbus pending calls
16315                         coming in later).  Fixes a hang in NM/nm-applet.
16316
16317         * src/NetworkManagerDbus.c
16318                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16319                         slightly more sane manner, even though we are still broken for
16320                         certain other error conditions.
16321                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16322                         to the info-daemon too
16323
16324         * src/NetworkManagerDevice.c
16325                 - Fix some debug messages to be info messages instead
16326
16327 2005-08-18  Dan Williams <dcbw@redhat.com>
16328
16329         * gnome/applet/main.c
16330                 - Add new "--no-session" parameter that disables applet
16331                         session management, ie for testing
16332
16333 2005-08-18  Christopher Aillon <caillon@redhat.com>
16334
16335         * gnome/applet/other-network-dialog.c:
16336         * gnome/applet/wireless-applet.glade: More mnemonics
16337
16338 2005-08-17  Robert Love  <rml@novell.com>
16339
16340         * initscript/SUSE/networkmanager: update
16341
16342 2005-08-17  Dan Williams  <dcbw@redhat.com>
16343
16344         * Tag NM_0_4_1_RELEASE
16345
16346 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16347
16348         * gnome/applet/applet.c: More translatable string cleanup
16349
16350
16351 2005-08-17  Dan Williams  <dcbw@redhat.com>
16352
16353         * gnome/applet/applet-dbus-info.c
16354                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16355                         from the dbus message, which tells us to unconditionally
16356                         ask the user for a new key.  Otherwise, we pull the key from
16357                         the keyring and return it.  If we fail to get the key from the
16358                         keyring, we ask the user for a new key.
16359                 - (nmi_dbus_get_network_key): new function to grab the key for
16360                         an essid from the keyring.
16361                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16362                         Also, don't return any key in the dbus message.
16363
16364         * src/NetworkManagerDbus.[ch]
16365                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16366                         indicate that we unconditionally want a new key.  This function
16367                         is now also used to get keys from the info-daemon which are
16368                         pre-stored, not just for asking the user for a new key.  The
16369                         "new_key" parameter indicates whether or not we wish to ask the
16370                         user for a new key.
16371                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16372                         info-daemon in the return message, so use NULL instead.  The
16373                         key will be filled in at connect time by calling
16374                         nm_dbus_get_user_key_for_network()
16375
16376         * src/NetworkManagerDevice.c
16377                 - (nm_device_wireless_configure): update for "new_key" param to
16378                         nm_dbus_get_user_key_for_network().  We initially set new_key
16379                         to FALSE to see if we have a stored key in the info-daemon, but
16380                         if the connection is unsuccessful at this stage we request a
16381                         new one
16382
16383 2005-08-17  Dan Williams  <dcbw@redhat.com>
16384
16385         * gnome/applet/icons/nm-no-connection.png
16386           gnome/applet/icons/nm-device-wired.png
16387                 - Use Diana's new RJ45 connector icons
16388
16389 2005-08-17  Dan Williams  <dcbw@redhat.com>
16390
16391         * src/NetworkManagerPolicy.c
16392                 - (nm_policy_device_change_check): clarify switching rules if
16393                         both new and old devices are valid; mainly, don't switch
16394                         away from user-requested wireless connection back to a wired
16395                         one
16396
16397 2005-08-17  Dan Williams  <dcbw@redhat.com>
16398
16399         * gnome/applet/Makefile.am
16400                 - Relocate the applet to /usr/bin since it is no longer
16401                         executed by anything, but directly by the user
16402
16403 2005-08-17  Dan Williams  <dcbw@redhat.com>
16404
16405         Patch from Bill Moss <bmoss@clemson.edu>
16406
16407         * gnome/applet/applet-dbus-info.[ch]
16408                 - (nmi_save_network_info): save timestamp for network if it
16409                         was a change requested by the user
16410                 - (nmi_dbus_update_network_info): get user_requested from dbus
16411                         message and pass to nmi_save_network_info()
16412
16413         * gnome/applet/applet.c
16414                 - (nmwa_update_network_timestamp): remove
16415                 - (nmwa_menu_item_activate): don't set timestamp on networks
16416                         here, only after a successful connect in nmi_save_network_info()
16417
16418         * src/NetworkManagerDbus.[ch]
16419                 - (nm_dbus_update_network_info): pass user_requested into the 
16420                         dbus message
16421
16422         * src/NetworkManagerPolicy.c
16423                 - (nm_policy_activation_finish): pass user_requested to
16424                         nm_dbus_update_network_info()
16425
16426 2005-08-16  Robert Love  <rml@novell.com>
16427
16428         * gnome/applet/applet.c: Better "Dial Up" menu item.
16429
16430 2005-08-16  Robert Love  <rml@novell.com>
16431
16432         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16433           "Connection Information" menu item.
16434
16435 2005-08-16  Dan Williams  <dcbw@redhat.com>
16436
16437         Patch from j@bootlab.org
16438         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16439
16440         * configure.in: allow specifying the path to dhcdbd
16441
16442 2005-08-16  Robert Love  <rml@novell.com>
16443
16444         Patch from j@bootlab.org
16445         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16446           src/backends/interface_parser.h: Debian dialup support.
16447
16448 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16449
16450         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16451         * gnome/applet/applet.c: Add some mnemonics for VPNC
16452
16453         * vpn-daemons/.cvsignore: fix this up a little bit
16454
16455 2005-08-16  Robert Love  <rml@novell.com>
16456
16457         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16458           support.
16459
16460 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16461
16462         * gnome/applet/applet.c: Split markup out of translatable strings
16463         and clean up logic a little bit.  (fixes #309012)
16464
16465 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16466
16467         * gnome/vpn-properties/nm-vpn-properties.c:
16468         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16469         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16470         Makeshift fix to remove newlines from translatable strings.
16471         Note that we now return an allocated string, so callers of
16472         get_confirmation_details () must now call g_free () on the
16473         result. (fixes #309033).
16474
16475 2005-08-12  Robert Love  <rml@novell.com>
16476
16477         * gnome/applet/applet-dbus.c: remove newlines from translatable
16478           strings--not needed here anyway. (fix b.g.o #309011)
16479         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16480
16481 2005-08-11  Robert Love  <rml@novell.com>
16482
16483         * gnome/applet/applet.c: mark string as translatable.
16484
16485 2005-08-11  Robert Love  <rml@novell.com>
16486
16487         * initscript/SUSE/networkmanager: update.
16488
16489 2005-08-11  Dan Williams  <dcbw@redhat.com>
16490
16491         * src/nm-dhcp-manager.c
16492                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16493                         an gateway returned from DHCP, try to use the address of the DHCP
16494                         server as the gateway instead.  Found by Ralf Ertzinger.
16495
16496 2005-08-10  Robert Love  <rml@novell.com>
16497
16498         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16499           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16500
16501 2005-08-10  Dan Williams  <dcbw@redhat.com>
16502
16503         Patch from Bill Moss <bmoss@clemson.edu>
16504         * Consolidate writes of access point information updates to the info daemon
16505                 so that we only do it when the connection to the access point was
16506                 successful.  Also consolidates updates to GConf in the Gnome applet.
16507
16508         * src/nm-netlink-monitor.c
16509                 - Silence compile warning when calling g_object_new()
16510
16511 2005-08-08  Dan Williams  <dcbw@redhat.com>
16512
16513         Patch from Steev <steev@steev.net>:
16514         * src/backends/NetworkManagerGentoo.c
16515                 - Stub new dialup backend functions
16516
16517 2005-08-08  Dan Williams  <dcbw@redhat.com>
16518
16519         Patch from Colin Slater:
16520         * src/backends/NetworkManagerGentoo.c
16521                 - (nm_system_update_dns): Fix exit status check for restarting
16522                         nscd
16523
16524 2005-08-05  Robert Love  <rml@novell.com>
16525
16526         * NetworkManager.h,
16527           gnome/applet/applet-dbus-devices.c,
16528           gnome/applet/applet-dbus-devices.h,
16529           gnome/applet/applet-dbus.c,
16530           gnome/applet/applet.c,
16531           gnome/applet/applet.h,
16532           src/NetworkManager.c,
16533           src/NetworkManagerMain.h,
16534           src/NetworkManagerSystem.h,
16535           src/backends/NetworkManagerRedHat.c,
16536           src/backends/NetworkManagerSuSE.c,
16537           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16538
16539 2005-08-05  Robert Love  <rml@novell.com>
16540
16541         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16542           machine's hostname to make adhoc creation idiot-proof.
16543
16544 2005-08-04  Robert Love  <rml@novell.com>
16545
16546         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16547           freed.
16548
16549 2005-08-04  Dan Williams  <dcbw@redhat.com>
16550
16551         * gnome/applet/applet-dbus-info.c
16552           gnome/applet/applet-dbus-info.h
16553                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16554                         to store key, key type, and auth method rather than just auth method
16555                 - (nmi_dbus_update_network_info): new function
16556                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16557
16558         * gnome/applet/passphrase-dialog.c
16559                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16560                         of saving the info ourselves
16561
16562         * gnome/libnm_glib/libnm_glib.c
16563                 - Remove the stupid version check for dbus
16564
16565         * src/NetworkManagerAP.c
16566           src/NetworkManagerAP.h
16567                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16568
16569         * src/NetworkManagerDbus.c
16570           src/NetworkManagerDbus.h
16571                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16572                         more than just the auth method
16573
16574         * src/NetworkManagerDevice.c
16575                 - Update network info at the appropriate times
16576
16577 2005-07-29  Ray Strode  <rstrode@redhat.com>
16578
16579         * src/NetworkManager.c (nm_info_handler): don't use input as format
16580         string (Spotted by Ian Jackson).
16581
16582 2005-07-27  Dan Williams  <dcbw@redhat.com>
16583
16584         * src/nm-dbus-nm.c
16585           src/nm-dbus-net.c
16586                 - Random cleanups of spacing
16587
16588         * gnome/applet/applet.h
16589           gnome/applet/other-network-dialog.c
16590           gnome/applet/passphrase-dialog.c
16591                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16592
16593         Patch from Bill Moss:
16594                 - Make Other Wireless Networks work again with encryption keys
16595
16596 2005-07-26  Dan Williams  <dcbw@redhat.com>
16597
16598         Patch from Steev <steev@steev.net>:
16599         * src/backends/NetworkManagerGentoo.c
16600           src/backends/Makefile.am
16601                 - Fix up Gentoo backend
16602
16603 2005-07-26  Robert Love  <rml@novell.com>
16604
16605         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16606
16607 2005-07-25  Robert Love  <rml@novell.com>
16608
16609         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16610           in the same group as the wireless networks, since they are all
16611           mutually exclusive.
16612
16613 2005-07-24  Ray Strode  <rstrode@redhat.com>
16614
16615         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16616         remove unneeded NULL arg from g_object_new().  Any
16617         warnings caused by not having the extra NULL are just a
16618         result of a bug in glib 2.7.0 - 2.7.2.
16619
16620 2005-07-22  Robert Love  <rml@novell.com>
16621
16622         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16623
16624 2005-07-22  Robert Love  <rml@novell.com>
16625
16626         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16627           parameters (gcc 4.0.2 warning fix).
16628
16629 2005-07-18  Robert Love  <rml@novell.com>
16630
16631         Suggested by Aaron Bockover (abockover@novell.com)
16632         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16633           s/Ascii/ASCII
16634         * gnome/applet/passphrase-dialog.c: ditto
16635         * gnome/applet/wireless-applet.glade: ditto
16636
16637 2005-07-13  Dan Williams  <dcbw@redhat.com>
16638
16639         Patch from Ray Strode <halfline@gmail.com>
16640         * vpn-daemons/vpnc/nm-vpnc-service.c
16641                 - Don't let vpnc daemonize, fixes some races with PID file reading
16642
16643 2005-07-13  Dan Williams  <dcbw@redhat.com>
16644
16645         Patch from Ray Strode <halfline@gmail.com>
16646         * Random cleanups for strict CFLAGS
16647
16648 2005-07-07  Dan Williams  <dcbw@redhat.com>
16649
16650         Patch from Derek Atkins <warlord@MIT.EDU>
16651         * src/nm-dbus-net.c:
16652                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16653
16654 2005-07-07  Dan Williams  <dcbw@redhat.com>
16655
16656         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16657         * src/backends/NetworkManagerGentoo.c
16658                 - Gentoo backend Static IP nameserver fixes
16659                 - General Gentoo backend goodness
16660
16661 2005-07-07  Dan Williams  <dcbw@redhat.com>
16662
16663         Patch from Bastien Nocera:
16664         * gnome/applet/applet.c
16665                 - Fix up error reporting when icons or glade files are missing
16666
16667 2005-07-07  Robert Love  <rml@novell.com>
16668
16669         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16670           are not any VPN connections above it.
16671
16672 2005-07-07  Robert Love  <rml@novell.com>
16673
16674         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16675
16676 2005-07-05  Robert Love  <rml@novell.com>
16677
16678         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16679           zero.
16680
16681 2005-07-05  Robert Love  <rml@novell.com>
16682
16683         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16684           on wired or unencrypted wireless.
16685
16686 2005-07-01  Robert Love  <rml@novell.com>
16687
16688         * src/NetworkManagerSystem.c: Print the error via strerror().
16689
16690 2005-06-30  Robert Love  <rml@novell.com>
16691
16692         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16693           then exit if the glade file is not found.  currently the application
16694           just hangs.
16695
16696 2005-06-30  Robert Love  <rml@novell.com>
16697
16698         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16699           explicitly up all interfaces on wake from sleep.
16700
16701 2005-06-30  Robert Love  <rml@novell.com>
16702
16703         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16704           with information about the currently active connection.
16705         * gnome/applet/applet.h: (ditto)
16706         * gnome/applet/wireless-applet.glade: (ditto), new file
16707
16708 2005-06-30  Robert Love  <rml@novell.com>
16709
16710         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16711         * src/nm-dbus-nm.c: print when we sleep and wake up.
16712         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16713         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16714           in /sbin unless D-BUS is, folks).
16715         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16716
16717 2005-06-27  Robert Love  <rml@novell.com>
16718
16719         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16720           case.
16721
16722 2005-06-27  Robert Love  <rml@novell.com>
16723
16724         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16725           items radios.
16726
16727 2005-06-26  Robert Love  <rml@novell.com>
16728
16729         * src/NetworkManagerDevice.c: be specific about which device in
16730           nm_info() message.
16731
16732 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16733
16734         * src/nm-netlink-monitor.c: correct spelling error.
16735
16736 2005-06-23  Robert Love  <rml@novell.com>
16737
16738         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16739         * gnome/applet/passphrase-dialog.c: more of that keyring!
16740
16741 2005-06-23  Robert Love  <rml@novell.com>
16742
16743         * configure.in: remove extraneous GNOMEKEYRING directives.
16744         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16745         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16746         * gnome/applet/passphrase-dialog.c: whitespace.
16747
16748 2005-06-23  Robert Love  <rml@novell.com>
16749
16750         * src/NetworkManagerDevice.c: division in assignment was flipped.
16751
16752 2005-06-23  David Zeuthen  <david@fubar.dk>
16753
16754         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16755         signal to the child to indicate that we got what we wanted when we
16756         see two new-lines right after each other.
16757         (nmwa_vpn_request_password): Pass a structure with several members
16758         instead of just the passwords
16759
16760 2005-06-23  Dan Williams <dcbw@redhat.com>
16761
16762         * src/NetworkManager.c
16763           src/NetworkManagerMain.h
16764                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16765                 - (nm_hal_init): new function, init libhal context then add devices
16766                 - (nm_hal_deinit): new function, clean up libhal context
16767                 - (nm_data_free): Move Hal cleanup here
16768                 - (main): check whether Hal is running, and if so, get a list of
16769                         network devices from it
16770
16771         * src/NetworkManagerDbus.c
16772                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16773                         and when it appears, get a list of network devices from it.  If
16774                         Hal goes away, clean up the libhal context
16775
16776 2005-06-22  Robert Love  <rml@novell.com>
16777
16778         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16779           permissions of scripts before executing.
16780
16781 2005-06-21  Robert Love  <rml@novell.com>
16782
16783         * initscript/SUSE/networkmanager: update.
16784         * src/backends/NetworkManagerSuSE.c: cleanup.
16785
16786 2005-06-21  Robert Love <rml@novell.com>
16787
16788         * gnome/applet/applet.c: use menu mnemonics.
16789         * gnome/applet/menu-items.c: (ditto)
16790
16791 2005-06-21  Robert Love  <rml@novell.com>
16792
16793         * applet/applet-dbus-devices.c: mark non-static functions static.
16794         * applet/applet-dbus-vpn.c: (ditto)
16795         * applet/applet.c: (ditto)
16796         * applet/nm-device.h: (ditto)
16797         * applet/other-network-dialog.c: (ditto)
16798         * applet/passphrase-dialog.c: (ditto)
16799         * NetworkManager.c: (ditto)
16800         * NetworkManagerDbus.c: (ditto)
16801         * NetworkManagerDevice.c: (ditto)
16802         * NetworkManagerPolicy.c: (ditto)
16803         * NetworkManagerUtils.c: (ditto)
16804         * NetworkManagerWireless.c: (ditto)
16805         * NetworkManagerWireless.h: (ditto)
16806         * nm-netlink-monitor.c: (ditto)
16807         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16808         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16809         * autoip.c: include autoip.h.
16810         * autoip.h: new file.  define get_autoip().
16811         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16812         * NetworkManagerDbus.h: remove duplicate definitions.
16813
16814 2005-06-20  Robert Love  <rml@novell.com>
16815
16816         * Makefile.am: Add missing intltool-foo.in generated files to
16817           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16818           with the start of stuff to cleanup on 'distclea'.
16819         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16820           stuff right and 'distcheck' works.
16821         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16822           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16823           Makefile.am for each.  And systray/Makefile needs to be redone.
16824
16825 2005-06-19  Dan Williams <dcbw@redhat.com>
16826
16827         * src/NetworkManagerDevice.c
16828         - (nm_device_wireless_process_scan_results): scan every 20s when
16829           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16830
16831 2005-06-19  Dan Williams <dcbw@redhat.com>
16832
16833         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16834
16835 2005-06-18  Ray Strode <rstrode@redhat.com>
16836
16837         * src/nm-netlink-monitor.c 
16838         (nm_netlink_monitor_event_handler): check for the presence
16839         of either error condition not both. 
16840         
16841         (nm_netlink_monitor_error_handler): emit error signal if
16842         error occurs.
16843
16844         (nm_netlink_monitor_event_handler),
16845         (nm_netlink_monitor_error_handler),
16846         (nm_netlink_monitor_disconnect_handler): if an 
16847         assertion fails disconnect the event handler to prevent 
16848         infinite loops.
16849
16850         * src/nm-netlink-monitor.h: add new error condition
16851         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16852
16853 2005-06-18  Ray Strode <rstrode@redhat.com>
16854
16855         * src/nm-netlink-monitor.c 
16856         (nm_netlink_monitor_event_handler): remove bogus < 0
16857         check on unsigned value and return early if the kernel
16858         didn't send any bytes.
16859
16860 2005-06-17  Robert Love  <rml@novell.com>
16861
16862         * initscript/SUSE/networkmanager: Change the Provides and default
16863         run levels
16864
16865 2005-06-16  Dan Williams <dcbw@redhat.com>
16866
16867         Patch from Robert Love:
16868         * gnome/applet/applet.c
16869                 - Beautify some applet menu item names
16870
16871 2005-06-17  David Zeuthen  <davidz@redhat.com>
16872
16873         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16874         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16875         Also add new methods can_export, import_file and export.
16876
16877         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16878         to the main UI
16879
16880         * gnome/vpn-properties/nm-vpn-properties.c:
16881         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16882         nm-vpn-ui-interface.h.
16883         (update_edit_del_sensitivity): Also update "Export" sensitivity
16884         (add_vpn_connection): Also add new SVC_NAME column
16885         (import_settings): New function
16886         (retrieve_data_from_selected_connection): New function
16887         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16888         this function
16889         (export_cb): New function
16890         (init_app): Also setup the "export" widget
16891         (main): Support the --import-service and --import-file commandline
16892         arguments
16893
16894         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16895         D-BUS 0.34
16896
16897 2005-06-16  Dan Williams <dcbw@redhat.com>
16898
16899         Patch from Robert Love:
16900         * gnome/applet/menu-items.c
16901                 - (network_menu_item_new): pass -1 as wireless network
16902                         menu items height size request rather than ascent / 2
16903
16904 2005-06-16  Dan Williams <dcbw@redhat.com>
16905
16906         * Clean up wording in Wireless Scan Methods menu items and constants
16907
16908 2005-06-16  Robert Love  <rml@novell.com>
16909
16910         * po/POTFILES.in
16911                 - remove gtkcell* files
16912
16913 2005-06-15  Dan Williams <dcbw@redhat.com>
16914
16915         Patch from Robert Love: make the applet stetic
16916
16917         * gnome/applet/Makefile.am
16918                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16919
16920         * gnome/applet/gtkcellview.h
16921           gnome/applet/gtkcellview.c
16922           gnome/applet/gtkcellrendererprogress.h
16923           gnome/applet/gtkcellrendererprogress.c
16924                 - Removed
16925
16926         * gnome/applet/menu-items.c
16927                 - Progress bars are 5:1 size ratio
16928                 - Use GTK progress bars rather than internal ones
16929
16930 2005-06-15  Dan Williams <dcbw@redhat.com>
16931
16932         Patch from Robert Love:
16933         * initscript/SUSE/networkmanager
16934                 - Fix typo
16935
16936 2005-06-15  Dan Williams <dcbw@redhat.com>
16937
16938         * src/backends/NetworkManagerSuSE.c
16939           src/backends/NetworkManagerRedHat.c
16940           src/backends/NetworkManagerDebian.c
16941                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16942
16943 2005-06-15  Dan Williams <dcbw@redhat.com>
16944
16945         * src/backends/NetworkManagerDebian.c
16946                 - Add nm_system_device_get_use_dhcp() to debian backend
16947
16948         Patch from Kay Sievers:
16949         * src/backends/NetworkManagerSuSE.c
16950                 - Update debian backend for static IP nameservers
16951
16952         * src/NetworkManagerDevice.c
16953                 - Actually set the device to use static IP or DHCP rather
16954                         than always DHCP
16955
16956 2005-06-15  Dan Williams <dcbw@redhat.com>
16957
16958         Patch from Thom May:
16959         * src/backends/NetworkManagerDebian.c
16960                 - Update debian backend for static IP nameservers
16961
16962 2005-06-15  Dan Williams <dcbw@redhat.com>
16963
16964         Patches from Robert Love:
16965         * gnome/applet/wireless-applet.glade
16966                 - Tighten up wording
16967
16968         * src/NetworkManagerDevice.c
16969                 - Remove misplaced ';'
16970
16971         * configure.in
16972           initscript/Makefile.am
16973           initscript/SUSE/Makefile.am
16974           initscript/SUSE/networkmanager
16975                 - Add SUSE initscript
16976
16977 2005-06-12  David Zeuthen  <davidz@redhat.com>
16978
16979         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16980
16981         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16982
16983         * gnome/vpn-properties/nm-vpn-properties.c: New file
16984
16985         * gnome/vpn-properties/Makefile.am: New file
16986
16987         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16988         array of passwords
16989
16990         * src/vpn-manager/nm-vpn-manager.c
16991         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16992         instead of just a single one
16993
16994         * src/vpn-manager/nm-dbus-vpn.c:
16995         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16996         here
16997         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16998
16999         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
17000         Change the interface here to give a list of passwords. Also, don't
17001         require username, but do require service
17002
17003         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17004         the binary for the auth-dialog and use that instead of putting up a
17005         dialog asking for a single password
17006
17007         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17008         however do remember the service
17009
17010         * gnome/applet/main.c (main): Setup i18n
17011
17012         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17013         connection to '%s'" to the tooltip if we are connected using VPN
17014         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17015         key to determine whether we the auth-dialog needs to
17016         reprompt. Also cope with the fact that the auth-dialog now returns
17017         an array of passwords.
17018         (nmwa_menu_configure_vpn_item_activate): New handler for
17019         "Configure VPN..." menu item
17020         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17021         (is_vpn_available): New function to determine if we got any
17022         NM-compatible VPN software installed
17023         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17024         items only if we have NM-compatible VPN software installed
17025         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17026         logic for detecting when VPN connections are removed
17027
17028         * gnome/applet/applet-dbus.h: Removed the prototypes for 
17029         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17030         since these are defined elsewhere
17031
17032         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17033         function used to keep track of whether the last attempt succeded
17034         (nmwa_dbus_filter): Update last_attempt according to whether the
17035         VPN connection could be established or not
17036
17037         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
17038         Change prototype to take an array of passwords, not just a single
17039         password
17040
17041         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17042         update service, not user
17043         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17044         dbus_active_vpn_name is not NULL before using it
17045         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17046         string array instead of assuming a single password
17047
17048         * gnome/applet/applet-dbus-info.c:
17049         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17050         user name; don't read from gconf
17051
17052         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
17053         VPN_NAME_FILES_DIR
17054
17055         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17056
17057         * configure.in: Add checks for gmodule-2.0.
17058         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17059         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17060         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
17061         for details
17062
17063         * vpn-daemons/Makefile.am: Removed
17064
17065         * vpn-daemons/README: New file to describe extensions points for VPN
17066         software
17067
17068 2005-06-10  Dan Williams <dcbw@redhat.com>
17069
17070         * src/backends/NetworkManagerRedHat.c
17071                 - (get_current_profile_name): new function, grab current network profile name from
17072                         /etc/sysconfig/network
17073                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17074                         update an IP4 Config structure's settings from it
17075                 - (nm_system_device_get_system_config): if we're using static IP on this device,
17076                         get DNS info from current network profile
17077
17078 2005-06-09  Dan Williams <dcbw@redhat.com>
17079
17080         Patch from Robert Love:
17081         * src/NetworkManagerDevice.c
17082           src/NetworkManagerUtils.c
17083                 - 64-bit build fixes
17084
17085 2005-06-09  Dan Williams <dcbw@redhat.com>
17086
17087         Patch from Kay Sievers and Robert Love:
17088         * configure.in
17089           src/backends/Makefile.am
17090           src/backends/NetworkManagerSuSE.c
17091                 - Add SuSE support
17092
17093 2005-06-09  Dan Williams <dcbw@redhat.com>
17094
17095         * NetworkManager.h
17096                 - Add NMWirelessScanMethod enum for scan methods
17097
17098         * gnome/applet/applet-dbus-devices.c
17099                 - (nmwa_dbus_update_scanning_enabled_cb): remove
17100                 - (nmwa_dbus_update_scanning_enabled): remove
17101                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17102                         since it got removed
17103                 - (nmwa_dbus_enable_scanning): remove
17104
17105         * gnome/applet/applet-dbus-info.c
17106                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17107                         update the wireless scanning method from NMI
17108                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17109                         method value to NetworkManager
17110                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17111
17112         * gnome/applet/applet-dbus-info.h
17113                 - Add prototype for nmi_dbus_signal_update_scan_method
17114
17115         * gnome/applet/applet.c
17116                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17117                         Wireless Scanning menu based on current wireless scan method
17118                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17119                         signal for Wireless Scanning menu items, tell NetworkManager the new method
17120                         and update our menu items to make sure the right one is checked
17121                 - (nmwa_set_scanning_enabled_cb): remove
17122                 - (nmwa_context_menu_update): remove references to pause_scanning_item
17123                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17124                         Scanning menu item
17125                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17126                         from GConf
17127                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17128                         so we get notified of preference values too
17129                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17130
17131         * gnome/applet/applet.h
17132                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17133                 - Add wireless scan method member to applet data
17134                 - Remove pause_scanning_item, add Wireless Scanning submenu
17135
17136         * src/NetworkManager.c
17137                 - (nm_data_new): default to NM_SCAN_METHOD_ON
17138                 - (main): grab scanning method from NMI if we can
17139
17140         * src/NetworkManagerDbus.c
17141                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17142                         nm_dbus_update_wireless_scan_method()
17143                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17144                         from NMI
17145                 - (nm_dbus_nmi_is_running): redundant function, removed
17146                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17147                         when NMI comes back
17148
17149         * src/NetworkManagerDevice.c
17150                 - (nm_device_is_activated): return TRUE if the device is activated
17151                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17152                         and we are activated
17153
17154         * src/nm-dbus-nm.c
17155                 - (nm_dbus_nm_set_scanning_enabled): removed
17156                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17157                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17158
17159 2005-06-09  Dan Williams <dcbw@redhat.com>
17160
17161         * NetworkManager.h
17162           src/vpn-manager/nm-vpn-service.c
17163                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17164
17165 2005-05-27  Dan Williams <dcbw@redhat.com>
17166
17167         * vpn-daemons/vpnc/nm-vpnc-service.c
17168                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17169                         Should fix the bug where the VPN connection terminates the first time.
17170
17171 2005-05-20  Dan Williams <dcbw@redhat.com>
17172
17173         * NetworkManager.h
17174                 - Differentiate VPN config signals between bad VPN config options
17175                         and bad IP config
17176
17177         * gnome/applet/applet-dbus-info.h
17178                 - Add prototypes for wireless network and vpn connection update functions
17179
17180         * gnome/applet/applet-dbus.c
17181                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17182
17183         * gnome/applet/applet.c
17184                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17185                         error signals
17186                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17187                         propogation to NetworkManager
17188                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17189                         notify propogation to NetworkManager
17190
17191         * src/NetworkManagerDbus.c
17192                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17193                         are updating so a network can be removed from it if necessary
17194
17195         * src/vpn-manager/nm-vpn-manager.c
17196                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17197
17198         * vpn-daemons/vpnc/nm-vpnc-service.c
17199                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17200                 - (nm_vpnc_dbus_signal_launch_failed): remove
17201                 - (nm_vpnc_dbus_signal_connect_failed): remove
17202                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17203                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17204                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17205                         for new generalized error signal function, remove config file stuff
17206                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17207                         we can write configuration options to it
17208                 - (nm_vpnc_config_file_generate): removed
17209                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17210                 - (nm_vpnc_config_options_validate): validate the config options we receive
17211                         from NetworkManager to block potential exploits
17212                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17213                         starting vpnc
17214                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17215                         to NetworkManager
17216
17217 2005-05-16  Dan Williams  <dcbw@redhat.com>
17218
17219         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17220                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17221                         is not "connect"
17222
17223 2005-05-16  Dan Williams  <dcbw@redhat.com>
17224
17225         Patch from Tomislav Vujec <tvujec@redhat.com>
17226         * gnome/applet/applet-dbus-info.c
17227                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17228                         GConf and pass them to NetworkManager.  New key is 'routes' under
17229                         the VPN connection, and should be a string list
17230
17231         * src/NetworkManagerSystem.c
17232                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17233                         set them on the device when we set the rest of the VPN config.  Ensure
17234                         they are in the correct format since they are passed directly to the
17235                         command line.
17236
17237         * src/backends/NetworkManagerRedHat.c
17238           src/backends/NetworkManagerDebian.c
17239                 - (nm_system_device_add_route_via_device_with_iface): new function
17240
17241         * src/vpn-manager/nm-dbus-vpn.c
17242                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17243
17244         * src/vpn-manager/nm-vpn-manager.c
17245                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17246                         them into the IP4 config functions
17247
17248 2005-05-15  Dan Williams  <dcbw@redhat.com>
17249
17250         From Filip Miletic:
17251         * po/sr.po
17252           po/sr@Latn.po
17253           configure.in
17254                 - Serbian translation added
17255
17256 2005-05-15  Dan Williams  <dcbw@redhat.com>
17257
17258         * dispatcher-daemon/NetworkManagerDispatcher.c
17259                 - (main): sync arguments with NetworkManager and the applet, now use
17260                         "--no-daemon" rather than "daemon=no"
17261                 - (nmd_print_usage): Fix script path in usage message
17262
17263 2005-05-15  Dan Williams  <dcbw@redhat.com>
17264
17265         * src/NetworkManagerDevice.[ch]
17266           src/NetworkManagerPolicy.c
17267           src/NetworkManager.c
17268           src/nm-dbus-nm.c
17269                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17270                         longer send the DeviceNoLongerActive signal unconditionally, but only
17271                         when the device is actually active.
17272
17273         * dispatcher-daemon/NetworkManagerDispatcher.c
17274                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17275                         and simplify the logic
17276                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17277                         we free it later on
17278
17279         * initscript/RedHat/Makefile.am
17280           initscript/RedHat/NetworkManagerDispatcher
17281                 - Add initscript for NetworkManagerDispatcher
17282
17283
17284         Patch from Bill Moss:
17285         * dispatcher-daemon/NetworkManagerDispatcher.c
17286                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17287
17288         * src/NetworkManagerDbus.c
17289                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17290                         and DeviceNowActive gets signaled, then the device has a new IP address
17291                         anyway.  There's no need for a separate signal.
17292
17293         * src/NetworkManagerDevice.c
17294                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17295
17296         * src/NetworkManagerPolicy.c
17297                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17298                         activates successfully.  This kind of went missing when I reworked the
17299                         activation code.
17300
17301 2005-05-15  Dan Williams  <dcbw@redhat.com>
17302
17303         * configure.in
17304                 - Check for dhcdbd and error if its not found
17305
17306         * src/dhcp-manager/Makefile.am
17307           src/dhcp-manager/nm-dhcp-manager.c
17308                 - Use path to dhcdbd that configure found
17309
17310 2005-05-14  Dan Williams  <dcbw@redhat.com>
17311
17312         * gnome/applet/nm-device.c
17313                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17314                         sort wireless networks alphabetically
17315
17316         * gnome/applet/applet-dbus-devices.c
17317                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17318                         before copying them over to the GUI
17319
17320 2005-05-14  Dan Williams  <dcbw@redhat.com>
17321
17322         * src/NetworkManager.c
17323                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17324                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17325                         the device list, as does nm_get_active_device() which is called from
17326                         nm_vpn_manager_deactivate_vpn_connection().
17327
17328 2005-05-14  Dan Williams  <dcbw@redhat.com>
17329
17330         * NetworkManager.h
17331                 - Add signals for VPN Launch and Connect failures
17332
17333         * gnome/applet/applet-dbus.c
17334                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17335
17336         * gnome/applet/applet.c
17337                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17338                         function to handle all VPN failure messages
17339                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17340                         function to hanlde all VPN failure  messages
17341                 - (show_warning_dialog): work around focus-stealing prevention
17342
17343         * gnome/applet/other-network-dialog.c
17344           gnome/applet/passphrase-dialog.c
17345                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17346                         problem where it never enabled for ASCII Key and Hex Key types
17347
17348         * gnome/applet/wireless-applet.glade
17349                 - Add window title to Other Wireless Network Dialog
17350
17351         * src/vpn-manager/nm-dbus-vpn.c
17352                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17353                         function to handle all VPN failure messages
17354
17355         * src/vpn-manager/nm-vpn-manager.c
17356                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17357
17358         * vpn-daemons/vpnc/nm-vpnc-service.c
17359                 - (nm_vpnc_dbus_signal_launch_failed): new function
17360                 - (nm_vpnc_dbus_signal_connect_failed): new function
17361                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17362                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17363                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17364                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17365
17366 2005-05-11  Dan Williams  <dcbw@redhat.com>
17367
17368         * vpn-daemons/vpnc/nm-vpnc-service.c
17369                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17370                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17371                         file exists before trying to write it out.
17372
17373 2005-05-10  Dan Williams  <dcbw@redhat.com>
17374
17375     * gnome/applet/applet-dbus-device.c
17376         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17377             prevented just entering ESSID and leaving key and key type up to
17378             NetworkManager (which should have them already cached)
17379
17380 2005-05-08  Dan Williams  <dcbw@redhat.com>
17381
17382         * src/NetworkManagerPolicy.c
17383                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17384                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17385                         fix a situation where NM is told to terminate and the device stops activation,
17386                         but the main thread isn't aware of that because it would never have run
17387                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17388                         had already quit.
17389
17390         * src/NetworkManagerDevice.c
17391                 - (nm_device_probe_wired_link_state): cosmetic fixes
17392                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17393                         we've failed to activate or been canceled.
17394                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17395
17396 2005-05-08  Dan Williams  <dcbw@redhat.com>
17397
17398         * src/NetworkManagerWireless.c
17399                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17400                         value of WEXT quality structures, and add a debug message when we cannot
17401                         determine any quality % at all
17402
17403 2005-05-08  Dan Williams  <dcbw@redhat.com>
17404
17405         * src/dhcp-manager/nm-dhcp-manager.c
17406                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17407                         it goes down.
17408
17409 2005-05-06  Dan Williams  <dcbw@redhat.com>
17410
17411         * gnome/applet/applet-dbus-device.c
17412           gnome/applet/applet-dbus-info.c
17413           gnome/applet/applet-dbus.c
17414           gnome/applet/applet.c
17415           gnome/applet/applet.h
17416                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17417
17418         * gnome/applet/applet-dbus.c
17419                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17420                         so we notice when wired device's carriers come back on.  Should
17421                         fix issue with wired devices being grayed out even if the cable
17422                         is in, for devices that support carrier detection.
17423
17424         * gnome/applet/applet.c
17425                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17426                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17427                         tooltip message
17428                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17429                         Fix situation where applet wouldn't respond to menu selections
17430
17431         * src/NetworkManager.c
17432           src/NetworkManagerDevice.c
17433           src/NetworkManagerDbus.c
17434           src/NetworkManagerDbus.h
17435                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17436
17437         * src/NetworkManagerDbus.c
17438                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17439                         Remove, no longer used or relevant
17440                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17441                 - (nm_dbus_schedule_device_status_change_signal): add
17442
17443         * src/NetworkManagerDevice.c
17444                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17445                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17446                         ie don't deactivate them unless explicitly told to by the user.  Also send
17447                         CARRIER_OFF / CARRIER_ON signals when link changes
17448                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17449                         Don't print error message when device is no longer around
17450                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17451                         not just during activation
17452
17453         * src/NetworkManagerPolicy.c
17454                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17455                         auto-device-selection.
17456                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17457
17458         * src/NetworkManagerSystem.c
17459                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17460                         is no longer present (Bill Moss)
17461
17462         * src/backends/shvar.c
17463                 - (svOpenFile): Open read-only to make SELinux happy
17464
17465         * src/backends/NetworkManagerRedHat.c
17466                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17467                         the path to the ifcfg-* files
17468
17469 2005-05-05  Dan Williams  <dcbw@redhat.com>
17470
17471         * Expose activation stages to NetworkManager clients, like the applet
17472         * Add Diana's progress icons to the applet, cued off NM activation stage
17473         * Use more descriptive tooltips, cued off NM activation stage
17474
17475 2005-05-05  Ray Strode  <rstrode@redhat.com>
17476
17477         * src/nm-netlink-monitor.c:
17478                 - Use clear_event_source instead of g_nullify_pointer() again.
17479
17480 2005-05-05  Dan Williams  <dcbw@redhat.com>
17481
17482         * gnome/applet/main.c
17483                 - Fix session management so the applet is actually managed now
17484
17485         * gnome/applet/passphrase-dialog.c
17486                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17487
17488 2005-05-05  Dan Williams  <dcbw@redhat.com>
17489
17490         Patch from Bill Moss:
17491         * gnome/libnm_glib/libnm_glib.c
17492                 - Fix for dbus-0.33
17493
17494 2005-05-05  Dan Williams  <dcbw@redhat.com>
17495
17496         Suggestion from Bill Moss:
17497         * src/NetworkManagerSystem.c
17498                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17499
17500
17501         * src/NetworkManager.c
17502                 - (nm_data_free): move destruction of the various managers after
17503                         release of device list, because deactivating and freeing a device
17504                         requires at least the named manager
17505                 - (nm_poll_and_update_wireless_link_state):
17506                   (nm_device_link_activated):
17507                   (nm_device_link_deactivated):
17508                         don't grab the device list lock when actually updating device
17509                         link status or strength, since nm_device_set_link_active()
17510                         needs to call nm_get_active_device(), which also locks the device list.
17511
17512         * src/NetworkManagerDevice.c
17513                 - (nm_device_set_link_active): if a device's link switches from off->on,
17514                         and it's wired, and the active device is wireless (or there is no
17515                         active device), activate the new device whose link just came on
17516                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17517                         my only calling the link to the current ap "failed" when more than 2
17518                         consecutive link checks have failed
17519
17520 2005-05-04  Dan Williams  <dcbw@redhat.com>
17521
17522         * src/NetworkManagerDevice.c
17523                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17524                         but let link_to_specific_ap() do the locking where it needs
17525
17526         Patch from Bill Moss:
17527         * src/NetworkManagerSystem.c
17528                 - Set MTU of VPN devices to 1412
17529
17530 2005-05-04  Dan Williams  <dcbw@redhat.com>
17531
17532         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17533
17534         * Fix some holes in device activation and retaining the currently connected
17535                 access point
17536
17537 2005-05-03  Dan Williams  <dcbw@redhat.com>
17538
17539         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17540           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17541           means you need dhcdbd, which you can get here (get the latest one):
17542
17543                 http://people.redhat.com/jvdias/dhcdbd/
17544
17545           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17546           interface as dhcdbd.
17547
17548         * Rewrite device activation to facilitate the new DHCP infrastructure and
17549           future improvements.  Its now "activation request" based, ie there is a single
17550           activation request composed of the device, access point, and other info which
17551           follows the entire activation process.  There are 5 stages of the activation
17552           process which correspond to:
17553
17554                 1) Device preparation
17555                 2) Device configuration (bring it up, set ESSID/Key/etc)
17556                 3) IP Config Start (fire off DHCP if we're using it)
17557                 4) IP Config Get (grab config from DHCP or static config files)
17558                 5) IP Config Commit (set device's IP address, DNS, etc)
17559
17560           Note that there is no longer a "scanning" step, since the access point must
17561           be known _before_ activation starts.  If the access point drops out or does
17562           not exist for some reason, the entire activation process fails and must be
17563           restarted for a different access point or device.
17564
17565         Patch from Bill Moss:
17566         * gnome/applet/applet.c
17567                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17568
17569 2005-04-27  Dan Williams  <dcbw@redhat.com>
17570
17571         * gnome/applet/applet-dbus-vpn.c
17572           gnome/applet/applet.c
17573           gnome/applet/applet.h
17574                 - Fix up active VPN handling so that we reliably know when a VPN
17575                         connection has been deactivated
17576
17577         * src/vpn-manager/nm-vpn-manager.c
17578                 - Remove duplicate VPNConnectionChange signal
17579
17580 2005-04-27  Dan Williams  <dcbw@redhat.com>
17581
17582         Patch from Peter Jones:
17583         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17584
17585         Patch from Bill Moss:
17586         * src/NetworkManagerSystem.c
17587                 - Fix checking of return value from ioctl()
17588
17589 2005-04-27  Dan Williams  <dcbw@redhat.com>
17590
17591         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17592         * Warn and exit if icons cannot be found
17593
17594 2005-04-27  Dan Williams  <dcbw@redhat.com>
17595
17596         Patch from Tom Parker:
17597         * Update debian backend
17598
17599 2005-04-27  Dan Williams  <dcbw@redhat.com>
17600
17601         * Merge the applet and the info-daemon, and move the converged
17602                 applet under gnome/applet
17603         * Move libnm_glib to gnome/libnm_glib
17604         * Convert most dbus calls between the applet, info-daemon, and NM
17605                 into async calls
17606         * Fix a few things valgrind noticed
17607         * Make NM broadcast state more reliably
17608
17609 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17610
17611         * configure.in: Added ne in ALL_LINGUAS
17612
17613 2005-04-15  Dan Williams  <dcbw@redhat.com>
17614
17615         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17616                 code for dbus 0.2x versions
17617
17618 2005-04-15  Dan Williams  <dcbw@redhat.com>
17619
17620         Patches from Tom Parker:
17621         - Fix memleaks
17622         - Join with worker thread rather than polling for its exit
17623
17624         Patch from Bill Moss:
17625         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17626
17627 2005-04-15  Dan Williams  <dcbw@redhat.com>
17628
17629         - Fixes to pass 'make distcheck'
17630
17631 2005-04-15  Dan Williams  <dcbw@redhat.com>
17632
17633         Initial VPN Support
17634                 - supports 'vpnc'
17635                 - reworks device IP configuration, backend files have changed and will need
17636                         to be updated for all distributions.  I will try to do what I can for
17637                         them, but I cannot test them.
17638
17639         - Move named directory to src/named-manager
17640         - Make backends directory self-contained
17641
17642 2005-04-06  Dan Williams  <dcbw@redhat.com>
17643
17644         Add debug code for socket/file descriptor leaks.  We register every socket
17645         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17646         list of sockets that we forgot to close on shutdown.  This also consolidates
17647         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17648
17649 2005-04-06  Dan Williams  <dcbw@redhat.com>
17650
17651         * dhcpcd/dhcpcd.c
17652                 - (dhcp_interface_free): fix a file descriptor leak that may have
17653                         caused network drivers to not unload due to refcounts > 0
17654
17655 2005-04-04  Dan Williams  <dcbw@redhat.com>
17656
17657         * panel-applet/NMWirelessAppletDbus.c
17658                 - (nmwa_dbus_call_nm_method): remove some commented code
17659
17660         * src/NetworkManagerAPList.[ch]
17661                 - (nm_ap_list_remove_ap_by_essid): new function
17662
17663         * src/NetworkManagerDevice.c
17664                 - (nm_device_wireless_force_use): remove access points from the ignore list
17665                         when the user forces them
17666
17667         * src/nm-dbus-device.c
17668                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17669
17670 2005-04-04  Dan Williams  <dcbw@redhat.com>
17671
17672         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17673
17674 2005-04-04  Dan Williams  <dcbw@redhat.com>
17675
17676         * src/NetworkManagerDevice.c:
17677                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17678                         of only erroring after the second consecutive scan times out.  Also
17679                         don't exit when the card requires more time than we can give it, just
17680                         log the event and continue.
17681
17682 2005-04-01  Steve Murphy  <murf@e-tools.com>
17683
17684         * configure.in: Added "rw" to ALL_LINGUAS.
17685
17686 2005-04-01  Dan Williams <dcbw@redhat.com>
17687
17688         Perform scans during device activation, if needed.  Both activation 
17689         and scans run in the same GMainContext.  Therefore, if an access point
17690         is not found by the time the device starts activation, it will not
17691         be available until after activation.  We now try to scan during
17692         activation (in nm_wa_test) every 15s so that all available access
17693         points are more likely to be found and available for the activation
17694         procedure.
17695
17696         Also change nm_wireless_link_state_handle() to only update the "best"
17697         AP if we are not forcing a device and if we are not about to change
17698         state.  This attempts to work around a race when forcing a device,
17699         where the forced AP would get cleared out too soon by the link state
17700         checking timeout in the main thread, and the activation attempt with
17701         that AP would fail.
17702
17703 2005-04-01  Dan Williams <dcbw@redhat.com>
17704
17705         * po/POTFILES.in
17706                 - Update with new translatables
17707
17708 2005-03-31  Dan Williams <dcbw@redhat.com>
17709
17710         * panel-applet/NMWirelessAppletDbus.c
17711                 - Fix device names now that hal has changed device parenting for
17712                         network devices.
17713
17714 2005-03-31  Dan Williams <dcbw@redhat.com>
17715
17716         Tighten up handling of wireless devices that don't support wireless
17717         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17718         hadn't been doing pseudo-scanning for a while either and would just
17719         spin waiting for an access point.  They are now manual devices where
17720         the user must choose the access point from the menu every time.  All
17721         "allowed" access points are listed in the applet's menu regardless
17722         of whether or not they can be seen by the card, since it can't scan
17723         anyway.
17724
17725         * src/NetworkManager.c
17726                 - (nm_wireless_link_state_handle): new function, but only update
17727                         the "best" ap for non-scanning devices when its not activating,
17728                         and when no device is being forced on the card
17729                 - (nm_link_state_monitor): split wireless link state handling out
17730                         into separate function
17731
17732         * src/NetworkManagerDevice.c
17733                 - (nm_device_copy_allowed_to_dev_list): new function
17734                 - (nm_device_new): populate non-scanning cards' AP lists with
17735                         access points from the "allowed" list
17736                 - (nm_device_new): don't start a scanning timeout for devices that
17737                         can't scan
17738                 - (nm_device_activation_schedule_finish): new parameter, should be
17739                         the AP that failed to be connected to, pass it on to the
17740                         activation finish function in NetworkManagerPolicy.c
17741                 - (nm_device_activate_wireless): don't ever try to get a new AP
17742                         for non-scanning devices, just fail.  The user must choose
17743                         a new access point manually.
17744                 - (nm_device_activate): grab the AP that failed connection and
17745                         pass it on
17746                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17747                         a link to it, user must manually choose a new one
17748                 - (nm_device_do_pseudo_scan): remove function
17749                 - (nm_device_wireless_process_scan_results): remove bits for non-
17750                         scanning cards since they never get here
17751                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17752                         and fake the scan list for test devices a bit earlier
17753
17754         * src/NetworkManagerPolicy.c
17755                 - (nm_policy_activation_finish): use the failed_ap that we get
17756                         passed rather than getting the best_ap from the card, which
17757                         may have changed since we were scheduled
17758                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17759                         update their scan list directly from the allowed list when
17760                         we get updates to the allowed list from NetworkManagerInfo
17761
17762         * src/NetworkManagerPolicy.h
17763                 - New member for failed access point in NMActivationResult
17764
17765   -------------------------------------
17766
17767         Driver Notification patch: notifies the user when their driver
17768                 sucks.  Gives them the option to ignore further insertions
17769                 of the card that has the sucky driver.
17770
17771         * NetworkManager.h
17772                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17773                         enum and replace it with NO_CARRIER_DETECT and
17774                         NO_WIRELESS_SCAN
17775
17776         * panel-applet/NMWirelessApplet.[ch]
17777                 - Merge essid.glade -> wireless-applet.glade
17778                 - Implement the "Your driver sucks" notification dialog
17779
17780         * panel-applet/NMWirelessAppletDbus.c
17781                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17782                 - Grab hardware address for each device from NM too
17783                 - Check whether the driver for each device sucks or not whenever
17784                         a new device is noticed
17785
17786         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17787                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17788
17789         * src/NetworkManager.c
17790                 - Fix a double-unref on device removal
17791
17792         * src/NetworkManagerUtils.c
17793                 - Set appropriate driver support level on a device that doesn't
17794                         support scanning or carrier detection
17795
17796         * src/nm-dbus-device.c
17797                 - New "getHWAddress" dbus method on devices
17798                 - getSupportsCarrierDetect -> getDriverSupportLevel
17799
17800 2005-03-31  Dan Williams <dcbw@redhat.com>
17801
17802         * src/NetworkManagerDevice.c
17803                 - (nm_device_wireless_scan): Fix leak of scan results in some
17804                         instances
17805
17806 2005-03-29  Dan Williams <dcbw@redhat.com>
17807
17808         * src/NetworkManager.c
17809                 - (nm_poll_and_update_wireless_link_state): make code less indented
17810
17811         Patch from Bill Moss:
17812         * src/NetworkManager.c
17813                 - (nm_device_update_link_state): Update signal strength on wireless
17814                         devices every time we update link state too.
17815
17816 2005-03-29  Dan Williams <dcbw@redhat.com>
17817
17818         * src/NetworkManagerDevice.c
17819                 - (nm_device_set_essid): Work around Orinoco cards which need
17820                         extra time after setting the ESSID
17821
17822 2005-03-29  Dan Williams <dcbw@redhat.com>
17823
17824         * src/NetworkManagerDevice.c
17825                 - Merge one more bit of Peter Jones' completion patch
17826
17827 2005-03-29  Dan Williams <dcbw@redhat.com>
17828
17829         * src/NetworkManagerDevice.c
17830                 - (nm_device_force_use): Fix possible segfault
17831
17832 2005-03-29  Dan Williams <dcbw@redhat.com>
17833
17834         * src/NetworkManagerDevice.c
17835                 - Use iw_get_ext() where we should rather than iw_set_ext()
17836
17837 2005-03-29  Dan Williams <dcbw@redhat.com>
17838
17839         * src/NetworkManagerDevice.c
17840                 - (nm_device_set_up_down): remove check for unsupported devices
17841                         that caused NM to not bring devices up when they were
17842                         added to the device list.
17843
17844 2005-03-28  Dan Williams <dcbw@redhat.com>
17845
17846         * src/NetworkManagerDevice.c
17847                 - (mdio_read): Fix two bugs that caused all devices to fail
17848                         the MII carrier detection support checks
17849
17850 2005-03-26  Dan Williams <dcbw@redhat.com>
17851
17852         * src/NetworkManagerDevice.c
17853                 - (nm_device_wireless_scan): Remove duplicated scanning code
17854
17855 2005-03-25  Dan Williams <dcbw@redhat.com>
17856
17857         * panel-applet/NMWirelessApplet.c
17858                 - (nmwa_about_cb): Add some more contributors
17859                 - (nmwa_update_state): show the applet when there's no connection
17860                 - Enable the "Stop/Resume all wireless devices" option in the
17861                         context menu
17862                 - New "no connection" icon
17863
17864         * src/NetworkManager.c
17865                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17866                         wireless is disabled or we're asleep
17867
17868         * src/NetworkManagerDHCP.c
17869                 - Remove trailing "\n" on debug messages
17870
17871         * src/NetworkManagerDbus.c
17872                 - (nm_dbus_network_status_from_data): new state "asleep"
17873
17874         * src/NetworkManagerDevice.c
17875                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17876                         latency and wait times for most operations
17877                 - (nm_device_wireless_scan): Don't scan when asleep
17878
17879         * src/NetworkManagerPolicy.c
17880                 - (nm_policy_get_best_device): return no device when asleep
17881                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17882                         for all wireless devices on update, not just active device
17883
17884         * src/NetworkManagerUtils.c
17885                 - Merge Peter Jones' "completion" patch
17886
17887         * src/nm-dbus-nm.c
17888                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17889                         we're told to disable them
17890                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17891
17892         * utils/nm-utils.h
17893                 - New variants of the warn/info/error/debug print functions that can take
17894                         variables rather than static strings
17895
17896 2005-03-24  Dan Williams <dcbw@redhat.com>
17897
17898         * src/NetworkManagerUtils.c
17899                 - (nm_get_device_driver_name): driver names are now on the parents of
17900                         "Network Interface" objects, so look for them there
17901
17902 2005-03-24  Dan Williams <dcbw@redhat.com>
17903
17904         * test/nmtest.c
17905                 - Escape some forgotten object paths before we shove them through dbus
17906
17907 2005-03-24  Dan Williams <dcbw@redhat.com>
17908
17909         * dhcpcd/dhcpcd.[ch]
17910           src/NetworkManagerDHCP.c
17911                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17912                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17913
17914         * src/NetworkManagerDbus.c
17915                 - spacing cleanups
17916
17917         * src/nm-dbus-dhcp.c
17918                 - Make the API suck less.  There is now only 1 type of each function,
17919                         ie only "getInteger" and no longer also "getIntegerv".  All types
17920                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17921                         that will never have more than 1 element.  This should simplify
17922                         things greatly.
17923
17924         * test/nm-dhcp-opt-test.c
17925                 - Make the tool not segfault
17926                 - adapt to new DHCP Options API
17927
17928 2005-03-22  Dan Williams <dcbw@redhat.com>
17929
17930         * src/NetworkManager.c
17931                 - (nm_wired_link_deactivated): actually ignore netlink events from
17932                         wireless devices.
17933
17934 2005-03-22  Dan Williams <dcbw@redhat.com>
17935
17936         * src/NetworkManager.c
17937                 - (nm_wired_link_activated): actually ignore netlink events from
17938                         wireless devices.
17939
17940 2005-03-17  Dan Williams <dcbw@redhat.com>
17941
17942         Patch from Tom Parker:
17943         * src/nm-netlink-monitor.c
17944                 - Include unistd.h
17945         * info-daemon/NetworkManagerInfoDbus.c
17946                 - (nmi_dbus_update_network_auth_method): free GConf values
17947
17948         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17949         * src/NetworkManagerDevice.c
17950                 - (nm_device_set_wireless_config): wait for successful
17951                         association longer for some cards (Atheros a/b/g)
17952
17953 2005-03-15  Ray Strode  <rstrode@redhat.com>
17954
17955         * src/NetworkManager.c:
17956         (sigterm_pipe_handler):
17957         remove bogus FIXME
17958
17959 2005-03-15  Ray Strode  <rstrode@redhat.com>
17960
17961         * src/NetworkManagerDbus.c:
17962         Fix some sign weirdness that gcc4 doesn't like,
17963         and add a header file so PPC can hopefully find
17964         SIGTRAP
17965
17966 2005-03-14  Ray Strode  <rstrode@redhat.com>
17967         
17968         Fourth (probably working) cut at porting to
17969         dbus 0.30 api and new hal. This cut adds
17970         some new logging macros to make debugging
17971         easier.
17972
17973         * dispatcher-daemon/NetworkManagerDispatcher.c:
17974         * info-daemon/NetworkmanagerInfo.c:
17975         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17976         * info-daemon/NetworkManagerInfoVPN.c:
17977         * src/NetworkManager.c:
17978         * src/NetworkManagerAP.c:
17979         * src/NetworkManagerAPList.c:
17980         * src/NetworkManagerDHCP.c:
17981         * src/NetworkManagerDbus.c:
17982         * src/NetworkManagerDevice.c:
17983         * src/NetworkManagerPolicy.c:
17984         * src/NetworkManagerSystem.c:
17985         * src/NetworkManagerUtils.c:
17986         * src/NetworkManagerWireless.c:
17987         * src/autoip.c:
17988         * src/nm-dbus-nm.c:
17989         * src/backends/NetworkManagerDebian.c:
17990         * src/backends/NetworkManagerGentoo.c:
17991         * src/backends/NetworkManagerRedHat.c:
17992         * src/backends/NetworkManagerSlackware.c:
17993         use new logging macros.
17994
17995         * dispatcher-daemon/NetworkManagerDispatcher.c:
17996         (nmd_dbus_filter): s/dbus_free/g_free/
17997
17998         * info-daemon/Makefile.am: link in utils library.
17999         * info-daemon/NetworkmanagerInfo.c: use new logging 
18000         macros.
18001         (nmi_dbus_get_network): don't assume enumerations
18002         are 32-bit.
18003         (nmi_dbus_nmi_message_handler): don't free what 
18004         doesn't belong to us.
18005
18006         * libnm_glib/libnm_glib.c:
18007         (libnm_glib_get_nm_status): 
18008         (libnm_glib_init): don't free what doesn't
18009         belong to us.
18010         (libnm_glib_dbus): strdup result, so it doesn't get
18011         lost when message is unref'd.
18012
18013         * panel-applet/NMWirelessAppletDbus.c:
18014         (nmwa_dbus_update_devices): s/dbus_free/g_free/
18015
18016         * src/NetworkManager.c:
18017         (nm_monitor_wired_link_state): request initial status 
18018         dump of all cards when we start up, instead of relying
18019         on /sys/.../carrier.
18020         (nm_info_handler), (nm_set_up_log_handlers): 
18021         log handlers to specify what syslog priorites 
18022         the logging macros default to.
18023
18024         * src/NetworkManagerAPList.c: 
18025         (nm_ap_list_populate_from_nmi):
18026         s/dbus_free_string_array/g_strfreev/
18027
18028         * src/NetworkManagerDbus.c:
18029         (nm_dbus_get_network_object):
18030         validate d-bus message argument types.
18031         Advance message iterator after reading argument,
18032         prepend instead of append to GSList.
18033
18034         * src/NetworkManagerDevice.c:
18035         (nm_device_probe_wired_link_status):
18036         remove redundant /sys in /sys path. remove wrong
18037         contents == NULL means has carrier assumption.
18038
18039         * src/nm-netlink-monitor.c 
18040         (nm_netlink_monitor_request_status): implement
18041         function to ask kernel to dump interface link
18042         status over netlink socket.
18043
18044         * test/*.c: s/dbus_free/g_free/
18045
18046         * utils/nm-utils.h:
18047         (nm_print_backtrace): new macro to print backtrace.
18048         (nm_get_timestamp): new macro to get sub-second precise
18049         unix timestamp.
18050         (nm_info), (nm_debug), (nm_warning), (nm_error):
18051         new logging functions. nm_info just prints,
18052         nm_debug includes timestamp and function,
18053         nm_warning includes function, nm_error includes
18054         backtrace and sigtrap.
18055
18056 2005-03-11  Ray Strode  <rstrode@redhat.com>
18057
18058         Third (unfinished, partially working) cut at porting to 
18059         dbus 0.30 api and new hal.
18060
18061         * info-daemon/NetworkManagerInfoDbus.c:
18062                 don't free null arrays.
18063
18064         * panel-applet/NMWirelessAppletDbus.c: 
18065         * src/nm-dbus-device.c:
18066         * src/nm-dbus-net.c: 
18067         * src/NetworkManagerDbus.c: more 
18068         STRING -> OBJECT_PATH fun
18069         * src/NetworkManagerDevice.c:
18070         * src/NetworkManagerDevice.h:
18071         (rename nm_device_get_link_active): rename to 
18072         nm_device_has_active_link
18073         (nm_device_wireless_link_active): rename to
18074         nm_device_probe_wireless_link_state
18075         (nm_device_wired_link_active): rename to
18076         nm_device_probe_wired_link_state.  Rewrite to
18077         use carrier file since hal doesn't maintain
18078         link state anymore.
18079         (nm_device_update_link_active): rename to
18080         nm_device_update_link_state
18081         * src/NetworkManagerPolicy.c 
18082           (nm_policy_activation_finish): check for NULL
18083           MAC address.
18084
18085         * src/Makefile.am:
18086         * src/NetworkManagerMain.h: 
18087         * src/NetworkManager.c:
18088         * src/nm-netlink-monitor.c:
18089         * src/nm-netlink-monitor.h: New class to support
18090         monitoring wired ethernet link status, since HAL
18091         doesn't export that information anymore.
18092
18093 2005-03-09  Ray Strode  <rstrode@redhat.com>
18094
18095         Second (unfinished, unworking) cut at porting to 
18096         dbus 0.30 api.
18097
18098         * dispatcher-daemon/NetworkManagerDispatcher.c:
18099         * info-daemon/NetworkManagerInfoDbus.c:
18100         * panel-applet/NMWirelessAppletDbus.c:
18101         * src/NetworkManagerDbusUtils.c:
18102         * src/NetworkManagerDbusUtils.h:
18103         * src/nm-dbus-device.c:
18104         * src/nm-dbus-nm.c:
18105         * test/nmtest.c: support dbus "object path" type
18106
18107         * configure.in: 
18108         * Makefile.am:
18109         * info-daemon/Makefile.am:
18110         * libnm_glib/Makefile.am:
18111         * panel-applet/Makefile.am:
18112         * dispatcher-daemon/Makefile.am
18113         * src/Makefile.am:
18114         * test/Makefile.am:
18115         * utils/Makefile.am: 
18116         * utils/nm-utils.c: 
18117         * utils/nm-utils.h: new utils static lib
18118
18119 2005-03-07  Ray Strode  <rstrode@redhat.com>
18120
18121         * info-daemon/NetworkManagerInfoDbus.c:
18122         * libnm_glib/libnm_glib.c:
18123         * panel-applet/NMWirelessAppletDbus.c:
18124         * src/NetworkManager.c:
18125         * src/NetworkManagerDbus.c:
18126         * src/NetworkManagerDevice.c:
18127         * src/NetworkManagerUtils.c:
18128         * src/nm-dbus-device.c:
18129         * src/nm-dbus-dhcp.c:
18130         * src/nm-dbus-net.c:
18131         * src/nm-dbus-nm.c:
18132         * test/nminfotest.c:
18133         First (unfinished, unworking) cut at porting to dbus 0.30 api.
18134
18135 2005-03-04  Dan Williams  <dcbw@redhat.com>
18136
18137         * configure.in
18138                 - Mark HEAD as 0.4
18139
18140 2005-03-04  Dan Williams  <dcbw@redhat.com>
18141
18142         Patch from Peter Jones:
18143         - Make stuff work with gcc 4.0
18144
18145 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18146
18147         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18148
18149 2005-02-27  Jim Huang  <jserv@kaffe.org>
18150
18151         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18152
18153 2005-02-27  Dan Williams  <dcbw@redhat.com>
18154
18155         Patch from Bill Moss:
18156         * panel-applet/NMWirelessAppletDbus.c
18157                 - Make sure strength for current access point is up-to-date when we
18158                         update the gui data model
18159
18160 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18161
18162         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18163
18164 2005-02-27  Dan Williams  <dcbw@redhat.com>
18165
18166         * src/backends/NetworkManagerRedHat.c
18167                 - (nm_system_init): Kill any dhclient processes lying around as well
18168                         as stopping 'nifd' if its already been started.  NetworkManager
18169                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18170
18171 2005-02-27  Dan Williams  <dcbw@redhat.com>
18172
18173         * panel-applet/NMWirelessApplet.c
18174                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18175                         dbus data model, not the GUI data model twice.
18176
18177 2005-02-27  Dan Williams  <dcbw@redhat.com>
18178
18179         * panel-applet/NMWirelessApplet.[ch]
18180           panel-applet/NMWirelessAppletDbus.[ch]
18181                 - Move to incremental network updates.  Instead of blowing away our list
18182                         of devices every time we get a signal from NetworkManager, we now
18183                         incrementally add/remove networks when NetworkManager notifies us that
18184                         a new network has appeared or disappered.  Strength updates now happen
18185                         on-the-fly for each access point as well.  There are now two copies of
18186                         data from NetworkManager: one for the dbus side, and one for the gui side.
18187                         When the dbus side data is modified, it is copied over to the gui side
18188                         so we don't have to hold the data_mutex for long periods of time (and
18189                         therefore block animation of the applet's icon).
18190                 - Clean up some memleaks too
18191
18192         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18193                 - Minor code beautification
18194
18195         * src/NetworkManagerAPList.c
18196                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18197                         completely new and whether or not an existing one's strength was updated.
18198                         Try to fix multiple access points and signal strength by using the highest
18199                         signal strength in each scan for any given ESSID.
18200
18201         * src/NetworkManagerDbus.[ch]
18202                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18203                         wireless networks; now we have only WirelessNetworkUpdate which includes
18204                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18205                 - Kill usage of DbusMessageIter
18206
18207         * src/NetworkManagerDevice.c
18208                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18209                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18210                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18211                         currently associated with from the network list.
18212                 - Update for new signals during scan, send out Appeared, Disappeared, or
18213                         StrengthChanged when necessary.
18214
18215 2005-02-25  Dan Williams  <dcbw@redhat.com>
18216
18217         * README
18218                 - Line break the README
18219
18220 2005-02-25  Dan Williams  <dcbw@redhat.com>
18221
18222         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18223                 - Remove usage of gtk_window_set_default_size()
18224
18225         * panel-applet/essid.glade
18226                 - Stick default size here
18227                 - Add in random crap that current glade wants to add in now
18228
18229 2005-02-25  Dan Williams  <dcbw@redhat.com>
18230
18231         * src/backends/NetworkManagerRedHat.c
18232                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18233                         and that we actually tell nscd to reload the hosts cache when it changes
18234
18235 2005-02-25  Dan Williams  <dcbw@redhat.com>
18236
18237         * info-daemon/NetworkManagerInfoDbus.c
18238                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18239
18240         * test/nminfotest.c
18241                 - Whack usage of DbusMessageIter
18242                 - Clean up DbusError and DbusMessage handling and freeing
18243                 - Remove unused unregister handler
18244
18245         * test/nmtest.c
18246                 - Whack usage of DbusMessageIter
18247
18248         * test/nmtestdevices.c
18249                 - Whack usage of DbusMessageIter
18250
18251 2005-02-25  Dan Williams  <dcbw@redhat.com>
18252
18253         * NetworkManager.h
18254                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18255                         signal
18256
18257 2005-02-25  Dan Williams  <dcbw@redhat.com>
18258
18259         * named/nm-named-manager.c
18260                 - Ensure that pid and watch variables for child named process get cleared out
18261                         when the child goes away.
18262
18263 2005-02-22  Dan Williams  <dcbw@redhat.com>
18264
18265         * src/NetworkManagerPolicy.c
18266                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18267                         and NULL out data->active_device so that we have to choose another one.
18268                         This may make NetworkManager keep attempting to connect to a wired network
18269                         if it fails, but if it keeps failing the wired network has more problems than
18270                         just NetworkManager.
18271
18272         * src/backends/NetworkManagerRedHat.c
18273                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18274                         is already running
18275
18276         * named/nm-named-manager.c
18277                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18278                         named so that the distro can flush whatever name service caching
18279                         daemon it uses
18280
18281 2005-02-21  Dan Williams  <dcbw@redhat.com>
18282
18283         * src/NetworkManagerDHCP.[ch]
18284                 - (nm_device_dhcp_remove_timeouts): new function
18285
18286         * src/NetworkManagerDevice.c
18287                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18288                         remove the DHCP timeouts.
18289
18290 2005-02-21  Dan Williams  <dcbw@redhat.com>
18291
18292         * panel-applet/NMWirelessApplet.[ch]
18293           panel-applet/menu-info.[ch]
18294                 - Give the panel applet some major love: menu items are no longer
18295                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18296                         This allows the applet to actually reflect theme changes correctly,
18297                         since themeing of subclassed items in GTK _sucks_.
18298
18299 2005-02-18  Dan Williams  <dcbw@redhat.com>
18300
18301         * libnm_glib/libnm_glib.[ch]
18302           test/libnm_glib_test.c
18303                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18304                         and its data, and doesn't have to free the callback data anymore
18305
18306 2005-02-18  Dan Williams  <dcbw@redhat.com>
18307
18308         * panel-applet/NMWirelessApplet.c
18309                 - Revert 2005-02-18 William Jon McCann fix for standard
18310                         copyright string until it passes 'make distcheck'.
18311                         With standard copyright string, xgettext complains
18312                         about "Non-ASCII string at ...".
18313
18314 2005-02-18  Dan Williams  <dcbw@redhat.com>
18315
18316         * panel-applet/essid.glade
18317           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18318                 - Correct spelling of "adaptor"->"adapter"
18319
18320 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18321
18322         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18323         (nmwa_about_cb): Use standard copyright string.  Update comment
18324         text to reflect that it is a notification area applet.  Remove
18325         leading newline in authors list.
18326         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18327         instead of on parent menu item activation.  Fixes #167550.
18328
18329 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18330
18331         * panel-applet/essid.glade: Capitalize items as per HIG.
18332           Fixes #167632
18333
18334 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18335
18336         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18337         files for GTK 2.4 or lower, since now public in GTK 2.6.
18338
18339         * panel-applet/essid.glade: Don't specify window size.
18340         
18341 2005-02-17  Dan Williams  <dcbw@redhat.com>
18342
18343         Caught by Bill Moss:
18344         * dhcpcd/client.c
18345                 - Time remaining for DHCP transaction calculation was incorrectly
18346                         inside a #ifdef DEBUG
18347
18348 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18349
18350         * configure.in: Added fr (French) to ALL_LINGUAS.
18351
18352 2005-02-14  Dan Williams  <dcbw@redhat.com>
18353
18354         * src/NetworkManagerDHCP.c
18355                 - (set_domain_searches): Fix free of invalid pointer
18356
18357 2005-02-14  Dan Williams  <dcbw@redhat.com>
18358
18359         Patch from Peter Jones:
18360         * dhcpcd/client.c
18361                 - Ensure we return RET_DHCP_CEASED everywhere we should
18362         * dhcpcd/udpipgen.c
18363                 - Use faster TOS for IP packets
18364                 - Don't set ip_id since we're UDP
18365
18366         Patch from Tomislav Vujec:
18367         * src/nm-dbus-dhcp.c
18368           test/nm-dhcp-opt-test.c
18369                 - Clean up warnings to enable cvs tree compilation.
18370
18371 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18372
18373         * configure.in
18374           po/hr.po
18375                 - Add the Croatian locale.
18376
18377 2005-02-14  Colin Walters  <walters@verbum.org>
18378
18379         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18380         list of domains to search.
18381         
18382         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18383
18384 2005-02-13  Dan Williams  <dcbw@redhat.com>
18385
18386         * dhcpcd/client.c
18387                 - Debug output cleanups of DHCP option printing and parsing.
18388
18389 2005-02-13  Dan Williams  <dcbw@redhat.com>
18390
18391         Patch from Dan Reed:  DHCP options D-BUS API
18392                 Exposes the DHCP options that a device receives to clients over D-BUS.
18393
18394         * configure.in
18395                 - A few cleanups
18396
18397         * dhcpcd/client.h
18398                 - Correct names, option length, and types for DHCP options
18399
18400         * dhcpcd/dhcpcd.[ch]
18401                 - Clarify function names that access DHCP options & data
18402
18403         * src/NetworkManagerDHCP.c
18404                 - Use new DHCP data access functions
18405
18406         * src/NetworkManagerDbus.c
18407                 - Message handler for DHCP functions
18408
18409         * src/nm-dbus-dhcp.[ch] (new)
18410                 - DHCP dbus methods
18411
18412         * test/nm-dhcp-opt-test.c
18413                 - Test DHCP D-BUS API and return all present DHCP options
18414
18415 2005-02-12  Dan Williams  <dcbw@redhat.com>
18416
18417         * test/Makefile.am
18418           test/nmclienttest.c
18419           test/nmtest.c
18420                 - Move nmclienttest.c -> nmtest.c
18421
18422 2005-02-12  Dan Williams  <dcbw@redhat.com>
18423
18424         * dhcpcd/buildmsg.c
18425                 - Pad DHCP packets until they are at least 300 bytes in size.
18426
18427 2005-02-11  Dan Williams  <dcbw@redhat.com>
18428
18429         * dhcpcd/client.c
18430                 - (dhcp_init): only print out client ID and class ID if they are specified
18431
18432         * src/NetworkManagerDbus.[ch]
18433           src/nm-dbus-nm.[ch]
18434           src/nm-dbus-device.[ch]
18435           src/nm-dbus-net.[ch]
18436                 - Move NM, Device, and Net functions to separate files and use the
18437                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18438                         method dispatching
18439
18440         * src/NetworkManagerDbusUtils.c
18441                 - Add new validate_method called before each dispatch (if present)
18442                         that can validate the method call
18443
18444         * src/NetworkManagerWireless.c
18445                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18446                         levels never to be evaluated
18447
18448         Patch from j@bootlab.org
18449         * src/NetworkManagerDevice.c
18450                 - Add typedef for "u64"
18451
18452         * src/backends/NetworkManagerDebian.c
18453                 - Copy in Dave Woodhouse's fixes for IPv6
18454
18455 2005-02-11  Dan Williams  <dcbw@redhat.com>
18456
18457         Patch from Dave Woodhouse for IPv6:
18458         * src/NetworkManagerUtils.c
18459                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18460                         and multicast addresses
18461
18462         * src/NetworkManagerDevice.c
18463                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18464                         after bringing up a card.
18465
18466 2005-02-10  Dan Williams  <dcbw@redhat.com>
18467
18468         Patch from Dave Woodhouse:
18469         * src/NetworkManagerSystem.h
18470           src/backends/NetworkManagerDebian.c
18471           src/backends/NetworkManagerGentoo.c
18472           src/backends/NetworkManagerSlackware.c
18473                 - New nm_system_device_add_ip6_link_address() function to add link-local
18474                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18475
18476         * src/backends/NetworkManagerRedHat.c
18477                 - (nm_system_device_add_ip6_link_address): implement
18478                 - (nm_system_device_flush_addresses): revert to previous behavior of
18479                         flushing all addresses
18480
18481 2005-02-10  Dan Williams  <dcbw@redhat.com>
18482
18483         Patch from Tom Parker:
18484         * src/NetworkManagerDevice.c
18485                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18486                         mii.h headers are broken, and instead use our own typedefs
18487
18488 2005-02-10  Dan Williams  <dcbw@redhat.com>
18489
18490         * dhcpcd/buildmsg.c
18491                 - (fill_host_and_class_id): only fill in client and class IDs if
18492                         they are set by callers.
18493
18494         * dhcpcd/client.c
18495                 - (class_id_setup): don't autogenerate a class ID, only use one
18496                         we're given, if any.
18497                 - (client_id_setup): don't autogenerate a client ID, only use one
18498                         we're given, if any.
18499
18500         * dhcpcd/dhcpcd.c
18501                 - (dhcp_interface_init): ensure that client options are correctly
18502                         NULL terminated
18503
18504         * src/NetworkManagerDHCP.c
18505                 - (nm_device_dhcp_request): pass hostname to dhcp library
18506
18507 2005-02-10  Dan Williams  <dcbw@redhat.com>
18508
18509         * dhcpcd/client.c
18510                 - #rh147661# Don't send kernel version in DHCP requests
18511
18512         * src/NetworkManagerSystem.h
18513           src/backends/NetworkManagerDebian.c
18514           src/backends/NetworkManagerGentoo.c
18515           src/backends/NetworkManagerRedHat.c
18516           src/backends/NetworkManagerSlackware.c
18517                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18518                         functions, they are no longer used anyway
18519
18520         * src/backends/NetworkManagerRedHat.c
18521                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18522                         addresses in an attempt to keep IPv6 local-scope addresses around
18523
18524 2005-02-10  Dan Williams  <dcbw@redhat.com>
18525
18526         * src/NetworkManager.c
18527                 - (nm_create_device_and_add_to_list): change the add message slightly
18528
18529         * src/NetworkManagerUtils.c
18530                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18531                         Return driver name to calling function
18532                 - (nm_get_driver_support_level): print out the driver a device is using
18533                         during the support check
18534
18535         Patch from Dave Woodhouse:
18536         * dhcpcd/udpipgen.c
18537                 - (in_cksum): copy last byte of odd-sized packets into a
18538                         'u_short' rather than a 'u_char', should fix wrong checksums
18539                         on big-endian platforms
18540
18541 2005-02-09  Dan Williams  <dcbw@redhat.com>
18542
18543         * Clean up usage of GSList objects and looping through their members
18544         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18545                 now.
18546         * Fix problem where even if scanning was turned off, card would still
18547                 cycle through frequencies.
18548
18549 2005-02-08  Dan Williams  <dcbw@redhat.com>
18550
18551         * panel-applet/NMWirelessApplet.c
18552                 - Fix for gtk 2.4
18553
18554 2005-02-08  Dan Williams  <dcbw@redhat.com>
18555
18556         Patch from Bill Moss
18557         * panel-applet/NMWirelessApplet.c
18558                 - Restore correct ESSID in tooltips
18559
18560 2005-02-07  Dan Williams  <dcbw@redhat.com>
18561
18562         * panel-applet/NMWirelessApplet.[ch]
18563                 - Add a context menu that contains:
18564                         Pause/Resume Wireless Scanning
18565                         Stop/Start All Wireless Devices
18566                         About...
18567                 - Grab active device strength off active device,
18568                         not its network
18569
18570         * panel-applet/NMWirelessAppletDbus.[ch]
18571                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18572                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18573                 - Update active device strength every 2 seconds, not every 1 second
18574
18575         * panel-applet/menu-info.c
18576                 - Only disable wired devices in the menu when they support carrier detection,
18577                         and don't currently have a link.  Non-carrier-detect devices will always
18578                         remain choosable
18579
18580         * src/Makefile.am
18581           src/NetworkManagerDbusUtils.[ch]
18582                 - Add new new dbus utils sources
18583
18584         * src/NetworkManager.c
18585                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18586                         with the boolean parameter
18587                 - Set scanning_enabled & wireless_enabled to TRUE
18588
18589         * src/NetworkManagerDbus.c
18590                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18591                 - Implement scanning & wireless enable/disable calls
18592                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18593
18594         * src/NetworkManagerDevice.c
18595                 - New link detection stuff again...
18596                         o  Create device's mainloop earlier (but don't run it earlier)
18597                         o  Hook up new carrier-detect support stuff
18598                         o  Add in the ethtool & mii support detection code
18599                 - Don't scan if scanning is disabled
18600
18601         * src/NetworkManagerPolicy.c
18602                 - Never automatically choose a device that doesn't support carrier detection
18603                 - Don't automatically choose a wireless device if wireless is disabled
18604
18605 2005-02-07  Dan Williams  <dcbw@redhat.com>
18606
18607         * libnm_glib/libnm_glib.c
18608                 - Small cleanup in element list iteration
18609
18610 2005-02-07  Dan Williams  <dcbw@redhat.com>
18611
18612         * src/NetworkManagerWireless.c
18613                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18614                         to be in line with the WEXT quality specification
18615
18616 2005-02-02  Dan Williams  <dcbw@redhat.com>
18617
18618         Patch from Nathan Fredrickson <nathan@silverorange.com>
18619         * Fix up compile for deprecation of libgnomeui
18620                 - Switch to <glib/gi18n.h> from <libintl.h>
18621                 - Remove <libgnomeui/libgnomeui.h> includes
18622                 - Use gtk_window_set_default_icon_from_file() rather than
18623                         gnome_window_set_default_icon_from_file()
18624
18625         * named/nm-named-manager.c
18626                 - (generate_named_conf): Fix return-nothing in non-void
18627                         function
18628
18629 2005-02-02  Dan Williams  <dcbw@redhat.com>
18630
18631         * Clean up unused variables and the like
18632
18633 2005-02-02  Dan Williams  <dcbw@redhat.com>
18634
18635         * src/NetworkManagerAPList.c
18636                 - (nm_ap_list_merge_scanned_ap): merge strength too
18637
18638         * src/NetworkManagerUtils.c
18639                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18640                         of locking issues by printing out prettier information than g_mutex_lock
18641                 - Print out names of mutexes registered with nm_register_mutex_desc()
18642                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18643                         us to seemingly block here for too long
18644
18645         * src/NetworkManager.c
18646           src/NetworkManagerAPList.c
18647           src/NetworkManagerDevice.c
18648                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18649                         so we get better debug information printed
18650
18651         * src/NetworkManagerDbus.c
18652                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18653                         since it sometimes has locking side effects
18654                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18655                         from 10s
18656                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18657                         we don't need a switch.  This gets called often enough that we can't block
18658                         until the scan mutex is acquired, because we'll block on device activation
18659                         and a few other things, which hangs main thread for too long.
18660
18661         * src/NetworkManagerPolicy.c
18662                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18663                         nm_device_need_ap_switch() will be called               
18664
18665 2005-02-02  Dan Williams  <dcbw@redhat.com>
18666
18667         * panel-applet/NMWirelessApplet.c
18668                 - Display name of wireless network we are connecting to or connected to
18669                         in the tooltip of the applet
18670
18671 2005-02-02  Dan Williams  <dcbw@redhat.com>
18672
18673         * src/NetworkManagerDHCP.c
18674                 - Hopefully fix double-default-route problem by cleaning up the default
18675                         route added by DHCP code right before the DHCP transaction begins
18676
18677 2005-02-02  Dan Williams  <dcbw@redhat.com>
18678
18679         * named/nm-named-manager.c
18680                 - Write out valid resolv.conf when we exit
18681
18682 2005-02-01  Dan Williams  <dcbw@redhat.com>
18683
18684         Patch from Colin Walters:
18685         * named/nm-named-manager.c
18686                 - Make multi-domain search options work
18687
18688 2005-01-31  Dan Williams  <dcbw@redhat.com>
18689
18690         * info-daemon/NetworkManagerInfoDbus.c
18691                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18692
18693         * src/NetworkManagerDevice.c
18694                 - (nm_device_new): Don't store the entire range struct, use only what we need
18695                         (which is currently avg_quality, max_quality, and frequencies).  Also
18696                         zero device structure when we've free'd it to maybe expose errors down
18697                         the line.
18698                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18699                         quality data from the card since quality will be useless during a scan.
18700                         Call updated wireless qual-to-percent function with values stored in
18701                         nm_device_new() earlier.
18702                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18703                         nm_device_get_bad_crypt_packets())
18704                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18705                         nm_device_new()
18706                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18707                         list if available.  Problem was this: when the WEP key is wrong, NM will
18708                         try OS then SK modes, and then get stuck in SK mode after that.  This
18709                         should reset it.
18710                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18711                         function
18712
18713         * src/NetworkManagerWireless.c
18714                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18715                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18716                         if that's all present, otherwise fall back to signal-to-noise ratios.
18717
18718 2005-01-29  Dan Williams  <dcbw@redhat.com>
18719
18720         * initscript/RedHat/NetworkManager
18721                 - Don't spit out sysctl stuff to console
18722
18723         * libnm_glib/libnm_glib.c
18724                 - (libnm_glib_init): call dbus_g_thread_init()
18725
18726         * panel-applet/NMWirelessAppletDbus.c
18727                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18728
18729         * src/NetworkManager.c
18730                 - (main): call dbus_g_thread_init()
18731
18732         * src/NetworkManagerAPList.c
18733                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18734                         so we can actually see what's there in a normal syslog
18735
18736         * src/NetworkManagerDevice.c
18737                 - (nm_device_activate_wireless): print out the "waiting for access point"
18738                         message only once, then say what access point we actually got after
18739                         the wait.
18740                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18741                         function, wait until the scan is done.  Scans may change the ESSID of
18742                         the card, making this function think we need to switch access points
18743                 - (nm_device_wireless_process_scan_results): for artificial access points
18744                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18745                         prevents collisions with the scanning code, which may change the card's
18746                         ESSID and cause the access point to get dropped from the device's AP
18747                         list.  Also increase the keep-around time to 2m from 60s since the max
18748                         scan interval could be 60s in some cases.
18749
18750         * src/NetworkManagerPolicy.c
18751                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18752                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18753                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18754                         between NM and NMI.
18755
18756 2005-01-27  Dan Williams  <dcbw@redhat.com>
18757
18758         * info-daemon/NetworkManagerInfoDbus.c
18759                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18760                         GConf, make a minimal entry for it (essid & timestamp)
18761
18762         * src/NetworkManagerAPList.c
18763                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18764                         NetworkManagerInfo isn't running
18765
18766         * src/NetworkManagerDbus.[ch]
18767                 - (nm_dbus_nmi_is_running): new function
18768
18769         * src/NetworkManagerDevice.c
18770                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18771                         address to garbage.
18772
18773         * src/NetworkManagerPolicy.c
18774                 - (nm_policy_activation_finish): On successful activation, make sure
18775                         the "best" AP has a MAC address, and don't tell NMI to add the
18776                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18777                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18778                         access point after refreshing our allowed list if it doesn't already
18779                         have a "best" access point.
18780
18781 2005-01-25  Dan Williams  <dcbw@redhat.com>
18782
18783         * panel-applet/NMWirelessAppletDbus.c
18784                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18785                         so we check for NM_DBUS_SERVICE rather than not for it
18786
18787         * libnm_glib/libnm_glib.c
18788                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18789                         ServiceOwnerChanged signal
18790
18791 2005-01-25  Dan Williams  <dcbw@redhat.com>
18792
18793         * configure.in
18794                 - Check DBUS version in configure, and set the C macros
18795                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18796
18797         * info-daemon/NetworkManagerInfoDbus.c
18798                 - Remove #if 0-d section of code that quit NMI if NM went away.
18799
18800         * panel-applet/NMWirelessAppletDbus.c
18801                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18802
18803         * src/NetworkManager.c
18804           src/NetworkManagerMain.h
18805           src/NetworkManagerDbus.c
18806                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18807                 - Make updating of our Allowed Wireless Network lists from NMI
18808                         an idle function in the main thread now, with a high priority.
18809
18810 2005-01-24  Dan Williams  <dcbw@redhat.com>
18811
18812         * panel-applet/gtkcellview.[ch]
18813           panel-applet/menu-info.c
18814                 - Fix GTK version checks to be <= rather than <
18815
18816         * test/Makefile.am
18817                 - Include the libtool archive of libnm_glib rather than
18818                         trying to pull in the .so
18819
18820 2005-01-24  Dan Williams  <dcbw@redhat.com>
18821
18822         * src/NetworkManagerDevice.c
18823           src/NetworkManagerDevicePrivate.h
18824                 - Block nm_device_new() until our device's worker thread has had a
18825                         chance to start up.  Fixes a race between main thread and worker
18826                         thread starting that caused activation requests to get lost.
18827
18828 2005-01-24  Dan Williams  <dcbw@redhat.com>
18829
18830         * initscript/RedHat/NetworkManager
18831                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18832                         to add the NM startup script at priority 50, which was
18833                         way too early
18834
18835 2005-01-24  Colin Walters  <walters@redhat.com>
18836
18837         * named/named.conf: Use any port for query source instead of
18838         restricting to port 53.
18839
18840 2005-01-24  Dan Williams  <dcbw@redhat.com>
18841
18842         * initscript/RedHat/NetworkManager
18843                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18844                         to add the NM startup script at priority 50, which was
18845                         way too early
18846
18847 2005-01-24  Dan Williams  <dcbw@redhat.com>
18848
18849         Patch from Tom Parker <palfrey@tevp.net>
18850         * Fix up compile warnings & errors in the wireless applet
18851
18852 2005-01-24  Dan Williams  <dcbw@redhat.com>
18853
18854         * panel-applet/NMWirelessApplet.c
18855                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18856
18857 2005-01-24  Dan Williams  <dcbw@redhat.com>
18858
18859         * panel-applet/gtkcellview.[ch]
18860                 - Only compile these files for GTK 2.4 or lower, since 
18861                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18862                         when choosing "Other Wireless Networks" from the panel
18863                         applet menu
18864
18865 2005-01-21  Dan Williams  <dcbw@redhat.com>
18866
18867         * src/NetworkManager.c
18868                 - Daemonize earlier so that glib doesn't get confused (?)
18869
18870 2005-01-21  Dan Williams  <dcbw@redhat.com>
18871
18872         * panel-applet/NMWirelessApplet.[ch]
18873           panel-applet/NMWirelessAppletDbus.c
18874           panel-applet/menu-info.c
18875           src/NetworkManagerDevice.c
18876                 - Disable wired devices in the menu when they have no link.
18877
18878 2005-01-21  Dan Williams  <dcbw@redhat.com>
18879
18880         * Cache last-known-good wireless authentication method in
18881                 NetworkManagerInfo, and use that method first during
18882                 wireless device activation.  Should speed up devices that
18883                 need Shared Key authentication method since Open System is
18884                 now the default.
18885
18886         * Remove the hack to not do full activation on wired connections
18887                 that are active when we launch, it causes too many problems
18888                 with name resolution and was a hack in the first place.
18889
18890         * Re-work wireless device activation again somewhat to have a
18891                 clearer chain of events and to use last-known-good
18892                 authentication method of the access point.  Also provide
18893                 better status throughout activation to ensure the applet
18894                 can tell the user exactly what's going on.
18895
18896         * Remove the "find wireless network" code and now simply attempt
18897                 to activate with that access point.  This reduces the delay
18898                 between selecting "Other wireless Network" and actually
18899                 connecting to that network.
18900
18901         * Correctly stop the device's worker thread when its removed.
18902
18903 2005-01-21  Dan Williams  <dcbw@redhat.com>
18904
18905         * dhcpcd/client.c
18906                 - Clean up some of the debug messages
18907
18908 2005-01-21  Dan Williams  <dcbw@redhat.com>
18909
18910         * Add new icons, more frames of animation
18911         * Remove some hacks to get the panel applet to display correct
18912                 status, an NM update will soon follow that will fix the
18913                 real issue.
18914
18915 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18916
18917         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18918         the first include for working i18n. Also, don't include it in .h files
18919         * panel-applet/NMWirelessApplet.h: Same
18920         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18921         * panel-applet/menu-info.c: Same
18922
18923 2005-01-18  Dan Williams <dcbw@redhat.com>
18924
18925         * dhcpcd/client.c
18926                 - Remove some debug messages
18927                 - Wrap others in #ifdef DEBUG/#endif
18928
18929         * src/NetworkManager.c
18930                 - Remove some debug messages
18931                 - Clarify some debug messages
18932                 - Remove code related to old single-thread wireless scanning
18933
18934         * src/NetworkManagerAP.[ch]
18935                 - New AP property "last_seen" to track how recently an AP was
18936                         found in a scan
18937                 - Start using 'const' more in function arguments
18938
18939         * src/NetworkManagerAPList.[ch]
18940                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18941                         of an AP found in an AP list from a source AP, or if not found
18942                         in the list add the source AP
18943                 - (nm_ap_list_combine): remove, no longer needed
18944
18945         * src/NetworkManagerDevice.c
18946                 - Each device now has a "worker" thread from start to end of its life.
18947                         Scanning for wireless devices now happens in that thread,
18948                         not in a single "wireless scanning thread" for all devices as
18949                         previously.  Activation consists of adding an idle handler to the
18950                         thread's main loop/context, which gets run at the next available
18951                         opportunity.
18952                 - Wireless scanning is also simplified, there is now only one list of
18953                         access points per wireless device, and APs older than 60s are
18954                         removed from the list.  Previously, we kept results for the last
18955                         3 scans and merged whole lists, which was complicated.
18956                 - Cleaned up activation debug messages.
18957                 - Wireless activation and access-point search routines now use Open System
18958                         authentication before trying Shared Key.
18959                 - Removed some code in nm_device_update_best_ap() that could cause cards
18960                         to loose their link to the access point.
18961                 - Scanning now uses a backoff algorithm, where the inverval becomes
18962                         progressively longer between scans when the list of scanned access
18963                         points doesn't change.  A change will revert to the shortest scan
18964                         interval (20s).
18965
18966         * src/NetworkManagerWireless.[ch]
18967                 - Remove code related to old single-thread wireless scanning
18968
18969 2005-01-18  Colin Walters  <walters@redhat.com>
18970
18971         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18972         of older nameservers.
18973
18974 2005-01-18  Colin Walters  <walters@redhat.com>
18975
18976         * named/nm-named-manager.c (generate_named_conf): Many fixes
18977         to config file generation.
18978         (safer_kill): Remove, was too much trouble for little gain.
18979         (nm_named_manager_start): Run named as NM_NAMED_USER.
18980
18981         * configure.in: Add option --with-named-user.
18982
18983 2005-01-14  Colin Walters  <walters@redhat.com>
18984
18985         Patch from ed@catmur.co.uk (Ed Catmur)
18986
18987         * named/nm-named-manager.c: Add "context" property.
18988         Use it to add child watch source in specific GMainContext.
18989
18990         * src/NetworkManager.c (nm_data_new): Initialize
18991         named with correct main context.  Start named only
18992         after forking.
18993
18994 2005-01-14  Colin Walters  <walters@redhat.com>
18995
18996         * named/nm-named-manager.c (generate_named_conf): Write config
18997         and pid files into NM_NAMED_DATA_DIR; this allows things to
18998         work better with FC3 named SELinux policy.  Also fix up silly
18999         format error.
19000
19001         * configure.in: Add --with-named-dir option.
19002
19003 2005-01-14  Colin Walters  <walters@redhat.com>
19004
19005         * configure.in: Make named support require passing --with-named.
19006
19007         * named/nm-named-manager.c: Support writing resolv.conf directly
19008         without running named.
19009
19010 2005-01-13  Dan Williams <dcbw@redhat.com>
19011
19012         * named/nm-named-manager.c
19013                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19014
19015         * src/NetworkManagerDevice.c
19016                 - Rework wireless link detection code to be more reliable
19017
19018 2005-01-12  Dan Williams <dcbw@redhat.com>
19019
19020         * initscripts/RedHat/NetworkManager
19021                 - Change initial level to "-" rather than "345" so that
19022                         we don't activate ourselves by default on install
19023
19024 2005-01-12  Dan Williams <dcbw@redhat.com>
19025
19026         * libnm_glib/
19027                 - Client library for applications using glib
19028
19029         * configure.in
19030           various Makefiles
19031                 - Split NM_CFLAGS and NM_LIBS into separate variables
19032                         like DBUS_*, HAL_* and GLIB_*
19033
19034         * src/NetworkManager.c
19035           src/NetworkManagerMain.h
19036                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19037                         broadcast a status changed signal over DBUS from the main thread.
19038                         Still unused anywhere for the moment.
19039
19040         Patch from j@bootlab.org
19041         * panel_applet/NMWirelessAppletDbus.c
19042           src/NetworkManagerDbus.c
19043                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19044                         for the "getMode" method call
19045
19046 2005-01-10  Dan Williams <dcbw@redhat.com>
19047
19048         * src/NetworkManagerDevice.c
19049                 - Minor fixups & corrections to "auto" frequency mode, make it
19050                         less chatty with syslog
19051
19052 2005-01-10  Dan Williams <dcbw@redhat.com>
19053
19054         * src/NetworkManagerDevice.c
19055                 - Implement "auto" frequency/channel support, since cards like Atheros
19056                         can't use other frequencies at all when you've told it to use a
19057                         specific one, even for scanning.
19058                 - Grab the scan mutex around places where we can't tolerate wireless
19059                         settings changing underneath us, like nm_device_wireless_network_exists()
19060                         and nm_device_activate_wireless()
19061
19062         * src/NetworkManagerWireless.c
19063                 - Back scan interval off to 20s instead of 14s
19064
19065 2005-01-09  Dan Williams <dcbw@redhat.com>
19066
19067         * src/NetworkManagerDevice.c
19068                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19069                         already set.  Stops some drivers like Atmel from continually
19070                         reloading the firmware, which they do upon every configuration
19071                         change.
19072
19073 2005-01-09  Dan Williams <dcbw@redhat.com>
19074
19075         * dhcpcd/client.c
19076                 - Use correct timeout value
19077
19078         * info-daemon/NetworkManagerInfoDbus.c
19079           src/NetworkManagerDbus.c
19080                 - Consolidate communication between NM and NMI by doing only 1 dbus
19081                         method call to get Wireless Network info from NMI instead of 6
19082
19083         * src/NetworkManager.c
19084                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19085                         when we didn't have an AP to use, we'd wait for one forever without
19086                         quitting
19087
19088         * src/NetworkManagerDevice.c
19089                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19090                         activation, dhcp might not have started yet but we don't quit activation
19091                         before starting it, so the quit signal gets lost
19092
19093 2005-01-07  Dan Williams <dcbw@redhat.com>
19094
19095         * dhcpcd/client.c
19096                 - Rework the DHCP client code to be much less chatty when
19097                         it receives non-DHCP UDP packets during the DHCP run
19098                         (reported by and preliminary patches from Bill Moss)
19099
19100         * Move wireless scanning to a separate thread.  This thread forwards the
19101                 results to the main thread when done where they are integrated into
19102                 the device's access point lists.  This keeps the main thread (which
19103                 does all the DBUS communication) from being blocked for long periods
19104                 of time by wireless scanning.
19105
19106         * Make state modification an idle routine in the main loop, and trigger
19107                 state changes rather than polling for them.
19108
19109         * src/backends/NetworkManagerGentoo.c
19110                 - Fix up invalid C90 code (reported by Christoph Ruessler)
19111
19112         * src/NetworkManagerDevice.c
19113                 - Revert IPv6 patch for wired devices from 2004-12-22 for
19114                         router advertisements, causing problems and infinite loop
19115                         during "best" device determination due to link going up/down
19116                         (reported by Bill Moss)
19117
19118         Apply patch from Peter Jones
19119         * src/NetworkManagerDevice.c
19120                 - Shortcut for link-checking for ipw2x00 cards
19121                 - Split out association check into separate routine
19122
19123 2004-01-05  Colin Walters  <walters@redhat.com>
19124
19125         * named/named.conf: Add PID_FILE.
19126
19127         * named/nm-named-manager.c: Always generate a pid
19128         file, since older BIND versions don't support
19129         "pid-file none".
19130
19131 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
19132
19133         * configure.in (ALL_LINGUAS): Added ja (Japanese).
19134
19135 2004-12-22  Dan Williams <dcbw@redhat.com>
19136
19137         * src/NetworkManagerDevice.c
19138                 - Silently fail when setting bitrate doesn't work
19139
19140
19141         Patches from j@bootlab.org:
19142         * src/backends/NetworkManagerDebian
19143                 - Update backend to match functionality in RedHat backend
19144         * src/NetworkManagerDevice.c
19145                 - Take down then bring up wired devices after connection so
19146                 they send out ipv6 router advertisements
19147
19148 2004-12-21  Colin Walters  <walters@verbum.org>
19149
19150         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19151         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19152
19153 2004-12-21  Colin Walters  <walters@redhat.com>
19154
19155         * configure.in: Correct named detection.
19156
19157 2004-12-21  Colin Walters  <walters@redhat.com>
19158
19159         * src/NetworkManager.c (nm_data_new): Initialize named.
19160         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19161         the mainloop when these signals are received.
19162         (nm_data_free): Unref named.
19163         (sigterm_handler, sigterm_pipe_handler): New functions for
19164         exiting mainloop.
19165         
19166         * src/NetworkManagerMain.h (NMData): Add signal handling and
19167         nameserver bits.
19168
19169         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19170         unref.
19171
19172         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19173         set nameservers from DHCP response data.
19174         (set_domain_search): Set domain search from DHCP response.
19175         (nm_device_dhcp_configure): Invoke them.
19176
19177         * src/NetworkManagerSystem.c
19178         (nm_system_device_update_resolv_conf): Delete.  Deleting
19179         code is totally sweet.
19180
19181         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19182
19183         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19184         implements an object which controls a nameserver.  Currently
19185         uses bind 9.
19186
19187         * configure.in: Check for named.
19188
19189         * Makefile.am (SUBDIRS): Add named dir.
19190
19191         * named/named.conf: New template config file.
19192
19193 2004-12-20  Colin Walters  <walters@redhat.com>
19194
19195         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19196         instead of '='.
19197
19198 2004-12-17  Dan Williams  <dcbw@redhat.com>
19199
19200         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19201                 link-local addresses instead of doing DHCP.
19202
19203         * In the panel applet, there's a new "Create new Wireless Network..." item
19204
19205         * The panel applet also sticks around now even if NetworkManager dies, but
19206                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19207                 a bug, I'll fix that later.
19208
19209         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19210                 lookups after a switch rather than actually doing them.
19211
19212         * Clean up some of those warnings in nm_ap_list_* functions
19213
19214         * Delay between scans changed to 15s instead of 10s
19215
19216 2004-12-15  Dan Williams  <dcbw@redhat.com>
19217
19218         Patch from Tom Parker
19219         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19220                 address
19221
19222         * Longer pause after setting ESSID on cards that support a larger number
19223                 of channels to give the card time to find the right channel
19224
19225         * Add system hook to restart mDNSResponder (or whatever the local implementation
19226                 of Multicast DNS is) when we activate interfaces
19227
19228 2004-12-15  Dan Williams  <dcbw@redhat.com>
19229
19230         * Rework the DHCP code again to revert to sending full ethernet frames
19231                 rather then relying on the kernel to do the right thing with our
19232                 packets.
19233
19234 2004-12-06  Dan Williams  <dcbw@redhat.com>
19235
19236         * dhcpcd/client.c
19237                 - Fix some minor errors in dhcp_handle_transaction() that caused
19238                         unexpected early timeouts of DHCP transactions
19239
19240         * dhcpcd/client.h
19241                 - DHCP retransmit time from 4s -> 5s
19242
19243 2004-12-05  Dan Williams  <dcbw@redhat.com>
19244
19245         * Major rework of the DHCP code, taking some cues from pump.  We don't
19246                 write raw Ethernet packets anymore, which simplifies the code quite
19247                 a bit.  The new code should be more robust, not hang in recvfrom()
19248                 as much, and generally work better.  This also means that we need
19249                 to force HAL/dbus to use a created GMainContext rather than the
19250                 default context, since having the DHCP renew/rebind thread using
19251                 its own GMainContext seemed to give dbus a fit.  There is also more
19252                 debugging information printed from the DHCP loop to help with future
19253                 problems.
19254
19255         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19256                 assume that the default gateway should be the DHCP server.
19257
19258         Patch from Matthew Schick <matt oss-institute org>
19259         * src/backends/NetworkManagerGentoo.c
19260                 - Fix compilation error due to missing "ip4_broadcast"
19261
19262 2004-12-03  Dan Williams  <dcbw@redhat.com>
19263
19264         * initscript/Makefile.am
19265         * initscript/Debian/NetworkManager
19266         * initscript/Gentoo/NetworkManager
19267         * initscript/RedHat/NetworkManager
19268         * initscript/NMLaunchHelper.c
19269                 - Remove NMLaunchHelper, if you need to wait until the network
19270                         comes up, use the dead code from CVS.
19271
19272 2004-12-01  Colin Walters  <walters@redhat.com>
19273         
19274         * configure.in: Suck in gcc warnings code from Rhythmbox,
19275         but use fewer default flags, and in particular add -Wno-unused,
19276         since the codebase has a lot of unused variables.
19277
19278         * test/nmtestdevices.c (create_device): 
19279         * test/nminfotest.c (get_network_string_property) 
19280         (get_networks_of_type): 
19281         * test/nmclienttest.c (main): 
19282         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19283         * initscript/NMLaunchHelper.c (get_nm_status): 
19284         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19285         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19286         Fix declarations after statements.
19287
19288 2004-12-01  Colin Walters  <walters@redhat.com>
19289
19290         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19291         (nmi_dbus_get_vpn_userpass): New method.
19292         (nmi_dbus_nmi_message_handler): Invoke it.
19293
19294         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19295
19296         * info-daemon/NetworkManagerInfoVPN.h,
19297         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19298         to requests for VPN passwords.
19299
19300         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19301
19302 2004-12-01  Colin Walters  <walters@redhat.com>
19303
19304         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19305         includes.
19306
19307 2004-12-01  Colin Walters  <walters@redhat.com>
19308
19309         * panel-applet/NMWirelessAppletDbus.c
19310         (nmwa_dbus_update_active_device_strength): Fix missing
19311         return value.
19312
19313 2004-12-01  Colin Walters  <walters@redhat.com>
19314
19315         * panel-applet/NMWirelessApplet.c: Add missing include.
19316
19317 2004-12-01  Colin Walters  <walters@redhat.com>
19318
19319         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19320         Remove useless CLAMP (); the value is unsigned, and the case tests
19321         qual->qual < 100, so the value must always be between 0 and 100.
19322
19323 2004-12-01  Colin Walters  <walters@redhat.com>
19324
19325         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19326
19327 2004-11-22  Colin Walters  <walters@verbum.org>
19328
19329         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19330         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19331         which is essentially a noop since nscd caches hosts on disk too.
19332         
19333 2004-11-22  Colin Walters  <walters@redhat.com>
19334
19335         * src/Makefile.am (NetworkManager_SOURCES): Add
19336         NetworkManagerDevicePrivate.h.
19337
19338 2004-11-22  Dan Williams <dcbw@redhat.com>
19339
19340         * src/NetworkManagerDevicePrivate.h
19341                 - Split out the NMDevice struct to a different file so that stuff like
19342                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19343
19344         * dhcpcd/client.c
19345                 - fprintf->syslog
19346                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19347                         need to cancel the dhcp request during the send and recv
19348
19349         * dhcpcd/client.h
19350                 - Move the DHCP option enum to dhcpcd.h
19351
19352         * src/NetworkManagerDHCP.c
19353                 - Split out the actual IP/netmask/etc setting code
19354                 - New Renew/Rebind functions
19355                 - New timer setup function for renew/rebind operations
19356
19357         * src/NetworkManagerDevice.c
19358                 - For device activation, if we are using DHCP then keep the activation thread
19359                         alive until device deactivation.  We need to renew/rebind the DHCP address
19360                         after the T1 (renew) and T2 (rebind) times have expired.
19361                 - Increase some timeouts after bringing wireless cards up/down
19362
19363 2004-11-17  Dan Williams <dcbw@redhat.com>
19364
19365         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19366                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19367                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19368                 show known access points that don't broadcast their ESSID in the menus without
19369                 any user intervention whatsoever.
19370
19371         * info-daemon/NetworkManagerInfoDbus.c
19372                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19373                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19374
19375         * src/NetworkManagerAP.[ch]
19376                 - Add a "user_addresses" data member to the NMAccessPoint structure
19377                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19378                         the user_addresses data member
19379
19380         * src/NetworkManagerAPList.c
19381                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19382                         the AP's reported address
19383                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19384
19385         * src/NetworkManagerDHCP.c
19386                 - Increase DHCP timeout from 25s -> 30s
19387
19388         * src/NetworkManagerDbus.[ch]
19389                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19390                         user addresses
19391
19392         * src/NetworkManagerDevice.c
19393                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19394                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19395                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19396                         So, we take the card down to clear it out.
19397                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19398                         too, since that's where the user_addresses are
19399
19400         * src/NetworkManagerPolicy.c
19401                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19402                         that wireless networks' user_addresses list upon successful activation
19403
19404 2004-11-16  Dan Williams <dcbw@redhat.com>
19405
19406         * src/NetworkManagerDevice.[ch]
19407                 - (nm_device_clear_activation_fail): new function
19408
19409         * src/NetworkManagerPolicy.c
19410                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19411                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19412
19413 2004-11-16  Dan Williams <dcbw@redhat.com>
19414
19415         * src/NetworkManagerDevice.c
19416                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19417                         leak the structure, better updating of now_scanning status
19418                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19419
19420 2004-11-15  Dan Williams <dcbw@redhat.com>
19421
19422         Major rework of link detection code.  We now use DHCP
19423         as part of the link detection which proves to be much more robust,
19424         and also supports Open System authentication for wireless networks.
19425
19426         We no longer use external DHCP client programs.  Instead, we use 
19427         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19428         which was written by:
19429                 Yoichi Hariguchi <yoichi@fore.com>
19430                 Sergei Viznyuk <sv@phystech.com>
19431                 http://www.phystech.com/download/
19432         It resides in the "dhcpcd" directory and was refactored into a general
19433         purpose DHCP client library by me.
19434
19435         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19436         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19437
19438 2004-11-15  Dan Williams <dcbw@redhat.com>
19439
19440         Patch from Tom Parker <palfrey@tevp.net>:
19441
19442         * src/NetworkManagerDevice.c
19443                 - Less output to console when no access
19444                         points are found during a scan
19445
19446 2004-11-15  Dan Williams <dcbw@redhat.com>
19447
19448         Patch from Tom Parker <palfrey@tevp.net>:
19449
19450         * src/backends/interface_parser.c
19451                 - Use g_strdup ()
19452                 - Check for inp == NULL
19453                 - use syslog ()
19454
19455 2004-11-13  Colin Walters  <walters@redhat.com>
19456
19457         Patch from Tom Parker <palfrey@tevp.net>:
19458
19459         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19460         
19461         * src/backends/NetworkManagerRedHat.c: Switch to
19462         including shvar.h instead of shvar.c.
19463
19464         * src/backends/NetworkManagerDebian.c: Don't include
19465         interface_parser.c in source file.
19466
19467         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19468         and interface_parser.[ch].
19469         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19470         Include shvar.c and shvar.h here.
19471         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19472         interface_parser.c and interface_parser.h here.
19473
19474 2004-11-12  Colin Walters  <walters@redhat.com>
19475
19476         * configure.in: Strip out TARGET_DISTRO and
19477         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19478         conditionals.
19479
19480         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19481         (libnmbackend_la_SOURCES): Use Automake conditionals
19482         to add distro-specific files.
19483
19484         * initscript/Makefile.am (SUBDIRS): Update to
19485         use conditionals.
19486
19487 2004-11-12  Colin Walters  <walters@redhat.com>
19488
19489         Patches from j bootlab org
19490
19491         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19492         Add interface_parser.[ch].
19493
19494         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19495         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19496
19497 2004-11-12  Colin Walters  <walters@redhat.com>
19498
19499         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19500         call to nmi_dbus_is_running too, not necessary anymore.
19501         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19502         pick up exit().
19503
19504 2004-11-11  Colin Walters  <walters@verbum.org>
19505
19506         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19507         Delete.
19508         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19509         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19510         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19511         This avoids a race condition that made it pretty easily
19512         possible to get two NetworkManagerInfo daemons running.
19513
19514 2004-11-11  Colin Walters  <walters@verbum.org>
19515         
19516         * src/NetworkManager.c (main): Use daemon(3).
19517
19518         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19519
19520         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19521
19522 2004-11-10 Dan Williams <dcbw@redhat.com>
19523
19524         Patches from j bootlab org
19525         * src/NetworkManagerDevice.c
19526                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19527                         whether the card has a link or not, some cards are slow
19528                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19529
19530         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19531                 - Disable the "Login" button on the passphrase dialog until the user
19532                         enters a valid passphrase or key
19533
19534         Patches from Tom Parker <palfrey tevp net>
19535         * src/backends/NetworkManagerDebian.c
19536                 - Add static IP support to the debian backend
19537
19538         * src/backends/interface_parser.[ch]
19539                 - Parse debian interface config files
19540
19541 2004-11-08 Dan Williams <dcbw@redhat.com>
19542
19543         * src/NetworkManagerDevice.c
19544                 - Some random fprintf->syslog conversions
19545                 - (nm_device_wireless_network_exists): double-check for network
19546                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19547
19548         * src/NetworkManagerWireless.[ch]
19549                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19550                         so that the binary->ascii conversion works (if unsigned, the bitshift
19551                         will fill with zeros, which is what's required).  Also mask bitshift
19552                         result with 0xF for futher assurance.
19553
19554 2004-11-06 Dan Williams <dcbw@redhat.com>
19555
19556         * src/NetworkManagerUtils.c
19557                 - (nm_get_wireless_driver_support_level): default to
19558                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19559                         flip this when changing from whitelist->blacklist of
19560                         wireless drivers
19561
19562 2004-11-05 Dan Williams <dcbw@redhat.com>
19563
19564         Patch from Robert Paskowitz:
19565         * src/backends/NetworkManagerGentoo.c
19566                 - Update static IP config code
19567
19568 2004-11-05 Dan Williams <dcbw@redhat.com>
19569
19570         * info-daemon/NetworkManagerInfoDbus.c
19571           src/NetworkManagerDbus.[ch]
19572           src/NetworkManagerDevice.c
19573                 - Keep track of the # of attempts to get the WEP key
19574                         from the user and pass that along to the info daemon
19575
19576 2004-11-05 Dan Williams <dcbw@redhat.com>
19577
19578         * src/NetworkManagerUtils.c
19579                 - Blacklist wireless cards rather than whitelisting them.
19580                 - Grab driver name from HAL rather than trying to find it
19581                         ourselves.
19582
19583 2004-11-03 Dan Williams <dcbw@redhat.com>
19584
19585         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19586                 - Disable OK button until valid data is entered
19587                         for encryption stuff too
19588
19589         * panel-applet/NMWirelessApplet.c
19590                 - Report card strength for current AP if the card
19591                         doesn't report strength data for scanned access
19592                         points
19593
19594         * src/NetworkManagerDevice.c
19595                 - Smooth out cards reported quality, Atmel card was
19596                         intermittently reporting no quality data but soon
19597                         recovers
19598
19599         * src/NetworkManagerWireless.c
19600                 - Better quality data percentage calculation.  Atmel
19601                         cards (mine at least) seem to report the quality
19602                         in percentage format already, so honor that
19603
19604         Patch from <j@bootlab.org>
19605         * NetworkManager.h
19606           info-daemon/NetworkManagerInfoPassphraseDialog.c
19607           info-daemon/passphrase.glade
19608           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19609           panel-applet/essid.glade
19610           src/NetworkManagerAP.c
19611           src/NetworkManagerDevice.c
19612           src/NetworkManagerWireless.[ch]
19613                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19614
19615 2004-11-03 Dan Williams <dcbw@redhat.com>
19616
19617         * src/NetworkManagerDevice.[ch]
19618                 - (nm_device_set_enc_key): Add parameter to set Authentication
19619                         Mode (Open System, Shared Key, or None).  We're still using
19620                         Shared Key for now though.
19621
19622 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19623
19624         * panel-applet/menu-info.c: change from bold text to light
19625         colored, may cause problems with some themes, i've tested a lot
19626         and they seem fine. 
19627
19628         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19629
19630 2004-11-01  Colin Walters  <walters@verbum.org>
19631
19632         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19633         (nm_wireless_128bit_key_from_passphrase): Add const.
19634
19635         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19636         (nm_ap_set_enc_key_source): Add const.
19637         
19638 2004-11-01  Colin Walters  <walters@verbum.org>
19639
19640         * .cvsignore: Update.
19641
19642 2004-10-29 Dan Williams <dcbw@redhat.com>
19643
19644         * src/NetworkManagerDevice.c
19645                 - (nm_device_wireless_network_exists): Actually use the encryption
19646                         key we got from the applet when attempting to find a wireless network
19647                 - Don't bring devices down so much since on some cards it triggers
19648                         firmware hotplugs each time
19649
19650         * src/NetworkManagerDbus.c
19651                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19652                         from the caller
19653
19654 2004-10-29 Dan Williams <dcbw@redhat.com>
19655
19656         * src/NetworkManager.c
19657                 - (nm_hal_device_property_modified): unlock a locked active
19658                         wireless device when a wired connection gets a link.
19659                         (Means you'll switch to wired whenever you plug in no
19660                         matter what).
19661
19662 2004-10-29 Dan Williams <dcbw@redhat.com>
19663
19664         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19665                 - New files, implement the "Other wireless network" dialog
19666
19667         * panel-applet/NMWirelessApplet.c
19668                 - Move "other wireless network" dialog to separate file
19669
19670         * panel-applet/NMWirelessAppletDbus.[ch]
19671                 - Take key and key_type paramaters for the set_device function
19672
19673         * panel-applet/essid.glade
19674                 - Add UI bits for encryption settings
19675
19676         * src/NetworkManagerDbus.c
19677                 - Retrieve key and key_type params for "setActiveDevice" method call
19678                         and pass them on
19679                 - unref AP returned from nm_device_get_best_ap() when needed
19680
19681         * src/NetworkManagerDevice.c
19682                 - (nm_device_get_best_ap): ref the ap before returning it
19683                 - unref AP returned from nm_device_get_best_ap() when needed
19684                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19685                         need to call nm_device_get_best_ap() here, it was pretty much
19686                         redundant anyway
19687                 - (AP_NEED_KEY): break second link check condition out into separate
19688                         function, and fix segfault when ap->enc_key_source was NULL
19689                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19690                         pass them along to nm_device_wireless_network_exists().  If the
19691                         network does exist, set the passed-in key+key_type on the AP
19692
19693         * src/NetworkManagerPolicy.c
19694                 - unref AP returned from nm_device_get_best_ap() when needed
19695
19696 2004-10-28 Dan Williams <dcbw@redhat.com>
19697
19698         * src/NetworkManagerUtils.c
19699                 - (nm_spawn_process): Fix a potential dereference of NULL
19700
19701         Patches from Peter Jones:
19702
19703         * src/NetworkManagerDevice.c
19704                 - (nm_device_test_wireless_extensions): Better check for
19705                         wireless devices
19706
19707         * src/NetworkManagerUtils.c
19708                 - (nm_spawn_process): Pass in valid stdout and stderr so
19709                         executed programs don't randomly SIGPIPE and fail
19710                 - (nm_get_wired_driver_support_level): quash hal warning
19711                         when checking for USB ethernet device
19712
19713 2004-10-27 Dan Williams <dcbw@redhat.com>
19714
19715         * info-daemon/NetworkManagerInfo.c
19716           info-daemon/NetworkManagerInfoDbus.c
19717           info-daemon/NetworkManagerInfoPassphraseDialog.c
19718           panel-applet/NMWirelessApplet.c
19719                 - Properly escape gconf keys
19720
19721         * src/NetworkManager.c
19722                 - remove unused variables
19723
19724         * src/NetworkManagerAP.c
19725                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19726                         refcount since it got set in nm_ap_new()
19727
19728         * src/NetworkManagerAPList.c
19729                 - (nm_ap_list_combine): Give up ownership of newly created
19730                         access points to the ap list, fixes memleak
19731
19732         * src/NetworkManagerDevice.c
19733                 - Remove cached_ap_list4 member since its not really needed
19734                 - (nm_device_wireless_network_exists): Try to get correct
19735                         encryption status of a found AP if its already in our
19736                         device list
19737                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19738                         memory allocs/deallocs a bit clearer and shorter-lived
19739
19740 2004-10-26 Ray Strode <rstrode@redhat.com>
19741
19742         * panel-applet/NMWirelessApplet.c:
19743           (custom_essid_item_selected):  kill some compiler
19744         warnings 
19745
19746 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19747
19748         * info-daemon/NetworkManagerInfoDbus.c
19749                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19750                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19751
19752 2004-10-23 Dan Williams <dcbw@redhat.com>
19753
19754         * info-daemon/NetworkManagerInfoDbus.c
19755                 - Trap the "DeviceActivationFailed" signal
19756
19757         * docs/NetworkManager DBUS API.txt
19758                 - Add "DeviceActivationFailed" signal
19759
19760         * panel-applet/NMWirelessAppletDbus.c
19761                 - Quash the "NetworkManager service not available" message
19762
19763         * src/NetworkManagerDbus.[ch]
19764                 - Add the "DeviceActivationFailed" signal
19765
19766         * src/NetworkManagerDevice.c
19767                 - Add support for activation_failed flag
19768                 - Fix deadlock where activation thread didn't clean itself up, making
19769                         main thread still believe it was alive forever (didn't reset activation
19770                         flags like activating, just_activated, etc when IP configuration
19771                         failed)
19772
19773         * src/NetworkManagerPolicy.c
19774                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19775                         for wireless networks, try to fall back to some other access point
19776
19777 2004-10-23 Dan Williams <dcbw@redhat.com>
19778
19779         * panel-applet/NMWirelessApplet.[ch]
19780                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19781                         to the applet object, so we can get tooltips
19782                 - Add tooltips (RH #136866)
19783
19784         * src/NetworkManagerDevice.c
19785                 - When trying to find a wireless network, try to connect with encryption
19786                         turned on first, so that we can more accurately detect whether or not
19787                         we need to use encryption for the actual association later on
19788
19789 2004-10-21 Dan Williams <dcbw@redhat.com>
19790
19791         * Add some support for telling NetworkManagerInfo to tell the user
19792                 that they are using a device that's not fully supported
19793
19794         * Fix some assertions in debug messages due to null access point args
19795
19796 2004-10-21 Dan Williams <dcbw@redhat.com>
19797
19798         * src/NetworkManagerDevice.c
19799                 - Don't try to activate/bring up/down unsupported
19800                         devices
19801
19802         * src/NetworkManagerUtils.c
19803                 - Fix case of PCI ID checks for driver support levels
19804
19805 2004-10-21 Dan Williams <dcbw@redhat.com>
19806
19807         * NetworkManager.h
19808                 - New file, now contains commonly used structures and bits
19809                         for the dbus API of NetworkManager
19810
19811         * Makefile.am
19812                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19813
19814         * src/NetworkManager.h
19815                 - Rename -> src/NetworkManagerMain.c
19816
19817         * Various fixups all around to use NetworkManager.h and new
19818                 src/NetworkManagerMain.h, remove redundant bits that got
19819                 moved into NetworkManager.h
19820
19821         * src/NetworkManagerDevice.[ch]
19822           src/NetworkManagerUtils.[ch]
19823           src/NetworkManagerPolicy.c
19824           src/NetworkManagerDbus.c
19825                 - Whitelist wireless drivers, and blacklist some wired
19826                         drivers.  Also blacklist cipsec and ethernet-over-usb
19827                         devices at this time (RH #135722, RH #135648)
19828                 - Don't leak unsupported devices out over dbus, or allow
19829                         them to be set as the active device.  Skip over them
19830                         during automatic device picking
19831
19832         * test/nmclienttest.c
19833                 - Clean up the dbus code a lot
19834
19835 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19836
19837         * configure.in: post release bump.
19838
19839 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19840
19841         * configure.in:
19842         * NEWS: Released NetworkManager-0.3.1
19843
19844 2004-10-18 Dan Williams <dcbw@redhat.com>
19845
19846         Patches from Thom May:
19847         * test/nmtestdevices.c
19848                 - Include <string.h>
19849         * src/backends/NetworkManagerDebian.c:
19850                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19851                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19852                         Move to using g_strdup_printf rather than arbitrary buffers
19853                 - (nm_system_device_setup_static_ip4_config) Implement function.
19854                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19855
19856 2004-10-17 Dan Williams <dcbw@redhat.com>
19857
19858         * info-daemon/NetworkManagerInfoDbus.c
19859                 - Display name of network in the "network not found" dialog
19860
19861         * panel-applet/NMWirelessAppletDbus.c
19862                 - (nmwa_dbus_call_nm_method): new function replaces all other
19863                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19864                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19865                         consolidated into nmwa_dbus_get_object_name()
19866
19867 2004-10-15 Dan Williams <dcbw@redhat.com>
19868
19869         * src/NetworkManagerDbus.c
19870           info-daemon/NetworkManagerInfoDbus.c
19871                 - Display an error dialog when the user tries to use an
19872                         "Other wireless network" that's not found.
19873
19874 2004-10-15 Dan Williams <dcbw@redhat.com>
19875
19876         * panel-applet/NMWirelessApplet.[ch]
19877                 - Fix up corner cases in applet state, making it
19878                         look more responsive.  Change state to "connecting" when
19879                         the user is forcing a device too.
19880
19881 2004-10-15 Dan Williams <dcbw@redhat.com>
19882
19883         * src/NetworkManagerAPList.c
19884                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19885
19886         * src/NetworkManagerDbus.c
19887                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19888
19889         * src/NetworkManagerDevice.c
19890                 - Disown APs after the device's AP list takes ownership
19891
19892 2004-10-15 Dan Williams <dcbw@redhat.com>
19893
19894         * panel-applet/NMWirelessApplet.c
19895                 - Update our applet state from the GUI thread
19896
19897         * panel-applet/NMWirelessAppletDbus.c
19898                 - Greatly simplify the locking to make the GUI thread
19899                         smoother.  Update a private copy of the device list
19900                         and active device and only when done talking to
19901                         NetworkManager turn it over to the GUI thread.
19902
19903 2004-10-15 Dan Williams <dcbw@redhat.com>
19904
19905         * src/NetworkManagerAP.[ch]
19906                 - Add "artificial" get/set functions, set for APs that
19907                         aren't discovered as part of a scan but instead
19908                         discovered by force-setting the ESSID
19909
19910         * src/NetworkManagerDevice.[ch]
19911                 - (nm_device_wireless_network_exists): pass back whether
19912                         or not the discovered AP was encrypted.  Also, try
19913                         falling back to encrypted mode on the card if unencrypted
19914                         association doesn't work
19915                 - (nm_device_find_and_use_essid): If the network requested
19916                         did in fact exists, but it wasn't in our scan list, add
19917                         an "artificial" entry for it.  Some Cisco cards don't
19918                         see non-ESSID-broadcasting APs in their scan but can still
19919                         associate with them if you know the ESSID, this works around
19920                         that behavior
19921                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19922                         to scan if the card is currently associated with that AP
19923
19924 2004-10-15 Dan Williams <dcbw@redhat.com>
19925
19926         ---- We have a website ----
19927         http://people.redhat.com/dcbw/NetworkManager
19928
19929         Patch from Robert Paskowitz:
19930         * src/NetworkManager.c
19931                 - (main): Make sure we are run as root
19932         * src/NetworkManagerDevice.c
19933                 - Fix type in ad-hoc setting function
19934
19935         Patch from Thom May:
19936         * src/backends/NetworkManagerDebian.c
19937                 - Make Debian backend compile again
19938
19939 2004-10-14 Dan Williams <dcbw@redhat.com>
19940
19941         * Tagged NetworkManager-0_3
19942
19943 2004-10-14 Dan Williams <dcbw@redhat.com>
19944
19945         Patch from Robert Paskowitz:
19946         * NEWS
19947           src/NetworkManagerDevice.[ch]
19948           src/backends/NetworkManagerDebian.c
19949           src/backends/NetworkManagerGentoo.c
19950           src/backends/NetworkManagerRedHat.c
19951           src/backends/NetworkManagerSlackware.c
19952                 - Add support for grabbing and using a broadcast address
19953                         from system config files
19954                 - Some Gentoo backend fixes for grabbing network config
19955                 - Fix LOG_WARN->LOG_WARNING
19956
19957 2004-10-14 Dan Williams <dcbw@redhat.com>
19958
19959         * NEWS: a few small fixes in the credits
19960
19961 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19962
19963         * NEWS: prep for release.
19964
19965 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19966
19967         * panel-applet/NMWirelessAppletDbus.c
19968         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19969
19970 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19971
19972         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19973         applet->state == APPLET_STATE_NO_NM animation.
19974
19975         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19976         set the text correctly.
19977
19978 2004-10-14 Dan Williams <dcbw@redhat.com>
19979
19980         * src/NetworkManager.c
19981                 - Only accept and manager 802.3 and 802.11 devices
19982
19983         * src/NetworkManagerDbus.[ch]
19984                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19985                         logic into NetworkManagerDevice.c
19986                 - (nm_dbus_network_status_from_data): new function
19987                 - (nm_dbus_signal_network_status_change): new function, unused for now
19988                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19989
19990         * src/NetworkManagerDevice.[ch]
19991                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19992                         a random ESSID.
19993
19994 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19995
19996         * info-daemon/NetworkManagerInfo.c 
19997                 - (main): Added session management
19998
19999 2004-10-14 Dan Williams <dcbw@redhat.com>
20000
20001         * panel-applet/NMWirelessAppletDbus.[ch]
20002                 - Expose network_device_[un]ref()
20003                 - Expose wireless_network_[un]ref()
20004                 - (wireless_network_new_with_essid): new function, create and return
20005                         a wireless network with a particular essid
20006
20007         * panel-applet/NMWirelessApplet.c
20008                 - Hook up the "other network" dialog to do something
20009
20010 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
20011
20012         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
20013         doesn't work yet, but it looks okay.
20014
20015         * panel-applet/icons/*png: Resize to 22x22 and install in the
20016         right place.
20017
20018 2004-10-13 Dan Williams <dcbw@redhat.com>
20019
20020         * panel-applet/NMWirelessApplet.c
20021                 - Add function to print out applet_state in a readable
20022                         manner
20023
20024         * src/NetworkManager.c
20025                 - (main): Don't segfault when nm_dbus_init() fails, we had
20026                         a left-over call to hal_shutdown() into which we passed NULL
20027
20028         * src/NetworkManagerAP.c
20029                 - (nm_ap_set_essid): Allow NULL essids
20030
20031         * src/NetworkManagerAPList.[ch]
20032                 - More use of nm_ap_list_[un]lock ()
20033                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20034                         network/essid, just return nothing.  Also skip over NULL
20035                         essid access points in the list when searching
20036                 - (nm_ap_list_get_ap_by_address): new function
20037                 - (nm_ap_list_update_network): set the access point's key source to
20038                         NULL when the key returned from NetworkManagerInfo is NULL or
20039                         of 0 length
20040                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20041                         copy timestamp over too
20042                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20043                         find the correct ESSID for a blank-essid access point by searching
20044                         through another list and matching access point MAC addresses
20045                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20046
20047         * src/NetworkManagerDbus.c
20048                 - (nm_dbus_nm_set_active_device): deal with random networks the user
20049                         may specify.  This is mainly for access points that don't
20050                         broadcast their essid.  So if the user tells us to associate with
20051                         some random ESSID that's not in our access point list, we find
20052                         out if the access point does in fact exist (by attempting association
20053                         and then matching that access point's MAC address with the essid the
20054                         user gave us) and then we switch to it.
20055                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20056                         to the returned list of networks for the "getNetworks" method
20057
20058         * src/NetworkManagerDevice.[ch]
20059                 - Extra debugging info for link detection
20060                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20061                         based on MAC address
20062                 - (nm_device_get_path_for_ap): ignore blank-essid access points
20063                 - (nm_device_wireless_network_exists): new function, find out whether
20064                         a random ESSID exists by attempting to associate with it
20065                 - (nm_device_do_normal_scan): allow blank-essid access points in our
20066                         device list as long as they have an AP MAC address we can use.
20067                         Also send WirelessNetwork[Dis]Appeared signals for non-active
20068                         devices too.  Lets the applet update more frequently.
20069
20070         * src/backends/NetworkManagerGentoo.c
20071                 - Patch from: Robert Paskowitz
20072                         - Update backend code for Gentoo
20073                         - Implement nm_system_device_update_config_info ()
20074
20075         * test/nmclienttest.c
20076                 - (set_network_device): new function, takes a command-line argument
20077                         and tells NetworkManager to use that wireless network
20078
20079 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20080
20081         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20082         if the notification icon crashes 5 times within 5 seconds of each respawn 
20083
20084 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
20085
20086         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20087         g_print.
20088
20089 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
20090
20091         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20092
20093         * panel-applet/NMWirelessApplet.c: (animation_timeout),
20094         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20095         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20096         Change the name of the icons.
20097
20098         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20099         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20100         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20101         (nm_menu_wireless_expose_event): Really bad hack to get the style
20102         to draw in the right color.
20103
20104 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20105
20106         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
20107         Notification if it crashes
20108
20109 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
20110
20111         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
20112         (nmwa_dbus_get_string): remove unused functions
20113
20114         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20115         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20116         remove unused functions
20117
20118         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20119
20120 2004-10-12 Dan Williams <dcbw@redhat.com>
20121
20122         * panel-applet/NMWirelessAppletDbus.c
20123                 - New functions:
20124                         wireless_network_new
20125                         wireless_network_copy
20126                         network_device_new
20127                         network_device_copy
20128
20129         * src/NetworkManagerDevice.[ch]
20130                 - New functions:
20131                         nm_device_set_mode_managed
20132                         nm_device_set_mode_adhoc
20133                 - Use these functions where appropriate
20134                 - When creating a new wireless device, force the card
20135                         to managed/Infrastructure mode as soon as possible
20136
20137 2004-10-12 Dan Williams <dcbw@redhat.com>
20138
20139         * src/NetworkManagerDevice.c
20140                 - Force wireless cards into Infrastructure mode before we use them
20141
20142 2004-10-12 Dan Williams <dcbw@redhat.com>
20143
20144         * TODO
20145                 - Remove bit about static IP address support
20146
20147         * src/NetworkManagerUtils.c
20148                 - (nm_spawn_process): Add some error reporting
20149
20150         * src/NetworkManagerDevice.c
20151                 - (nm_device_activation_configure_ip): hook up to the static config
20152                         routines in the backends
20153
20154         * src/backends/NetworkManagerRedHat.c
20155                 - (nm_system_device_update_config_info): use shvar.c routines to
20156                         parse the config file iformation, not our own
20157                 - (nm_system_device_setup_static_ip4_config): new function, based
20158                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20159                         with a static IP address and gateway
20160
20161         * src/backends/shvar.[ch]
20162                 - Parser (filched from initscripts package) for ifcfg-* files
20163
20164         * src/backends/NetworkManagerSystem.h
20165           src/backends/NetworkManagerGentoo.c
20166           src/backends/NetworkManagerDebian.c
20167           src/backends/NetworkManagerSlackware.c
20168                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20169
20170 2004-10-11 Dan Williams <dcbw@redhat.com>
20171
20172         * TODO
20173                 - Remove bit about more robust AP diffing since I just implemented it
20174
20175 2004-10-11 Dan Williams <dcbw@redhat.com>
20176
20177         * src/NetworkManagerAP.c
20178                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20179                         enough RAM to allocate new AP structures, but return NULL instead
20180
20181         * src/NetworkManagerAPList.[ch]
20182                 - (nm_ap_list_is_empty): new function
20183                 - (nm_ap_list_combine): new function, combine two access point lists
20184                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20185                         into another
20186
20187         * src/NetworkManagerDevice.[ch]
20188                 - Rename some functions to be clearer:
20189                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20190                         nm_device_just_activated     -> nm_device_is_just_activated
20191                         nm_device_activating         -> nm_device_is_activating
20192                         nm_device_now_scanning       -> nm_device_is_scanning
20193                 - Cache the last 4 scans so that the access point list is more stable.
20194                         We combine the lastest two scans and use that as the AP list,
20195                         and diff that combined list against the combination of the earliest
20196                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20197
20198 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20199
20200         * info-daemon/NWManagerInfo.h
20201                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20202
20203         * info-daemon/NWManagerInfoDbus.c
20204                 - (shutdown_callback): new function
20205                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20206                         if NetworkManager goes away.  Kill the timeout
20207                         if NetworkManager restarts before the 30 seconds
20208                         are up.
20209                 - (nmi_dbus_service_init): 
20210                         - call gtk_main_quit if NetworkManager is not running
20211                         - add filters to monitor dbus service creations and
20212                                 deletions
20213         
20214 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20215
20216         * panel-applet/NMWirelessApplet.c
20217                 - (nmwa_update_state): Hide notification icon if we are only
20218                         showing one wired card and no wireless interfaces 
20219                         (Red Hat Bug #134895)
20220
20221         * panel-applet/NMWirelessAppletDbus.c
20222                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20223
20224         * info-daemon/NWManagerInfo.c
20225                 - (main): Terminated the notification_icon_cmd array with a NULL
20226
20227 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20228
20229         * configure.in (ALL_LINGUAS): Added de (German).
20230
20231 2004-10-08 Dan Williams <dcbw@redaht.com>
20232
20233         * src/NetworkManagerDevice.c
20234                 - Be a bit more robust about link checking, ie make sure that
20235                         the WEP key we were given actually has some data in it
20236
20237 2004-10-08 Dan Williams <dcbw@redhat.com>
20238
20239         * info-daemon/NetworkManagerInfo.c (main):
20240                 - Initialize GError object to NULL
20241
20242 2004-10-08 Dan Williams <dcbw@redhat.com>
20243
20244         * panel-applet/NMWirelessAppletDbus.c
20245                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20246
20247 2004-10-08 Dan Williams <dcbw@redhat.com>
20248
20249         * info-daemon/NetworkManagerInfo.[ch]
20250           info-dameon/NetworkManagerInfoDbus.[ch]
20251           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20252                 - Preserve original label text in the passphrase dialog so that
20253                         it actually gets updated with the new network name the next
20254                         time around.  Previously, we were overwriting it so you'd get
20255                         the wrong network name to enter a key for
20256                 - Add a "Key Type" combo to the passphrase dialog, user selects
20257                         encryption key type now, type is stored in GConf too
20258                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20259
20260         * src/NetworkManagerAP.[ch]
20261                 - Remove all the encyption method magic.  It's now set by the user
20262                         and NetworkManager retrieves the type of encryption key from
20263                         NetworkManagerInfo
20264
20265         * src/NetworkManagerAPList.[ch]
20266           src/NetworkManagerDbus.[ch]
20267                 - Adjust to new way of setting encryption key and method
20268                 - Pull encryption method down from NMI along with key
20269
20270         * src/NetworkManagerDevice.[ch]
20271                 - Removed encryption method fallback magic as the method is now
20272                         determined by the user.  This greatly simplifies the connection
20273                         logic.
20274                 - More robust connection/link logic.  Besides removing the encryption
20275                         method fallback magic, check whether or not the card is receiving
20276                         invalidly encrypted packets, which usually indicates that we have
20277                         a bad WEP key set.
20278                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20279
20280         * test/nminfotest.c
20281                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20282
20283 2004-10-07 Dan Williams <dcbw@redhat.com>
20284
20285         * info-daemon/NetworkManagerInfo.conf
20286                 - Allow root user to run NMI too
20287
20288 2004-10-06 Dan Williams <dcbw@redhat.com>
20289
20290         * src/NetworkManagerDevice.[ch]
20291           src/NetworkManagerDbus.c
20292           doc/NetworkManager DBUS API.txt
20293                 - Add a new status tag "scanning", which is set when there
20294                         is no active network connection, but NetworkManager is
20295                         looking for an access point to associate with
20296
20297         * panel-applet/main.c
20298                 - Cast the applet appropriately for gtk_widget_show_all ()
20299
20300 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20301
20302         * panel-applet/eggtrayicon.[ch]:
20303         * panel-applet/main.c: Add missing file
20304
20305 2004-10-04 Dan Williams <dcbw@redhat.com>
20306
20307         * src/NetworkManagerDevice.[ch]
20308                 - Add a slightly more robust method of determining if the WEP key
20309                         is correct or not, by checking the WEP-discarded packet count
20310                         on the card
20311
20312         * info-daemon/NetworkManagerInfo.c
20313                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20314                         un-escape values we pull out rather than escaping them
20315
20316 2004-10-03  Marcel Telka  <marcel@telka.sk>
20317
20318         * configure.in (ALL_LINGUAS): Added sk.
20319
20320 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20321
20322         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20323         and feel.  We should be back to working, and have a good, clean
20324         look.
20325
20326 2004-09-30 Dan Williams <dcbw@redhat.com>
20327
20328         * info-daemon/NetworkManagerInfo.c
20329           info-daemon/NetworkManagerInfoDbus.c
20330           test/nminfotest.c
20331                 - Escape ESSIDs in gconf
20332
20333         * src/NetworkManagerDevice.c
20334                 - Fix pseudo-scanning to use netowrk list from info daemon
20335
20336 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20337
20338         * configure.in: Add a temporary --enable-notification-icon.  This
20339         will prolly go away.
20340
20341         * info-daemon/Makefile.am:
20342         * info-daemon/NetworkManagerInfo.c:
20343         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20344
20345         * panel-applet/Makefile.am:
20346         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20347         * panel-applet/NMWirelessApplet.h:
20348
20349 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20350
20351         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20352         before 'select custom ESSID'.
20353
20354         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20355         fully complete, but syncing in prep for merge.
20356
20357         * panel-applet/icons/*png: New images
20358
20359 2004-09-28 Dan Williams <dcbw@redhat.com>
20360
20361         * src/NetworkManager.c
20362           src/NetworkManagerDevice.c
20363           src/NetworkManagerPolicy.c
20364                 - Don't blow away an active wired connection on startup
20365
20366 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20367
20368         Changes from J5
20369         
20370         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20371
20372         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20373         syslog output
20374
20375 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20376
20377         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20378         have a wireless card.
20379
20380 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20381
20382         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20383         Also, get the right device strings.
20384
20385 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20386
20387         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20388         the logic to make this right.
20389
20390         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20391         devices so that wired networks are always first.
20392
20393 2004-09-22    <clarkbw@cvs.gnome.org>
20394
20395         * initscript/Debian/.cvsignore:
20396         * initscript/Slackware/.cvsignore:
20397         Added new cvsignores for Makefile, Makefile.in
20398         
20399         * test/.cvsignore:
20400         Added nmtestdevices
20401         
20402         * src/NetworkManagerDevice.c: 
20403         * src/NetworkManager.c: 
20404         Updated the wireless/wired HAL device strings from net.ethernet to
20405         net.80203 or net.80211 depending on wired or wireless respectively
20406         
20407         * examples/python/NetworkManager.py: 
20408         s/Quality/Strength/
20409
20410         * examples/python/systray/network_tray.py:
20411         Lots of little changes and fixes.  been rotting for a while so I
20412         figured I'd finally sync them all with CVS
20413
20414 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20415
20416         * configure.in: Add graphics
20417
20418         * panel-applet/Makefile.am: Add graphics
20419
20420         * panel-applet/icons/*: Add graphics
20421
20422         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20423         the icons fully lined up.
20424
20425         * panel-applet/menu-info.c: 
20426         * panel-applet/menu-info.h: Add another menu type.
20427
20428 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20429
20430         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20431
20432         * panel-applet/menu-item.[ch]: Wireless menu item.
20433
20434 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20435
20436         * info-daemon/NetworkManagerInfo.conf
20437                 - Created a more robust security policy for the DBus service
20438                         - everything is denied by default
20439                         - root can own and send to the service
20440                         - users logged in at the console can send to the service
20441
20442 2004-09-13  Dan Williams <dcbw@redhat.com>
20443
20444         * src/NetworkManagerDevice.c
20445                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20446                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20447                         the latter
20448
20449 2004-09-13  Dan Williams <dcbw@redhat.com>
20450
20451         * TODO: fix typo
20452
20453         * docs/NetworkManager DBUS API.txt
20454                 - Update for new signal strength changes
20455
20456         * panel-applet/NMWirelessApplet.c
20457                 - Make panel icon show strength of the current connection
20458                 - Cleanups and memleak fixes
20459
20460         * panel-applet/NMWirelessApplet.h
20461                 - Add data members for signal strength on devices and networks
20462
20463         * panel-applet/NMWirelessAppletDbus.c
20464                 - Free more DBusErrors
20465                 - Update for new signal strength changes
20466                 - Make devices and networks more like real objects, use ref/unref methods
20467                 - Actually unlock the mutex when updating the active device
20468
20469         * src/NetworkManagerAP.c
20470                 - Change AP functions and data members from "quality"->"strength"
20471
20472         * src/NetworkManagerDbus.c
20473                 - Kill "getMaxQuality" and "getQuality" methods
20474                 - Add "getStrength" methods for Networks and Devices
20475
20476         * src/NetworkManagerDevice.[ch]
20477                 - Add accessors for device strength
20478                 - Add functions to update strength for a device.  Note that not all drivers
20479                         actually support signal strength for scanned access points (Atmel drivers
20480                         being one)
20481                 - Calculate signal strength for each AP during scan
20482
20483         * src/NetworkManagerWireless.[ch]
20484                 - Add function to return signal strength % from a device and a raw quality struct
20485
20486         * test/nmclienttest.c
20487                 - Update for new signal strength changes
20488
20489 2004-09-11  Dan Williams <dcbw@redhat.com>
20490
20491         * src/NetworkManager.c
20492                 - Fix race condition between initscripts and NM on card insertion
20493                         which could cause a card to keep an IP address and routes around
20494                         even when it was not the active device
20495
20496         * src/NetworkManagerDbus.c
20497                 - Fix compile errors, free more DBusErrors
20498
20499 2004-09-11  Dan Williams <dcbw@redhat.com>
20500
20501         * docs/NetworkManager DBUS API.txt
20502                 - Add an explanation of NM's API
20503
20504         * src/NetworkManagerDbus.c
20505                 - Free some more DBusErrors if needed
20506
20507 2004-09-11  Dan Williams <dcbw@redhat.com>
20508
20509         * panel-applet/NMWirelessApplet.c
20510           panel-applet/NMWirelessAppletDbus.c
20511                 - Start using NetworkDevice/WirelessNetwork structures in more places
20512                 - Update for unified device/network forcing in NetworkManager
20513
20514         * src/NetworkManager.c
20515                 - some code consolidation
20516
20517         * src/NetworkManagerDbus.c
20518                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20519                         or two arguments:  the first is the NM ID of the device to switch to,
20520                         and the second (optional) argument is the ESSID of a wireless network
20521                         to use as well.
20522                 - Get rid of "setNetwork" method due to above change
20523
20524         * src/NetworkManagerDevice.c
20525                 - (nm_device_new): perform scan and update best AP on device creation
20526                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20527                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20528                         spin waiting for cancellation to finish before returning
20529
20530         * src/NetworkManagerPolicy.c
20531                 - Changes here clarify the situations in which a device switch occurs, and 
20532                         make sure to keep using a forced device and network if the user gives
20533                         us one
20534                 - Remove old unused code
20535
20536 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20537
20538         * configure.in: Added Danish (da) to ALL_LINGUAS.
20539
20540 2004-09-09  Dan Williams <dcbw@redhat.com>
20541
20542         * panel-applet/NMWirelessAppletDbus.c
20543                 - Pull fresh devices and networks from NM when wireless networks
20544                         change.  Provides faster feedback of a forced wireless network
20545
20546         * src/NetworkManagerDbus.c
20547                 - Return error when "getMaxQuality" is called on a wired device
20548                 - Make best_ap freezing actually work again, and signal cancellation
20549                         of activation if there's already a device activation when the user
20550                         freezes the best_ap
20551
20552         * src/NetworkManagerDevice.c
20553                 - Don't clear out the best_ap for wireless devices when the link goes
20554                         down, that's done elsewhere
20555                 - Kill any dhcp daemons when cancelling device activation since they
20556                         may be stuck waiting for a DHCP address, and since we're cancelling
20557                         activation we don't care about that anymore
20558
20559         * src/NetworkManagerPolicy.c
20560                 - Make sure to unref the device we ref earlier (we refed it to make sure
20561                         it stuck around during device activation and such)
20562                 - If we were going to change the best device, but its activating currently
20563                         (and therefore the change didn't occur due to the check earlier)
20564                         we mark the state changed to we come back to it later when device
20565                         activation has canceled and its no longer activating
20566
20567         * src/backends/NetworkManagerRedHat.c
20568                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20569
20570 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20571
20572         * info-daemon/passphrase.glade: 
20573         set passphrase input to activates_default : True
20574
20575         * examples/python/systray/network_tray.py
20576         (network_tray.sort_networks):
20577
20578         Added support for having wireless always scanning
20579
20580 2004-09-09  Dan Williams <dcbw@redhat.com>
20581
20582         NOTE: this commit changes the behavior of wireless devices in
20583         NetworkManager.  They are now up all the time, scanning all
20584         the time.  Only the active device has an IP address and routing
20585         information set up however.  Also, NetworkManager will no longer
20586         opportunistically switch wireless networks when a better one
20587         comes in range, it will remain associated with one wireless network
20588         until that one drops out.
20589
20590         * panel-applet/NMWirelessApplet.c
20591           panel-applet/NMWirelessAppletDbus.c
20592                 - List all wireless cards and their respective networks
20593
20594         * src/NMLoadModules
20595                 - Use full path to /sbin/ip
20596
20597         * src/NetworkManager.c
20598                 - Keep wireless devices up all the time so they can scan
20599
20600         * src/NetworkManagerDbus.c
20601                 - On a WirelessNetworkUpdate signal from NMI, don't update
20602                         the "best" AP
20603
20604         * src/NetworkManagerDevice.c
20605                 - (nm_device_set_link_active): clear out the best ap for
20606                         wireless devices when the link is set to FALSE
20607                 - Scan on all wireless cards, all the time
20608                 - (nm_device_activation_worker): split out the wireless card
20609                         link-waiting code to a separate function
20610                 - Keep wireless cards up even if device activation fails
20611                 - Don't update the "best" ap as much
20612
20613         * src/NetworkManagerPolicy.c
20614                 - Don't update the best ap when checking if its frozen,
20615                         let link checking clear out a frozen best ap for us
20616
20617         * src/NetworkManagerWireless.c
20618                 - Scan on all wireless cards, all the time
20619
20620 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20621
20622         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20623
20624 2004-09-09  Ankit Patel <ankit@redhat.com>
20625
20626         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20627
20628 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20629
20630         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20631
20632 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20633
20634         * examples/python/NetworkManager.py: 
20635         added CONNECTED, CONNECTING, and DISCONNECTED states
20636         added methods to return number of devices of a single type
20637
20638         * examples/python/systray/network_tray.py: 
20639         did some tweaks to get the menu looking near what it is supposed
20640         to look like.  Also did a Airo card hack to make it show the
20641         correct AP quality
20642
20643 2004-09-08  Dan Williams <dcbw@redhat.com>
20644
20645         * panel-applet/no-networkmanager.png
20646           panel-applet/Makefile.am
20647           panel-applet/NMWirelessApplet.c
20648                 - Add a "NetworkManager not running" icon and use it
20649                 - Use new consolidated GConf keys rather than Preferred/Trusted
20650
20651         * TODO: update
20652
20653         * info-daemon/NetworkManagerInfo.c
20654           info-daemon/NetworkManagerInfoDbus.[ch]
20655           info-daemon/NetworkManagerInfoPassphraseDialog.c
20656                 - There are now no longer two separate lists of wireless networks,
20657                         but one list where each network is "trusted" or not trusted
20658                 - Add a "getNetworkTrusted" dbus method
20659                 - "WirelessNetworkUpdate" signal now sent rather than
20660                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20661                 - Start freeing some dbus errors (not completed yet)
20662
20663         * info-daemon/passphrase.glade
20664                 - Remove the "don't show" hints for pager and taskbar
20665                 - Add a title since its going to be in the taskbar
20666
20667         * src/NetworkManager.[ch]
20668           src/NetworkManagerAPList.[ch]
20669                 - There are now no longer two separate lists of wireless networks,
20670                         but one list where each network is "trusted" or not trusted
20671
20672         * src/NetworkManagerAP.[ch]
20673                 - Add get/set "trusted" accessors and data bit
20674
20675         * src/NetworkManagerDbus.[ch]
20676                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20677                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20678
20679         * src/NetworkManagerDevice.[ch]
20680                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20681                 - (nm_device_new): Get device config from backend when initializing devices
20682                 - (nm_device_activation_worker): Split out device configuration on
20683                         activation to deal with static/dynamic IP differences, and try encryption
20684                         fallbacks on a device if the encryption method for the best AP is not good
20685                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20686                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20687
20688         * src/NetworkManagerWireless.c
20689                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20690
20691         * src/backends/NetworkManagerRedHat.c
20692           src/backends/NetworkManagerSystem.h
20693                 - (nm_system_device_update_config_info): Add function to get device configuration
20694                         from system data in ifcfg-* files
20695
20696         * src/backends/NetworkManagerDebian.c
20697           src/backends/NetworkManagerGentoo.c
20698           src/backends/NetworkManagerSlackware.c
20699                 - Add stub functions for getting device configuration
20700
20701 2004-09-07  Dan Williams <dcbw@redhat.com>
20702
20703         * src/backends/NetworkManagerRedhat.c
20704           src/backends/NetworkManagerSlackware.c
20705                 - Use full path to /sbin/ip everywhere
20706
20707 2004-09-07  Dan Williams <dcbw@redhat.com>
20708
20709         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20710
20711         * configure.in
20712           initscript/Makefile.am
20713           initscript/Slackware/Makfile.am
20714           initscript/Slackware/rc.networkmanager
20715           src/Makefile.am
20716           src/backends/NetworkManagerSlackware.c
20717                 - Add Slackware support
20718
20719 2004-09-07  Dan Williams <dcbw@redhat.com>
20720
20721         Patches below from:
20722                 <j@bootlab.org>
20723                 Mark Roach <mrroach@okmaybe.com>
20724                 Thom May <thom@debian.org>
20725
20726         * configure.in
20727           initscript/Debian/NetworkManager
20728           initscript/Debian/Makefile.am
20729                 - Initscript for Debian
20730
20731         * src/backends/NetworkManagerDebian.c
20732                 - Add missing system init function to allow compilation
20733                         on Debian
20734
20735 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20736
20737         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20738
20739 2004-09-03  Akagic Amila <bono@linux.org.ba>
20740
20741         * configure.in: Added 'bs' to ALL_LINGUAS.
20742
20743 2004-09-02  Colin Walters  <walters@verbum.org>
20744
20745         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20746         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20747         g_strdup_printf instead of arbitrarily sized buffers.
20748
20749 2004-09-01  Colin Walters  <walters@verbum.org>
20750
20751         * NetworkManager.pc.in: New file.
20752
20753         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20754
20755 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20756         
20757         * configure.in: Punjabi(pa) is added to po/.
20758
20759 2004-08-31  Dan Williams <dcbw@redhat.com>
20760
20761         * Remove 'debug' extern global from all files since we now
20762                 use syslog()
20763
20764         * src/NetworkManager.[ch]
20765                 - Break out routine that get the net.interface property from HAL,
20766                         removing that logic from nm_create_device_and_add_to_list()
20767                 - (nm_create_device_and_add_to_list): make this a bit more general so
20768                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20769                         the create of test devices.
20770                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20771                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20772                         which makes NetworkManager listen for dbus commands to create test
20773                         devices, which have no backing hardware.  Use when you're on a plane
20774                         for example, and/or forgot your wireless card at home.  Test devices
20775                         _cannot_ be created unless NM is started with --enable-test-devices.
20776
20777         * src/NetworkManagerDbus.[ch]
20778                 - New "getLinkActive" method for devices
20779                 - New "setLinkActive" method for devices (only works on test devices)
20780                 - New "createTestDevice" method on NetworkManager object to create a test
20781                         device of a specified type (ie wired, wireless).  UDI is created from
20782                         scratch, as is the interface name.  Only works when NM is started with
20783                         --enable-test-devices switch.
20784                 - New "removeTestDevice" method on NetworkManager object which removes a
20785                         test device.  Only works when NM is started with --enable-test-devices
20786
20787         * src/NetworkManagerDevice.[ch]
20788                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20789                         whether a device is a test device or not, and what its link status is.
20790                 - Deal with test devices in most functions.  For those that work directly on hardware
20791                         special-case test devices.
20792                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20793                         command-line.
20794                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20795                         checking to separate functions to facilitate test device link checking.
20796                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20797                         don't make a distinction between System Authentication and Encryption
20798                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20799                         on the card.  We don't deal with Shared Key auth yet.
20800                 - (nm_device_activation_worker): split the activation cancel check logic out into
20801                         a separate routine nm_device_activation_cancel_if_needed()
20802                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20803                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20804                         a list of fake access points that they can "see"
20805                 - (nm_device_is_test_device): return whether or not a device is a test device
20806
20807         * src/NetworkManagerPolicy.c
20808                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20809                         previously if you "locked"/forced NM to use a wireless device but then
20810                         selected a wireless network for NM to use, it would switch to a wired device.
20811                         So, if the active device is wireless and it has a "forced" best AP, use it
20812                         if the "forced" best AP is still valid
20813                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20814                         there were no usable network devices, or the last one was removed
20815
20816         * src/backends/NetworkManager*.c
20817                 - Deal with test devices, mostly just return success for operations like getting
20818                         a DHCP address
20819
20820         * test/nmtestdevices.c
20821                 - Test tool to create/remove/link-switch test devices
20822
20823 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20824
20825         * examples/python/NetworkManager.py: 
20826         added convience functions has_wired_device and has_wireless_device
20827
20828         * examples/python/systray/network_tray.py: 
20829         cleaned up a bunch of cruft, added support for listing wireless
20830         networks just like the real applet.  This is probably all I'm
20831         going to work on this applet from now on.
20832         TODO: add support for actually changing networks and devices
20833
20834         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20835         changed "nm.networks" into a dict from a list so I can store all
20836         the cool information about networks in there
20837
20838         * examples/python/systray/network_tray.py: 
20839         Added nice message when you try to run without running make first
20840
20841         * examples/python/NetworkManager.py: 
20842         Bug fixes to the code so we get all the device information
20843         that we need in get_device()
20844         
20845         * examples/python/NMTester.py: 
20846         Fixed _print_device_list to print_device_list
20847
20848 2004-08-29  Seth Nickell  <seth@gnome.org>
20849
20850         * configure.in:
20851
20852         Actually properly setup the Debian backend in configure.
20853         
20854 2004-08-29  Colin Walters  <walters@verbum.org>
20855
20856         * test/nminfotest.c: Include string.h and stdlib.h.
20857         (get_network_string_property, get_networks_of_type): Return NULL.
20858
20859         * test/nmclienttest.c (get_device_name, get_active_device): Return
20860         NULL.
20861
20862         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20863         use strlen, fgets always NULL-terminates the string.
20864
20865         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20866         dbus_message_get_member): Remove /* in comment.
20867
20868         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20869
20870         * src/NetworkManager.c (quit): Unused, delete.
20871         (nm_data_free): Cast arg to GFunc.
20872
20873         * panel-applet/NMWirelessAppletDbus.c: Need to include
20874         string.h, and dbus-glib-lowlevel.h (the latter is needed
20875         for dbus_connection_setup_with_g_main at present).
20876         (nmwa_dbus_update_wireless_network_list): Parenthesize
20877         assignment in conditional.
20878         (nmwa_dbus_worker): Return NULL.
20879
20880         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20881         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20882         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20883         (nmwa_populate_menu): Return NULL on failure, instead of just
20884         return;
20885
20886         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20887
20888         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20889         variables.
20890
20891         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20892         delete.
20893         
20894 2004-08-29  Colin Walters  <walters@verbum.org>
20895
20896         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20897         a GTimeVal instead of time_t.  This is easier to work with,
20898         since time_t may be a long or double, we don't know.
20899
20900         * src/NetworkManagerDbus.h: Update prototype.
20901         
20902         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20903         instead of time_t.
20904         (nm_ap_get_timestamp): Update to return GTimeVal.
20905         (nm_ap_set_timestamp): Update to take GTimeVal.
20906         
20907         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20908         to handle GTimeVal.
20909
20910         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20911         GTimeVal change.
20912         (nm_ap_list_print_members): Fix warnings in printf format.
20913
20914 2004-08-29  Colin Walters  <walters@verbum.org>
20915         
20916         * panel-applet/NMWirelessApplet.c: Include config.h.
20917
20918 2004-08-29  Colin Walters  <walters@verbum.org>
20919
20920         * configure.in: Generate config.h.
20921
20922         * configure.in: Dump dependency on OpenSSL; we can't
20923         use it since this package is GPL:
20924         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20925         Instead, check for libgcrypt, use it if available,
20926         otherwise use included MD5 code.
20927
20928         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20929         Suck in from gnome-keyring, munge a bit.
20930         
20931         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20932         gnome-keyring-md5.h gnome-keyring-md5.c.
20933         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20934
20935         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20936         libgcrypt or included gnome-keyring md5 bits.
20937         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20938
20939 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20940
20941         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20942
20943 2004-08-27  Bryan Clark  <bclark@redhat.com>
20944
20945         * examples/python/systray/Makefile: 
20946
20947         Updated the clean section
20948         
20949         * examples/python/systray/trayiconmodule.c: 
20950         * examples/python/systray/trayicon.override: 
20951         * examples/python/systray/network_tray.py: 
20952         * examples/python/systray/eggtrayicon.h: 
20953         * examples/python/systray/eggtrayicon.c: 
20954         * examples/python/systray/Makefile: 
20955         * examples/python/README: 
20956         * examples/python/NetworkManager.py: 
20957         * examples/python/NMTester.py: 
20958
20959         Initial commit of these python example files
20960
20961 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20962
20963         * panel-applet/NMWirelessApplet.c
20964                 - Make current device bold
20965                 - Show more user-friendly device name if we got one from hal
20966
20967         * panel-applet/NMWirelessAppletDbus.c
20968                 - Grab "info.product" key from hal for network devices
20969                 - Cache the current active device
20970
20971 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20972
20973         * configure.in: Added en_CA to ALL_LINGUAS.
20974
20975 2004-08-27  Christian Rose  <menthos@menthos.com>
20976
20977         * configure.in: Added "sv" to ALL_LINGUAS.
20978
20979 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20980
20981         * Tag NetworkManager-0.2
20982
20983 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20984
20985         * initscripts/Makefile.am
20986         * configure.in: Make pass distcheck
20987
20988         * po/ChangeLog: added
20989
20990 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20991
20992         * panel-applet/NMWirelessApplet.c
20993                 - Remove debugging code
20994                 - Enable device switching from menus
20995
20996         * panel-applet/NMWirelessAppletDbus.[ch]
20997                 - Method for asking NM to switch devices
20998
20999         * src/NetworkManagerDevice.c
21000                 - Set dev->activating earlier, avoids race between
21001                         the dbus signal of "DeviceActivating" and setting
21002                         dev->activating (which is what NM's "status" method call
21003                         looks at)
21004
21005 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21006
21007         * panel-applet/NMWirelessApplet.[ch]
21008                 - Rework menu code to add devices to menu, and to show
21009                         signal strength for each access point.  Code cleanups
21010                         too.
21011
21012         * panel-applet/NMWirelessAppletDbus.c
21013                 - Grab network devices from NetworkManager too
21014                 - Grab quality information from NM for wireless networks
21015
21016         * src/NetworkManagerDbus.[ch]
21017                 - Add dbus methods for getting the HAL UDI from a device and
21018                         for getting its base quality, if its wireless
21019                 - Consolidate some functions (wireless network notifications,
21020                         device notifications)
21021                 - Add method for requesting NM to use a particular device
21022
21023         * src/NetworkManager.c
21024                 - Change for function consolidations from NetworkManagerDbus.c
21025                 - Implement active device locking and user-requested devices
21026                         (ie, tell NM to use a particular device instead of the one
21027                         it autochose)
21028
21029         * src/NetworkManagerDevice.c
21030                 - Add method for getting the base quality of a device, if its
21031                         wireless
21032                 - Grab device base quailty info from iwlib during scans
21033
21034         * src/NetworkManagerPolicy.c
21035                 - Use a user-requested device rather than the auto-chosen device
21036                         if we are told to
21037
21038 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
21039
21040         * Makefile.am: add po as a supdir
21041
21042         * autogen.sh: use gnome-autogen.sh
21043
21044         * initscript/Gentoo/.cvsignore:
21045         * initscript/RedHat/.cvsignore: Shut up cvs
21046
21047         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21048
21049         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21050         (nmwa_fill): Use gettext.
21051
21052         * configure.in: add gettext support
21053         * po/.cvsignore:
21054         * po/NetworkManager.pot:
21055         * po/POTFILES.in:
21056
21057 2004-08-26  Seth Nickell  <seth@gnome.org>
21058
21059         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21060         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21061         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21062         (nmwa_dispose_menu_items), (nmwa_populate_menu),
21063         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21064         * panel-applet/NMWirelessApplet.h:
21065
21066         Use a menu bar instead of a button for the main clickable
21067         thingy.
21068         
21069 2004-08-25  Dan Williams <dcbw@redhat.com>
21070
21071         * src/NetworkManagerDevice.c
21072                 - (nm_device_set_enc_key): always set device to "open" mode instead of
21073                         turning encryption off, because the Cisco driver doesn't associate
21074                         with WEP-enabled access points unless we are in "open"
21075
21076 2004-08-25  Dan Williams <dcbw@redhat.com>
21077
21078         * src/NetworkManagerWireless.c
21079                 - Don't try to defererence blank passphrases
21080
21081 2004-08-25  Dan Williams <dcbw@redhat.com>
21082
21083         * panel-applet/NMWirelessApplet.c
21084                 - Rebuild the menu whenever a user clicks
21085
21086 2004-08-25  Dan Williams <dcbw@redhat.com>
21087
21088         * panel-applet/NMWirelessApplet.c
21089                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21090                         when NM isn't around or when its not connected
21091
21092         * src/NetworkManagerDevice.c
21093                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21094                         canceled.
21095
21096 2004-08-25  Dan Williams <dcbw@redhat.com>
21097
21098         * panel-applet/NMWirelessAppletDbus.c
21099                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21100                         for getting encryption, and don't stop on "val" once we've gotten it
21101                         from NetworkManager.  Short form:  encryption should now show up.
21102
21103 2004-08-25  Dan Williams <dcbw@redhat.com>
21104
21105         * panel-applet/NMWirelessApplet.c
21106                 - Set ESSID on a gconf trusted network too when force-setting the wireless
21107                         network to associate with
21108
21109 2004-08-25  Dan Williams <dcbw@redhat.com>
21110
21111         * panel-applet/*
21112                 - Rework the panel applet to do all DBUS communication in a separate
21113                         thread
21114
21115 2004-08-25  Dan Williams <dcbw@redhat.com>
21116
21117         * info-daemon/NetworkManagerInfo.[ch]
21118                 - Remove "get_next_priority" function
21119
21120         * info-daemon/NetworkManagerInfoDbus.[ch]
21121                 - Convert "priority" functions to "timestamp"
21122
21123 2004-08-25  Dan Williams <dcbw@redhat.com>
21124
21125         * src/NetworkManagerAP.[ch]
21126                 - Add a "enc_method_good" member and accessors to an Access Point
21127                         to signal when we've found the correct encryption method
21128                         for an access point
21129                 - Add a "timestamp" member and accessors, remove "priority" member
21130                         and accessors (use timestamps instead)
21131                 - Rename "wep_key"->"enc_key"
21132                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21133                         for a specified encryption method using the access points
21134                         source encryption key/passphrase
21135
21136         * src/NetworkManagerAPList.c
21137                 - When updating a network with dbus, grab timestamp now instead of
21138                         priority
21139
21140         * src/NetworkManagerDBus.[ch]
21141                 - Add signal for "DeviceActivating"
21142                 - Switch priority->timestamp
21143
21144         * src/NetworkManagerDevice.c
21145                 - Change references of "wep_key" -> "enc_key" or "key"
21146                 - Signal DeviceActivating when starting activation
21147                 - When activating a wireless device, if the access point we are connecting
21148                         to is encrypted, and we have a source key, try to generate a mangled
21149                         key and use that (ie, generate real WEP key from a passphrase)
21150                 - Rework device activation to fallback to other encryption methods if
21151                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21152                         first, then if that doesn't work fall back to direct hex key).
21153                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21154                         priority.  We now prefer the latest access point used, rather than using
21155                         a priority scheme
21156                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21157                         points we've just discovered, and merge in correct info from the global
21158                         access point lists
21159
21160 2004-08-25  Seth Nickell  <seth@gnome.org>
21161
21162         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21163         Debian support.
21164         
21165         * src/Makefile.am:
21166         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21167         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21168         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21169         (nm_system_delete_default_route),
21170         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21171         (nm_system_load_device_modules):
21172
21173 2004-08-24  Dan Willemsen <dan@willemsen.us>
21174
21175         * src/NetworkManager.c
21176           src/backends/NetworkManagerGentoo.c
21177           src/backends/NetworkManagerRedHat.c
21178           src/backends/NetworkManagerSystem.h
21179                 - Implement preliminary Gentoo support, adding a
21180                         nm_system_init function to the backend specification
21181
21182         * configure.in
21183                 - Distribution auto-detection, lowercase any user-fed
21184                         distribution names
21185
21186         * initscript/.cvsignore
21187           initscript/Makefile.am
21188           initscript/RedHat/Makefile.am
21189           initscript/RedHat/NetworkManager
21190           initscript/Gentoo/Makefile.am
21191           initscript/Gentoo/NetworkManager
21192                 - Refactored initscript code separately for each
21193                         distribution
21194
21195 2004-08-23  Dan Williams <dcbw@redhat.com>
21196
21197         * configure.in
21198           src/Makefile.am
21199           src/NetworkManagerDevice.c
21200           src/NetworkManager.c
21201           src/NetworkManagerUtils.[ch]
21202           src/backends/NetworkManagerSystem.h
21203           src/backends/NetworkManagerRedHat.c
21204           src/backends/NetworkManagerGentoo.c
21205                 - Refactor system-specific code into separate backends for
21206                         each distribution
21207
21208 2004-08-23  Dan Willemsen <dan@willemsen.us>
21209
21210         * dispatcher-daemon/NetworkManagerDispatcher.c
21211           info-daemon/NetworkManagerInfo.[ch]
21212           info-daemon/NetworkManagerInfoDbus.c
21213           info-daemon/NetworkManagerInfoPassphraseDialog.c
21214           src/NetworkManager.c
21215           src/NetworkManagerAP.c
21216           src/NetworkManagerAPList.c
21217           src/NetworkManagerDbus.c
21218           src/NetworkManagerDevice.c
21219           src/NetworkManagerPolicy.c
21220           src/NetworkManagerUtils.[ch]
21221           src/NetworkManagerWireless.c
21222                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21223
21224         * src/NetworkManager.c
21225                 - Fixed usage wording for --no-daemon
21226
21227 2004-08-23  Dan Williams <dcbw@redhat.com>
21228
21229         * panel-applet/NMWirelessApplet.c
21230                 - Update our state every second to get more responsive panel icon
21231                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21232                         was causing our marching ants status blips to never move when
21233                         looking for a wireless network
21234
21235         * src/NetworkManagerDevice.c
21236                 - (nm_device_activation_begin): return if activation has already begun
21237                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21238                         trusted/preferred network into the device's access point when the
21239                         scan list is processed
21240
21241 2004-08-23  Dan Williams <dcbw@redhat.com>
21242
21243         * initscript/NetworkManager
21244                 - Use NMLaunchHelper rather than sleeping
21245
21246         * initscript/NMLaunchHelper.c
21247           Makefile.am
21248                 - Add helper program that exits only when NM activates a device,
21249                         or 10 seconds have passed, whichever happens first.  This
21250                         stops the boot processes until we have a network connection,
21251                         which NM can't do because it daemonizes and brings the connection
21252                         up in the background.  Allows stuff like NFS to not die.
21253
21254 2004-08-20  Dan Williams <dcbw@redhat.com>
21255
21256         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21257                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21258                         for a network, set the essid as well since it may not exist yet
21259                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21260                         since WEP keys/passphrases are long and prone to entry-error
21261
21262         * panel-applet/Makefile.am
21263           panel-applet/wired.png
21264                 - Add (pulled from system-config-network temporarily)
21265
21266         * panel-applet/NMWirelessApplet.[ch]
21267                 - Show wired picture when a wired connection is used
21268                 - Rename wireless icon enums, adding WIRELESS
21269
21270         * src/NetworkManagerDevice.c
21271                 - (nm_device_activate_wireless): unset encryption before bringing
21272                         down the card and setting the essid
21273                 - (nm_device_activatin_worker): request a key from the user if the
21274                         AP we are connecting to is encrypted but we don't have a key
21275                         for it yet
21276                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21277                         strcmp() that prevented a user-entered key from actually getting
21278                         used
21279
21280 2004-08-16  Dan Williams <dcbw@redhat.com>
21281
21282         * initscript/NetworkManager
21283                 - Check for /sbin/ip
21284                 - Do sysctl magic that network service does
21285                 - sleep 4s after start to allow network time to come up [hack]
21286
21287         * src/Makefile.am
21288           src/NMLoadModules
21289                 - Load all network device kernel modules (hal doesn't know devices
21290                         are ethernet until the module is loaded, and therefore we don't know)
21291
21292         * src/NetworkManager.c
21293                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21294                         network devices, and bring up the loopback device explicitly
21295
21296         * src/NetworkManagerUtils.[ch]
21297                 - (nm_enable_loopback): new function
21298
21299 2004-08-13  Dan Williams <dcbw@redhat.com>
21300
21301         * configure.in
21302           panel-applet/Makefile.am
21303                 - Fix up cleanfiles and server_DATA/server_in_files
21304
21305         * README
21306                 - Update with some comments on theory of operation
21307
21308         * CONTRIBUTING
21309           Makefile.am
21310                 - Add CONTRIBUTING
21311
21312 2004-08-12  Dan Williams <dcbw@redhat.com>
21313
21314         * info-daemon/passphrase.glade
21315                 - Set window title to " "
21316
21317         * panel-applet/Makefile.am
21318           panel-applet/keyring.png
21319                 - Deliver to correct place
21320
21321         * panel-applet/NMWirelessApplet.[ch]
21322                 - Add comments
21323                 - Remove applet->have_active_device as its no longer used
21324                 - (nmwa_load_theme): load keyring.png too
21325                 - (error_dialog): remove
21326                 - (show_warning_dialog): subsume functionality of error dialog too
21327                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21328                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21329                         the networks menu
21330                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21331                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21332                         and when we get broadcasts of changed wireless access points only, not when the
21333                         user clicks on the button to display the menu (too long of a wait)
21334                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21335                         networks that are encrypted
21336                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21337                         menu item with g_object_set_data()
21338
21339         * panel-applet/NMWirelessAppletDbus.[ch]
21340                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21341                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21342                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21343                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21344                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21345                         activation/deactivation signals and rebuild the menu when they happen
21346
21347         * src/NetworkManager.c
21348                 - (main): use new nm_spawn_process() rather than system()
21349
21350         * src/NetworkManagerDbus.c
21351                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21352                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21353                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21354                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21355                         to freeze the best_ap.
21356
21357         * src/NetworkManagerDevice.[ch]
21358                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21359                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21360                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21361                         ap list
21362
21363         * src/NetworkManagerUtils.[ch]
21364                 - (nm_spawn_process): add replacement for system() usage
21365
21366 2004-08-11  Dan Williams <dcbw@redhat.com>
21367
21368         * panel-applet/NMWirelessApplet.[ch]
21369                 - Fix up copyright and credits to include Bastien and Eskil,
21370                         who created the gnome-applets wireless applet, from whose
21371                         skeleton this one was created
21372                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21373                         pixmap to draw is computed during nmwa_update_state()
21374                 - Applet now shows itself all the time due to panel packing issues
21375                         which caused the applet to previously never come back after hiding.
21376                         When a wired device is the active device, the applet shows "not connected"
21377
21378         * panel-applet/NMWirelessAppletDbus.[ch]
21379                 - Clean up error messages and show what function they are from
21380                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21381                 - Add new device type getters, and a status getter
21382
21383         * src/NetworkManagerDbus.c
21384                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21385                         network is actually in the device's ap list
21386                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21387
21388         * src/NetworkManagerDevice.c
21389                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21390                         card
21391
21392         * test/nmclienttest.c
21393                 - Report status of NetworkManager too
21394
21395 2004-08-11  Dan Williams <dcbw@redhat.com>
21396
21397         * info-daemon/NetworkManagerInfo.c:
21398                 - (main): clean up Seth's code style
21399
21400         * info-daemon/NetworkManagerInfoDbus.c:
21401                 - Use the more aptly-named path/service/interface constants from NetworkManager
21402                 - Don't return empty strings ("") as object paths ever, instead return errors
21403
21404         * panel-applet/NMWirelessApplet.c:
21405                 - Clean up Seth's code style
21406
21407         * src/NetworkManager.[ch]
21408                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21409                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21410
21411         * src/NetworkManagerAPList.[ch]
21412                 - Move Iter struct right above the iter functions to preserve opacity
21413                 - (nm_ap_list_remove_ap): implement
21414                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21415                         remove AP if NetworkManagerInfo doesn't know anything about it
21416                 - (nm_ap_list_diff): user NMAPList iterators
21417                 - (nm_ap_list_print_members): implement debugging function
21418
21419         * src/NetworkManagerDbus.[ch]
21420                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21421                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21422                         and move the actual key setting stuff into NetworkManagerDevice.c
21423                 - (nm_dbus_get_network_priority): return -1 now on errors
21424                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21425                         get lost, and force the active device to update its "best" ap when AP lists change
21426                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21427                         method call due to pending_device member removal
21428
21429         * src/NetworkManagerDevice.[ch]
21430                 - Move NMDevice structure to the top
21431                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21432                 - Remove Pending Action stuff from everywhere
21433                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21434                         activation for us.  This thread blocks until all conditions for activation have
21435                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21436                         then setup up the interface and runs dhclient.  We have to do this because there
21437                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21438                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21439                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21440                         can tell nm_device_activation_worker() that we've got a key
21441                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21442                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21443                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21444                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21445
21446         * src/NetworkManagerPolicy.c
21447                 - Remove anything to do with pending_device
21448                 - Adjust device activation to deal with activation-in-worker-thread
21449
21450         * src/NetworkManagerUtils.c
21451                 - Clean up locking debugging a bit
21452
21453         * src/NetworkManagerWireless.[ch]
21454                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21455                         was badly named and is better as a device function
21456
21457         * panel-applet/.cvsignore: add
21458
21459 2004-08-09  Seth Nickell  <seth@gnome.org>
21460
21461         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21462         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21463         (nmwa_new):
21464         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21465
21466         Don't load the menus until clicked on (also removes a call outside
21467         normal code paths at first load).
21468
21469         Hide applet when NM is not present.
21470         
21471         Improve printf debugging stuff.
21472         
21473 2004-08-09  Dan Williams <dcbw@redhat.com>
21474
21475         * dispatcher-daemon/NetworkManagerDispatcher.c:
21476                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21477                 - Use constants for NetworkManager interface, service, and path
21478
21479 2004-08-09  Dan Williams <dcbw@redhat.com>
21480
21481         * src/NetworkManagerDbus.c:
21482                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21483                         instead return an error message
21484                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21485                         on a wired device.  Also never return an empty object path, instead return an error message
21486
21487 2004-08-06  Seth Nickell  <seth@gnome.org>
21488
21489         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21490
21491         Check the error code when getting a connection.
21492         
21493         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21494
21495         Check if the NM service exists when initializing (rather than
21496         assuming it does not).
21497         
21498         * src/NetworkManagerDbus.c: (nm_dbus_init):
21499
21500         Don't acquire the well-known service name until we have
21501         registered object/path handlers and can actually receive
21502         calls.
21503         
21504 2004-08-06  Dan Williams <dcbw@redhat.com>
21505
21506         * panel-applet/*
21507                 - Add panel applet
21508
21509         * src/NetworkManagerPolicy.c
21510           src/NetworkManager.c
21511                 - Get access point lists from NetworkManagerInfo on-demand,
21512                         and look for ServiceCreate/ServiceDeleted signals to see when
21513                         we should query NMI for lists
21514         * src/NetworkManagerAPList.c
21515                 - Make sure to init the list's mutex
21516                 - Convert traversals of the list over to the list iter functions
21517
21518         * src/NetworkManagerDbus.[ch]
21519                 - Use more aptly-named path/service/interface constants
21520                 - Treat both active and pending devices the same for "getActiveDevice"
21521                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21522
21523         * src/NetworkManagerDevice.c
21524                 - Honor "ignored" network list when picking best ap to use
21525
21526 2004-08-06  Seth Nickell  <seth@gnome.org>
21527
21528         * aclocal.m4:
21529
21530         Autogenerated, remove from CVS.
21531         
21532         * autogen.sh:
21533
21534         Don't hardcode automake version.
21535         
21536         * configure.in:
21537         * info-daemon/Makefile.am:
21538         * info-daemon/NetworkManagerInfo.c: (main):
21539
21540         Use GnomeProgram et al. for doing session management.
21541         Use popt stuff for argument parsing rather than doing
21542         it manugally.
21543         
21544 2004-08-05  Dan Williams <dcbw@redhat.com>
21545
21546         * test/nminfotest.c
21547                 - Update to new NMI dbus API, check different network types
21548
21549         * info-daemon/NetworkManagerInfoDbus.c
21550                 - Update to new NM dbus API, ie network type sent in query message
21551
21552 2004-08-05  Dan Williams <dcbw@redhat.com>
21553
21554         * An assload of changes
21555
21556 2004-08-02  Dan Williams <dcbw@redhat.com>
21557
21558         * TODO
21559                 - new task: proper logging support
21560
21561         * info-daemon/NetworkManagerInfo.c
21562                 - Correct spelling of "canceled"
21563                 - Correct casting of objects for g_signal_connect()
21564
21565         * info-daemon/NetworkManagerInfoDbus.c
21566                 - Add defines for NetworkManager namespace and object path, and use them
21567                 - Add filter function to trap new signals from NetworkManager:
21568                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21569
21570         * info-daemon/passphrase.glade
21571                 - Change name of "ok" button to "Login to Network..."
21572                 - Mark invisible
21573
21574         * src/NetworkManager.c
21575                 - Code and debug message cleanups
21576                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21577                 - (nm_add_initial_devices) Check returned string array of devices
21578                         and don't try to add devices if array is NULL
21579                 - (main) Initialize libhal a bit later, make code a bit clearer
21580
21581         * src/NetworkManagerAP.[ch]
21582                 - New accessor and data member "matched": used to speed up AP list
21583                         diffing
21584                 - New accessor and data member "enc_method": will be used during key
21585                         fallback to cache which passphrase->key conversion actually works
21586                         so we don't have to do it every time
21587
21588         * src/NetworkManagerAPList.[ch]
21589                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21590                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21591                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21592                         dbus in response to those differences
21593
21594         * src/NetworkManagerDbus.[ch]
21595                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21596                         make an object path for that access point (NOTE that we don't yet check to
21597                         make sure that access point is actually in the device's AP list yet)
21598                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21599                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21600                         New: signal appearance/disappearance of wireless networks
21601                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21602                         key entry
21603
21604         * src/NetworkManagerDevice.[ch]
21605                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21606                 - (nm_device_ap_list_get) New: return the AP list (static function)
21607                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21608                         new one resulting from the scan with the old one
21609
21610         * src/NetworkManagerWireless.c
21611                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21612
21613         * test/nminfotest.c
21614                 - #define object paths and namespaces and use the #defines rather than static strings
21615                 - Test out user-key functionality of NetworkManagerInfo too
21616
21617 2004-07-29  Dan Williams <dcbw@redhat.com>
21618
21619         * info-daemon/NetworkManagerInfoDbus.c
21620           src/NetworkManagerDbus.c
21621                 - Update to current DBus (ie don't use decomposed paths when registering
21622                         object paths/fallbacks)
21623
21624 2004-07-27  Dan Williams <dcbw@redhat.com>
21625
21626         * Remove various Makefile.in files
21627
21628         * TODO
21629                 - Add some more items
21630
21631         * configure.in
21632                 - Add checks for OpenSSL/md5 headers and libs
21633
21634         * src/Makefile.am
21635                 - Use OpenSSL CFLAGS
21636
21637         * src/NetworkManagerAP.[ch]
21638                 - Remove 'stamp' functions, replace with 'invalid' functions
21639                         to support user cancelling WEP key entry
21640
21641         * src/NetworkManagerDbus.c
21642                 - Remove 'stamp' return functions
21643                 - Treat returned user key as a passphrase and convert to a WEP key,
21644                         but don't actually use the WEP key yet.  We use the returned user
21645                         key as a hexadecimal WEP key until we can figure out a UI for
21646                         passphrase-vs-hex key
21647
21648         * src/NetworkManagerWireless.[ch]
21649                 - Add passphrase-to-128bit-key function
21650
21651 2004-07-27  Dan Williams <dcbw@redhat.com>
21652
21653         * TODO
21654                 - Add a couple of items
21655
21656 2004-07-27  Dan Williams <dcbw@redhat.com>
21657
21658         * info-daemon/NetworkManagerInfo.c
21659                 - Update allowed network's GConf key when user enters a WEP key explicitly
21660
21661         * info-daemon/NetworkManagerDbus.c
21662                 - Fix some comments
21663                 - nmi_dbus_get_allowed_networks(): kill warning
21664
21665 2004-07-27  Dan Williams <dcbw@redhat.com>
21666
21667         * initscript/Makefile.in
21668                 - Remove
21669
21670         * initscript/Makefile.am
21671                 - Add correct rules to install the init.d initscript
21672
21673         * info-daemon/NetworkManagerInfoDbus.c
21674                 - Remove debug fprintf
21675
21676         * src/NetworkManagerDbus.[ch]
21677                 - Remove debug fprintfs
21678                 - Add macros for NetworkManagerInfo object path/namespace
21679                 - Use said macros instead of constant strings
21680
21681 2004-07-27  Dan Williams <dcbw@redhat.com>
21682
21683         * initscript/.cvsignore
21684                 - Add
21685
21686         * info-daemon/Makefile.am
21687                 - Install .glade files and keyring.png
21688                 - Fix stupid omission of a \ that caused half the flags not to be
21689                         passed to gcc
21690
21691         * info-daemon/NetworkManagerInfo.c
21692                 - gtk_signal_connect->g_signal_connect
21693                 - Alert NetworkManagerInfo to new glade file location
21694
21695 2004-07-27  Dan Williams <dcbw@redhat.com>
21696
21697         * test/nmclienttest.c
21698           test/nminfotest.c
21699                 - Add missing <dbus/dbus.h> headers
21700                 - Add GPL message at top
21701
21702 2004-07-27  Dan Williams <dcbw@redhat.com>
21703
21704         * src/NetworkManagerAPList.[ch]
21705           src/Makefile.am
21706                 - Add.  Deal with allowed network list additions, deletions, and updates
21707
21708         * dispatcher-daemon/NetworkManagerDispatcher.c
21709                 - Add missing <dbus/dbus.h> header
21710
21711         * info-daemon/NetworkManagerInfo.[ch]
21712                 - Add missing <dbus/dbus.h> header
21713                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21714                         network change
21715                 - Better error checking
21716
21717         * info-daemon/NetworkManagerInfoDbus.[ch]
21718                 - Add missing <dbus/dbus.h> header
21719                 - Convert to using dbus_message_append_args/dbus_message_get_args
21720                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21721                         that an allowed network changed.  We don't want to signal on individual
21722                         keys _inside_ an allowed network really, just want NM to query the info
21723                         daemon for updated info on all keys.
21724                 - Better error checking
21725
21726         * src/NetworkManager.[ch]
21727                 - Add missing <dbus/dbus.h> header
21728                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21729                 - Zero out NMData structure on free
21730                 - No longer use a thread for allowed_ap_list updating, instead its now done
21731                         through dbus queries against NetworkManagerInfo
21732                 - Populate allowed_ap_list initially before adding existing network devices
21733                         to the device list, so wireless devices can get their "best" AP
21734
21735         * src/NetworkManagerDbus.[ch]
21736                 - Convert to using dbus_message_append_args/dbus_message_get_args
21737                 - Better error checking
21738                 - Implement Allowed Network info functions to request allowed network
21739                         info from NetworkManagerInfo
21740                 - Implement the filter function to process signals from NetworkManagerInfo
21741                         about changing allowed networks
21742
21743         * src/NetworkManagerDevice.c
21744                 - Fix file descriptor leak in nm_device_update_ip4_address()
21745
21746 2004-07-27  Dan Williams <dcbw@redhat.com>
21747
21748         * .cvsignore
21749           src/.cvsignore
21750           test/.cvsignore
21751           dispatcher-daemon/.cvsignore
21752           info-daemon/.cvsignore
21753                 - Add .cvsignore files to reduce noise when diffing
21754
21755 2004-07-24  Dan Williams <dcbw@redhat.com>
21756
21757         * src/NetworkManager.[ch]
21758           src/NetworkManagerDbus.[ch]
21759           src/NetworkManagerDevice.[ch]
21760           src/NetworkManagerPolicy.c
21761           src/NetworkManagerWireless.[ch]
21762                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21763                 - Pass the NMData application data structure through all calls
21764                         that need it so we can get rid of nm_get_global_data()
21765                 - Change deallocation of the allowed_ap_list GSList in preparation
21766                         for not completely clearing it every time we get an update,
21767                         but instead getting incremental updates via GConf/dbus
21768
21769 2004-07-22  Dan Williams <dcbw@redhat.com>
21770
21771         * configure.in
21772                 - Add checks for GConf libs & headers & flags
21773
21774         * info-daemon/Makefile.am
21775                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21776
21777         * info-daemon/NetworkManagerInfo.[ch]
21778                 - Don't use gquarks for data storage, just use normal data storage
21779                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21780
21781         * info-daemon/NetworkManagerDbus.[ch]
21782                 - Add method call for getting allowed networks
21783                 - Add method calls for getting an allowed network's essid, priority, and key
21784                 - Hook the method calls up to GConf
21785                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21786                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21787                 
21788         * src/NetworkManagerDbus.[ch]
21789                 - Switch for enumeration of networks to using essid instead
21790
21791         * test/Makefile.am
21792           test/nminfotest.c
21793                 - Add test program for NetworkManagerInfo
21794
21795 2004-07-19  Dan Williams <dcbw@redhat.com>
21796
21797         * src/NetworkManagerDbus.c
21798                 - Switch from indexed device paths to names.  Less code, more efficient.
21799                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21800
21801 2004-07-19  Dan Williams <dcbw@redhat.com>
21802
21803         * dispatcher-daemon/NetworkManagerDispatcher.c
21804                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21805
21806 2004-07-19  Dan Williams <dcbw@redhat.com>
21807
21808         * Makefile.am
21809                 - Add info-daemon directory
21810
21811         * configure.in
21812                 - Check for glade libs and headers
21813                 - Add info-daemon directory
21814
21815         * src/NetworkManagerAP.c
21816                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21817                         copied over to the new AP.
21818
21819         * src/NetworkManagerDbus.c
21820           src/NetworkManagerDbus.h
21821                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21822                 - Remove nm_dbus_signal_need_key_for_network()
21823                 - Add disabled code for asynchronous user wep key callbacks
21824                 - Add functions for getting, setting, and cancelling user key operations
21825                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21826                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21827
21828         * src/NetworkManagerDevice.c
21829           src/NetworkManagerDevice.h
21830                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21831                         logic is in device activation now
21832                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21833                         key is wrong) trigger get-user-key pending action
21834                 - Implement get-user-key pending action stuff, tie to dbus messages
21835                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21836                 - Add nm_device_ap_list_get_ap_by_essid()
21837                 - Instead of copying "best" access points, ref them instead so that the key we set
21838                         sticks around
21839
21840         * src/NetworkManagerPolicy.c
21841                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21842                 - Don't cancel pending actions on a device if its the same device as last iteration
21843                 - Only promote pending_device->active_device if activation was successfull
21844
21845         * src/Makefile.am
21846                 - Rename nmclienttest->nmtest
21847
21848         * info-daemon/Makefile.am
21849           info-daemon/NetworkManagerInfo.c
21850           info-daemon/NetworkManagerInfo.h
21851           info-daemon/NetworkManagerInfoDbus.c
21852           info-daemon/NetworkManagerInfoDbus.h
21853           info-daemon/passphrase.glade
21854           info-daemon/NetworkManagerInfo.conf
21855           info-daemon/keyring.png
21856                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21857                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21858                         lists to NetworkManager by proxying user's GConf
21859           
21860
21861 2004-07-15  Dan Williams <dcbw@redhat.com>
21862
21863         * src/Makefile.am
21864                 - Turn on warnings
21865
21866         * src/NetworkManager.c
21867                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21868                         that doing the deactivation ourselves
21869                 - Cancel an pending actions on a device if its being removed
21870                 - Break up link state checking a bit, make non-active wireless cards
21871                         deactivated to save power
21872                 - Remove unused variables
21873
21874         * src/NetworkManager.h
21875                 - Add support for "pending" device
21876
21877         * src/NetworkManagerAP.h
21878           src/NetworkManagerAP.c
21879                 - Add support for determining whether and AP has encryption enabled or not
21880                 - AP address is now "struct ether_addr" rather than a string
21881
21882         * src/NetworkManagerDbus.h
21883           src/NetworkManagerDbus.c
21884                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21885                 - Changes for AP address from struct ether_addr->string
21886
21887         * src/NetworkManagerDevice.h
21888           src/NetworkManagerDevice.c
21889                 - Remove unused variables, fix warnings
21890                 - Add support for Pending Actions (things that block a device from being "active"
21891                         until they are completed).
21892                 - First pending action:  Get a WEP key from the user
21893                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21894                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21895                 - Update wireless link checking to try to determine if the AP we are associated
21896                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21897                         trigger the GetUserKey pending action on the device
21898                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21899                         up in that case, otherwise we can't scan or link-check on it
21900                 - Add IP address change notifications at appropriate points (still needs some work)
21901                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21902
21903         * src/NetworkManagerPolicy.h
21904           src/NetworkManagerPolicy.c
21905                 - Split out "best" access point determiniation into separate function
21906                 - Make device activation 2-stage:  first the device is pending, then
21907                         in the next iteration through it becomes "active" unless it has
21908                         pending actions
21909
21910         * src/NetworkManagerUtils.h
21911           src/NetworkManagerUtils.c
21912                 - Clean up unused variables and warnings
21913                 - Wrap our debug macros in {} to prevent possible confusion
21914
21915         * src/NetworkManagerWireless.c
21916                 - Forgot to return current best priority, which lead to last available AP always
21917                         being chosen no matter what its priority was.  Corrected.
21918
21919 2004-07-15  Dan Williams <dcbw@redhat.com>
21920
21921         * dispatcher-daemon/Makefile.am
21922                 - Turn on warnings
21923
21924         * dispatcher-daemon/NetworkManagerDispatcher.c
21925                 - Remove unused variables due to warnings
21926                 - Fix some comments
21927                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21928
21929 2004-07-06  Dan Williams <dcbw@redhat.com>
21930
21931         * src/NetworkManager.c
21932                 - Add IPv4 address update for active device during link state check
21933                 - Don't allow wireless cards to be powered up when they are not the
21934                         active device
21935
21936         * src/NetworkManagerDbus.c
21937           src/NetworkManagerDbus.h
21938                 - Add DBUS IPv4 address change signal
21939                 - Add DBUS IPv4 address get method for devices
21940
21941         * src/NetworkManagerDevice.c
21942                 - Make setting the WEP key actually work
21943                 - Move IP address get/set/update stuff here, per-device
21944                 - Power down/bring down wireless device when deactivated
21945                 - For scanning wireless devices, if first scan returned ENODATA, try again
21946
21947         * src/NetworkManagerPolicy.c
21948                 - Only set the WEP key for an allowed access point if there is one.
21949                         We were setting it to be blank if one wasn't specified.
21950
21951         * src/NetworkManagerUtils.h
21952           src/NetworkManagerUtils.c
21953                 - Move the IP address stuff to NetworkManagerDevice.c
21954
21955         * dispatcher-daemon/NetworkManagerDispatcher.c
21956                 - Add device IPv4 address change notification stuff
21957
21958 2004-07-05  Dan Williams <dcbw@redhat.com>
21959
21960         * dispatcher-daemon/NetworkManagerDispatcher.c
21961                 - A bit more descriptive state message
21962                 - Don't segfault when reading directory
21963
21964         * src/NetworkManager.h
21965                 - Remove NMData desired_ap member, its now
21966                         per-device rather than global
21967
21968         * src/NetworkManager.c
21969                 - Remove references to desired_ap
21970                 - Move the allowed AP list refresh stuff into a thread
21971
21972         * src/NetworkManagerDevice.c
21973           src/NetworkManagerDevice.h
21974                 - Each wireless device now has a "best ap"
21975                 - Make device activate/deactivate functions per-device
21976                 - Make wireless scanning per-device
21977                 - Add IPv4 address discover functions, stub IPv6 ones
21978                 - Move ethernet address validation functions to NetworkManagerUtils.c
21979                 - Add wireless access point accessor function
21980                 - Get/Set functions for "best ap"
21981
21982         * src/NetworkManagerPolicy.c
21983                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21984                 - Deal with per-device "best ap" rather than data->desired_apa
21985                 - Implement allowed access point worker thread
21986                 - Add nm_policy_essid_is_allowed() function
21987
21988         * src/NetworkManagerUtils.c
21989           src/NetworkManagerUtils.h
21990                 - Add nm_ethernet_address_is_valid() function
21991                 - Add IPv4/IPv6 address get functions
21992
21993         * src/NetworkManagerWireless.c
21994           src/NetworkManagerWireless.h
21995                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21996
21997 2004-06-29  Dan Williams <dcbw@redhat.com>
21998
21999         * dispatcher-daemon/NetworkManagerDispatcher.c
22000                 - Implement script callout functionality
22001
22002 2004-06-24  Dan Williams <dcbw@redhat.com>
22003
22004         * NetworkManager.c
22005             - Spacing cleanups
22006             - Flush device routes and ip addresses when added to the device list
22007
22008         * NetworkManagerDbus.c
22009             - Spacing cleanups
22010             - Add missing returns in the two signal functions
22011         
22012         * NetworkManagerPolicy.c
22013             - Spacing and variable cleanups
22014
22015 2004-06-24  Dan Williams <dcbw@redhat.com>
22016
22017         * Makefile.am
22018           Makefile.in
22019           configure.in
22020           dispatcher-daemon/Makefile.am
22021           dispatcher-daemon/Makefile.in
22022           dispatcher-daemon/NetworkManagerDispatcher.c
22023             - Add a daemon that receives signals from NetworkManager
22024                         and will (eventually) call scripts in /etc/somewhere
22025                         when devices go up or down.
22026         
22027         * NetworkManager.c
22028             - Spacing cleanups
22029             - Flush device routes and ip addresses when added to the device list
22030
22031         * NetworkManagerDbus.c
22032             - Spacing cleanups
22033             - Add missing returns in the two signal functions
22034         
22035         * NetworkManagerPolicy.c
22036             - Spacing and variable cleanups
22037             - Rename nm_policy_switch_interface->nm_policy_switch_device
22038             - nm_policy_switch_device():
22039                                 Use kill (pid) instead of system ("kill <pid>")
22040             - nm_state_modification_monitor():
22041                                 Add wireless essid to output of debug statements
22042                                 Correct typo in device compare to switch or not (should be !=)
22043                                 Don't sleep after sending "no longer active" signal, was useless
22044
22045 2004-06-24  Dan Williams <dcbw@redhat.com>
22046
22047         * Initial import