2008-11-23 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-23  Dan Williams  <dcbw@redhat.com>
2
3         * callouts/nm-dispatcher-action.c
4                 - (construct_envp, nm_dispatcher_action): pass connection UUID to
5                         scripts in the environment
6
7 2008-11-21  Dan Williams  <dcbw@redhat.com>
8
9         Patch from Tambet Ingo  <tambet@gmail.com>
10
11         * configure.in
12           libnm-util/libnm-util.ver
13           libnm-util/nm-setting-8021x.c
14           libnm-util/nm-setting-8021x.h
15                 - Add configure-time option for the system CA path
16                 - Add 'system-ca-certs' option to 802.1x setting, which directs
17                         NetworkManager to use system CA certificates instead of any
18                         connection-defined CA certificates
19
20         * src/supplicant-manager/nm-supplicant-config.c
21           src/supplicant-manager/nm-supplicant-settings-verify.c
22                 - Use system CA certificates if the connection says to do so
23
24 2008-11-21  Dan Williams  <dcbw@redhat.com>
25
26         * src/nm-dbus-manager.c
27           src/nm-dbus-manager.h
28                 - (nm_dbus_manager_get_name_owner): return error
29
30         * src/nm-manager.c
31                 - (impl_manager_activate_connection): perform additional validation on
32                         ActivateConnection calls of user connections
33                 - (is_user_request_authorized): ensure that the requestor is the same
34                         UID as the UID that owns the user settings service; users shouldn't
35                         be able to control another user's connections
36
37 2008-11-21  Dan Williams  <dcbw@redhat.com>
38
39         * gfilemonitor/inotify-sub.c
40                 - (dup_dirname): actually remove trailing '/' (bgo #561807)
41
42 2008-11-21  Tambet Ingo  <tambet@gmail.com>
43
44         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
45         plugin compile again.
46
47 2008-11-20  Dan Williams  <dcbw@redhat.com>
48
49         Patch from Tambet Ingo <tambet@gmail.com>
50
51         * libnm-util/nm-setting.c
52           libnm-util/nm-setting.h
53                 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
54                         all the GParamSpec flags of the property
55
56         * system-settings/plugins/keyfile/nm-keyfile-connection.c
57           system-settings/plugins/keyfile/reader.c
58           system-settings/plugins/keyfile/writer.c
59                 - Update for NMSettingValueIterFn change
60
61 2008-11-20  Dan Williams  <dcbw@redhat.com>
62
63         * libnm-util/nm-utils.c
64           libnm-util/nm-utils.h
65                 - More documentation updates
66
67 2008-11-20  Dan Williams  <dcbw@redhat.com>
68
69         * libnm-util/libnm-util.ver
70           libnm-util/nm-utils.c
71           libnm-util/nm-utils.h
72           libnm-util/nm-utils-private.h
73           libnm-util/nm-connection.c
74                 - (nm_utils_register_value_transformations): make private, called
75                         from NMConnection registration anyway
76
77 2008-11-20  Dan Williams  <dcbw@redhat.com>
78
79         * libnm-util/Makefile.am
80           libnm-util/nm-utils-private.h
81                 - New header for internal utils private functions
82
83         * libnm-util/libnm-util.ver
84           libnm-util/nm-utils.c
85           libnm-util/nm-utils.h
86                 - Document some functions
87                 - (nm_utils_string_in_list, nm_utils_string_list_contains,
88                    nm_utils_string_slist_validate): un-export, only used within
89                         libnm-util or of limited use in general, and very easy to
90                         re-implement by apps if needed
91
92         * libnm-util/nm-setting-8021x.c
93           libnm-util/nm-setting-wired.c
94           libnm-util/nm-setting-wireless-security.c
95           libnm-util/nm-setting-wireless.c
96                 - Update for private nm_utils_string_* functions
97
98 2008-11-20  Dan Williams  <dcbw@redhat.com>
99
100         * libnm-util/libnm-util.ver
101           libnm-util/nm-setting.c
102           libnm-util/nm-setting.h
103                 - Add NMSetting errors
104                 - (nm_setting_update_secrets): return errors
105
106         * libnm-util/nm-connection.c
107           libnm-util/nm-connection.h
108                 - (nm_connection_update_secrets): return errors
109
110         * libnm-util/nm-setting-vpn.c
111           src/nm-activation-request.c
112           src/vpn-manager/nm-vpn-connection.c
113                 - Handle update secrets errors
114
115 2008-11-20  Dan Williams  <dcbw@redhat.com>
116
117         * libnm-util/nm-setting.c
118           libnm-util/nm-setting.h
119           libnm-util/libnm-util.ver
120                 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
121                         consistent with nm_connection_new_from_hash()
122
123         * src/nm-activation-request.c
124           libnm-util/nm-connection.c
125                 - Handle rename
126
127 2008-11-19  Dan Williams  <dcbw@redhat.com>
128
129         * configure.in
130           Makefile.am
131           docs/libnm-util/Makefile.am
132           docs/libnm-util/libnm-util.types
133                 - Start to document libnm-util
134
135 2008-11-19  Dan Williams  <dcbw@redhat.com>
136
137         * libnm-util/nm-connection.h
138           libnm-util/nm-connection.c
139                 - Document public functions
140
141 2008-11-19  Dan Williams  <dcbw@redhat.com>
142
143         * libnm-util/nm-setting.h
144           libnm-util/nm-setting.c
145           src/nm-device.c
146           src/nm-manager.c
147           system-settings/plugins/ifcfg-fedora/plugin.c
148                 - Prefix compare flag defines with NM_SETTING_
149
150 2008-11-19  Dan Williams  <dcbw@redhat.com>
151
152         * libnm-util/nm-connection.c
153           libnm-util/nm-connection.h
154                 - (nm_connection_replace_settings): take a GError
155
156         * libnm-glib/nm-settings.c
157           libnm-glib/nm-dbus-connection.c
158           src/nm-manager.c
159           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
160           system-settings/plugins/keyfile/nm-keyfile-connection.c
161           system-settings/plugins/keyfile/plugin.c
162                 - Handle, or don't handle, errors from nm_connection_replace_settings()
163
164 2008-11-19  Dan Williams  <dcbw@redhat.com>
165
166         * libnm-util/libnm-util.ver
167           libnm-util/nm-connection.c
168                 - (nm_setting_register, nm_setting_unregister): unexport; they are
169                         private and don't have a use outside libnm-util
170
171 2008-11-17  Dan Williams  <dcbw@redhat.com>
172
173         * src/nm-hso-gsm-device.c
174                 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
175                         devices
176
177 2008-11-17  Dan Williams  <dcbw@redhat.com>
178
179         * system-settings/plugins/ifcfg-fedora/reader.c
180                 - (read_mac_address): clean up
181                 - (make_wireless_setting): pass NULL array to read_mac_address() like it
182                         expects
183
184         * system-settings/plugins/ifcfg-fedora/plugin.c
185                 - (read_one_connection): don't segfault on NULL errors
186
187 2008-11-14  Dan Williams  <dcbw@redhat.com>
188
189         * Tag 0.7.0-rc2
190
191 2008-11-14  Dan Williams  <dcbw@redhat.com>
192
193         Handle gateways on different subnets
194
195         * src/NetworkManagerSystem.c
196                 - (add_ip4_route_to_gateway): gateway route should be link scope and
197                         a host route
198                 - (replace_default_ip4_route): use a destination address too; gateway
199                         address should be /0; don't leak the gateway route object
200
201 2008-11-14  Dan Williams  <dcbw@redhat.com>
202
203         * libnm-glib/libnm_glib.ver
204           libnm-glib/nm-dbus-settings-system.c
205           libnm-glib/nm-dbus-settings-system.h
206                 - Add libnm-glib bits for CanModify
207
208 2008-11-14  Dan Williams  <dcbw@redhat.com>
209
210         * introspection/nm-settings-system.xml
211           system-settings/src/dbus-settings.c
212           system-settings/src/dbus-settings.h
213                 - Add a "CanModify" property to indicate if any plugins support
214                         connection modification
215
216 2008-11-14  Dan Williams  <dcbw@redhat.com>
217
218         Relicense libnm-glib to LGPLv2+ with agreement from contributors
219
220 2008-11-14  Dan Williams  <dcbw@redhat.com>
221
222         * vpn-manager/nm-vpn-connection.c
223                 - (plugin_state_changed): clear VPN secrets on error to ensure they
224                         are always requested from the settings service (rh #429287)
225
226 2008-11-13  Dan Williams  <dcbw@redhat.com>
227
228         * libnm-util/crypto.c
229                 - (crypto_get_private_key_data): fix bad initial arg type checking
230                         from pkcs#12 patch
231
232 2008-11-13  Dan Williams  <dcbw@redhat.com>
233
234         Add support for PKCS#12 private keys (bgo #558982)
235
236         * libnm-util/crypto.c
237           libnm-util/crypto.h
238                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
239                         take a GByteArray instead of a filename
240                 - (file_to_g_byte_array): handle private key files too
241                 - (decrypt_key): take a GByteArray rather than data + len
242                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
243                         one function that takes a filename, and one that takes raw data;
244                         detect pkcs#12 files as well
245                 - (crypto_load_and_verify_certificate): detect file type
246                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
247                         functions
248
249         * libnm-util/crypto_gnutls.c
250                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
251                         whereby tail padding was incorrectly handled, leading to erroneous
252                         successes when trying to decrypt the data
253                 - (crypto_verify_cert): rework somewhat
254                 - (crypto_verify_pkcs12): validate pkcs#12 keys
255
256         * libnm-util/crypto_nss.c
257                 - (crypto_init): enable various pkcs#12 ciphers
258                 - (crypto_decrypt): take a GByteArray rather than data + len
259                 - (crypto_verify_cert): clean up
260                 - (crypto_verify_pkcs12): validate pkcs#12 keys
261
262         * libnm-util/test-crypto.c
263                 - Handle pkcs#12 keys
264
265         * libnm-util/nm-setting-8021x.c
266           libnm-util/nm-setting-8021x.h
267           libnm-util/libnm-util.ver
268                 - Add two new properties, 'private-key-password' and
269                         'phase2-private-key-password', to be used in conjunction with
270                         pkcs#12 keys
271                 - (nm_setting_802_1x_set_ca_cert_from_file,
272                    nm_setting_802_1x_set_client_cert_from_file,
273                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
274                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
275                         type
276                 - (nm_setting_802_1x_get_private_key_password,
277                    nm_setting_802_1x_get_phase2_private_key_password): return private
278                         key passwords
279                 - (nm_setting_802_1x_set_private_key_from_file,
280                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
281                         key from a file, and update the private key password at the same time
282                 - (nm_setting_802_1x_get_private_key_type,
283                    nm_setting_802_1x_get_phase2_private_key_type): return the private
284                         key type
285
286         * src/supplicant-manager/nm-supplicant-settings-verify.c
287                 - Whitelist private key passwords
288
289         * src/supplicant-manager/nm-supplicant-config.c
290                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
291                         add the private key password to the supplicant config, but do not
292                         add the client certificate (as required by wpa_supplicant)
293
294 2008-11-12  Tambet Ingo  <tambet@gmail.com>
295
296         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
297         (add_secrets): Don't add empty secrets to the secrets hash table.
298
299 2008-11-07  Dan Williams  <dcbw@redhat.com>
300
301         * libnm-util/nm-setting-wireless.c
302                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
303                         that cased this function to return garbage, breaking hidden AP
304                         detection
305
306 2008-11-07  Dan Williams  <dcbw@redhat.com>
307
308         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
309
310         * src/NetworkManagerSystem.c
311           src/NetworkManagerSystem.h
312                 - (nm_system_device_set_ip4_route): return the route that was added
313                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
314                         public, clean up, and return the route that was added
315                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
316                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
317                         flags to allow only certain attributes of the NMIP4Config to be
318                         applied
319
320         * src/nm-device.c
321                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
322                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
323                         what's really changed between the old and new configs; don't export
324                         the new IP4 config on failure; always send the DNS info to the
325                         named manager
326
327         * src/vpn-manager/nm-vpn-connection.c
328                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
329                         parent device's IP4Config and re-add the VPN gateway route when it
330                         changes
331                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
332                         nm_system_apply_ip4_config() no longer does) and cache it for later
333                 - (connection_state_changed): move cleanup code to its own function
334                 - (vpn_cleanup): delete any previously added VPN gateway route; and
335                         re-apply the parent device's addresses and routes using
336                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
337
338 2008-11-07  Dan Williams  <dcbw@redhat.com>
339
340         * src/nm-ip4-config.c
341           src/nm-ip4-config.h
342                 - (nm_ip4_config_diff): new function; return the difference between two
343                         IP4 configs
344                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
345
346 2008-11-05  Dan Williams  <dcbw@redhat.com>
347
348         * nm-ip4-config.c
349           nm-ip4-config.h
350                 - (nm_ip4_config_compare): compare two IP4 configs
351
352 2008-11-05  Dan Williams  <dcbw@redhat.com>
353
354         * src/NetworkManagerPolicy.c
355                 - (update_etc_hosts): only add newline if not the last line of the file
356                         (Jonathan Miner)
357
358 2008-11-05  Dan Williams  <dcbw@redhat.com>
359
360         * src/dhcp-manager/nm-dhcp-dhclient.c
361                 - (get_leasefile_for_iface): move lease files back to where dhclient
362                         puts them
363
364 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
365
366         * initscripts/Debian/NetworkManager
367                 - Update to what Debian is actually using
368
369 2008-11-05  Tambet Ingo  <tambet@gmail.com>
370
371         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
372
373 2008-11-03  Dan Williams  <dcbw@redhat.com>
374
375         * system-settings/src/main.c
376                 - (add_default_dhcp_connection): make the fallback connection read-only
377
378         * libnm-glib/nm-settings.c
379           libnm-glib/nm-settings.h
380                 - Add detailed errors
381                 - (impl_exported_connection_update, impl_exported_connection_delete):
382                         return an error if the connection is read-only
383
384         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
385           system-settings/plugins/keyfile/nm-keyfile-connection.c
386           system-settings/src/main.c
387                 - Use more detailed errors
388
389         * system-settings/src/nm-system-config-error.c
390           system-settings/src/nm-system-config-error.h
391           system-settings/src/dbus-settings.c
392                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
393                         NM_SETTINGS_ERROR_INVALID_CONNECTION
394
395 2008-11-02  Dan Williams  <dcbw@redhat.com>
396
397         * Add license headers to everything in src/
398
399 2008-11-02  Dan Williams  <dcbw@redhat.com>
400
401         * Tag 0.7.0-rc1
402
403 2008-11-02  Dan Williams  <dcbw@redhat.com>
404
405         * src/NetworkManagerAP.c
406                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
407                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
408                         secrets when connecting to an encrypted network failed
409
410 2008-10-30  Dan Williams  <dcbw@redhat.com>
411
412         * libnm-util/libnm-util.ver
413           libnm-util/nm-setting-ip6-config.c
414           libnm-util/nm-setting-ip6-config.h
415           libnm-util/Makefile.am
416                 - Make properties private and add accessor functions
417                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
418
419         * libnm-util/nm-connection.c
420           libnm-util/nm-utils.c
421           libnm-util/nm-utils.h
422                 - Ignore IPv6 stuff for now
423
424 2008-10-30  Dan Williams  <dcbw@redhat.com>
425
426         * libnm-util/libnm-util.ver
427           libnm-util/nm-setting-8021x.c
428           libnm-util/nm-setting-8021x.h
429                 - Make properties private and add accessor functions
430
431         * src/supplicant-manager/nm-supplicant-config.c
432           system-settings/plugins/ifcfg-suse/parser.c
433                 - Use 802.1x setting accessors
434
435 2008-10-30  Dan Williams  <dcbw@redhat.com>
436
437         * libnm-util/libnm-util.ver
438           libnm-util/nm-setting-wireless-security.c
439           libnm-util/nm-setting-wireless-security.h
440                 - Make properties private and add accessor functions
441
442         * libnm-util/nm-setting-wireless.c
443           src/NetworkManagerAP.c
444           src/nm-device-wifi.c
445           src/supplicant-manager/nm-supplicant-config.c
446           system-settings/plugins/ifcfg-fedora/reader.c
447           system-settings/plugins/ifcfg-suse/parser.c
448                 - Use wireless security accessors
449
450 2008-10-30  Dan Williams  <dcbw@redhat.com>
451
452         * src/nm-device-ethernet.c
453           src/nm-device-wifi.c
454           src/nm-device.c
455           src/ppp-manager/nm-ppp-manager.c
456                 - Harmonize return checking of ioctl
457
458         * system-settings/plugins/ifcfg-fedora/reader.c
459                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
460
461 2008-10-30  Dan Williams  <dcbw@redhat.com>
462
463         * src/ppp-manager/nm-ppp-manager.c
464                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
465                         ppp_generic module to create it (bgo #533064)
466
467 2008-10-30  Dan Williams  <dcbw@redhat.com>
468
469         Patch from Alexander Sack <asac@canonical.com>
470
471         Fix "ppp connections don't honour ip4 connection settings"
472
473         * src/nm-device-ethernet.c
474                 - (real_act_stage4_get_ip4_config): merge ip4config settings
475                         with results from ppp manager
476
477         * src/nm-serial-device.c
478                 - (real_act_stage4_get_ip4_config): merge ip4config settings
479                         with results from ppp manager
480
481 2008-10-29  Dan Williams  <dcbw@redhat.com>
482
483         * libnm-util/libnm-util.ver
484           libnm-util/nm-setting-ip4-config.c
485           libnm-util/nm-setting-ip4-config.h
486                 - Make properties private and add accessor functions
487
488         * callouts/nm-dispatcher-action.c
489           libnm-glib/libnm-glib-test.c
490           libnm-util/nm-utils.c
491           src/NetworkManagerPolicy.c
492           src/NetworkManagerSystem.c
493           src/NetworkManagerUtils.c
494           src/dhcp-manager/nm-dhcp-dhclient.c
495           src/dhcp-manager/nm-dhcp-manager.c
496           src/dnsmasq-manager/nm-dnsmasq-manager.c
497           src/nm-device-wifi.c
498           src/nm-device.c
499           src/nm-hso-gsm-device.c
500           src/nm-ip4-config.c
501           src/nm-ip4-config.h
502           src/ppp-manager/nm-ppp-manager.c
503           src/vpn-manager/nm-vpn-connection.c
504           system-settings/plugins/ifcfg-fedora/reader.c
505           system-settings/plugins/ifcfg-suse/parser.c
506           system-settings/plugins/ifcfg-suse/plugin.c
507           system-settings/plugins/ifupdown/parser.c
508           test/nm-tool.c
509           vpn-daemons/vpnc/properties/nm-vpnc.c
510                 - Use IP4 accessor functions
511
512 2008-10-29  Tambet Ingo  <tambet@gmail.com>
513
514         Half of it by Dan Williams <dcbw@redhat.com>
515
516         * libnm-util/libnm-util.ver
517         libnm-util/nm-setting-vpn.c
518         libnm-util/nm-setting-vpn.h
519                 - Make properties private and add accessor functions.
520
521         * src/vpn-manager/nm-vpn-connection.c
522         src/vpn-manager/nm-vpn-manager.c
523         system-settings/plugins/keyfile/reader.c
524         vpn-daemons/openvpn/properties/auth-helpers.c
525         vpn-daemons/openvpn/properties/import-export.c
526         vpn-daemons/openvpn/properties/nm-openvpn.c
527         vpn-daemons/openvpn/src/nm-openvpn-service.c
528         vpn-daemons/pptp/auth-dialog/main.c
529         vpn-daemons/pptp/properties/advanced-dialog.c
530         vpn-daemons/pptp/properties/nm-pptp.c
531         vpn-daemons/pptp/src/nm-pptp-service.c
532         vpn-daemons/vpnc/properties/nm-vpnc.c
533         vpn-daemons/vpnc/src/nm-vpnc-service.c
534                 - Use VPN setting accessors.
535
536 2008-10-28  Dan Williams  <dcbw@redhat.com>
537
538         Patch from Tambet Ingo <tambet@gmail.com>
539
540         * libnm-util/libnm-util.ver
541           libnm-util/nm-setting-wireless.c
542           libnm-util/nm-setting-wireless.h
543                 - Make properties private and add accessor functions
544
545         * src/NetworkManagerAP.c
546           src/nm-device-wifi.c
547           src/nm-manager.c
548           src/supplicant-manager/nm-supplicant-config.c
549           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
550           system-settings/plugins/ifcfg-fedora/reader.c
551           system-settings/plugins/ifcfg-suse/parser.c
552           system-settings/plugins/ifupdown/parser.c
553                 - Use wireless setting accessors
554
555 2008-10-27  Dan Williams  <dcbw@redhat.com>
556
557         Patch from Tambet Ingo <tambet@gmail.com>
558
559         * libnm-util/libnm-util.ver
560           libnm-util/nm-setting-ppp.c
561           libnm-util/nm-setting-ppp.h
562                 - Make properties private and add accessor functions
563
564         * src/ppp-manager/nm-ppp-manager.c
565                 - Use ppp setting accessors
566
567 2008-10-27  Dan Williams  <dcbw@redhat.com>
568
569         Patch from Tambet Ingo <tambet@gmail.com>
570
571         * libnm-util/nm-setting.h
572           libnm-util/nm-setting.c
573                 - Make properties private and add accessor functions
574
575         * libnm-util/nm-connection.c
576           libnm-util/nm-setting-8021x.c
577           libnm-util/nm-setting-cdma.c
578           libnm-util/nm-setting-connection.c
579           libnm-util/nm-setting-gsm.c
580           libnm-util/nm-setting-ip4-config.c
581           libnm-util/nm-setting-ip6-config.c
582           libnm-util/nm-setting-ppp.c
583           libnm-util/nm-setting-pppoe.c
584           libnm-util/nm-setting-serial.c
585           libnm-util/nm-setting-template.c
586           libnm-util/nm-setting-vpn.c
587           libnm-util/nm-setting-wired.c
588           libnm-util/nm-setting-wireless-security.c
589           libnm-util/nm-setting-wireless.c
590           system-settings/plugins/keyfile/reader.c
591           system-settings/plugins/keyfile/writer.c
592                 - Use setting accessors
593
594 2008-10-27  Dan Williams  <dcbw@redhat.com>
595
596         * libnm-util/libnm-util.ver
597           libnm-util/nm-setting-connection.c
598           libnm-util/nm-setting-connection.h
599                 - Add a 'read-only' property that indicates the connection cannot be
600                         modified
601
602         * system-settings/plugins/ifcfg-fedora/reader.c
603           system-settings/plugins/ifcfg-suse/parser.c
604           system-settings/plugins/ifupdown/parser.c
605                 - These plugins are read-only at the moment
606
607         * system-settings/plugins/keyfile/reader.c
608           system-settings/plugins/keyfile/writer.c
609                 - Read-only shouldn't get saved out to files or read in from them
610
611 2008-10-27  Tambet Ingo  <tambet@gmail.com>
612
613         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
614         correct speed reporting for fast devices (kernel >= 2.6.27).
615
616 2008-10-26  Dan Williams  <dcbw@redhat.com>
617
618         Attempt to compensate for modems that don't enable full AT parsing before
619         the PIN has been entered.
620
621         * src/nm-gsm-device.c
622                 - (init_modem): accept different init strings
623                 - (init_done): try different init strings on failure
624                 - (check_pin_done): on PIN success, do full modem init
625
626 2008-10-26  Dan Williams  <dcbw@redhat.com>
627
628         Patch from Tambet Ingo <tambet@gmail.com>
629
630         * libnm-util/libnm-util.ver
631           libnm-util/nm-setting-connection.c
632           libnm-util/nm-setting-connection.h
633                 - Make properties private and add accessor functions
634
635         * src/NetworkManagerPolicy.c
636           src/nm-cdma-device.c
637           src/nm-device-ethernet.c
638           src/nm-device-interface.c
639           src/nm-device-wifi.c
640           src/nm-gsm-device.c
641           src/nm-manager.c
642           src/ppp-manager/nm-ppp-manager.c
643           src/vpn-manager/nm-vpn-connection.c
644           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
645           system-settings/plugins/ifcfg-fedora/plugin.c
646           system-settings/plugins/ifcfg-fedora/reader.c
647           system-settings/plugins/ifcfg-suse/parser.c
648           system-settings/plugins/ifupdown/parser.c
649           system-settings/plugins/keyfile/nm-keyfile-connection.c
650           system-settings/plugins/keyfile/plugin.c
651           system-settings/plugins/keyfile/writer.c
652           system-settings/src/main.c
653                 - Use those accessors
654
655 2008-10-26  Dan Williams  <dcbw@redhat.com>
656
657         Patch from Tambet Ingo <tambet@gmail.com>
658
659         * libnm-util/libnm-util.ver
660           libnm-util/nm-setting-gsm.c
661           libnm-util/nm-setting-gsm.h
662                 - Make properties private and add accessor functions
663
664         * src/nm-gsm-device.c
665           src/nm-hso-gsm-device.c
666           src/ppp-manager/nm-ppp-manager.c
667                 - Use those accessors
668
669 2008-10-26  Dan Williams  <dcbw@redhat.com>
670
671         Patch from Tambet Ingo <tambet@gmail.com>
672
673         * libnm-util/libnm-util.ver
674           libnm-util/nm-setting-cdma.c
675           libnm-util/nm-setting-cdma.h
676                 - Make properties private and add accessor functions
677
678         * src/nm-cdma-device.c
679           src/ppp-manager/nm-ppp-manager.c
680                 - Use those accessors
681
682 2008-10-26  Dan Williams  <dcbw@redhat.com>
683
684         Patch from Tambet Ingo <tambet@gmail.com>
685
686         * libnm-util/libnm-util.ver
687           libnm-util/nm-setting-pppoe.c
688           libnm-util/nm-setting-pppoe.h
689                 - Make properties private and add accessor functions
690
691         * src/nm-device-ethernet.c
692           src/ppp-manager/nm-ppp-manager.c
693                 - Use those accessors
694
695 2008-10-26  Dan Williams  <dcbw@redhat.com>
696
697         Patch from Tambet Ingo <tambet@gmail.com>
698
699         * libnm-util/libnm-util.ver
700           libnm-util/nm-setting-wired.c
701           libnm-util/nm-setting-wired.h
702                 - Make properties private and add accessor functions
703
704         * src/nm-device-ethernet.c
705           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
706           system-settings/plugins/ifcfg-suse/parser.c
707           system-settings/src/main.c
708                 - Use those accessors
709
710 2008-10-26  Dan Williams  <dcbw@redhat.com>
711
712         Patch from Tambet Ingo <tambet@gmail.com>
713
714         * libnm-util/libnm-util.ver
715           libnm-util/nm-setting-serial.c
716           libnm-util/nm-setting-serial.h
717           src/nm-serial-device.c
718                 - Make properties private and use accessors instead
719
720 2008-10-26  Dan Williams  <dcbw@redhat.com>
721
722         * src/supplicant-manager/nm-supplicant-interface.c
723           src/supplicant-manager/nm-supplicant-interface.h
724           src/supplicant-manager/nm-supplicant-manager.c
725           src/supplicant-manager/nm-supplicant-manager.h
726                 - Add state-to-string conversion functions
727
728         * src/nm-device-wifi.c
729           src/nm-device-ethernet.c
730                 - Normalize state info logging and use strings instead of numbers
731
732 2008-10-26  Dan Williams  <dcbw@redhat.com>
733
734         * src/NetworkManagerPolicy.c
735                 - (update_routing_and_dns): ignore host routes when determining whether
736                         a VPN connection should own the default route (bgo #552594)
737
738 2008-10-24  Dan Williams  <dcbw@redhat.com>
739
740         * src/nm-gsm-device.c
741                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
742
743 2008-10-23  Dan Williams  <dcbw@redhat.com>
744
745         * src/ppp-manager/nm-ppp-manager.c
746                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
747                         add really important stuff to the command line to ensure that NM
748                         overrides /etc/ppp/options (bgo #556781)
749
750 2008-10-22  Dan Williams  <dcbw@redhat.com>
751
752         * src/NetworkManagerSystem.c
753           src/nm-device.c
754                 - Use the device's IP interface where appropriate (Per Hallsmark)
755
756 2008-10-22  Dan Williams  <dcbw@redhat.com>
757
758         * src/nm-gsm-device.c
759                 - (schedule_automatic_registration_again): use a short timeout here
760                         instead of an idle handler to avoid using too much CPU polling for
761                         something we should be waiting a bit for anyway
762
763 2008-10-22  Dan Williams  <dcbw@redhat.com>
764
765         * include/NetworkManager.h
766           introspection/nm-device.xml
767                 - Add device state change reason for carrier changes
768
769         * src/nm-device-ethernet.c
770                 - (set_carrier): use the carrier change reason when changing device
771                         state in response to carrier changes
772
773 2008-10-21  Dan Williams  <dcbw@redhat.com>
774
775         * src/NetworkManagerPolicy.c
776                 - (update_etc_hosts): don't leak errors, and ensure that
777                         g_file_set_contents() gets a valid error placeholder (rh #461933)
778
779 2008-10-21  Dan Williams  <dcbw@redhat.com>
780
781         * src/nm-manager.c
782                 - (free_get_settings_info): don't use the DBusGProxy which could be
783                         disposed of by the time the function is called
784                 - (internal_new_connection_cb): save connection scope
785                 - (connection_get_settings_cb): don't replace a connection unless it's
786                         actually different from the existing one; fixes an issue where
787                         killing the settings service wouldn't deactivate an active connection
788                         provided by that settings service, because it was using a connection
789                         that had already been replaced in the system or user hash
790
791 2008-10-21  Dan Williams  <dcbw@redhat.com>
792
793         * src/NetworkManager.c
794                 - (main): keep the DHCP manager around since it's a singleton; fixes
795                         a use-after-free exposed by r4196 since the DHCP manager singleton
796                         variable isn't cleared when the DHCP manager object is finalized
797
798 2008-10-20  Dan Williams  <dcbw@redhat.com>
799
800         * libnm-util/nm-setting-wireless-security.c
801                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
802
803 2008-10-20  Dan Williams  <dcbw@redhat.com>
804
805         * src/supplicant-manager/nm-supplicant-config.c
806                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
807
808 2008-10-20  Dan Williams  <dcbw@redhat.com>
809
810         * src/dhcp-manager/nm-dhcp-manager.c
811                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
812                         manager object already refs it once
813                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
814                         also get cleaned up by nm_dhcp_device_destroy() to prevent
815                         double-frees
816
817 2008-10-20  Dan Williams  <dcbw@redhat.com>
818
819         * src/nm-manager.c
820                 - (initial_get_connections): use private dbus manager, don't keep
821                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
822                         manager object.
823
824 2008-10-18  Dan Williams  <dcbw@redhat.com>
825
826         * libnm-glib/nm-settings.c
827           libnm-glib/nm-settings.h
828                 - Rename the "get_secrets" virtual function "service_get_secrets" to
829                         clarify when it's used; NMExportedConnetion is a base-class for both
830                         the client and service side, which is sort of confusing, and
831                         get_secrets only makes sense on the service side.
832
833         * libnm-glib/nm-dbus-connection.c
834                 - (get_secrets): remove, unused, and clients need to do extra work to
835                         get secrets anyway since the call can block on the remote side
836
837         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
838           system-settings/plugins/keyfile/nm-keyfile-connection.c
839                 - Fix up for get_secrets -> service_get_secrets
840
841 2008-10-16  Dan Williams  <dcbw@redhat.com>
842
843         * src/nm-device-wifi.c
844                 - (constructor): correctly determine encryption capabilities
845
846 2008-10-15  Dan Williams  <dcbw@redhat.com>
847
848         * src/nm-device-wifi.c
849                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
850                         (Johannes Berg)
851
852 2008-10-15  Dan Williams  <dcbw@redhat.com>
853
854         * src/NetworkManagerSystem.c
855                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
856                         if the ip4_dest is in a smaller subnet contained within a subnet
857                         the machine is currently on, the destination is in the same subnet
858                 - (nm_system_device_set_ip4_route): move subnet checks to callers
859                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
860                         subnet as the parent device, and if so, don't add the direct
861                         host route via the parent device's gateway (bgo #481620)
862                 - (nm_system_apply_ip4_config): check whether the route to be added
863                         is contained within a subnet the device is already on
864
865 2008-10-11  Dan Williams  <dcbw@redhat.com>
866
867         * include/NetworkManager.h
868           introspection/nm-device.xml
869           include/NetworkManagerVPN.h
870                 - Add a few more state reasons for the device deactivated state
871
872         * src/nm-device-interface.c
873           src/nm-device-interface.h
874                 - (nm_device_interface_deactivate): add a 'reason' argument
875
876         * src/nm-device.c
877           src/nm-device.h
878                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
879                 - (nm_device_state_changed): pass the state change reason to
880                         nm_device_take_down()
881                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
882                         to the state change function
883
884         * src/nm-manager.c
885           src/nm-manager.h
886                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
887                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
888                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
889                         something reasonable along to VPN deactivation
890
891         * src/vpn-manager/nm-vpn-manager.c
892           src/vpn-manager/nm-vpn-manager.h
893                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
894                         pass that along to nm_vpn_connection_disconnect()
895
896 2008-10-11  Dan Williams  <dcbw@redhat.com>
897
898         * src/nm-device-wifi.c
899                 - (can_scan): remove old madwifi hack for not scanning while connected
900
901 2008-10-11  Dan Williams  <dcbw@redhat.com>
902
903         Add support for VPN subnet gateways (bgo #549196)
904
905         * include/NetworkManager.h
906                 - Add key for internal VPN subnet gateway
907
908         * src/vpn-manager/nm-vpn-connection.c
909                 - (ip_address_to_string): return a const from a static buffer so we
910                         don't leak a lot of strings
911                 - (print_vpn_config): print internal VPN gateway as well
912                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
913                         VPN service too
914                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
915
916         * src/NetworkManagerSystem.c
917           src/NetworkManagerSystem.h
918                 - (nm_system_device_replace_default_ip4_route): split into two, one for
919                         VPN connections and one for normal devices
920                 - (replace_default_ip4_route): break out route stuff into its own function
921                 - (nm_system_replace_default_ip4_route_vpn,
922                    nm_system_replace_default_ip4_route): simplify by having two cases,
923                         one for VPNs and one for normal devices
924
925         * src/NetworkManagerPolicy.c
926                 - (update_routing_and_dns): simplify, use split default route replacement
927                         functions
928
929 2008-10-10  Dan Williams  <dcbw@redhat.com>
930
931         Rework default route handling to consolidate decisions in the policy,
932         and to take active VPN connections into account when changing the default
933         route (bgo #545912)
934
935         * src/NetworkManager.c
936                 - (main): pass the vpn_manager to the policy so it knows about active
937                         VPN connections; clean up the named manager which wasn't done before
938
939         * src/NetworkManagerPolicy.c
940           src/NetworkManagerPolicy.h
941                 - (nm_policy_new): get a clue about the vpn_manager
942                 - (update_default_route): remove, fold into update_routing_and_dns()
943                 - (update_routing_and_dns): handle active VPN connections too; an
944                         active VPN connection becomes the default route if it does not have
945                         server-specified or user-specified custom routes.  Otherwise, the
946                         best active device gets the default route
947                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
948                    nm_policy_destroy): track VPN connection activation and deactivation
949                         and update the default route when appropriate
950
951         * src/NetworkManagerSystem.c
952           src/NetworkManagerSystem.h
953                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
954                         in the VPN connection itself
955                 - (nm_system_vpn_device_set_from_ip4_config,
956                    nm_system_device_set_from_ip4_config): merge together to make
957                         nm_system_apply_ip4_config()
958                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
959                         via the parent device
960                 - (nm_system_apply_ip4_config): simplify
961                 - (add_ip4_route_to_gateway): new function; add a direct route to the
962                         gateway if needed
963                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
964                         route stuff out into add_ip4_route_to_gateway() for clarity
965
966         * src/nm-device.c
967                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
968
969         * src/vpn-manager/nm-vpn-connection.c
970           src/vpn-manager/nm-vpn-connection.h
971                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
972                    nm_vpn_connection_get_parent_device): add
973                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
974                         device explicit
975                 - (connection_state_changed): update the named manager now that
976                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
977                         useful on errors
978
979         * src/vpn-manager/nm-vpn-manager.c
980           src/vpn-manager/nm-vpn-manager.h
981                 - Add a 'connection-activated' signal
982                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
983                         policy to find out about active VPN connections
984
985 2008-10-10  Tambet Ingo  <tambet@gmail.com>
986
987         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
988         a daemon to prevent NM logging spew on console on startup and shutdown (due
989         to dependency loop between NM and syslog).
990
991 2008-10-10  Alexander Sack  <asac@ubuntu.com>
992
993         Implement managed mode. We bind devices configured in /etc/network/interfaces
994         to their connections by updating wired/wireless setting with the
995         mac address of the device.
996
997         * system-settings/plugins/ifupdown/plugin.c
998                 - (get_net_address_for_udi): implement function to retrieve MAC
999                         address of udi from hal in GByteArray format
1000                 - (bind_device_to_connection): bind mac address of device to
1001                         wired/wireless system connection
1002                 - (hal_device_added_cb): call bind_device_to_connection for
1003                         system connections with a matching interface.name
1004                 - (hal_device_added_cb): ensure that all code paths
1005                         properly free the "iface" string.
1006
1007 2008-10-10  Alexander Sack  <asac@ubuntu.com>
1008
1009         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
1010         mode of the ifupdown system config plugin.
1011
1012         * system-settings/plugins/ifupdown/plugin.c
1013                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
1014                         private unmanage_well_known state field accordingly
1015
1016 2008-10-10  Alexander Sack  <asac@ubuntu.com>
1017
1018         Implement unmanaged mode that will prevent all devices in the
1019         well_known_udis set from being touched by NetworkManager
1020
1021         * system-settings/plugins/ifupdown/plugin.c
1022                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
1023                         unmanage_well_known field used to turn on/off unmanaged
1024                         mode
1025                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
1026                         signal when well_known_udis get added/removed
1027                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
1028                         if we are in unmanaged mode
1029
1030 2008-10-10  Alexander Sack  <asac@ubuntu.com>
1031
1032         Add support to track network devices that have a configuration
1033         with a matching interface.name in /etc/network/interfaces
1034
1035         * system-settings/plugins/ifupdown/plugin.c
1036                 - (typedef struct SCPluginIfupdownPrivate): add hash table
1037                         to track |well_known_udis|
1038                 - (get_iface_for_udi): helper function to get interface.name
1039                         for a udi
1040                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1041                         that add and remove devices to and from the well_known_udis
1042                         set depending on whether their |interface.name| matches
1043                         any interface definition in /etc/network/interfaces
1044                 - (SCPluginIfupdown_init): connect callbacks from above with
1045                         hal_mgr and setup well_known_udis hashtable
1046                 - (GObject__dispose): destroy well_known_udis hashtable
1047                 - (hal_device_added_cb2): implement wrapper callback with GFunc
1048                         signature. user_data is supposed to be a triple (hal_mgr,
1049                         config and devtype)
1050                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1051                         startup and call hal_device_added_cb2
1052
1053 2008-10-10  Alexander Sack  <asac@ubuntu.com>
1054
1055         Remove implementation for not used NMSystemConfigInterface callback functions
1056         in ifupdown plugin
1057
1058         * system-settings/plugins/ifupdown/plugin.c
1059                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1060                 - (SCPluginIfupdown_connection_added): removed
1061
1062 2008-10-08  Dan Williams  <dcbw@redhat.com>
1063
1064         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1065
1066         * src/NetworkManagerUtils.c
1067                 - (nm_utils_call_dispatcher): add a 'hostname' action
1068
1069         * src/NetworkManagerPolicy.c
1070                 - (set_system_hostname): dispatch hostname changes
1071
1072         * callouts/nm-dispatcher-action.c
1073                 - (nm_dispatcher_action): handle 'hostname' actions
1074
1075 2008-10-08  Dan Williams  <dcbw@redhat.com>
1076
1077         * src/NetworkManagerSystem.c
1078                 - (find_route): ref the route so it doesn't get destroyed when the cache
1079                         is cleared
1080                 - (nm_system_device_set_priority): unref the route here after it's done
1081                         being used
1082
1083 2008-10-08  Dan Williams  <dcbw@redhat.com>
1084
1085         * src/nm-serial-device.c
1086                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1087
1088 2008-10-08  Tambet Ingo  <tambet@gmail.com>
1089
1090         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1091         connection with new settings before saving it.
1092
1093 2008-10-06  Dan Williams  <dcbw@redhat.com>
1094
1095         * src/nm-ip4-config.c
1096           src/nm-ip4-config.h
1097                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1098
1099         * src/nm-device-interface.c
1100                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1101                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1102                         by using '/' for the object path
1103
1104         * src/nm-device.c
1105                 - (src/nm-device.c): marshal missing/unexported ip4-config through
1106                         dbus as '/' since dbus-glib can't handle NULL objects nor can
1107                         dbus handle NULL object paths
1108
1109 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1110
1111         Implement system hostname support for debian/ubuntu
1112
1113         * system-settings/plugins/ifupdown/plugin.c
1114                 - (GObject__get_property): extend announced capabilities; add
1115                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1116                 - (GObject__set_property,write_system_hostname): implement
1117                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1118                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1119                    update_system_hostname, get_hostname):
1120                         implement hostname property that watches and
1121                         parses /etc/hostname
1122
1123 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1124
1125         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1126           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1127           system-settings/plugins/ifcfg-fedora/Makefile.am
1128           system-settings/src/nm-inotify-helper.c
1129           system-settings/src/nm-inotify-helper.h
1130           src/Makefile.am
1131                 - Move ifcfg-fedora inotify helpers to the system settings service so
1132                         they are available to all plugins
1133
1134 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1135
1136         Implement support for wep-tx-keyidx in ifupdown system
1137         config plugin.
1138
1139         * system-settings/plugins/ifupdown/parser.c
1140                 - (update_wireless_security_setting_from_if_block): introduce
1141                         free_type_mapping func table; rename a few local
1142                         variables to improve readability; add wpa security mapping
1143                         for wep-tx-keyidx property
1144                 - (string_to_gpointerint): new function used for the auto_type_mapping
1145                         of new wep-tx-keyidx property
1146                 - (slist_free_all): free func used for mapped slist types
1147
1148 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1149
1150         * system-settings/src/main.c:
1151                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1152                         always used as the hash key; fixes a crash when removing wired
1153                         devices
1154
1155 2008-10-02  Dan Williams  <dcbw@redhat.com>
1156
1157         * src/nm-gsm-device.c
1158                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1159                         pass the required GSM secret along via user_data rather than keeping
1160                         it around in the private data where it sometimes didn't get cleared
1161                 - (real_get_ppp_name): implement using the GSM username
1162
1163 2008-10-02  Dan Williams  <dcbw@redhat.com>
1164
1165         * src/ppp-manager/nm-ppp-manager.c
1166           src/ppp-manager/nm-ppp-manager.h
1167                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1168                         the settings daemon for completely new ones
1169                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1170                         local PPP peer name; allow PPP debuging by launching NM with
1171                         the environment variable NM_PPP_DEBUG defined
1172                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1173                         create_pppd_cmd_line()
1174
1175         * src/nm-serial-device.c
1176           src/nm-serial-device.h
1177                 - New 'get_ppp_name' function for subclasses to implement to return the
1178                         local PPP peer name
1179                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1180                         and pass that name to the PPP manager
1181
1182         * src/nm-device-ethernet.c
1183                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1184                         the local peer name
1185
1186         * src/nm-cdma-device.c
1187                 - (real_get_ppp_name): implement using the CDMA username
1188
1189 2008-10-02  Dan Williams  <dcbw@redhat.com>
1190
1191         Patch from Alexander Sack <asac ubuntu com>
1192
1193         * system-settings/plugins/ifupdown/parser.c
1194                 - Implement more graceful ip4 config parsing for cases where
1195                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1196                   by using default values
1197
1198 2008-10-02  Dan Williams  <dcbw@redhat.com>
1199
1200         * src/NetworkManagerPolicy.c
1201                 - (device_state_changed): when marking a connection invalid, clear its
1202                         secrets too so that fresh secrets get requested the next time
1203
1204 2008-10-01  Dan Williams  <dcbw@redhat.com>
1205
1206         * system-settings/src/dbus-settings.c
1207                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1208                         a fallback if no plugin provides a hostname
1209                 - (get_property): fall back to cached hostname if no plugin provides
1210                         a hostname
1211
1212 2008-10-01  Dan Williams  <dcbw@redhat.com>
1213
1214         Fix setting value comparison issue that caused some settings to look the
1215         same when they were really different (rh #464417)
1216
1217         * libnm-util/nm-param-spec-specialized.c
1218                 - (type_is_fixed_size): return fundamental size of the fixed type too
1219                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1220                         in the comparison so that the _entire_ fixed type collection gets
1221                         compared rather than just the first 'len1' bytes
1222
1223 2008-09-30  Dan Williams  <dcbw@redhat.com>
1224
1225         * src/NetworkManagerPolicy.c
1226                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1227                         idle handler could have already run and freed the LookupThread
1228                         structure
1229
1230 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1231
1232         * src/nm-device.c (nm_device_get_priority): Implement.
1233         (nm_device_set_ip4_config): Send the device priority to system ip4 
1234         config setter.
1235
1236         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1237         Add priority argument and if it's >= 0, set the priority of the network
1238         route added automatically by netlink (or kernel?).
1239         (nm_system_device_set_priority): Implement.
1240
1241         * src/NetworkManagerPolicy.c (get_best_device): Use 
1242         nm_device_get_priority() instead of home-grown version. Revert the
1243         meaning, best priority is the lowest one.
1244
1245 2008-09-29  Dan Williams  <dcbw@redhat.com>
1246
1247         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1248         when it returns EAGAIN (rh #362421)
1249
1250         * src/nm-device-wifi.c
1251                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1252                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1253
1254 2008-09-28  Dan Williams  <dcbw@redhat.com>
1255
1256         * src/nm-serial-device.c
1257           src/nm-serial-device.h
1258                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1259                         cleaned at the right times when subclasses close the serial port too
1260                 - (nm_serial_device_send_command): use a default send delay; don't
1261                         spin forever on EAGAIN
1262                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1263                         remove, no longer used
1264                 - (find_response): return the matched response if any
1265                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1266                         while doing so
1267                 - (wait_for_reply_done): pass the matched response to the callback
1268                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1269                         handling
1270                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1271                         const since they never get modified
1272                 - (cleanup_device): split out common cleanup stuff to a new function
1273                 - (real_deactivate_quickly, finalize): use cleanup_device()
1274
1275         * src/nm-gsm-device.c
1276                 - (modem_get_reply): remove, unused
1277                 - (set_apn): give the card a bit more time to respond
1278                 - (manual_registration_again, schedule_manual_registration_again,
1279                    manual_registration_response, manual_registration): handle manual
1280                         registration timeouts better by retrying registration a few times
1281                         because cards are a bit slow after CFUN=1
1282                 - (automatic_registration_get_network, get_network_response): use
1283                         modem_wait_for_reply() because it interacts better with the serial
1284                         buffer and does more intelligent matching; need to wait for 'OK'
1285                         rather than just matching terminators
1286                 - (schedule_automatic_registration_again,
1287                    automatic_registration_response, automatic_registration): retry
1288                         registration a few times on timeout or "searching" because cards
1289                         take a bit to find a network after being powered up with CFUN=1
1290                 - (power_up_response, power_up, init_full_done, enter_pin,
1291                    check_pin_done): power up the card with CFUN=1 before trying to
1292                         register with the network
1293                 - (init_modem_full, init_modem): use more standard 3G init strings
1294
1295         * src/nm-hso-gsm-device.c
1296                 - (modem_get_reply): remove, unused
1297                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1298                         modem_wait_for_reply() to match actual responses instead of single
1299                         termination characters; it doesn't leave stuff in the serial buffer
1300                         that might confuse later calls
1301                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1302                         to ensure that the call is really disconnected and not leave extra
1303                         stuff in the serial buffer
1304
1305         * src/nm-cdma-device.c
1306                 - (power_up_response, power_up, init_done): try Sierra-style modem
1307                         power up before attempting to connect
1308
1309 2008-09-27  Dan Williams  <dcbw@redhat.com>
1310
1311         * libnm-util/nm-setting-gsm.c
1312                 - (verify): verify GSM network ID
1313
1314 2008-09-25  Dan Williams  <dcbw@redhat.com>
1315
1316         * libnm-util/nm-setting-gsm.c
1317           libnm-util/nm-setting-gsm.h
1318                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1319                         technology terms (bgo #551361)
1320
1321 2008-09-25  Dan Williams  <dcbw@redhat.com>
1322
1323         Fix bgo #549401 (inspired by patch from Alexander Sack)
1324
1325         * src/nm-device-ethernet.c
1326                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1327                 - (remove_supplicant_interface_error_handler): remove the supplicant
1328                         error idle callback too
1329                 - (supplicant_interface_release): rename from supplicant_interface_clean
1330                         to match nm-device-wifi.c; clean up supplicant interface-related
1331                         state tasks when the supplicant interface is disposed of
1332                 - (schedule_state_handler): add scheduled tasks to a list so they can
1333                         be cleaned up later
1334                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1335                    supplicant_iface_connection_state_cb_handler): use
1336                         finish_supplicant_task() to clean up each completed task
1337                 - (supplicant_iface_connection_error_cb_handler,
1338                    supplicant_connection_timeout_cb): clear source id when the task is
1339                         complete
1340                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1341                         later cleanup
1342                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1343                         tasks
1344
1345         * src/nm-device-wifi.c
1346                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1347                 - (remove_supplicant_interface_error_handler): remove the supplicant
1348                         error idle callback too
1349                 - (supplicant_interface_release): clean up supplicant interface-related
1350                         state tasks when the supplicant interface is disposed of
1351                 - (schedule_state_handler): add scheduled tasks to a list so they can
1352                         be cleaned up later
1353                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1354                    supplicant_iface_connection_state_cb_handler): use
1355                         finish_supplicant_task() to clean up each completed task
1356                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1357                         the task is complete
1358                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1359                         later cleanup
1360                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1361
1362 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1363
1364         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1365         method and get/set hostname property.
1366
1367 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1368
1369         * src/supplicant-manager/nm-supplicant-interface.c
1370         (nm_supplicant_interface_disconnect): Don't increment the reference 
1371         count when disconnecting. The problem is on shutdown, when the replies
1372         to these commands do not arrive before NM exits, resulting on never
1373         calling supplicant interface's dispose(), which removes the interface
1374         from supplicant.
1375
1376 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1377
1378         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1379         all the public function arguments.
1380
1381 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1382
1383         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1384         "Failure" signal from VPN plugins, store the failure reason, and
1385         use it when the state is changed to failure.
1386
1387         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1388         description.
1389
1390         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1391         reason to the end of the list to not break the API.
1392         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1393         so it can be shared by plugins and daemon.
1394
1395 2008-09-18  Dan Williams  <dcbw@redhat.com>
1396
1397         Patch from Alexander Sack <asac@ubuntu.com>
1398
1399         * configure.in
1400           system-settings/plugins/Makefile.am
1401           system-settings/plugins/ifupdown/Makefile.am
1402           system-settings/plugins/ifupdown/interface_parser.c
1403           system-settings/plugins/ifupdown/interface_parser.h
1404           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1405           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1406           system-settings/plugins/ifupdown/parser.c
1407           system-settings/plugins/ifupdown/parser.h
1408           system-settings/plugins/ifupdown/plugin.c
1409           system-settings/plugins/ifupdown/plugin.h
1410                 - Implement a Debian/Ubuntu legacy network configuration plugin
1411                         (gnome.org #551941)
1412
1413 2008-09-18  Dan Williams  <dcbw@redhat.com>
1414
1415         Implement support for honoring configured and automatic hostnames, and for
1416         setting the configured hostname.
1417
1418         * introspection/nm-ip4-config.xml
1419           src/nm-ip4-config.c
1420           src/nm-ip4-config.h
1421           src/dhcp-manager/nm-dhcp-manager.c
1422                 - Remove useless hostname property; it's not really part of the IPv4
1423                         config
1424
1425         * introspection/nm-settings-system.xml
1426           libnm-glib/nm-dbus-settings-system.c
1427           libnm-glib/nm-dbus-settings-system.h
1428                 - Add SetHostname() call to system settings D-Bus interface
1429                 - Add Hostname property to system settings D-Bus interface
1430                 - (nm_dbus_settings_system_save_hostname,
1431                    nm_dbus_settings_system_get_hostname): implement
1432
1433         * src/nm-device.c
1434           src/nm-device.h
1435                 - (nm_device_get_dhcp4_config): implement
1436
1437         * src/nm-manager.c
1438           src/nm-manager.h
1439                 - Fetch and track system settings service hostname changes, and proxy
1440                         the changes via a GObject property of the manager
1441
1442         * system-settings/src/nm-system-config-interface.c
1443           system-settings/src/nm-system-config-interface.h
1444                 - Replace nm_system_config_interface_supports_add() with a capabilities
1445                         bitfield
1446
1447         * system-settings/src/nm-system-config-error.c
1448           system-settings/src/nm-system-config-error.h
1449                 - Add additional errors
1450
1451         * system-settings/src/dbus-settings.c
1452           system-settings/src/dbus-settings.h
1453                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1454                         property; first plugin returning a hostname wins
1455                 - (impl_settings_add_connection): use plugin capabilities instead of
1456                         nm_system_config_interface_supports_add()
1457                 - (impl_settings_save_hostname): implement hostname saving
1458
1459         * src/NetworkManagerPolicy.c
1460                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1461                    lookup_thread_die): implement an asynchronous hostname lookup thread
1462                         which given an IPv4 address tries to look up the hostname for that
1463                         address with reverse DNS
1464                 - (get_best_device): split out best device code from
1465                         update_routing_and_dns()
1466                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1467                         to preserve the 127.0.0.1 reverse mapping that so many things require
1468                 - (set_system_hostname): set a given hostname
1469                 - (update_system_hostname): implement hostname policy; a configured
1470                         hostname (from the system settings service) is used if available,
1471                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1472                         If there was no automatically determined hostname, reverse DNS of
1473                         the best device's IP address will be used, and as a last resort the
1474                         hostname 'localhost.localdomain' is set.
1475                 - (update_routing_and_dns): use get_best_device(); update the system
1476                         hostname when the network config changes
1477                 - (hostname_changed): update system hostname if the system settings
1478                         service signals a hostname change
1479                 - (nm_policy_new): list for system settings service hostname changes
1480                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1481                         gets told to die
1482
1483         * system-settings/plugins/keyfile/plugin.c
1484           system-settings/plugins/ifcfg-suse/plugin.c
1485                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1486                         capabilities properties
1487
1488         * system-settings/plugins/ifcfg-fedora/shvar.c
1489                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1490                         writes out /etc/sysconfig/network now
1491
1492         * system-settings/plugins/ifcfg-fedora/plugin.c
1493                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1494                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1495                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1496                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1497                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1498                         hostname get/set and capabilities get
1499
1500 2008-09-18  Dan Williams  <dcbw@redhat.com>
1501
1502         * libnm-util/nm-setting-wireless.c
1503                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1504                         group ciphers if the wireless-security setting explicitly specified
1505                         them, effectively making the default be "all ciphers"  (idea from
1506                         Alexander Sack)
1507
1508 2008-09-15  Dan Williams  <dcbw@redhat.com>
1509
1510         Patch from Alexander Sack <asac@ubuntu.com>
1511
1512         * src/named-manager/nm-named-manager.c
1513                 - (dispatch_resolvconf): respect resolvconf exit code
1514
1515 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1516
1517         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1518         again. Add some debugging.
1519
1520 2008-09-11  Dan Williams  <dcbw@redhat.com>
1521
1522         * system-settings/plugins/keyfile/plugin.c
1523                 - (update_connection_settings): update connection manually, since
1524                         nm_exported_connection_update() does authentication
1525                 - (dir_changed): update_connection_settings() doesn't need to return
1526                         an error
1527
1528 2008-09-09  Dan Williams  <dcbw@redhat.com>
1529
1530         * libnm-glib/nm-vpn-plugin-ui-interface.c
1531           libnm-glib/nm-vpn-plugin-ui-interface.h
1532           libnm-glib/libnm_glib_vpn.ver
1533                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1534                         should clean up resources related to the connection (like keyring
1535                         secrets)
1536                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1537                         should save user-scope secrets (like to the keyring)
1538
1539 2008-09-08  Dan Williams  <dcbw@redhat.com>
1540
1541         Patch from Alexander Sack <asac@ubuntu.com>
1542
1543         * libnm-util/crypto_gnutls.c
1544           libnm-util/crypto_nss.c
1545                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1546
1547         * libnm-util/nm-utils.c
1548           libnm-util/nm-utils.h
1549           libnm-util/libnm-util.ver
1550                 - (nm_utils_init): initialize libnm-util
1551                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1552
1553         * libnm-util/nm-setting-8021x.c
1554                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1555
1556 2008-09-05  Dan Williams  <dcbw@redhat.com>
1557
1558         Patch from Roy Marples <roy@marples.name> and others
1559
1560         * configure.in
1561           src/named-manager/nm-named-manager.c
1562                 - Add support for resolvconf; use --with-resolvconf at configure time
1563                         to enable it
1564
1565 2008-09-05  Dan Williams  <dcbw@redhat.com>
1566
1567         * libnm-util/crypto_nss.c
1568           libnm-util/crypto_gnutls.c
1569           libnm-util/crypto.h
1570                 - (crypto_init): return error when init fails
1571
1572 2008-09-05  Dan Williams  <dcbw@redhat.com>
1573
1574         * libnm-glib/nm-device-wifi.c
1575                 - (access_point_removed_proxy): clean up the active access point too
1576                         just in case the active ap changed signal didn't come through yet
1577                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1578
1579 2008-09-05  Dan Williams  <dcbw@redhat.com>
1580
1581         * libnm-glib/nm-client.c
1582                 - (constructor): get initial state after we know whether NM is running
1583                         or not
1584
1585 2008-09-05  Dan Williams  <dcbw@redhat.com>
1586
1587         * libnm-glib/nm-ip4-config.c
1588           libnm-glib/nm-dhcp4-config.c
1589                 - (finalize): clean up the DBusGProxy
1590
1591 2008-09-04  Dan Williams  <dcbw@redhat.com>
1592
1593         * src/nm-ip4-config.c
1594           src/nm-ip4-config.h
1595                 - (nm_ip4_config_new): don't export over D-Bus here
1596                 - (nm_ip4_config_export): new function; export the config over D-Bus
1597                 - (nm_ip4_config_is_exported): new function
1598
1599         * src/nm-device.c
1600                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1601                         objects by balancing the IP4Config constructor; the device holds
1602                         a reference to the IP4Config already
1603                 - (nm_device_set_ip4_config): export the IP4Config when needed
1604
1605 2008-09-04  Dan Williams  <dcbw@redhat.com>
1606
1607         * src/supplicant-manager/nm-supplicant-settings-verify.c
1608                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1609
1610 2008-09-04  Dan Williams  <dcbw@redhat.com>
1611
1612         * libnm-util/nm-setting-vpn.c
1613           libnm-util/nm-setting-vpn.h
1614                 - Split VPN secrets from VPN data so that settings services can actually
1615                         figure out that they are secrets and store them accordingly
1616
1617         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1618           system-settings/plugins/keyfile/reader.c
1619           system-settings/plugins/keyfile/reader.h
1620           system-settings/plugins/keyfile/writer.c
1621                 - Store VPN secrets separately from VPN data so that they can be fetched
1622                         on demand
1623                 - Implement the get_secrets() call so that (a) secrets don't leak out
1624                         to unprivileged callers, and (b) secrets can be sent to privileged
1625                         callers when needed
1626
1627         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1628                 - Handle split VPN secrets
1629
1630 2008-08-27  Dan Williams  <dcbw@redhat.com>
1631
1632         * system-settings/plugins/ifcfg-fedora/reader.c
1633                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1634
1635 2008-08-27  Dan Williams  <dcbw@redhat.com>
1636
1637         Ensure zombie children get cleaned up.  To get notifications when children
1638         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1639         that requires calling waitpid() yourself if you've removed the child watch
1640         handler before the process has actually died, which NM needs to do in a few
1641         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1642         cleans up after the child when required.  Should fix problems trying to
1643         activate mobile broadband connections after a previous failure.
1644
1645         * src/dhcp-manager/nm-dhcp-dhclient.c
1646           src/dhcp-manager/nm-dhcp-dhcpcd.c
1647                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1648
1649         * src/dhcp-manager/nm-dhcp-manager.c
1650                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1651                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1652                         block on child quitting, since the non-blocking functionality was
1653                         never actually used
1654
1655         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1656                 - (dm_watch_cb): child is already reaped here
1657                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1658
1659         * src/nm-device.c
1660                 - (aipd_cleanup): block until child is dead
1661
1662         * src/named-manager/nm-named-manager.c
1663                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1664                         event bothering to watch the child
1665
1666         * src/ppp-manager/nm-ppp-manager.c
1667                 - (ppp_watch_cb): child is already reaped here
1668                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1669
1670         * src/vpn-manager/nm-vpn-service.c
1671                 - (vpn_service_watch_cb): child is already reaped here
1672                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1673                         status of the child is actually tracked
1674                 - (ensure_killed, finalize): block until child is dead
1675
1676 2008-08-26  Dan Williams  <dcbw@redhat.com>
1677
1678         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1679                 - (update): Update filename of the connection if the connection id
1680                         was changed
1681
1682         * system-settings/plugins/keyfile/plugin.c
1683                 - (dir_changed): first pass at handling connection renames correctly
1684
1685         * system-settings/plugins/keyfile/writer.c
1686           system-settings/plugins/keyfile/writer.h
1687                 - (write_connection): replace '/' with '*' when writing out the filename
1688                         from the connection id
1689
1690 2008-08-26  Dan Williams  <dcbw@redhat.com>
1691
1692         Add connection UUIDs, since connection names can be changed, and since
1693         old-style connection IDs could change over the life of the connection.  The
1694         UUID should be assigned at connection creation time, be stable for a given
1695         connection, and should be unique among all connections for a given settings
1696         service.
1697
1698         * configure.in
1699           libnm-util/Makefile.am
1700                 - Require libuuid
1701
1702         * introspection/nm-exported-connection.xml
1703                 - Remove "GetID" method
1704
1705         * libnm-glib/nm-dbus-connection.c
1706           libnm-glib/nm-settings.c
1707           libnm-glib/nm-settings.h
1708                 - Remove id-related stuff
1709
1710         * libnm-util/nm-utils.c
1711           libnm-util/nm-utils.h
1712           libnm-util/libnm-util.ver
1713                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1714                         utility functions to generate UUIDs
1715
1716         * libnm-util/nm-setting-connection.c
1717           libnm-util/nm-setting-connection.h
1718                 - Add 'uuid' member to the connection setting
1719                 - (verify): require valid 'uuid' for a valid connection
1720
1721         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1722           system-settings/plugins/ifcfg-fedora/reader.c
1723           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1724           system-settings/plugins/ifcfg-suse/parser.c
1725           system-settings/plugins/keyfile/nm-keyfile-connection.c
1726           system-settings/src/main.c
1727                 - Remove id-related stuff
1728                 - Give connections UUIDs where needed
1729
1730 2008-08-25  Dan Williams  <dcbw@redhat.com>
1731
1732         * libnm-util/crypto_gnutls.c
1733           libnm-util/crypto_nss.c
1734                 - (crypto_init, crypto_deinit): refcount init/deinit
1735                 - (crypto_md5_hash): allow NULL salt
1736
1737 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1738
1739         * libnm-glib/Makefile.am
1740           libnm-util/Makefile.am
1741           libnm-glib/libnm_glib.ver
1742           libnm-glib/libnm_glib_vpn.ver
1743           libnm-util/libnm-util.ver
1744                 - Use linker version scripts to control the list of exported 
1745                 symbols. List each exported symbol explicitely.
1746         * libnm-util/Makefile.am
1747                 - Fix compilation of the test-crypto binary. The crypto
1748                 functions are no longer part of the libnm-util API. Add 
1749                 crypto_*.c to test_crypto_SOURCES and link against the correct
1750                 crypto libraries.
1751
1752 2008-08-19  Dan Williams  <dcbw@redhat.com>
1753
1754         * configure.in
1755           test/Makefile.am
1756                 - Don't build test/test-common
1757                 - Remove unused stuff
1758
1759         * test/nm-set-fallback
1760           test/nmtestdevices.c
1761           test/test-common/.cvsignore
1762           test/test-common/Makefile.am
1763           test/test-common/test-common.c
1764           test/test-common/test-common.h
1765                 - delete
1766
1767 2008-08-18  Dan Williams  <dcbw@redhat.com>
1768
1769         * libnm-util/nm-utils.c
1770           libnm-util/nm-utils.h
1771                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1772                         export anything that needs to be converted with this function
1773
1774         * src/dhcp-manager/nm-dhcp-manager.c
1775                 - (garray_to_string): convert a byte array to a UTF-8 string with
1776                         minimal validation; the DHCP client sends it in ASCII anyway
1777                 - (get_option, copy_option): use garray_to_string()
1778
1779 2008-08-18  Dan Williams  <dcbw@redhat.com>
1780
1781         * include/NetworkManager.h
1782           introspection/nm-device.xml
1783                 - Add a "missing firmware" device state reason
1784
1785         * src/NetworkManagerSystem.c
1786           src/NetworkManagerSystem.h
1787                 - (nm_system_device_set_up_down): add a no_firmware argument
1788                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1789                         IFF_UP is ENOENT, that almost always means missing firmware
1790
1791         * src/backends/NetworkManagerGeneric.c
1792           src/nm-device-ethernet.c
1793           src/nm-device-private.h
1794           src/nm-device-wifi.c
1795           src/nm-device.c
1796           src/nm-device.h
1797           src/nm-hso-gsm-device.c
1798           src/vpn-manager/nm-vpn-connection.c
1799                 - Pass no_firmware along; check it where appropriate
1800
1801 2008-08-18  Dan Williams  <dcbw@redhat.com>
1802
1803         Patch from Robert Buchholz <rbu@gentoo.org>
1804
1805         * autogen.sh
1806           configure.in
1807                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1808                         1003.1-1988, allowing for file names longer than 99 characters
1809
1810 2008-08-17  Dan Williams  <dcbw@redhat.com>
1811
1812         * include/NetworkManager.h
1813           introspection/nm-device.xml
1814           src/nm-gsm-device.c
1815                 - Finer-grained GSM registration failure error codes
1816
1817 2008-08-17  Dan Williams  <dcbw@redhat.com>
1818
1819         * callouts/Makefile.am
1820           src/Makefile.am
1821                 - Move dispatcher directory creation to callouts/Makefile.am
1822
1823         * system-settings/plugins/keyfile/Makefile.am
1824                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1825
1826 2008-08-15  Dan Williams  <dcbw@redhat.com>
1827
1828         Do connection sharing in a cleaner manner; all required iptables rules
1829         are now stored in the activation request and pertain only to the device
1830         which is being shared to other computers. (rh #458625)
1831
1832         * src/nm-activation-request.c
1833           src/nm-activation-request.h
1834                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1835                         the activation request which will get torn down automatically when
1836                         the activation request dies
1837                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1838                         is started, and tear them down when sharing is stopped
1839
1840         * src/nm-device.c
1841                 - (start_sharing): start up sharing by doing the required iptables magic
1842                 - (share_init): poke the right bits of the kernel and load the right
1843                         modules for NAT
1844                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1845                         connection if it's a 'shared' connection
1846
1847         * src/NetworkManagerPolicy.c
1848                 - Remove all sharing stuff; done in the device code itself
1849
1850 2008-08-15  Dan Williams  <dcbw@redhat.com>
1851
1852         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1853                 - (create_dm_cmd_line): send the right router address
1854
1855 2008-08-15  Dan Williams  <dcbw@redhat.com>
1856
1857         * src/ppp-manager/nm-ppp-manager.c
1858                 - (pppd_timed_out): ensure timeouts fail the connection
1859
1860 2008-08-14  Dan Williams  <dcbw@redhat.com>
1861
1862         * src/nm-properties-changed-signal.c
1863           src/nm-properties-changed-signal.h
1864                 - Add a property spec flag for "don't export this property" in
1865                         property changed signals
1866
1867         * src/nm-hso-gsm-device.c
1868           src/nm-gsm-device.c
1869           src/nm-cdma-device.c
1870                 - Don't export monitor interface or netdev interface properties
1871
1872 2008-08-14  Dan Williams  <dcbw@redhat.com>
1873
1874         * src/NetworkManagerPolicy.c
1875                 - (update_routing_and_dns): 'hso' devices can be default even if they
1876                         don't have a gateway
1877
1878 2008-08-14  Dan Williams  <dcbw@redhat.com>
1879
1880         * src/nm-device.c
1881                 - (nm_device_deactivate_quickly): tear down activation request after
1882                         calling device-specific deactivation
1883
1884         * src/nm-hso-gsm-device.c
1885                 - (real_deactivate_quickly): terminate connection when deactivating
1886
1887 2008-08-14  Dan Williams  <dcbw@redhat.com>
1888
1889         * src/nm-activation-request.h
1890                 - Add HSO secrets caller
1891
1892         * src/nm-gsm-device.c
1893           src/nm-gsm-device.h
1894                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1895                         something to the callback function
1896                 - (set_apn, set_apn_done): call class dial function, not a static one
1897                 - (nm_gsm_device_class_init): add a class 'dial' function
1898
1899         * src/nm-hal-manager.c
1900                 - (get_hso_netdev): find the hso-driven hardware's net device
1901                 - (modem_device_creator): recognize hso-driven hardware and create the
1902                         right type of device object for it
1903
1904         * src/Makefile.am
1905           src/nm-hso-gsm-device.c
1906           src/nm-hso-gsm-device.h
1907                 - Implement support for devices driven by the 'hso' driver as a subclass
1908                         of NMGsmDevice
1909
1910 2008-08-14  Dan Williams  <dcbw@redhat.com>
1911
1912         * src/NetworkManagerSystem.c
1913                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1914                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1915                         success if the operation really was successful
1916
1917 2008-08-14  Dan Williams  <dcbw@redhat.com>
1918
1919         * src/nm-netlink-monitor.c
1920           src/nm-netlink-monitor.h
1921           src/nm-device-ethernet.c
1922                 - (nm_netlink_monitor_request_status): return an error on failure
1923                 - (constructor): don't segfault on missing error
1924
1925 2008-08-13  Dan Williams  <dcbw@redhat.com>
1926
1927         * callouts/nm-dispatcher-action.c
1928                 - Add IP4 config info to script environment
1929
1930 2008-08-12  Dan Williams  <dcbw@redhat.com>
1931
1932         * src/nm-device.c
1933                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1934                         that want to use DHCP hostnames should use dispatcher scripts
1935                         for that
1936
1937         * src/NetworkManagerSystem.h
1938           src/backends/NetworkManagerArch.c
1939           src/backends/NetworkManagerDebian.c
1940           src/backends/NetworkManagerFrugalware.c
1941           src/backends/NetworkManagerGeneric.c
1942           src/backends/NetworkManagerGeneric.h
1943           src/backends/NetworkManagerGentoo.c
1944           src/backends/NetworkManagerMandriva.c
1945           src/backends/NetworkManagerPaldo.c
1946           src/backends/NetworkManagerRedHat.c
1947           src/backends/NetworkManagerSlackware.c
1948           src/backends/NetworkManagerSuSE.c
1949                 - Remove nm_system_set_hostname(), no longer used
1950           
1951         * src/backends/Makefile.am
1952           src/backends/shvar.c
1953           src/backends/shvar.h
1954                 - Remove shvar.*; no longer used
1955
1956 2008-08-12  Dan Williams  <dcbw@redhat.com>
1957
1958         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1959         hostname is updated at runtime.  Distros or users who want hostname updates
1960         can use dispatcher scripts to update the hostname if they need it.
1961
1962 2008-08-12  Dan Williams  <dcbw@redhat.com>
1963
1964         * introspection/nm-settings-system.xml
1965           system-settings/src/dbus-settings.c
1966           system-settings/src/dbus-settings.h
1967                 - Add a 'Hostname' property (rw) which represents the configured
1968                         hostname and domain of the system, if any
1969
1970         * system-settings/src/nm-system-config-error.c
1971           system-settings/src/nm-system-config-error.h
1972           system-settings/src/nm-system-config-interface.c
1973           system-settings/src/nm-system-config-interface.h
1974                 - Add a 'hostname' property to the plugin interface
1975                 - Add a method to send updated hostname to plugins to save in their
1976                         backing configuration store
1977
1978         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1979           system-settings/plugins/keyfile/plugin.c
1980           system-settings/plugins/keyfile/writer.c
1981           system-settings/plugins/keyfile/writer.h
1982           system-settings/plugins/ifcfg-suse/plugin.c
1983                 - Add minimal hostname support
1984
1985         * system-settings/plugins/ifcfg-fedora/plugin.c
1986                 - Add support for updating system hostname in /etc/sysconfig/network
1987
1988 2008-08-12  Dan Williams  <dcbw@redhat.com>
1989
1990         * system-settings/plugins/ifcfg-fedora/shvar.c
1991           system-settings/plugins/ifcfg-fedora/shvar.c
1992                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1993
1994 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1995
1996         * Makefile.am: Fix distcheck.
1997
1998 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1999
2000         * libnm-glib/*.c. Document some more.
2001
2002 2008-08-12  Tambet Ingo  <tambet@gmail.com>
2003
2004         Start documenting libnm-glib public API using gtk-doc.
2005
2006         * libnm-glib/nm-serial-device.c: 
2007         * libnm-glib/nm-object.c: 
2008         * libnm-glib/nm-gsm-device.c: 
2009         * libnm-glib/nm-device.c: 
2010         * libnm-glib/nm-device-wifi.c: 
2011         * libnm-glib/nm-device-ethernet.c: 
2012         * libnm-glib/nm-client.c: 
2013         * libnm-glib/nm-cdma-device.c: Document the public API.
2014
2015         * docs/libnm-glib/libnm-glib.types: Implement.
2016
2017         * docs/libnm-glib/Makefile.am: Implement.
2018
2019         * autogen.sh: 
2020         * configure.in: 
2021         * Makefile.am: Add gtk-doc support.
2022
2023 2008-08-12  Tambet Ingo  <tambet@gmail.com>
2024
2025         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
2026
2027         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
2028         the composite result of all the IP4 configurations and call a distro
2029         specific update_resolv_conf().
2030         (update_resolv_conf): Implement one for directly writing to 
2031         /etc/resolv.conf and one for opensuse to call netconfig.
2032
2033 2008-08-11  Dan Williams  <dcbw@redhat.com>
2034
2035         * src/ppp-manager/nm-ppp-manager.c
2036                 - (impl_ppp_manager_need_secrets): pass interface as required
2037
2038 2008-08-11  Dan Williams  <dcbw@redhat.com>
2039
2040         Merge the vpn-properties setting with the vpn setting since it was pointless
2041         to keep both of them around.  Convert the vpn 'data' hash table to a hash
2042         of string:string (instead of string:variant) so that system settings plugins
2043         can have an easier time dealing with the arbitrary key/value pairs.
2044
2045 2008-08-11  Dan Williams  <dcbw@redhat.com>
2046
2047         * libnm-util/nm-utils.c
2048                 - (nm_utils_register_value_transformations): add value transform for
2049                         a hash table of string:string
2050
2051 2008-08-10  Dan Williams  <dcbw@redhat.com>
2052
2053         * libnm-glib/nm-vpn-plugin.c
2054                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2055                         an idle handler so the Connect reply gets delivered before the
2056                         stop StateChanged signal
2057
2058 2008-08-10  Dan Williams  <dcbw@redhat.com>
2059
2060         * src/nm-ip4-config.c
2061                 - (get_property): use common ip4 address/route conversion functions
2062                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2063                         copy the new route here, not take ownership
2064
2065 2008-08-08  Tambet Ingo  <tambet@gmail.com>
2066
2067         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2068         Update the IP4 setting's method name.
2069
2070 2008-08-07  Dan Williams  <dcbw@redhat.com>
2071
2072         * introspection/nm-ip4-config.xml
2073           libnm-glib/libnm-glib-test.c
2074           libnm-glib/nm-ip4-config.c
2075           libnm-glib/nm-ip4-config.h
2076           src/NetworkManagerSystem.h
2077           src/backends/NetworkManagerArch.c
2078           src/backends/NetworkManagerDebian.c
2079           src/backends/NetworkManagerFrugalware.c
2080           src/backends/NetworkManagerGeneric.c
2081           src/backends/NetworkManagerGeneric.h
2082           src/backends/NetworkManagerGentoo.c
2083           src/backends/NetworkManagerMandriva.c
2084           src/backends/NetworkManagerPaldo.c
2085           src/backends/NetworkManagerRedHat.c
2086           src/backends/NetworkManagerSlackware.c
2087           src/backends/NetworkManagerSuSE.c
2088           src/dhcp-manager/nm-dhcp-manager.c
2089           src/nm-device.c
2090           src/nm-ip4-config.c
2091           src/nm-ip4-config.h
2092                 - Remove NIS logic; should be done from dispatcher scripts instead
2093
2094 2008-08-07  Dan Williams  <dcbw@redhat.com>
2095
2096         * src/dhcp-manager/nm-dhcp-manager.c
2097                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2098                         mis-handling of DHCP responses that returned more than one router
2099                         (found by Grant Williamson)
2100
2101 2008-08-07  Dan Williams  <dcbw@redhat.com>
2102
2103         * callouts/nm-dispatcher-action.c
2104                 - (nm_dispatcher_action): grab device path and create the device; pass
2105                         the device's DHCP4 config to script caller
2106                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2107                         scripts
2108
2109         * libnm-glib/nm-dhcp4-config.c
2110           libnm-glib/nm-dhcp4-config.h
2111                 - (nm_dhcp4_config_get_options): expose
2112                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2113
2114 2008-08-07  Dan Williams  <dcbw@redhat.com>
2115
2116         * include/NetworkManager.h
2117                 - Add the DHCP4Config D-Bus interface
2118
2119         * libnm-glib/Makefile.am
2120           libnm-glib/nm-dhcp4-config.c
2121           libnm-glib/nm-dhcp4-config.h
2122                 - Handle DHCP4 config objects exported by NM over D-Bus
2123
2124         * libnm-glib/nm-device.c
2125           libnm-glib/nm-device.h
2126                 - Add a 'dhcp4-config' property
2127
2128         * libnm-glib/libnm-glib-test.c
2129                 - Print out DHCP4 config for devices
2130                 - Fix some crashes when no connections are active
2131
2132         * src/nm-device-interface.c
2133           src/nm-device.c
2134           src/nm-dhcp4-config.c
2135           src/nm-dhcp4-config.h
2136                 - Treat dhcp4-config object as an object path at the D-Bus interface so
2137                         that when it doesn't exist we can proxy it as "/" which dbus-glib
2138                         doesn't let us do when the property type is G_TYPE_OBJECT
2139
2140 2008-08-07  Dan Williams  <dcbw@redhat.com>
2141
2142         * src/NetworkManager.c
2143           src/NetworkManagerSystem.h
2144           src/backends/NetworkManagerArch.c
2145           src/backends/NetworkManagerDebian.c
2146           src/backends/NetworkManagerFrugalware.c
2147           src/backends/NetworkManagerGeneric.c
2148           src/backends/NetworkManagerGeneric.h
2149           src/backends/NetworkManagerGentoo.c
2150           src/backends/NetworkManagerMandriva.c
2151           src/backends/NetworkManagerPaldo.c
2152           src/backends/NetworkManagerRedHat.c
2153           src/backends/NetworkManagerSlackware.c
2154           src/backends/NetworkManagerSuSE.c
2155                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2156
2157 2008-08-06  Dan Williams  <dcbw@redhat.com>
2158
2159         * libnm-glib/nm-ip4-config.c
2160           libnm-glib/nm-ip4-config.h
2161                 - Add 'routes' property
2162
2163         * libnm-util/nm-setting-vpn.c
2164           libnm-util/nm-setting-vpn.h
2165                 - Remove 'routes' property
2166
2167         * libnm-util/nm-setting-ip4-config.c
2168           libnm-util/nm-setting-ip4-config.h
2169                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2170                 - Add 'ignore-auto-routes' property
2171                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
2172                         accomodate route metrics
2173                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2174
2175         * libnm-util/nm-utils.c
2176           libnm-util/nm-utils.h
2177                 - Add helpers for marshalling IP4 routes
2178
2179         * src/NetworkManagerUtils.c
2180                 - (nm_utils_merge_ip4_config): handle property renames and new route
2181                         structure
2182
2183         * src/NetworkManagerSystem.c
2184                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2185                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
2186
2187         * src/dhcp-manager/nm-dhcp-manager.c
2188                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2189
2190         * system-settings/plugins/ifcfg-fedora/reader.c
2191           system-settings/plugins/ifcfg-fedora/writer.c
2192                 - Handle routes separately from addresses now that routes have a different
2193                         format
2194
2195         * introspection/nm-ip4-config.xml
2196           src/nm-ip4-config.c
2197           src/nm-ip4-config.h
2198                 - Rename internal routing functions
2199                 - 'static-routes' renamed to 'routes'
2200
2201 2008-08-04  Dan Williams  <dcbw@redhat.com>
2202
2203         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2204
2205         * src/NetworkManager.c
2206           src/nm-manager.c
2207           src/nm-manager.h
2208                 - More explicitly make the NMManager a singleton
2209
2210 2008-08-04  Dan Williams  <dcbw@redhat.com>
2211
2212         * libnm-util/nm-connection.c
2213           libnm-util/nm-connection.h
2214                 - (nm_connection_verify): return error on missing 'connection' setting
2215                         (found by Sjoerd Simons)
2216
2217 2008-08-04  Dan Williams  <dcbw@redhat.com>
2218
2219         Handle multiple concurrent PPP connections.
2220
2221         * src/ppp-manager/nm-ppp-manager.c
2222           src/ppp-manager/nm-ppp-manager.h
2223                 - (constructor): only PPP Manager request bus name once; each
2224                         NMPPPManager object gets a unique object path
2225                 - (nm_ppp_manager_class_init, get_property, set_property,
2226                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2227                         at construct time
2228                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2229                         remove timeout until PPP manager gets an IP4 config
2230                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2231                         the plugin can call back to this specific PPP manager instance
2232
2233         * src/nm-device-ethernet.c
2234           src/nm-serial-device.c
2235                 - Pass parent device in nm_ppp_manager_new()
2236
2237         * src/nm-gsm-device.c
2238           src/nm-cdma-device.c
2239                 - (device_state_changed): don't close serial device on NEED_AUTH
2240                         state changed, that's not a failure case like the rest are
2241
2242         * src/ppp-manager/nm-pppd-plugin.c
2243                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2244                         binds one interface to any pppd process, thus the correct index
2245                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2246                         problems; try harder to get a peer address in spite of pppd
2247                 - (plugin_init): use 'ipparam' as the object path back to our specific
2248                         PPP manager instance
2249
2250 2008-08-04  Dan Williams  <dcbw@redhat.com>
2251
2252         * src/ppp-manager/nm-ppp-manager.c
2253                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2254                         since the GSM and CDMA settings now implement need_secrets, we can
2255                         rely on them to do the right thing.  Where secrets are not required,
2256                         just pass empty strings back to the pppd plugin.
2257                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2258                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2259                         on successful IP4 config receipt
2260
2261 2008-08-04  Dan Williams  <dcbw@redhat.com>
2262
2263         * libnm-util/nm-setting-cdma.c
2264           libnm-util/nm-setting-gsm.c
2265                 - (verify): validate username & password if they exist
2266                 - (need_secrets): if username given, require a password too
2267
2268 2008-08-04  Dan Williams  <dcbw@redhat.com>
2269
2270         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2271                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2272                         manpage says about --listen-address without --interface
2273                         (bgo #546033)
2274
2275 2008-08-01  Dan Williams  <dcbw@redhat.com>
2276
2277         * libnm-glib/nm-device.c
2278                 - (proxy_get_string): util function for querying a HAL property
2279                 - (get_ancestor_device): split out from get_product_and_vendor()
2280                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2281                         from PCI devices by querying subsys properties
2282                 - (nm_device_update_description): simplify
2283
2284 2008-08-01  Dan Williams  <dcbw@redhat.com>
2285
2286         * libnm-util/nm-setting-ip4-config.c
2287           libnm-util/nm-setting-ip4-config.h
2288                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2289                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2290                         settings, and they don't necessarily use DHCP.
2291
2292         * src/NetworkManagerPolicy.c
2293           src/nm-device.c
2294           system-settings/plugins/ifcfg-fedora/reader.c
2295           system-settings/plugins/ifcfg-suse/parser.c
2296                 - Fixup for method changes
2297
2298 2008-07-31  Dan Williams  <dcbw@redhat.com>
2299
2300         * src/nm-activation-request.c
2301           src/vpn-manager/nm-vpn-connection.c
2302                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2303                         itself should be attached to the activation request or the VPN
2304                         connection, not the NMConnection object, since the call is not
2305                         expected to live as long as the NMConnection itself
2306
2307 2008-07-31  Dan Williams  <dcbw@redhat.com>
2308
2309         * src/nm-device-wifi.c
2310                 - (real_act_stage2_config): fix issue where association would continue
2311                         even though secrets were needed; 'goto out' was in wrong scope and
2312                         result of handle_auth_or_fail() should have been dumped directly to
2313                         'ret' to ensure that the association was postponed until secrets
2314                         are available
2315
2316 2008-07-31  Dan Williams  <dcbw@redhat.com>
2317
2318         * system-settings/plugins/ifcfg-fedora/plugin.c
2319           system-settings/plugins/ifcfg-fedora/reader.c
2320                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2321                         valid NM connection
2322
2323 2008-07-29  Dan Williams  <dcbw@redhat.com>
2324
2325         * src/nm-gsm-device.c
2326                 - (automatic_registration_response, automatic_registration): recognize
2327                         denied registration and reorder responses
2328
2329 2008-07-29  Dan Williams  <dcbw@redhat.com>
2330
2331         * src/nm-serial-device.c
2332                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2333                         time(2) is used for current time, which returns seconds, we shouldn't
2334                         be multiplying by 1000.
2335
2336 2008-07-28  Dan Williams  <dcbw@redhat.com>
2337
2338         Patch from Fabrice Bellet <fabrice@bellet.info>
2339
2340         * src/NetworkManagerSystem.c
2341                 - (route_in_same_subnet): mask addresses and compare them so that the
2342                         function actually does what it says it's going to do (rh #456685)
2343
2344 2008-07-27  Dan Williams  <dcbw@redhat.com>
2345
2346         * libnm-util/nm-setting-ip6-config.c
2347                 - (set_property): add missing break that caused routes to be overwritten
2348                         with addresses
2349
2350         * libnm-util/nm-setting-ip6-config.c
2351                 - (verify): validate routes and return GError everywhere on invalid setting
2352                 - (finalize): don't leak routes
2353                 - (set_property): add missing break that caused routes to be overwritten
2354                         with addresses
2355
2356 2008-07-27  Dan Williams  <dcbw@redhat.com>
2357
2358         * libnm-util/*
2359                 - Relicense to LGPLv2+
2360
2361 2008-07-27  Dan Williams  <dcbw@redhat.com>
2362
2363         * system-settings/plugins/ifcfg-fedora/reader.c
2364                 - (make_ip4_setting): fix parsing automatic configs
2365
2366 2008-07-27  Dan Williams  <dcbw@redhat.com>
2367
2368         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2369           src/nm-device.c
2370           src/ppp-manager/nm-ppp-manager.c
2371                 - Ensure child process gets reaped.  The child watch function may be
2372                         removed from the mainloop before the child gets killed, so we have
2373                         to make sure the child is reaped when it's told to die intentionally
2374
2375 2008-07-27  Dan Williams  <dcbw@redhat.com>
2376
2377         Patch from Roy Marples <roy@marples.name>
2378
2379         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2380                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2381
2382 2008-07-27  Dan Williams  <dcbw@redhat.com>
2383
2384         * src/nm-gsm-device.c
2385                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2386                         Huawei devices turn echo back on after CPIN (rh #456770)
2387
2388 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2389
2390         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2391         format argument to g_set_error() call.
2392
2393         * src/backends/interface_parser.[ch]: Remove.
2394
2395         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2396
2397 2008-07-21  Dan Williams  <dcbw@redhat.com>
2398
2399         * src/ppp-manager/nm-ppp-manager.c
2400                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2401                         to prevent pppd from picking up some random local address from an
2402                         interface that doesn't have anything to do with the one we're
2403                         interested in (rh #455348)
2404
2405 2008-07-17  Dan Williams  <dcbw@redhat.com>
2406
2407         * libnm-util/nm-utils.c
2408                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2409                         by locale
2410                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2411                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2412
2413 2008-07-17  Dan Williams  <dcbw@redhat.com>
2414
2415         * introspection/Makefile.am
2416           introspection/nm-device.xml
2417           introspection/nm-dhcp4-config.xml
2418                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2419                         itself
2420         * src/nm-device-interface.c
2421           src/nm-device-interface.h
2422                 - Add the DHCP4Config property
2423
2424         * src/nm-device.c
2425                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2426                         D-Bus clients when it changes
2427
2428         * src/nm-dhcp4-config.c
2429           src/nm-dhcp4-config.h
2430                 - Simple object to store DHCP4 options, export them over D-Bus, and
2431                         notify when they change
2432
2433         * src/dhcp-manager/nm-dhcp-manager.c
2434           src/dhcp-manager/nm-dhcp-manager.h
2435                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2436                         filter server-returned DHCP options into an NMDHCP4Config object
2437
2438 2008-07-16  Dan Williams  <dcbw@redhat.com>
2439
2440         * introspection/nm-device.xml
2441                 - Add device state reasons
2442
2443 2008-07-16  Dan Williams  <dcbw@redhat.com>
2444
2445         Patch from Roy Marples <roy@marples.name>
2446
2447         * configure.in
2448                 - Add --with-dhcp-client option
2449
2450         * src/dhcp-manager/Makefile.am
2451                 - pass DHCP_CLIENT_PATH on compile line
2452
2453         * src/dhcp-manager/nm-dhcp-manager.c
2454           src/dhcp-manager/nm-dhcp-manager.h
2455                 - Genericize for both dhcpcd and dhclient
2456
2457         * src/dhcp-manager/nm-dhcp-dhclient.c
2458                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2459
2460         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2461                 - Implement support for dhcpcd too
2462
2463 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2464
2465         * system-settings/src/nm-system-config-interface.c 
2466         (nm_system_config_interface_supports_add): Implement.
2467         (nm_system_config_interface_add_connection): Return a boolean to notify
2468         of errors.
2469
2470         * system-settings/src/nm-polkit-helpers.c: 
2471         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2472         a separate file.
2473
2474         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2475         Return an error when none of the plugins support add or if addition
2476         failed for some reason.
2477
2478         * system-settings/src/nm-system-config-error.h: 
2479         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2480         here from nm-polkit-helpers.[ch].
2481
2482         * system-settings/src/Makefile.am: Build new files.
2483
2484         * system-settings/plugins/keyfile/reader.c 
2485         (read_array_of_array_of_uint): Make it more general so that it would
2486         work for routes as well.
2487
2488         * system-settings/plugins/keyfile/writer.c
2489         (write_array_of_array_of_uint): Ditto.
2490         Fix the netmask/prefix writing.
2491
2492         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2493         boolean to notify errors.
2494
2495         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2496         Return more specific error.
2497         (delete): Ditto.
2498
2499 2008-07-11  Dan Williams  <dcbw@redhat.com>
2500
2501         Modify the NMDevice::state-changed signal to include the previous state
2502         and reason. Enables the applet to provide more information why device
2503         activation failed.
2504
2505 2008-07-09  Dan Williams  <dcbw@redhat.com>
2506
2507         * callouts/Makefile.am
2508           callouts/nm-avahi-autoipd-action.c
2509           callouts/nm-avahi-autoipd.conf
2510                 - avahi-autoipd callout to send options back to NM
2511
2512         * src/autoip.c
2513           src/autoip.h
2514                 - remove
2515
2516         * src/nm-device.c
2517           src/nm-device-private.h
2518           src/nm-manager.c
2519                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2520                         old custom stuff
2521
2522 2008-07-07  Dan Williams  <dcbw@redhat.com>
2523
2524         * system-settings/plugins/ifcfg-fedora/reader.c
2525                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2526                         handle PREFIX too; clean up
2527
2528 2008-07-07  Dan Williams  <dcbw@redhat.com>
2529
2530         Convert to using IPv4 prefixes instead of netmasks.
2531
2532 2008-07-03  Dan Williams  <dcbw@redhat.com>
2533
2534         * libnm-util/nm-setting-ip4-config.c
2535           libnm-util/nm-setting-ip4-config.h
2536                 - Add properties for DHCP Client Identifier and DHCP Hostname
2537
2538         * src/dhcp-manager/nm-dhcp-manager.c
2539           src/dhcp-manager/nm-dhcp-manager.h
2540                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2541                         setting as an argument to pass on to the dhclient config file
2542                         creation function
2543                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2544                         DHCP is torn down
2545                 - (dhclient_run): punt config file handling to create_dhclient_config()
2546                 - (create_dhclient_config): create an interface-specific dhclient
2547                         config file since there may need to be interface-specific options
2548                         passed to dhclient
2549                 - (merge_dhclient_config): merge normal distro dhclient config file and
2550                         add options from the connection
2551                 - (nm_dhcp_device_new): generate the interface specific dhclient
2552                         config file path once
2553                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2554                         dhclient config file path
2555
2556         * src/nm-device.c
2557                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2558                         DHCP manager when starting DHCP
2559
2560 2008-07-02  Dan Williams  <dcbw@redhat.com>
2561
2562         * libnm-util/nm-setting-8021x.c
2563                 - (verify): allow forcing the PEAP label to 0
2564
2565 2008-07-02  Dan Williams  <dcbw@redhat.com>
2566
2567         * introspection/nm-active-connection.xml
2568           introspection/nm-vpn-connection.xml
2569           libnm-glib/nm-active-connection.c
2570           src/nm-activation-request.c
2571           src/nm-active-connection.h
2572           src/vpn-manager/nm-vpn-connection.c
2573                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2574                         and libnm-glib API since sharing didn't get implemented that way
2575
2576 2008-07-02  Dan Williams  <dcbw@redhat.com>
2577
2578         * src/nm-device-wifi.c
2579                 - (can_scan): don't scan when a shared connection is activated since
2580                         that makes drivers mad (causing disconnects); also NM doesn't need
2581                         to hedge against disconnects by keeping up-to-date network topology
2582                         because the connection originates from the local machine, and thus
2583                         there should be no disconnects
2584
2585 2008-07-01  Dan Williams  <dcbw@redhat.com>
2586
2587         Fix mobile broadband username/password issues.  NM was never requesting
2588         mobile broadband secrets, nor was it passing back the username and password
2589         if it had them.
2590
2591         * marshallers/nm-marshal.list
2592                 - Add some new types for activation request objects
2593
2594         * src/nm-activation-request.c
2595           src/nm-activation-request.h
2596                 - (get_secrets_cb): pass the caller type in the signal
2597                 - (nm_act_request_request_connection_secrets): take a caller type, so
2598                         that GetSecrets() reply handlers know who asked for the secrets in
2599                         the first place; use secret hints too so the settings service can
2600                         figure out exactly what NM wants (ie, PIN or the PPP password)
2601
2602         * src/ppp-manager/nm-ppp-manager.c
2603           src/ppp-manager/nm-ppp-manager.h
2604                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2605                         detect needed secrets when the secret could be blank, like GSM/CDMA
2606                         passwords.  So always ask for secrets, and send a hint as to what
2607                         secret we really want.
2608                 - (nm_ppp_manager_update_secrets): make function more generic by making
2609                         the device specific class figure out the username and password, and
2610                         accept an error argument to return back over D-Bus
2611
2612         * src/nm-device-wifi.c
2613                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2614                         nm_act_request_request_connection_secrets()
2615                 - (real_connection_secrets_updated): update for 'caller' changes
2616
2617         * src/nm-device.c
2618           src/nm-device.h
2619                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2620                         for 'caller' changes
2621
2622         * src/nm-device-ethernet.c
2623                 - (real_connection_secrets_updated): update for 'caller' changes and
2624                         move logic for getting PPPoE username and password here before
2625                         calling nm_ppp_manager_update_secrets()
2626                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2627                         nm_act_request_request_connection_secrets()
2628
2629         * src/nm-cdma-device.c
2630                 - (real_connection_secrets_updated): pass username and password back
2631                         to the PPP manager when required
2632
2633         * src/nm-gsm-device.c
2634                 - (enter_pin): send the required secret name to the settings service
2635                 - (real_connection_secrets_updated): pass username and password back
2636                         to the PPP manager when required
2637
2638 2008-06-30  Dan Williams  <dcbw@redhat.com>
2639
2640         * src/nm-device-wifi.c
2641                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2642
2643 2008-06-30  Dan Williams  <dcbw@redhat.com>
2644
2645         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2646         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2647         priv->supplicant.iface.  When either condition is false, the device should
2648         transition back to UNAVAILABLE because it cannot be used.
2649
2650         * src/nm-device-wifi.c
2651                 - (constructor): cleanup; connect to supplicant manager here since the
2652                         supplicant manager is always around
2653                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2654                         ensure the supplicant manager is in the IDLE state
2655                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2656                         cancel any pending scans too
2657                 - (real_bring_up): don't set up the supplicnat interface here, because
2658                         we need the supplicant interface at times when the device may not
2659                         be "up"
2660                 - (real_take_down): just remove the periodic source
2661                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2662                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2663                         do anything if there's no supplicant interface
2664                 - (cleanup_association_attempt): cleanup
2665                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2666                         the interface enters the READY state; transition to UNAVAILABLE
2667                         state when the interface goes down because the device can't be used
2668                         without a supplicant interface
2669                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2670                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2671                         acquire the supplicant interface and transition to DISCONNECTED
2672                         if the radio isn't killed
2673                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2674                 - (state_changed_cb): release any existing supplicant interface; if the
2675                         radio is enabled then try to acquire a new supplicant interface;
2676                         if the radio is enabled and a supplicant interface has been acquired,
2677                         we can transition to DISCONNECTED
2678                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2679                         don't enable the radio, because HAL probably lied to us about the
2680                         killswitch being off.  If bringing the hardware up worked, then
2681                         try to grab a supplicant interface, and if that was successful,
2682                         transition to DISCONNECTED
2683
2684 2008-06-30  Dan Williams  <dcbw@redhat.com>
2685
2686         * src/supplicant-manager/nm-supplicant-interface.c
2687                 - (request_scan_results, nm_supplicant_interface_dispose,
2688                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2689                         the id of the timeout, not a GSource
2690
2691 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2692
2693         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2694         bunch of typoes introduced by "Patch from David Cantrell 
2695         <dcantrell@redhat.com> and me".
2696
2697 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2698
2699         * src/nm-serial-device.c: 
2700         * src/nm-gsm-device.c: 
2701         * src/nm-cdma-device.c: Move the pending call handling to a common location
2702         in serial device. Handle setting device state to failed in one place as well.
2703
2704 2008-06-29  Dan Williams <dcbw@redhat.com>
2705
2706         * src/nm-hal-manager.c
2707                 - Rework killswitch handling to query killswitch status immediately
2708                         when the first killswitch is added, so that rfkill state is
2709                         known as early as possible
2710                 - Also treat failure of GetPower() as rfkill when the dbus method
2711                         call times out (but not when the HAL callout returns an error)
2712
2713 2008-06-26  Dan Williams <dcbw@redhat.com>
2714
2715         Patch from David Cantrell <dcantrell@redhat.com> and me
2716
2717         * include/nm-dbus-glib-types.h
2718                 - Add IP6 address types
2719
2720         * libnm-util/Makefile.am
2721           libnm-util/nm-setting-ip6-config.c
2722           libnm-util/nm-setting-ip6-config.h
2723                 - Add IP6 settings object
2724
2725         * libnm-util/nm-connection.c
2726                 - (register_default_settings): register ip6 settings object
2727
2728         * libnm-util/nm-utils.c
2729           libnm-util/nm-utils.h
2730                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2731                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2732                         ip6 address conversion functions
2733         
2734 2008-06-26  Dan Williams <dcbw@redhat.com>
2735
2736         Patch from David Cantrell <dcantrell@redhat.com>
2737         
2738         * Use inet_ntop() and inet_pton() everwhere and check for errors
2739
2740 2008-06-26  Dan Williams <dcbw@redhat.com>
2741
2742         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2743
2744 2008-06-26  Dan Williams <dcbw@redhat.com>
2745
2746         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2747
2748         * src/nm-device-wifi.c
2749                 - (link_timeout_cb): don't ignore disconnects due to scanning
2750                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2751                         a longer timeout when scanning; avoids case where supplicant can't
2752                         find the AP and just keeps scanning forever but isn't connected
2753
2754 2008-06-26  Dan Williams <dcbw@redhat.com>
2755
2756         Patch from Michael Biebl <biebl@debian.org>
2757
2758         * Clean up build system stuff
2759
2760 2008-06-23  Christian Persch  <chpe@gnome.org>
2761
2762         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2763         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2764         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2765         (impl_get_object):
2766         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2767         (impl_get_object):
2768         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2769         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2770         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2771         (impl_get_object):
2772         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2773         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2774         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2775         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2776         * vpn-daemons/pptp/properties/vpnui_opt.c:
2777         (vpnui_opt_connect_signals):
2778         * vpn-daemons/pptp/properties/vpnui_opt.h:
2779         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2780         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2781         deprecated gtk type macros. Bug #539325.
2782
2783 2008-06-20  Dan Williams  <dcbw@redhat.com>
2784
2785         * libnm-glib/nm-vpn-plugin-ui-interface.c
2786           libnm-glib/nm-vpn-plugin-ui-interface.h
2787                 - 'validity-changed' -> 'changed' to work better with the connection
2788                         editor.  Plugin UI widgets should emit 'changed' whenever their
2789                         UI values change in a meaningful way.
2790                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2791                         update_connection member now returns validity of the UI widget
2792
2793 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2794
2795         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2796
2797 2008-06-17  Dan Williams  <dcbw@redhat.com>
2798
2799         * libnm-glib/nm-vpn-plugin-ui-interface.c
2800           libnm-glib/nm-vpn-plugin-ui-interface.h
2801                 - Add "desc" property for longer descriptions of the VPN plugin
2802
2803 2008-06-16  Dan Williams  <dcbw@redhat.com>
2804
2805         * configure.in
2806           libnm-glib/libnm_glib_vpn.pc.in
2807                 - add a .pc file for libnm_glib_vpn
2808
2809         * libnm-glib/nm-vpn-plugin-ui-interface.c
2810           libnm-glib/nm-vpn-plugin-ui-interface.h
2811                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2812                         rework it substantially
2813
2814 2008-06-12  Dan Williams  <dcbw@redhat.com>
2815
2816         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2817         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2818         returns a descriptive GError when verification fails.
2819
2820 2008-06-11  Dan Williams  <dcbw@redhat.com>
2821
2822         Patch from Tambet Ingo <tambet@gmail.com>
2823
2824         * libnm-util/nm-setting-gsm.c
2825                 - (verify): validate APN
2826
2827         * src/nm-gsm-device.c
2828                 - (manual_registration_done): start setting APN if needed
2829                 - (set_apn, set_apn_done): set the APN
2830                 - (do_dial): use the APN when dialing
2831
2832 2008-06-11  Dan Williams  <dcbw@redhat.com>
2833
2834         * src/NetworkManagerSystem.c
2835                 - (nm_system_device_set_ip4_route,
2836                    nm_system_device_replace_default_ip4_route): check for the right
2837                         return value from rtnl_route_add() to know when to add a gateway
2838                         route (from Tambet)
2839
2840 2008-06-11  Dan Williams  <dcbw@redhat.com>
2841
2842         * src/NetworkManagerPolicy.c
2843                 - do_ipt_cmd -> do_cmd
2844                 - (sharing_init): use do_cmd() instead of system()
2845
2846 2008-06-10  Dan Williams  <dcbw@redhat.com>
2847
2848         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2849         and use "wifi" everwhere instead.
2850
2851 2008-06-10  Dan Williams  <dcbw@redhat.com>
2852
2853         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2854
2855 2008-06-10  Dan Williams  <dcbw@redhat.com>
2856
2857         Patch from Tambet Ingo <tambet@gmail.com>
2858
2859         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2860                 changes.
2861
2862         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2863                 a signal to emit these changes over dbus.
2864
2865         * src/Makefile.am: Genereate nm-serial-device-glue.
2866
2867         * libnm-glib/nm-serial-device.[ch]: Implement.
2868
2869         * libnm-glib/nm-cdma-device.[ch]
2870           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2871
2872         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2873
2874         * introspection/nm-device-serial.xml: Implement.
2875
2876         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2877
2878         * introspection/Makefile.am: Add nm-device-serial.xml.
2879
2880         * include/NetworkManager.h: Add a DBus interface for serial device.
2881
2882 2008-06-10  Dan Williams  <dcbw@redhat.com>
2883
2884         * configure.in
2885                 - Add TARGET_* define to config.h to distinguish distros
2886
2887         * src/dhcp-manager/nm-dhcp-manager.c
2888                 - (dhclient_run): use distro-specific path for dhclient config file
2889
2890 2008-06-09  Dan Williams  <dcbw@redhat.com>
2891
2892         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2893           src/dnsmasq-manager/nm-dnsmasq-manager.h
2894                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2895                         calculate the addresses passed to dnsmasq instead of hard-coding
2896                         them
2897
2898         * src/nm-device.c
2899                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2900                         IP addresses for shared connections to guard against shared
2901                         connection address collisions
2902                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2903                         error conditions
2904                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2905                         the dnsmasq manager
2906
2907 2008-06-09  Dan Williams  <dcbw@redhat.com>
2908
2909         * src/NetworkManagerPolicy.c
2910                 - (update_routing_and_dns): set the default connection _after_ unsetting
2911                         default on all non-default connections so that two connections can
2912                         never be default at the same time
2913                 - (device_state_changed): start and stop connection sharing when
2914                         needed
2915                 - (active_connection_default_changed): restart or stop sharing when
2916                         the default connection changes to keep shared connections always
2917                         NAT-ed through the default connection
2918                 - (check_sharing): handle activation/deactivation of shared connections
2919                 - (sharing_restart): atom-bomb approach to connection sharing until we
2920                         can use libnl; reinit all sharing when the default connection or
2921                         shared connections change
2922                 - (sharing_init, sharing_stop): evil functions that init and deinit
2923                         iptables
2924
2925 2008-06-09  Dan Williams  <dcbw@redhat.com>
2926
2927         * src/nm-activation-request.c
2928           src/nm-activation-request.h
2929                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2930                    nm_act_request_get_device): new functions to facilitate connection
2931                         sharing
2932
2933 2008-06-09  Dan Williams  <dcbw@redhat.com>
2934
2935         * src/nm-device.c
2936                 - (clear_act_request): unset the 'default' property of the activation
2937                         request when clearing it to ensure the property changed signal gets
2938                         delivered and handled
2939
2940 2008-06-09  Dan Williams  <dcbw@redhat.com>
2941
2942         * libnm-glib/nm-device-802-11-wireless.c
2943                 - (access_point_removed_proxy): actually unref the AP after removing
2944                         it from the device's AP list.  Fixes refcounting bug for APs that
2945                         caused them to get mixed up in the applet's menu.
2946
2947 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2948
2949         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2950         (nm_dhcp_device_destroy): Destroy the device options hash table.
2951
2952 2008-06-06  Dan Williams <dcbw@redhat.com>
2953
2954         * system-settings/src/nm-polkit-helpers.c
2955                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2956                         unref the context if the initialization fails; also avoid spew when
2957                         the error isn't set
2958
2959 2008-06-06  Dan Williams <dcbw@redhat.com>
2960
2961         Patch from Tambet Ingo  <tambet@gmail.com>
2962
2963         * src/NetworkManagerSystem.c
2964           src/NetworkManagerSystem.h
2965                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2966                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2967                 - (nm_system_device_set_ip4_route): clean up
2968                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2969
2970         * src/nm-device.c
2971                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2972
2973         * src/vpn-manager/nm-vpn-connection.c
2974                 - (ip_address_to_string): new function
2975                 - (print_vpn_config): use ip_address_to_string
2976                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2977                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2978
2979         * include/NetworkManagerVPN.h
2980                 - Add 'routes' key
2981
2982 2008-06-05  Dan Williams <dcbw@redhat.com>
2983
2984         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2985
2986         * test/nm-tool.c
2987                 - Show which device is the default device
2988
2989 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2990
2991         Fix memory leaks.
2992
2993         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2994         Free data returned from dbus method call.
2995
2996         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2997         dbus_g_method_get_sender() returns a duplicated string, free it 
2998         when done.
2999         (check_polkit_privileges): Looks like policykit sometimes returns
3000         error and non-null return value, don't leak errors in that case.
3001
3002         * system-settings/src/main.c (find_plugin): Don't leak existing 
3003         plugin names.
3004         (load_stuff): Don't leak device list and list items.
3005         (have_connection_for_device): Don't leak connection list.
3006
3007         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
3008         Free the data received from g_keyfile_get_*.
3009
3010         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
3011         the key when the security object is updated.
3012
3013         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
3014         Free data returned from dbus method call.
3015         (iface_state_cb): Ditto.
3016         (add_network_cb): Ditto.
3017         (nm_supplicant_interface_add_cb): Don't make another copy of already
3018         duplicated object path.
3019         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
3020         when done.
3021
3022         * src/supplicant-manager/nm-supplicant-config.c 
3023         (ADD_STRING_LIST_VAL): Fix a memory leak.
3024
3025         * src/nm-manager.c (free_get_settings_info): Free the allocated
3026         memory slice.
3027         (list_connections_cb): Free data returned from dbus method call.
3028         (system_settings_get_unmanaged_devices_cb): Ditto.
3029
3030         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
3031
3032         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
3033         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
3034         * src/backends/shvar.c (svCloseFile): Free the duplicated content
3035         of the GList.
3036
3037         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
3038         arguments after the object is created.
3039
3040 2008-06-04  Dan Williams <dcbw@redhat.com>
3041
3042         * libnm-util/Makefile.am
3043                 - Don't distribute nm-param-spec-specialized.h
3044
3045 2008-06-02  Tambet Ingo  <tambet@gmail.com>
3046
3047         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3048
3049         * src/nm-ip4-config.[ch]: Store the static routes as a list of
3050         NMIP4Address, update the getters and setters.
3051
3052         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3053         Use the updated NMIP4Config routes api.
3054
3055         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3056         static routes as well.
3057
3058         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3059         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3060         routes api.
3061
3062 2008-05-30  Dan Williams <dcbw@redhat.com>
3063
3064         * src/named-manager/nm-named-manager.c
3065           src/named-manager/nm-named-manager.h
3066                 - Remove stale/obsolete bits for controlling bind over DBus
3067
3068 2008-05-29  Dan Williams <dcbw@redhat.com>
3069
3070         * src/dnsmasq-manager/nm-dnsmasq-manager.c
3071           src/dnsmasq-manager/nm-dnsmasq-manager.h
3072                 - (nm_dnsmasq_manager_new): move iface argument here
3073                 - (constructor): remove, not needed
3074                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3075                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3076
3077         * src/nm-device.c
3078                 - (real_act_stage4_get_ip4_config,
3079                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3080                         changes
3081
3082 2008-05-29  Dan Williams <dcbw@redhat.com>
3083
3084         * src/nm-device.c
3085                 - (dnsmasq_state_changed_cb): new function; fail the connection if
3086                         something happens to dnsmasq
3087                 - (nm_device_new_ip4_shared_config): new function; create a new
3088                         ip4-config for shared connections.  Shared connections always use a
3089                         fixed static IP address.
3090                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3091                         autoip connections by actually using the returned ip4-config and
3092                         not leaking it
3093                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3094                         connections
3095                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3096                         if its active
3097
3098 2008-05-29  Dan Williams <dcbw@redhat.com>
3099
3100         * src/nm-device-802-11-wireless.c
3101                 - (real_get_best_auto_connection): auto-activate 'shared' method
3102                         connections too
3103
3104 2008-05-29  Dan Williams <dcbw@redhat.com>
3105
3106         * libnm-util/nm-setting-ip4-config.c
3107           libnm-util/nm-setting-ip4-config.h
3108                 - Add a 'shared' method to indicate that this connection should be
3109                         brought up with a DHCP and proxy DNS server to facilitate
3110                         connection sharing.
3111                 - (verify): 'shared' method doesn't allow DNS or searches either
3112
3113 2008-05-29  Dan Williams <dcbw@redhat.com>
3114
3115         * configure.in
3116           src/Makefile.am
3117           src/dnsmasq-manager/Makefile.am
3118           src/dnsmasq-manager/nm-dnsmasq-manager.c
3119           src/dnsmasq-manager/nm-dnsmasq-manager.h
3120                 - Add a dnsmasq daemon manager to facilitate connection sharing
3121
3122 2008-05-29  Dan Williams <dcbw@redhat.com>
3123
3124         * src/nm-device-private.h
3125                 - Remove unused prototypes and clean up
3126
3127         * src/nm-device.c
3128                 - Remove anything related to system_config_data, which is no longer used
3129                 - (nm_device_new_ip4_autoip_config): make static
3130
3131 2008-05-29  Tambet Ingo  <tambet@gmail.com>
3132
3133         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3134         (file_changed): Fix a bug where suse system settings plugin didn't
3135         update the connections automatically when the files changed.
3136
3137 2008-05-28  Dan Williams  <dcbw@redhat.com>
3138
3139         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3140
3141 2008-05-28  Dan Williams  <dcbw@redhat.com>
3142
3143         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3144
3145         * src/NetworkManagerSystem.c
3146                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3147                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3148                         was causing -EINVAL errors since the libnl code actually does flush
3149                         the routes on VPN interfaces now
3150
3151         * src/backends/NetworkManagerArch.c
3152           src/backends/NetworkManagerDebian.c
3153           src/backends/NetworkManagerFrugalware.c
3154           src/backends/NetworkManagerGeneric.c
3155           src/backends/NetworkManagerGentoo.c
3156           src/backends/NetworkManagerMandriva.c
3157           src/backends/NetworkManagerPaldo.c
3158           src/backends/NetworkManagerRedHat.c
3159           src/backends/NetworkManagerSlackware.c
3160           src/backends/NetworkManagerSuSE.c
3161                 - (nm_system_device_flush_ip4_routes,
3162                    nm_system_device_flush_ip4_routes_with_iface): remove
3163
3164 2008-05-28  Dan Williams  <dcbw@redhat.com>
3165
3166         * libnm-util/nm-setting-wireless.c
3167           libnm-util/nm-setting-wireless.h
3168                 - (set_property, get_property, nm_setting_wireless_class_init): add the
3169                         'adhoc-create' property, which when TRUE indicates that NM should
3170                         create this connection as an adhoc wifi network if it's not found
3171                         as an adhoc network during scanning.  Can be used to auto-create
3172                         adhoc networks when used in combination with autoconnect.
3173
3174 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3175
3176         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3177
3178         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3179         checked, it doesn't work on some devices.
3180
3181 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3182
3183         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
3184         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3185
3186         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3187         Use inet_aton() everywhere to improve error detection.
3188         Don't fall back to 'dhcp_server_identifier' if the gateway is not
3189         provided.
3190
3191 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3192
3193         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3194         Fix a typo.
3195
3196 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3197
3198         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3199         reference counting issue.
3200
3201 2008-05-23  Dan Williams  <dcbw@redhat.com>
3202
3203         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3204
3205         * src/backends/NetworkManagerGeneric.c
3206                 - (nm_generic_enable_loopback): use libnl
3207
3208 2008-05-23  Dan Williams  <dcbw@redhat.com>
3209
3210         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3211
3212         * src/NetworkManagerSystem.h
3213           src/backends/NetworkManagerArch.c
3214           src/backends/NetworkManagerDebian.c
3215           src/backends/NetworkManagerFrugalware.c
3216           src/backends/NetworkManagerGentoo.c
3217           src/backends/NetworkManagerMandriva.c
3218           src/backends/NetworkManagerPaldo.c
3219           src/backends/NetworkManagerRedHat.c
3220           src/backends/NetworkManagerSlackware.c
3221           src/backends/NetworkManagerSuSE.c
3222                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3223                    nm_system_flush_arp_cache): remove, unused
3224
3225         * src/backends/NetworkManagerGeneric.c
3226           src/backends/NetworkManagerGeneric.h
3227                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3228                    nm_generic_flush_arp_cache): remove, unused
3229
3230 2008-05-23  Dan Williams  <dcbw@redhat.com>
3231
3232         * system-settings/plugins/ifcfg-fedora/reader.c
3233                 - (make_ip4_setting): honor PEERDNS setting
3234
3235 2008-05-23  Dan Williams  <dcbw@redhat.com>
3236
3237         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3238
3239         * src/NetworkManagerSystem.c
3240                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3241                         libnl
3242
3243         * src/backends/NetworkManagerArch.c
3244           src/backends/NetworkManagerDebian.c
3245           src/backends/NetworkManagerFrugalware.c
3246           src/backends/NetworkManagerGentoo.c
3247           src/backends/NetworkManagerMandriva.c
3248           src/backends/NetworkManagerPaldo.c
3249           src/backends/NetworkManagerRedHat.c
3250           src/backends/NetworkManagerSlackware.c
3251           src/backends/NetworkManagerSuSE.c
3252                 - (nm_system_device_flush_ip4_addresses,
3253                    nm_system_device_flush_ip4_addresses_with_iface): remove
3254
3255         * src/backends/NetworkManagerGeneric.c
3256                 - (nm_generic_device_flush_ip4_addresses,
3257                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3258
3259 2008-05-23  Dan Williams  <dcbw@redhat.com>
3260
3261         * src/supplicant-manager/nm-supplicant-settings-verify.c
3262                 - Switch 'bssid' from bytes to keyword type
3263                 - (validate_type_keyword): allow NULL keyword lists
3264
3265         * src/supplicant-manager/nm-supplicant-config.c
3266                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3267                         a byte array to string form, which is what the supplicant expects
3268
3269 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3270
3271         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3272         information received from DHCP.
3273
3274         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3275         to make it possible to ignore the DNS information (both servers and 
3276         searches) returned by DHCP server.
3277
3278         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3279         name servers and searches if "ignore_dhcp_dns" is set.
3280
3281         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3282         (nm_ip4_config_reset_searches): Implement.
3283
3284 2008-05-22  Dan Williams  <dcbw@redhat.com>
3285
3286         Remove anything mDNS related.  This is better done from a distro-specific
3287         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3288         avahi, since avahi can handle interface changes just fine using netlink.
3289
3290         * configure.in
3291                 - Remove --with-mdns-provider
3292
3293         * src/NetworkManagerPolicy.c
3294                 - (global_state_changed): don't restart the mdns provider
3295
3296         * src/NetworkManagerSystem.h
3297           src/backends/NetworkManagerArch.c
3298           src/backends/NetworkManagerDebian.c
3299           src/backends/NetworkManagerFrugalware.c
3300           src/backends/NetworkManagerGentoo.c
3301           src/backends/NetworkManagerMandriva.c
3302           src/backends/NetworkManagerPaldo.c
3303           src/backends/NetworkManagerRedHat.c
3304           src/backends/NetworkManagerSlackware.c
3305           src/backends/NetworkManagerSuSE.c
3306                 - (nm_system_restart_mdns_responder): remove
3307
3308         * src/backends/NetworkManagerGeneric.c
3309           src/backends/NetworkManagerGeneric.h
3310                 - (nm_generic_restart_mdns_responder): remove
3311
3312 2008-05-22  Dan Williams  <dcbw@redhat.com>
3313
3314         * configure.in
3315                 - clean up crypto options; just use --with-crypto=nss or
3316                         --with-crypto=gnutls
3317
3318 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3319
3320         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3321         anymore, do it right away.
3322
3323 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3324
3325         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3326         serial device open when we're not connecting or connected.
3327
3328         * src/nm-cdma-device.c (device_state_changed): Ditto.
3329
3330 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3331
3332         Don't remove all devices on waking up, sync with HAL.
3333
3334         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3335         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3336         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3337
3338 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3339
3340         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3341         If the default gateway is unreachable, add a route to gateway and try
3342         again.
3343
3344 2008-05-20  Dan Williams  <dcbw@redhat.com>
3345
3346         * system-settings/plugins/ifcfg-fedora/reader.c
3347                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3348
3349 2008-05-19  Dan Williams  <dcbw@redhat.com>
3350
3351         * system-settings/plugins/ifcfg-fedora/reader.c
3352                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3353                         if the ifcfg doesn't specify one (rh #446527)
3354
3355 2008-05-19  Dan Williams  <dcbw@redhat.com>
3356
3357         Make the system settings service exit when the bus goes away.  Since it's
3358         a bus-activated service, it's lifetime is limited to the bus that activated
3359         it (rh #444976).
3360
3361         * system-settings/src/Makefile.am
3362           system-settings/src/nm-system-config-hal-manager-private.h
3363                 - Remove nm-system-config-hal-manager-private.h
3364
3365         * system-settings/src/nm-system-config-hal-manager.c
3366                 - (nm_system_config_hal_manager_reinit_dbus,
3367                    nm_system_config_hal_manager_deinit_dbus): remove
3368
3369         * system-settings/src/main.c
3370                 - (dbus_reconnect): remove
3371                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3372                 - (destroy_cb): just quit when the bus goes away
3373                 - (start_dbus_service, dbus_init): simplify
3374                 - (main): destroy the wired devices hash table after destroying
3375                         the HAL manager so we don't have to disconnect signals from the
3376                         HAL manager
3377
3378 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3379
3380         Move crypto functions from nm-applet to libnm-util.
3381
3382         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3383         (nm_setting_802_1x_set_client_cert)
3384         (nm_setting_802_1x_set_phase2_ca_cert)
3385         (nm_setting_802_1x_set_phase2_client_cert)
3386         (nm_setting_802_1x_set_private_key)
3387         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3388         file (or private key and it's password), read the certificate data.
3389
3390         * libnm-util/crypto_nss.c: 
3391         * libnm-util/crypto_gnutls.c: 
3392         * libnm-util/crypto.[ch]: Move here from nm-applet.
3393
3394         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3395
3396         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3397         Imlement WPA-EAP configuration reading from sysconfig.
3398
3399 2008-05-16  Dan Williams  <dcbw@redhat.com>
3400
3401         * src/nm-device-802-11-wireless.c
3402                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3403                         wireless
3404
3405 2008-05-14  Dan Williams  <dcbw@redhat.com>
3406
3407         Fix Linus' bug in rh #134886
3408
3409         * src/nm-device-802-3-ethernet.c
3410                 - (constructor): request initial carrier state
3411
3412         * src/nm-netlink-monitor.c
3413                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3414                         signals after refilling the link cache.  Because the refill is a 
3415                         synchronous operation, the normal message hander won't get called
3416                         since libnl has already consumed the messages.
3417                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3418
3419 2008-05-14  Dan Williams  <dcbw@redhat.com>
3420
3421         * src/NetworkManagerSystem.c
3422                 - (nm_system_device_is_up_with_iface): clean up
3423
3424 2008-05-13  Dan Williams  <dcbw@redhat.com>
3425
3426         Fix refcounting issues over sleep/wake when a VPN connection was active that
3427         caused NM to try registering an object path for a device upon wake that was
3428         the same as an already registered object path.
3429
3430         * src/nm-device.c
3431                 - (nm_device_take_down): properly handle cases where the device is
3432                         no longer active but was just active, and therefore must be
3433                         deactivated.  When a device moves to unmanaged mode, this function
3434                         previously would not deactivate the device, because the state was
3435                         already unmanaged by the time this function was called.
3436
3437         * src/vpn-manager/nm-vpn-connection.c
3438                 - (device_state_changed): properly handle multiple devices states in
3439                         which the device is now deactivated.  Code previously didn't handle
3440                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3441                         UNMANAGED states.
3442
3443 2008-05-13  Dan Williams  <dcbw@redhat.com>
3444
3445         * src/nm-device-private.h
3446           src/nm-device.c
3447                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3448
3449         * src/nm-device-802-11-wireless.c
3450                 - (nm_device_802_11_wireless_set_enabled): take devices up
3451                         and down as appropriate for the rfkill state
3452
3453 2008-05-13  Dan Williams  <dcbw@redhat.com>
3454
3455         * marshallers/nm-marshal.list
3456                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3457
3458         * system-settings/plugins/ifcfg-fedora/Makefile.am
3459           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3460           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3461                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3462                         events.  Solely for use watching ifcfg files to pick up changes
3463                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3464
3465         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3466                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3467                         file contents change
3468                 - (finalize): clean up inotify watches
3469                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3470                         and the connection ifcfg for changes on their hardlinks
3471                 - (files_changed_cb): proxy the changed signal back out to listeners
3472
3473         * system-settings/plugins/ifcfg-fedora/plugin.c
3474                 - (dir_changed): 
3475                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3476                         changes
3477                 - (read_one_connection): connect to change signals on the new connection
3478                 - (dir_changed, connection_changed_handler,
3479                    handle_connection_remove_or_new): break out connection change
3480                         handling and connection new/remove handling so it can be used from
3481                         both the GFileMonitor callback and the NMIfcfgConnection changed
3482                         signals
3483
3484         * system-settings/plugins/ifcfg-fedora/reader.c
3485           system-settings/plugins/ifcfg-fedora/reader.h
3486                 - (connection_from_file): return the keyfile path the connection would use
3487
3488 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3489
3490         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3491         single PolKitContext which is shared by all. PolKitContext::unref leaks
3492         just about everything, including all open file descriptiors and results
3493         in 99% cpu usage when data arrives to any of the fds that don't belong
3494         to any context anymore.
3495
3496 2008-05-12  Dan Williams  <dcbw@redhat.com>
3497
3498         * gfilemonitor/glocaldirectorymonitor.c
3499           gfilemonitor/glocaldirectorymonitor.h
3500                 - (g_local_directory_monitor_constructor): actually subscribe to the
3501                         watch
3502                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3503
3504         * gfilemonitor/glocalfilemonitor.c
3505           gfilemonitor/glocalfilemonitor.h
3506                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3507                 - (_g_local_file_monitor_new): ensure that inotify is started up
3508
3509 2008-05-11  Dan Williams  <dcbw@redhat.com>
3510
3511         * configure.in
3512                 - record PolicyKit version
3513
3514         * system-settings/src/nm-polkit-helpers.c
3515                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3516                         with PolicyKit <= 0.6
3517
3518 2008-05-11  Dan Williams  <dcbw@redhat.com>
3519
3520         Update Fedora system-settings plugin to support latest API and use
3521         GFileMonitor rather than home-rolled inotify code.
3522
3523         * system-settings/plugins/ifcfg-fedora/Makefile.am
3524           system-settings/plugins/ifcfg-fedora/common.h
3525           system-settings/plugins/ifcfg-fedora/plugin.c
3526                 - Update to latest system settings plugin API; use GIO instead of
3527                         custom inotify code; use NMIfcfgConnection objects instead of
3528                         ConnectionData structures tacked onto NMConnection objects
3529
3530         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3531           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3532                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3533                         connections
3534
3535         * system-settings/plugins/ifcfg-fedora/reader.c
3536           system-settings/plugins/ifcfg-fedora/reader.h
3537                 - Move ifcfg parsing bits here from parser.c
3538
3539         * system-settings/plugins/ifcfg-fedora/parser.c
3540           system-settings/plugins/ifcfg-fedora/parser.h
3541                 - Remove; most code moved to reader.c
3542
3543 2008-05-11  Dan Williams  <dcbw@redhat.com>
3544
3545         * configure.in
3546           Makefile.am
3547           gfilemonitor/*
3548                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3549                         implementation, so that the same change monitoring code can be used
3550                         on systems without glib-2.14 (like Fedora 8)
3551
3552         * system-settings/plugins/keyfile/Makefile.am
3553           system-settings/plugins/keyfile/plugin.c
3554           system-settings/plugins/ifcfg-suse/Makefile.am
3555           system-settings/plugins/ifcfg-suse/plugin.c
3556                 - Use private gfilemonitor code if GIO is not present
3557
3558 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3559
3560         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3561         NMExportedConnection's 'update' and 'delete' and return error with
3562         descriptive message.
3563
3564 2008-05-08  Dan Williams  <dcbw@redhat.com>
3565
3566         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3567
3568         * src/nm-gsm-device.c
3569           src/nm-cdma-device.c
3570                 - (real_get_best_auto_connection): implement; allow autoconnection
3571                         to GSM & CDMA devices
3572
3573 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3574
3575         Use PolicyKit to authorize the system settings' AddConnection method
3576         and the system settings connections' Update and Delete methods.
3577         
3578         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3579         (impl_exported_connection_delete, nm_exported_connection_update)
3580         (nm_exported_connection_delete): Return boolean and fill GError
3581         to notify the callers of the reasons why it might have failed.
3582
3583         * libnm-glib/nm-dbus-settings-system.c
3584         (nm_dbus_settings_system_add_connection): Return the error from dbus
3585         call so that the callers can see why it failed.
3586
3587         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3588         signatures.
3589
3590         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3591
3592         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3593         abstract base class that checks PolicyKit permissions.
3594
3595         * system-settings/src/dbus-settings.c:
3596         (impl_settings_add_connection): Check the policy before carring out
3597         the request.
3598
3599         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3600         Inherit from NMSysconfigConnection, check the policies before
3601         allowing updating or removing.
3602
3603         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3604         Inherit from NMSysconfigConnection.
3605
3606         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3607         "Delete" methods with async flag so that the implementations can get
3608         access to DBusGMethodInvocation.
3609
3610         * system-settings/src/dbus-settings.c 
3611         (settings_add_connection_check_privileges): Implement.
3612         (impl_settings_add_connection): Check the privileges before adding a new
3613         connection. Improve error reporting.
3614
3615         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3616         async so that the implementation can access DBusGMethodInvocation.
3617
3618         * configure.in: Check for PolicyKit.
3619
3620         * policy/org.freedesktop.network-manager-settings.system.policy: 
3621         New file.
3622
3623         * policy/Makefile.am: Install the policy file.
3624
3625         * configure.in: Add 'policy' subdir.
3626
3627 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3628
3629         Rewrite the suse system settings plugin.
3630
3631         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3632
3633         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3634
3635         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3636
3637         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3638
3639         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3640
3641         * system-settings/src/main.c (load_plugins): Improve error reporting.
3642
3643         * system-settings/src/sha1.[ch] Add.
3644
3645         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3646
3647 2008-05-07  Dan Williams  <dcbw@redhat.com>
3648
3649         * system-settings/plugins/keyfile/reader.c
3650                 - (read_one_setting_value): handle IP address items separately
3651                 - (read_array_of_uint): read IPv4 DNS option as a string array
3652                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3653                         array
3654
3655         * system-settings/plugins/keyfile/writer.c
3656                 - (write_setting_value): handle IP address items separately
3657                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3658                         not an array of uint, so that it's user-editable
3659                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3660                         arrays, so they are user-editable
3661
3662 2008-05-07  Dan Williams  <dcbw@redhat.com>
3663
3664         * system-settings/plugins/keyfile/Makefile.am
3665                 - Change location of the keyfile plugin settings to
3666                         /etc/NetworkManager/system-connections
3667
3668 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3669
3670         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3671
3672         * system-settings/plugins/keyfile/plugin.c: Work with
3673         NMKeyfileConnections.
3674
3675         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3676         Plugins are supposed to return NMExportedConnections now and handle the
3677         updated(), removed(), and GetSecrets().
3678         Store the internal list of connections in hash table to make it easier
3679         to find duplicates.
3680
3681 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3682
3683         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3684         for multiple IP addresses.
3685
3686 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3687
3688         Patch from André Lemos.
3689
3690         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3691         corruption.
3692
3693 2008-05-06  Dan Williams  <dcbw@redhat.com>
3694
3695         * src/dhcp-manager/nm-dhcp-manager.c
3696                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3697                         NMIP4Config to support multiple IP addresses
3698
3699         * src/NetworkManagerUtils.c
3700                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3701
3702         * src/nm-ip4-config.c
3703           src/nm-ip4-config.h
3704                 - Store a list of IPv4 address/netmask/gateway tuples
3705                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3706                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3707                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3708                    nm_ip4_config_set_address): remove
3709                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3710                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3711                         new functions; handle multiple IPv4 addresses
3712
3713         * src/nm-device.c
3714           src/ppp-manager/nm-ppp-manager.c
3715           src/vpn-manager/nm-vpn-connection.c
3716           src/NetworkManagerPolicy.c
3717           test/nm-tool.c
3718           libnm-glib/libnm-glib-test.c
3719                 - update for changes to NMIP4Config for multiple IPv4 addresses
3720
3721         * src/NetworkManagerSystem.c
3722                 - (nm_system_device_set_ip4_route): don't add the route if any address
3723                         is on the same subnet as the destination
3724                 - (check_one_address): ignore the exact match, just match family and
3725                         interface index
3726                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3727                         an interface
3728                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3729                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3730
3731         * introspection/nm-ip4-config.xml
3732                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3733                 - Add 'addresses' property which is an array of (uuu) tuples of
3734                         address/netmask/gateway
3735
3736         * libnm-util/nm-setting-ip4-config.c
3737                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3738
3739         * libnm-glib/nm-ip4-config.c
3740           libnm-glib/nm-ip4-config.h
3741                 - Handle D-Bus interface changes to support multiple IP addresses
3742
3743 2008-05-06  Dan Williams  <dcbw@redhat.com>
3744
3745         * libnm-util/nm-utils.c
3746           libnm-util/nm-utils.h
3747                 - (nm_utils_ip4_addresses_from_gvalue,
3748                    nm_utils_ip4_addresses_to_gvalue): new functions
3749
3750 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3751
3752         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3753         the returned connection paths.
3754
3755 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3756
3757         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3758         "PropertiesChanged" signal signature.
3759
3760         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3761         defined in nm-dbus-glib-types.h.
3762         Don't register the connection on dbus, we're a proxy class to 
3763         communicate with an already registered connection over dbus.
3764
3765 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3766
3767         Implement new subclasses of NMSettings and NMExportedConnection to make
3768         it easier for the applet to access and modify system settings.
3769
3770         * libnm-glib/nm-dbus-connection.[ch]:
3771         * libnm-glib/nm-dbus-settings.[ch]:
3772         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3773
3774         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3775         bindings and glue.
3776
3777         * include/NetworkManager.h: Define the system settings DBus interface.
3778
3779 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3780
3781         Implement additional C API for exported connections to make them identical
3782         with the DBus API. Change the (list_connections) virtual function to be
3783         more usable from C - instead of requiring implementers to return a GPtrArray
3784         of dbus paths, return a list of connections.
3785
3786         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3787         (nm_settings_list_connections):
3788         (nm_exported_connection_new):
3789         (nm_exported_connection_update):
3790         (nm_exported_connection_delete): Implement.
3791
3792         (impl_settings_list_connections):
3793         (impl_exported_connection_update):
3794         (impl_exported_connection_delete): Use the new public functions to make 
3795         sure the C and dbus interfaces stay in sync.
3796
3797         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3798         connections.
3799
3800 2008-05-02  Dan Williams  <dcbw@redhat.com>
3801
3802         * system-settings/plugins/ifcfg-fedora/plugin.c
3803                 - (dispose): use right unref call on the DBusGConnection
3804
3805 2008-05-02  Dan Williams  <dcbw@redhat.com>
3806
3807         * src/nm-serial-device.c
3808                 - (find_terminator): don't compare the whole line, just the size of the
3809                         terminator, since some modems put stuff after the terminator, like
3810                         "CONNECT 9600"
3811
3812 2008-05-01  Dan Williams  <dcbw@redhat.com>
3813
3814         Patch from Michael Biebl <biebl@debian.org>
3815
3816         * callouts/Makefile.am
3817           callouts/org.freedesktop.nm_dispatcher.service.in
3818           system-settings/src/Makefile.am
3819           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3820                 - use the right install location for dbus-activated stuff
3821
3822 2008-04-30  Dan Williams  <dcbw@redhat.com>
3823
3824         * src/nm-gsm-device.c
3825                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3826                         PIN or PUK
3827
3828 2008-04-30  Dan Williams  <dcbw@redhat.com>
3829
3830         * src/nm-manager.c
3831                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3832
3833 2008-04-30  Dan Williams  <dcbw@redhat.com>
3834
3835         * src/nm-device-802-3-ethernet.c
3836           src/nm-device-802-11-wireless.c
3837                 - (real_is_up): return true instead of chaining up to unimplemented
3838                         parent method
3839
3840 2008-04-30  Dan Williams  <dcbw@redhat.com>
3841
3842         * src/NetworkManagerSystem.c
3843           src/NetworkManagerSystem.h
3844                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3845                         functions to check device flags for IFF_UP
3846
3847         * src/nm-serial-device.c
3848                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3849                         implement is_up
3850
3851         * src/nm-device-802-3-ethernet.c
3852           src/nm-device-802-11-wireless.c
3853                 - (real_hw_is_up): call nm_system_device_is_up()
3854
3855         * src/nm-device.c
3856                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3857                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3858                         does not implement
3859
3860 2008-04-29  Dan Williams  <dcbw@redhat.com>
3861
3862         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3863
3864         * marshallers/nm-marshal.list
3865                 - Add marshaller
3866
3867         * src/NetworkManager.c
3868                 - (main): let the NMManager handle the NMHalManager
3869
3870         * src/nm-hal-manager.c
3871           src/nm-hal-manager.h
3872                 - convert to a GObject, and emit singals when stuff changes.  Let the
3873                         NMManager handle the signals, instead of the NMHalManager calling
3874                         into the NMManager.  
3875
3876         * src/nm-manager.c
3877           src/nm-manager.h
3878                 - (remove_one_device): consolidate device removals here
3879                 - (dispose): use remove_one_device()
3880                 - (nm_manager_get_device_by_udi): make static
3881                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3882                         manager for devices at startup or wakeup time
3883                 - (nm_manager_new): create and monitor the HAL manager
3884                 - (hal_manager_udi_added_cb): new function; do what
3885                         nm_manager_add_device() used to do when signalled by the hal manager
3886                 - (hal_manager_udi_removed_cb): new function; do what
3887                         nm_manager_remove_device() used to do when signalled by the hal
3888                         manager
3889                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3890                         hal manager
3891                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3892                         in our device list that aren't known to HAL
3893                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3894                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3895                         commits ago
3896                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3897                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3898                    nm_manager_wireless_hardware_enabled,
3899                    nm_manager_set_wireless_hardware_enabled): remove, unused
3900
3901 2008-04-28  Dan Williams  <dcbw@redhat.com>
3902
3903         Fix the device up/down ambiguities.  Up/down state used to be a
3904         conglomeration of hardware state (IFF_UP) and any device-specific things
3905         (supplicant, periodic timers, etc) that the device used to indicate
3906         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3907         reason, then the device specific stuff wouldn't get run, and the device
3908         would be stuck.
3909
3910         * src/nm-device.c
3911           src/nm-device.h
3912                 - Create hw_is_up, hw_bring_up, and hw_take_down
3913                 - Rename bring_down -> take_down
3914                 - (real_hw_is_up): check interface flags for IFF_UP
3915                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3916                 - (nm_device_is_up): make static; only used locally
3917                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3918                         if the device is already up; if the device isn't up, bring it up
3919                 - (nm_device_hw_take_down): just take down hardware
3920                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3921                 - (nm_device_take_down): always deactivate device when called; always
3922                         try to take hardware down too
3923                 - (nm_device_state_changed): take device down when entering unmanaged
3924                         state from a higher state
3925
3926         * src/nm-device-802-11-wireless.c
3927                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3928                         check IFF_UP really
3929                 - (real_take_down, supplicant_iface_state_cb_handler, 
3930                    supplicant_iface_connection_state_cb_handler,
3931                    supplicant_mgr_state_cb_handler): fix some messages
3932
3933         * src/nm-device-802-3-ethernet.c
3934                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3935                         check IFF_UP really
3936
3937 2008-04-28  Dan Williams  <dcbw@redhat.com>
3938
3939         * src/nm-manager.c
3940           src/nm-manager.h
3941                 - (nm_manager_error_get_type): add new error
3942                 - (nm_manager_remove_device): don't bother taking down the device here,
3943                         the state change from unmanaging the device will do it
3944                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3945                         uses it; when going to sleep, just unmanage the device instead of
3946                         taking it down, because stuff will cleaned up correctly when the
3947                         device gets unmanaged
3948
3949 2008-04-28  Dan Williams  <dcbw@redhat.com>
3950
3951         * src/nm-hal-manager.c
3952                 - (add_initial_devices): convert to a GSourceFunc prototype
3953                 - (nm_manager_state_changed): when coming out of sleep, punt the
3954                         device re-addition to an idle handler to let D-Bus events go out
3955                         first, fixing a potential dbus-glib assert if the old device was
3956                         not yet disposed (due to references held while emitting the D-Bus
3957                         signals) but the new device was found, because the mainloop didn't
3958                         run between signal emission and add_initial_devices()
3959
3960 2008-04-27  Dan Williams  <dcbw@redhat.com>
3961
3962         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3963
3964         * initscript/paldo/NetworkManager.in
3965           initscript/SUSE/networkmanager.in
3966                 - Remove last bits of dhcdbd
3967
3968 2008-04-27  Dan Williams  <dcbw@redhat.com>
3969
3970         * src/nm-device-802-11-wireless.c
3971                 - (link_timeout_cb): don't ask for secrets when disconnected during
3972                         association/authentication phase, drivers are still just too crappy
3973
3974 2008-04-27  Dan Williams  <dcbw@redhat.com>
3975
3976         * Makefile.am
3977           configure.in
3978           dispatcher-daemon/Makefile.am
3979           dispatcher-daemon/NetworkManagerDispatcher.c
3980           initscript/Arch/Makefile.am
3981           initscript/Arch/networkmanager-dispatcher.in
3982           initscript/Gentoo/Makefile.am
3983           initscript/Gentoo/NetworkManagerDispatcher.in
3984           initscript/Mandriva/Makefile.am
3985           initscript/Mandriva/networkmanagerdispatcher.in
3986           initscript/RedHat/Makefile.am
3987           initscript/RedHat/NetworkManagerDispatcher.in
3988           initscript/SUSE/Makefile.am
3989           initscript/SUSE/networkmanager-dispatcher.in
3990           initscript/Slackware/Makefile.am
3991           initscript/Slackware/rc.networkmanager-dispatcher.in
3992           initscript/paldo/Makefile.am
3993           initscript/paldo/NetworkManagerDispatcher.in
3994           man/Makefile.am
3995           man/NetworkManagerDispatcher.8.in
3996                 - Remove the dispatcher daemon
3997
3998 2008-04-27  Dan Williams  <dcbw@redhat.com>
3999
4000         * callouts/Makefile.am
4001           callouts/nm-dispatcher-action.c
4002           callouts/nm-dispatcher-action.h
4003           callouts/nm-dispatcher.conf
4004           callouts/nm-dispatcher.xml
4005           callouts/org.freedesktop.nm_dispatcher.service
4006                 - Re-implement the dispatcher as a system-bus activated service that
4007                         NM calls on-demand, rather than an always running daemon
4008
4009         * src/Makefile.am
4010                 - Add callouts dir to includes to pick up dispatcher defines
4011
4012         * src/nm-device.c
4013                 - (nm_device_state_changed): call dispatcher on device activated/
4014                         deactivated
4015
4016         * src/vpn-manager/nm-vpn-connection.c
4017                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
4018                         go up and down
4019
4020         * src/NetworkManagerUtils.c
4021           src/NetworkManagerUtils.h
4022                 - (nm_utils_call_dispatcher): helper to call dispatcher
4023
4024 2008-04-27  Dan Williams  <dcbw@redhat.com>
4025
4026         * src/NetworkManagerUtils.c
4027           src/NetworkManagerUtils.h
4028                 - remove unneeded includes
4029                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
4030                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
4031                    nm_timeval_cmp, nm_timeval_add): remove, unused
4032                 - clean up formatting
4033                 - (nm_spawn_process): de-uglify
4034
4035         * src/nm-device-802-11-wireless.c
4036                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
4037
4038 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
4039
4040         * initscript/Gentoo/NetworkManager.in:
4041                 Fix for starting the daemon.
4042
4043 2008-04-25  Dan Williams  <dcbw@redhat.com>
4044
4045         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4046
4047         * src/NetworkManagerSystem.c
4048                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4049
4050 2008-04-25  Dan Williams  <dcbw@redhat.com>
4051
4052         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4053
4054         * src/NetworkManagerSystem.c
4055                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4056                         implementation of nm_system_device_replace_default_route()
4057
4058         * src/NetworkManagerPolicy.c
4059                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4060
4061         * src/backends/NetworkManagerArch.c
4062           src/backends/NetworkManagerDebian.c
4063           src/backends/NetworkManagerFrugalware.c
4064           src/backends/NetworkManagerGeneric.c
4065           src/backends/NetworkManagerGeneric.h
4066           src/backends/NetworkManagerGentoo.c
4067           src/backends/NetworkManagerMandriva.c
4068           src/backends/NetworkManagerPaldo.c
4069           src/backends/NetworkManagerRedHat.c
4070           src/backends/NetworkManagerSlackware.c
4071           src/backends/NetworkManagerSuSE.c
4072                 - (nm_system_device_replace_default_route): remove
4073
4074 2008-04-25  Dan Williams  <dcbw@redhat.com>
4075
4076         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4077
4078         * src/NetworkManagerSystem.c
4079                 - (validate_ip4_route): remove; use nl_addr_parse() instead
4080                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4081                         replace nm_system_device_add_route_via_device_with_iface() in the
4082                         backends
4083
4084         * src/backends/NetworkManagerArch.c
4085           src/backends/NetworkManagerDebian.c
4086           src/backends/NetworkManagerFrugalware.c
4087           src/backends/NetworkManagerGeneric.c
4088           src/backends/NetworkManagerGeneric.h
4089           src/backends/NetworkManagerGentoo.c
4090           src/backends/NetworkManagerMandriva.c
4091           src/backends/NetworkManagerPaldo.c
4092           src/backends/NetworkManagerRedHat.c
4093           src/backends/NetworkManagerSlackware.c
4094           src/backends/NetworkManagerSuSE.c
4095                 - Remove nm_system_device_add_route_via_device_with_iface()
4096
4097 2008-04-25  Dan Williams  <dcbw@redhat.com>
4098
4099         * system-settings/plugins/ifcfg-fedora/parser.c
4100                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4101
4102 2008-04-24  Dan Williams  <dcbw@redhat.com>
4103
4104         * dispatcher-daemon/NetworkManagerDispatcher.c
4105                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4106
4107 2008-04-24  Dan Williams  <dcbw@redhat.com>
4108
4109         * initscript/RedHat/NetworkManager.in
4110           initscript/RedHat/NetworkManagerDispatcher.in
4111                 - Be active at runlevel 2
4112                 - Adjust priorities earlier
4113
4114 2008-04-22  Dan Williams  <dcbw@redhat.com>
4115
4116         * src/NetworkManagerPolicy.c
4117                 - (update_routing_and_dns): when checking for a gateway, look at the
4118                         composite IP4 config, not the connection's ip4-config setting, which
4119                         doesn't include DHCP-returned information
4120
4121 2008-04-22  Tambet Ingo  <tambet@gmail.com>
4122
4123         Implement GKeyFile system settings plugin.
4124         Implement writing system settings (currently supported only by GKeyFile plugin).
4125
4126         * system-settings/src/main.c: 
4127         * system-settings/src/dbus-settings.c: Move the communication with plugins
4128         from main.c to dbus-settings.c. Makes it possible to talk to all registered
4129         plugins for adding/updating/removing connections.
4130
4131         * system-settings/src/nm-system-config-interface.c
4132         (nm_system_config_interface_add_connection): Implement
4133         (nm_system_config_interface_update_connection): Implement.
4134         (nm_system_config_interface_remove_connection): Implement.
4135
4136         * system-settings/plugins/keyfile/Makefile.am:
4137         * system-settings/plugins/keyfile/plugin.[ch]:
4138         * system-settings/plugins/keyfile/writer.[ch]:
4139         * system-settings/plugins/keyfile/reader.[ch]: Implement.
4140
4141         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4142
4143         * configure.in: Generate GKeyFile Makefile.
4144
4145         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4146         corruption, need to duplicate the returned string.
4147         (impl_exported_connection_update): Implement.
4148         (impl_exported_connection_delete): Implement.
4149
4150         * introspection/nm-settings-system.xml: Add "AddConnection" method.
4151
4152         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4153
4154 2008-04-22  Dan Williams  <dcbw@redhat.com>
4155
4156         Patch from Charles R. Anderson (cra@wpi.edu)
4157
4158         * src/NetworkManagerPolicy.c
4159                 - (update_routing_and_dns): don't select devices without a gateway
4160                         as having the default route (rh #437338)
4161
4162 2008-04-21  Dan Williams  <dcbw@redhat.com>
4163
4164         * src/nm-activation-request.c
4165           src/nm-activation-request.h
4166                 - (dispose): ensure to disconnect from the device's state-changed signal
4167                         when appropriate so the signal doesn't get handled by an already
4168                         disposed NMActRequest
4169                 - (device_state_changed): update is_default here too just to make sure
4170                         default is only True when the child device is activated
4171                 - (nm_act_request_set_default): new function
4172
4173         * src/NetworkManagerPolicy.c
4174                 - (update_routing_and_dns): set 'default' on the active connection which
4175                         has the default route and DNS
4176
4177 2008-04-21  Dan Williams  <dcbw@redhat.com>
4178
4179         * src/NetworkManagerPolicy.c
4180                 - (device_state_changed): update routing and DNS when a device goes
4181                         into unmanaged or unavailable states too (like rfkill or carrier loss)
4182
4183 2008-04-21  Dan Williams  <dcbw@redhat.com>
4184
4185         * include/NetworkManager.h
4186                 - Add NMActiveConnectionState enum
4187
4188         * introspection/nm-active-connection.xml
4189           introspection/nm-vpn-connection.xml
4190                 - Add 'State' property for overall active connection state
4191                 - Add 'Default' property, when True means this active connection
4192                         has the default route
4193                 - Add PropertyChanged signals so changes actually go out over the bus
4194
4195         * src/nm-active-connection.h
4196                 - Add defines for State & Default properties
4197
4198         * src/nm-activation-request.c
4199                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4200                         signal to determine active connection state
4201
4202         * src/vpn-manager/nm-vpn-connection.c
4203           src/vpn-manager/nm-vpn-connection.h
4204           src/vpn-manager/nm-vpn-manager.c
4205           src/vpn-manager/nm-vpn-service.c
4206                 - Rename old 'state' to 'vpn-state'
4207                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4208                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4209                         'vpn-state-changed' signal
4210
4211         * libnm-glib/nm-active-connection.c
4212           libnm-glib/nm-active-connection.h
4213                 - Add new 'state' and 'default' properties and accessors
4214
4215         * libnm-glib/nm-vpn-connection.c
4216           libnm-glib/nm-vpn-connection.h
4217                 - Rename old 'state' property to 'vpn-state'
4218                 - Add new 'state' and 'default' properties and accessors
4219
4220 2008-04-21  Dan Williams  <dcbw@redhat.com>
4221
4222         * src/nm-ip4-config.c
4223                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4224                         not specified (rh #443474)
4225
4226 2008-04-20  Dan Williams  <dcbw@redhat.com>
4227
4228         * src/NetworkManagerUtils.c
4229           src/NetworkManagerUtils.h
4230                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4231                         NMSettingIP4Config to an NMIP4Config object
4232
4233         * src/nm-device.c
4234                 - (merge_ip4_config): move to NetworkManagerUtils.c
4235
4236         * src/vpn-manager/nm-vpn-connection.c
4237                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4238                         too
4239
4240 2008-04-18  Dan Williams  <dcbw@redhat.com>
4241
4242         * libnm-util/nm-setting-ppp.c
4243           libnm-util/nm-setting-ppp.h
4244                 - Add 'no-vj-comp' option for TCP header compression
4245                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4246                         uint32
4247
4248 2008-04-18  Dan Williams  <dcbw@redhat.com>
4249
4250         * libnm-util/nm-setting-ppp.c
4251           libnm-util/nm-setting-ppp.h
4252           src/ppp-manager/nm-ppp-manager.c
4253                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4254
4255 2008-04-18  Dan Williams  <dcbw@redhat.com>
4256
4257         * libnm-util/nm-setting-ppp.c
4258           libnm-util/nm-setting-ppp.h
4259           src/ppp-manager/nm-ppp-manager.c
4260                 - Remove the 'usepeerdns' option and always request DNS servers from
4261                         the PPP server; the connection chooses to use/override/ignore the
4262                         DNS servers returned from the PPP server
4263
4264 2008-04-18  Dan Williams  <dcbw@redhat.com>
4265
4266         * libnm-util/nm-setting-ppp.c
4267           libnm-util/nm-setting-ppp.h
4268           src/ppp-manager/nm-ppp-manager.c
4269                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4270                         it seems to have been an erroneous addition to the PPTP plugin in
4271                         the first place (from which the ppp-manager is derived)
4272
4273 2008-04-17  Dan Williams  <dcbw@redhat.com>
4274
4275         * libnm-util/nm-setting-pppoe.c
4276                 - (verify): require a PPP setting too
4277
4278         * src/ppp-manager/nm-ppp-manager.c
4279                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4280                         segfaulting
4281
4282 2008-04-17  Dan Williams  <dcbw@redhat.com>
4283
4284         * src/nm-device.c
4285                 - (nm_device_state_changed): do deactivation and and promotion to
4286                         unavailable here, so that the device gets cleaned up before the
4287                         manager runs and starts emitting signals; do the
4288                         FAILED->DISCONNECTED transition from an idle handler rather than
4289                         immediately to guard against recursion
4290                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4291                         FAILED->DISCONNECTED handler if it's scheduled
4292
4293 2008-04-17  Dan Williams  <dcbw@redhat.com>
4294
4295         * src/nm-device-802-11-wireless.c
4296                 - (state_changed_cb): clear AP list when device transitions to
4297                         unavailable or unmanaged
4298                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4299                         since this is already done in device_cleanup()
4300                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4301                         isn't available or managed
4302                 - (device_cleanup): use remove_all_aps()
4303                 - (remove_all_aps): consolidate code removing all APs
4304
4305 2008-04-17  Dan Williams  <dcbw@redhat.com>
4306
4307         * src/nm-serial-device.c
4308           src/nm-serial-device.h
4309                 - (wait_for_reply_got_data): break input into lines, and search each
4310                         line for responses _and_ terminator strings; also make sure that
4311                         the read loop doesn't continue after the timeout is supposed to fire
4312                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4313
4314         * src/nm-gsm-device.c
4315           src/nm-cdma-device.c
4316                 - Send terminators to nm_serial_device_wait_for_reply()
4317
4318 2008-04-16  Dan Williams  <dcbw@redhat.com>
4319
4320         Patch from 陈鑫 <znscnchen@gmail.com>
4321
4322         * src/ppp-manager/nm-pppd-plugin.c
4323                 - (get_credentials): return correct value for success; handle case where
4324                         pppd just does some checking but doesn't want a password
4325                 - (plugin_init): make CHAP work too
4326
4327 2008-04-16  Dan Williams  <dcbw@redhat.com>
4328
4329         Patch from 陈鑫 <znscnchen@gmail.com>
4330
4331         * src/ppp-manager/nm-ppp-manager.c
4332                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4333
4334 2008-04-16  Dan Williams  <dcbw@redhat.com>
4335
4336         Patch from 陈鑫 <znscnchen@gmail.com>
4337
4338         * src/nm-device-802-3-ethernet.c
4339                 - (real_deactivate_quickly): clear the IP interface name on
4340                         deactivation, otherwise the wrong interface might get used later
4341                         for routing and IP management
4342
4343 2008-04-15  Dan Williams  <dcbw@redhat.com>
4344
4345         * libnm-glib/nm-device.c
4346                 - (get_product_and_vendor): handle serial devices correctly
4347                 - (nm_device_update_description): pass device to get_product_and_vendor()
4348
4349 2008-04-15  Dan Williams  <dcbw@redhat.com>
4350
4351         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4352
4353         * src/NetworkManagerSystem.h
4354           src/backends/NetworkManagerArch.c
4355           src/backends/NetworkManagerDebian.c
4356           src/backends/NetworkManagerFrugalware.c
4357           src/backends/NetworkManagerGeneric.c
4358           src/backends/NetworkManagerGeneric.h
4359           src/backends/NetworkManagerGentoo.c
4360           src/backends/NetworkManagerMandriva.c
4361           src/backends/NetworkManagerPaldo.c
4362           src/backends/NetworkManagerRedHat.c
4363           src/backends/NetworkManagerSlackware.c
4364           src/backends/NetworkManagerSuSE.c
4365           src/nm-device.c
4366                 - (nm_generic_device_add_ip6_link_address,
4367                    nm_system_device_add_ip6_link_address): remove
4368
4369 2008-04-15  Dan Williams  <dcbw@redhat.com>
4370
4371         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4372
4373         * src/backends/NetworkManagerArch.c
4374           src/backends/NetworkManagerDebian.c
4375           src/backends/NetworkManagerFrugalware.c
4376           src/backends/NetworkManagerGeneric.c
4377           src/backends/NetworkManagerGeneric.h
4378           src/backends/NetworkManagerGentoo.c
4379           src/backends/NetworkManagerMandriva.c
4380           src/backends/NetworkManagerPaldo.c
4381           src/backends/NetworkManagerRedHat.c
4382           src/backends/NetworkManagerSlackware.c
4383           src/backends/NetworkManagerSuSE.c
4384           src/NetworkManagerSystem.h
4385                 - flush_routes -> flush_ip4_routes
4386                 - flush_addresses -> flush_ip4_addresses
4387
4388         * src/NetworkManagerSystem.c
4389           src/nm-device.c
4390           src/vpn-manager/nm-vpn-connection.c
4391                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4392
4393 2008-04-15  Dan Williams  <dcbw@redhat.com>
4394
4395         Remove exposure of wireless-tools mode types in the API.
4396
4397         * include/NetworkManager.h
4398                 - Define NM80211Mode enum
4399
4400         * introspection/generic-types.xml
4401                 - Describe NM_802_11_MODE enum
4402                 - Remove IW_MODE_* enum
4403
4404         * introspection/nm-access-point.xml
4405           libnm-glib/nm-access-point.c
4406           libnm-glib/nm-access-point.h
4407                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4408
4409         * introspection/nm-device-802-11-wireless.xml
4410           libnm-glib/nm-device-802-11-wireless.c
4411           libnm-glib/nm-device-802-11-wireless.h
4412                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4413
4414         * libnm-util/nm-setting-wireless.c
4415           src/NetworkManagerAP.c
4416           src/NetworkManagerAP.h
4417           src/nm-device-802-11-wireless.c
4418           src/nm-device-802-11-wireless.h
4419           test/nm-tool.c
4420                 - Use NM80211Mode not IW_MODE_*
4421
4422 2008-04-15  Dan Williams  <dcbw@redhat.com>
4423
4424         Enhance nm-online based on a patch from Bill Nottingham.
4425
4426         * test/nm-online.c
4427                 - Add a '-q' option
4428                 - Add help messages and option summary
4429                 - Add long-format options
4430                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4431
4432 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4433
4434         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4435
4436         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4437
4438 2008-04-15  Dan Williams  <dcbw@redhat.com>
4439
4440         * nm-setting-ip4-config.c
4441                 - (ip4_addresses_from_gvalue): handle NULL address array
4442
4443         * nm-setting-8021x.c
4444                 - (verify_tls, verify_ttls): warn on failed verification
4445
4446 2008-04-10  Dan Williams  <dcbw@redhat.com>
4447
4448         * src/nm-gsm-device.c
4449                 - (automatic_registration): accept "+CREG: 0,0"
4450                 - (automatic_registration_response): fail on "+CREG: 0,0"
4451
4452 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4453
4454         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4455
4456 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4457
4458         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4459         Make it compile again by commenting out broken code that at first didn't work and
4460         now didn't compile either.
4461
4462 2008-04-08  Dan Williams  <dcbw@redhat.com>
4463
4464         * libnm-glib/nm-object-cache.c
4465           libnm-glib/nm-settings.c
4466           src/dhcp-manager/nm-dhcp-manager.c
4467           system-settings/plugins/ifcfg-fedora/plugin.c
4468           system-settings/plugins/ifcfg-suse/plugin.c
4469           system-settings/src/nm-system-config-hal-manager.c
4470           libnm-util/nm-utils.c
4471                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4472                         not threadsafe anyway
4473
4474 2008-04-08  Dan Williams  <dcbw@redhat.com>
4475
4476         * system-settings/src/main.c
4477                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4478                         callbacks take a device type too
4479
4480 2008-04-08  Dan Williams  <dcbw@redhat.com>
4481
4482         The system settings service will now create a new default DHCP connection
4483         for wired devices that have no existing applicable connection.
4484
4485         * system-settings/src/nm-system-config-hal-manager.c
4486           system-settings/src/nm-system-config-hal-manager.h
4487                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4488
4489         * system-settings/src/dbus-settings.c
4490           system-settings/src/dbus-settings.h
4491                 - (nm_sysconfig_settings_get_connections): new function
4492                 - (nm_sysconfig_settings_is_device_managed): new function
4493
4494         * system-settings/src/main.c
4495                 - (load_stuff): check for wired devices that need a default connection
4496                 - (get_details_for_udi): get interface and MAC address from HAL
4497                 - (add_default_dhcp_connection): add a default connection for a wired
4498                         device if needed
4499                 - (device_added_cb, device_removed_cb): do the right thing with
4500                         wired devices and their default connections on HAL device events
4501
4502 2008-04-07  Dan Williams  <dcbw@redhat.com>
4503
4504         * libnm-glib/nm-device.c
4505           libnm-glib/nm-device.h
4506                 - Proxy the 'managed' property
4507
4508 2008-04-07  Dan Williams  <dcbw@redhat.com>
4509
4510         * src/nm-gsm-device.c
4511           src/nm-cdma-device.c
4512                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4513                         handler to transition to DISCONNECTED
4514
4515 2008-04-07  Dan Williams  <dcbw@redhat.com>
4516
4517         Patch from Bill Nottingham
4518
4519         * dispatcher-daemon/NetworkManagerDispatcher.c
4520                 - ignore backup/packaging crufy (rh #440143)
4521
4522 2008-04-07  Dan Williams  <dcbw@redhat.com>
4523
4524         * include/NetworkManager.h
4525                 - Remove the DOWN and CANCELLED device states
4526                 - Add UNMANAGED and UNAVAILABLE device states
4527                 - Document the device states
4528
4529         * introspection/nm-device.xml
4530           src/nm-device-interface.c
4531           src/nm-device-interface.h
4532                 - Add the 'managed' property
4533
4534         * test/nm-tool.c
4535                 - (detail_device): print out device state
4536
4537         * src/NetworkManagerSystem.h
4538           src/backends/NetworkManagerArch.c
4539           src/backends/NetworkManagerDebian.c
4540           src/backends/NetworkManagerFrugalware.c
4541           src/backends/NetworkManagerGentoo.c
4542           src/backends/NetworkManagerMandriva.c
4543           src/backends/NetworkManagerPaldo.c
4544           src/backends/NetworkManagerRedHat.c
4545           src/backends/NetworkManagerSlackware.c
4546           src/backends/NetworkManagerSuSE.c
4547                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4548                    nm_system_device_free_system_config): remove; they were unused and
4549                         their functionality should be re-implemented in each distro's
4550                         system settings service plugin 
4551
4552         * src/nm-gsm-device.c
4553           src/nm-gsm-device.h
4554           src/nm-cdma-device.c
4555           src/nm-cdma-device.h
4556                 - (*_new): take the 'managed' argument
4557
4558         * src/nm-device.c
4559                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4560                 - (nm_device_init): start in unmanaged state, not disconnected
4561                 - (constructor): don't start device until the system settings service
4562                         has had a chance to figure out if the device is managed or not
4563                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4564                         don't set device state here, let callers handle that as appropriate
4565                 - (nm_device_dispose): don't touch the device if it's not managed
4566                 - (set_property, get_property, nm_device_class_init): implement the
4567                         'managed' property
4568                 - (nm_device_state_changed): bring the device up if its now managed,
4569                         and deactivate it if it used to be active
4570                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4571                         with the managed state
4572
4573         * src/nm-hal-manager.c
4574                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4575                         take initial managed state and pass it along to device constructors
4576                 - (create_device_and_add_to_list): get managed state and pass to
4577                         type creators
4578
4579         * src/nm-device-802-11-wireless.c
4580                 - (real_can_activate): fold in most of
4581                         nm_device_802_11_wireless_can_activate()
4582                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4583                 - (link_timeout_cb): instead of deactivating, change device state and
4584                         let the device state handler to it
4585                 - (real_update_hw_address): clean up
4586                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4587                         handler to transition to DISCONNECTED if the device isn't rfkilled
4588
4589         * src/nm-device-802-3-ethernet.c
4590                 - (set_carrier): move above callers and get rid of prototype
4591                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4592                         idle handler to transition to DISCONNECTED if the device has a
4593                         carrier
4594                 - (real_update_hw_address): clean up
4595                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4596                         deactivation directly as deactivation doesn't change state anymore
4597
4598         * src/NetworkManagerPolicy.c
4599                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4600                         the NMManager and wireless devices work that out themselves now
4601                 - (device_state_changed): change to a switch and update for new device
4602                         states
4603                 - (device_carrier_changed): remove; device handles this now through
4604                         state changes
4605                 - (device_added): don't care about carrier any more; the initial
4606                         activation check will happen when the device transitions to
4607                         DISCONNECTED
4608
4609         * src/nm-manager.c
4610                 - (dispose): clear unmanaged devices
4611                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4612                         the managed property on each device when needed
4613                 - (system_settings_properties_changed_cb): handle signals from the
4614                         system settings service
4615                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4616                         getting the unmanaged device list method call
4617                 - (query_unmanaged_devices): ask the system settings service for its
4618                         list of unmanaged devices
4619                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4620                         devices
4621                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4622                         devices directly and let them handle the necessary state transitions
4623                 - (manager_device_state_changed): update for new device states
4624                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4625                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4626                 - (nm_manager_activate_connection): return error if the device is
4627                         unmanaged
4628                 - (nm_manager_sleep): handle new device states correctly; don't change
4629                         the state of unavailable/unmanaged devices
4630
4631         * libnm-glib/nm-device-802-11-wireless.c
4632                 - (state_changed_cb): update for new device states
4633
4634 2008-04-07  Dan Williams  <dcbw@redhat.com>
4635
4636         * marshallers/nm-marshal.list
4637                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4638
4639 2008-04-07  Dan Williams  <dcbw@redhat.com>
4640
4641         * system-settings/src/main.c
4642                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4643                         plugins to the dbus settings object
4644                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4645                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4646                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4647                 - (main): switch default logging to syslog with a 'debug' option to
4648                         output to console; start up the HAL manager
4649
4650 2008-04-07  Dan Williams  <dcbw@redhat.com>
4651
4652         * introspection/nm-settings-system.xml
4653           introspection/Makefile.am
4654                 - Define the unmanaged devices interface for the system settings service
4655
4656         * system-settings/src/nm-system-config-hal-manager.c
4657           system-settings/src/nm-system-config-hal-manager.h
4658           system-settings/src/nm-system-config-hal-manager-private.h
4659           system-settings/src/Makefile.am
4660                 - Add a lightweight HAL manager object for tracking network devices for
4661                         the purpose of determining unmanaged devices and which devices need
4662                         the default DHCP connections
4663
4664         * system-settings/src/nm-system-config-interface.c
4665           system-settings/src/nm-system-config-interface.h
4666                 - (nm_system_config_interface_init): add the HAL manager as an argument
4667                 - (nm_system_config_interface_get_unmanaged_devices): implement
4668                 - Define 'unmanaged-devices-changed' signal
4669
4670         * system-settings/src/dbus-settings.c
4671           system-settings/src/dbus-settings.h
4672                 - Implement the unmanaged devices interface; some cleanups
4673
4674         * system-settings/plugins/ifcfg-suse/plugin.c
4675                 - Fixup for plugin interface changes
4676
4677         * system-settings/plugins/ifcfg-fedora/plugin.c
4678                 - (get_ether_device_udi): new function; find the device that has
4679                         a specified MAC address and return its UDI
4680                 - (get_udi_for_connection): new function; try to find the specific
4681                         device a connection is locked to, if any
4682                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4683                         response to HAL events
4684                 - (get_unmanaged_devices): new function; return unmanaged device list
4685                 - (build_one_connection): set the connection's locked device, if any
4686                 - (write_auto_wired_connection): remove
4687                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4688                 - (handle_connection_changed): alert listeners that the unmanaged device
4689                         list has changed
4690                 - (init): fixup for plugin interface changes, implement unmanaged devices
4691
4692         * system-settings/plugins/ifcfg-fedora/parser.c
4693           system-settings/plugins/ifcfg-fedora/parser.h
4694                 - (connection_data_free): clean up connection UDI
4695
4696 2008-04-07  Dan Williams  <dcbw@redhat.com>
4697
4698         * system-settings/plugins/ifcfg-fedora/parser.c
4699                 - (make_ip4_setting): fix parsing of DNS servers
4700
4701 2008-04-05  Dan Williams  <dcbw@redhat.com>
4702
4703         * Makefile.am
4704           configure.in
4705           marshallers/Makefile.am
4706           marshallers/nm-marshal-main.c
4707           marshallers/nm-marshal.list
4708                 - Consolidate marshallers
4709
4710         * libnm-glib/nm-marshal-main.c
4711           libnm-glib/nm-marshal.list
4712           src/marshallers/Makefile.am
4713           src/marshallers/nm-marshal-main.c
4714           src/marshallers/nm-marshal.list
4715                 - Remove
4716
4717         * libnm-glib/Makefile.am
4718           src/Makefile.am
4719           src/dhcp-manager/Makefile.am
4720           src/ppp-manager/Makefile.am
4721           src/supplicant-manager/Makefile.am
4722           src/vpn-manager/Makefile.am
4723                 - Use consolidated marshallers
4724
4725 2008-04-04  Dan Williams  <dcbw@redhat.com>
4726
4727         * src/nm-hal-manager.c
4728           src/nm-hal-manager.h
4729                 - (hal_init): don't look for hardware here
4730                 - (nm_hal_manager_start): new function; look for hardware here instead,
4731                         which can be done at a later time than hal_init()
4732
4733         * src/NetworkManager.c
4734                 - (main): start HAL manager after entering the main loop
4735
4736 2008-04-03  Dan Williams  <dcbw@redhat.com>
4737
4738         * libnm-glib/nm-settings.c
4739           libnm-glib/nm-settings.h
4740             - (nm_exported_connection_get_id): new function
4741                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4742
4743 2008-04-02  Dan Williams  <dcbw@redhat.com>
4744
4745         * src/nm-device-interface.c
4746           src/nm-device-interface.h
4747           src/nm-device.c
4748           src/nm-device.h
4749                 - Rename check_connection_conflicts() to check_connection_compatible()
4750
4751         * src/nm-device-802-11-wireless.c
4752                 - (real_check_connection_conflicts): remove
4753                 - (real_check_connection_compatible): implement; match MAC address
4754
4755         * src/nm-device-802-3-ethernet.c
4756                 - (real_check_connection_conflicts): remove
4757                 - (real_check_connection_compatible): implement; match MAC address
4758                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4759
4760         * src/nm-manager.c
4761                 - (check_connection_allowed): remove; unused until PolicyKit integration
4762                 - (internal_activate_device): check whether the connection is compatible
4763                         with the device before trying to activate it
4764
4765 2008-04-02  Dan Williams  <dcbw@redhat.com>
4766
4767         * system-settings/plugins/ifcfg-fedora/parser.c
4768                 - (read_mac_address): new function; read in MAC address and stuff it
4769                         into the connection
4770                 - (add_one_wep_key): remove debug spew
4771                 - (make_wireless_security_setting): validate the default TX key; don't
4772                         add the wireless-security setting if the connection doesn't need
4773                         security; don't leak the keys shvarFile on error cases
4774                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4775                         address
4776
4777 2008-04-02  Dan Williams  <dcbw@redhat.com>
4778
4779         * libnm-util/nm-setting-connection.c
4780           libnm-util/nm-setting-connection.h
4781                 - (set_property, get_property, nm_setting_connection_class_init): remove
4782                         the 'lockdown' property; it's functionality will be replaced by
4783                         PolicyKit instead
4784
4785 2008-04-01  Dan Williams  <dcbw@redhat.com>
4786
4787         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4788
4789         * configure.in
4790           initscript/Makefile.am
4791           initscript/Mandriva/Makefile.am
4792           initscript/Mandriva/networkmanager.in
4793           initscript/Mandriva/networkmanagerdispatcher.in
4794           src/backends/Makefile.am
4795           src/backends/NetworkManagerMandriva.c
4796           system-settings/plugins/Makefile.am
4797                 - Add Mandriva support
4798
4799 2008-03-31  Dan Williams  <dcbw@redhat.com>
4800
4801         * src/vpn-manager/nm-vpn-service.c
4802                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4803                         errors can be passed back to the caller; also no longer scheduled
4804                         as an idle handler, but called directly; and bump up VPN service
4805                         spawn timeout, 2s is really short
4806                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4807                         but call it directly so that errors are reported on return from
4808                         ActivateConnection() and don't get lost.  If scheduled as an idle
4809                         handler, clients don't have the time to query NM for the new VPN
4810                         connection's properties before the VPN connection is torn down again
4811                         if the service couldn't be launched, and therefore launch errors
4812                         get lost.
4813
4814 2008-03-31  Dan Williams  <dcbw@redhat.com>
4815
4816         * src/vpn-manager/nm-vpn-connection.c
4817                 - (device_state_changed): send correct state on device failure too
4818                 - (plugin_state_changed): failed state means unexpected disconnection,
4819                         thus if the service goes away while the VPN connection is activated
4820                         that's a failure too
4821
4822 2008-03-31  Dan Williams  <dcbw@redhat.com>
4823
4824         * src/vpn-manager/nm-vpn-manager.c
4825           src/vpn-manager/nm-vpn-manager.h
4826                 - Make VPNManager errors more available; add a service-start-failed error
4827
4828 2008-03-31  Dan Williams  <dcbw@redhat.com>
4829
4830         * libnm-glib/nm-client.c
4831           libnm-glib/nm-client.h
4832                 - (activate_cb): pass the new active connection to callback; fix
4833                         message when no callback is specified
4834
4835 2008-03-30  Dan Williams  <dcbw@redhat.com>
4836
4837         * libnm-util/nm-setting-wireless-security.c
4838                 - (need_secrets): only require key0 if the transmit key index is also
4839                         0
4840                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4841
4842 2008-03-29  Dan Williams  <dcbw@redhat.com>
4843
4844         * libnm-util/nm-setting-8021x.c
4845           libnm-util/nm-setting-ip4-config.c
4846           libnm-util/nm-setting-vpn-properties.c
4847           libnm-util/nm-setting-vpn.c
4848           libnm-util/nm-setting-wireless-security.c
4849           libnm-util/nm-setting-wireless.c
4850           libnm-util/nm-utils.c
4851           src/dhcp-manager/nm-dhcp-manager.c
4852           src/nm-activation-request.c
4853           src/nm-ip4-config.c
4854           src/nm-manager.c
4855           src/nm-properties-changed-signal.c
4856           src/ppp-manager/nm-pppd-plugin.c
4857           src/supplicant-manager/nm-supplicant-interface.c
4858           src/vpn-manager/nm-vpn-connection.c
4859                 - consistently use nm-dbus-glib-types.h
4860
4861 2008-03-29  Dan Williams  <dcbw@redhat.com>
4862
4863         * src/vpn-manager/nm-vpn-connection.c
4864                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4865                         not string
4866
4867         * src/nm-activation-request.c
4868                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4869                         not string
4870
4871 2008-03-29  Dan Williams  <dcbw@redhat.com>
4872
4873         * libnm-glib/nm-device-802-11-wireless.c
4874                 - (access_point_added_proxy): create new APs if not found
4875
4876 2008-03-29  Dan Williams  <dcbw@redhat.com>
4877
4878         * libnm-glib/nm-client.c
4879                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4880                         before freeing them
4881
4882 2008-03-29  Dan Williams  <dcbw@redhat.com>
4883
4884         * system-settings/plugins/ifcfg-fedora/parser.c
4885                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4886                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4887
4888 2008-03-29  Dan Williams  <dcbw@redhat.com>
4889
4890         * system-settings/plugins/ifcfg-fedora/parser.c
4891                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4892
4893 2008-03-27  Dan Williams  <dcbw@redhat.com>
4894
4895         * nm-object.c
4896                 - (nm_object_queue_notify): don't notify multiple times for the same
4897                         property
4898
4899         * nm-object-private.h
4900                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4901                         if it has zero elements
4902
4903         * nm-ip4-config.c
4904                 - (finalize): use g_ptr_array_foreach() when freeing domains
4905                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4906
4907         * nm-active-connection.c
4908                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4909
4910         * nm-device-802-11-wireless.c
4911           nm-device-802-11-wireless.h
4912                 - (nm_device_802_11_wireless_get_access_points): return const; use
4913                         handle_ptr_array_return()
4914
4915         * nm-types.c
4916                 - (nm_object_array_demarshal): always create an array, even of length
4917                         zero, to distinguish between "NM returned no items" and "haven't
4918                         asked NM yet"
4919
4920         * nm-client.c
4921                 - (dispose): free active connections too
4922                 - (proxy_name_owner_changed): free active connections too when NM goes
4923                         away
4924                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4925                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4926
4927 2008-03-26  Dan Williams  <dcbw@redhat.com>
4928
4929         Rework VPN connection handling for a more consistent D-Bus API.  The
4930         VPNManager object has been removed, and active VPN connections are now the
4931         same as any other active connection.  The Manager object's ActivateConnection
4932         and DeactivateConnection methods are used to start and stop a VPN connection,
4933         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4934         When activating a VPN connection, pass the path of the active connection
4935         to which the VPN connection is tied in the 'specific_object' argument.
4936
4937         Consequently, the libnm-glib API has been reworked to match this arrangement,
4938         with the VPNManager object removed, and the NMVPNConnection objects now
4939         being subclasses of NMActiveConnection.
4940
4941 2008-03-25  Dan Williams  <dcbw@redhat.com>
4942
4943         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4944
4945         * initscript/Arch/networkmanager.in
4946           initscript/Arch/networkmanager-dispatcher.in
4947                 - Updates for Arch Linux (gnome.org #523701)
4948
4949 2008-03-25  Dan Williams  <dcbw@redhat.com>
4950
4951         * libnm-glib/nm-ip4-config.c
4952           libnm-glib/nm-active-connection.c
4953           libnm-glib/nm-access-point.c
4954                 - Use nm_object_queue_notify() instead of g_object_notify()
4955
4956         * libnm-glib/nm-device.c
4957                 - (demarshal_ip4_config): distinguish between successful but missing
4958                         ip4-config request, and unsuccessful and missing ip4-config request
4959                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4960                         path
4961                 - Use nm_object_queue_notify() instead of g_object_notify()
4962
4963         * libnm-glib/nm-device-802-11-wireless.c
4964                 - (demarshal_active_ap): distinguish between successfull but missing
4965                         active-ap request, and unsuccessful and missing active-ap request
4966                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4967                         code
4968                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4969                         for the NMClient to notify the device that wireless is disabled,
4970                         and therefore to clear the AP list and active AP
4971                 - Use nm_object_queue_notify() instead of g_object_notify()
4972
4973         * libnm-glib/nm-client.c
4974                 - (poke_wireless_devices_with_rf_status): new function
4975                 - (update_wireless_status): notify wireless devices of the rfkill status
4976                         so they can clean up if needed
4977                 - Use nm_object_queue_notify() instead of g_object_notify()
4978
4979 2008-03-25  Dan Williams  <dcbw@redhat.com>
4980
4981         * libnm-glib/nm-object.c
4982           libnm-glib/nm-object-private.h
4983                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4984                         signals to an idle handler
4985                 - (nm_object_get_property): add a timeout to the D-Bus method call
4986
4987 2008-03-25  Dan Williams  <dcbw@redhat.com>
4988
4989         * introspection/nm-device-cdma.xml
4990           introspection/nm-device-gsm.xml
4991           introspection/Makefile.am
4992           introspection/all.xml
4993                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4994
4995         * src/nm-gsm-device.h
4996           src/nm-gsm-device.c
4997           src/nm-cdma-device.h
4998           src/nm-cdma-device.c
4999           src/Makefile.am
5000                 - Implement PropertiesChanged signals
5001
5002         * libnm-glib/nm-cdma-device.c
5003           libnm-glib/nm-cdma-device.c
5004                 - Attach to PropertiesChanged signals
5005
5006 2008-03-24  Dan Williams  <dcbw@redhat.com>
5007
5008         * libnm-glib/nm-client.c
5009                 - (client_device_added_proxy): add new devices to the internal device
5010                         list so they appear to clients
5011
5012 2008-03-24  Dan Williams  <dcbw@redhat.com>
5013
5014         Massive fixup of libnm-glib to:
5015         a) have all objects (with the exception of VPN) cache their properties and
5016                 update them asynchronously on PropertiesChanged signals from NM
5017         b) return internal const data for most attributes/properties instead of
5018                 allocated values that the caller must free
5019         c) cache wrapped objects such that a given D-Bus path will always map to the
5020                 same GObject returned by libnm-glib
5021         d) remove a few signals and move them to GObject property notifications
5022         e) match recent NM D-Bus API changes for activation/deactivation
5023         f) remove some private functions from libnm-glib headers
5024
5025 2008-03-20  Dan Williams  <dcbw@redhat.com>
5026
5027         * src/nm-manager.c
5028                 - (nm_manager_update_state, manager_device_state_changed,
5029                    nm_manager_activate_device, connection_added_default_handler,
5030                    impl_manager_activate_connection, impl_manager_deactivate_connection):
5031                         queue PropertyChanged singals when the active connections change
5032
5033 2008-03-20  Dan Williams  <dcbw@redhat.com>
5034
5035         * introspection/nm-manager.xml
5036           introspection/nm-manager-client.xml
5037                 - (ActivateConnection): return the object path of the active connection
5038                         on success
5039                 - (GetActiveConnections): remove
5040                 - (DeactivateConnection): new function; deactivate a currently active
5041                         connection
5042                 - Add an ActiveConnections property which returns an array of
5043                         active connection object paths
5044
5045         * introspection/nm-device.xml
5046                 - (Deactivate): remove
5047
5048         * introspection/all.xml
5049                 - Add ActiveConnection introspection
5050
5051         * introspection/nm-active-connection.xml
5052                 - Add the ActiveConnection object
5053
5054         * include/NetworkManager.h
5055                 - Add the Connection.Active D-Bus interface
5056
5057         * src/nm-device-interface.c
5058                 - (impl_device_deactivate): remove
5059
5060         * src/nm-activation-request.c
5061           src/nm-activation-request.c
5062           src/Makefile.am
5063                 - Implement the Connection.Active D-Bus interface
5064
5065         * src/nm-manager.c
5066                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5067                 - (nm_manager_activate_device): return the active connection path
5068                 - (connection_added_default_handler, impl_manager_activate_connection):
5069                         return the active connection to the caller
5070                 - (add_one_connection_element, impl_manager_get_active_connections):
5071                         remove
5072                 - (impl_manager_deactivate_connection): new function; deactivate an
5073                         active connection
5074
5075         * libnm-glib/nm-device.c
5076           libnm-glib/nm-device.h
5077                 - Remove Deactivate() function
5078
5079 2008-03-19  Dan Williams  <dcbw@redhat.com>
5080
5081         * introspection/nm-manager.xml
5082           introspection/nm-manager-client.xml
5083                 - Rename the ActivateDevice method to ActivateConnection to better
5084                         reflect it's usage; it's arguments get reordered a bit too
5085                 - Convert GetActiveConnections method return from a struct to a dict
5086
5087         * include/NetworkManager.h
5088                 - Define the dict keys for return value of GetActiveConnections
5089
5090         * src/nm-manager.c
5091                 - impl_manager_activate_device -> impl_manager_activate_connection
5092                 - (add_one_connection_element): return a populated hash table, not
5093                         a structure
5094
5095         * libnm-glib/nm-client.c
5096           libnm-glib/nm-client.h
5097                 - nm_client_activate_device -> nm_client_activate_connection
5098                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5099                 - (nm_client_get_active_connections): return a GSList of GHashTables,
5100                         instead of the custom structures.  Each element of the returned list
5101                         must be freed with nm_client_free_active_connections_element()
5102
5103 2008-03-18  Dan Williams  <dcbw@redhat.com>
5104
5105         * system-settings/plugins/ifcfg-fedora/parser.c
5106           system-settings/plugins/ifcfg-fedora/parser.h
5107           system-settings/plugins/ifcfg-fedora/plugin.c
5108                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5109                         profiles.  DNS servers and searches must now be stored in the ifcfg
5110                         files themselves
5111
5112 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5113
5114         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5115         print out username and password, it's supposed to be a secret.
5116
5117         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
5118         request and set the device state accordingly.
5119
5120 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5121
5122         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5123
5124         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5125
5126 2008-03-18  Dan Williams  <dcbw@redhat.com>
5127
5128         * src/vpn-manager/nm-vpn-connection.c
5129                 - (get_secrets_cb): handle new GetSecrets return format
5130
5131 2008-03-18  Dan Williams  <dcbw@redhat.com>
5132
5133         Adapt system settings service for split 802.1x.
5134
5135         * system-settings/src/nm-system-config-interface.h
5136                 - clarify return value of get_secrets()
5137
5138         * system-settings/src/dbus-settings.c
5139                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5140                 - (check_for_secrets): check if there actually secrets returned by a
5141                         plugin
5142                 - (exported_connection_get_secrets): just return the plugin-returned
5143                         hash of settings' secrets if it looks valid
5144
5145         * system-settings/plugins/ifcfg-fedora/plugin.c
5146                 - (get_secrets): add split secrets with correct format to reply hash
5147
5148         * system-settings/plugins/ifcfg-fedora/parser.c
5149           system-settings/plugins/ifcfg-fedora/parser.h
5150                 - (copy_one_cdata_secret, connection_data_copy_secrets,
5151                    connection_data_free, connection_data_add): keep secrets for
5152                         different settings in different hashes
5153
5154 2008-03-17  Tambet Ingo  <tambet@gmail.com>
5155
5156         Clean up activating device deactivation.
5157
5158         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5159         should be done whether the device activation gets cancelled or the device
5160         is just getting deactivated.
5161         (nm_device_activation_cancel): Remove.
5162         (nm_device_deactivate_quickly): Handle the case where device is activating.
5163
5164         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5165         It does the exact same thing as real_deactivate_quickly().
5166
5167 2008-03-17  Dan Williams  <dcbw@redhat.com>
5168
5169         Split the 802.1x bits out of the wireless-security setting so they are
5170         generalized enough for wired 802.1x to use too.
5171
5172         * introspection/nm-exported-connection.xml
5173                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5174                         of just a hash of the secrets for one setting
5175
5176         * libnm-util/nm-setting-wireless-security.c
5177           libnm-util/nm-setting-wireless-security.h
5178                 - Remove 802.1x-specific stuff
5179                 - Added leap-username and leap-password properties for old-school LEAP
5180
5181         * src/nm-device.c
5182           src/nm-device.h
5183                 - (connection_secrets_updated_cb): take a list of updated settings names,
5184                         not just one
5185
5186         * src/supplicant-manager/nm-supplicant-config.c
5187           src/supplicant-manager/nm-supplicant-config.h
5188                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5189                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5190                         to nm_supplicant_config_add_setting_8021x()
5191                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5192                         the supplicant config
5193
5194         * src/nm-device-802-11-wireless.c
5195                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5196                 - (real_connection_secrets_updated): take a list of updated settings
5197                         names, not just one
5198
5199         * src/nm-device-802-3-ethernet.c
5200           src/nm-cdma-device.c
5201           src/nm-gsm-device.c
5202                 - (real_connection_secrets_updated_cb): take a list of updated settings
5203                         names, not just one
5204
5205         * src/nm-activation-request.c
5206           src/nm-activation-request.h
5207                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5208                         now passes a list of updated settings names, not just one
5209                 - (update_one_setting): new function; handle one updated setting
5210                 - (get_secrets_cb): handle multiple settings returned from the
5211                         settings service; have to be careful of ordering here as there are
5212                         some dependencies between settings (ex. wireless-security and 802.1x
5213                         in some cases)
5214
5215         * src/marshallers/nm-marshal.list
5216                 - new marshaller for connection-secrets-updated signal
5217
5218         * libnm-util/nm-setting-8021x.c
5219                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5220                         methods
5221                 - (verify): a valid 'eap' property is now required
5222
5223         * libnm-util/nm-connection.c
5224                 - (register_default_settings): add priorities to settings; there are
5225                         some dependencies between settings, and during the need_secrets
5226                         calls this priority needs to be respected.  For example, only the
5227                         wireless-security setting knows whether or not the connection is
5228                         going to use 802.1x or now, so it must be asked for secrets before
5229                         any existing 802.1x setting is
5230                 - (nm_connection_lookup_setting_type): expose
5231
5232         * libnm-util/nm-setting-wireless.c
5233                 - (verify): should verify even if all_settings is NULL; otherwise won't
5234                         catch the case where there is missing security
5235
5236         * libnm-util/nm-setting-wireless-security.c
5237                 - Remove everything to do with 802.1x
5238                 - Add old-school LEAP specific properties for username and password
5239                 - (need_secrets): rework LEAP secrets checking
5240                 - (verify): rework for LEAP and 802.1x verification
5241
5242 2008-03-17  Dan Williams  <dcbw@redhat.com>
5243
5244         * src/NetworkManagerPolicy.c
5245                 - (auto_activate_device): always remove the current activation check
5246                         from the pending activation list, otherwise when the policy gets
5247                         destroyed on NM exit it will attempt to free the already freed
5248                         activation check
5249
5250 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5251
5252         * src/backends/NetworkManagerSlackware.c 
5253         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5254
5255         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5256
5257 2008-03-14  Dan Williams  <dcbw@redhat.com>
5258
5259         * src/nm-manager.c
5260                 - (nm_device_interface_get_iface): g_object_get() will return an
5261                         allocated value, so this function must not return const
5262                 - (nm_device_interface_activate): free returned iface
5263
5264 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5265
5266         * libnm-util/Makefile.am: Add new files to build.
5267
5268         * libnm-util/nm-connection.c: Register NMSetting8021x.
5269
5270         * libnm-util/nm-setting-8021x.c
5271         * libnm-util/nm-setting-8021x.h: Implement.
5272
5273 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5274
5275         * libnm-util/Makefile.am: Add new files to build.
5276
5277         * libnm-util/nm-connection.c: Register NMSetting8021x.
5278
5279         * libnm-util/nm-setting-8021x.c
5280         * libnm-util/nm-setting-8021x.h: Implement.
5281
5282 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5283
5284         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5285         data.
5286
5287 2008-03-14  Dan Williams  <dcbw@redhat.com>
5288
5289         * include/wireless-helper.h
5290           include/Makefile.am
5291                 - One place for all the junk needed for #including wireless.h
5292
5293         * test/nm-tool.c
5294           src/NetworkManagerAP.c
5295           src/wpa.c
5296           src/Makefile.am
5297           libnm-util/nm-utils.c
5298           libnm-util/nm-setting-wireless.c
5299           libnm-glib/nm-device-802-11-wireless.c
5300           libnm-glib/nm-access-point.c
5301           libnm-glib/libnm-glib-test.c
5302                 - include wireless-helper.h, not iwlib.h
5303
5304         * configure.in
5305                 - Don't need libiw really, just need to check for wireless.h
5306
5307         * src/kernel-types.h
5308                 - Remove; used types moved into wpa.c
5309
5310         * src/nm-device-802-11-wireless.c
5311                 - (nm_device_802_11_wireless_update_signal_strength,
5312                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5313                    nm_device_802_11_wireless_set_mode,
5314                    nm_device_802_11_wireless_get_frequency,
5315                    nm_device_802_11_wireless_get_ssid,
5316                    nm_device_802_11_wireless_set_ssid,
5317                    nm_device_802_11_wireless_get_bitrate,
5318                    nm_device_802_11_wireless_get_bssid,
5319                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5320                         instead of iwlib functions
5321
5322 2008-03-14  Dan Williams  <dcbw@redhat.com>
5323
5324         * src/ppp-manager/nm-ppp-manager.c
5325                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5326                         should only take the DBusGMethodInvocation argument, not user/pass
5327                         too.  With dbus-glib, async functions only take 2 C arguments since
5328                         the real dbus method arguments get passed back with
5329                         dbus_g_method_return()
5330
5331 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5332
5333         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5334         Adapt the changes of NMSettingIP4Config.
5335
5336 2008-03-13  Dan Williams  <dcbw@redhat.com>
5337
5338         * src/NetworkManagerUtils.c
5339           src/NetworkManagerUtils.h
5340                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5341
5342         * src/NetworkManagerAP.c
5343           src/nm-device-802-11-wireless.c
5344           src/nm-device-802-3-ethernet.c
5345                 - s/iw_ether_ntop/nm_ether_ntop/g
5346
5347 2008-03-13  Dan Williams  <dcbw@redhat.com>
5348
5349         * src/NetworkManagerPolicy.c
5350                 - (update_routing_and_dns): never set the default route through an
5351                         IPv4LL addressed device
5352
5353 2008-03-13  Dan Williams  <dcbw@redhat.com>
5354
5355         * NetworkManagerUtils.c
5356           NetworkManagerUtils.h
5357                 - Remove NMSock stuff
5358                 - Remove the completion stuff
5359
5360         * nm-device.c
5361           nm-device.h
5362           NetworkManager.c
5363           NetworkManagerSystem.c
5364           autoip.c
5365           nm-device-802-11-wireless.c
5366           nm-device-802-3-ethernet.c
5367                 - Remove NMSock and completion stuff
5368                 - Remove nm_ioctl_info()
5369
5370 2008-03-12  Dan Williams  <dcbw@redhat.com>
5371
5372         * src/nm-device.c
5373                 - (merge_ip4_config): avoid duplicates
5374
5375 2008-03-12  Dan Williams  <dcbw@redhat.com>
5376
5377         * libnm-util/nm-setting-ip4-config.c
5378           libnm-util/nm-setting-ip4-config.h
5379                 - Remove 'manual' and 'autoip' properties
5380                 - Add 'method' property
5381                 - (verify): fix verification with 'method'
5382                 - (finalize): free 'method'
5383                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5384                         up for 'method'
5385
5386         * src/nm-device.c
5387                 - (real_act_stage3_ip_config_start): check IP4Config method
5388                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5389                         the future
5390                 - (merge_ip4_config): IP settings are valid with DHCP too
5391                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5392                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5393
5394         * src/nm-device-802-11-wireless.c
5395                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5396                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5397                         only on demand
5398
5399         * system-settings/plugins/ifcfg-fedora/parser.c
5400           system-settings/plugins/ifcfg-suse/parser.c
5401                 - (make_ip4_setting): fix up for 'method'
5402
5403 2008-03-12  Dan Williams  <dcbw@redhat.com>
5404
5405         * system-settings/plugins/ifcfg-fedora/parser.c
5406           system-settings/plugins/ifcfg-fedora/parser.h
5407                 - (get_ifcfg_name): ignore more file suffixes
5408                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5409
5410 2008-03-12  Dan Williams  <dcbw@redhat.com>
5411
5412         * configure.in
5413                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5414
5415 2008-03-12  Dan Williams  <dcbw@redhat.com>
5416
5417         * system-settings/plugins/ifcfg-fedora/plugin.c
5418                 - (write_auto_wired_connection): new function; write out an auto
5419                         wired connection file since the applet isn't doing it any more
5420                 - (reload_all_connections): write out the auto wired connection file
5421                         if there aren't any wired connections already
5422                 - (init): don't leak a GError
5423
5424 2008-03-12  Dan Williams  <dcbw@redhat.com>
5425
5426         * src/nm-device-interface.c
5427                 - (nm_device_interface_activate): print the ID of the connection
5428                         that's about to be activated
5429
5430 2008-03-12  Dan Williams  <dcbw@redhat.com>
5431
5432         Harmonize the 802.11 bitrate API
5433
5434         * introspection/nm-access-point.xml
5435                 - 'Rate' -> 'MaxBitrate'; clarify units
5436
5437         * introspection/nm-device-802-11-wireless.xml
5438                 - Clarify units of 'Bitrate'
5439
5440         * src/NetworkManagerAP.c
5441           src/NetworkManagerAP.h
5442                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5443                         property to 'max-bitrate'
5444                 - (foreach_property_cb): convert rate to Kb/s
5445
5446         * src/nm-device-802-11-wireless.c
5447                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5448
5449         * libnm-glib/nm-access-point.c
5450           libnm-glib/nm-access-point.h
5451                 - 'rate' -> 'max-bitrate'
5452
5453         * test/nm-tool.c
5454           libnm-glib/libnm-glib-test.c
5455                 - Fix up for these changes
5456
5457 2008-03-12  Dan Williams  <dcbw@redhat.com>
5458
5459         * src/nm-device.c
5460                 - (nm_device_set_ip4_config): don't send property notifications when
5461                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5462                         which dbus-glib can't parse because the value is NULL, which isn't
5463                         a legal object path.  Setting the IP4 config to NULL is only
5464                         valid when deactivating a device anyway, so the device state change
5465                         will alert listeners that the ip4 config is invalid.
5466
5467 2008-03-12  Dan Williams  <dcbw@redhat.com>
5468
5469         * src/nm-properties-changed-signal.c
5470                 - (add_to_string): better handling of NULL objects
5471
5472 2008-03-12  Dan Williams  <dcbw@redhat.com>
5473
5474         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5475         convert the libnm-glib NMDevice8023Ethernet to cached properties
5476
5477         * introspection/nm-device-802-3-ethernet.xml
5478                 - New 'Carrier' property
5479                 - New 'PropertiesChanged' signal
5480
5481         * introspection/nm-device.xml
5482                 - Remove 'Carrier' property
5483                 - Remove 'CarrierChanged' signal
5484
5485         * src/nm-device-interface.c
5486           src/nm-device-interface.h
5487                 - (nm_device_interface_init): remove 'carrier' property and
5488                         'carrier-changed' signal
5489
5490         * src/nm-device.c
5491           src/nm-device.h
5492                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5493                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5494                         the link here; wired device will handle that
5495                 - (handle_dhcp_lease_change): don't bother updating link here
5496                 - (get_property, nm_device_class_init): remove carrier property
5497
5498         * src/nm-device-802-11-wireless.c
5499                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5500                         real_update_link(); wireless devices don't use carrier at all
5501                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5502                    supplicant_iface_connection_state_cb_handler,
5503                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5504
5505         * src/nm-device-802-3-ethernet.c
5506           src/nm-device-802-3-ethernet.h
5507                 - (nm_device_802_3_ethernet_carrier_on,
5508                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5509                         instead of nm_device_set_carrier()
5510                 - (device_state_changed): update link from sysfs on activation;
5511                         replaces real_update_link()
5512                 - (real_update_link): remove, replaced by device_state_changed()
5513                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5514                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5515                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5516                         new get_carrier function
5517                 - (get_property): add 'carrier' property
5518                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5519                         hook into property-changed signal helper
5520
5521         * src/NetworkManagerPolicy.c
5522                 - (device_carrier_changed): will only ever be called with a wired device
5523                 - (device_added): only hook up to carrier-changed for wired devices
5524
5525         * libnm-glib/nm-device.c
5526           libnm-glib/nm-device.h
5527                 - (constructor, nm_device_class_init): remove carrier-changed signal
5528                 - (device_carrier_changed_proxy): remove; unused
5529                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5530
5531         * libnm-glib/nm-device-802-3-ethernet.c
5532           libnm-glib/nm-device-802-3-ethernet.h
5533                 - Convert to cached properties like AP and Wireless objects
5534                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5535                         instead of a 'char *', return value should not be freed
5536                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5537                 - (constructor): hook into properties-changed helper
5538                 - (set_property, get_property): new functions
5539                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5540
5541         * test/nm-tool.c
5542                 - (detail_device): strdup the wired hardware address too since it's
5543                         cached now
5544
5545         * libnm-glib/libnm-glib-test.c
5546                 - (dump_wired): strdup the wired hardware address too since it's
5547                         cached now
5548
5549 2008-03-12  Dan Williams  <dcbw@redhat.com>
5550
5551         * libnm-util/nm-setting-ip4-config.c
5552           libnm-util/nm-setting-ip4-config.h
5553                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5554                         the 'autoip' property from the spec
5555
5556 2008-03-11  Dan Williams  <dcbw@redhat.com>
5557
5558         * src/backends/NetworkManagerGeneric.c
5559           src/backends/NetworkManagerGeneric.h
5560                 - (nm_generic_device_get_use_dhcp): remove
5561
5562 2008-03-11  Dan Williams  <dcbw@redhat.com>
5563
5564         * src/nm-device.c
5565                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5566                         already in nm_device_set_ip4_config()
5567                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5568                         due to a DHCP rebind fails
5569                 - (nm_device_set_ip4_config): send property notifications when the
5570                         ip4 config changes
5571                 - (get_property): only report IP4Config property during valid states
5572
5573         * src/NetworkManagerPolicy.c
5574                 - (update_routing_and_dns): ignore devices that don't have an ip4
5575                         config; add parameter 'force_update' to allow callers to specify
5576                         that changes should be made even if the default device doesn't change
5577                 - (device_ip4_config_changed): update DNS and routing when the device's
5578                         IP4Config changes, like for DHCP updates
5579                 - (device_added): listen for ip4-config property changes
5580
5581 2008-03-11  Dan Williams  <dcbw@redhat.com>
5582
5583         Fix address handling as a result of DHCP rebind/renew/reboot.
5584
5585         * src/NetworkManagerSystem.c
5586                 - (check_one_address): delete an address if it doesn't match a given
5587                         one for the same interface
5588                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5589                         be smarter about flushing addresses (only flush ones that don't
5590                         match the one we're about to apply)
5591
5592         * src/backends/NetworkManagerDebian.c
5593           src/backends/NetworkManagerSuSE.c
5594           src/backends/NetworkManagerArch.c
5595           src/backends/NetworkManagerSlackware.c
5596           src/backends/NetworkManagerRedHat.c
5597           src/backends/NetworkManagerPaldo.c
5598           src/backends/NetworkManagerFrugalware.c
5599           src/backends/NetworkManagerGentoo.c
5600                 - (nm_system_delete_default_route): remove
5601
5602         * src/backends/NetworkManagerGeneric.c
5603           src/backends/NetworkManagerGeneric.h
5604                 - (nm_generic_enable_loopback): fix the loopback device label
5605                 - (nm_generic_delete_default_route): remove; no longer used
5606
5607 2008-03-11  Dan Williams  <dcbw@redhat.com>
5608
5609         * src/nm-device-interface.h
5610                 - Delimit property name words with '-', otherwise g_object_notify()
5611                         doesn't work the way we expect
5612
5613 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5614
5615         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5616
5617 2008-03-11  Dan Williams  <dcbw@redhat.com>
5618
5619         * src/NetworkManagerPolicy.c
5620                 - (update_routing_and_dns): don't change anything if the default device
5621                         hasn't changed; print something out when switching the default route
5622                         and DNS
5623
5624 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5625
5626         Implement PPPoE.
5627
5628         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5629         setting. Use "nic-$eth".
5630
5631         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5632         the device is activating here to fix a race condition.
5633
5634         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5635
5636         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5637         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5638         (nm_ppp_manager_start): Take activation request instead of connection, we might
5639         need it for asking secrets.
5640         (nm_ppp_manager_update_secrets): Implement.
5641
5642         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5643         ppp manager start. It might be needed for asking secrets.
5644
5645         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5646         (ppp_state_changed): Handle pppd daemon disappearing.
5647         (pppoe_stage2_config): Send activation request to ppp manager start.
5648
5649         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5650
5651         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5652         username and password.
5653         
5654 2008-03-10  Dan Williams  <dcbw@redhat.com>
5655
5656         * src/nm-device.c
5657                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5658                         response to a DHCP lease change
5659                 - (dhcp_state_changed): handle DHCP lease changes while activated
5660                 - (nm_device_set_ip4_config): remove a previously set named config
5661                         when setting an ip4 config
5662
5663 2008-03-10  Dan Williams  <dcbw@redhat.com>
5664
5665         * src/nm-serial-device.c
5666                 - (nm_serial_device_send_command): report errno on error
5667                 - (get_reply_got_data): limit the size of the overall buffer
5668                 - (wait_for_reply_info_destroy): destroy result string
5669                 - (wait_for_reply_got_data): append received data to an overall buffer
5670                         until timeout, filled buffer, or error instead of keeping a per-call
5671                         buffer.  Some devices send data slowly enough that this function
5672                         gets called multiple times for the same command stream.
5673                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5674                         wait_for_reply_got_data() here
5675
5676 2008-03-10  Dan Williams  <dcbw@redhat.com>
5677
5678         * src/nm-cdma-device.c
5679                 - (do_dial, init_modem): handle errors from
5680                         nm_serial_device_send_command_string()
5681
5682         * src/nm-gsm-device.c
5683                 - (do_dial, manual_registration, automatic_registration_get_network,
5684                    automatic_registration, enter_pin, check_pin, init_modem): handle
5685                         errors from nm_serial_device_send_command_string()
5686
5687 2008-03-10  Dan Williams  <dcbw@redhat.com>
5688
5689         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5690
5691         * src/named-manager/nm-named-manager.c
5692                 - (compute_searches): prefer searches before domains
5693                 - (compute_domain): new function
5694                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5695                 - (merge_one_ip4_config): if there are no searches in the source config,
5696                         merge domains of the source config into the target config
5697                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5698
5699 2008-03-10  Dan Williams  <dcbw@redhat.com>
5700
5701         * src/nm-serial-device.c
5702                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5703                 - (wait_for_reply_got_data): try to handle slower serial devices where
5704                         the reply is broken up into multiple reads by concatenating replies
5705                         together until either an error is received or the search string is
5706                         found
5707
5708 2008-03-10  Dan Williams  <dcbw@redhat.com>
5709
5710         * src/nm-device.c
5711                 - (nm_device_bring_down): deactivate the device if it's activating too,
5712                         not just if it's already activated.  This makes sure that everything
5713                         from an association attempt is cleaned up (like DHCP for example)
5714
5715 2008-03-10  Dan Williams  <dcbw@redhat.com>
5716
5717         * src/nm-serial-device.c
5718                 - (config_fd): report error from TCSETA
5719                 - (nm_serial_device_open): fail when config_fd() fails
5720
5721 2008-03-10  Dan Williams  <dcbw@redhat.com>
5722
5723         * src/nm-ip4-config.c
5724                 - (nm_ip4_config_init): allocate searches list
5725                 - (finalize): free searches list
5726
5727 2008-03-09  Dan Williams  <dcbw@redhat.com>
5728
5729         Patch from Bas Zoetekouw <bas@debian.org>
5730
5731         * src/dhcp-manager/nm-dhcp-manager.c
5732                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5733
5734 2008-03-09  Dan Williams  <dcbw@redhat.com>
5735
5736         Patch from Bas Zoetekouw <bas@debian.org>
5737
5738         * src/nm-ip4-config.c
5739           src/nm-ip4-config.h
5740                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5741                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5742                         domains.  'searches' is the correct way to store multiple search
5743                         domains, whereas 'domains' is really just supposed to store one
5744                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5745                         search domains to the client.
5746                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5747
5748 2008-03-09  Dan Williams  <dcbw@redhat.com>
5749
5750         * src/dhcp-manager/nm-dhcp-manager.c
5751                 - (dhclient_run): send interface-specific config files to dhclient
5752
5753 2008-03-07  Dan Williams  <dcbw@redhat.com>
5754
5755         * system-settings/plugins/ifcfg-fedora/parser.c
5756                 - (is_wireless_device): new function; test a device for wireless
5757                         extensions
5758                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5759                         test the device for wireless extensions to determine the type
5760
5761 2008-03-07  Dan Williams  <dcbw@redhat.com>
5762
5763         Change manager's StateChange signal to StateChanged for consistency.
5764
5765         * introspection/nm-manager.xml
5766                 - Add 'StateChanged' signal
5767                 - Move 'StateChange' down to the deprecated section
5768
5769         * src/nm-hal-manager.c
5770                 - (nm_hal_manager_new): connect to 'state-changed' instead
5771
5772         * src/NetworkManagerPolicy.c
5773                 - (nm_policy_new): connect to 'state-changed' instead
5774
5775         * src/nm-manager.c
5776           src/nm-manager.h
5777                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5778                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5779                         of 'state-change'
5780
5781         * libnm-glib/nm-client.c
5782           libnm-glib/nm-client.h
5783                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5784                         track and proxy 'state-changed' instead of 'state-change'
5785
5786 2008-03-07  Dan Williams  <dcbw@redhat.com>
5787
5788         First pass of multiple active device support.  Expect bugs.
5789
5790         * src/nm-ip4-config.c
5791           src/nm-ip4-config.h
5792                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5793                         there are better ways to do this in the named manager
5794
5795         * src/nm-device.c
5796           src/nm-device.h
5797                 - (nm_device_can_activate): return whether the device can activate a
5798                         connection right now; taking into account things like carrier state
5799                         and rfkill state
5800                 - (nm_device_get_best_auto_connection): renamed from
5801                         nm_device_get_best_connection
5802                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5803                         device subclasses themselves, so that each device can override the
5804                         MTU from it's NMSetting subclass if needed
5805                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5806                         in NetworkManagerSystem.c, not here
5807
5808         * src/named-manager/nm-named-manager.c
5809           src/named-manager/nm-named-manager.h
5810                 - (nm_named_manager_name_owner_changed,
5811                    nm_named_manager_dbus_connection_changed): fix for changes to
5812                         rewrite_resolv_conf()
5813                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5814                         from parameter list
5815                 - (merge_one_ip4_config): new function; merge ip4 configs together
5816                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5817                         ip4 configs; the VPN config takes precedence, then the best
5818                         device config, then the rest of the configs
5819                 - (get_domain_for_config): take the NMNamedManager as an argument
5820                         to check whether the config is the VPN config
5821                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5822                         attribute from ip4 configs
5823                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5824                 - (remove_ip4_config_from_named): fix for changes to
5825                         get_domain_for_config()
5826                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5827                         based on its type; callers must pass in the type now
5828                 - (get_last_default_domain): remove, unused
5829                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5830
5831         * src/nm-device-802-11-wireless.c
5832                 - (real_can_activate): new function
5833                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5834                 - (real_act_stage4_get_ip4_config): handle MTU override
5835
5836         * src/nm-device-802-3-ethernet.c
5837                 - (real_can_activate): new function
5838                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5839                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5840
5841         * src/vpn-manager/nm-vpn-connection.c
5842                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5843                         attribute on the ip4 config
5844
5845         * src/NetworkManagerPolicy.c
5846                 - (nm_policy_auto_get_best_device): remove
5847                 - (nm_policy_device_change_check): remove
5848                 - (update_default_route): new function; set the default route via
5849                         the specified device
5850                 - (get_device_priority): new function; return the priority number of
5851                         a device type WRT which one should have the default route.  Order is
5852                         (highest to lowest)  wired, wireless, GSM, CDMA.
5853                 - (update_routing_and_dns): new function; determine which device should
5854                         have the default route, then update the routing table and DNS
5855                 - (maybe_auto_activate_device): new function; if a device is now
5856                         available for activation, find out what connection it would like to
5857                         activate and do it
5858                 - (schedule_activate_check): new function; if a device can be activated
5859                         now, schedule the activation.  Each device may have only one
5860                         pending activation at a given time.
5861                 - (device_state_changed): if activation was canceled, try again,
5862                         possibly with another connection; if the device was activated,
5863                         update routing and DNS; if the device was deactivated, try again
5864                         with another connection
5865                 - (device_carrier_changed): if there is no carrier, deactivate the
5866                         device; otherwise schedule an activation check for the device
5867                 - (wireless_networks_changed): schedule an activation check for the
5868                         device
5869                 - (device_added): keep track of the signal handler IDs so they can
5870                         be removed when the device goes away
5871                 - (device_removed): remove any signal handlers that might be attached
5872                         to the device; update routing and DNS
5873                 - (schedule_activate_all): new function
5874                 - (connections_added, connection_added, connection_updated): when
5875                         connections change, schedule all devices for an activation check
5876                 - (connection_removed): when a device is deactivated because its
5877                         connection was removed, schedule another activation check for it
5878                 - (nm_policy_destroy): destroy pending activations and disconnect
5879                         all device signal handlers
5880
5881         * src/nm-manager.c
5882                 - (nm_manager_activate_device): if the device was already actived,
5883                         deactivate it
5884                 - (deactivate_old_device): remove
5885                 - (connection_added_default_handler, impl_manager_activate_device):
5886                         don't deactivate other devices when activating this one
5887
5888         * src/backends/NetworkManagerGentoo.c
5889           src/backends/NetworkManagerFrugalware.c
5890           src/backends/NetworkManagerPaldo.c
5891           src/backends/NetworkManagerRedHat.c
5892           src/backends/NetworkManagerSlackware.c
5893           src/backends/NetworkManagerArch.c
5894           src/backends/NetworkManagerSuSE.c
5895           src/backends/NetworkManagerDebian.c
5896                 - (nm_system_get_mtu): remove; MTU should be provided through the
5897                         distro's system settings service plugin instead
5898                 - (nm_system_device_add_default_route_via_device): remove
5899                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5900                 - (nm_system_device_replace_default_route): new function; call
5901                         generic implementation
5902
5903         * src/backends/NetworkManagerGeneric.c
5904           src/backends/NetworkManagerGeneric.h
5905                 - (nm_generic_device_add_default_route_via_device,
5906                    nm_generic_device_add_default_route_via_device_with_iface): remove
5907                 - (nm_generic_device_replace_default_route): replace the default route
5908                         with the given route via some gateway
5909
5910         * src/NetworkManagerSystem.c
5911           src/NetworkManagerSystem.h
5912                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5913                         to routing and DNS; but set the MTU here
5914                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5915                         ip_iface of the active device; use the standard MTU setting function
5916                 - (nm_system_set_mtu): remove
5917                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5918
5919 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5920
5921         Rework the interaction between ppp manager and pppd plugin. Register a well
5922         known DBUS service in manager and let the plugin call it's methods instead
5923         of listening plugin's signals.
5924
5925         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5926         of emitting signals.
5927
5928         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5929
5930         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5931
5932         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5933         nm_ppp_manager_start().
5934
5935         * introspection/nm-ppp-manager.xml: New file.
5936
5937         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5938         the case correctly where driver is trying to send -1 for the speed, which gets
5939         casted to u16 and thus is always > 0.
5940
5941 2008-03-07  Dan Williams  <dcbw@redhat.com>
5942
5943         * src/nm-hal-manager.c
5944                 - (nm_get_device_driver_name): use net.originating_device first, fall
5945                         back to physical device.  HAL has deprecated physical_device.
5946
5947         * libnm-glib/nm-device.c
5948                 - (get_product_and_vendor): use net.originating_device first, fall
5949                         back to physical device.  HAL has deprecated physical_device.
5950                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5951
5952 2008-03-07  Dan Williams  <dcbw@redhat.com>
5953
5954         * src/nm-netlink.c
5955                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5956                         last commit; fix that
5957                 - (get_link_cache): print error string
5958
5959 2008-03-07  Dan Williams  <dcbw@redhat.com>
5960
5961         * src/nm-netlink.c
5962                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5963                         don't need this hack any more (Benoit Boissinot)
5964
5965 2008-03-06  Dan Williams  <dcbw@redhat.com>
5966
5967         * autogen.sh
5968                 - Die gnome-common, die
5969
5970 2008-03-04  Dan Williams  <dcbw@redhat.com>
5971
5972         Patch from Michael Biebl <biebl@debian.org>
5973
5974         * NetworkManager.pc.in
5975                 - doesn't actually depend on dbus-1
5976
5977         * libnm-util/nm-utils.h
5978                 - remove unused #include <dbus/dbus.h>
5979
5980         * libnm-glib/libnm_glib.pc.in
5981                 - depends on glib and dbus-glib
5982
5983 2008-03-02  Dan Williams  <dcbw@redhat.com>
5984
5985         * src/NetworkManagerPolicy.c
5986                 - s/device_state_changed_idle_id/update_state_id/
5987
5988 2008-03-02  Dan Williams  <dcbw@redhat.com>
5989
5990         * src/nm-device.c
5991           src/nm-device.h
5992           src/nm-device-802-11-wireless.c
5993           src/nm-device-802-3-ethernet.c
5994           src/NetworkManagerPolicy.c
5995                 - s/link_active/carrier
5996                 - nm_device_set_active_link() -> nm_device_set_carrier()
5997                 - nm_device_has_active_link() -> nm_device_get_carrier()
5998
5999 2008-03-02  Dan Williams  <dcbw@redhat.com>
6000
6001         * system-settings/plugins/ifcfg-fedora/parser.c
6002                 - (make_wireless_setting): fail connection creation on missing SSID
6003
6004 2008-02-29  Dan Williams  <dcbw@redhat.com>
6005
6006         * src/NetworkManagerPolicy.c
6007                 - (nm_policy_device_change_check): ensure that a previously active
6008                         device with a system connection has a link before denying a switch
6009                         to a user connection
6010
6011 2008-02-29  Dan Williams  <dcbw@redhat.com>
6012
6013         * src/nm-device-802-11-wireless.c
6014                 - (link_timeout_cb): try again if scanning; deactivate the device when
6015                         activated if the link dies
6016                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
6017                         15 seconds
6018
6019 2008-02-29  Dan Williams  <dcbw@redhat.com>
6020
6021         * src/nm-device-802-11-wireless.c
6022           src/nm-device-802-11-wireless.h
6023                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
6024                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
6025                 - (device_cleanup): reset the scan interval lower when the device
6026                         deactivates
6027                 - (can_scan): base decision mostly off device state, not supplicant
6028                         interface state since the supplicant interface state isn't a
6029                         great indicator of whether the device is active or not
6030                 - (request_wireless_scan): clean up; schedule the next scan here
6031                 - (schedule_scan): only back the scan interval off if a new scan
6032                         actually gets scheduled; and make scan intervals tighter when the
6033                         device is disconnected
6034                 - (supplicant_iface_state_cb_handler): fold in the bits of
6035                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
6036                         interval to minimum
6037                 - (activation_success_handler): reset scan interval to something
6038                         reasonable 
6039
6040 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
6041
6042         reviewed by: Steev <steev@steev.net>
6043
6044         * configure.in:
6045         * src/backends/NetworkManagerGentoo.c:
6046         (nm_system_restart_mdns_responder):
6047                 Howl is no longer a supported mDNS provider
6048
6049 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6050
6051         Get rid of a bunch of unused distro specific functions.
6052
6053 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6054
6055         Implement suse plugin for system settings daemon.
6056
6057         * system-settings/plugins/ifcfg-suse/*: Implement.
6058
6059         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6060         suse.
6061
6062         * configure.in: Check (without failing) for gio.
6063         Create ifcfg-suse plugin's Makefile.
6064
6065 2008-02-20  Dan Williams  <dcbw@redhat.com>
6066
6067         * libnm-util/nm-connection.c
6068           libnm-util/nm-connection.h
6069                 - (nm_connection_compare): accept compare flags and pass them to the
6070                         setting compare function
6071
6072         * libnm-util/nm-setting.c
6073           libnm-util/nm-setting.h
6074                 - (nm_setting_compare): accept compare flags; ignore properties that are
6075                         marked fuzzy
6076
6077         * libnm-util/nm-setting-connection.c
6078           libnm-util/nm-setting-wireless.c
6079           libnm-util/nm-setting-ppp.c
6080           libnm-util/nm-setting-wired.c
6081                 - Mark some setting properties as ignorable when doing a fuzzy compare
6082
6083         * src/nm-device.c
6084                 - (device_activation_precheck): use exact compare
6085
6086 2008-02-20  Dan Williams  <dcbw@redhat.com>
6087
6088         * src/NetworkManagerPolicy.c
6089                 - (nm_policy_device_change_check): get scope off the connection, not
6090                         using the manager helper
6091
6092         * src/nm-manager.c
6093           src/nm-manager.h
6094                 - (get_scope_for_proxy): rename from get_type_for_proxy()
6095                 - (connection_get_settings_cb): set scope and path on connection, not
6096                         using GObject data items
6097                 - (get_connection_for_proxy): don't need to return path, since that
6098                         can be gotten from the connection
6099                 - (get_connection_for_proxy): get path off the connection, not from
6100                         parameters
6101                 - (connection_removed_cb, connection_updated_cb): don't need to get
6102                         path from get_connection_for_proxy(); get scope off the connection
6103                         instead of using GObject data items
6104                 - (connection_added_default_handler, add_one_connection_element): use
6105                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6106                 - (nm_manager_get_connection_dbus_path): remove
6107                 - (nm_manager_get_connection_scope): remove
6108
6109 2008-02-20  Dan Williams  <dcbw@redhat.com>
6110
6111         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6112                 on confusing names
6113
6114         * Add 'path' and 'scope' properties to NMConnection since both NM and the
6115                 applet were having to hack this in anyway.  Remove the 'path' stuff from
6116                 NMExportedConnection
6117
6118         * Internally rename NMConnectionType -> NMConnectionScope
6119
6120         * Provide default implementations of the 'get_id' and 'get_settings' methods
6121                 of NMExportedConnection
6122
6123 2008-02-15  Dan Williams  <dcbw@redhat.com>
6124
6125         * src/nm-device-802-11-wireless.c
6126                 - (device_cleanup): release the AP list here too so that the AP list
6127                         doesn't survive across suspend/resume and up/down.  There is some
6128                         room for optimization, for example blow the list away when the card
6129                         brought back up, but only if the device has only been down for a
6130                         minute or more.
6131
6132 2008-02-15  Dan Williams  <dcbw@redhat.com>
6133
6134         * src/nm-hal-manager.c
6135                 - (modem_device_creator): recognize new HAL modem capabilities
6136
6137 2008-02-12  Dan Williams  <dcbw@redhat.com>
6138
6139         * system-settings/plugins/ifcfg-fedora/plugin.c
6140                 - (watch_path): handle IN_DELETE_SELF too
6141                 - (handle_connection_changed): notify when removing a connection
6142                 - (stuff_changed): don't warn on unknown inotify watches; handle the
6143                         case of a file moving out of the profile directory
6144
6145 2008-02-12  Dan Williams  <dcbw@redhat.com>
6146
6147         * system-settings/plugins/ifcfg-fedora/parser.c
6148                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6149
6150 2008-02-12  Dan Williams  <dcbw@redhat.com>
6151
6152         * libnm-util/nm-utils.c
6153                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6154                         just any empty array
6155
6156 2008-02-12  Dan Williams  <dcbw@redhat.com>
6157
6158         * system-settings/src/nm-system-config-interface.c
6159           system-settings/src/nm-system-config-interface.h
6160                 - (load_connections): get_connections() should now return an allocated
6161                         GSList that the system settings service will free
6162
6163         * system-settings/plugins/ifcfg-fedora/plugin.c
6164           system-settings/plugins/ifcfg-fedora/parser.h
6165           system-settings/plugins/ifcfg-fedora/parser.c
6166                 - Fix up inotify issues; handle keys-* files, handle new files appearing
6167                         in the profile directory, handle resolv.conf file changes
6168
6169 2008-02-10  Dan Williams  <dcbw@redhat.com>
6170
6171         * src/nm-device-802-3-ethernet.c
6172                 - (real_bring_up): save the supplicant interface state signal id
6173                 - (real_bring_down): disconnect from the supplicant interface state
6174                         signal
6175
6176 2008-02-07  Dan Williams  <dcbw@redhat.com>
6177
6178         * initscript/RedHat/NetworkManager.in
6179           initscript/RedHat/NetworkManagerDispatcher.in
6180                 - Add new-style LSB init headers
6181
6182 2008-02-07  Dan Williams  <dcbw@redhat.com>
6183
6184         * system-settings/src/dbus-settings.c
6185           system-settings/src/dbus-settings.h
6186                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6187                         table of secrets
6188                 - (connection_settings_get_secrets): consolidate error returns into
6189                         one place; use the new get_secrets() plugin interface function to
6190                         get secrets from the plugin itself rather than using GObject data
6191                         magic
6192
6193         * system-settings/src/main.c
6194                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6195                    load_connections): keep a private list of the plugin-returned
6196                         connections, don't use the plugin's GSList
6197
6198         * system-settings/plugins/ifcfg-fedora/plugin.c
6199                 - (watch_path): watch the path, not the filename (duh)
6200                 - (reload_all_connections): use the direct hash/equal functions; the
6201                         ones for int aren't appropriate here
6202                 - (get_secrets, system_config_interface_init): implement the
6203                         get_secrets() function
6204                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6205                         now in the connection's ConnectionData instead of being a GObject
6206                         data property
6207                 - (handle_profile_item_changed): ifcfg file path is now in the
6208                         connection's ConnectionData instead of being a GObject data property;
6209                         be sure to copy secrets over from the new connection to the existing
6210                         connection when updating the connection's settings
6211                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6212                         file descriptor
6213
6214         * system-settings/plugins/ifcfg-fedora/parser.c
6215           system-settings/plugins/ifcfg-fedora/parser.h
6216                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6217                    connection_data_copy_secrets, connection_data_free,
6218                    connection_data_add): new functions; connection data manipulation
6219                 - (make_wireless_security_setting): stuff secrets into the
6220                         connection data, not as GObject data items; make sure to close
6221                         the keys ifcfg file
6222                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6223                         connection data to the connection
6224
6225 2008-02-07  Dan Williams  <dcbw@redhat.com>
6226
6227         * system-settings/src/nm-system-config-interface.c
6228           system-settings/src/nm-system-config-interface.h
6229                 - Add a get_secrets() interface function to retrieve secrets for a
6230                         specific setting of a specific connection.  Document the interface
6231                         a bit more too.
6232
6233 2008-02-07  Dan Williams  <dcbw@redhat.com>
6234
6235         * src/nm-device-802-11-wireless.c
6236                 - (handle_auth_or_fail): new function; consolidate device activation
6237                         failure check after a certain number of failures getting secrets
6238                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6239                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6240                         the connection if secrets were requested more than a few times
6241                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6242                         tries here; otherwise they are cleared before the IP configure
6243                         timeout, which happens with open system WEP when key is wrong
6244                 - (activation_success_handler): clear wireless secrets tries here too
6245
6246 2008-02-07  Dan Williams  <dcbw@redhat.com>
6247
6248         * src/NetworkManagerPolicy.c
6249                 - (connection_updated): clear invalid tag when connection gets updated
6250                         to allow that connection to be tried again
6251                 - (nm_policy_new): save signal ids so they can be disconnected when
6252                         the policy is destroyed
6253                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6254                         and disconnect all signals from the manager object so that none
6255                         of the policy functions gets called after the policy is destroyed
6256
6257 2008-02-06  Dan Williams  <dcbw@redhat.com>
6258
6259         * src/nm-manager.c
6260                 - (finalize): remove devices a bit earlier; clean up system settings
6261                         poke
6262                 - (nm_manager_name_owner_changed): clean up system settings poke when
6263                         the service appears, and try to restart it if it fails
6264                 - (poke_system_settings_daemon_cb): try to get the system settings
6265                         service started through D-Bus service activation
6266                 - (initial_get_connections): start the system settings daemon if it's
6267                         not already running
6268
6269 2008-02-05  Dan Williams  <dcbw@redhat.com>
6270
6271         * src/supplicant-manager/nm-supplicant-config.c
6272                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6273                         broadcast networks too
6274
6275 2008-02-04  Dan Williams  <dcbw@redhat.com>
6276
6277         * system-settings/plugins/ifcfg-fedora/parser.c
6278                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6279                         need key_mgmt set too
6280                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6281                         .bak files; ensure that an error is set whenever NULL gets returned
6282
6283 2008-02-04  Dan Williams  <dcbw@redhat.com>
6284
6285         * system-settings/src/Makefile.am
6286                 - Install D-Bus service activation file for the system settings
6287                         service
6288
6289         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6290                 - D-Bus service activation file for system settings service
6291
6292 2008-02-04  Dan Williams  <dcbw@redhat.com>
6293
6294         * system-settings/src/main.c
6295                 - (parse_config_file): parse a config file
6296                 - (main): accept --config option and read plugins from config file
6297
6298 2008-02-04  Dan Williams  <dcbw@redhat.com>
6299
6300         * system-settings/plugins/ifcfg-fedora/plugin.c
6301                 - Change reported name to 'ifcfg-fedora'
6302                 - Use IFCFG_PLUGIN_NAME
6303
6304         * system-settings/plugins/ifcfg-fedora/plugin.c
6305                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6306
6307 2008-02-04  Dan Williams  <dcbw@redhat.com>
6308
6309         * system-settings/plugins/ifcfg-fedora/parser.c
6310                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6311                 - (make_connection_setting): use get_ifcfg_name()
6312                 - (make_wireless_security_setting): handle shadow key files
6313                 - (get_one_wep_key): treat empty string as NULL
6314
6315 2008-02-04  Dan Williams  <dcbw@redhat.com>
6316
6317         * src/supplicant-manager/nm-supplicant-manager.c
6318                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6319                         glib automatically reschedule
6320                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6321                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6322                         the supplicant
6323
6324 2008-02-01  Dan Williams  <dcbw@redhat.com>
6325
6326         * src/NetworkManagerPolicy.c
6327                 - (device_state_changed): schedule a change check when a device gets
6328                         deactivated so something happens if you disconnect GSM/CDMA
6329
6330 2008-01-31  Dan Williams  <dcbw@redhat.com>
6331
6332         * src/nm-device-802-11-wireless.h
6333           src/nm-device-802-11-wireless.c
6334                 - (ap_list_get_ap_by_ssid, is_associated,
6335                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6336                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6337                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6338                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6339                         function
6340
6341 2008-01-30  Dan Williams  <dcbw@redhat.com>
6342
6343         * system-settings/plugins/ifcfg
6344         * system-settings/plugins/ifcfg-fedora
6345                 - Move the ifcfg plugin to ifcfg-fedora
6346
6347 2008-01-24  Dan Williams  <dcbw@redhat.com>
6348
6349         * libnm-glib/nm-device-802-11-wireless.c
6350                 - (get_access_point): move the "/" check here; check for invalid path
6351                         too
6352                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6353                         to get_access_point()
6354                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6355                         to send signals for non-existent access points
6356
6357 2008-01-24  Dan Williams  <dcbw@redhat.com>
6358
6359         * libnm-glib/nm-device-802-11-wireless.c
6360                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6361
6362 2008-01-23  Dan Williams  <dcbw@redhat.com>
6363
6364         * libnm-glib/libnm_glib.c
6365                 - (libnm_glib_init): make thread joinable
6366                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6367
6368 2008-01-23  Dan Williams  <dcbw@redhat.com>
6369
6370         * test/libnm_glib_test.c
6371                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6372                 - (main): set up signal handlers; call libnm_glib_shutdown
6373
6374 2008-01-21  Dan Williams  <dcbw@redhat.com>
6375
6376         * include/NetworkManager.h
6377                 - Add CDMA mobile broadband card device type
6378
6379         * src/nm-hal-manager.c
6380                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6381                         must now be tagged with 'cdma' or 'gsm' capability
6382
6383         * src/nm-cdma-device.c
6384           src/nm-cdma-device.h
6385           src/Makefile.am
6386                 - Add the CDMA mobile broadband card device class
6387
6388         * libnm-util/nm-connection.c
6389                 - (register_default_settings): add NMSettingCdma
6390
6391         * libnm-util/nm-setting-cdma.c
6392           libnm-util/nm-setting-cdma.h
6393           libnm-util/Makefile.am
6394                 - Add the CDMA mobile broadband card setting class
6395
6396         * libnm-glib/nm-cdma-device.c
6397           libnm-glib/nm-cdma-device.h
6398           libnm-glib/Makefile.am
6399                 - Add the CDMA mobile broadband card GLib proxy class
6400
6401         * libnm-glib/nm-client.c
6402                 - (get_device): handle CDMA devices too
6403
6404 2008-01-21  Dan Williams  <dcbw@redhat.com>
6405
6406         * src/ppp-manager/nm-ppp-manager.c
6407                 - (ip4_config_get): set peer address too
6408
6409         * src/ppp-manager/nm-pppd-plugin.c
6410                 - (nm_ip_up): try harder to get the peer's address
6411
6412         * src/NetworkManagerSystem.c
6413                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6414                         address, use that too.  Otherwise, some PPP connections won't work.
6415
6416 2008-01-19  Dan Williams  <dcbw@redhat.com>
6417
6418         * src/NetworkManagerPolicy.c
6419                 - (nm_policy_device_change_check): system connections override user
6420                         connections; don't activate a user connection if there's a currently
6421                         active system connection, and new, better system connections always
6422                         interrupt user connections
6423
6424 2008-01-19  Dan Williams  <dcbw@redhat.com>
6425
6426         * src/nm-manager.h
6427                 - (nm_manager_get_connection_type): new function
6428
6429 2008-01-19  Dan Williams  <dcbw@redhat.com>
6430
6431         * src/nm-device-802-11-wireless.c
6432                 - (real_get_best_connection): collapse find_best_connection() into this
6433                         function
6434
6435 2008-01-19  Dan Williams  <dcbw@redhat.com>
6436
6437         * src/nm-device-802-3-ethernet.c
6438                 - (real_get_best_connection): collapse find_best_connection() into this
6439                         function
6440
6441 2008-01-18  Dan Williams  <dcbw@redhat.com>
6442
6443         * src/nm-device-802-3-ethernet.c
6444                 - (find_best_connection): check MAC address too
6445                 - (real_get_best_connection): let autoconnect=True connections activate
6446                         for devices that don't have carrier detection
6447
6448         * src/nm-device-802-11-wireless.c
6449                 - (find_best_connection): check MAC address too
6450
6451 2008-01-18  Dan Williams  <dcbw@redhat.com>
6452
6453         * system-settings/plugins/ifcfg/parser.c
6454                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6455
6456 2008-01-17  Dan Williams  <dcbw@redhat.com>
6457
6458         * src/nm-device-802-3-ethernet.c
6459                 - (nm_device_802_3_ethernet_carrier_on,
6460                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6461                         carrier events that might come in for devices that don't support
6462                         carrier detect
6463
6464 2008-01-17  Dan Williams  <dcbw@redhat.com>
6465
6466         * src/nm-device-interface.c
6467                 - (nm_device_interface_check_connection_conflicts): need to actually
6468                         get the interface, not cast to the object
6469
6470         * src/nm-device.c
6471                 - (nm_device_check_connection_conflicts): need to get the device class,
6472                         not cast the device to the device class
6473
6474 2008-01-17  Dan Williams  <dcbw@redhat.com>
6475
6476         * src/nm-device-802-11-wireless.c
6477                 - (real_check_connection_conflicts): ignore connections that aren't
6478                         wireless connections
6479
6480 2008-01-17  Dan Williams  <dcbw@redhat.com>
6481
6482         * src/NetworkManagerPolicy.c
6483                 - (nm_policy_device_change_check): clear change check idle here
6484                 - (device_change_check_done): remove
6485                 - (schedule_change_check): simplify
6486
6487 2008-01-17  Dan Williams  <dcbw@redhat.com>
6488
6489         * src/nm-manager.c
6490                 - (check_connection_allowed): take an NMDeviceInterface instead of
6491                         an NMDevice object as an argument
6492                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6493                         check_connection_allowed()
6494
6495 2008-01-13  Dan Williams  <dcbw@redhat.com>
6496
6497         * libnm-glib/nm-device-802-11-wireless.c
6498                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6499
6500 2008-01-12  Dan Williams  <dcbw@redhat.com>
6501
6502         * src/nm-device-802-11-wireless.c
6503                 - (activation_success_handler): if a match was found in the scan list
6504                         and that match is a hidden AP, update that AP's SSID
6505
6506 2008-01-11  Dan Williams  <dcbw@redhat.com>
6507
6508         * src/NetworkManagerAP.c
6509                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6510
6511         * src/nm-device-802-11-wireless.c
6512                 - (get_active_ap): do two passes over the scan list if the caller
6513                         requests that hidden APs get matched too; during the second pass
6514                         when matching hidden APs, ignore the SSID since hidden APs in the
6515                         scan list don't have an SSID yet
6516                 - (periodic_update): move some checks to
6517                         nm_device_802_11_periodic_update() because not all callers need them
6518                 - (nm_device_802_11_periodic_update): move some checks here from
6519                         perodic_update()
6520                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6521                         matching on incoming scan results, because the fake AP's flags
6522                         might be slightly different (yet still compatible) with the incoming
6523                         scan result's flags and they might actually be the same AP; update
6524                         the rate on merged APs too
6525                 - (activation_success_handler): update the frequency of the fake AP
6526                         on successful connection; match hidden APs too since if the
6527                         current AP is fake, there might already be a scan result in the
6528                         scan list for the desired AP, just without it's SSID filled in yet
6529
6530 2008-01-10  Dan Williams  <dcbw@redhat.com>
6531
6532         * src/NetworkManagerAP.c
6533                 - (foreach_property_cb): catch more hidden SSID formats
6534
6535 2008-01-10  Dan Williams  <dcbw@redhat.com>
6536
6537         Fix gnome.org #464215.  Requires the kernel patch titled
6538         "Introduce WEXT scan capabilities" but will handle the patch not being
6539         present, you'll just continue to have problems with hidden SSIDs when
6540         using mac80211-based drivers.
6541
6542         * src/supplicant-manager/nm-supplicant-config.h
6543           src/supplicant-manager/nm-supplicant-config.c
6544                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6545                         whether the driver supports SSID scans or not.  If it does, and if
6546                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6547
6548         * src/nm-device-802-11-wireless.c
6549                 - (constructor): check whether or not the driver supports SSID scans
6550                 - (build_supplicant_config): pass driver SSID scan capability when
6551                         building the wireless bits of the supplicant config
6552
6553 2008-01-09  Dan Williams  <dcbw@redhat.com>
6554
6555         * src/nm-device.c
6556           src/nm-device.h
6557                 - (device_activation_precheck, check_connection_complete): remove this
6558                         virtual function; incomplete connections should be invalid by
6559                         definition, complete-ness should be checked in the setting's
6560                         verify function
6561
6562         * src/nm-serial-device.c
6563           src/nm-gsm-device.c
6564                 - (real_check_connection_complete): remove
6565
6566         * libnm-util/nm-setting-serial.c
6567                 - (verify): new function; ensure there is a PPP setting too
6568
6569         * libnm-util/nm-setting-gsm.c
6570                 - (verify): ensure there is a serial setting too
6571
6572 2008-01-06  Dan Williams  <dcbw@redhat.com>
6573
6574         * src/dhcp-manager/nm-dhcp-manager.c
6575                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6576                         (gnome.org #332953)
6577
6578 2008-01-04  Dan Williams  <dcbw@redhat.com>
6579
6580         * src/named-manager/nm-named-manager.c
6581                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6582                         nameservers if the secondary config doesn't have any
6583                         (gnome.org #346833)
6584
6585 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6586
6587         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6588         with G_PARAM_CONSTRUCT so that they get the default values.
6589
6590         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6591         the monitoring device and prints out the output for now. Or more precicely, doesn't
6592         do absolutely anything right now since the montoring device argument is never set.
6593
6594         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6595         requires it's own knob to turn it on.
6596         (config_fd): Add NMSettingSerial to the arguments list.
6597         (nm_serial_device_open): Ditto.
6598         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6599         (nm_serial_device_get_io_channel): Implement.
6600
6601         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6602         a new reference every time (and forgetting to release it sometimes) is a pain and
6603         it's not like NMManager could work without dbus.
6604         (nm_manager_add_device): Register the added device on dbus here.
6605
6606         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6607         device.
6608
6609         * src/nm-device.c (constructor): Don't export the device here, instead export
6610         it when it's added to the NMManager's device list.
6611
6612 2007-12-31  Dan Williams  <dcbw@redhat.com>
6613
6614         * src/nm-device-interface.c
6615           src/nm-device-interface.h
6616                 - (nm_device_interface_check_connection_conflicts): new function
6617
6618         * src/nm-device.c
6619           src/nm-device.h
6620                 - (nm_device_check_connection_conflicts): new function
6621                 - (device_activation_precheck): don't require subclasses to implement
6622                         check_connection_complete()
6623                 - check_connection() -> check_connection_complete()
6624
6625         * src/nm-device-802-11-wireless.c
6626                 - (real_check_connection): remove; unused
6627                 - (real_check_connection_conflicts): implement, handle lockdown for
6628                         system connections
6629
6630         * src/nm-device-802-3-ethernet.c
6631                 - (real_check_connection): remove; unused
6632
6633         * src/nm-manager.c
6634                 - (check_connection_allowed): new function
6635                 - (nm_manager_activate_device): ensure the connection being requested
6636                         is allowed to be activated
6637
6638         * src/nm-serial-device.c
6639           src/nm-gsm-device.c
6640                 - real_check_connection() -> real_check_connection_complete()
6641
6642 2007-12-27  Dan Williams  <dcbw@redhat.com>
6643
6644         * src/nm-device-interface.c
6645           src/nm-device-interface.h
6646                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6647                         normalize and expand errors
6648                 - (nm_device_interface_init): register errors so they can be marshalled
6649                         through dbus-glib
6650                 - (nm_device_interface_activate): ensure that failure of activation
6651                         returns an error
6652
6653         * src/nm-device.c
6654           src/nm-device.h
6655                 - (device_activation_precheck): implementations of check_connection()
6656                         now take a GError and must fill it in if the check fails.  Return
6657                         more descriptive error if the requested connection is already
6658                         activating
6659                 - (nm_device_activate): actually try to return descriptive errors on
6660                         failures
6661
6662         * src/nm-device-802-11-wireless.c
6663           src/nm-device-802-3-ethernet.c
6664           src/nm-serial-device.c
6665           src/nm-gsm-device.c
6666                 - (real_check_connection): return more descriptive errors on failure
6667
6668         * src/NetworkManagerPolicy.c
6669                 - (nm_policy_device_change_check): print activation errors in the logs
6670
6671         * src/nm-manager.c
6672                 - (nm_manager_error_quark, nm_manager_error_get_type,
6673                    nm_manager_class_init): new errors
6674                 - (nm_manager_activate_device): handle errors
6675                 - (nm_manager_error_new): removed
6676                 - (wait_for_connection_expired, connection_added_default_handler,
6677                    impl_manager_activate_device): better error handling
6678
6679 2007-12-27  Dan Williams  <dcbw@redhat.com>
6680
6681         Fixes gnome.org #466954
6682
6683         * src/supplicant-manager/nm-supplicant-settings-verify.c
6684                 - Allow 'frequency' network property
6685
6686         * src/supplicant-manager/nm-supplicant-config.c
6687           src/supplicant-manager/nm-supplicant-config.h
6688                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6689                         for callers to specify the frequency an Ad-Hoc network should operate
6690                         on.  Some drivers require this to successfully create an Ad-Hoc
6691                         network.
6692
6693         * src/nm-device-802-11-wireless.c
6694                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6695                         guint32 value in MHz
6696                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6697                         iw_freq_to_uint32()
6698                 - (find_supported_frequency): new function; find a free supported
6699                         frequency for a user-created Ad-Hoc network
6700                 - (build_supplicant_config): if no frequency was specified for a user-
6701                         created Ad-Hoc network, find a free one to use
6702                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6703                         a specific object as user-created
6704
6705 2007-12-27  Dan Williams  <dcbw@redhat.com>
6706
6707         * libnm-util/nm-utils.c
6708           libnm-util/nm-utils.h
6709                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6710                         for adhoc networks
6711
6712 2007-12-24  Dan Williams  <dcbw@redhat.com>
6713
6714         * libnm-util/nm-setting-wireless.c
6715                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6716                         185, 187, 188, 192, and 196
6717
6718 2007-12-24  Dan Williams  <dcbw@redhat.com>
6719
6720         * src/nm-device-802-11-wireless.c
6721                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6722                         a channel # instead of a frequency
6723
6724 2007-12-24  Dan Williams  <dcbw@redhat.com>
6725
6726         * src/NetworkManagerAP.c
6727           src/NetworkManagerAP.h
6728                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6729                 - (freq_to_channel): handle split band tables
6730                 - (channel_to_freq): handle split band tables, take a band argument
6731
6732 2007-12-24  Dan Williams  <dcbw@redhat.com>
6733
6734         * libnm-util/nm-setting-connection.h
6735           libnm-util/nm-setting-connection.c
6736                 - Add 'lockdown' member
6737
6738 2007-12-22  Dan Williams  <dcbw@redhat.com>
6739
6740         * libnm-util/nm-setting-wireless.c
6741                 - (nm_setting_wireless_class_init): add missing 'rate' property
6742                         specification
6743
6744 2007-12-18  Dan Williams  <dcbw@redhat.com>
6745
6746         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6747
6748         * src/nm-netlink-monitor.c
6749           src/nm-netlink-monitor.h
6750                 - Remove handrolled netlink, use libnl instead
6751
6752         * src/nm-device-802-3-ethernet.c
6753                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6754                    nm_device_802_3_ethernet_carrier_on): use new names
6755
6756 2007-12-17  Dan Williams  <dcbw@redhat.com>
6757
6758         * configure.in
6759                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6760                         and fixes memory leaks)
6761
6762         * src/nm-netlink.c
6763                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6764                         automatically handle the netlink PID
6765
6766 2007-12-17  Dan Williams  <dcbw@redhat.com>
6767
6768         Patch from Michael Biebl <biebl@debian.org>
6769
6770         * configure.in
6771           src/ppp-manager/Makefile.am
6772                 - fix up install dir of pppd plugin
6773                 - clean up configure.in a bit
6774
6775 2007-12-12  Dan Williams  <dcbw@redhat.com>
6776
6777         * system-settings/src/nm-system-settings.conf
6778                 - Allow non-root clients (like the applet) to read settings
6779
6780 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6781
6782         * Replace all occurences of 'UMTS' with 'GSM'.
6783
6784 2007-12-07  Dan Williams  <dcbw@redhat.com>
6785
6786         * src/nm-serial-device.c
6787                 - (real_is_up): serial devices are always "up"
6788
6789 2007-12-07  Dan Williams  <dcbw@redhat.com>
6790
6791         * src/nm-netlink.c
6792           src/NetworkManagerSystem.c
6793                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6794                         twice (gnome.org #491047)
6795                 - Make more robust against allocation-related failures should they occur
6796
6797 2007-12-07  Dan Williams  <dcbw@redhat.com>
6798
6799         Noticed by Christian Persch <chpe@gnome.org>
6800
6801         Always chain up to parent object in dispose and finalize handlers.
6802                 (gnome.org #433112)
6803
6804 2007-12-07  Dan Williams  <dcbw@redhat.com>
6805
6806         * src/nm-device-802-11-wireless.c
6807                 - Wrap #include of linux/mii.h to fix redefined structures due to
6808                         incorrect kernel headers (gnome.org #350061)
6809
6810 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6811
6812         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6813         before doing anything else.
6814         (init_modem): Move modem initialization here.
6815
6816         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6817         (nm_serial_device_flash): Implement.
6818
6819         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6820         changes signal is "StateChanged" and not "Status".
6821         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6822
6823 2007-12-06  Dan Williams  <dcbw@redhat.com>
6824
6825         * src/supplicant-manager/nm-supplicant-config.c
6826                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6827                         to only send some options when they make sense; also send phase2
6828                         option to the supplicant (possible fix for rh #399631)
6829
6830 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6831
6832         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6833         arguments: This whole file shouldn't really know anything about NMDevices, it
6834         should deal only with device interfaces. Devices might have different ifaces for
6835         different stuff and this place shouldn't know anything about it.
6836
6837         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6838         (global_state_changed): Implement. In the current NM it's not really important,
6839         but will be required in the case of multiple active devices. (Or even better,
6840         if stuff like that gets moved out from NM).
6841
6842         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6843         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6844         instead.
6845
6846         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6847         devices like serial devices (ttyS0 and ppp0 for example).
6848         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6849         set.
6850         (nm_device_set_ip_iface): Implement.
6851         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6852         after setting ip4_config from here ...
6853         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6854         than this function should call nm_system_device_set_from_ip4_config() because no
6855         other code has enough information on which arguments to use. So instead, other code
6856         could just set the new ip4 config using this function and everyone is happy.
6857
6858         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6859         if we happen to get deactivated while something is pending.
6860         (automatic_registration): Handle the response that indicates pending network
6861         registration and wait until the pending registration is done.
6862         (real_deactivate_quickly): If there's a pending operation, cancel it.
6863
6864         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6865         (real_deactivate_quickly): ... and remove it when it's down.
6866         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6867         it if needed.
6868         (nm_serial_device_wait_for_reply): Ditto.
6869
6870 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6871
6872         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6873         (get_network_done): Remove newline, nm_info() does it already.
6874         (real_act_stage1_prepare): Turn the modem echo off.
6875
6876         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6877         device, set the route to the device interface. This is a hack.
6878
6879         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6880         return, no need for a new-line.
6881         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6882         Change the device iface here (ugh).
6883         (real_act_stage4_get_ip4_config): Implement.
6884         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6885         Restore the device iface.
6886
6887         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6888         device is not wired or wireless (eg, automatically upped) device.
6889
6890         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6891         it isn't.
6892         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6893
6894         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6895         before calling it's is_device_fn().
6896
6897 2007-12-05  Dan Williams  <dcbw@redhat.com>
6898
6899         * libnm-util/nm-utils.c
6900                 - (nm_utils_register_value_transformations,
6901                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6902                         GHashTables of GValues too
6903
6904 2007-12-04  Dan Williams  <dcbw@redhat.com>
6905
6906         * initscript/RedHat/NetworkManager.in
6907                 - No longer start named; it's D-Bus interface is going away
6908
6909 2007-12-04  Dan Williams  <dcbw@redhat.com>
6910
6911         Patch from Michael Biebl <biebl@debian.org>
6912
6913         * system-settings/plugins/ifcfg/Makefile.am
6914           system-settings/src/main.c
6915           system-settings/src/Makefile.am
6916                 - Put system settings plugins in NM plugins dir
6917
6918         * src/ppp-manager/Makefile.am
6919           src/ppp-manager/nm-ppp-manager.c
6920                 - Move pppd plugin to NM plugins dir
6921
6922 2007-12-04  Dan Williams  <dcbw@redhat.com>
6923
6924         * libnm-util/nm-setting-vpn-properties.h
6925                 - Clarify usage of the 'data' member of the setting
6926
6927         * libnm-util/nm-setting-vpn-properties.c
6928                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6929                 - (set_property): just remove all the settings; don't recreate the has
6930                 - (update_one_secret): don't need to create the hash table here since
6931                         it should always be present
6932
6933 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6934
6935         Implement PIN and PUK requesting.
6936
6937         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6938         (enter_pin): Handle PIN and PUK requests.
6939         (real_act_stage1_prepare): Clear the secret type.
6940         (real_connection_secrets_updated): Implement this class method to get
6941         notified when new secrets arrive.
6942         (nm_umts_device_class_init): Add private data back to the umts device class
6943         to store the required secret type.
6944
6945 2007-12-01  Dan Williams  <dcbw@redhat.com>
6946
6947         * system-settings/plugins/ifcfg/parser.c
6948                 - (parser_parse_file): don't try to verify NULL connections
6949
6950 2007-12-01  Dan Williams  <dcbw@redhat.com>
6951
6952         * system-settings/src/main.c
6953                 - (load_connections, add_connection_to_settings): actually export
6954                         plugin-provided connections over D-Bus so NM can get them
6955
6956 2007-12-01  Dan Williams  <dcbw@redhat.com>
6957
6958         * system-settings/plugins/ifcfg/parser.c
6959           system-settings/plugins/ifcfg/parser.h
6960           system-settings/plugins/ifcfg/plugin.c
6961                 - Hook up more inotify bits (untested)
6962
6963 2007-11-29  Dan Williams  <dcbw@redhat.com>
6964
6965         * system-settings/src/nm-system-config-interface.h
6966           system-settings/src/nm-system-config-interface.c
6967                 - (nm_system_config_interface_init,
6968                    nm_system_config_interface_get_connections): add
6969
6970         * system-settings/src/main.c
6971                 - (load_plugins, load_connections, main): use a GSList for plugins
6972                         to ensure priority ordering
6973
6974         * system-settings/plugins/ifcfg/parser.c
6975                 - (ifcfg_error_quark): move to plugin.c, and rename
6976
6977         * system-settings/plugins/ifcfg/plugin.h
6978           system-settings/plugins/ifcfg/plugin.c
6979                 - (ifcfg_plugin_error_quark): move here from parser.c
6980                 - rework connection loading and initialization
6981                 - Add preliminary inotify support for network profile config file
6982
6983 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6984
6985         Merge the beginnings of the new GSM card support.
6986
6987         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6988         ppp watch source before killing pppd - If this happens from g_object_unref()
6989         then the ppp manager is already destroyed by the time the watch callback runs.
6990
6991         * src/nm-hal-manager.c: Add a device_type_name string to the device
6992         creators, so that we can print a nice human readable string when a
6993         device is added.
6994
6995         * src/nm-umts-device.c (automatic_registration_get_network): Query
6996         for the activated network, not much is done with the result thought.
6997
6998         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6999         (ppp_ip4_config): Change the device state to activated here for now.
7000         (real_check_connection): Make sure the connection includes ppp setting.
7001
7002         * libnm-glib/nm-client.c (get_device): Handle umts devices.
7003
7004         * libnm-glib/Makefile.am: Add the new files to build.
7005
7006         * libnm-glib/nm-umts-device.c: 
7007         * libnm-glib/nm-umts-device.h: Implement.
7008
7009 2007-11-26  Tambet Ingo  <tambet@gmail.com>
7010
7011         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
7012         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
7013
7014         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
7015         the timeout source - this function is only called when the timeout source has
7016         been removed.
7017         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
7018         to be big enough to contain the terminating zero element as well.
7019         The timeout argument is meant to be in seconds now.
7020         (real_deactivate_quickly): Implement.
7021
7022         * src/NetworkManager.conf: Allow root to own 
7023         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
7024
7025         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
7026         (not unsigned ints).
7027
7028         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
7029         small issue with parity bounds - capital letters have lower ascii codes
7030         than lower case letters.
7031
7032         * libnm-util/nm-connection.c (register_default_settings): Register serial
7033         and umts settings.
7034
7035 2007-11-22  Tambet Ingo  <tambet@gmail.com>
7036
7037         Remove the "index" property from devices as not all device types have this.
7038
7039         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
7040
7041         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7042         (wired_device_creator): Get the device interface from hal to create the device.
7043         (wireless_device_creator): Ditto.
7044
7045         * src/nm-device.c (nm_device_init): Remove the index member.
7046         (constructor): Remove the checks for index property, make interface property
7047         a require constructor property.
7048         Use the HAL udi for DBus path for devices.
7049         (nm_device_get_index): Remove.
7050         (set_property): Remove index handling.
7051         (get_property): Ditto.
7052         (nm_device_get_dbus_path): Remove.
7053
7054         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7055         property.
7056
7057         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7058         Access the device index through it's interface.
7059         (nm_device_802_3_ethernet_link_deactivated): Ditto.
7060         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7061         index argument. Add interface argument.
7062
7063         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7064         the useless test_dev argument. Remove index argument. Add interface arugment.
7065
7066         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7067         device index through interface.
7068         (nm_system_set_mtu): Ditto.
7069
7070         * introspection/nm-device.xml: Remove the "Index" property.
7071
7072 2007-11-21  Tambet Ingo  <tambet@gmail.com>
7073
7074         * src/nm-serial-device.c: 
7075         * src/nm-serial-device.c: 
7076         * src/nm-umts-device.c:
7077         * src/nm-umts-device.h: Implement.
7078
7079         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
7080         allocated by libhal.
7081         (modem_device_creator): Implement.
7082         (register_built_in_creators): Register the modem creator.
7083
7084         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
7085         Remove the unused test_dev argument.
7086
7087         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7088
7089         * src/Makefile.am: Add new files to build.
7090         Link in ppp-manager.
7091
7092         * libnm-util/nm-setting-umts.c: 
7093         * libnm-util/nm-setting-umts.h: 
7094         * libnm-util/nm-setting-serial.c: 
7095         * libnm-util/nm-setting-serial.h: Implement.
7096
7097         * libnm-util/Makefile.am: Add new files to build.
7098
7099 2007-11-28  Dan Williams  <dcbw@redhat.com>
7100
7101         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7102
7103         Support DHCP-provided static routes.
7104
7105         * src/nm-ip4-config.h
7106           src/nm-ip4-config.c
7107                 - Add get/set functions for static routes
7108
7109         * src/dhcp-manager/nm-dhcp-manager.c
7110                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7111                         DHCP response
7112
7113         * src/NetworkManagerSystem.c
7114                 - (nm_system_device_set_from_ip4_config): set any static routes on the
7115                         interface when applying the IP4Config
7116
7117 2007-11-28  Dan Williams  <dcbw@redhat.com>
7118
7119         * src/nm-device-802-11-wireless.c
7120                 - (real_act_stage1_prepare): mark APs created for hidden networks
7121                         as non-broadcasting
7122
7123 2007-11-27  Dan Williams  <dcbw@redhat.com>
7124
7125         * system-settings/src/nm-system-config-interface.h
7126                 - Note how to store secrets on NMSetting objects
7127
7128         * system-settings/src/dbus-settings.c
7129                 - (connection_settings_get_secrets): implement
7130
7131 2007-11-27  Dan Williams  <dcbw@redhat.com>
7132
7133         * system-settings/plugins/ifcfg/Makefile.am
7134           system-settings/plugins/ifcfg/parser.c
7135           system-settings/plugins/ifcfg/parser.h
7136           system-settings/plugins/ifcfg/plugin.c
7137                 - Parse wireless connections too
7138
7139         * system-settings/src/dbus-settings.c
7140           system-settings/src/dbus-settings.h
7141           system-settings/src/main.c
7142                 - Handle connection update/removal if the plugin supports it
7143
7144 2007-11-27  Dan Williams  <dcbw@redhat.com>
7145
7146         * src/nm-dbus-manager.h
7147           src/nm-hal-manager.c
7148                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7149                         do it for them
7150
7151         * src/Makefile.am
7152           src/NetworkManagerDbusUtils.c
7153           src/NetworkManagerDbusUtils.h
7154                 - Remove these two source files; they are unused
7155
7156 2007-11-27  Dan Williams  <dcbw@redhat.com>
7157
7158         * src/vpn-manager/nm-vpn-manager.c
7159                 - (impl_vpn_manager_connect): fix system settings check (found by
7160                         James M. Leddy)
7161
7162 2007-11-26  Dan Williams  <dcbw@redhat.com>
7163
7164         * Fix warnings so everything compiles with --enable-more-warnings
7165
7166 2007-11-25  Dan Williams  <dcbw@redhat.com>
7167
7168         * system-settings/*
7169                 - Rework structure and code to use GModule-loaded plugins and a plugin
7170                         interface that plugins export to the system settings service
7171
7172 2007-11-21  Dan Williams  <dcbw@redhat.com>
7173
7174         * system-settings/*
7175                 - Add Soren's system settings service.  Needs work for distros other
7176                         than Fedora; the backends from NM should mostly migrate to here
7177                         and be converted to GObjects
7178
7179 2007-11-21  Dan Williams  <dcbw@redhat.com>
7180
7181         * libnm-util/nm-setting-vpn-properties.c
7182                 - (set_property): must deep-copy the given settings hash, otherwise
7183                         double-free errors occur when the setting is disposed of
7184
7185 2007-11-21  Dan Williams  <dcbw@redhat.com>
7186
7187         * src/vpn-manager/nm-vpn-act-request.h
7188           src/vpn-manager/nm-vpn-act-request.c
7189                 - Remove; unused
7190
7191 2007-11-20  Dan Williams  <dcbw@redhat.com>
7192
7193         * libnm-util/nm-utils.c
7194                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7195                    nm_utils_convert_ip4_addr_struct_array_to_string,
7196                    nm_utils_register_value_transformations): print out the readable
7197                         values of more types of properties of NMSettings subclasses
7198
7199 2007-11-20  Dan Williams  <dcbw@redhat.com>
7200
7201         * libnm-util/nm-setting-ip4-config.c
7202                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7203                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7204                         marshal GValueArrays inside collections, so switch to types that it
7205                         can actually marshal/demarshal
7206
7207 2007-11-16  Dan Williams  <dcbw@redhat.com>
7208
7209         * libnm-util/nm-setting-wireless-security.c
7210                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7211                         minimal verification of EAP methods too
7212                 - (verify): verify phase1 eap methods too
7213
7214 2007-11-15  Dan Williams  <dcbw@redhat.com>
7215
7216         * libnm-glib/nm-device.h
7217           libnm-glib/nm-device.c
7218                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7219                         const char *
7220
7221 2007-11-15  Dan Williams  <dcbw@redhat.com>
7222
7223         * libnm-glib/nm-device.c
7224                 - (get_product_and_vendor): don't try to free things that should be
7225                         freed
7226
7227 2007-11-15  Dan Williams  <dcbw@redhat.com>
7228
7229         * src/NetworkManagerUtils.c
7230                 - (nm_ethernet_address_is_valid): unbreak previous fix
7231
7232 2007-11-15  Dan Williams  <dcbw@redhat.com>
7233
7234         * src/supplicant-manager/nm-supplicant-config.c
7235                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7236                         options
7237
7238 2007-11-15  Dan Williams  <dcbw@redhat.com>
7239
7240         * src/NetworkManagerUtils.c
7241                 - (nm_ethernet_address_is_valid): fix style, clarify
7242                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7243
7244         * src/nm-device-802-11-wireless.c
7245                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7246                 - (nm_device_802_11_wireless_get_ssid,
7247                    nm_device_802_11_wireless_get_bssid,
7248                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7249                         before calling the ioctl; fixes valgrind-reported jump depends on
7250                         uninitialized value errors
7251
7252 2007-11-15  Dan Williams  <dcbw@redhat.com>
7253
7254         * libnm-util/nm-setting.c
7255                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7256                         unecessary to serialize 'name'
7257
7258         * src/nm-activation-request.c
7259                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7260                         the GetSecrets call
7261
7262 2007-11-15  Dan Williams  <dcbw@redhat.com>
7263
7264         * libnm-util/nm-setting-connection.h
7265           libnm-util/nm-setting-connection.c
7266                 - Rename the 'name' property to 'id', because it conflicted with the
7267                         NMSetting superclass' 'name' property.
7268
7269         * libnm-util/nm-setting.c
7270                 - (nm_setting_to_hash): serialize the 'name' property
7271                 - (one_property_cb): ignore 'name' on deserialization of a connection
7272
7273         * src/nm-device-802-11-wireless.c
7274           src/vpn-manager/nm-vpn-connection.c
7275           src/NetworkManagerPolicy.c
7276                 - Fix up for NMSettingConnection 'name'->'id' changes
7277
7278 2007-11-13  Dan Williams  <dcbw@redhat.com>
7279
7280         * libnm-glib/nm-device-802-11-wireless.h
7281           libnm-glib/nm-device-802-11-wireless.c
7282                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7283
7284         * test/nm-tool.c
7285           libnm-glib/libnm-glib-test.c
7286                 - Fixes for above change
7287
7288 2007-11-12  Dan Williams  <dcbw@redhat.com>
7289
7290         * src/supplicant-manager/nm-supplicant-settings-verify.c
7291                 - Allow fragment_size option
7292
7293         * src/supplicant-manager/nm-supplicant-settings-verify.c
7294                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7295                         EAP fragment size than the default to help some TLS connections
7296
7297 2007-11-12  Dan Williams  <dcbw@redhat.com>
7298
7299         Make certs actually work.  The private key is now a secret, and should be
7300         decrypted when requested by NM.  The private key and phase2 private key
7301         passwords are no longer interesting to NM because they should be used by
7302         the settings service to decrypt the private key itself before passing it
7303         to NM, and hence have been removed as fields.
7304
7305         * libnm-util/nm-setting-wireless-security.h
7306           libnm-util/nm-setting-wireless-security.c
7307                 - Remove private-key-passwd and phase2-private-key-passwd from
7308                         properties
7309                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7310                    need_secrets): use property #defines instead strings to keep things
7311                         consistent
7312                 - (need_secrets_tls): if a client certificate is present but no
7313                         private key, request the private key
7314                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7315                         remove private key password stuff, mark private keys as secret
7316
7317         * src/supplicant-manager/nm-supplicant-settings-verify.c
7318                 - Remove private_key_passwd and private_key2_passwd from opt_table
7319
7320 2007-11-09  Dan Williams  <dcbw@redhat.com>
7321
7322         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7323         Since the vpn-properties are managed and known by the VPN daemons themselves,
7324         libnm-util doesn't know what's secret and what's in the setting's 'data'
7325         member.
7326
7327         * libnm-util/nm-setting.h
7328           libnm-util/nm-setting.c
7329                 - Add the ability for subclasses to override update_one_secret
7330
7331         * libnm-util/nm-setting-vpn-properties.c
7332                 - Override update_one_secret and just copy the values into the
7333                         internal table
7334
7335 2007-11-09  Dan Williams  <dcbw@redhat.com>
7336
7337         * libnm-glib/nm-settings.h
7338           libnm-glib/nm-settings.c
7339                 - (nm_settings_new_error): remove
7340                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7341                         clients should use g_set_error() with NM_SETTINGS_ERROR
7342
7343 2007-11-09  Dan Williams  <dcbw@redhat.com>
7344
7345         * src/supplicant-manager/nm-supplicant-config.c
7346                 - (nm_supplicant_config_add_setting_wireless_security): private key
7347                         passwords are never sent to wpa_supplicant, because the supplicant
7348                         should never be reading random files from the disk.  Clients like
7349                         the applet are required to decrypt the private keys and send NM
7350                         the decrypted blobs.
7351
7352 2007-11-08  Dan Williams  <dcbw@redhat.com>
7353
7354         * libnm-util/nm-setting-wireless-security.h
7355           libnm-util/nm-setting-wireless-security.c
7356                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7357                         members to 802-11-wireless-security structure.  This should be used
7358                         to indicate that the values in private-key and phase2-private-key
7359                         are already decrypted by the user agent, and that no
7360                         private-key-passwd or phase2-private-key-passwd should be expected.
7361                         It is not meant to be a stored configuration value, but meant to
7362                         be set when the conneciton is sent to NM over dbus.
7363
7364 2007-11-08  Dan Williams  <dcbw@redhat.com>
7365
7366         * libnm-util/nm-connection.h
7367           libnm-util/nm-connection.c
7368                 - (nm_connection_need_secrets): add argument to return hints
7369
7370         * src/nm-device-802-11-wireless.c
7371                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7372                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7373                         nm_connection_need_secrets() change
7374
7375 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7376
7377         Rework NMSetting structures: Move each setting to it's own file.
7378         Convert to GObject. Remove home grown setting types and use GTypes.
7379         Use GObject property introspection for hash conversion, enumerating
7380         properties, etc.
7381
7382         * libnm-util/nm-setting-connection.[ch]
7383         * libnm-util/nm-setting-ip4-config.[ch]
7384         * libnm-util/nm-setting-ppp.[ch]
7385         * libnm-util/nm-setting-vpn.[ch]
7386         * libnm-util/nm-setting-vpn-properties.[ch]
7387         * libnm-util/nm-setting-wired.[ch]
7388         * libnm-util/nm-setting-wireless.[ch]
7389         * libnm-util/nm-setting-wireless-security.[ch]
7390
7391         New files, each containing a setting.
7392
7393         * libnm-util/nm-setting-template.[ch]: A template for creating new
7394         settings. To use it, just replace 'template' with the new setting
7395         name, and you're half-way done.
7396
7397         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7398         introspection instead of internal types and tables.
7399
7400         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7401
7402         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7403         GValue types defined by dbus-glib for composed types like collections,
7404         structures and maps.
7405
7406         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7407         a setting from connection takes the setting type now. Also, since
7408         the settings are in multiple files, include relevant settings.
7409
7410 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7411
7412         * configure.in:
7413         * src/backends/NetworkManagerGentoo.c:
7414         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7415         providers in Gentoo.
7416
7417 2007-10-31  Dan Williams  <dcbw@redhat.com>
7418
7419         * libnm-util/nm-connection.c
7420                 - (gvalue_to_string): handle UINT32 arrays
7421
7422 2007-10-31  Dan Williams  <dcbw@redhat.com>
7423
7424         * libnm-glib/nm-device.h
7425           libnm-glib/nm-device.c
7426                 - (nm_device_get_description): remove
7427                 - (nm_device_get_product, nm_device_get_vendor): add
7428                 - (nm_device_update_description): new function (private); walk HAL
7429                         devices to get product and vendor IDs for a specific device
7430
7431 2007-10-31  Dan Williams  <dcbw@redhat.com>
7432
7433         * src/nm-device-802-11-wireless.c
7434                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7435
7436 2007-10-29  Dan Williams  <dcbw@redhat.com>
7437
7438         * src/nm-hal-manager.c
7439                 - (device_added, device_new_capability): ignore device additions while
7440                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7441                         kernel module is unloaded and reloaded and recognized by NM again.
7442
7443 2007-10-26  Dan Williams  <dcbw@redhat.com>
7444
7445         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7446
7447         * src/NetworkManagerAP.c
7448           src/NetworkManagerAP.h
7449           libnm-glib/nm-access-point.c
7450           libnm-glib/nm-access-point.h
7451                 - Make 'rate' property a guint32 to better match with WEXT and
7452                         wpa_supplicant and to allow representation of higher bitrates
7453
7454         * src/nm-device-802-11-wireless.c
7455           introspection/nm-device-802-11-wireless.xml
7456           libnm-glib/nm-device-802-11-wireless.c
7457           libnm-glib/nm-device-802-11-wireless.h
7458                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7459
7460         * src/nm-device-802-3-ethernet.c
7461           src/nm-device-802-3-ethernet.h
7462           introspection/nm-device-802-3-ethernet.xml
7463           libnm-glib/nm-device-802-3-ethernet.c
7464           libnm-glib/nm-device-802-3-ethernet.h
7465                 - Make 'speed' property a guint32 to match other speed/rate types
7466                 - Make nm_device_802_3_ethernet_get_speed() static
7467
7468         * test/nm-tool.c
7469                 - Update for the changes above
7470
7471 2007-10-26  Dan Williams  <dcbw@redhat.com>
7472
7473         * src/named-manager/nm-named-manager.c
7474                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7475                     not calling fclose() twice on some error conditions
7476
7477 2007-10-26  Dan Williams  <dcbw@redhat.com>
7478
7479         * src/nm-activation-request.c
7480                 - (dispose): clean up indentation; get the right DBusGProxy object to
7481                         cancel the GetSecrets pending call on.  Need to use the Secrets
7482                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7483                         pending call doesn't get canceled, and pressing Cancel in the
7484                         applet's password dialog could cause get_secrets_cb() to be called
7485                         after the activation request has already been destroyed
7486
7487 2007-10-24  Dan Williams  <dcbw@redhat.com>
7488
7489         * src/supplicant-manager/nm-supplicant-config.c
7490                 - (nm_supplicant_config_add_blob): pass blob data and length for
7491                         verification
7492                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7493
7494 2007-10-24  Dan Williams  <dcbw@redhat.com>
7495
7496         * src/supplicant-manager/nm-supplicant-settings-verify.c
7497                 - (opt_table): max length for certificates should be 65536
7498
7499 2007-10-24  Dan Williams  <dcbw@redhat.com>
7500
7501         * src/supplicant-manager/nm-supplicant-interface.c
7502                 - (blob_free): correctly free blob data after use
7503                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7504
7505 2007-10-24  Dan Williams  <dcbw@redhat.com>
7506
7507         * libnm-util/nm-setting.c
7508                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7509                         EAP method need secrets
7510
7511 2007-10-24  Dan Williams  <dcbw@redhat.com>
7512
7513         * src/backends/NetworkManagerRedHat.c
7514                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7515
7516 2007-10-23  Dan Williams  <dcbw@redhat.com>
7517
7518         * libnm-util/nm-setting.c
7519           libnm-util/nm-setting.c
7520                 - (nm_setting_compare): implement
7521                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7522                    compare_one_hash_gvalue): compare the contents of a setting
7523
7524         * libnm-util/nm-connection.c
7525                 - (nm_connection_compare): implement
7526
7527 2007-10-23  Dan Williams  <dcbw@redhat.com>
7528
7529         * src/nm-activation-request.c
7530                 - (get_secrets_cb): handle getting a setting back that is more than
7531                         just secrets (ie, user changed auth or EAP method or something)
7532
7533 2007-10-23  Dan Williams  <dcbw@redhat.com>
7534
7535         * libnm-util/nm-setting.c
7536           libnm-util/nm-setting.h
7537                 - (nm_setting_verify): new function; verify one setting
7538                 - (nm_settings_verify_all): rename from nm_settings_verify()
7539                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7540                         all_settings
7541
7542         * libnm-util/nm-connection.c
7543                 - (nm_connection_replace_settings, nm_connection_verify,
7544                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7545
7546 2007-10-23  Dan Williams  <dcbw@redhat.com>
7547
7548         * src/nm-device-802-11-wireless.c
7549                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7550                         desired behavior
7551
7552 2007-10-23  Dan Williams  <dcbw@redhat.com>
7553
7554         * src/supplicant-manager/nm-supplicant-settings-verify.c
7555                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7556                         nm-settings.c
7557
7558 2007-10-23  Dan Williams  <dcbw@redhat.com>
7559
7560         * src/nm-device-802-11-wireless.c
7561                 - (real_act_stage2_config): after the first association failure,
7562                         if the connection still needs secrets ask the user for them
7563                         explicitly.  After the fourth association failure due to bad
7564                         secrets, fail the connection entirely.  Handles the GetSecrets
7565                         loop that NM gets into when the provided secrets don't match up
7566                         with the connection details.
7567
7568 2007-10-23  Dan Williams  <dcbw@redhat.com>
7569
7570         * src/supplicant-manager/nm-supplicant-config.c
7571                 - (nm_supplicant_config_add_setting_wireless_security): only add
7572                         WPA-specific options when WPA is in use
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): 'password'
7578                         secret doesn't need to be unhexified
7579
7580 2007-10-23  Dan Williams  <dcbw@redhat.com>
7581
7582         * libnm-util/nm-setting.c
7583                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7584                         before trying to do something with it
7585
7586 2007-10-23  Dan Williams  <dcbw@redhat.com>
7587
7588         * src/nm-device-802-11-wireless.c
7589                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7590
7591 2007-10-23  Dan Williams  <dcbw@redhat.com>
7592
7593         * src/nm-device-802-11-wireless.c
7594                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7595                         non-SSID-broadcasting APs
7596
7597 2007-10-23  Dan Williams  <dcbw@redhat.com>
7598
7599         * src/NetworkManagerAP.c
7600                 - (match_cipher, security_compatible): remove
7601                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7602                         libnm-util instead
7603
7604 2007-10-23  Dan Williams  <dcbw@redhat.com>
7605
7606         * libnm-util/nm-utils.c
7607           libnm-util/nm-utils.h
7608                 - (nm_utils_ap_security_compatible): common function for checking
7609                         whether a specific AP is compatible with an NMConnection
7610
7611 2007-10-23  Dan Williams  <dcbw@redhat.com>
7612
7613         * libnm-util/nm-setting.c
7614                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7615                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7616                    need_secrets_password, setting_wireless_security_verify): fix
7617                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7618                         secrets logic for each supported EAP method
7619
7620 2007-10-23  Dan Williams  <dcbw@redhat.com>
7621
7622         * src/supplicant-manager/nm-supplicant-config.c
7623                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7624                         config option name, should be "private_key2_passwd"
7625
7626 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7627
7628         Implement support for static IP addresses, additional/overridden DNS and
7629         DNS domain search lists.
7630
7631         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7632         (ip4_addresses_to_gvalue): Implement.
7633         (convert_array_to_byte_array): Implement.
7634         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7635         NM_S_TYPE_IP4_ADDRESSES.
7636         (nm_setting_hash): Ditto.
7637         (default_setting_clear_secrets): Add a default case for the switch: IP address
7638         shouldn't be secret, ever.
7639         (setting_ip4_config_verify): Update, requires addresses in case of manual
7640         configurations.
7641         (setting_ip4_config_destroy): Free stuff.
7642
7643         * src/nm-device.c (merge_ip4_config): Implement.
7644         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7645
7646 2007-10-22  Dan Williams  <dcbw@redhat.com>
7647
7648         * libnm-util/nm-setting.c
7649                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7650                         pairwise cipher options for Dynamic WEP
7651
7652 2007-10-21  Dan Williams  <dcbw@redhat.com>
7653
7654         * src/NetworkManagerAP.c
7655           src/NetworkManagerAP.h
7656                 - Rename 'articifical' -> 'fake' since that's what they are until
7657                         noticed in scans
7658                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7659                         from the attributes in an NMConnection object
7660                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7661                         WPA Enterprise
7662                 - (nm_ap_match_in_list): find a matching AP in a scan list
7663
7664         * src/nm-device-802-11-wireless.c
7665                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7666                         AP when searching the scan list; match on frequency and mode too
7667                 - (nm_device_802_11_wireless_get_frequency): implement
7668                 - (merge_scanned_ap): replace duplicate matching logic with
7669                         nm_ap_match_in_list()
7670                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7671                         the user is trying to connect to a hidden network that is not yet
7672                         known from the scan list
7673                 - (activation_success_handler): now that the card knows the AP's BSSID,
7674                         there may already be a scanned AP in the scan list that is what
7675                         we really wanted to connect to, but didn't know at the time.  Use
7676                         that instead of the 'fake' AP created at activation start and get
7677                         rid of the 'fake' AP 
7678                 - (cull_scan_list): don't remove fake APs
7679
7680 2007-10-21  Dan Williams  <dcbw@redhat.com>
7681
7682         * src/nm-activation-request.h
7683           src/nm-activation-request.c
7684                 - (nm_act_request_set_specific_object): new function; allow setting the
7685                         specific object if one isn't set yet
7686
7687 2007-10-20  Dan Williams  <dcbw@redhat.com>
7688
7689         * src/supplicant-manager/nm-supplicant-config.h
7690           src/supplicant-manager/nm-supplicant-config.c
7691                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7692                         table to store blobs
7693                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7694                         blob hash table
7695                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7696                 - (nm_supplicant_config_add_setting_wireless_security): handle
7697                         options that use certificates (ie, blobs)
7698
7699         * src/nm-device-802-11-wireless.c
7700                 - (build_supplicant_config): pass a UID (just use the connection path)
7701                         to the supplicant config as now required
7702
7703         * src/supplicant-manager/nm-supplicant-interface.c
7704                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7705                         there are any blobs to send to wpa_supplicant, send those first
7706                         before sending the network configuration
7707
7708 2007-10-19  Dan Williams  <dcbw@redhat.com>
7709
7710         Split the GetSecrets() call off to a separate D-Bus interface so that it
7711         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7712         should be able to call GetSecrets().
7713
7714         * include/NetworkManager.h
7715                 - Define the connection secrets D-Bus interface
7716
7717         * src/vpn-manager/nm-vpn-connection.c
7718                 - (clear_need_auth): get the right proxy object for the connection
7719                         secrets interface
7720                 - (get_connection_secrets): use the connection secrets proxy; send
7721                         empty hints in get secrets request
7722
7723         * src/nm-activation-request.c
7724                 - (nm_act_request_request_connection_secrets): use the connection
7725                         secrets proxy; send empty hints in get secrets request
7726
7727         * src/nm-manager.c
7728           src/nm-manager.h
7729                 - (connection_get_settings_cb): set the connection secrets proxy on
7730                         the connection object too
7731                 - (internal_new_connection_cb): create the connection secrets proxy
7732
7733         * introspection/nm-settings-connection.xml
7734                 - Define Connection.Secrets interface and move GetSecrets there
7735                 - Add a 'hints' argument to GetSecrets
7736
7737         * libnm-glib/nm-settings.c
7738           libnm-glib/nm-settings.h
7739                 - (impl_connection_settings_get_secrets): add 'hints' argument
7740
7741 2007-10-19  Dan Williams  <dcbw@redhat.com>
7742
7743         * src/nm-device.c
7744                 - (constructor): add message about what path a device is exported as
7745                         to help in debugging rh #339011
7746
7747 2007-10-17  Dan Williams  <dcbw@redhat.com>
7748
7749         * libnm-util/nm-utils.h
7750           libnm-util/nm-utils.c
7751                 - (nm_utils_security_valid): common function to help find the intersection
7752                         of capabilities of devices and (optionally) access points
7753
7754 2007-10-17  Dan Williams  <dcbw@redhat.com>
7755
7756         * src/nm-device-802-11-wireless.c
7757                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7758                         don't get erroneously cleared
7759
7760 2007-10-17  Dan Williams  <dcbw@redhat.com>
7761
7762         * src/nm-manager.h
7763           src/nm-manager.c
7764           src/nm-hal-manager.c
7765                 - (device_removed, finalize, nm_manager_remove_device,
7766                    nm_manager_sleep): add a 'deactivate' argument to 
7767                    nm_manager_remove_device() to fully deactivate devices when necessary
7768                    (ie, always except when waking up)
7769
7770 2007-10-16  Dan Williams  <dcbw@redhat.com>
7771
7772         * libnm-util/nm-setting.c
7773                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7774                         also isn't valid phase2 autheap method
7775
7776 2007-10-16  Dan Williams  <dcbw@redhat.com>
7777
7778         * libnm-glib/nm-client.c
7779                 - (update_wireless_status): consolidate updates of wireless status
7780                 - (constructor): use update_wireless_status()
7781                 - (manager_running): set wireless status off when NM goes away; requery
7782                         the wireless status when NM comes back
7783
7784 2007-10-16  Dan Williams  <dcbw@redhat.com>
7785
7786         * libnm-glib/nm-client.c
7787                 - (nm_client_activate_device): actually use the fixed-up specific
7788                         object path
7789
7790 2007-10-16  Dan Williams  <dcbw@redhat.com>
7791
7792         * src/nm-hal-manager.c
7793                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7794                         killswitch error messages once
7795
7796 2007-10-16  Dan Williams  <dcbw@redhat.com>
7797
7798         * src/nm-manager.c
7799                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7800                         if it's disabled in hardware; don't touch network devices while
7801                         NM is asleep
7802
7803 2007-10-16  Dan Williams  <dcbw@redhat.com>
7804
7805         * libnm-util/nm-client.c
7806                 - (nm_client_activate_device): convert NULL specific_object to "/",
7807                         which is used in place of NULL
7808
7809         * src/nm-manager.c
7810                 - (impl_manager_activate_device): convert "/" specific_object back into
7811                         NULL
7812
7813 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7814
7815         Implement a generic NMSetting creator from setting name.
7816         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7817         add a virtual function 'populate_fn'.
7818
7819         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7820         (register_default_creators): Register setting creators instead of functions
7821         that create and then populate.
7822         (parse_one_setting): Use the common setting creator and then setting specific
7823         poplulation function.
7824
7825         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7826         they all looked exactly the same.
7827         Add a 'populate_fn' virtual function to NMSetting.
7828         Use default virtual functions in case they are not overriden.
7829         (nm_setting_populate_from_hash): Implement.
7830
7831         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7832         name, use a defined string.
7833         (real_act_stage4_get_ip4_config): Ditto.
7834
7835 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7836
7837         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7838         HAL is int, not uint.
7839
7840 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7841
7842         Implement killswitch polling through HAL.
7843
7844         * src/nm-manager.c: Add wireless hardware status property. Add 
7845         'properties-changed' signal for changes in wireless and wireless hardware
7846         state changes.
7847
7848         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7849         and update NMManager's wireless hardware state when it has changed.
7850         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7851         already does that.
7852
7853         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7854         values of wireless state and wireless hardware state. Listen for the
7855         'properties-changed' signals, update the cached values and emit notify.
7856
7857         * include/NetworkManager.h: Fix a typo in a comment.
7858
7859 2007-10-14  Dan Williams  <dcbw@redhat.com>
7860
7861         * libnm-util/nm-setting.c
7862                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7863
7864 2007-10-13  Dan Williams  <dcbw@redhat.com>
7865
7866         * libnm-util/nm-setting.h
7867           libnm-util/nm-setting.c
7868           src/supplicant-manager/nm-supplicant-config.c
7869                 - Make the 'proto' field of the 802-11-wireless-security field a
7870                         string list
7871
7872 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7873
7874         Rework the "properties-changed" signal listening implementation.
7875         Add a generic implementation to NMObject class that listens for
7876         the signal and calls property setters of the target NMObject.
7877
7878         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7879
7880         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7881         code to the end of file so that all the static functions are available
7882         without extra declarations.
7883         Remove the "properties-changed" signal handling and use the framework from
7884         NMObject.
7885         Implement property setters for properties that change with 
7886         "properties-changed" signal.
7887
7888         * libnm-glib/nm-access-point.c: Ditto.
7889
7890 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7891
7892         Rework the "properties-changed" signal implementation.
7893         In classes that need to use it, just emit "GObject::notify" and the new
7894         framework takes care of the rest to make the signal available on dbus.
7895         The framework queues the notifications and tries to send as many together
7896         in one signal as possible.
7897
7898         * src/nm-properties-changed-signal.c:
7899         * src/nm-properties-changed-signal.h: Implement.
7900
7901         * src/Makefile.am: Add new files to build.
7902
7903         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7904         signal.
7905
7906         * src/nm-device-802-11-wireless.c: Ditto.
7907
7908 2007-10-10  Dan Williams  <dcbw@redhat.com>
7909
7910         * src/nm-manager.c
7911                 - (wait_for_connection_expired): ensure info is valid
7912                 - (connection_added_default_handler): Should only remove pending
7913                         connection info when the manager has the connection that it's
7914                         waiting for.  Fixes segfault in wait_for_connection_info().  
7915
7916 2007-10-10  Dan Williams  <dcbw@redhat.com>
7917
7918         * libnm-util/nm-setting.c
7919           libnm-util/nm-setting.h
7920                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7921                         can use if they choose.  Should be filled in by the settings service
7922                         on-the-fly with the currently logged in user's username
7923
7924 2007-10-10  Dan Williams  <dcbw@redhat.com>
7925
7926         * src/nm-device-802-11-wireless.c
7927                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7928                         as such, because even if the manager fills in the SSID, NM still
7929                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7930                         its SSID
7931
7932 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7933
7934         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7935         code that used NM's own version of dbus signal handling and custom dictionary
7936         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7937         and we get to maintain over 2000 lines less code.
7938
7939         * libnm-util/dbus-dict-helpers.c:
7940         * libnm-util/dbus-dict-helpers.h: Remove.
7941
7942         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7943
7944         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7945
7946         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7947         handlers.
7948
7949         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7950
7951         * configure.in: Remove test/libnm-util/Makefile creation.
7952
7953         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7954
7955         * test/libnm-util/: Remove the whole directory.
7956
7957 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7958
7959         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7960         device_state_changed_idle_id variable or it would contain some random value and the
7961         schedule_change_check calls would not do anything.
7962
7963 2007-10-09  Dan Williams  <dcbw@redhat.com>
7964
7965         * src/nm-device-802-11-wireless.c
7966                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7967                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7968                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7969                         merging of non-SSID-broadcasting APs
7970
7971 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7972
7973         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7974         "guint8 *" since it's usually used with GByteArray->data.
7975         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7976
7977 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7978
7979         * src/NetworkManagerUtils.c
7980         (nm_utils_is_empty_ssid):
7981         (nm_utils_escape_ssid):
7982         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7983         lot of places, so they belong to libnm-utils instead.
7984
7985         Now with 100% less compiler warnings:
7986
7987         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7988         (nm_dbus_unescape_object_path): Ditto.
7989         (nm_utils_ssid_to_utf8): Ditto.
7990         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7991         (nm_utils_escape_ssid): Ditto.
7992         (nm_utils_same_ssid): Ditto.
7993
7994         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7995         (add_one_connection_element): Remove an unused variable.
7996         (impl_manager_get_active_connections): Ditto.
7997
7998         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7999         variable.
8000
8001         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
8002         from the previous commit.
8003
8004         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
8005         (real_act_stage1_prepare): Ditto.
8006         (activation_success_handler): Ditto.
8007         (get_property): Ditto.
8008
8009         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
8010         variable.
8011
8012         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
8013         it's always set.
8014
8015         * src/supplicant-manager/nm-supplicant-config.c 
8016         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
8017         to expected "char *".
8018         (nm_supplicant_config_add_setting_wireless): Ditto.
8019         (nm_supplicant_config_remove_option): Remove, not used.
8020
8021         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
8022         not double.
8023         (test_wireless_enabled): Ifdef out unused function.
8024         (device_deactivate): Ditto.
8025         (device_state_changed): Ditto.
8026         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
8027         (nm_utils_escape_ssid): Ditto.
8028
8029         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
8030         (nm_utils_is_empty_ssid): Ditto.
8031
8032         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
8033         unused variable.
8034
8035         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
8036         (setting_vpn_properties_update_secrets): Ditto.
8037         (int_to_gvalue): Ifdef out for now, not used.
8038         (byte_to_gvalue): Ditto.
8039
8040         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
8041         Unused, remove.
8042
8043 2007-10-08  Tambet Ingo  <tambet@gmail.com>
8044
8045         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8046         about dbus manager, not named manager.
8047         Make sure hal_manager and dbus_mgr are created before trying to unreference.
8048
8049         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8050         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8051         However, the same signal is emitted when we destroy it and there's 
8052         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8053
8054         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8055         releasing the DBusGConnection, since proxy needs a conneciton.
8056         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8057
8058 2007-10-08  Dan Williams  <dcbw@redhat.com>
8059
8060         * src/NetworkManager.c
8061                 - (main): error on unknown command-line options
8062
8063 2007-10-08  Dan Williams  <dcbw@redhat.com>
8064
8065         Reimplement the invalid connection list.  Don't try to re-activate a
8066         connection that just failed or was canceled.
8067
8068         * src/nm-device.c
8069                 - (connection_secrets_failed_cb): fail device activation, don't just
8070                         deactivate the device.  Listeners have to know about the failure.
8071
8072         * src/NetworkManagerPolicy.c
8073                 - (nm_policy_auto_get_best_device): exclude invalid connections from
8074                         the connection list given to a device's get_best_connection()
8075                         method
8076                 - (device_state_changed): tag failed connections as invalid; clear the
8077                         tag from successful connections
8078
8079 2007-10-08  Dan Williams  <dcbw@redhat.com>
8080
8081         Fix problems with interrupted activation.  Previously, choosing an AP
8082         from the menu, then choosing another one before the first connection was
8083         successful wouldn't deactivate the device before starting the new connection
8084         on that same device.
8085
8086         * src/NetworkManagerPolicy.c
8087                 - (deactivate_old_device, device_state_changed, state_changed,
8088                    nm_policy_new): wrong place to deactivate old devices
8089
8090         * src/nm-manager.c
8091                 - (pending_connection_info_destroy, finalize,
8092                    wait_for_connection_expired): decouple destruction of the pending
8093                         connection info from the manager device
8094                 - (connection_added_default_handler): deactivate any active or
8095                         activating device before starting a new activation
8096                 - (impl_manager_activate_device): deactivate any active or activating
8097                         device before starting a new activation; be sure not to leak
8098                         pending connection info if a new activation request arrives but
8099                         there's already a pending one in-process
8100
8101 2007-10-08  Dan Williams  <dcbw@redhat.com>
8102
8103         * src/NetworkManagerAP.h
8104           src/NetworkManagerAP.c
8105                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
8106                         should handle default SSIDs and whether or not to autoconnect
8107                         to them
8108
8109 2007-10-08  Dan Williams  <dcbw@redhat.com>
8110
8111         * src/NetworkManagerPolicy.c
8112                 - (nm_policy_device_change_check): print out connection name where
8113                         possible
8114
8115 2007-10-08  Dan Williams  <dcbw@redhat.com>
8116
8117         * src/nm-device-802-11-wireless.c
8118           src/nm-device-802-11-wireless.h
8119                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8120                         'hidden-ap-found' signal (for internal use only) that allows the
8121                         NMManager to fill in the AP's SSID if a connection has that AP's
8122                         BSSID in its seen-bssids list
8123
8124         * src/nm-manager.c
8125                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8126                         wireless device's hidden-ap-found signal and fill in the APs SSID
8127                         if possible
8128
8129 2007-10-07  Dan Williams  <dcbw@redhat.com>
8130
8131         * src/nm-manager.c
8132           src/nm-manager.h
8133                 - Add a 'connections-added' signal to batch together updates of large
8134                         numbers of connections, like when reading from a settings service
8135                         the first time.  Otherwise, the policy would just activate the first
8136                         suitable connection it saw rather than waiting for the full list
8137                         to arrive.
8138                 - (nm_manager_class_init): register new signal
8139                 - (get_type_for_proxy, connection_get_settings_cb,
8140                    get_connection_for_proxy): centralize places where a proxy's setting
8141                         service is determined
8142                 - (free_get_settings_info): if the call being freed is the last call
8143                         in a pending call group, fire off the connections-added signal
8144                 - (internal_new_connection_cb): add call to a pending call group if
8145                         requested
8146                 - (list_connections_cb): always create a call group here, because this
8147                         call results in a batch of new connections
8148                 - (initial_get_connections): start getting system connections first
8149                 - (nm_manager_connections_destroy, emit_removed): actually emit the
8150                         removed signal when destroying connections
8151
8152         * src/NetworkManagerPolicy.c
8153                 - (nm_policy_new, connections_added): handle connections-added signal
8154                         from the manager
8155
8156 2007-10-06  Dan Williams  <dcbw@redhat.com>
8157
8158         * src/nm-device-802-11-wireless.c
8159                 - (constructor): fix leaked socket
8160
8161 2007-10-06  Dan Williams  <dcbw@redhat.com>
8162
8163         * src/NetworkManagerPolicy.c
8164                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
8165                         connection in the list returned by nm_manager_get_connections() is
8166                         reffed, but they weren't getting unreffed before returning
8167
8168 2007-10-06  Dan Williams  <dcbw@redhat.com>
8169
8170         * src/nm-manager.c
8171                 - (connections_to_slist): sort connections first on autoconnect, then
8172                         on timestamp
8173
8174 2007-10-06  Dan Williams  <dcbw@redhat.com>
8175
8176         * libnm-util/nm-connection.c
8177                 - (gvalue_to_string): handle UINT64
8178
8179 2007-10-06  Dan Williams  <dcbw@redhat.com>
8180
8181         * src/NetworkManagerPolicy.c
8182                 - (connection_updated, nm_policy_new): recheck state when a connection
8183                         gets updated
8184
8185 2007-10-06  Dan Williams  <dcbw@redhat.com>
8186
8187         * src/nm-manager.c
8188           src/nm-manager.h
8189                 - (nm_manager_get_connection_dbus_path): make static
8190                 - (nm_manager_update_connections): remove; unused
8191                 - Add a connection-updated signal
8192                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8193                         handle connection object updates
8194
8195 2007-10-06  Dan Williams  <dcbw@redhat.com>
8196
8197         * src/NetworkManagerPolicy.c
8198                 - (connection_removed): deactivate removed connections
8199
8200 2007-10-06  Dan Williams  <dcbw@redhat.com>
8201
8202         * libnm-util/nm-connection.c
8203           libnm-util/nm-connection.h
8204                 - (nm_connection_replace_settings): new function
8205
8206 2007-10-06  Dan Williams  <dcbw@redhat.com>
8207
8208         * libnm-glib/nm-device-802-11-wireless.c
8209                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8210                         on error when getting the active access point over D-Bus from NM
8211
8212 2007-10-05  Dan Williams  <dcbw@redhat.com>
8213
8214         * libnm-util/nm-setting.c
8215                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8216                         to the NMSettingWireless table; it's now a string array not an array
8217                         of byte arrays
8218
8219 2007-10-05  Dan Williams  <dcbw@redhat.com>
8220
8221         * libnm-glib/nm-device-802-11-wireless.c
8222                 - Cache properties and update cached properties on D-Bus signals from NM
8223
8224 2007-10-05  Dan Williams  <dcbw@redhat.com>
8225
8226         * src/nm-device-802-11-wireless.c
8227                 - (set_current_ap): consolidate current_ap handling code into one place
8228                         to ensure that PropertiesChanged signals are emitted in all cases
8229                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8230                    nm_device_802_11_wireless_dispose): use set_current_ap()
8231
8232 2007-10-05  Dan Williams  <dcbw@redhat.com>
8233
8234         * libnm-glib/nm-access-point.c
8235           libnm-glib/nm-access-point.h
8236                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8237                         because the value is cached internally now.  Callers should not
8238                         free the internal value.
8239                 - Make signal name defines private
8240
8241         * test/nm-tool.c
8242           libnm-glib/libnm-glib-test.c
8243                 - Don't free value returned from nm_access_point_get_hw_address()
8244
8245 2007-10-04  Dan Williams  <dcbw@redhat.com>
8246
8247         * introspection/nm-device-802-11-wireless.xml
8248           src/nm-device-802-11-wireless.h
8249           src/nm-device-802-11-wireless.c
8250                 - Add a PropertiesChanged signal for wireless device
8251                 - Store currently associated access point
8252                 - (periodic_update): generalize; update rate here too and emit the
8253                         correct PropertiesChanged signal when stuff changes
8254                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8255                    real_activation_cancel_handler): clear current_ap when device is
8256                         deactivated
8257                 - (link_to_specific_ap, get_ap_blacklisted,
8258                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8259                         code
8260                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8261                         outside this file
8262                 - (real_set_hw_address): emit property changed signal if the card's
8263                         MAC address changes
8264                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8265                         the card is supposed to be connecting to
8266                 - (activation_success_handler): send out property updates on successful
8267                         activation
8268                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8269                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8270                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8271                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8272                         is now boxed; add PropertiesChanged signal
8273
8274 2007-10-04  Dan Williams  <dcbw@redhat.com>
8275
8276         * libnm-util/nm-connection.c
8277           libnm-util/nm-connection.h
8278                 - (nm_connection_verify): new function
8279
8280 2007-10-04  Dan Williams  <dcbw@redhat.com>
8281
8282         * libnm-util/nm-setting.c
8283                 - (nm_settings_verify): use #defines when possible rather than strings
8284                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8285                 - (setting_vpn_verify): tighter validity check on 'service_type'
8286
8287 2007-10-04  Dan Williams  <dcbw@redhat.com>
8288
8289         * libnm-glib/nm-settings.c
8290                 - (nm_connection_settings_class_init): provide correct type for argument
8291                         to the Updated signal so that dbus-glib knows how to marshal it
8292
8293 2007-10-03  Dan Williams  <dcbw@redhat.com>
8294
8295         * src/nm-device-802-3-ethernet.c
8296                 - (real_get_best_connection): don't create automatic connections
8297                         internally; clients should provide a setting that applies to
8298                         the device with 'autoconnect: True'.  Problem was that these
8299                         internally auto-created connections don't have a proxy or service
8300                         name becuase they weren't created by a settings daemon, and therefore
8301                         clients have no idea what to do with them.
8302
8303 2007-10-03  Dan Williams  <dcbw@redhat.com>
8304
8305         * src/nm-device-802-11-wireless.c
8306           src/nm-device-802-11-wireless.h
8307           introspection/nm-device-802-11-wireless.xml
8308                 - GetActiveNetworks -> GetAccessPoints
8309                 - ActiveNetwork -> ActiveAccessPoint
8310                 - NetworkAdded -> AccessPointAdded
8311                 - NetowrkRemoved -> AccessPointRemoved
8312
8313         * libnm-glib/nm-device-802-11-wireless.c
8314           libnm-glib/nm-device-802-11-wireless.h
8315                 - network-added signal -> access-point-added
8316                 - network-removed signal -> access-point-removed
8317                 - nm_device_802_11_wireless_get_active_network() ->
8318                         nm_device_802_11_wireless_get_active_access_point()
8319                 - nm_device_802_11_wireless_get_network_by_path() ->
8320                         nm_device_802_11_wireless_get_access_point_by_path()
8321                 - nm_device_802_11_wireless_get_networks() ->
8322                         nm_device_802_11_wireless_get_access_points()
8323
8324         * libnm-glib/libnm-glib-test.c
8325           test/nm-tool.c
8326           src/NetworkManagerPolicy.c
8327                 - Fixups for Network -> AccessPoint
8328
8329 2007-10-03  Dan Williams  <dcbw@redhat.com>
8330
8331         Add a GetActiveConnections() method on the Manager object.
8332
8333         * src/nm-manager.c
8334           src/nm-manager.h
8335           introspection/nm-manager.xml
8336                 - (connection_get_settings_cb): keep connection type around too
8337                 - (impl_manager_get_active_connections, add_one_connection_element):
8338                         implement; returns all active connections and what devices they
8339                         apply to
8340
8341         * libnm-glib/nm-client.c
8342           libnm-glib/nm-client.h
8343           introspection/nm-manager-client.xml
8344                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8345                         by the caller; free here to avoid memory leak
8346                 - (nm_client_get_active_connections): implement; return the list of
8347                         active connections
8348                 - (nm_client_free_active_connection_element): implement; free an element
8349                         of the GSList returned by nm_client_get_active_connections()
8350
8351 2007-10-03  Dan Williams  <dcbw@redhat.com>
8352
8353         * src/nm-device-802-11-wireless.c
8354                 - (nm_device_802_11_wireless_update_bssid): remove
8355                 - (get_active_ap): new function; find the AP in the scan list which
8356                         matches the current BSSID and SSID of the wireless device
8357                 - (nm_device_802_11_periodic_update): get current AP using
8358                         get_active_ap() and print AP roam messages
8359
8360 2007-10-01  Dan Williams  <dcbw@redhat.com>
8361
8362         * libnm-util/nm-setting.h
8363                 - Add a 'timestamp' option to NMSettingConnection
8364                 - Add a UINT64 type
8365
8366         * libnm-util/nm-setting.c
8367                 - (uint64_to_gvalue): new function
8368                 - (nm_setting_populate_from_hash, nm_setting_hash,
8369                    default_setting_clear_secrets): handle UINT64 type
8370                 - con_table: add 'timestamp' member
8371
8372 2007-10-01  Dan Williams  <dcbw@redhat.com>
8373
8374         * src/nm-manager.c
8375                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8376                         value when the connection can be activated immediately
8377
8378 2007-10-01  Dan Williams  <dcbw@redhat.com>
8379
8380         * libnm-glib/nm-device.c
8381                 - (nm_device_class_init): actually tell glib about the carrier-changed
8382                         signal
8383
8384 2007-10-01  Dan Williams  <dcbw@redhat.com>
8385
8386         * configure.in
8387           src/marshallers/Makefile.am
8388           src/marshallers/nm-marshal.list
8389           src/marshallers/nm-marshal-main.c
8390                 - Consolidate glib marshallers into one place
8391
8392         * src/dhcp-manager/Makefile.am
8393           src/dhcp-manager/nm-dhcp-manager.c
8394           src/supplicant-manager/Makefile.am
8395           src/supplicant-manager/nm-supplicant-manager.c
8396           src/supplicant-manager/nm-supplicant-interface.c
8397           src/ppp-manager/Makefile.am
8398           src/ppp-manager/nm-ppp-manager.c
8399           src/vpn-manager/Makefile.am
8400           src/vpn-manager/nm-vpn-connection.c
8401           src/Makefile.am
8402                 - Use consolidated marshallers
8403
8404         * src/dhcp-manager/nm-dhcp-marshal.list
8405           src/dhcp-manager/nm-dhcp-marshal-main.c
8406           src/supplicant-manager/nm-supplicant-marshal-main.c
8407           src/supplicant-manager/nm-supplicant-marshal.list
8408           src/nm-marshal-main.c
8409           src/nm-marshal.list
8410           src/ppp-manager/nm-ppp-marshal-main.c
8411           src/ppp-manager/nm-ppp-marshal.list
8412           src/vpn-manager/nm-vpn-marshal-main.c
8413           src/vpn-manager/nm-vpn-marshal.list
8414                 - Remove
8415
8416 2007-10-01  Dan Williams  <dcbw@redhat.com>
8417
8418         * include/NetworkManagerVPN.h
8419                 - define VPN connection state change reason codes
8420
8421         * src/vpn-manager/Makefile.am
8422           src/vpn-manager/nm-vpn-marshal.list
8423           src/vpn-manager/nm-vpn-marshal-main.c
8424                 - Add marshallers for StateChanged signal
8425
8426         * introspection/nm-vpn-connection.xml
8427                 - New Banner property
8428                 - StateChanged signal now includes a 'reason' argument
8429
8430         * src/vpn-manager/nm-vpn-connection.c
8431           src/vpn-manager/nm-vpn-connection.h
8432                 - Add a "Banner" property that contains the returned VPN server login
8433                         banner (if any); valid only in the ACTIVATED state
8434                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8435                         a 'reason' argument and emits that reason along with the
8436                         state-changed signal
8437                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8438                 - (nm_vpn_connection_ip4_config_get): save banner for later
8439                 - (nm_vpn_connection_get_banner, get_property,
8440                    nm_vpn_connection_class_init): implement Banner property
8441
8442         * src/vpn-manager/nm-vpn-service.c
8443                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8444                         connection list because elements may get added/removed from it
8445                         while iterating over the list
8446                 - (connection_state_changed): signal now includes the 'reason' argument
8447
8448         * libnm-glib/nm-vpn-connection.c
8449           libnm-glib/nm-vpn-connection.h
8450                 - (nm_vpn_connection_get_banner): new function
8451                 - (state_changed_proxy): handle reason argument
8452
8453 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8454
8455         * src/nm-manager.c:
8456         * src/nm-manager.h:
8457         Implement device activation through NMManager.
8458         Implement "pending device activation" here - If the connection isn't found,
8459         we try to wait for up to 5 seconds for the connection to be provided.
8460         Add NMConnectionType argument to "connection-added" and "connection-removed"
8461         signals.
8462         (nm_manager_get): Remove. Finally.
8463
8464         * src/nm-activation-request.c: 
8465         * src/nm-activation-request.h: 
8466         Remove all the deferred activation code.
8467
8468         * src/nm-device.c: Remove all the deferred activation code. Once the device
8469         activation is started, it's started. Update the activation virtual function
8470         signature.
8471
8472         * src/nm-device-interface.c:
8473         * src/nm-device-interface.h:
8474         Device activation now takes only NMActRequest argument.
8475         Don't expose device activation directly on dbus, it's supposed to go through
8476         NMManager now.
8477
8478         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8479         a bit more compact.
8480         Use the new device activation methods through NMManager.
8481
8482         * introspection/nm-manager-client.xml: 
8483         * introspection/nm-manager.xml: 
8484         * libnm-glib/nm-client.c:
8485         * libnm-glib/nm-client.h:
8486         Add device activation method.
8487         
8488         * libnm-glib/nm-device.c: 
8489         * libnm-glib/nm-device.h: 
8490         * introspection/nm-device.xml: 
8491         Remove device activation method. It's done through NMManager now.
8492
8493         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8494         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8495
8496 2007-09-28  Dan Williams  <dcbw@redhat.com>
8497
8498         * libnm-glib/nm-vpn-connection.c
8499                 - (nm_vpn_connection_get_state): try to update state if the current
8500                         state is UNKNOWN
8501
8502 2007-09-27  Dan Williams  <dcbw@redhat.com>
8503
8504         Patch from Bill Nottingham
8505
8506         * src/supplicant-manager/nm-supplicant-config.c
8507                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8508                         data to the supplicant
8509
8510 2007-09-27  Dan Williams  <dcbw@redhat.com>
8511
8512         * src/NetworkManagerSystem.c
8513                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8514                         and all address manipulation here should be happening on the
8515                         _VPN_ device, not the active device
8516
8517 2007-09-26  Dan Williams  <dcbw@redhat.com>
8518
8519         * src/nm-manager.c
8520           src/nm-manager.h
8521           src/nm-activation-request.c
8522           src/nm-activation-request.h
8523                 - Move the GetSecrets stuff out of the NMManager instance because it
8524                         doesn't really need to be there and complicates things
8525
8526         * src/nm-device.c
8527                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8528                         connection-secrets-failed signal and deactivate the device if
8529                         the GetSecrets call fails
8530
8531         * src/nm-device-802-11-wireless.c
8532                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8533                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8534                         secrets and give correct hints about whether new secrets should be
8535                         asked for by the client or not
8536
8537 2007-09-26  Dan Williams  <dcbw@redhat.com>
8538
8539         * src/vpn-manager/nm-vpn-connection.c
8540                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8541                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8542                         to the secrets-updated signal of the NMConnection since updating
8543                         the secrets is done within the scope of the NMVPNConnection object
8544                         already
8545                 - (get_connection_secrets): fix an uninialized variable usage error
8546
8547 2007-09-26  Dan Williams  <dcbw@redhat.com>
8548
8549         * libnm-util/nm-setting.c
8550                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8551                         actually get updated when the user enters them
8552
8553 2007-09-26  Dan Williams  <dcbw@redhat.com>
8554
8555         * libnm-glib/nm-vpn-plugin.c
8556                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8557
8558 2007-09-26  Dan Williams  <dcbw@redhat.com>
8559
8560         * include/NetworkManagerVPN.h
8561                 - Add a NEED_AUTH state
8562
8563         * src/vpn-manager/nm-vpn-connection.c
8564                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8565                         the connection needs secrets, and if so, then ask the settings
8566                         service to fill in the secrets.  Then start the connection.
8567
8568 2007-09-26  Dan Williams  <dcbw@redhat.com>
8569
8570         * src/vpn-manager/nm-vpn-manager.c
8571                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8572
8573 2007-09-26  Dan Williams  <dcbw@redhat.com>
8574
8575         * introspection/nm-vpn-plugin.xml
8576           libnm-glib/nm-vpn-plugin.c
8577           libnm-glib/nm-vpn-plugin.h
8578                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8579                         the name of the NMSetting in an NMConnection that may require
8580                         secrets specific to that VPN plugin
8581
8582 2007-09-26  Dan Williams  <dcbw@redhat.com>
8583
8584         * src/nm-manager.c
8585           src/nm-manager.h
8586                 - (nm_manager_get_connection_secrets): make static, unused outside
8587                         the file
8588                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8589
8590 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8591
8592         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8593         method.
8594         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8595         unreference the connection.
8596
8597         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8598         passing properties hash and routes string list, pass NMConnection (in hashed form).
8599
8600         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8601         as GSList, no need to copy stuff around anymore.
8602         (nm_vpn_connection_activate): Update the plugin activation method.
8603
8604         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8605         routes argument to GSList.
8606
8607 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8608
8609         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8610         state and try to get the secrets.
8611
8612         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8613         connections from NMManager and let the device to choose the best from the list.
8614         Since the connection list is sorted by system ones first and user ones later,
8615         the devices still prefer system connections like they did before.
8616         (deactivate_old_device): Implement. When a device starts activation, we have a
8617         policy (for now at least) to deactivate any other device that might be either
8618         active or still activating.
8619
8620         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8621         It's set on construction, there will be no other way to access it.
8622
8623         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8624         device events and drive the device, not the other way around.
8625
8626         * src/nm-device-802-3-ethernet.c: Ditto.
8627
8628         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8629         sent along, pass it on to virtual functions.
8630
8631         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8632         for now, but should really be public instead of nm_device_get_iface() since iface
8633         is a property of the DeviceInterface, not Device.
8634         (impl_device_activate): Don't touch NMManager!
8635
8636 2007-09-26  Jürg Billeter  <j@bitron.ch>
8637
8638         * initscript/paldo/NetworkManager.in:
8639         * initscript/paldo/NetworkManagerDispatcher.in:
8640         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8641         (nm_system_flush_loopback_routes): update paldo backend
8642
8643 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8644
8645         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8646         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8647         which means none of the devices get brought down properly, which in turn leaves
8648         DHCP client running.
8649
8650         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8651         (supplicant_connection_timeout_cb): Ditto.
8652
8653 2007-09-25  Dan Williams  <dcbw@redhat.com>
8654
8655         * src/nm-device.c
8656                 - (device_activation_go): small hack to work around race when
8657                         activating deferred connections; should solve this in a better way
8658
8659 2007-09-25  Dan Williams  <dcbw@redhat.com>
8660
8661         * introspection/nm-device.xml
8662           libnm-glib/nm-device.c
8663           libnm-glib/nm-device.h
8664                 - Add 'Carrier' property to exported NMDevice objects
8665
8666         * src/nm-device-interface.h
8667           src/nm-device-interface.c
8668           src/nm-device.c
8669                 - Add a 'carrier' property to internal NMDevice objects
8670
8671 2007-09-25  Dan Williams  <dcbw@redhat.com>
8672
8673         * src/nm-device-802-11-wireless.c
8674                 - (ap_auth_enforced): also return the encryption status of the AP so
8675                         that callers can differentiate easily between unencrypted APs
8676                         and encrypted ones, in addition to whether the AP has an
8677                         authenticator
8678                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8679                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8680                         previously would request secrets from unencrypted APs at times
8681
8682 2007-09-25  Dan Williams  <dcbw@redhat.com>
8683
8684         * src/nm-manager.c
8685                 - (nm_manager_update_state): new function; updates state and emits
8686                         appropriate signals ensuring a state-change signal for the same state
8687                         never gets emitted twice in a row.
8688                 - (manager_device_state_changed): handle more device state to get a
8689                         better picture of the overall NM state
8690
8691 2007-09-25  Dan Williams  <dcbw@redhat.com>
8692
8693         * libnm-glib/nm-settings.c
8694           libnm-glib/nm-settings.h
8695                 - (new_error -> nm_settings_new_error): make public so that subclasses
8696                         can use the same error domain.  Also pass a valid error code to
8697                         g_error_new_literal() so that libdbus doesn't assert when converting
8698                         the GError into a DBusError
8699                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8700                    impl_connection_settings_get_settings,
8701                    impl_connection_settings_get_secrets): use new error creator
8702                         function
8703
8704 2007-09-25  Dan Williams  <dcbw@redhat.com>
8705
8706         * src/NetworkManager.c
8707                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8708
8709 2007-09-25  Dan Williams  <dcbw@redhat.com>
8710
8711         * src/supplicant-manager/nm-supplicant-manager.c
8712                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8713                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8714                    nm_supplicant_manager_startup): when the supplicant isn't running,
8715                         try to start it periodically via system bus activation.  Fixes
8716                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8717                         for the supplicant to come back
8718
8719 2007-09-25  Dan Williams  <dcbw@redhat.com>
8720
8721         Ensure that old activation requests are forgotten about; previously
8722         hitting Cancel in the password dialog would deactivate whatever device
8723         that password was requested for, even if that wasn't the currently
8724         activating connection.
8725
8726         * src/nm-manager.c
8727           src/nm-manager.h
8728                 - (nm_manager_get_connection_secrets): track the pending call
8729                         object so it can be canceled later if needed
8730                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8731                         GetSecrets call for a particular connection
8732
8733         * src/nm-activation-request.c
8734                 - (dispose): cancel any outstanding GetSecrets calls on the
8735                         connection
8736
8737 2007-09-25  Dan Williams  <dcbw@redhat.com>
8738
8739         * src/NetworkManagerPolicy.c
8740                 - (nm_policy_device_change_check): handle devices that have a
8741                         deferred activation.  These devices are not really active _yet_,
8742                         but need to be treated as such here.  Don't interrupt them
8743                         automatically.
8744
8745         * src/nm-device-interface.c
8746                 - (impl_device_activate): handle devices that have a deferred activation
8747                         like activating or active devices.  When multiple active devices
8748                         get committed, the device shouldn't be deactivated until the
8749                         connection details are available to avoid DoS and such.  Currently,
8750                         any active, activating, or deferred activation device is deactivated
8751                         here before starting the new activation request.
8752
8753 2007-09-25  Dan Williams  <dcbw@redhat.com>
8754
8755         Properly re-query secrets from the settings daemon when stuff fails.
8756
8757         * src/nm-device-802-11-wireless.c
8758                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8759                         between Shared Key and Open System auth modes
8760                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8761                    real_act_stage4_ip_config_timeout): clear existing secrets and
8762                         request new ones when something fails due to a suspected wrong key
8763                 - (real_act_stage2_config): fix for new request_new argument to
8764                         nm_manager_get_connection_secrets()
8765
8766         * src/nm-manager.c
8767           src/nm-manager.h
8768                 - (nm_manager_get_connection_secrets): return error status; pass
8769                         new request_new argument on to the settings daemon
8770
8771         * introspection/nm-settings-connection.xml
8772                 - New 'request_new' argument to the GetSecrets call that hints to the
8773                         settings daemon to ask the user for completely new secrets
8774
8775         * libnm-glib/nm-settings.c
8776           libnm-glib/nm-settings.h
8777                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8778                         argument
8779
8780 2007-09-25  Dan Williams  <dcbw@redhat.com>
8781
8782         * libnm-util/nm-connection.c
8783           libnm-util/nm-connection.h
8784                 - (nm_connection_clear_secrets): new function; clear secrets out of
8785                         each NMSetting in an NMConnection
8786
8787         * libnm-util/nm-setting.h
8788           libnm-util/nm-setting.c
8789                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8790                         secrets out of an NMSetting
8791                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8792                    nm_setting_wired_new, nm_setting_wireless_new,
8793                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8794                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8795                         to default handler default_setting_clear_secrets()
8796
8797 2007-09-25  Dan Williams  <dcbw@redhat.com>
8798
8799         * src/nm-activation-request.c
8800           src/nm-activation-request.h
8801                 - (nm_act_request_is_deferred): new function
8802
8803 2007-09-24  Dan Williams  <dcbw@redhat.com>
8804
8805         * src/nm-device-802-11-wireless.c
8806                 - (activation_success_handler): update signal strength immediately
8807                         after activation
8808
8809 2007-09-24  Dan Williams  <dcbw@redhat.com>
8810
8811         * libnm-util/nm-setting.c
8812                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8813
8814 2007-09-24  Dan Williams  <dcbw@redhat.com>
8815
8816         * src/NetworkManagerPolicy.c
8817                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8818                         device by deactivating it because it doesn't have a "best connection".
8819                         Since autoconnect=False connections aren't automatically chosen,
8820                         NM would interrupt activation of such a connection because it
8821                         would never be "best" due to autoconnect=False.
8822
8823 2007-09-24  Dan Williams  <dcbw@redhat.com>
8824
8825         * src/nm-manager.c
8826                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8827                         actually has some time to enter a key before the GetSecrets call
8828                         times out
8829
8830 2007-09-24  Dan Williams  <dcbw@redhat.com>
8831
8832         * introspection/nm-manager.xml
8833           src/nm-manager.c
8834                 - (impl_manager_legacy_state): fix 'state' method call return value
8835
8836 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8837
8838         * test/Makefile.am: Install nm-tool
8839
8840 2007-09-24  Dan Williams  <dcbw@redhat.com>
8841
8842         Patch from Ross Burton <ross@burtonini.com>
8843
8844         * test/nm-tool.c
8845           callouts/nm-dhcp-client-action.c
8846           src/nm-netlink.c
8847           src/vpn-manager/nm-vpn-connection.c
8848           libnm-glib/libnm-glib-test.c
8849                 - warning fixes
8850
8851 2007-09-24  Dan Williams  <dcbw@redhat.com>
8852
8853         * libnm-util/nm-utils.h
8854           libnm-util/nm-utils.c
8855                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8856                         remove, unused
8857
8858 2007-09-23  Dan Williams  <dcbw@redhat.com>
8859
8860         * vpn-daemons/vpnc/properties/nm-vpnc.c
8861                 - Update for new VPN properties API bits; instead of passing around
8862                         a lot of random things, everything goes into the NMConnection
8863                         object.
8864
8865 2007-09-23  Dan Williams  <dcbw@redhat.com>
8866
8867         * libnm-util/nm-setting.c
8868                 - Correctly dispose of settings objects if creating them from a hash
8869                         table fails
8870
8871 2007-09-23  Dan Williams  <dcbw@redhat.com>
8872
8873         * libnm-util/nm-setting.c
8874                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8875                         the hash table in a standard manner.  Clients of libnm-util should
8876                         only call g_hash_table_remove_all(), never destroy the hash table
8877                         and recreate it.
8878
8879 2007-09-22  Dan Williams  <dcbw@redhat.com>
8880
8881         * src/nm-device-802-11-wireless.c
8882                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8883                         real reason to do it so often, and reduces wakeups for clients.
8884
8885 2007-09-21  Dan Williams  <dcbw@redhat.com>
8886
8887         * src/nm-device-802-11-wireless.c
8888                 - (build_supplicant_config): wpa_supplicant requires the option
8889                         key_mgmt=NONE for unencrypted networks
8890                 - (real_act_stage2_config): clarify log message on activation
8891
8892 2007-09-21  Dan Williams  <dcbw@redhat.com>
8893
8894         * test/nm-supplicant-test.c
8895           test/Makefile.am
8896                 - Remove supplicant test binary; no longer applicable
8897
8898 2007-09-21  Dan Williams  <dcbw@redhat.com>
8899
8900         * src/supplicant-manager/nm-supplicant-manager.c
8901                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8902                         activate it on the system bus
8903
8904 2007-09-20  Dan Williams  <dcbw@redhat.com>
8905
8906         * initscript/RedHat/NetworkManager.in
8907                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8908
8909 2007-09-20  Dan Williams  <dcbw@redhat.com>
8910
8911         * src/nm-device.c
8912                 - (nm_device_is_activating): work around a race between auto-activation
8913                         and the user activating the same device that is being auto-activated
8914
8915 2007-09-20  Dan Williams  <dcbw@redhat.com>
8916
8917         * src/nm-device-interface.c
8918                 - (impl_device_activate): until multiple active device support lands,
8919                         ensure only one device can be active at a time
8920
8921 2007-09-20  Dan Williams  <dcbw@redhat.com>
8922
8923         * src/supplicant-manager/nm-supplicant-config.c
8924           src/supplicant-manager/nm-supplicant-config.h
8925                 - (nm_supplicant_config_add_option): hide secrets from system logs
8926
8927 2007-09-20  Dan Williams  <dcbw@redhat.com>
8928
8929         * src/NetworkManagerPolicy.c
8930                 - (nm_policy_device_change_check): re-enable the wireless device change
8931                         checking code; insted of checking for SSIDs, check for the same
8932                         connection instead
8933
8934 2007-09-20  Dan Williams  <dcbw@redhat.com>
8935
8936         * src/nm-device-802-11-wireless.c
8937                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8938                         composite link state when determining when to start the disconnection
8939                         timer; that link state is already based on the supplicant interface's
8940                         status which is exactly what's already being examined, plus the link
8941                         state is a conglomeration of various things that we don't want here
8942
8943 2007-09-20  Dan Williams  <dcbw@redhat.com>
8944
8945         * libnm-glib/nm-access-point.c
8946                 - (handle_property_changed): strength is a UCHAR
8947
8948 2007-09-20  Dan Williams  <dcbw@redhat.com>
8949
8950         * src/supplicant-manager/nm-supplicant-config.c
8951                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8952                         string list keywords too since that's what wpa_supplicant wants
8953
8954 2007-09-20  Dan Williams  <dcbw@redhat.com>
8955
8956         * libnm-util/nm-setting.c
8957                 - (convert_strv_to_slist): dupe the values in the list because since
8958                         the list is a boxed value, it'll get destroyed when it's container
8959                         (like a hash table or whatever) gets destroyed
8960
8961 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8962
8963         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8964         GSList.
8965
8966         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8967
8968         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8969         just use (g_object_set_data_full).
8970
8971         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8972         that NMSettingVPN->routes is a GSList, convert it to char **.
8973         (nm_vpn_connection_ip4_config_get): Free routes when done.
8974         (nm_vpn_connection_activate): Ditto.
8975
8976         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8977         (real_act_stage2_config): Use defined setting names.
8978
8979 2007-09-20  Dan Williams  <dcbw@redhat.com>
8980
8981         * src/nm-device-802-11-wireless.c
8982           src/nm-manager.c
8983           src/nm-manager.h
8984                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8985                         so that the device can be deactivated if secrets are wrong
8986
8987 2007-09-20  Dan Williams  <dcbw@redhat.com>
8988
8989         * introspection/nm-settings-connection.xml
8990           libnm-glib/nm-settings.c
8991           libnm-glib/nm-settings.h
8992                 - Make GetSecrets asynchronous on the server side
8993
8994 2007-09-20  Dan Williams  <dcbw@redhat.com>
8995
8996         * src/nm-manager.h
8997           src/nm-device.c
8998                 - (nm_device_activate): actually check if a given connection
8999                         exists before assuming it doesn't
9000
9001 2007-09-20  Tambet Ingo  <tambet@gmail.com>
9002
9003         * libnm-util/nm-connection.c (register_default_creators): Use defined
9004         setting names. Register NMSettingVPN and NMSettingVPNProperties.
9005
9006         * libnm-util/nm-setting.c: Define property name strings, use them.
9007         Implement NMSettingVPN and NMSettingVPNProperties settings.
9008         Implement NM_S_TYPE_GVALUE_HASH.
9009         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
9010         (setting_connection_verify): Rename 'devtype' property to 'type'.
9011
9012         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
9013         properties.
9014
9015         * src/vpn-manager/nm-vpn-service.c: Ditto.
9016
9017         * src/vpn-manager/nm-vpn-connection.c: Ditto.
9018
9019         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
9020         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
9021
9022         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
9023         names. NMSettingConnection->devtype got renamed to 'type'.
9024
9025         * src/nm-device-802-3-ethernet.c (find_best_connection):
9026         (real_get_best_connection): Ditto.
9027
9028         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
9029
9030         * libnm-glib/nm-vpn-manager.[ch]: Update.
9031
9032 2007-09-19  Dan Williams  <dcbw@redhat.com>
9033
9034         * src/NetworkManagerAP.c
9035           src/NetworkManagerAP.h
9036           introspection/nm-access-point.xml
9037                 - Change strength-changed signal into a properties-changed signal
9038                         for all properties, not just strength.  Export that signal over dbus
9039                         so listeners don't have to poll NM for changes.
9040                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9041                         get exported over D-Bus, so break up the logic and let other bits
9042                         decided when to export the AP
9043                 - (nm_ap_new_from_ap): remove, unused
9044
9045         * src/nm-device-802-11-wireless.c
9046                 - (merge_scanned_ap): only export APs that are actually on the device
9047                         list, not every AP created internally
9048
9049         * libnm-glib/nm-access-point.c
9050           libnm-glib/nm-access-point.h
9051                 - Cache properties internally and only hit DBus when needed.  Get
9052                         property updates from NM signals
9053
9054 2007-09-16  Dan Williams  <dcbw@redhat.com>
9055
9056         * libnm-util/nm-connection.c
9057           libnm-util/nm-connection.h
9058                 - (nm_connection_for_each_setting_value): new function; iterate over
9059                         each setting's value and call a user-provided function with details
9060                         about that value
9061
9062         * libnm-util/nm-setting.c
9063           libnm-util/nm-setting.h
9064                 - (nm_setting_enumerate_values): new function; enumerate the values
9065                         of a specific NMSetting subclass for a user-provided function with
9066                         details about that value
9067                 - Change wep_tx_keyidx to a uint32
9068                 - Create settings value tables for each setting defining their type,
9069                         key name, offset into the NMSetting subclass' structure, and whether
9070                         they are required and/or a secret
9071                 - (nm_setting_populate_from_hash): generic function to populate an
9072                         NMSetting from a GHash table, make all settings use it
9073                 - (nm_setting_hash): generic function to derive a GHashTable from
9074                         an NMSetting object, make all settings use it
9075
9076 2007-09-14  Dan Williams  <dcbw@redhat.com>
9077
9078         Remove unused stuff in libnm-util
9079
9080         * configure.in
9081           libnm-util/Makefile.am
9082           libnm-util/cipher-private.h
9083           libnm-util/cipher-wep-ascii.c
9084           libnm-util/cipher-wep-ascii.h
9085           libnm-util/cipher-wep-hex.c
9086           libnm-util/cipher-wep-hex.h
9087           libnm-util/cipher-wep-passphrase.c
9088           libnm-util/cipher-wep-passphrase.h
9089           libnm-util/cipher-wpa-psk-hex.c
9090           libnm-util/cipher-wpa-psk-hex.h
9091           libnm-util/cipher-wpa-psk-passphrase.c
9092           libnm-util/cipher-wpa-psk-passphrase.h
9093           libnm-util/cipher.c
9094           libnm-util/cipher.h
9095           libnm-util/dbus-helpers.c
9096           libnm-util/dbus-helpers.h
9097           libnm-util/gnome-keyring-md5.c
9098           libnm-util/gnome-keyring-md5.h
9099           libnm-util/sha1.c
9100           libnm-util/sha1.h
9101           src/nm-device-802-11-wireless.c
9102           test/libnm-util/Makefile.am
9103           test/libnm-util/test-ciphers.c
9104           test/libnm-util/test-dbus-helpers.c
9105           test/libnm-util/test-inputs.h
9106                 - Removed
9107
9108 2007-09-14  Dan Williams  <dcbw@redhat.com>
9109
9110         * libnm-util/dbus-method-dispatcher.c
9111           libnm-util/dbus-method-dispatcher.h
9112                 - Remove, unused
9113
9114 2007-09-14  Dan Williams  <dcbw@redhat.com>
9115
9116         Implement deferred activation support in the device class.
9117
9118         * src/nm-device-interface.c
9119           src/nm-device-interface.h
9120                 - (nm_device_interface_activate): take more arguments to support
9121                         deferred activation; callers must pass one of (connection) OR
9122                         (service_name, connection_path)
9123                 - (impl_device_activate): connection validation is punted to the device
9124                         to be able to handle deferred activation.  Yes, this means errors
9125                         don't get returned from the Activate() dbus call, and yes, that
9126                         should be fixed somehow later.
9127
9128         * src/nm-device.c
9129           src/nm-device.h
9130                 - (clear_act_request): clear additional deferred activation stuff too
9131                 - (deferred_activation_timeout_cb): new function; clean up when
9132                         deferred activation times out.
9133                 - (deferred_activation_start_cb): new function; when the connection
9134                         finally becomes available, start device activation
9135                 - (nm_device_activate): attach to the right signals of the activation
9136                         request if we need to defer activation until the connection is valid
9137
9138         * src/NetworkManagerPolicy.c
9139                 - (nm_policy_device_change_check): update for additional arguments
9140                         required for nm_device_interface_activate().  Pass NULL for these
9141                         though because this function already knows exactly which
9142                         NMConnection to use
9143
9144 2007-09-14  Dan Williams  <dcbw@redhat.com>
9145
9146         Implement deferred activation handling in the NMActRequest class.  When a
9147         client wants to activate a device but must create the NMConnection details
9148         on the fly, there likely hasn't been enough time yet for NM to receive the
9149         new connection signal and grab all the connection details.  So the
9150         activation is deferred (and bounded by a timer) for a while, and if the
9151         connection appears within the window, it is activated.
9152
9153         * src/nm-activation-request.c
9154           src/nm-activation-request.h
9155                 - (nm_act_request_class_init): two new signals to support deferred
9156                         activation, to allow the listener to handle both timeout and success
9157                 - (nm_act_request_new_deferred): new function, starts the deferred
9158                         activation timeout handler and listens to the NMManager for
9159                         new-connection signals to notice when the connection comes in
9160
9161 2007-09-14  Dan Williams  <dcbw@redhat.com>
9162
9163         * src/nm-manager.h
9164           src/nm-manager.c
9165                 - (nm_manager_get_connection_service_name,
9166                    nm_manager_get_connection_dbus_path): get details about a connection
9167                         known internally by the NMManager
9168                 - (nm_manager_class_init): fix connection add/remove signal marshalers
9169                         because NMConnection is now a GObject subclass
9170                 - Use constant for the gobject data tag used on NMConnection objects for
9171                         storing the associated DBusGProxy
9172
9173 2007-09-14  Dan Williams  <dcbw@redhat.com>
9174
9175         * utils/Makefile.am
9176           utils/nm-utils.c
9177           utils/nm-utils.h
9178           src/supplicant-manager/Makefile.am
9179           src/dhcp-manager/Makefile.am
9180           src/backends/Makefile.am
9181           src/named-manager/Makefile.am
9182           src/ppp-manager/Makefile.am
9183           src/vpn-manager/Makefile.am
9184           test/libnm-util/Makefile.am
9185           test/test-common/Makefile.am
9186                 - Remove utils/; it was unused
9187
9188 2007-09-13  Dan Williams  <dcbw@redhat.com>
9189
9190         * libnm-glib/nm-vpn-manager.h
9191           libnm-glib/nm-vpn-manager.c
9192                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9193
9194 2007-09-13  Dan Williams  <dcbw@redhat.com>
9195
9196         * src/nm-device-802-3-ethernet.c
9197                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9198                         netlink monitor carrier signals on dispose, not bring down.  The
9199                         carrier signals should be handled over the entire lifetime of the
9200                         device anyway, not created/destroyed on up or down.
9201
9202 2007-09-13  Dan Williams  <dcbw@redhat.com>
9203
9204         * libnm-glib/nm-device.c
9205           libnm-glib/nm-device.h
9206                 - (nm_device_activate): take a connection object path rather than an
9207                         NMConnection because NMConnection isn't exported over D-Bus and
9208                         therefore it dbus-glib can't automatically get an object path from it
9209
9210 2007-09-13  Dan Williams  <dcbw@redhat.com>
9211
9212         * libnm-util/nm-setting.c
9213                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9214
9215 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9216
9217         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9218
9219 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9220
9221         * src/vpn-manager/nm-vpn-connection.[ch]: 
9222         * src/vpn-manager/nm-vpn-manager.[ch]:
9223         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9224         dbus-glib, GObjects, signals etc.
9225
9226         * libnm-glib/nm-vpn-manager.[ch]: 
9227         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9228         so much, rewrite these too.
9229
9230         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9231         the new introspection files.
9232
9233         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9234
9235         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9236         the header with the same name from libnm-utils.
9237
9238         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9239
9240         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9241
9242         * introspection/nm-vpn-plugin.xml: Implement.
9243
9244         * introspection/nm-vpn-connection.xml: Implement.
9245
9246         * introspection/nm-vpn-manager.xml: Implement.
9247
9248         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9249         the named manager argument, it can just as easily get it as the caller.
9250         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9251
9252         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9253
9254         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9255
9256         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9257         libnm-utils.
9258
9259         * libnm-util/nm-connection.c: Ditto.
9260
9261         * src/NetworkManagerMain.h: Remove, it's finally empty.
9262
9263         * configure.in: Remove utils/ from build.
9264
9265         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9266         of hard-coded strings.
9267
9268         * utils/: Move it over to libnm-util.
9269
9270         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9271
9272         * dispatcher-daemon/Makefile.am: Ditto.
9273
9274         * src/Makefile.am: Ditto.
9275
9276 2007-09-12  Dan Williams  <dcbw@redhat.com>
9277
9278         Wireless connections can be made with config data from the applet now.
9279         
9280         Yay.
9281
9282         * src/supplicant-manager/nm-supplicant-config.h
9283           src/supplicant-manager/nm-supplicant-config.c
9284                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9285                 - (nm_supplicant_config_add_setting_wireless,
9286                    nm_supplicant_config_add_setting_wireless_security): new functions;
9287                         add key/value pairs from the settings objects to the supplicant
9288                         config
9289
9290         * src/nm-device-802-11-wireless.c
9291                 - (cull_scan_list): fix check to not prune currently associated AP
9292                 - (build_supplicant_config, real_act_stage2_config): call the functions
9293                         of the NMSupplicantConfig that parse settings objects rather than
9294                         doing it manually here
9295
9296 2007-09-12  Dan Williams  <dcbw@redhat.com>
9297
9298         * src/supplicant-manager/nm-supplicant-interface.c
9299           src/supplicant-manager/nm-supplicant-marshal.list
9300                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9301                         "connection-error" signal arguments should be STRING not CHAR
9302
9303 2007-09-12  Dan Williams  <dcbw@redhat.com>
9304
9305         * src/NetworkManagerUtils.c
9306           src/NetworkManagerUtils.h
9307                 - (nm_utils_hexstr2bin): new function
9308
9309 2007-09-11  Dan Williams  <dcbw@redhat.com>
9310
9311         * src/nm-manager.c
9312                 - (connection_get_settings_cb): emit connection-added signal
9313                 - (connection_removed_cb): uncomment bits for system settings service,
9314                         send connection-removed when appropriate
9315                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9316                         the stack by trying to g_object_set_data() on something that's
9317                         not a GObject; handle case where settings service returns
9318                         empty settings hash table
9319
9320 2007-09-11  Dan Williams  <dcbw@redhat.com>
9321
9322         * src/NetworkManagerPolicy.c
9323                 - (connection_added, connection_removed): trigger device change checks
9324                         on connection changes
9325
9326 2007-09-11  Dan Williams  <dcbw@redhat.com>
9327
9328         * src/nm-activation-request.c
9329                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9330
9331 2007-09-11  Dan Williams  <dcbw@redhat.com>
9332
9333         * src/nm-device-802-11-wireless.c
9334                 - (real_connection_secrets_updated): fix erroneous check
9335
9336 2007-09-11  Dan Williams  <dcbw@redhat.com>
9337
9338         * introspection/nm-device.xml
9339           libnm-glib/nm-device.c
9340           libnm-glib/nm-device.c
9341                 - Fix Activate call argument borkage; Activate takes 3 arguments
9342
9343 2007-09-11  Dan Williams  <dcbw@redhat.com>
9344
9345         * libnm-glib/nm-access-point.c
9346           libnm-glib/nm-access-point.c
9347                 - (nm_access_point_get_frequency): now returns guint32 to match
9348                         property change on 2007-09-10
9349
9350 2007-09-11  Dan Williams  <dcbw@redhat.com>
9351
9352         * src/nm-device-802-11-wireless.c
9353                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9354                         somewhere defines 'index' and I missed this one when I fixed the
9355                         shadow declaration errors earlier
9356
9357 2007-09-11  Dan Williams  <dcbw@redhat.com>
9358
9359         * libnm-util/nm-connection.c
9360                 - (nm_connection_update_secrets, need_secrets_check): move
9361                         802-11-wireless-security need_secrets checks to the setting object
9362                         itself, where it belongs
9363
9364         * libnm-util/nm-setting.c
9365           libnm-util/nm-setting.h
9366                 - (nm_setting_need_secrets): new function
9367                 - (setting_wireless_security_verify,
9368                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9369                 - (setting_wireless_security_need_secrets): mostly copy code over
9370                         from nm-connection.c
9371
9372 2007-09-11  Dan Williams  <dcbw@redhat.com>
9373
9374         * libnm-util/nm-setting.c
9375           libnm-util/nm-setting.h
9376                 - (nm_setting_update_secrets): new function; add a virtual function that
9377                         subclasses can implement to update their secrets
9378                 - (setting_wireless_security_update_secrets): implement that function
9379                         for the 802-11-wireless-security subclass
9380
9381         * libnm-util/nm-connection.c
9382           libnm-util/nm-connection.h
9383                 - (nm_connection_update_secrets): update secrets for a Setting and
9384                         emit a signal on success
9385
9386         * src/nm-manager.c
9387           src/nm-manager.h
9388           src/nm-marshal.list
9389                 - (connection_get_settings_cb): enable system settings bits
9390                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9391                         to request secrets from the settings dbus service and to
9392                         push those secrets to the NMConnection itself
9393
9394         * src/nm-activation-request.c
9395           src/nm-activation-request.h
9396                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9397                         currently being activated, and proxy that signal to other listeners.
9398                         Goes through the activation request because the activation request
9399                         is the thing that manages the lifetime of the NMConnection that's
9400                         being activated.
9401
9402         * src/nm-device-802-11-wireless.c
9403                 - (real_connection_secrets_updated): implement the connection secrets
9404                         updated notification and restart activation when secrets are
9405                         received
9406                 - (real_act_stage2_config): request secrets from the settings dbus
9407                         service if secrets are needed
9408
9409         * src/nm-device.c
9410           src/nm-device.h
9411                 - (clear_act_request, nm_device_activation_cancel,
9412                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9413                         where the activation request is cleared
9414                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9415                         updated secrets signal of activation request and add a function
9416                         that subclasses can override to handle it easily
9417
9418 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9419
9420         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9421         removal of NetworkManagerAPList.
9422
9423 2007-09-10  Dan Williams  <dcbw@redhat.com>
9424
9425         * src/NetworkManagerAP.c
9426           src/NetworkManagerAP.h
9427           introspection/nm-access-point.xml
9428                 - Change 'freq' property to a guint32 instead of a double since we
9429                         weren't using the floating point bits anyway
9430
9431 2007-09-10  Dan Williams  <dcbw@redhat.com>
9432
9433         * NetworkManagerAP.c
9434           NetworkManagerAP.h
9435           NetworkManagerPolicy.c
9436           NetworkManagerSystem.c
9437           NetworkManagerUtils.c
9438           NetworkManagerUtils.h
9439           nm-device-802-11-wireless.c
9440           nm-device-802-3-ethernet.c
9441           nm-hal-manager.c
9442           nm-manager.c
9443           vpn-manager/nm-dbus-vpn.c
9444                 - Warning fixes; casts and removal of unused variables
9445
9446 2007-09-10  Dan Williams  <dcbw@redhat.com>
9447
9448         * include/NetworkManager.h
9449                 - Kill NMNetworkType; AP types don't matter any more
9450
9451         * src/NetworkManagerAPList.c
9452           src/NetworkManagerAPList.h
9453           src/Makefile.am
9454                 - Kill; NMAccessPointList has outlived it's usefulness
9455
9456         * src/NetworkManagerAP.c
9457           src/NetworkManagerAP.h
9458                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9459                         functions; check if an NMConnection object is compatible with the
9460                         settings of this AP
9461                 - (freq_to_channel, channel_to_freq): utility functions for
9462                         channel <-> frequency conversion
9463
9464         * src/nm-device.c
9465           src/nm-device.h
9466                 - (nm_device_get_best_connection): pass the specific object around
9467                          (which might be the object path of a specific AP to connect to).
9468                          The get_best_connection() call should populate this on return
9469                          if needed (wireless does).
9470
9471         * src/nm-device-802-3-ethernet.c
9472                 - (real_get_best_connection): handle specific_object argument
9473
9474         * src/NetworkManager.c
9475           src/NetworkManagerMain.h
9476                 - Remove unused includes
9477
9478         * src/nm-device-802-11-wireless.c
9479           src/nm-device-802-11-wireless.h
9480                 - Convert the ap_list into a GSList from an NMAccessPointList
9481                 - No need for caching the 'activation_ap' since this is now determined
9482                         from the specific_object of the activation request, which is
9483                         populated from the get_best_connection() call or from a user request
9484                 - (nm_device_802_11_wireless_update_bssid): fix warning
9485                 - (get_wireless_capabilities): fix error message format arguments
9486                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9487                 - (find_best_connection, real_get_best_connection): implement
9488                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9489                         move here from NetworkManagerAPList
9490                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9491                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9492                         already verified earlier
9493                 - (real_act_stage2_config): use nm_connection_need_secrets()
9494
9495         * src/NetworkManagerPolicy.c
9496                 - (nm_policy_auto_get_best_device): handle specific objects
9497                 - (create_connection): remove; automatic connection creation functionality
9498                         is handled by the Connection objects
9499                 - (nm_policy_device_change_check): handle specific_object
9500
9501         * libnm-util/nm-connection.c
9502                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9503
9504 2007-09-10  Dan Williams  <dcbw@redhat.com>
9505
9506         * src/nm-manager.c
9507                 - (query_connections): fix uninitialized variable problem that caused
9508                         segfault
9509                 - (nm_manager_add_device): take devices down on startup so that we can
9510                         be assured that nm_device_is_up() won't short-circuit the init
9511                         process.  Hack until the is_up check gets split into two pieces
9512                         that aren't behaviorally confusing.
9513
9514 2007-09-09  Dan Williams  <dcbw@redhat.com>
9515
9516         * introspection/nm-device.xml
9517                 - The 'Activate' method now takes 3 arguments, a service name for the
9518                 settings service (user or system), the object path of the connection
9519                 to activate, and the specific object to activate, if any
9520
9521         * src/nm-device-interface.c
9522                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9523                 Add error bits
9524                 - (impl_device_activate): adapt to new Activate arguments; validate
9525                 the service name and get the Connection object from the NMManager
9526                 before starting to activate the device with the specified connection
9527
9528         * src/nm-device-802-3-ethernet.c
9529                 - (real_get_best_connection): find the best connection, or create a
9530                 default one if no existing connections can be used
9531
9532         * src/NetworkManagerPolicy.c
9533                 - (nm_policy_auto_get_best_device): Get the device's best connection
9534                 and only pick the device if it has one
9535                 - (nm_policy_device_change_check): disable wireless bits for now until
9536                 wireless get_best_connection() can be implemented (replacing "best_ap");
9537                 don't create a default connection here as the device subclass will do
9538                 that if needed
9539
9540         * src/nm-manager.h
9541           src/nm-manager.c
9542                 - (nm_manager_get): make NMManager a singleton and expose the getter
9543                 internally
9544                 - Rework internal NMManager connection handling to use the same
9545                 routines for both the system and user settings services.  Most calls
9546                 take a new NMConnectionType argument specifying either system or user
9547                 connections
9548                 - (nm_manager_get_connection_by_object_path): new function; get a
9549                 connection keyed on its object path
9550
9551         * src/NetworkManager.c
9552                 - (main): use nm_manager_get()
9553
9554 2007-09-09  Dan Williams  <dcbw@redhat.com>
9555
9556         * src/nm-device.h
9557           src/nm-device.c
9558                 - (nm_device_get_best_connection): new function; get best connection
9559                         for the device at that time
9560
9561 2007-09-09  Dan Williams  <dcbw@redhat.com>
9562
9563         * src/nm-device-interface.h
9564                 - Add NMDeviceInterfaceError with an UnknownConnection error
9565
9566 2007-09-09  Dan Williams  <dcbw@redhat.com>
9567
9568         Stupid mistake on my part; object path and interface for settings service
9569         and connection objects can be the same, only the service name must be
9570         different for the system and user settings services.
9571
9572         * include/NetworkManager.h
9573           src/nm-manager.c
9574           introspection/nm-settings-connection.xml
9575           introspection/nm-settings.xml
9576           libnm-glib/nm-settings.c
9577                 - (nm_connection_settings_init, query_user_connections,
9578                    new_connection_cb): Unify NetworkManagerSettings and Connection
9579                    interface name and object path
9580
9581 2007-09-06  Dan Williams  <dcbw@redhat.com>
9582
9583         * libnm-glib/nm-object.c
9584                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9585                    nm_object_get_int_property, nm_object_get_uint_property,
9586                    nm_object_get_boolean_property, nm_object_get_byte_property,
9587                    nm_object_get_double_property, nm_object_get_byte_array_property):
9588                         clear GValues after copying their contents, fixes memory leaks
9589                         after every property access because dbus-glib copies the values
9590                         from the DBusMessage into the GValue already.
9591
9592 2007-09-06  Dan Williams  <dcbw@redhat.com>
9593
9594         * introspection/nm-access-point.xml
9595                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9596                         them to be.  There's some magic property name parsing going on in
9597                         dbus-glib that breaks up property names based on studly-caps and
9598                         puts - between words.
9599
9600         * libnm-glib/nm-access-point.c
9601                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9602                         Fix property names
9603
9604 2007-09-06  Dan Williams  <dcbw@redhat.com>
9605
9606         * src/nm-manager.c
9607                 - (nm_manager_user_connections_destroy): clear the user connections hash
9608                         table, don't destroy it
9609                 - (finalize): only destroy the hash table on NMManager finalization
9610
9611 2007-09-02  Dan Williams  <dcbw@redhat.com>
9612
9613         * include/NetworkManager.h
9614           libnm-glib/nm-settings.c
9615                 - defines for the user settings daemon D-Bus bits
9616
9617         * src/NetworkManager.c
9618                 - Remove stuff that referred to the old NetworkManagerInfo service
9619
9620         * src/vpn-manager/nm-dbus-vpn.h
9621                 - Move old NMI defines to the only place they are used still
9622
9623         * libnm-util/nm-connection.c
9624           libnm-util/nm-connection.h
9625           src/nm-activation-request.c
9626                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9627
9628         * src/nm-manager.c
9629           src/nm-manager.h
9630                 - Get connections and their settings from the user settings daemon
9631                         at the appropriate times
9632
9633 2007-09-02  Dan Williams  <dcbw@redhat.com>
9634
9635         * libnm-util/nm-setting.c
9636                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9637                 - (setting_wireless_hash): set the right value on the item
9638
9639 2007-09-02  Dan Williams  <dcbw@redhat.com>
9640
9641         * test/Makefile.am
9642           test/nminfotest.c
9643                 - Remove, no longer useful
9644
9645 2007-08-30  Dan Williams  <dcbw@redhat.com>
9646
9647         * src/Makefile.am
9648           src/NetworkManagerDbus.c
9649           src/NetworkManagerDbus.h
9650           src/vpn-manager/nm-dbus-vpn.c
9651                 - Remove, no longer necessary.  Move last bits to the only place its
9652                 used, in nm-dbus-vpn.c
9653
9654         * src/NetworkManagerAPList.c
9655           src/nm-device.c
9656           src/NetworkManager.c
9657           src/nm-device-802-11-wireless.c
9658           src/vpn-manager/nm-vpn-manager.c
9659           src/vpn-manager/nm-vpn-service.c
9660           src/NetworkManagerPolicy.c
9661           src/nm-manager.c
9662                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9663                 that was message_is_error()
9664
9665 2007-08-30  Dan Williams  <dcbw@redhat.com>
9666
9667         * libnm-util/sha1.c
9668                 - Include config.h to get defines for endiannes (gnome.org #420216)
9669
9670 2007-08-30  Dan Williams  <dcbw@redhat.com>
9671
9672         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9673
9674         * src/ppp-manager/Makefile.am
9675                 - use -fPIC (gnome.org #471825)
9676
9677 2007-08-29  Dan Williams  <dcbw@redhat.com>
9678
9679         * include/NetworkManager.h
9680                 - Keep NMConnection object path in sync
9681
9682         * libnm-glib/nm-settings.c
9683           libnm-glib/nm-settings.h
9684                 - Break D-Bus object registration out of the init function, because
9685                 every object that's exported over D-Bus needs to use the _same_
9686                 DBusConnection.  Otherwise, each object would get a different object
9687                 path tree and wouldn't be callable.
9688
9689 2007-08-29  Dan Williams  <dcbw@redhat.com>
9690
9691         * libnm-util/nm-setting.h
9692           libnm-util/nm-setting.c
9693           libnm-util/nm-connection.c
9694           src/NetworkManagerPolicy.c
9695                 - 'info' settings object should be 'connection' says the spec
9696                 at NetworkManagerConfigurationSpecification
9697
9698 2007-08-29  Dan Williams  <dcbw@redhat.com>
9699
9700         * libnm-glib/nm-settings.c
9701           libnm-glib/nm-settings.h
9702                 - make the dbus path a property of the object, and autogenerate it.
9703                 It can't be composed of the 'id' field becuase that's not available
9704                 yet during the GObject creation in nm_connection_settings_init()
9705
9706 2007-08-29  Dan Williams  <dcbw@redhat.com>
9707
9708         * introspection/nm-settings-connection.xml
9709           introspection/nm-settings.xml
9710                 - Service name -> NetworkManagerUserSettings because two services
9711                 can't share part of the same path.  I'm not really sure how we'll use
9712                 the same code with the system-settings daemon...
9713
9714 2007-08-28  Dan Williams  <dcbw@redhat.com>
9715
9716         * src/nm-device-interface.c
9717           src/nm-device-interface.h
9718                 - Kill one more bit of NMData
9719
9720 2007-08-28  Dan Williams  <dcbw@redhat.com>
9721
9722         * src/NetworkManagerSystem.h
9723           src/nm-device.c
9724           src/nm-device.h
9725           src/nm-hal-manager.c
9726           src/NetworkManager.c
9727           src/nm-device-802-11-wireless.c
9728           src/nm-hal-manager.h
9729           src/nm-device-802-3-ethernet.c
9730           src/vpn-manager/nm-vpn-service.h
9731           src/vpn-manager/nm-vpn-manager.c
9732           src/vpn-manager/nm-vpn-manager.h
9733           src/vpn-manager/nm-vpn-service.c
9734           src/nm-device-802-11-wireless.h
9735           src/NetworkManagerMain.h
9736           src/nm-device-802-3-ethernet.h
9737           src/backends/NetworkManagerGentoo.c
9738           src/backends/NetworkManagerPaldo.c
9739           src/backends/NetworkManagerFrugalware.c
9740           src/backends/NetworkManagerRedHat.c
9741           src/backends/NetworkManagerSlackware.c
9742           src/backends/NetworkManagerGeneric.c
9743           src/backends/NetworkManagerArch.c
9744           src/backends/NetworkManagerSuSE.c
9745           src/backends/NetworkManagerGeneric.h
9746           src/backends/NetworkManagerDebian.c
9747                 - Kill NMData
9748
9749 2007-08-28  Dan Williams  <dcbw@redhat.com>
9750
9751         * src/NetworkManagerMain.h
9752           src/nm-device-802-11-wireless.c
9753           src/NetworkManager.c
9754                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9755                 for now we should set the 'invalid' property on individual APs, and when
9756                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9757                 that ESS
9758
9759 2007-08-28  Dan Williams  <dcbw@redhat.com>
9760
9761         * src/NetworkManagerAP.c
9762           src/NetworkManagerAP.h
9763                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9764                         'autoconnect' property instead
9765
9766         * src/NetworkManager.c
9767           src/NetworkManagerMain.h
9768           src/NetworkManagerPolicy.c
9769           src/NetworkManagerPolicy.h
9770                 - Remove the 'allowed_ap_list', which should be replaced by 
9771                         NMConnection/NMSettings instead, since _those_ are the allowed
9772                         things that NM can connect to
9773
9774         * src/nm-device-802-11-wireless.c
9775                 - Remove both allowed_ap_list usage and 'fallback' checking
9776
9777 2007-08-28  Dan Williams  <dcbw@redhat.com>
9778
9779         * src/nm-device.c
9780           src/named-manager/nm-named-manager.c
9781           src/named-manager/nm-named-manager.h
9782           src/NetworkManager.c
9783           src/vpn-manager/nm-vpn-manager.c
9784           src/NetworkManagerMain.h
9785           src/NetworkManagerSystem.c
9786                 - Remove the named-manager object from NMData structure in preparation
9787                 for NMData's timely death.  Make the NMNamedManager the singleton that
9788                 it really is
9789
9790 2007-08-28  Dan Williams  <dcbw@redhat.com>
9791
9792         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9793         each AP's capabilities, and by NMConnection/NMSettings objects for user
9794         defined connections.
9795
9796         * include/NetworkManager.h
9797                 - Redefine 802.11 security properties.  There are now device capabilities
9798                         and AP flags and AP security flags.  It was way to unclear before.
9799
9800         * src/Makefile.am
9801           src/nm-ap-security-leap.h
9802           src/nm-ap-security-leap.c
9803           src/nm-ap-security-wpa-eap.c
9804           src/nm-ap-security-wpa-eap.h
9805           src/nm-ap-security-private.h
9806           src/nm-ap-security-wpa-psk.c
9807           src/nm-ap-security-wpa-psk.h
9808           src/nm-ap-security-wep.c
9809           src/nm-ap-security-wep.h
9810           src/nm-ap-security.c
9811           src/nm-ap-security.h
9812                 - Removed, to be replaced with NMConnection/NMSettings objects
9813
9814         * src/nm-dbus-nmi.c
9815           src/nm-dbus-nmi.h
9816                 - Removed, to be replaced by code that talks to the new info daemon
9817                         interface and gets NMConnection/NMSettings objects
9818
9819         * src/backends/NetworkManagerSuSE.c
9820                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9821                         info-daemon that does the same thing but talks the new info-daemon
9822                         D-Bus interface
9823
9824         * src/NetworkManagerAP.h
9825           src/NetworkManagerAP.c
9826           src/NetworkManagerAPList.c
9827           libnm-glib/libnm-glib-test.c
9828                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9829                         WPA/RSN
9830
9831         * libnm-glib/nm-access-point.c
9832           libnm-glib/nm-access-point.h
9833           introspection/nm-access-point.xml
9834           test/nm-tool.c
9835                 - Adjust to new flags for AP security
9836
9837         * utils/nm-utils.c
9838           utils/nm-utils.h
9839           src/vpn-manager/nm-dbus-vpn.c
9840                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9841                         stuff which is the only place it's used
9842
9843         * src/nm-device-interface.c
9844           src/nm-device-interface.h
9845           introspection/nm-device.xml
9846           src/nm-activation-request.c
9847           src/nm-activation-request.h
9848           src/nm-device.c
9849                 - Add a new 'specific_object' argument that hints to NM what actual
9850                         AP or other device-specific thing the connection should apply to.
9851                         NMConnection objects can apply to more than one actual device/AP.
9852
9853         * libnm-util/nm-connection.c
9854         * libnm-util/nm-connection.h
9855                 - Add 'have_secrets" call stubs
9856
9857         * libnm-util/cipher.h
9858                 - Move NM_AUTH_TYPE_* defines here for now
9859
9860         * src/nm-device-802-11-wireless.c
9861                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9862                         NMSettings objects
9863
9864         * src/NetworkManagerDbus.c
9865         * src/NetworkManagerPolicy.c
9866                 - Remove usage of update_allowed_networks, should be pushing data in
9867                         a different manner
9868
9869 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9870
9871         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9872         dbus-glib frees it when the call is done.
9873
9874 2007-08-26  Dan Williams  <dcbw@redhat.com>
9875
9876         * introspection/nm-device.xml
9877                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9878
9879 2007-08-26  Dan Williams  <dcbw@redhat.com>
9880
9881         * src/nm-device-802-3-ethernet.c
9882                 - (constructor): move connection of interface-connected/disconnected
9883                         signals here from real_bring_up().  Should be listening to netlink
9884                         for carrier events no matter what the initial state of the device
9885                         is.
9886
9887 2007-08-26  Dan Williams  <dcbw@redhat.com>
9888
9889         * src/nm-netlink-monitor.c
9890                 - (nm_netlink_monitor_class_init): fix marshalling types for
9891                         interface-connected/interface-disconnected
9892                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9893                         check
9894
9895 2007-08-26  Dan Williams  <dcbw@redhat.com>
9896
9897         Convert to using interface indexes as the primary method of identifying
9898         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9899         be renamed at any time.  Device object paths now refer to the device
9900         index rather than the name, and you can map those two manually if you like
9901         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9902         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9903         to use interface indexes rather than names.
9904
9905 2007-08-26  Dan Williams  <dcbw@redhat.com>
9906
9907         * src/nm-netlink-monitor.h
9908                 - Remove one last bit of wireless-event signal
9909
9910 2007-08-26  Dan Williams  <dcbw@redhat.com>
9911
9912         * src/nm-netlink-monitor.c
9913                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9914                         don't need the 'wireless-event' signal anymore since that's all
9915                         handled by wpa_supplicant
9916
9917 2007-08-25  Dan Williams  <dcbw@redhat.com>
9918
9919         It's 2007. Remove support for drivers that don't support wireless scanning.
9920
9921         * test/nm-tool.c
9922           include/NetworkManager.h
9923           src/NetworkManagerUtils.c
9924           src/NetworkManagerPolicy.c
9925           src/nm-device-802-11-wireless.c
9926                 - Remove special handling for non-scanning devices and mark them
9927                         as unsupported/unhandled
9928
9929 2007-08-20  Dan Williams  <dcbw@redhat.com>
9930
9931         * src/nm-device-802-11-wireless.c
9932           src/nm-device-802-3-ethernet.c
9933                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9934                         because when the card is pulled or the module removed, the device
9935                         is already !IFF_UP and then device-specific cleanup (removing
9936                         the supplicant interface, periodic checks, etc) never gets done
9937
9938 2007-08-20  Dan Williams  <dcbw@redhat.com>
9939
9940         * src/nm-manager.c
9941                 - (nm_manager_remove_device): bring device down before disconnecting
9942                         signal handlers, so that the 'state' signal will get broadcast when
9943                         the device enters the DOWN state
9944                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9945                         of states that cause the NMManager to recheck its state
9946
9947 2007-08-20  Dan Williams  <dcbw@redhat.com>
9948
9949         * src/supplicant-manager/nm-supplicant-interface.c
9950                 - (interface_disconnect_done): don't try to dispose of the net proxy
9951                         when it may already have been disposed of
9952
9953 2007-08-20  Dan Williams  <dcbw@redhat.com>
9954
9955         * src/nm-device-802-11-wireless.c
9956                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9957                         the SSID isn't available; this can happen when the card is pulled
9958                         or the module unloaded, during the post-removal deactivation
9959                         paths, when the ioctl returns ENODEV
9960
9961 2007-08-20  Dan Williams  <dcbw@redhat.com>
9962
9963         * src/nm-device-802-11-wireless.c
9964                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9965                         frequency, and mode match.  Applets are now responsible for grouping
9966                         access points
9967
9968 2007-08-20  Dan Williams  <dcbw@redhat.com>
9969
9970         * src/NetworkManagerAP.c
9971         * src/NetworkManagerAP.h
9972                 - (nm_ap_print_self): new function
9973
9974         * src/NetworkManagerAPList.c
9975                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9976                         to do it all here
9977         
9978 2007-08-17  Dan Williams  <dcbw@redhat.com>
9979
9980         * src/nm-device-802-3-ethernet.c
9981                 - (real_bring_down): don't try to dispose of stuff that might not
9982                         exist
9983
9984 2007-08-17  Dan Williams  <dcbw@redhat.com>
9985
9986         * src/NetworkManagerAP.c
9987                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9988                         applet.  This ensures that the case between the seen-bssids and
9989                         the bssids reported by the driver match.
9990
9991 2007-08-17  Dan Williams  <dcbw@redhat.com>
9992
9993         * src/nm-device-802-11-wireless.c
9994                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9995                         we dispose of the interface proxy in NM
9996
9997 2007-08-16  Dan Williams  <dcbw@redhat.com>
9998
9999         * libnm-glib/nm-client.c
10000                 - (nm_client_init): create VPN connections hash table with key free
10001                         function
10002                 - (proxy_vpn_connection_added): VPN connections hash table key should
10003                         be a duplicated value, not the same memory address as the VPN
10004                         connection name.  This is because the VPN connection name could
10005                         potentially be freed and set to something else during the lifetime
10006                         of the NMVPNConnection object.
10007
10008 2007-08-16  Tambet Ingo  <tambet@gmail.com>
10009
10010         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
10011         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
10012         with the file descriptors. Send a child setup function to change the pppd
10013         progress group.
10014
10015 2007-08-15  Dan Williams  <dcbw@redhat.com>
10016
10017         * src/supplicant-manager/nm-supplicant-interface.c
10018                 - (try_remove_iface): new function, ask wpa_supplicant to remove
10019                         an interface
10020                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
10021                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
10022                         happens on hotplug if wpa_supplicant doesn't tear down and readd
10023                         the interface internally
10024
10025 2007-08-15  Dan Williams  <dcbw@redhat.com>
10026
10027         * src/nm-device-802-11-wireless.c
10028                 - (real_bring_down): move most of this function into device_cleanup()
10029                         so that it can be called from elsewhere
10030                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
10031                         and stuff on dispose.  These would normally get cleaned up when
10032                         the device is marked down and deactivated, but when the device is
10033                         hot-unplugged, it's already down and real_down() never gets run
10034
10035 2007-08-15  Dan Williams  <dcbw@redhat.com>
10036
10037         * src/nm-dbus-nmi.c
10038                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
10039                         caused a reference leak on device for which NM requested a key
10040
10041 2007-08-15  Dan Williams  <dcbw@redhat.com>
10042
10043         * libnm-glib/nm-client.c
10044                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10045
10046 2007-08-15  Tambet Ingo  <tambet@gmail.com>
10047
10048         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10049         nothing is using it at the moment, but it'll be all useful and stuff later on.
10050
10051         * libnm-util/nm-setting.h: Define NMSettingPPP.
10052
10053         * libnm-util/nm-setting.c: Implement NMSettingPPP.
10054
10055         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10056
10057         * src/Makefile.am: Add ppp-manager to SUBDIRS.
10058
10059         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10060
10061         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10062
10063 2007-08-14  Tambet Ingo  <tambet@gmail.com>
10064
10065         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10066
10067         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10068         an issue with dbus-glib bindings generator. The issue is, the generated C caller
10069         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10070         name and different arguments and it won't compile anymore. To fix this, we now have
10071         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10072         that is new API + compatibility API and used by the daemon. The other, 
10073         nm-manager-client.xml is only the new API without compatibility bits and is used
10074         by libnm-glib to make it compile.
10075
10076         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10077
10078         * src/nm-manager.c (impl_manager_legacy_sleep)
10079         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10080         interface functions for 0.6 branch.
10081
10082 2007-08-14  Dan Williams  <dcbw@redhat.com>
10083
10084         * src/NetworkManagerAP.c
10085                 - (nm_ap_new_from_properties): fix mistaken check of return value
10086                         from memcmp (should expect 0)
10087
10088 2007-08-14  Dan Williams  <dcbw@redhat.com>
10089
10090         (force-commit to fix wrong comment and partial commit of r2685; this
10091          commit actually applies to r2685)
10092
10093         * src/NetworkManagerUtils.c
10094                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10095                         ignores trailing nulls in the SSID to work around mismatches in
10096                         expectations between WEXT and what the info-daemon passes back.  The
10097                         info-daemon would pass back the correct length, but due to the
10098                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10099                         the device would always have an SSID + 1 depending on what versions
10100                         of wpa_supplicant, the kernel, and NM you have.  This was most often
10101                         visible by just quitting the applet and relaunching, which caused
10102                         NM to reassociated to the same network over again when reloading
10103                         the save networks.
10104
10105         * src/NetworkManagerPolicy.c
10106           src/NetworkManagerUtils.h
10107           src/nm-device-802-11-wireless.c
10108                 - Update for new parameter to nm_utils_same_ssid()
10109
10110 2007-08-14  Dan Williams  <dcbw@redhat.com>
10111
10112         * src/NetworkManagerAP.c
10113                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
10114                         I encountered a BSS that wasn't just hiding it's ESSID, it was
10115                         setting the BSSID to all 0s.  That confused the heck out of NM,
10116                         plus it's useless and probably out-of-spec.
10117
10118 2007-08-14  Dan Williams  <dcbw@redhat.com>
10119
10120         * callouts/Makefile.am
10121           src/dhcp-manager/nm-dhcp-manager.c
10122           src/dhcp-manager/nm-dhcp-manager.h
10123           src/dhcp-manager/Makefile.am
10124                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10125
10126 2007-08-14  Dan Williams  <dcbw@redhat.com>
10127
10128         * src/dhcp-manager/nm-dhcp-manager.c
10129                 - (dhclient_run): don't pass -x to dhclient until we figure out if
10130                         it's really needed, get rid of unused xtra_args parameter
10131
10132 2007-08-14  Dan Williams  <dcbw@redhat.com>
10133
10134         * include/NetworkManagerVPN.h
10135           src/vpn-manager/nm-dbus-vpn.c
10136           src/vpn-manager/nm-dbus-vpn.h
10137           src/vpn-manager/nm-vpn-act-request.c
10138           src/vpn-manager/nm-vpn-act-request.h
10139           src/vpn-manager/nm-vpn-service.c
10140           src/vpn-manager/nm-vpn-service.h
10141           libnm-glib/nm-vpn-connection.c
10142           libnm-glib/nm-vpn-connection.h
10143           libnm-glib/nm-client.h
10144                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
10145                         NMVPNServiceState to clarify what they apply to
10146                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10147                         NMVPNActStage -> NMVPNConnectionState for the same reason
10148
10149         * libnm-glib/nm-client.c
10150                 - Constant + type renames from above
10151                 - Properly handle NameOwnerChanged/manager_running signals
10152                         for NM service; only emit when state really changes
10153                 - Use hash tables correctly so that the key (which was previously owned
10154                         by the D-Bus message) now has the same lifetime as the value, since
10155                         the key is now taken from the the NMVPNConnection itself.  This
10156                         really fixes the double-VPN names in the applet
10157
10158 2007-08-13  Dan Williams  <dcbw@redhat.com>
10159
10160         Patch from Michael Biebl <biebl@debian.org>
10161
10162         * po/POTFILES.in
10163           po/POTFILES.skip
10164                 - Update for vpn-properties move
10165
10166 2007-08-13  Dan Williams  <dcbw@redhat.com>
10167
10168         * libnm-glib/nm-client.c
10169                 - Convert internal VPN connection tracking from a list to a hash table
10170                         to easily avoid duplicates
10171                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10172                         must be freed by the caller, like nm_client_get_devices()
10173                 - (nm_client_remove_vpn_connection): don't let the removal signal
10174                         leak through for NMVPNConnection objects that aren't actually
10175                         tracked.
10176                 - (manager_running): throw away VPN connection list when NM goes away,
10177                         like with the device list
10178
10179 2007-08-13  Dan Williams  <dcbw@redhat.com>
10180
10181         * src/dhcp-manager/nm-dhcp-manager.c
10182                 - Stop any dhclient instance that might be already running for a
10183                         particular interface before starting an NM spawned dhclient.  Fixes
10184                         dhclient processes left over if NM crashes, stuff like that.
10185
10186 2007-08-13  Dan Williams  <dcbw@redhat.com>
10187
10188         * src/NetworkManagerAP.c
10189                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10190                         when the AP wasn't broadcasting it's SSID
10191
10192 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10193
10194         * include/NetworkManager.h: added DBus path for connection settings.
10195
10196         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10197         nm_connection_settings_signal_updated,
10198         nm_connection_settings_signal_removed): new functions to wrap the
10199         objects' signals.
10200         (nm_connection_settings_init): register GObject with DBus.
10201         (nm_connection_settings_get_dbus_object_path): new function.
10202
10203         * libnm-glib/Makefile.am: added libnmutil to link flags.
10204
10205 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10206
10207         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10208
10209         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10210         libnm_glib directory got merged with libnm-glib/.
10211
10212         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10213
10214         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10215         Rename the library from libnm-glib to libnm_glib to maintain the library API
10216         compatibility with 0.6 branch.
10217
10218         * Makefile.am: Remove gnome/ SUBDIR.
10219
10220         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10221
10222         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10223
10224         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10225
10226         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10227         anymore.
10228         Remove checks for wpa_supplicant binary, it's used over dbus.
10229         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10230
10231         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10232         Link the binaries with libnm_glib.la.
10233
10234 2007-08-12  Dan Williams  <dcbw@redhat.com>
10235
10236         * src/NetworkManagerPolicy.c
10237                 - (nm_policy_device_change_check): fix policy to deactivate old device
10238                         before activating new one, at least until the multiple active
10239                         device support lands
10240
10241 2007-08-12  Dan Williams  <dcbw@redhat.com>
10242
10243         * src/NetworkManagerPolicy.c
10244                 - (nm_policy_new): hook up to connection-added / connection-removed
10245                         signals instead of connections-changed
10246
10247 2007-08-12  Dan Williams  <dcbw@redhat.com>
10248
10249         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10250         Robert Frank <rfrank@redhat.com>
10251
10252         * src/dhcp-manager/nm-dhcp-manager.c
10253           src/dhcp-manager/nm-dhcp-manager.c
10254           src/nm-device.c
10255                 - Spawn and communicate with dhclient directly, through means of a
10256                 custom dhclient callout script.  Process callout D-Bus signals
10257                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10258                 sent via gobject signals rather than being driven by the dhcp manager
10259                 directly.
10260
10261 2007-08-12  Dan Williams  <dcbw@redhat.com>
10262
10263         * callouts/nm-dhcp-client-action.c
10264                 - (build_message): ignore non-DHCP-related environment variables
10265
10266 2007-08-12  Dan Williams  <dcbw@redhat.com>
10267
10268         * Makefile.am
10269           configure.in
10270           callouts/Makefile.am
10271           callouts/nm-dhcp-client-action.c
10272           callouts/nm-dhcp-client.conf
10273                 - Add dhclient-executed callout that takes the place of dhclient-script
10274                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10275                 NM then listens for
10276
10277 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10278
10279         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10280
10281         * libnm-glib/nm-client.h:
10282         * libnm-glib/nm-object.h:
10283         * libnm-glib/nm-vpn-connection.h:
10284         * libnm-glib/nm-settings.h:
10285         * libnm-glib/nm-device.h:
10286         * libnm-glib/nm-ip4-config.h:
10287         * libnm-glib/nm-access-point.h:
10288         * libnm-glib/nm-device-802-3-ethernet.h:
10289         * libnm-util/nm-setting.h: 
10290         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10291
10292         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10293
10294         * libnm-glib/nm-access-point.c: Strength has type char.
10295
10296         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10297         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10298
10299         * introspection/nm-access-point.xml: Strength property is char, not int.
10300
10301         * src/NetworkManagerAP.c (set_property): Set strength from char.
10302         (get_property): Handle hidden APs (with empty SSID).
10303         Get strength value from char.
10304         (nm_ap_class_init): Strength property has char type.
10305
10306 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10307
10308         * introspection/Makefile.am:
10309         * introspection/nm-settings.xml:
10310         * introspection/nm-settings-connection.xml: added Settings interfaces.
10311
10312         * libnm-glib/nm-settings.[ch]:
10313         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10314         containing the DBus implementation.
10315
10316 2007-07-26  Dan Williams  <dcbw@redhat.com>
10317
10318         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10319
10320         * src/NetworkManagerSystem.c
10321                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10322                         same subnet (#437396)
10323
10324 2007-07-26  Dan Williams  <dcbw@redhat.com>
10325
10326         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10327
10328         * gnome/vpn-properties/nm-vpn-properties.c
10329                 - Fix translatable strings (#445865)
10330
10331 2007-07-26  Dan Williams  <dcbw@redhat.com>
10332
10333         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10334
10335         * configure.in
10336                 - Remove useless junk (#412530)
10337
10338 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10339
10340         Patch from Robert Buchholz <rbu@gentoo.org>:
10341
10342         * configure.in:
10343         * Makefile.am:
10344         * introspection/Makefile.am:
10345         Make make distcheck work again.
10346
10347 2007-06-27  Dan Williams  <dcbw@redhat.com>
10348
10349         * Make SSIDs GByteArrays everywhere
10350         * Rename "essid" -> "ssid" everywhere that's appropriate
10351         * Refcount activation_ap member of the 802.11 wireless device class
10352
10353 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10354
10355         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10356
10357 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10358
10359         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10360         that we got a new AP when we just update existing AP properties.
10361
10362 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10363
10364         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10365
10366         * nm-utils.[ch]: Remove.
10367
10368         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10369         objects for easy property access and dbus connection handling.
10370
10371         * libnm-glib/nm-client.c: Derive from NMObject.
10372
10373         * libnm-glib/nm-device.c: Ditto.
10374
10375         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10376
10377         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10378
10379         * libnm-glib/nm-ip4-config.c: Ditto.
10380
10381         * libnm-glib/nm-access-point.c: Ditto.
10382
10383         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10384         comparision. Currently used by the device activation code to determine if the new
10385         activation is the same as the old one.
10386
10387         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10388         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10389         able to ask password for the AP.
10390
10391         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10392         up if the device is already connected, tear down it's connection (if it isn't the
10393         same as new one) and start the activation.
10394
10395         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10396
10397         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10398         the issue where all APs are always listed as encrypted.
10399
10400         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10401         their own registered paths.
10402
10403         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10404         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10405
10406 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10407
10408         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10409         (0 & 0 == 0, doh)
10410
10411         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10412         because the handling code will cause the next state change and signal listeners
10413         get the signals in wrong order.
10414
10415         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10416         correctly in case of pending activation.
10417
10418         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10419         Convert the essid byte array to string correctly, including the terminating NULL.
10420
10421         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10422         mode with correct types.
10423
10424         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10425         constructed info to dbus call instead of the activation request.
10426
10427 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10428
10429         Patch from Christian Persch <chpe@gnome.org>
10430
10431         * libnm-glib/Makefile.am:
10432         * dispatcher-daemon/Makefile.am:
10433         Use the correct variables, the correct paths, and correct ordering. (446315)
10434
10435 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10436
10437         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10438         argument. The activation request is easy to retrieve.
10439
10440         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10441         just to be a convenient location for devices to store random stuff.
10442
10443 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10444
10445         Patch from Alex Smith <alex@alex-smith.me.uk>
10446
10447         * src/backends/NetworkManagerFrugalware.c:
10448         Update the FrugalWare backend to fix a few segfaults. (#392642)
10449
10450 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10451
10452         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10453
10454         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10455         setting.
10456         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10457
10458 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10459
10460         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10461         automagically.
10462         Implement NMSettingIP4Config.
10463         Finish NMSettingWired by adding all known members.
10464         (setting_wired_verify): Implement.
10465         Finish NMSettingWireless by adding all known members.
10466         (setting_wireless_verify): Implement.
10467
10468         * libnm-util/nm-connection.c: Register "ipv4" setting.
10469         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10470         dump function, we can introspect the GHashTable which is used for sending connections
10471         over dbus.
10472
10473         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10474         Take GByteArray for essid, it's really not a string.
10475
10476         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10477         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10478         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10479         means overriding the values we got from DHCP.
10480         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10481         (nm_device_deactivate_quickly): Ditto.
10482
10483         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10484         for debugging.
10485
10486 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10487
10488         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10489         NMConnection.
10490
10491         * libnm-glib/nm-device-802-11-wireless.c:
10492         (nm_device_802_3_ethernet_activate): Remove.
10493
10494         * libnm-glib/nm-device-802-3-ethernet.c
10495         (nm_device_802_3_ethernet_activate): Remove.
10496
10497         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10498
10499         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10500         NMConnection.
10501
10502         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10503         activation has started.
10504         Implement the new activation using NMConnection.
10505
10506         * src/nm-activation-request.c: Store a generic connection object instead
10507         of a wireless-specific AP.
10508
10509         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10510         on device type, create a device specific connection object suitable for
10511         device activation.
10512
10513         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10514         specific check to validate the connection and on success start the
10515         activation.
10516
10517         * src/nm-device-interface.h: Add a activate virtual function to the
10518         interface definition.
10519
10520         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10521         (impl_device_activate): Implement.
10522
10523         * introspection/nm-device.xml: Add a generic device activation interface
10524         that accepts an abstract NMConnection structure that has device-specific
10525         information in it.
10526
10527         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10528         activation interface.
10529
10530         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10531         activation interface.
10532
10533         * libnm-util/nm-connection.c: 
10534         * libnm-util/nm-connection.h: 
10535         * libnm-util/nm-setting.c:
10536         * libnm-util/nm-setting.h: Add.
10537
10538         * libnm-util/Makefile.am: Build the added files.
10539
10540         * src/nm-dbus-manager.c
10541         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10542         DbusConnection argument from 'name-owner-changed' signal. The manager
10543         is already passed as a first argument to the signal and the connection
10544         is easy enough to get from it.
10545
10546         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10547         Update the signature of the function.
10548
10549         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10550         Ditto.
10551
10552         * src/NetworkManager.c: Ditto.
10553
10554         * src/named-manager/nm-named-manager.c
10555         (nm_named_manager_name_owner_changed): Ditto.
10556
10557         * src/supplicant-manager/nm-supplicant-manager.c
10558         (nm_supplicant_manager_name_owner_changed): Ditto.
10559
10560         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10561
10562         * src/dhcp-manager/nm-dhcp-manager.c
10563         (nm_dhcp_manager_name_owner_changed): Ditto.
10564
10565         * src/nm-hal-manager.c: Add a list of device detectors and creators
10566         to make it easier to add new devices. Each device type has it's own
10567         entry in the table so adding new device types is only a matter of
10568         implementing a couple of functions, one for device detection and the
10569         other for device creation.
10570
10571 2007-04-25  Dan Williams  <dcbw@redhat.com>
10572
10573         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10574                 (gnome.org #432401)
10575
10576 2007-03-30  Dan Williams  <dcbw@redhat.com>
10577
10578         * src/NetworkManagerSystem.c
10579                 - (nm_system_device_set_ip4_route): clean up and fix argument
10580                         to nm_dev_sock_open()
10581
10582 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10583
10584         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10585         data to correct types instead of always using string.
10586
10587         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10588         _not_ have NM_802_11_CAP_PROTO_NONE.
10589         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10590         is not set.
10591
10592 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10593
10594         * libnm-glib/Makefile.am: Fix the build issue.
10595
10596 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10597
10598         * libnm-glib/nm-vpn-connection.h: 
10599         * libnm-glib/nm-vpn-connection.c: Implement.
10600
10601         * libnm-glib/nm-client.c: Add VPN support.
10602
10603         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10604         handler for VPN.
10605
10606         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10607         on DBUS again.
10608
10609 2007-03-26  Dan Williams  <dcbw@redhat.com>
10610
10611         * src/NetworkManagerAPList.c
10612         * src/nm-device-802-11-wireless.c
10613         * src/NetworkManagerAP.c:
10614                 - Store last seen as glong instead of GTimeVal.
10615                 - Fix the upper bound of capabilities, it's a bitfield.
10616
10617 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10618
10619         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10620
10621         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10622         "manager-running" signal that notifies the appearance/disappearance of NM.
10623         (nm_client_sleep): Implement.
10624
10625         * libnm-glib/nm-device.c:
10626         * libnm-glib/nm-device-802-11-wireless.c: 
10627         * libnm-glib/nm-device-802-3-ethernet.c: 
10628
10629         Don't inherit from DBusGProxy, add a proxy to private
10630         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10631         for anything but their own dbus interface. DBusGProxy objects support only one
10632         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10633         interface. The nice side effect of this change is that we do not create a new
10634         DBusGProxy object for each property access.
10635
10636 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10637
10638         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10639         with zeroes before passing them to functions - the functions never do that and
10640         reading the values back may produce wrong values.
10641         (real_bring_up): Store the signal handler id ...
10642         (real_bring_down): ... So that it can be removed here.
10643         Disconnect the supplicant interface here as well.
10644         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10645         from the access point instead of old $device/Networks/$essid.
10646
10647         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10648         device state is connected (instead of just having link/carrier).
10649
10650         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10651         already easily accessible through the device.
10652
10653         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10654         store it within the object.
10655         (nm_ap_get_dbus_path): Export it to public as well.
10656
10657         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10658         of the singleton.
10659
10660 2007-03-12  Dan Williams  <dcbw@redhat.com>
10661
10662         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10663         for non-carrier-detect capable devices, and useless for carrier-detect
10664         devices since we get notifications from netlink about carrier status anyway.
10665
10666         * src/nm-device-802-3-ethernet.c
10667                 - remove 'link_source_id' member from private data
10668                 - (probe_link): remove and collapse into real_update_link()
10669                 - (nm_device_802_3_periodic_update): remove
10670                 - (real_is_up): check for sup_iface rather than link_source_id
10671                 - (real_bring_up): return gboolean for success/fail; require that
10672                         sup_iface be valid for device bringup to succeed
10673                 - (real_bring_down): zero out link signal ids
10674
10675         * src/nm-device.c
10676                 - (nm_device_activate_stage2_device_config): fail activation if device
10677                         bringup fails
10678                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10679                         fails
10680                 - (nm_device_bring_up): return success/fail
10681
10682         * src/nm-device.h
10683                 - bring_up now returns success/fail
10684
10685         * src/nm-device-802-11-wireless.c
10686                 - (real_bring_up): return success from bringup
10687
10688 2007-03-07  Dan Williams  <dcbw@redhat.com>
10689
10690         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10691         * src/nm-ap-security-wpa-psk.c
10692                 - (real_write_supplicant_config): work with PSKs that may contain
10693                         zeros in the binary format rather than treating it as a string
10694
10695 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10696
10697         * libnm-glib/nm-device-802-11-wireless.c
10698         (nm_device_802_11_wireless_get_capabilities): Implement.
10699
10700         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10701
10702         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10703
10704         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10705         reply only if it's not NULL. Not sure why this started happening right now.
10706
10707         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10708         code paths for when devices get removed on shutdown or when a device is just
10709         removed.
10710         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10711         gets freed so any signal from a device (disconnected for instance) would invoke
10712         NMState update which would crash.
10713         (nm_manager_remove_device): Bring the device down when it gets removed.
10714
10715         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10716         the unused dev_type.
10717
10718         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10719         reference to the added device, NMManager will own it (if it wants).
10720
10721         * test/nm-tool.c: Rewrite using libnm-glib.
10722
10723         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10724         We get signalled when it changes.
10725
10726         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10727         when it changes.
10728
10729         * libnm-glib/nm-device.c: Cache the device state property.
10730
10731         * libnm-glib/nm-access-point.c: Cache the strength property.
10732
10733         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10734         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10735         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10736         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10737         the device is down, activating, or activated (in case of A/B/G cards).
10738         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10739         it's all done through supplicant now.
10740
10741         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10742         counting issues with pending calls which caused leaks and crashes when
10743         interface was removed (now that the interface actually gets removed).
10744
10745         * src/nm-call-store.c: Make a copy of data before running a foreach
10746         with user callback on it - The most common usage pattern is to cancel
10747         (and thus remove) all pending calls with foreach which would modify
10748         the hash table we're iterating over.
10749
10750         * src/nm-manager.c: When a device is added, make sure it is "up". When
10751         it's removed or disabled due to disabling wireless or networking, bring
10752         it down.
10753
10754         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10755
10756         * src/nm-device-802-11-wireless.c: 
10757         * src/nm-device-802-3-ethernet.c: 
10758         * src/nm-device.c:
10759                 - Remove "init" virtual function, all gobjects have a place for that
10760                   already (constructor).
10761                 - Replace "start" virtual function with "bring_up", devices can be
10762                   brought up and down more than just on startup now.
10763                 - Add "is_up" virtual function.
10764                 - Implement one way to bring a device down instead of previous 4 different
10765                   ways, each of witch did something different.
10766
10767         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10768         all it needs is the device interface.
10769
10770         Get rid of NMData.dev_list (3 members to go).
10771         Get rif of NMData in a lot of places.
10772
10773         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10774
10775 2007-02-23  Dan Williams  <dcbw@redhat.com>
10776
10777         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10778
10779         * src/NetworkManagerAP.c
10780                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10781                         OR-ing rather than AND-ing
10782
10783 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10784
10785         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10786         "network-removed" signals.
10787
10788         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10789
10790         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10791         when receiving the signal from dbus.
10792
10793         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10794         property.
10795
10796         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10797         deactivation of the previously activated device working again.
10798
10799         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10800         and setter.
10801
10802         * src/nm-device.c (nm_device_is_activated): Remove.
10803         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10804
10805         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10806         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10807         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10808         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10809         Remove NMNetworkStatus and NMActStage enums.
10810
10811 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10812
10813         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10814         Handle device state changes and disconnect VPN if it's device deactivates.
10815
10816         * src/nm-dbus-nm.c: 
10817         * src/nm-dbus-nm.h: 
10818         * src/nm-dbus-device.c: 
10819         * src/nm-dbus-device.c: 
10820         * src/nm-dbus-net.c: 
10821         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10822
10823         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10824
10825         * src/nm-device.c (nm_device_get_by_udi):
10826         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10827         implemented in the correct location (NMManager).
10828         Rip out all the test_device stuff.
10829
10830         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10831         failure handlers, it's all done by NMDevice already.
10832
10833         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10834         Remove the iochannel hack to route the unix signals to the main thread since
10835         we're not threaded anymore.
10836
10837         * src/NetworkManagerAP.c: Implement HWAddress property.
10838
10839         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10840         automatically with dbus-glib.
10841
10842         * src/nm-netlink-monitor.c: 
10843         * src/nm-netlink-monitor.h:
10844                 - Move it low in the class hierarchy, don't reference any NM types.
10845                 - Remove private data from the header.
10846                 - Use type safe checks in public API methods.
10847                 - Make it a singleton so we don't have to pass the single reference around.
10848
10849 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10850
10851         * introspection/nm-ip4-config.xml: Implement.
10852
10853         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10854
10855         * libnm-glib/nm-ip4-config.c:
10856         * libnm-glib/nm-ip4-config.c: Implement.
10857
10858         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10859         securities. APs reference security.
10860
10861         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10862         be exported over DBUS.
10863
10864         * src/nm-device-802-3-ethernet.c: Ditto.
10865
10866         * src/NetworkManagerAP.c:
10867         * src/NetworkManagerAP.h:
10868                 - Convert to GObject, export over DBUS.
10869
10870         * src/nm-ip4-config.h:
10871         * src/nm-ip4-config.h:
10872                 - Convert to GObject, export over DBUS.
10873
10874 2007-02-12  Dan Williams  <dcbw@redhat.com>
10875
10876         Patch from Helmut Schaa <hschaa@suse.de>
10877
10878         * vpn-daemons/pptp/configure.in
10879           vpn-daemons/pptp/Makefile.am
10880           vpn-daemons/openvpn/configure.in
10881           vpn-daemons/openvpn/Makefile.am
10882           vpn-daemons/vpnc/configure.in
10883           vpn-daemons/vpnc/Makefile.am
10884                 - Add --without-gnome switch which disables building gnome bits
10885
10886 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10887
10888         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10889
10890         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10891
10892         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10893         'HwAddress'.
10894
10895         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10896
10897         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10898
10899         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10900
10901         * src/:
10902                 - Remove old low-level dbus interface implementations and replace them
10903                   with dbus-glib one.
10904
10905         * configure.in:
10906                 - Require dbus-glib >= 0.72.
10907                 - Plug in new sources to build.
10908
10909         * libnm-glib/:
10910                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10911                   to make it more convenient to use from GObject based programs.
10912
10913         * introspection/:
10914                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10915
10916 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10917
10918         * src/nm-device-802-11-wireless.c:
10919                 - Add "network-added" and "network-removed" signals.
10920                 - Use gobject boilerplate macros to define the GObject.
10921                 - Implement wireless device activation.
10922                 - Remove activation_failure_handler and activation_success_handler
10923                   and instead listen on state-changed signals and run the same code
10924                   from there.
10925
10926         * src/nm-device.c:
10927                 - Implment NMDeviceInterface::deactivate.
10928                 - Remove activation_failure_handler and activation_success_handler
10929                   virtual methods. Each device which is interested in these events
10930                   can just listen on it's state changed signals.
10931
10932         * src/NetworkManagerPolicy.c:
10933                 - Move a bit more NMData usage to NMManager.
10934                 - Remove activation scheduling bits.
10935                 - Add listeners for wireless device's "network-added" and
10936                   "network-removed" signals.
10937                 - Listen device changed signals and deactivate currently activated
10938                   device when another device start activating (for now).
10939                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10940                   for calling this, the policy code knows exactly when this should happen,
10941                   by listening on events from NMManager and NMDevices.
10942
10943         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10944         Implement.
10945
10946         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10947         method on the specific device instead of going to through policy code
10948         and determining the device type by passed in AP's existance.
10949
10950         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10951         abstract NMDevice deactivation.
10952
10953 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10954
10955         * src/NetworkManager.c:
10956                 - Set up all the shiny new managers.
10957
10958         * src/NetworkManagerPolicy.c:
10959                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10960                   classes to call into policy code, make the policy code kind of like
10961                   a supervisor that monitors what's going on and drives the whole NM.
10962
10963         * src/nm-hal-manager.c: 
10964         * src/nm-hal-manager.h:
10965                 - Collect all libhal code scattered around NM to this one class.
10966                 - Listen libhal and NMManager events and add/remove devices to
10967                   NMManager.
10968
10969         * src/nm-manager.c:
10970         * src/nm-manager.h:
10971                 - Implment a replacement for NMData. NMData is now officially
10972                 deprecated.
10973
10974 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10975
10976         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10977         * src/supplicant-manager/nm-supplicant-interface.h
10978         * src/supplicant-manager/nm-supplicant-interface.c
10979         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10980         argument to boolean from enum.
10981
10982         Make NMDevice abstract class, remove almost all references to it's
10983         subclasses (the last place gets removed with new policy manager). Add
10984         NMDeviceInterface (which NMDevice implements) so that when we have
10985         NMDevice exported over DBUS, there's a common NMDevice interface which
10986         all instances have, plus there's a device specific interface for each
10987         specific type.
10988         Remove functions (nm_device_is_802_3_ethernet) and
10989         (nm_device_is_802_11_wireless). There are already standard GObject macros
10990         for type safe checks.
10991         Use the updated supplican manager API.
10992
10993         * src/nm-device-interface.h: 
10994         * src/nm-device-interface.c: 
10995         * src/nm-call-store.h: 
10996         * src/nm-call-store.c: Implement.
10997
10998         * src/supplicant-manager/nm-supplicant-interface.c:
10999         * src/supplicant-manager/nm-supplicant-interface.h:
11000         * src/supplicant-manager/nm-supplicant-manager.c:
11001         * src/supplicant-manager/nm-supplicant-manager.h:
11002                 - Remove all private data type references from public header files.
11003                 - Remove all references to other NM classes, this class is just a
11004                   proxy between wpa_supplicant and NM so it doesn't have to know
11005                   any internals.
11006                 - Convert to dbus-glib bindings.
11007                 - Type safe checks for public methods' arguments.
11008                 - Store pending DBUS call ids to NMCallStore.
11009
11010         * src/supplicant-manager/nm-supplicant-config.c:
11011                 - Store config values in a GHashTable instead of GSList.
11012
11013         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
11014
11015         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
11016         singleton now.
11017
11018         * src/nm-device.c: Use the new DHCP manager API.
11019
11020         * src/nm-activation-request.c:
11021         * src/nm-activation-request.h:
11022                 - Remove all dhcp related properties and methods.
11023
11024         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
11025
11026         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
11027
11028         * src/dhcp-manager/nm-dhcp-manager.c:
11029         * src/dhcp-manager/nm-dhcp-manager.h:
11030                 - Convert it to GObject since we need to signal state changes.
11031                 - Remove all references to other NM classes, this class is one
11032                   of the lowest classes in our hierarchy.
11033                 - One less class to use NMActRequest.
11034                 - Make it singleton, one less user of NMData.
11035                 - Remove a couple of sleep() calls.
11036                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
11037                   One less class to use the NM's custom tailored signal handlig.
11038
11039         * Makefile.am: Generate marshallers, add them to build.
11040
11041 2007-02-02  Dan Williams  <dcbw@redhat.com>
11042
11043         * configure.in
11044           gnome/Makefile.am
11045           nm-applet.desktop
11046           Makefile.am
11047                 - Remove last bits referencing gnome applet
11048
11049 2007-02-02  Dan Williams  <dcbw@redhat.com>
11050
11051         * src/vpn-manager/nm-vpn-service.c
11052                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11053                         and NBNS server addresses
11054
11055 2007-02-02  Tambet Ingo  <tambet@ximian.com>
11056
11057         * src/nm-dbus-manager.c:
11058         * src/nm-dbus-manager.h:
11059                 - Convert all internal DBUS code to use dbus-glib bindings.
11060                 - Remove GObject properties, we don't need them here.
11061                 - Don't explicitly set things to NULL after freeing, glib is
11062                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
11063                 - Make public API argument checks type safe.
11064                 - Remove unnecessary (and wrong) cast to GObject for the first
11065                   argument to g_signal_* calls - The first argument is a gpointer.
11066                 - Export DBusGConnection to other cool classes that (are going to)
11067                   use dbus-glib.
11068
11069 2007-01-26  Dan Williams  <dcbw@redhat.com>
11070
11071         * libnm-util/dbus-dict-helpers.c
11072           libnm-util/dbus-dict-helpers.h
11073                 - Coordinate style with wpa_supplicant version to minimize diff
11074                 - Add uint32 array support
11075                 - (nmu_dbus_dict_append_uint32_array): new function
11076                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11077                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11078                         version; allow adding string array elements individually
11079
11080         * test/libnm-util/test-dbus-dict-helpers.c
11081                 - Test uint32 arrays
11082
11083 2007-01-27  Jürg Billeter  <j@bitron.ch>
11084
11085         * src/backends/NetworkManagerPaldo.c
11086                 - (nm_system_update_dns): clear nscd hosts cache
11087
11088 2007-01-04  Dan Williams  <dcbw@redhat.com>
11089
11090         Threading removal related cleanups:
11091
11092         - Use the glib default main context.  Remove the device main context
11093                 member from NMDevice, and the main_context member from NMData.  Change
11094                 all the idle and timeout scheduler functions to use plain
11095                 g_idle_add() and g_timeout_add().
11096
11097         - As a side-effect of the first change, nm_dbus_manager_get() no longer
11098                 takes an argument; fix that up too.
11099
11100         - Remove all locking, which is useless since we no longer use threads.  For
11101                 example, nm_get_device_by_iface_locked() has been removed.  The global
11102                 device list lock, the AP List lock, and all static locks in
11103                 NetworkManagerPolicy.c have been removed.  The locking utility functions
11104                 in NetworkManagerUtils.c have also been removed.
11105
11106         - Other cleanups in spacing and code style
11107
11108 2007-01-01  Dan Williams  <dcbw@redhat.com>
11109
11110         Found by Bill Moss:
11111
11112         * src/supplicant-manager/nm-supplicant-interface.c
11113                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11114                         the supplicant interface wasn't already disconnected.  Always
11115                         call removeNetwork and disconnect unless the supplicant interface
11116                         is in the DISCONNECTED or INACTIVE state.
11117
11118 2006-12-28  Dan Williams  <dcbw@redhat.com>
11119
11120         Use a single thread for everything.  With the move to wpa_supplicant
11121         and communication over D-Bus, there's no reason for multiple threads.
11122         Almost all of the blocking code has been removed, with one exception in
11123         the DHCP manager and a few in the VPN manager.  This commit removes the
11124         per-device worker thread and fixes activation cancellation in the absence
11125         of threads.  Further removal of thread-related code would be removing
11126         any locking code (like the device list lock) and simplification of logic
11127         around areas of code or data structures that are currently locked.
11128
11129         * autoip.c
11130           dhcp-manager/nm-dhcp-manager.c 
11131           nm-device-802-11-wireless.c
11132           nm-device-802-3-ethernet.c
11133           nm-device.c
11134           nm-device.h
11135                 - Remove usage of multiple threads
11136
11137 2006-12-19  Dan Williams  <dcbw@redhat.com>
11138
11139         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11140         plus a few other patches from wpa_supplicant bugzilla.
11141
11142         * src/Makefile.am
11143           src/NetworkManagerPolicy.c
11144           src/NetworkManagerUtils.c
11145           src/NetworkManagerUtils.h
11146           src/nm-ap-security-leap.c
11147           src/nm-ap-security-wep.c
11148           src/nm-ap-security-wpa-eap.c
11149           src/nm-ap-security-wpa-psk.c
11150           src/nm-ap-security.c
11151           src/nm-ap-security.h
11152           src/nm-device-802-11-wireless.c
11153           src/nm-device-802-11-wireless.h
11154           src/supplicant-manager/nm-supplicant-config.c
11155           src/supplicant-manager/nm-supplicant-config.h
11156           src/supplicant-manager/nm-supplicant-interface.c
11157           src/supplicant-manager/nm-supplicant-interface.h
11158           src/supplicant-manager/nm-supplicant-marshal.list
11159           src/supplicant-manager/nm-supplicant-settings-verify.c
11160           src/supplicant-manager/nm-supplicant-settings-verify.h
11161                 - Move all connection management and association handling to
11162                         wpa_supplicant over dbus, rather than spawning a private copy
11163
11164 2006-12-19  Dan Williams  <dcbw@redhat.com>
11165
11166         * src/NetworkManagerPolicy.c
11167                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11168                         better locking of the device change check handler ID.  Incorrect
11169                         locking was causing lost device change requests
11170
11171 2006-12-18  Dan Williams  <dcbw@redhat.com>
11172
11173         * libnm-util/dbus-dict-helpers.c
11174                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11175                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
11176                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
11177
11178 2006-12-18  Dan Williams  <dcbw@redhat.com>
11179
11180         * gnome/libnm_glib/libnm_glib.c
11181                 - Change dbus_connection_close() -> dbus_connection_unref()
11182
11183 2006-12-11  Dan Williams  <dcbw@redhat.com>
11184
11185         * src/supplicant-manager/nm-supplicant-interface.c
11186                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11187                         wpa_supplicant interface state
11188                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11189                         state before transitioning to READY state
11190
11191 2006-12-04  Dan Williams  <dcbw@redhat.com>
11192
11193         * src/nm-device-802-11-wireless.c
11194                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11195                         odd length of ESSID returned from ieee80211 stack-based drivers
11196
11197 2006-12-04  Dan Williams  <dcbw@redhat.com>
11198
11199         * src/nm-device-802-11-wireless.c
11200                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11201                         IE handling blocks that cause mis-parsing of the IE
11202
11203 2006-12-04  Dan Williams  <dcbw@redhat.com>
11204
11205         * src/nm-device-802-11-wireless.c
11206                 - (init_supplicant_interface): new function; pull supplicant interface
11207                         setup code out into standalone function since it must be called from
11208                         two different places
11209                 - (real_init): sup_mgr is now in private object data; get and track
11210                         the supplicant manager object over the NMDevice subclass' lifetime
11211                         and register a signal handler for its state signals; only try to
11212                         initialize the supplicant interface if the supplicant manager is in
11213                         the IDLE state (and therefore is ready for requests)
11214                 - (request_wireless_scan): reschedule the scan request if (a) there is
11215                         no supplicant interface yet (meaning wpa_supplicant isn't running
11216                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11217                         for requests yet
11218                 - (supplicant_iface_connection_state_cb): new function; stub for
11219                         handling supplicant interface connection state signals
11220                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11221                         comes and goes
11222                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11223                         supplicant manager object that's being tracked starting with this
11224                         commit
11225
11226 2006-12-04  Dan Williams  <dcbw@redhat.com>
11227
11228         * src/supplicant-manager/nm-supplicant-interface.c
11229                 - (nm_supplicant_interface_set_property): track signal handler ID
11230                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11231
11232 2006-12-04  Dan Williams  <dcbw@redhat.com>
11233
11234         * src/supplicant-manager/nm-supplicant-interface.[ch]
11235                 - (nm_supplicant_interface_get_state): new function
11236
11237 2006-12-04  Dan Williams  <dcbw@redhat.com>
11238
11239         * src/supplicant-manager/nm-supplicant-interface.c
11240                 - (bssid_properties_cb): don't treat DBus errors as valid
11241                         scanned AP messages
11242
11243 2006-12-04  Dan Williams  <dcbw@redhat.com>
11244
11245         * src/supplicant-manager/nm-supplicant-interface.[ch]
11246                 - (nm_supplicant_interface_get_connection_state): new function
11247                 - define new supplicant connection states
11248                 - send a signal when the supplicant connection state changes
11249
11250 2006-12-03  Dan Williams  <dcbw@redhat.com>
11251
11252         * src/supplicant-manager/Makefile.am
11253           src/supplicant-manager/nm-supplicant-connection.h
11254           src/supplicant-manager/nm-supplicant-connection.c
11255           src/supplicant-manager/nm-supplicant-config.h
11256           src/supplicant-manager/nm-supplicant-config.c
11257           src/supplicant-manager/nm-supplicant-types.h
11258           src/supplicant-manager/nm-supplicant-interface.h
11259           src/supplicant-manager/nm-supplicant-interface.c
11260                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11261
11262 2006-12-03  Dan Williams  <dcbw@redhat.com>
11263
11264         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11265
11266         * po/POTFILES.in
11267           po/POTFILES.skip
11268                 - Move VPN-related translatables to .skip
11269
11270         * vpn-daemons/pptp/po/POTFILES.in
11271                 - Update with new translatables
11272
11273 2006-12-02  Dan Williams  <dcbw@redhat.com>
11274
11275         Patch from Christian Persch <chpe@gnome.org>
11276
11277         * gnome/applet/Makefile.am
11278           gnome/applet/applet-dbus-devices.c
11279           gnome/applet/applet-notifications.c
11280           gnome/applet/applet.c
11281           gnome/applet/applet.h
11282           gnome/applet/main.c
11283                 - Be a GtkStatusIcon on GTK+ >= 2.10
11284
11285 2006-12-02  Dan Williams  <dcbw@redhat.com>
11286
11287         * gnome/applet/applet.c
11288                 - (nma_update_info): fix two unecessary allocations
11289
11290 2006-12-02  Dan Williams  <dcbw@redhat.com>
11291
11292         Patch from Michael Biebl <biebl@teco.edu>
11293         * configure.in
11294           man/NetworkManager.1.in
11295           man/NetworkManagerDispatcher.1.in
11296           man/NetworkManager.8.in
11297           man/NetworkManagerDispatcher.8.in
11298                 - Add .SH NAME stanzas
11299                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11300
11301 2006-12-02  Dan Williams  <dcbw@redhat.com>
11302
11303         Patch from Christian Persch <chpe@gnome.org>
11304
11305         * configure.in
11306                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11307
11308 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11309
11310         Patch by Timo Hoenig <thoenig@suse.de>:
11311         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11312         DBUS-1.0.
11313
11314         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11315         we can't use the one from the main source directory.
11316
11317 2006-11-27  Dan Williams  <dcbw@redhat.com>
11318
11319         Patch from Christian Persch <chpe@gnome.org>
11320
11321         * gnome/applet/applet-dbus-devices.c
11322                 - (hal_info_product_cb): fix memleak; free duped string.
11323                         Gnome.org #379908
11324
11325 2006-11-27  Dan Williams  <dcbw@redhat.com>
11326
11327         Patch from Christian Persch <chpe@gnome.org>
11328
11329         * gnome/applet/menu-items.c
11330                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11331                         as gtk_progress_set_percentage is deprecated.  Should
11332                         work as far back as GTK+ 2.4.  Gnome.org #379780
11333
11334 2006-11-26  Dan Williams  <dcbw@redhat.com>
11335
11336         Scan using wpa_supplicant over DBus.
11337
11338         * src/nm-device-802-11-wireless.c
11339                 - remove wireless extensions netlink event handler bits
11340                         (wireless_event_helper, nm_device_802_11_wireless_event)
11341                 - remove wireless extensions scan event handler bits
11342                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11343                         hex2byte, hex2num, request_and_convert_scan_results,
11344                         free_process_scan_cb_data, scan_results_timeout,
11345                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11346                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11347                         and request scans from the supplicant interface rather than directly
11348                 - Move functionality of convert_scan_results() to cull_scan_list() and
11349                         supplicant_iface_scanned_ap_cb()
11350                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11351                         at the scan interval when the current scan has finished
11352                 - (supplicant_iface_state_cb): start scanning when the supplicant
11353                         interface enters the READY state, and stop scanning when it
11354                         enters the DOWN state
11355                 - (cull_scan_list): weed out old access points from the scan list
11356                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11357                         point into an NMAccessPoint and merge it into the device's scan list
11358
11359         * src/supplicant-manager/nm-supplicant-interface.c
11360           src/supplicant-manager/nm-supplicant-interface.h
11361                 - Add a new signal "scan-result" which is issued when the supplicant
11362                         notifies NM that a scan has completed
11363                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11364                         point found in the scan.  Called once for each access point that
11365                         the supplicant interface object receives from the supplicant as a
11366                         result of the "scanResults" method call
11367                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11368                         for the initial scan results
11369                 - (scan_request_cb): new function; send listeners the result
11370                         (success, error) of a wireless scan request
11371                 - (nm_supplicant_interface_request_scan): new function; ask the
11372                         supplicant to perform an immediate wireless scan
11373
11374 2006-11-25  Dan Williams  <dcbw@redhat.com>
11375
11376         * src/supplicant-manager/Makefile.am
11377                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11378                         add HAL cflags/includes and named-manager includes directory
11379
11380         * src/supplicant-manager/nm-supplicant-interface.h
11381                 - New state STARTING to handle transition from INIT to READY where
11382                         the addInterface pending call is still outstanding
11383
11384         * src/supplicant-manager/nm-supplicant-interface.c
11385                 - track pending calls differently since we may have more than one
11386                         going on at any given time
11387                 - request scan results from wpa_supplicant; but don't do it more often
11388                         than every 4 seconds.  Drivers that do background scanning
11389                         (like the 'ipw' drivers) send a continuous stream of scan completion
11390                         notifications, so we don't want to hammer the supplicant or dbus
11391                         with requests for all scan results every time we get a completion
11392                         notification.
11393
11394 2006-11-25  Dan Williams  <dcbw@redhat.com>
11395
11396         * src/supplicant-manager/nm-supplicant-types.h
11397                 - new file; move all supplicant manager object typedefs here for
11398                         #include sanity
11399
11400         * src/supplicant-manager/nm-supplicant-interface.c
11401           src/supplicant-manager/nm-supplicant-interface.h
11402                 - new file; an object that interfaces an NMDevice object to the
11403                         supplicant and handles signals from the supplicant.  This object
11404                         does all necessary DBus communication with wpa_supplicant.
11405
11406         * src/supplicant-manager/nm-supplicant-manager.c
11407           src/supplicant-manager/nm-supplicant-manager.h
11408                 - Actually do something.  Track the state of the wpa_supplicant service
11409                         and deal with its comings & goings.  Handle life events of
11410                         supplicant interfaces too.
11411                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11412
11413         * src/supplicant-manager/nm-supplicant-connection.h
11414                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11415
11416         * src/supplicant-manager/Makefile.am
11417                 - Add new files to build, and add libnm-util to includes
11418
11419         * src/nm-marshal.list
11420                 - New marshaler type: VOID:UINT,UINT
11421
11422         * src/nm-device-802-3-ethernet.c
11423                 - (real_init): grab a supplicant interface
11424                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11425                 - (supplicant_iface_state_cb): new function, stub for handling
11426                         supplicant interface state changes
11427
11428         * src/nm-device-802-11-wireless.c
11429                 - (real_init): grab a supplicant interface
11430                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11431                 - (supplicant_iface_state_cb): new function, stub for handling
11432                         supplicant interface state changes
11433
11434         * src/NetworkManager.c
11435                 - (main): create and keep the supplicant manager around for the lifetime
11436                         of NetworkManager
11437
11438         * src/Makefile.am
11439                 - Link to the supplicant manager sub-library and use the supplicant
11440                         manager includes
11441
11442 2006-11-25  Dan Williams  <dcbw@redhat.com>
11443
11444         Rework DBus manager signal handling to be more flexible.  Previously,
11445         only one signal handler could be registered for a particular interface.
11446         The DBus manager now reference counts DBus bus matches and allows multiple
11447         clients to register signal handlers for the same interface and sender.
11448
11449         * src/NetworkManager.c
11450                 - (main): track NMI signal handler ID and remove it when we quit
11451
11452         * src/NetworkManagerMain.h
11453                 - Keep track of NMI signal handler ID
11454
11455         * src/nm-dbus-manager.c
11456           src/nm-dbus-manager.h
11457                 - rework signal handling; each signal handler references one signal
11458                         match, but a signal match may be referenced by one or more
11459                         signal handlers.  Matches are refcounted and are destroyed when the
11460                         last signal handler that references the match is removed.  This is
11461                         necessary because two signal handlers may end up requiring the same
11462                         dbus bus match, so the match must live until the last signal handler
11463                         is destroyed (for example, with the wpa_supplicant network interface
11464                         dbus interface).
11465
11466         * src/dhcp-manager/nm-dhcp-manager.c
11467                 - (nm_dhcp_manager_new): track DHCP signal handler id
11468                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11469
11470         * src/vpn-manager/nm-vpn-service.c
11471                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11472                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11473
11474 2006-11-25  Dan Williams  <dcbw@redhat.com>
11475
11476         Suggested by Helmut Schaa <hschaa@suse.de>
11477
11478         * src/vpn-daemons/nm-vpn-service.c
11479                 - (supplicant_child_setup): new function
11480                 - (supplicant_exec): make child process use a new process group id
11481
11482         * src/nm-device-802-11-wireless.c
11483                 - (nm_vpn_service_child_setup): new function
11484                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11485                         process group id
11486
11487 2006-11-19  Dan Williams  <dcbw@redhat.com>
11488
11489         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11490         * gnome/vpn-properties/nm-vpn-properties.c
11491                 - clean up after renamed VPN connection
11492
11493 2006-11-19  Dan Williams  <dcbw@redhat.com>
11494
11495         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11496         * gnome/applet/applet-dbus-vpn.c
11497                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11498
11499         * gnome/vpn-properties/nm-vpn-properties.c
11500                 - (init_app): sort VPN connections
11501
11502 2006-11-09  Dan Williams  <dcbw@redhat.com>
11503
11504         * src/NetworkManagerAPList.c
11505                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11506                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11507                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11508                 broke hidden SSID matching.  Found by Bill Moss.
11509
11510 2006-10-25  Dan Williams  <dcbw@redhat.com>
11511
11512         * src/nm-dbus-nm.c
11513                 - (nm_dbus_nm_set_active_device): return an empty success message on
11514                         success, rather than falling through to the error case.
11515
11516 2006-10-25  Dan Williams  <dcbw@redhat.com>
11517
11518         * src/NetworkManagerUtils.c
11519                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11520                         "SCAN" command
11521
11522 2006-10-24  Dan Williams  <dcbw@redhat.com>
11523
11524         Reduce the number of times the Gnome applet wakes up, especially when
11525         it's doing absolutely nothing and is hidden.  Initial patch by
11526         Chris Aillon.
11527
11528         * gnome/applet/applet-dbus.c
11529                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11530                         kill the redraw timeout.  When NM starts up, start the redraw
11531                         timeout.  Also, if we get kicked off the bus for some reason,
11532                         start the reconnection timeout if one's not already running.
11533                 - (nma_dbus_init): better handling of error conditions, don't leak
11534                         a half-initialized dbus connection
11535                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11536                         the applet's data, just call nm_dbus_init_helper()
11537                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11538                         timeout that calls nma_dbus_connection_watcher()
11539                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11540                         reconnection timeout, and don't start the reconnection timeout
11541                         unconditionally anymore
11542
11543         * gnome/applet/applet-dbus.h
11544                 - Expose nma_start_dbus_connection_watch()
11545
11546         * gnome/applet/applet.c
11547                 - (nma_update_state): no longer static, called from applet-dbus.c for
11548                         immediate UI updates on certain events
11549                 - (nma_set_running): new function; take over setting applet->running,
11550                         when not running (ie, NM is not active), don't activate the redraw
11551                         timeout because we're not showing the applet anyway.  When we are
11552                         running (ie, NM is active), and only when we're running, start the
11553                         redraw timeout.
11554                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11555                         kill any reconnection timeout
11556                 - (nma_get_instance): move one-off dbus initialization code here since
11557                         nm_dbus_init_helper() gets called more than once, possibly by the
11558                         reconnection timeout function too.  And, when we start up, if we
11559                         can't get a connection to the bus, start the reconnection timeout.
11560                         But don't start the redraw timeout yet, only do that when we get
11561                         NM's state and find out if it's running or not.
11562
11563         * gnome/applet/applet.h
11564                 - Add the reconnection GSource ID
11565                 - Add prototypes for nma_set_running() and the no-longer-static
11566                         nma_update_state()
11567
11568 2006-10-24  Dan Williams  <dcbw@redhat.com>
11569
11570         * src/vpn-daemons/nm-dbus-vpnc.c
11571                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11572                         pending call tracker
11573                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11574                         pending call tracker; register one-vpn-connection update pending
11575                         call in pending call tracker
11576                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11577                         update pending call in pending call tracker
11578                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11579                         update pending call in pending call tracker; don't block waiting
11580                         for call to return
11581
11582 2006-10-19  Robert Love  <rml@novell.com>
11583
11584         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11585           refresh the cache.
11586
11587 2006-10-14  Dan Williams  <dcbw@redhat.com>
11588
11589         * src/dhcp-manager/nm-dhcp-manager.c
11590                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11591                 the dbus connection and the device object path rather than
11592                 constructing it inside both functions.  Saves a bit of memory
11593                 and clarifies a failure path.
11594                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11595                 and allocate device path here rather than each of the two
11596                 functions above.
11597
11598 2006-10-13  Dan Williams  <dcbw@redhat.com>
11599
11600         * src/NetworkManager.c
11601                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11602                 this somehow droppout in the refactor
11603
11604 2006-10-13  Dan Williams  <dcbw@redhat.com>
11605
11606         * Huge DBus refactor:
11607                 - Create a "DBus Manager" object which manages the connection and
11608                 sends signals on NameOwnerChanged and connection/disconnection events,
11609                 handles reconnection to the bus if NM gets kicked off, and abstracts
11610                 signal handling
11611                 - Remove DBusConnection members from places where they are no
11612                 longer needed due to the refactor, like the dbus-connection
11613                 property of the named manager, and from NMData
11614                 - Reformats a bunch of the code to gnome style
11615                 (8-space tabs, braces on same line as statement, 80-col width).
11616                 Consider it open season to reformat any bits to gnome style.
11617                 style that aren't already.
11618
11619 2006-10-13  Dan Williams  <dcbw@redhat.com>
11620
11621         * src/supplicant-manager/Makefile.am
11622                 - Add new files
11623
11624         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11625                 - Make it a minimal GObject
11626
11627         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11628                 - Verify settings destined for wpa_supplicant
11629
11630         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11631                 - Minimal GObject to track wpa_supplicant controlled device
11632                 connections
11633
11634 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11635
11636         * gnome/applet/applet.c: (nma_update_info),
11637         (nma_act_stage_to_pixbuf), (nma_update_state):
11638         Mark missing strings for translation. Fixes bug #343306.
11639
11640 2006-10-01  Dan Williams  <dcbw@redhat.com>
11641
11642         * src/vpn-manager/nm-vpn-manager.c
11643                 - (nm_vpn_manager_load_services): split and clean up
11644                 for readability and correctness.  Restrict VPN service
11645                 files to ending in ".name", as was meant from the
11646                 beginning (but not coded in).  Better error reporting.
11647
11648 2006-10-01  Dan Williams  <dcbw@redhat.com>
11649
11650         * utils/nm-utils.h
11651                 - Clean up formatting of debug/info/warning log messages
11652
11653 2006-09-27  Robert Love  <rml@novell.com>
11654
11655         Patch by Tambet Ingo <tambet@ximian.com>:
11656         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11657           actually work.
11658
11659 2006-09-07  Dan Williams <dcbw@redhat.com>
11660
11661         * test/Makefile.am
11662           test/libnm-util/Makefile.am
11663           test/nm-supplicant-test.c
11664                 - Add test program emulating the way NM drives wpa_supplicant
11665                 to help debug supplicant issues
11666
11667 2006-08-24  Dan Williams <dcbw@redhat.com>
11668
11669         * configure.in
11670           src/Makefile.am
11671           src/supplicant-manager/Makefile.am
11672           src/supplicant-manager/nm-supplicant-manager.c
11673           src/supplicant-manager/nm-supplicant-manager.h
11674                 - Add skeleton bits of the wpa_supplicant manager
11675
11676 2006-08-24  Dan Williams <dcbw@redhat.com>
11677
11678         Patch from Ed Catmur:
11679         * src/NetworkManagerUtils.c
11680                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11681                 if netmask is 0 (Gnome #352634)
11682
11683 2006-08-17  Robert Love  <rml@novell.com>
11684
11685         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11686           package is now DBUS-enabled and listens for the NM signals.
11687
11688 2006-08-14  Dan Williams  <dcbw@redhat.com>
11689
11690         * Patch from Christian Persch <chpe gnome org>
11691         * configure.in
11692           po/LINGUAS
11693           vpn-daemons/openvpn/po/LINGUAS
11694           vpn-daemons/openvpn/configure.in
11695           vpn-daemons/pptp/po/LINGUAS
11696           vpn-daemons/pptp/configure.in
11697           vpn-daemons/vpnc/po/LINGUAS
11698           vpn-daemons/vpnc/configure.in
11699                 - Convert to LINGUAS method so translators don't have to modify
11700                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11701                 0.35 or higher
11702
11703 2006-08-14  Dan Williams  <dcbw@redhat.com>
11704
11705         Patch from Alex Smith <alex.extreme2@gmail.com>
11706         * configure.in
11707           src/backends/Makefile.am
11708           src/backends/NetworkManagerFrugalware.c
11709                 - Add support for Frugalware
11710
11711 2006-08-13  Dan Williams  <dcbw@redhat.com>
11712
11713         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11714         * src/nm-device-802-11-wireless.c
11715                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11716                 Gnome #346875
11717
11718 2006-08-13  Dan Williams  <dcbw@redhat.com>
11719
11720         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11721         * src/nm-ap-security.c
11722           src/nm-ap-security.h
11723                 - Add authentication_required bits for subclasses to specify whether
11724                 or not real authentication is required for connections, i.e. whether
11725                 the AP rejects us when an encryption key is wrong or not.
11726
11727         * src/nm-ap-security-wep.c
11728           src/nm-ap-security-wpa-eap.c
11729           src/nm-ap-security-wpa-psk.c
11730           src/nm-ap-security-leap.c
11731                 - Implement authentication_required appropriately for each method
11732
11733         * src/nm-device-802-11-wireless.c
11734                 - Be smarter about when to request a key; for example, using a wrong key
11735                 in WEP shared key mode previously just timed out and did not request
11736                 a new key
11737
11738 2006-08-13  Dan Williams  <dcbw@redhat.com>
11739
11740         * gnome/libnm_glib/libnm_glib.c
11741                 - dbus_connection_disconnect() -> dbus_connection_close() for
11742                 dbus >= 0.90
11743
11744 2006-08-07  Dan Williams  <dcbw@redhat.com>
11745
11746         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11747         * src/NetworkManagerSystem.c
11748                 - Respect specified MTU.  Gnome #344967
11749
11750 2006-08-07  Dan Williams  <dcbw@redhat.com>
11751
11752         * src/vpn-manager/nm-vpn-service.c
11753                 - Simplify print_vpn_config() arguments
11754
11755         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11756         * src/vpn-manager/Makefile.am
11757           src/vpn-manager/nm-vpn-service.c
11758                 - Add new API for passing VPN config options as a dict. Gnome #344967
11759
11760 2006-08-06  Dan Williams  <dcbw@redhat.com>
11761
11762         * gnome/applet/applet-dbus-devices.c
11763           gnome/applet/applet-dbus-vpn.c
11764           gnome/applet/applet-dbus.c
11765           gnome/applet/applet-dbus.h
11766           src/nm-dbus-nmi.c
11767           utils/nm-utils.c
11768           utils/nm-utils.h
11769                 - Make pending call tracking code generic,
11770                 so we can use it in NM as well as the applet
11771
11772 2006-08-06  Dan Williams  <dcbw@redhat.com>
11773
11774         * src/nm-activation-request.c
11775                 - Refcount pending call objects
11776
11777 2006-08-06  Dan Williams  <dcbw@redhat.com>
11778
11779         Patch from Christan Chiesa <christanc@gmail.com>
11780         * configure.in
11781                 - Tell sha1.c to use bigendian mode on PPC
11782
11783 2006-08-04  Robert Love  <rml@novell.com>
11784
11785         Glib Memory Slices!
11786         * configure.in: Require glib 2.10 or later.
11787         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11788           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11789           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11790           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11791           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11792           Memory Slices are the greatest thing since bread slices.
11793         * src/NetworkManagerAP.c: Also, fix memory leak.
11794
11795 2006-08-01  Robert Love  <rml@novell.com>
11796
11797         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11798
11799 2006-07-31  Robert Love  <rml@novell.com>
11800
11801         * src/backends/interface_parser.c: Declarations must begin the block.
11802
11803 2006-07-24  Dan Williams  <dcbw@redhat.com>
11804
11805         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11806         * src/backends/Makefile.am
11807           src/backends/NetworkManagerArch.c
11808           src/backends/NetworkManagerDebian.c
11809           src/backends/NetworkManagerGeneric.c
11810           src/backends/NetworkManagerGeneric.h
11811           src/backends/NetworkManagerGentoo.c
11812           src/backends/NetworkManagerPaldo.c
11813           src/backends/NetworkManagerRedHat.c
11814           src/backends/NetworkManagerSlackware.c
11815           src/backends/NetworkManagerSuSE.c
11816                 - Genericize common backend functions
11817
11818 2006-07-18  Robert Love  <rml@novell.com>
11819
11820         * configure.in: Add "--with-notify" option to allow disabling of
11821           libnotify support.
11822
11823 2006-07-13  Dan Williams  <dcbw@redhat.com>
11824
11825         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11826         * gnome/applet/applet.glade
11827           gnome/applet/Makefile.am
11828           gnome/applet/nm-gconf-wso.c
11829           gnome/applet/nm-gconf-wso-leap.c
11830           gnome/applet/nm-gconf-wso-leap.h
11831           gnome/applet/wireless-security-manager.c
11832           gnome/applet/wso-leap.c
11833           gnome/applet/wso-leap.h
11834           include/NetworkManager.h
11835           libnm-util/dbus-helpers.c
11836           libnm-util/dbus-helpers.h
11837           src/Makefile.am
11838           src/NetworkManagerAP.c
11839           src/nm-ap-security.c
11840           src/nm-ap-security-leap.c
11841           src/nm-ap-security-leap.h
11842                 - Add LEAP authentication support
11843
11844 2006-07-13  Dan Williams  <dcbw@redhat.com>
11845
11846         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11847         * configure.in
11848           src/backends/NetworkManagerArch.c
11849           src/backends/NetworkManagerDebian.c
11850           src/backends/NetworkManagerGentoo.c
11851           src/backends/NetworkManagerPaldo.c
11852           src/backends/NetworkManagerRedHat.c
11853           src/backends/NetworkManagerSlackware.c
11854           src/backends/NetworkManagerSuSE.c
11855                 - Convert hardcoding of 'ip' path to configure-time
11856                         detected one
11857
11858 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11859
11860         * configure.in: added ru to ALL_LINGUAS
11861
11862 2006-07-10  Dan Williams  <dcbw@redhat.com>
11863
11864         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11865         * src/nm-device.c
11866                 - (real_act_stage3_ip_config_start): don't infinite loop when
11867                         dhcdbd isn't running (Gnome #346845)
11868
11869 2006-07-09  Dan Williams  <dcbw@redhat.com>
11870
11871         * gnome/applet/applet.c
11872                 - (nma_destroy): don't pass NULL to notify_notification_close
11873                         (RH #197917)
11874
11875 2006-07-09  Dan Williams  <dcbw@redhat.com>
11876
11877         * gnome/applet/applet.c
11878                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11879
11880 2006-07-04  Tor Krill  <tor@krill.nu>
11881
11882         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11883         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11884         (nm_system_restart_mdns_responder), (ArchReadConfig),
11885         (nm_system_device_get_system_config):
11886                 - Explicitly check for DHCP configuration
11887                 - Check if daemons are running before starting them
11888
11889 2006-06-25  Dan Williams  <dcbw@redhat.com>
11890
11891         * libnm-util/dbus-dict-helpers.[ch]
11892           test/libnm-util/test-dbus-dict-helpers.c
11893                 - Add string array support
11894
11895 2006-06-24  Dan Williams  <dcbw@redhat.com>
11896
11897         * src/dhcp-manager/nm-dhcp-manager.c
11898                 - (nm_dhcp_manager_process_signal): clean up spacing
11899
11900 2006-06-21  Dan Williams  <dcbw@redhat.com>
11901
11902         * src/nm-dbus-device.c
11903                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11904                         through dbus
11905
11906 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11907
11908         * configure.in: Added 'lv' to ALL_LINGUAS
11909
11910 2006-06-19  Dan Williams  <dcbw@redhat.com>
11911
11912         * src/NetworkManagerAP.c
11913                 - Clarify usage of user_created
11914
11915         * src/nm-ap-security-wep.c
11916           src/nm-ap-security-wpa-eap.c
11917           src/nm-ap-security-wpa-psk.c
11918           src/nm-ap-security.c
11919           src/nm-ap-security.h
11920                 - s/user_created/adhoc, because we really do mean adhoc
11921
11922         Patch from Bernard Blackham <bernard@blackham.com.au>
11923         * src/nm-device-802-11-wireless.c         
11924                 - (supplicant_send_network_config): instead of user_created,
11925                         use adhoc, and do AP_SCAN 2 for adhoc networks
11926
11927 2006-06-18  Robert Love  <rml@novell.com>
11928
11929         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11930           we have a value to set.  Gconf generates a warning if `val' is NULL.
11931         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11932           unless we actually received a valid private key file passphrase or
11933           password.  Otherwise, we don't know to later ask the applet to pull
11934           the key from the keyring.
11935
11936 2006-06-17  Dan Williams  <dcbw@redhat.com>
11937
11938         * libnm-util/dbus-dict-helpers.[ch]
11939           test/libnm-util/test-dbus-dict-helpers.c
11940                 - Fixes for zero-length byte arrays
11941                 - Replace return values of 0 with FALSE for clarity
11942                 - Test zero-length byte arrays
11943
11944 2006-06-17  Dan Williams  <dcbw@redhat.com>
11945
11946         * libnm-util/dbus-dict-helpers.[ch]
11947           test/libnm-util/test-dbus-dict-helpers.c
11948                 - Add helpers for byte arrays
11949                 - Rework bits of the testcase
11950
11951 2006-06-16  Dan Williams  <dcbw@redhat.com>
11952
11953         * libnm-util/Makefile.am
11954         * libnm-util/dbus-dict-helpers.[ch]
11955                 - Add some helpers to take the pain out of using dict types in
11956                         dbus.
11957
11958         * test/libnm-util/Makefile.am
11959         * test/libnm-util/test-dbus-dict-helpers.c
11960                 - Test cases for the dict helper functions
11961
11962 2006-06-15  Robert Love  <rml@novell.com>
11963
11964         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11965           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11966           if there is no key to pass.
11967         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11968           receiving a non-NULL key.
11969
11970 2006-06-14  Robert Love  <rml@novell.com>
11971
11972         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11973           copy the strings.
11974
11975
11976 2006-06-14  Dan Williams  <dcbw@redhat.com>
11977
11978         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11979         * src/nm-device-802-11-wireless.c
11980                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11981                         or ones where the driver is unknown
11982                 - (supplicant_exec): don't wait for supplicant startup here
11983                 - (supplicant_interface_init): finer grained polling for supplicant
11984                         startup
11985
11986 2006-06-13  Robert Love  <rml@novell.com>
11987
11988         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11989           if it is currently set to TRUE.  Otherwise, we will reset the value
11990           when we connect normally.
11991         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11992           the old BSSID is valid, too.  The recently added ESSID check may not be
11993           sufficient (we can remove it?).  What we really want to catch is the
11994           case of going from all-zeros to the BSSID of some other network, which
11995           happens on failure.
11996
11997 2006-06-09  Dan Williams  <dcbw@redhat.com>
11998
11999         * src/NetworkManagerSystem.[ch]
12000                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
12001                         it was unused and pointless
12002                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
12003                         fix for set_up_down_with_iface change
12004
12005         * src/vpn-manager/nm-vpn-connection.c
12006                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
12007
12008         * src/backends/NetworkManagerPaldo.c
12009           src/backends/NetworkManagerRedHat.c
12010           src/backends/NetworkManagerSuSE.c
12011           src/backends/NetworkManagerArch.c
12012           src/backends/NetworkManagerDebian.c
12013           src/backends/NetworkManagerGentoo.c
12014                 - (nm_system_enable_loopback): use set_up_down_with_iface where
12015                         appropriate
12016                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
12017                         where appropriate
12018
12019 2006-06-09  Dan Williams  <dcbw@redhat.com>
12020
12021         Patch from Peter Jones:
12022         * src/nm-device-802-11-wireless.c
12023                 - (nm_device_802_11_wireless_update_bssid): make sure that the
12024                         SSID hasn't changed from what we expect before automatically
12025                         updating the saved BSSID from a new AP
12026
12027 2006-06-08  Robert Love  <rml@novell.com>
12028
12029         Add 'fallback' support.  NetworkManager will attempt to brute-force
12030         connect to networks marked as fallback if there are no better wireless
12031         connections available.  This is useful as a method of last resort, to
12032         work around driver problems, and for use with hidden networks.
12033         * gnome/applet/applet-dbus-devices.c,
12034           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
12035         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
12036           pass it on via DBUS.
12037         * gnome/applet/applet.c: No fallback by default.
12038         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
12039           Update other-network-dialog to add UI checkbox toggling fallback.
12040         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12041           propery from AP object.  Add "fallback" property to AP object.
12042         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12043         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12044         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12045           separate function.  Add get_best_fallback_ap() for returning an AP
12046           on which to attempt fallback.
12047         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12048         * test/nm-set-fallback: New file.  Sets a given network as fallback.
12049
12050 2006-06-07  Robert Love  <rml@novell.com>
12051
12052         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12053           checked that the return type was GCONF_VALUE_STRING, not the correct
12054           GCONF_VALUE_BOOL, and thus it never worked.
12055         * src/NetworkManagerAPList.c: Before concluding that two networks are
12056           identical based on their BSSID, make sure that the BSSID in question
12057           is actually valid.  Specifically, an empty or all zero BSSID does not
12058           cut it.
12059         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12060           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12061           similar invariant clean up.
12062
12063 2006-06-02  Robert Love  <rml@novell.com>
12064
12065         * gnome/applet/applet.c: Update copyright years.  Add Novell.
12066
12067 2006-05-28  Dan Williams  <dcbw@redhat.com>
12068
12069         * gnome/applet/applet.glade
12070           gnome/vpn-properties/nm-vpn-properties.glade
12071                 - Set window icons on dialogs  (Gnome.org #333420)
12072
12073 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
12074
12075         * gnome/vpn-properties/nm-vpn-properties.glade:
12076         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12077         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12078         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12079                 - Make the VPN properties pages prettier and more HIG
12080                   compliant. Gnome Bug #336913.
12081
12082 2006-05-28  Dan Williams  <dcbw@redhat.com>
12083
12084         Patch from Christian Persch <chpe@gnome.org>
12085         * gnome/vpn-properties/nm-vpn-properties.c
12086         * gnome/vpn-properties/nm-vpn-properties.glade
12087                 - HIG-ification love  (Gnome.org #336846)
12088
12089 2006-05-28  Dan Williams  <dcbw@redhat.com>
12090
12091         Patch from Christian Persch <chpe@gnome.org>
12092         * configure.in
12093           gnome/vpn-properties/nm-vpn-properties.c
12094                 - (main): Fix option parsing.  Gnome.org #336847
12095
12096 2006-05-28  Dan Williams  <dcbw@redhat.com>
12097
12098         * gnome/vpn-properties/nm-vpn-properties.c
12099                 - (find_vpn_ui_by_service_name): protect against NULL service names
12100                 - (update_edit_del_sensitivity): protect against NULL service names
12101                         Gnome.org #341306
12102
12103 2006-05-28  Dan Williams  <dcbw@redhat.com>
12104
12105         Patch from Chris Fuller <crf@grandecom.net>:
12106         * src/nm-device-802-11-wireless.c
12107                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12108                         don't dispose of wireless-specific stuff unless it is actually
12109                         initialized.  Gnome.org #341263
12110
12111 2006-05-28  Dan Williams  <dcbw@redhat.com>
12112
12113         * src/NetworkManagerPolicy.c
12114                 - (nm_policy_device_change_check): don't switch devices if the "best"
12115                         AP is essentially the same as the current activation request, but
12116                         the current activation request isn't done activating yet.  Fixes
12117                         multiple requests for keyring password on startup for Gnome applet.
12118                         Gnome.org #341297
12119
12120 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
12121
12122         * src/NetworkManager.c: use GOptions instead of getopt
12123         * configure.in: bump glib required version to >= 2.6 for GOption
12124           support
12125
12126 2006-05-25  Robert Love  <rml@novell.com>
12127
12128         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12129           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
12130           instead of dumping ifdef's throughout the code.
12131         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12132           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12133           use nm_ioctl_info() in lieu.
12134
12135 2006-05-25  Robert Love  <rml@novell.com>
12136
12137         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12138         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12139           not using gcrypt.  Otherwise, we get a linker error.
12140
12141 2006-05-25  Robert Love  <rml@novell.com>
12142
12143         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12144         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12145           configure flag to disable building of the GNOME-based applet.
12146
12147 2006-05-25  Robert Love  <rml@novell.com>
12148
12149         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12150           parameter from link, because it shadows a global variable with some
12151           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
12152           should never have exported to the entire system a common four letter
12153           word.  But we here at NetworkManager are team players.  Fixes
12154           GNOME bug #336532.
12155
12156 2006-05-25  Arangel Angov <ufo@linux.net.mk>
12157
12158         * configure.in: Added mk.po, Macedonian translation.
12159
12160 2006-05-24  Robert Love  <rml@novell.com>
12161
12162         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12163           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12164           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12165
12166 2006-05-24  Robert Love  <rml@novell.com>
12167
12168         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12169           libnm-util/Makefile.am, src/Makefile.am,
12170           vpn-daemons/openvpn/auth-dialog/Makefile.am,
12171           vpn-daemons/openvpn/properties/Makefile.am,
12172           vpn-daemons/pptp/auth-dialog/Makefile.am,
12173           vpn-daemons/pptp/properties/Makefile.am,
12174           vpn-daemons/vpnc/auth-dialog/Makefile.am,
12175           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12176           user passed for --datadir, if anything, when setting the GNOME locale
12177           directory.  It should be a function of the specified datadir and not
12178           the prefix.
12179
12180 2006-05-24  Robert Love  <rml@novell.com>
12181
12182         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12183           src/NetworkManager.c: Take care to call bindtextdomain with the
12184           location of msgid files.
12185         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12186           files.
12187
12188 2006-05-22  Robert Love  <rml@novell.com>
12189
12190         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12191           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12192           99% of the time there is a real problem with wireless, and a
12193           seemingly successful connection via Zeroconf just confuses the user.
12194           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12195
12196 2006-05-22  Robert Love  <rml@novell.com>
12197
12198         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12199           autofs on interface up if NIS is configured.  On interface down, do
12200           nothing.
12201
12202 2006-05-22  Robert Love  <rml@novell.com>
12203
12204         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12205           to avoid calling g_object_unref() on stale pointers on error in
12206           nma_icons_free().  This happens because we short-circuit loaded the
12207           icons on the first failure but then free all icons.  Normally we have
12208           no issue because the icons were zero'ed out malloc, but we have stale
12209           pointer data after nma_icon_theme_changed().
12210         * gnome/applet/main.c: Return error code if nma_new() failed.
12211
12212 2060-05-21  Dan Williams  <dcbw@redhat.com>
12213
12214         * initscript/NetworkManager.in
12215                 - Ensure both dhcdbd and named are started before NM
12216
12217 2006-05-21  Dan Williams  <dcbw@redhat.com>
12218
12219         * configure.in
12220                 - Bump version to 0.7 to signify we are in 0.7 development
12221
12222 2006-05-21  Dan Williams  <dcbw@redhat.com>
12223
12224         Patch from Adam Schreiber <sadam@clemson.edu>
12225         * gnome/vpn-properties/nm-vpn-properties.c
12226                 - (main): correct Gnome program name  (gnome.org #342498)
12227
12228 2006-05-21  Dan Williams  <dcbw@redhat.com>
12229
12230         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12231
12232         * src/NetworkManagerDbus.[ch]
12233                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12234                         clarify that function's argument should be an escaped dbus object
12235                         path, and look for path segment end before returning a match
12236         * src/nm-dbus-nm.c:
12237                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12238
12239 2006-05-17  Robert Love  <rml@novell.com>
12240
12241         Functionality to differentiate Ad-Hoc networks from infrastructure
12242         networks in the applet, by displaying a special icon:
12243         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12244         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12245         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12246           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12247           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12248           networks, encrypted or not.
12249         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12250           accessor functions to get and set the mode of a given network,
12251           wireless_network_get_mode() and wireless_network_set_mode().
12252
12253 2006-05-17  Robert Love  <rml@novell.com>
12254
12255         Functionality to automatically add BSSIDs to the allowed-MAC list as
12256         one roams from access point to access point on a given network:
12257         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12258           helper function to compare two ether_addr structures and return TRUE
12259           if they contain the same MAC address.
12260         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12261           prototype.
12262         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12263           stored with the current AP.  If the BSSID has indeed changed, we
12264           send it out to the applet, allowing the allowed-MAC list to grow
12265           automatically in response to roaming.
12266
12267 2006-05-16  Robert Love  <rml@novell.com>
12268
12269         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12270           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12271
12272 2006-05-13  Dan Williams  <dcbw@redhat.com>
12273
12274         * src/nm-device-802-3-ethernet.c
12275                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12276                         carrier detect (Debian bug #366373)
12277
12278 2006-05-11  Dan Williams  <dcbw@redhat.com>
12279
12280         Patch from Michael Biebl <biebl@teco.edu>
12281         * src/backends/NetworkManagerDebian.c
12282                 - Debian backend fixups
12283
12284 2006-05-10  Robert Love  <rml@novell.com>
12285
12286         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12287
12288 2006-05-09  Robert Love  <rml@novell.com>
12289
12290         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12291           private certificate passphrase, if any, in the GNOME Keyring.
12292         * libnm-utils/dbus-helpers.c: Update.
12293
12294 2006-05-05  Dan Williams  <dcbw@redhat.com>
12295
12296         * src/nm-device-802-11-wireless.c
12297                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12298                         nm_device_802_11_wireless_disable_encryption() since that's all
12299                         we use it for anymore; we don't ever set WEP keys ourselves.
12300                 - (real_deactivate_quickly): reset SSID and encryption keys
12301                 - (real_deactivate): move SSID and encryption key reset to
12302                         real_deactivate_quickly(), which gets run before us anyway
12303
12304 2006-05-05  Robert Love  <rml@novell.com>
12305
12306         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12307           root has a wacky default of its own (or, more common, a user has a
12308           bad umask and uses su/sudo to restart NetworkManager).  Anything
12309           other than 0022 does not do what we want with, for example,
12310           resolv.conf.  This problem is amplified by our judicious use of
12311           fopen(), which uses mode 0666 -- implying that the only way to get
12312           the permissions we want is with a umask of 0022.
12313
12314 2006-05-05  Dan Williams  <dcbw@redhat.com>
12315
12316         * gnome/libnm_glib/libnm_glib.c
12317                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12318                         to reconnect; instead wait a bit more with each reconnect attempt
12319                         up to a max of one minute.
12320
12321 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12322
12323         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12324           the WirelessNetwork structure using the proper function instead of
12325           just casting it directly to (const char *) (gnome.org #336991)
12326
12327 2006-05-03  Robert Love  <rml@novell.com>
12328
12329         * src/backends/NetworkManagerSuSE.c: Respect the variable
12330           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12331           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12332           to dynamically update /etc/resolv.conf.
12333
12334 2006-05-02  Peter Jones  <pjones@redhat.com>
12335
12336         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12337
12338 2006-05-02  Robert Love  <rml@novell.com>
12339
12340         Patch by Timo Hoenig;
12341         * tests/nm-online.c: Print pretty status indicator as timeout winds
12342           down.  Also fix possible race between DBUS startup and failure
12343           return.
12344
12345 2006-05-01  Robert Love  <rml@novell.com>
12346
12347         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12348           empty, too.
12349
12350 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12351
12352         * src/nm-device.c (discover_device_type): Actually use the hal
12353         device type instead of ioctl poking
12354
12355 2006-04-26  Robert Love  <rml@novell.com>
12356
12357         * tests/nm-online.c: New file.  Simple utility that returns exit status
12358           noting whether the connection is offline or online.  If offline on
12359           start, it waits 30 seconds (or a command-line given value) for an
12360           online signal.  If it times out, it again returns offline.  This is
12361           useful for scripts that want to wait for network connections.
12362
12363 2006-04-25  Robert Love  <rml@novell.com>
12364
12365         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12366           key mode (the authentication algorithm), e.g. open or shared, when we
12367           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12368           only shared was broken.  If the user specified a shared key, set it
12369           explicitly, otherwise let wpa_supplicant go with the default.
12370
12371 2006-04-24  Dan Williams  <dcbw@redhat.com>
12372
12373         * src/nm-device-802-11-wireless.c
12374                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12375
12376 2006-04-24  Dan Williams  <dcbw@redhat.com>
12377
12378         Commit the async scanning patch
12379
12380         * src/nm-device-802-11-wireless.c
12381                 - get rid of scan_mutex
12382                 - (wireless_event_helper): act on wireless scan events
12383                 - (real_start): schedule a pending scan
12384                 - (link_to_specific_ap): fake the link to the AP during a scan
12385                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12386                         strength during scans
12387                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12388                         nm_device_set_bitrate): unused with new scanning code, disable
12389                 - (nm_device_wireless_schedule_scan): removed
12390                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12391                 - (request_and_convert_scan_results): new function; retrieve scan
12392                         results from the driver and schedule the processing function
12393                 - (scan_results_timeout): timeout triggered when card doesn't send
12394                         a scan results wireless event during a certain interval
12395                 - (schedule_scan_results_timeout): new function; schedule the scan
12396                         results timeout
12397                 - (cancel_scan_results_timeout): new function; cancel the scan
12398                         results timeout
12399                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12400                         to do the scanning.  Otherwise, just request a scan but don't
12401                         grab results here; instead schedule a timeout for scan results and
12402                         let netlink notify us of scan completion events
12403                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12404                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12405                 - (supplicant_status_cb): ignore disconnect events while scanning
12406                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12407                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12408                         timeouts
12409                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12410
12411 2006-04-24  Dan Williams  <dcbw@redhat.com>
12412
12413         * gnome/applet/applet-dbus.c
12414                 - Disable the pending call debug stuff, seems under control now
12415
12416 2006-04-20  Robert Love  <rml@novell.com>
12417
12418         Fix bug where hidden ESSID's would not show up in the applet, even
12419         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12420         because nm_policy_device_list_update_from_allowed_list() would merge
12421         the data, putting a name to the hidden networks, but never notify NMI
12422         of the changes.  Simple fix is to invoke the function
12423         nm_dbus_signal_wireless_network_change() if we make a mapping.
12424         * src/NetworkManagerAPList.c: Call the function
12425           nm_dbus_signal_wireless_network_change() if we made a successful
12426           BSSID to ESSID mapping, notifying the applet of the "new" network.
12427         * src/NetworkManagerAPList.h: Update the prototypes for both
12428           nm_ap_list_copy_essids_by_address() and
12429           nm_ap_list_copy_one_essid_by_address().
12430
12431 2006-04-20  Robert Love  <rml@novell.com>
12432
12433         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12434           not set.  Just return zero.
12435
12436 2006-04-20  Robert Love  <rml@novell.com>
12437
12438         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12439           only one copy of nm-vpn-properties is running at a time via the 'ol
12440           X selection trick.  This prevents the user from opening two "VPN
12441           Connections" windows from within the applet, which leads to mass
12442           hysteria.
12443         * clipboard.c: New file, implementing simple X selection logic.
12444         * clipboard.h: New file.
12445         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12446
12447 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12448
12449         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12450         * configure.in
12451           initscript/Gentoo/Makefile.am
12452           initscript/Gentoo/NetworkManagerDispatcher.in
12453                 - New script
12454         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12455           Gentopia
12456
12457 2006-04-16  Dan Williams  <dcbw@redhat.com>
12458
12459         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12460         * configure.in
12461           initscript/Slackware/Makefile.am
12462           initscript/Slackware/rc.networkmanager-dispatcher.in
12463           initscript/Slackware/rc.networkmanager.in
12464                 - Update slackware initscripts
12465
12466 2006-04-10  Robert Love  <rml@novell.com>
12467
12468         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12469           the "delete_event" signal on the druid's parent window and handle it
12470           our way, lest using the WM to close the druid results in a series of
12471           bloody and ultimately lethal errors.
12472
12473 2006-04-10  Robert Love  <rml@novell.com>
12474
12475         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12476           'Back' too or else the 'Forward' option is initially disabled despite
12477           valid input.
12478
12479 2006-04-06  Robert Love  <rml@novell.com>
12480
12481         Fix bad but simple bug where an active modem connection did not update
12482         NM's connection state, breaking any app that did online/offline:
12483         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12484           represented whether a dial up connection is active, or not.
12485         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12486           to modem activation and deactivation.
12487         * src/NetworkManagerDbus.c: When asked our state, do not return
12488           disconnected if the modem is active.
12489
12490 2006-04-04  Robert Love  <rml@novell.com>
12491
12492         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12493           applet.  It just confuses the crap out of people and does not make a
12494           lot of sense, as the daemon still runs.
12495
12496 2006-04-02  Tor Krill  <tor@krill.nu>
12497
12498         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12499           in start of service.
12500         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12501           get Archlinux backend up to date.
12502
12503 2006-03-29  Robert Love  <rml@novell.com>
12504
12505         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12506         to add support for per-route MSS and improve support for per-interface
12507         MTU:
12508         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12509           optionally take an MSS parameter and set it for the given route.
12510           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12511           NMIP4Config's stored MSS, if any.
12512         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12513           the interface's MTU and the route's MSS, respectively.  Add functions
12514           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12515           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12516           MSS.
12517         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12518           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12519           nm_ip4_config_set_mss.
12520         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12521           VPN daemon.
12522         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12523           Change the retval of nm_system_get_mtu to guint32.
12524         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12525           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12526           servers can specify MTU's, we should set it here if the MTU was not
12527           provided.
12528
12529 2006-03-27  Jürg Billeter  <j@bitron.ch>
12530
12531         * configure.in:
12532         * initscript/Makefile.am:
12533         * initscript/paldo/Makefile.am:
12534         * initscript/paldo/NetworkManager.in:
12535         * initscript/paldo/NetworkManagerDispatcher.in:
12536         * src/backends/Makefile.am:
12537         * src/backends/NetworkManagerPaldo.c:
12538                 - Add paldo support
12539
12540 2006-03-27  Dan Williams  <dcbw@redhat.com>
12541
12542         Patch from Christian Persch <chpe@gnome.org>
12543         * gnome/applet/applet.glade
12544                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12545
12546 2006-03-27  Dan Williams  <dcbw@redhat.com>
12547
12548         Patch from Diffe <diffie@blazebox.homeip.net>
12549         * src/backends/NetworkManagerSlackware.c
12550                 - Don't restart howl, since it's been replaced by Avahi
12551                         in most distributions
12552
12553 2006-03-27  Dan Williams  <dcbw@redhat.com>
12554
12555         Patch from Tor Krill <bugzilla@krill.nu>
12556         * configure.in
12557           initscript/Makefile.am
12558           src/backends/Makefile.am
12559           src/backends/NetworkManagerArch.c
12560           initscript/Arch/Makefile.am
12561           initscript/Arch/networkmanager-dispatcher.in
12562           initscript/Arch/networkmanager.in
12563                 - Add Arch Linux support, fixes gnome.org #335147
12564
12565 2006-03-27  Dan Williams  <dcbw@redhat.com>
12566
12567         Patch from Diffe <diffie@blazebox.homeip.net>
12568      * initscript/Slackware/rc.networkmanager
12569         - update, fixed gnome.org #333368
12570
12571 2006-03-27  Robert Love  <rml@novell.com>
12572
12573         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12574           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12575
12576 2006-03-27  Robert Love  <rml@novell.com>
12577
12578         Patch by Jürg Billeter <j@bitron.ch>:
12579         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12580           systems.
12581         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12582           as we prefer glibc over kernel headers, if possible.
12583
12584 2006-03-27  Robert Love  <rml@novell.com>
12585
12586         Patch by Jon Escombe <list@dresco.co.uk>:
12587         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12588         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12589           fail, don't bail out.  We don't expect all of the various WPA-EAP
12590           values to be present.
12591         * src/nm-ap-security.c: We need to match all capabilities for each
12592           encryption type, not any one of them.
12593
12594 2006-03-27  Robert Love  <rml@novell.com>
12595
12596         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12597           restart, not reload, ypbind.  Unfortunately there is no superior
12598           solution.
12599
12600 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12601
12602         * gnome/applet/applet-notifications.c:
12603         When displaying a notification, make sure to get rid of the
12604         previous notification so as to not have competing bubbles,
12605         and stop leaking the old one.
12606
12607         * gnome/applet/applet.c:
12608         * gnome/applet/applet.h:
12609         Add a new 'notification' member to the applet, and zero it out
12610         and free it appropriately.
12611
12612 2006-03-23  Robert Love  <rml@novell.com>
12613
12614         Patch by j <j@bootlab.org>:
12615         * gnome/applet/applet.glade: Don't set the invisible_char property,
12616           which simply overrides the GTK default.  By and by, this behavior
12617           ought to be fixed in Glade.
12618
12619 2006-03-22  Robert Love  <rml@novell.com>
12620
12621         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12622
12623 2006-03-22  Robert Love  <rml@novell.com>
12624
12625         Bug fix by Timo Hoenig <thoenig@suse.de>:
12626         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12627           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12628           and the applet going AWOL.
12629
12630 2006-03-22  Robert Love  <rml@novell.com>
12631
12632         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12633           preprocessor define and use it instead of open-coded the DHCP
12634           timeout, which is currently 25 seconds, everywhere.
12635
12636 2006-03-22  Robert Love  <rml@novell.com>
12637
12638         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12639         key exchange via WPA, ostensibly providing good security without
12640         requiring hardware that supports full WPA.  Also, add UI elements to
12641         allow the user to select the pairwise & group cipher for WPA Enterprise
12642         networks, too:
12643         * gnome/applet/applet.glade: Update glade file.
12644         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12645           key type, too, to and from gconf.
12646         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12647           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12648           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12649           the capabilities match.
12650         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12651           prototype.
12652         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12653           serialize from UI to DBUS.
12654         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12655           one element.
12656         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12657           nmu_security_serialize_wpa_eap_with_cipher(), and
12658           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12659           serialize/deserialize the key type via DBUS as the new third DBUS
12660           parameter.
12661         * libnm-util/dbus-helpers.h: Update prototypes.
12662         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12663           too.  If the key type is WEP104, do Dynamic WEP, which means
12664           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12665           pairwise and group ciphers (fixes a FIXME).
12666
12667 2006-03-21  Robert Love  <rml@novell.com>
12668
12669         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12670           nm_system_get_mtu(), which returns a user-provided or system-mandated
12671           MTU value for a given device, if any, or zero if no such value
12672           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12673           if we have a provided value.
12674         * src/nm-device.c: Set the MTU of devices.
12675         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12676         * src/backends/NetworkManagerDebian.c,
12677           src/backends/NetworkManagerGentoo.c,
12678           src/backends/NetworkManagerRedHat.c,
12679           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12680
12681 2006-03-21  Robert Love  <rml@novell.com>
12682
12683         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12684           configuration file.
12685
12686 2006-03-17  Robert Love  <rml@novell.com>
12687
12688         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12689           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12690           it, in case it is not running in the first place.  We just want its
12691           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12692
12693 2006-03-15  Robert Love  <rml@novell.com>
12694
12695         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12696           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12697           label "WEP 40/128-bit" is inconsistent because the physical key size
12698           is 40 or 104-bits, to which a 24-bit initialisation vector is
12699           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12700           to read "40/104" or "64/128".  I do not care much which, but most
12701           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12702           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12703           WEP passphrase support only handles 128-bit keys, and any future
12704           64-bit passphrase support will require a new option (no way to auto-
12705           detect the target key size), explicitly label our passphrase support
12706           "WEP 128-bit Passphrase".
12707
12708 2006-03-15  Robert Love  <rml@novell.com>
12709
12710         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12711           the system init scripts (or some other mechanism) starting it (or a
12712           compatible DBUS service) before NetworkManager runs.  This means that
12713           distributions might need to update their init scripts.  This fixes
12714           possible races and is quite a bit cleaner.
12715         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12716           starting the NetworkManager daemon.
12717
12718
12719 2006-03-14  Robert Love  <rml@novell.com>
12720
12721         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12722           before adding anything.
12723
12724 2006-03-13  Robert Love  <rml@novell.com>
12725
12726         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12727           widgets, too, if they exist, in case the user hit the back button.
12728           Fixes a bug where the details page contains the widgets of multiple
12729           VPN modules (Novell bug #157048).
12730
12731 2006-03-13  Robert Love  <rml@novell.com>
12732
12733         Patch by Timo Hoenig <thoenig@suse.de>:
12734         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12735           daemon survive DBUS restarts, too.
12736
12737 2006-03-10  Robert Love  <rml@novell.com>
12738
12739         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12740           passphrase or key.
12741         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12742           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12743           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12744           in response to "toggled" signal on new toggle.
12745
12746 2006-03-10  Robert Love  <rml@novell.com>
12747
12748         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12749           serialization if strings are NULL, lest DBUS get angry.
12750
12751 2006-03-10  Robert Love  <rml@novell.com>
12752
12753         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12754
12755 2006-03-09  Robert Love  <rml@novell.com>
12756
12757         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12758           configurations.
12759
12760 2006-03-09  Dan Williams  <dcbw@redhat.com>
12761
12762         Track pending call requests in the applet, and report how many are
12763         outstanding, and how long each completed one takes.
12764         
12765         * gnome/applet/applet-dbus-devices.c
12766           gnome/applet/applet-dbus-vpn.c
12767                 - Track pending calls
12768
12769         * gnome/applet/applet-dbus.[ch]
12770                 - Remove some unused enums
12771                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12772                         new functions to track dbus pending calls and spit out some
12773                         statistics about them
12774
12775 2006-03-09  Robert Love  <rml@novell.com>
12776
12777         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12778           nm_ap_set_timestamp() take the second and micro-second parameters as
12779           direct arguments, which avoids both a dynamic memory allocation and a
12780           structure-to-structure copy!  Add a new interface, the aptly named
12781           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12782           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12783           the return from nm_ap_get_timestamp().  New users should use the new
12784           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12785           the extreme benefit to performance.
12786         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12787           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12788
12789 2006-03-08  Robert Love  <rml@novell.com>
12790
12791         * gnome/applet/applet.glade: Hide the password entry text with
12792           asterisks.
12793
12794 2006-03-08  Robert Love  <rml@novell.com>
12795
12796         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12797           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12798           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12799           a second argument, NMData.
12800         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12801         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12802           config files as trusted.
12803
12804 2006-03-06  Robert Love  <rml@novell.com>
12805
12806         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12807         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12808           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12809           Rivera, detect if the applet was auto-started.  If so, ask the user
12810           if he or she would like to stop automatically running the applet on
12811           login.  If so, disable autostart.
12812
12813 2006-03-06  Robert Love  <rml@novell.com>
12814
12815         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12816           directory in CFLAGS so developers can actually use NetworkManager.h.
12817
12818 2006-03-06  Robert Love  <rml@novell.com>
12819
12820         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12821           open-coded integer constants.  Add state_to_string() to map a given
12822           state to a textual description, and provide that when notifying of
12823           state change.
12824         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12825           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12826           this header directly, but it is currently not installed on most
12827           systems.
12828
12829 2006-03-05  Dan Williams  <dcbw@redhat.com>
12830
12831         Process netlink messages in device subclasses rather than in
12832         NetworkManager.c.  Also add support for recognizing Wireless Events.
12833         
12834         * configure.in
12835                 - Find GLIB_GENMARSHAL
12836
12837         * src/Makefile.am
12838                 - Since we're marshalling custom types for wireless event signals,
12839                         we get to create our own marshallers using GLIB_GENMARSHAL
12840
12841         * src/NetworkManager.c
12842                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12843                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12844                         cut down somewhat.  We no longer process signals here.
12845                 - (nm_data_new): create the netlink monitor here, and remove a
12846                         useless call to nm_policy_schedule_device_change_check()
12847                 - (nm_data_free): get rid of the netlink monitor here
12848                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12849                 - (main): don't create the netlink monitor here, let nm_data_new
12850                         do that.  Call nm_policy_schedule_device_change_check() right
12851                         before we jump to the mainloop to figure out which device
12852                         to use first
12853
12854         * src/NetworkManagerSystem.[ch]
12855                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12856                         convert back and forth from interface names to interface
12857                         indexes
12858
12859         * src/nm-device-802-11-wireless.c
12860                 - (real_init): connect to wireless-event signals from the netlink
12861                         monitor object
12862                 - (nm_device_802_11_wireless_event): new function, schedule handler
12863                         for wireless event signals from the netlink monitor object.  We
12864                         want the handler to run in the device's context
12865                 - (wireless_event_helper): handle wireless-event signals from netlink
12866                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12867                         signal handler
12868
12869         * src/nm-device-802-11-wireless.h
12870                 - remove unused prototype for nm_device_802_11_wireless_new
12871
12872         * src/nm-device-802-3-ethernet.c
12873                 - (real_init): new function; set up signal handlers for link events
12874                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12875                         handler for netlink link activated events on device's main loop
12876                 - (link_activated_helper): when we get a link activated event, set
12877                         the device's link to be active
12878                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12879                         handler for netlink link deactivated events on device's main loop
12880                 - (link_deactivated_helper): when we get a link deactivated event, set
12881                         the device's link to be inactive
12882                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12883                         dispose
12884
12885         * src/nm-device-802-3-ethernet.h
12886                 - remove unused prototype for nm_device_802_3_ethernet_new
12887
12888         * src/nm-device.[ch]
12889                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12890                         but locks the device list
12891                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12892
12893         * src/nm-netlink-monitor.[ch]
12894                 - (nm_netlink_monitor_class_install_signals): New signal
12895                         "wireless-event"
12896                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12897                         at the device list
12898                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12899
12900         * src/nm-marshal-main.c
12901                 - Include generated nm-marshal.c and nm-marshal.h
12902
12903         * src/nm-marshal.list
12904                 - List of custom marshal functions
12905
12906 2006-03-05  Dan Williams  <dcbw@redhat.com>
12907
12908         * gnome/applet/applet-notifications.h
12909                 - Protect prototype of nma_send_event_notification() because it
12910                         includes libnotify-specific types
12911                 - Include libnotify/libnotify.h too, since we technically need it
12912
12913         * gnome/applet/applet.c
12914                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12915                 - (nma_show_vpn_login_banner_dialog): add some error checking
12916
12917 2006-03-04  Dan Williams  <dcbw@redhat.com>
12918
12919         Clean up activation cancellation.  Should be a lot faster now.  Observed
12920         an issue with wireless devices between stage 2 and 3 of activation, where
12921         activation would be cancelled, but the device thread wouldn't notice until
12922         the supplicant association timed out.  Reorganize activation such that
12923         a cancellation handler gets immediately scheduled in the device's thread,
12924         and devices have a chance to perform any custom cleanup too.
12925
12926         * src/nm-device.[ch]
12927                 - (activation_cancel_handler): new device-type-specific function
12928                         for cleaning up device-type-specific stuff on cancellation
12929                 - (cancel_activation): removed
12930                 - (nm_device_activation_cancel): subsume functionality of
12931                         real_cancel_activation, but instead of doing anything, punt
12932                         operation to a handler that's run in device-thread context
12933                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12934                         a warning message
12935                 - (activation_handle_cancel_helper): cancellation handler run in
12936                         device-thread context, calls device-type-specific cancelation,
12937                         then tears down the activation request
12938                 - (real_activation_cancel_handler): generic cancellation handler,
12939                         deals with cancelling any in-process DHCP request
12940                 - (nm_device_activate_stage1_device_prepare,
12941                    nm_device_activate_stage2_device_config,
12942                    nm_device_activate_stage3_ip_config_start,
12943                    nm_device_activate_stage4_ip_config_get,
12944                    nm_device_activate_stage4_ip_config_timeout,
12945                    nm_device_activate_stage5_ip_commit): don't call
12946                         nm_device_schedule_activation_handle_cancel() any more, since
12947                         cancellation will have been already scheduled for us by
12948                         nm_device_activation_cancel().  Just exit the function and
12949                         assume that the cancel handler will be called next.
12950
12951         * src/nm-device-802-3-ethernet.c
12952                 - (real_act_stage2_config): remove; didn't do anything anyway
12953
12954         * src/nm-device-802-11-wireless.c
12955                 - (supplicant_status_cb): ensure we don't do anything if the activation
12956                         got cancelled
12957                 - (real_activation_cancel_handler): implement; cancel user key request
12958                         on activation cancellation
12959
12960 2006-03-04  Dan Williams  <dcbw@redhat.com>
12961
12962         * src/nm-device-802-11-wireless.c
12963                 - (supplicant_send_network_config): assume that drivers that don't
12964                         support WPA pretty much suck, and can't handle NM scanning
12965                         along with wpa_supplicant.
12966
12967 2006-03-03  Robert Love  <rml@novell.com>
12968
12969         * configure.in: Bump version to 0.6.0.
12970         * NEWS: Update.
12971
12972 2006-03-03  Robert Love  <rml@novell.com>
12973
12974         * configure.in: Require DBUS 0.60 or later.
12975
12976 2006-03-03  Dan Williams  <dcbw@redhat.com>
12977
12978         Fix a crash if an "Other wireless network" was chosen, failed, then
12979         chosen again from the applet's menu.  If the other network wasn't
12980         noticed in a scan, it wouldn't have any capabilities, but would still
12981         be listed because the user forced the network.  To fix this, we set
12982         sensible capabilities on the forced network, which will get overwritten
12983         with the correct ones if the network shows up later in a scan.
12984         
12985         * src/nm-ap-security.h
12986                 - Add a new "get_default_capabilities_func" member to the
12987                         NMAPSecurity class
12988
12989         * src/nm-ap-security.c
12990                 - (nm_ap_security_get_default_capabilities): new function
12991
12992         * src/nm-ap-security.c
12993           src/nm-ap-security-wep.c
12994           src/nm-ap-security-wpa-psk.c
12995           src/nm-ap-security-wpa-eap.c
12996                 - Implement get_default_capabilities_func() for all, which
12997                         uses the information contained in a specific NMAPSecurity
12998                         object to determine default AP capabilites necessary
12999                         to support that object
13000
13001         As a secondary measure, we now prune artificial access points that fail
13002         to be activated right away.  The thing failed, and we have no scan data for
13003         it, so it's pretty much useless since security information is only saved
13004         in the applets when a connection is successful.
13005
13006         * src/NetworkManagerAPList.c
13007                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
13008                         not artificial.  If we see it, it's no longer a figment of the
13009                         user's imagination :)
13010
13011         * src/NetworkManagerPolicy.c
13012                 - (nm_policy_activation_failed): send along the failed AP if we
13013                         have it
13014
13015         * src/nm-device-802-11-wireless.c
13016                 - (real_activation_failure_handler): remove artificial APs from
13017                         the device list, because activation failed
13018
13019 2006-03-02  Robert Love  <rml@novell.com>
13020
13021         Add support for retrieving both the per-device speed and the
13022         per-network maximum supported rate.  Then change the getProperties
13023         DBUS API for both networks and devices to report this informaiton.
13024         Finally, display the information via both nm-applet and nm-tool:
13025         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
13026           and set it.
13027         * gnome/applet/applet.c: Display the device's speed in the 'Connection
13028           Information' dialog.
13029         * gnome/applet/applet.glade: Update the UI to show per-device speed.
13030         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
13031           network_device_get_speed() and network_device_set_speed() for
13032           retrieving and setting, respectively, a network device's current
13033           speed.
13034         * src/nm-dbus-device.c: Send the device's speed on getProperties.
13035         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
13036           in the function nm_device_802_11_wireless_get_bitrate() -- it does
13037           not matter (yet) what the units are, because we only feed it its own
13038           output.  Implement SIOCGIRATE and set the per-network maximum
13039           supported rate during scanning.
13040         * src/nm-device-802-11-wireless.h: Export the function
13041           nm_device_802_11_wireless_get_bitrate().
13042         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13043           function nm_device_802_3_ethernet_get_speed() for returning an
13044           802.3's current speed, in Mb/s.
13045         * test/nm-tool.c: Display the per-device current speed, if available,
13046           and the per-network maximum rate.
13047
13048 2006-03-02  Dan Williams  <dcbw@redhat.com>
13049
13050         * src/nm-device-802-11-wireless.c
13051                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13052                         card when it gets initialized.  Since devices don't get added to
13053                         the scan list until they are initialized, this function wasn't
13054                         setting the intitial scan interval correctly, and was leaving
13055                         it at 0.  This caused cards to get many scan requests in a short
13056                         amount of time when they were initialized
13057
13058 2006-03-02  Robert Love  <rml@novell.com>
13059
13060         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13061           active device.  But do not do what we used to do and override the
13062           state, which caused the dreaded icon race of '05.
13063
13064 2006-03-02  Robert Love  <rml@novell.com>
13065
13066         Commit Dan's update of my previous commit:
13067         * src/nm-device-802-11-wireless.c: Always set the mode, because the
13068           set_mode() function itself does the check.  But do only set the
13069           frequency if in Ad-Hoc mode.
13070
13071 2006-03-02  Robert Love  <rml@novell.com>
13072
13073         Patch by Brian Magnuson <magnuson@rcn.com>:
13074         * src/nm-device-802-11-wireless.c: During scanning, only set the
13075           wireless mode to infrastructure if it is not currently in
13076           infrastructure mode.  For some driver, setting the mode is a costly
13077           operation, apparently.
13078
13079 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
13080
13081         * Makefile.am: use the correct dir for autostart mechanism.
13082
13083 2006-02-28  Dan Williams  <dcbw@redhat.com>
13084
13085         Patch from Brian Magnuson <magnuson@rcn.com>
13086         * gnome/applet/applet.c
13087                 - (nma_show_vpn_failure_dialog): fix errors left over from
13088                         libnotify support changes
13089
13090 2006-02-28  Dan Williams  <dcbw@redhat.com>
13091
13092         * src/vpn-manager/nm-vpn-act-request.[ch]
13093                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13094                         just one value
13095                 - (nm_vpn_act_request_is_failed): new function; return whether or
13096                         not the vpn activation request has failed
13097
13098         * src/vpn-manager/nm-vpn-manager.c 
13099                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13100                         daemon to kill the connection when the activation request fails.
13101                         Fixes issue where NM would get confused if the VPN activation
13102                         request timed out, and would not allow further VPN connections
13103                         on that service.
13104
13105 2006-02-28  Dan Williams  <dcbw@redhat.com>
13106
13107         * gnome/applet/applet.c
13108                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13109                         overlapping connection requests, disable all VPN menu items
13110                         but the active VPN connection
13111
13112 2006-02-28  Dan Williams  <dcbw@redhat.com>
13113
13114         * src/vpn-manager/nm-vpn-connection.c
13115                 - (nm_vpn_connection_set_parent_device): fix C&P error which
13116                         called g_object_unref() on the connection's parent device
13117                         when it should have been ref-ed instead.  Fixes crash with
13118                         repeated vpn connect requests
13119
13120 2006-02-28  Christopher Aillon  <caillon@redhat.com>
13121
13122         * gnome/applet/applet.glade:
13123         Mark a few strings non-translatable, since they shouldn't be.
13124
13125 2006-02-28  Dan Williams  <dcbw@redhat.com>
13126
13127         * src/vpn-manager/nm-vpn-service.c
13128                 - (nm_vpn_service_start_connection): if the vpn service daemon is
13129                         already running, don't blindly ask it to connect, but wait until
13130                         it's in the STOPPED state first.  Fixes an assertion when user
13131                         starts a second vpn connection without stopping the first.
13132                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13133                         dbus service exists before continuing with the connection
13134                         process, and reduce latency while waiting for it to become
13135                         available
13136                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13137                         waiting for the vpn service daemon to become available
13138                 - General log message cleanups; show progress via "Stage x of 4"
13139                         rather than not telling anyone how many stages there are
13140
13141 2006-02-28  Robert Love  <rml@novell.com>
13142
13143         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13144         * src/backends/NetworkManagerSuSE.c: Implement the interface
13145           nm_system_should_modify_resolv_conf() for SUSE.
13146         * src/backends/NetworkManagerDebian.c,
13147           src/backends/NetworkManagerGentoo.c,
13148           src/backends/NetworkManagerRedHat.c,
13149           src/backends/NetworkManagerSlackware.c: Add stub.
13150         * src/named-manager/Makefile.am: Grab includes from src.
13151         * src/named-manager/nm-named-manager.c: Allow backends to disable the
13152           automatic updating of resolv.conf.  This is useful for testing,
13153           broken static configurations, and administrator lock-down.
13154
13155 2006-02-28  Dan Williams  <dcbw@redhat.com>
13156
13157         * src/nm-device-802-11-wireless.c
13158                 - Move all the wpa_supplicant-related management stuff into its
13159                         own struct, just for oranization's sake
13160                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13161                         to a GIOChannel/GSource
13162                 - (supplicant_log_stdout): new function; grab output from the
13163                         wpa_supplicant stdout pipe and write it to our logs.
13164
13165 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13166
13167         * src/nm-device-802-11-wireless.c:
13168         Err, fix thinko in my previous commit.
13169
13170 2006-02-28  Robert Love  <rml@novell.com>
13171
13172         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13173
13174 2006-02-28  Robert Love  <rml@novell.com>
13175
13176         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13177           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13178           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13179           deserializers are responsible for freeing the returned DBUS strings.
13180
13181 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13182
13183         * src/nm-device-802-11-wireless.c:
13184         The scan list is being pruned prematurely.  We should prune after
13185         the device has gone MIA for three scans, not one.  Split out the
13186         interval to realtime seconds function to better serve this.
13187
13188 2006-02-27  Robert Love  <rml@novell.com>
13189
13190         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13191           Open the pid file O_TRUNC, so if it already exists we truncate it to
13192           zero length.  Also, be more verbose about warnings generated during
13193           writing out the pid file.  Finally, always write out the pid file if
13194           in daemon mode.  Use "--pid-file" to override the default.
13195
13196 2006-02-27  Robert Love  <rml@novell.com>
13197
13198         Patch by R. Vinay <rvinay@novell.com>:
13199         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13200           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13201           Novell bug #153628).
13202           
13203 2006-02-27  Robert Love  <rml@novell.com>
13204
13205         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13206           entry so user can hit <ENTER> after entering passphrase (Novell bug
13207           #153738).
13208
13209 2006-02-27  Dan Williams  <dcbw@redhat.com>
13210
13211         * gnome/applet/*
13212                 - Mass search/replace of:
13213                         nmwa -> nma
13214                         NMWirelessApplet -> NMApplet
13215                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13216                    (it ain't just for wireless anymore, ma!)
13217                 - Fix duplicate function name printing when using nm_warning
13218                 - wireless-applet.glade -> applet.glade
13219
13220 2006-02-27  Dan Williams  <dcbw@redhat.com>
13221
13222         * dispatcher-daemon/NetworkManagerDispatcher.c
13223                 - Accept --pid-file with a path to a pidfile, write it out on
13224                         startup, and delete it on shutdown
13225
13226         * src/NetworkManager.c
13227                 - Accept --pid-file with a path to a pidfile, write it out on
13228                         startup, and delete it on shutdown
13229                 - Move nm_print_usage() lower
13230
13231         * initscripts/RedHat/NetworkManager.in
13232                 - Use new --pid-file option
13233                 - Fix service stopping to wait a bit for NM to quit
13234
13235         * initscripts/RedHat/NetworkManagerDispatcher.in
13236                 - Use new --pid-file option
13237
13238 2006-02-26  Dan Williams  <dcbw@redhat.com>
13239
13240         * src/Makefile.am
13241                 - make and install nm-crash-logger
13242
13243         * src/nm-logging.[ch]
13244                 - New files; consolidate logging and crash handling
13245
13246         * src/nm-crash-logger.c
13247           src/gdb-cmd
13248                 - Standalong crashlogger for NM, grab a backtrace
13249                         using GDB
13250
13251         * src/NetworkManager.[ch]
13252                 - Remove signal handling and put it into nm-logging.c
13253
13254 2006-02-26  Dan Williams  <dcbw@redhat.com>
13255
13256         * configure.in
13257           gnome/applet/Makefile.am
13258                 - Conditionalize all the notify stuff
13259
13260         Merge most of Chris Aillon's notification patch:
13261         
13262         * gnome/applet/applet-notifications.[ch]
13263                 - New files; show a notification
13264         
13265         * gnome/applet/applet-dbus-devices.[ch]
13266                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13267                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13268                         new functions, do the right thing when a device change occurs
13269
13270         * gnome/applet/applet-dbus.c
13271                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13272                         signals, so we can handle them specially
13273
13274         * gnome/applet/applet.[ch]
13275                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13276                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13277                 - (nmwa_notify_state): remove
13278                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13279                         notification work is now done when the appropriate dbus signals
13280                         are received.
13281                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13282                         defer execution of the notification/dialog stuff.  That was an
13283                         artifact of the previous multi-threaded nature of the applet
13284                         and is now pointless.
13285                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13286                         no longer needed.  Function folded into applet-notifications.c
13287
13288         * src/NetworkManagerPolicy.c
13289                 - (nm_policy_activation_finish): send the AP along with the device
13290                         status change signal, if the connection is wireless.  Should
13291                         fix the race where applet would show a connection to "unknown"
13292
13293 2006-02-25  Robert Love  <rml@novell.com>
13294
13295         Add WPA Enterprise support:
13296         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13297           nm-gconf-wso-wpa-eap.h.
13298         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13299           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13300           serialization and deserialization.
13301         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13302           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13303           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13304         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13305           settings related to WPA Enterprise.
13306         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13307           instantiate WPA Enterprise wireless-security-option.
13308         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13309           Implement WPA Enterprise wireless-security-option object.
13310         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13311           defines.  Cleanup.
13312         * libnm-util/cipher-wpa-psk-hex.c,
13313           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13314         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13315           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13316           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13317           including the cipher to DBUS method, and
13318           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13319           to output.
13320         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13321           nm-ap-security-wpa-eap.h
13322         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13323           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13324         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13325           files.  Implement NMAPSecurityWPA_EAP object.
13326         * src/nm-ap-security-wpa-psk.c: Cleanup.
13327         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13328           an NMAPSecurityWPA_EAP object via the method
13329           nm_ap_security_wpa_eap_new_deserialize().
13330         * src/nm-dbus-nm.c: Cleanup.
13331         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13332           WPA Enterprise support.
13333
13334 2006-02-24  Robert Love  <rml@novell.com>
13335
13336         Patch from Timo Hoenig <thoenig@suse.de>:
13337         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13338
13339 2006-02-24  Robert Love  <rml@novell.com>
13340
13341         Patch from Dan Winship <danw@novell.com>:
13342         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13343           area to transparent.
13344
13345 2006-02-21  Dan Williams  <dcbw@redhat.com>
13346
13347         * gnome/applet/applet.[ch]
13348           gnome/applet/applet-dbus.c
13349                 - Implement notification support for VPN messages too
13350
13351 2006-02-21  Dan Williams  <dcbw@redhat.com>
13352
13353         * gnome/applet/applet-dbus-info.c
13354                 - Clean up warning messages to not double-print the function
13355
13356 2006-02-21  Dan Williams  <dcbw@redhat.com>
13357
13358         * gnome/applet/applet-compat.c
13359                 - (convert_one_entry): accept entries without a key_type and
13360                         convert them to unencrypted networks
13361
13362 2006-02-21  Dan Williams  <dcbw@redhat.com>
13363
13364         * gnome/libnm_glib/libnm_glib.c
13365                 - Use __func__ everywhere we can
13366                 - Code cleanups
13367                 - Use dbus pending calls rather than blocking
13368                 - Reduce busywaits for our thread to start and stop
13369                         (gnome.org #330562)
13370                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13371                         stomp on others using the default shared dbus connection.
13372                         Fixes #rh177546# and gnome.org #326572
13373
13374 2006-02-21  Dan Williams  <dcbw@redhat.com>
13375
13376         Patch from Rodney Dawes <dobey@novell.com>
13377         * configure.in
13378           gnome/applet/Makefile.am
13379           gnome/applet/applet.c
13380                 - Add libnotify support if '--enable-notify=yes' is passed
13381                   at configure time
13382
13383 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13384
13385         * configure.in (ALL_LINGUAS): ko added. (Korean)
13386
13387 2006-02-15  Robert Love  <rml@novell.com>
13388
13389         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13390           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13391           and WPA_SUPPLICANT_CONTROL_SOCKET.
13392         
13393 2006-02-15  Robert Love  <rml@novell.com>
13394
13395         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13396           information about what connection stage we are at, provide the total
13397           number of stages, e.g. "Stage 2 of 5", so users know how far along
13398           they are if they experience problems.
13399
13400 2006-02-15  Robert Love  <rml@novell.com>
13401
13402         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13403           define to $sysconfdir.
13404         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13405           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13406           type of VPN and then editing another results in a mangled dialog
13407           box containing the widgets from both VPNs (fixes Novell #150854).
13408           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13409
13410 2006-02-14  Robert Love  <rml@novell.com>
13411
13412         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13413           syslog's file descriptor.
13414
13415 2006-02-14  Robert Love  <rml@novell.com>
13416
13417         Fix bug around since the change to "deal with APs changing settings on
13418         us," checked in on the fifth of February in the year of the dog, 
13419         wherein connecting to non-broadcast encrypted networks always fails
13420         because nm_ap_get_encrypted() always returns FALSE, even when the user
13421         provided a key, because the newly-created fake AP does not have any
13422         capabilities set, which is a sypmtom of security settings not matching
13423         capabilities (Novell bug #150784):
13424         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13425           nm_ap_add_capabilities_from_security(), which sets the given AP's
13426           capabilities off the given security settings.  Also improve our
13427           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13428           NM_AUTH_CIPHER_AUTO.
13429         * src/nm-device-802-11-wireless.c: Call the function
13430           nm_ap_add_capabilities_from_security() to ensure that capabilities
13431           match newly updated security settings.
13432
13433 2006-02-14  Robert Love  <rml@novell.com>
13434
13435         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13436           error as a string, not an integer, if possible; do not print the
13437           function name twice; always give the interface, if possible; misc.
13438           cleanup.
13439
13440 2006-02-12  Dan Williams  <dcbw@redhat.com>
13441
13442         Patch from Tom Parker <palfrey@tevp.net>
13443         * src/NetworkManagerSystem.h
13444                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13445                         no longer used
13446
13447         * src/backends/NetworkManagerDebian.c
13448                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13449                         unused variables
13450
13451 2006-02-12  Dan Williams  <dcbw@redhat.com>
13452
13453         * vpn-daemons/openvpn/intltool-extract.in
13454           vpn-daemons/openvpn/intltool-merge.in
13455           vpn-daemons/openvpn/intltool-update.in
13456           vpn-daemons/pptp/intltool-extract.in
13457           vpn-daemons/pptp/intltool-merge.in
13458           vpn-daemons/pptp/intltool-update.in
13459                 - Remove from CVS, they should get created by intltoolize,
13460                         shouldn't they?
13461
13462 2006-02-12  Dan Williams  <dcbw@redhat.com>
13463
13464         * vpn-daemons/pptp/src/pppd/patchlevel.h
13465         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13466                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13467                         Makefile-defined VERSION
13468
13469 2006-02-09  Dan Williams  <dcbw@redhat.com>
13470
13471         Patch from: Vinay A R <rvinay@novell.com>
13472         * src/vpn-manager/nm-vpn-act-request.[ch]
13473                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13474                         IPSec VPNs require them for std gateway.
13475                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13476                         and 'user_routes_count'
13477                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13478                         defined routes  from NMVPNActRequest object, returns the string
13479                         array of routes.
13480
13481         * src/vpn-manager/nm-vpn-manager.[ch]
13482                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13483                         for 'user_routes' and 'user_routes_count'
13484         
13485         * src/vpn-manager/nm-dbus-vpn.c
13486                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13487                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13488         
13489         * src/vpn-manager/nm-vpn-service.c
13490                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13491                         the vpn daemon
13492
13493         Modifications by Dan:
13494         * src/vpn-manager/nm-vpn-service.c
13495                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13496                         arrays into dbus
13497
13498         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13499         * vpn-daemons/pptp/src/nm-pptp-service.c
13500         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13501                 - Grab user routes from dbus message
13502                 - Free all string arrays we got from dbus
13503
13504 2006-02-07  Robert Love  <rml@novell.com>
13505
13506         Patch by Stefan Seyfried <seife@suse.de>:
13507         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13508
13509 2006-02-06  Robert Love  <rml@novell.com>
13510
13511         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13512
13513 2006-02-06  Robert Love  <rml@novell.com>
13514
13515         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13516           test ">=" is never false.  If no newline is found, we loop forever.
13517           We can just check for ">" because the following if() will see the
13518           zero-th argument if the while() gets that far.
13519
13520 2006-02-05  Dan Williams  <dcbw@redhat.com>
13521
13522         Refine handling of non-broadcast networks.
13523
13524         * src/NetworkManagerAPList.c
13525                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13526                         property from scanned AP to the AP from the device list
13527
13528         * src/nm-device-802-11-wireless.c
13529                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13530                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13531                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13532                         networks since those don't have APs.
13533                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13534                         AP as non-SSID-broadcasting
13535                 - (process_scan_results): don't handle non-SSID-broadcasting here
13536
13537 2006-02-05  Dan Williams  <dcbw@redhat.com>
13538
13539         * src/nm-device-802-11-wireless.c
13540                 - (get_supplicant_timeout): new function; return
13541                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13542                         14 channels.  These are likely a/b/g cards, like Atheros, and
13543                         slow as hell to scan.
13544                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13545                         get_supplicant_timeout()
13546
13547 2006-02-05  Dan Williams  <dcbw@redhat.com>
13548
13549         * src/dhcp-manager/nm-dhcp-manager.c
13550                 - Loose a commit race with Robert; make sure size check
13551                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13552
13553 2006-02-05  Robert Love  <rml@novell.com>
13554
13555         Patch by Christoph Brill <chrisbrill@gmx.net>:
13556         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13557           with DHCP_SERVICE_NAME.
13558
13559 2006-02-05  Dan Williams  <dcbw@redhat.com>
13560
13561         Remove anything having to do with device_setup_func from the
13562         AP security objects, since it's no longer used.
13563
13564         * src/nm-ap-security.h
13565                 - Kill device_setup_func and nm_ap_security_device_setup()
13566
13567         * src/nm-ap-security-wep.c
13568           src/nm-ap-security-wpa-psk.c
13569                 - (real_device_setup): remove
13570
13571         * src/nm-ap-security.c
13572                 - (real_device_setup): remove
13573                 - (nm_ap_security_device_setup): remove
13574
13575         * src/nm-device-802-11-wireless.[ch]
13576                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13577                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13578                         and done by wpa_supplicant now anyway
13579
13580 2006-02-05  Dan Williams  <dcbw@redhat.com>
13581
13582         * src/nm-device-802-11-wireless.c
13583                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13584                         settings on us.  Previously NM would loop asking for the
13585                         key but getting the same one back.  Now, if the NMI-supplied
13586                         cipher doesn't overlap with the scanned AP capabilities,
13587                         we request a completely new key from the user.
13588
13589 2006-02-05  Dan Williams  <dcbw@redhat.com>
13590
13591         * src/NetworkManagerUtils.c
13592                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13593                         Handle newline killing better
13594
13595 2006-02-05  Dan Williams  <dcbw@redhat.com>
13596
13597         * gnome/applet/nm-gconf-wso.c
13598                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13599                         of unencrypted access point security info.
13600
13601 2006-02-03  Robert Love  <rml@novell.com>
13602
13603         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13604           user's encryption key, so we print the err_msg_cmd not the command,
13605           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13606           sense.
13607
13608 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13609
13610         * initscript/RedHat/NetworkManagerDispatcher.in:
13611         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13612         Patch from Dan Walsh <dwalsh@redhat.com>
13613
13614 2006-02-03  Robert Love  <rml@novell.com>
13615
13616         * dispatcher-daemon/NetworkManagerDispatcher.c,
13617           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13618           but use the sysconfdir.
13619
13620 2006-02-03  Robert Love  <rml@novell.com>
13621
13622         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13623           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13624           'char *'.
13625         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13626           nm_ip4_config_get_hostname() and
13627           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13628         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13629           leak g_strdup() result.
13630
13631 2006-02-03  Robert Love  <rml@novell.com>
13632
13633         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13634           broadcast == TRUE.  Also, copy broadcast and artificial properties
13635           from source network to destination in nm_ap_copy().
13636         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13637           since we now default new networks to non-hidden.
13638
13639 2006-02-03  Dan Williams  <dcbw@redhat.com>
13640
13641         * gnome/applet/main.c
13642                 - (main): change the NEVER->ALWAYS so we start at the
13643                         beginning of the session, if being session-managed
13644
13645 2006-02-03  Dan Williams  <dcbw@redhat.com>
13646
13647         * gnome/applet/main.c
13648                 - (main): in a variation on Robert's patch, change
13649                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13650                         he wants.
13651
13652 2006-02-02  Robert Love  <rml@novell.com>
13653
13654         * src/Makefile.am: If we aren't going to create the run directory at,
13655           uh, run-time, create it during install.  Then users just doing
13656           'make install' are cool, too.  While we are here, create the
13657           dispatcher.d directory, too.
13658         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13659           the exact run directory.
13660         * Makefile.am: Install nm-applet.desktop.
13661
13662 2006-02-02  Robert Love  <rml@novell.com>
13663
13664         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13665           structure, which denotes whether or not the AP is hidden.  This is a
13666           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13667           can show up in the scan list.  Add nm_ap_get_broadcast() and
13668           nm_ap_set_broadcast() accessor interfaces.
13669         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13670           nm_ap_set_broadcast().
13671         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13672           "getProperties" method, which denotes whether or not the given
13673           network is hidden.
13674         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13675           an artificial network.  Set broadcast to TRUE when scanning returns
13676           an ESSID and FALSE when not.
13677         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13678           from "getProperties" method on a network.  Possible TODO is to
13679           somehow display this.
13680         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13681
13682 2006-02-02  Dan Williams  <dcbw@redhat.com>
13683
13684         * src/nm-device-802-11-wireless.c
13685                 - (supplicant_interface_init): don't try to create
13686                         /var/run/NetworkManager, since that should be done by
13687                         the distro package.  Causes problems for stuff like SELinux
13688
13689 2006-02-02  Robert Love  <rml@novell.com>
13690
13691         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13692         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13693           Check for and handle empty string for iface.
13694
13695 2006-02-01  Robert Love  <rml@novell.com>
13696
13697         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13698           manpage.
13699
13700 2006-01-31  Dan Williams  <dcbw@redhat.com>
13701
13702         * nm-applet.desktop
13703                 - Add --sm-disable to Exec arguments, presuming that when
13704                         using autostart, we don't want session management
13705
13706 2006-01-31  Robert Love  <rml@novell.com>
13707
13708         * src/NetworkManagerAP.c: Add two new manufacturer default network
13709           names: linksys-a and linksys-g.  These are found (at least) on the
13710           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13711           own ESSID.
13712
13713 2006-01-31  Robert Love  <rml@novell.com>
13714
13715         * src/NetworkManagerAP.c: Optimize the function
13716           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13717           machine code.  This is the first in a series of code tweaks aiming to
13718           generate better machine code and make NetworkManager all the better.
13719           Just kidding.  Who has time to go through the assembly generated for
13720           every function?  I certainly don't.  I have a wife, a kid, a job,
13721           a mortgage, a mistress.  But this function was so bad, I was called
13722           to arms.  Like the book.
13723
13724 2006-01-31  Robert Love  <rml@novell.com>
13725
13726         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13727           AP is not broadcasting, to scan with probe request frames.  Required
13728           for non-broadcast networks.
13729
13730 2006-01-31  Robert Love  <rml@novell.com>
13731
13732         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13733           preprocessor define (still 20s).  Fix message text in nm_info()
13734           s/too too/took too/.
13735
13736 2006-01-30  Dan Williams  <dcbw@redhat.com>
13737
13738         * src/nm-device-802-11-wireless.c
13739                 - (supplicant_monitor_start): increase connect/auth timeout to
13740                         20 seconds from 10 seconds
13741
13742 2006-01-30  Dan Williams  <dcbw@redhat.com>
13743
13744         * src/Makefile.am
13745                 - Define LOCALSTATEDIR
13746
13747         * src/nm-device-802-11-wireless.c
13748                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13749                         socket where we want it to
13750
13751         * src/wpa_ctrl.[ch]
13752                 - (wpa_ctrl_open): accept location to put local control socket
13753
13754 2006-01-30  Robert Love  <rml@novell.com>
13755
13756         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13757           get_ip4_string() for "domain_name".
13758
13759 2006-01-30  Robert Love  <rml@novell.com>
13760
13761         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13762           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13763           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13764           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13765           support for "Automatic" pairwise and group cipher configuration by
13766           letting wpa_supplicant handle the details.  Add UI elements, new
13767           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13768           charm.  Note this does more than add a nice feature, it fixes a bug.
13769           Apparently, some people have AP's where the pairwise cipher does not
13770           match the group cipher.  Insane, but true.
13771
13772 2006-01-30  Dan Williams  <dcbw@redhat.com>
13773
13774         * gnome/applet/applet-dbus-devices.c
13775                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13776                         functions, grab device driver name from NetworkManager
13777                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13778
13779         * gnome/applet/applet.c
13780                 - (nmwa_update_info): show driver name in Connection Information
13781                         dialog
13782
13783         * gnome/applet/nm-device.[ch]
13784                 - (network_device_get_driver, network_device_set_driver): add
13785                         accessors for driver name
13786
13787         * gnome/applet/wireless-applet.glade
13788                 - Add line for driver name to Connection Information dialog
13789
13790         * src/nm-dbus-device.c
13791                 - (nm_dbus_device_get_driver): new function to return driver name
13792                 - (nm_dbus_device_methods): hook up driver name function to dbus
13793
13794         * test/nm-tool.c
13795                 - (get_driver_name): new function
13796                 - (detail_device): grab and show driver name
13797
13798 2006-01-30  Robert Love  <rml@novell.com>
13799
13800         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13801           does not parse the markup if it is not part of the format.
13802
13803 2006-01-30  Robert Love  <rml@novell.com>
13804
13805         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13806           FALSE, we have no security options for this dialog, so we throw up
13807           an error dialog instead of a broken passphrase dialog.  Fixes
13808           Novell #138404.
13809         * gnome/applet/wireless-security-manager.c,
13810           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13811           does not add any security options, not even NONE, print a warning
13812           and return FALSE.  This let's functions constructing a dialog bail
13813           out if the device's capabilities and the network's requirements have
13814           zero overlap.
13815
13816 2006-01-27  Robert Love  <rml@novell.com>
13817
13818         * configure.in: Require wpa_supplicant.  Detect location of binary and
13819           use it.  Override with "--with-wpa_supplicant=foo".
13820         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13821           path to wpa_supplicant but use the auto-detected or user-provided
13822           value from configure.
13823
13824 2006-01-27  Robert Love  <rml@novell.com>
13825
13826         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13827           but the DHCP server did not return a hostname, try to look up our
13828           name via DNS and set the system hostname to that.
13829
13830 2006-01-27  Dan Williams  <dcbw@redhat.com>
13831
13832         * src/backends/NetworkManagerRedHat.c
13833                 - Add NM_CONTROLLED system network script support for RH/Fedora
13834
13835 2006-01-27  Dan Williams  <dcbw@redhat.com>
13836
13837         * src/backends/NetworkManagerGentoo.c
13838                 - (nm_system_device_get_disabled): add missing function.
13839                         Gnome BZ #328780
13840
13841 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13842
13843         * configure.in: Added vi in ALL_LINGUAS line.
13844         
13845 2006-01-26  Robert Love  <rml@novell.com>
13846
13847         * src/Makefile.am, src/kernel-types.h: Now that two different source
13848           files are feeling the crack-addled leakage of kernel types such as
13849           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13850           types in user-space -- define a header and include it as needed.
13851         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13852         * src/nm-device-802-3-ethernet.h: Remove defines.
13853         * src/wpa.c: Remove defines and include kernel-types.h.
13854
13855 2006-01-26  Robert Love  <rml@novell.com>
13856
13857         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13858           work.
13859
13860 2006-01-26  Robert Love  <rml@novell.com>
13861
13862         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13863         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13864           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13865           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13866           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13867           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13868           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13869           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13870           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13871           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13872           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13873           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13874           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13875           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13876           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13877           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13878           Kill unused variables, labels, and static functions.  Don't pass
13879           string literals as the format string for printf-like functions.
13880
13881 2006-01-25  Dan Williams  <dcbw@redhat.com>
13882
13883         * gnome/applet/wireless-applet.glade
13884                 - Remove WPA2 Checkbox
13885
13886         * gnome/applet/wireless-security-manager.c
13887                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13888                         This means the Wireless Security menu now has two WPA options,
13889                         one for "WPA Personal" and one for "WPA2 Personal"
13890
13891         * gnome/applet/wso-wpa-psk.[ch]
13892                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13893                         'wpa2' argument to determine WPA version to use
13894                 - (append_dbus_params_func): pass stored WPA version to cipher
13895                         rather than using the (removed) checkbox
13896
13897 2006-01-24  Robert Love  <rml@novell.com>
13898
13899         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13900           before we g_strdup(), not the ultimate string.
13901
13902 2006-01-23  Dan Williams  <dcbw@redhat.com>
13903
13904         * src/NetworkManagerAP.[ch]
13905                 - (nm_ap_new_from_ap): copy original essid too
13906                 - (nm_ap_unref): free original essid
13907                 - (nm_ap_get_orig_essid): new function
13908                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13909                         but keep original essid around too
13910
13911         * src/nm-device-802-11-wireless.c
13912                 - (supplicant_send_network_config): send wpa_supplicant the
13913                         _original_ essid, and not as a string, but in hex.  Should
13914                         allow us to connect to more APs that use wierd character
13915                         encodings for their essids
13916
13917         * utils/nm-utils.[ch]
13918                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13919                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13920                         use the current locale as a hint for what encoding the essid
13921                         might be in.  Obviously not 100% accurate, but the idea here is
13922                         that if a user's locale is ex. ja_JP, they are more likely than
13923                         not to be in Japan, where access points will likely be in some
13924                         Japanese encoding.
13925
13926 2006-01-23  Dan Williams  <dcbw@redhat.com>
13927
13928         * libnm-util/cipher-private.h
13929           libnm-util/cipher.c
13930           libnm-util/cipher.h
13931                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13932
13933 2006-01-23  Robert Love  <rml@novell.com>
13934
13935         Patch by Timo Hoenig <thoenig@suse.de>:
13936         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13937           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13938           by DHCP and pass it to the backends, allowing distribution-specific
13939           behavior with respect to the DHCP-supplied hostname (if nothing else,
13940           some distributions might not want to set the hostname).
13941         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13942           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13943           Also update our NIS behavior.
13944         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13945           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13946           Add stub functions.
13947
13948 2006-01-23  Robert Love  <rml@novell.com>
13949
13950         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13951           gnome-session does autostart.  TODO: We need to install this to
13952           $prefix/share/autostart/.
13953
13954 2006-01-22  Dan Williams  <dcbw@redhat.com>
13955
13956         * src/NetworkManagerAP.[ch]
13957           src/nm-dbus-nmi.c
13958           src/nm-device-802-11-wireless.c         
13959                 - Make nm_ap_get_essid return "const char *"
13960
13961 2006-01-22  Dan Williams  <dcbw@redhat.com>
13962
13963         * src/NetworkManagerAP.[ch]
13964                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13965
13966         * src/NetworkManagerAPList.[ch]
13967                 - (nm_ap_list_diff): removed
13968                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13969                         deal with access points changing essids on us
13970
13971         * src/nm-device-802-11-wireless.c
13972                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13973                         src/NetworkManagerAPList.c
13974                 - (real_can_interrupt_activation): new function; allow interruption
13975                         of device activation if we are waiting for a network key
13976
13977         * src/NetworkManagerPolicy.c
13978                 - (nm_policy_device_change_check): allow interruption of currently
13979                         activating devices if the device allows it.  Previous behavior
13980                         would refuse to activate a just-plugged wired device if a
13981                         wireless device was waiting for a key.
13982
13983         * src/nm-device.[ch]
13984                 - (nm_device_can_interrupt_activation): new function; ask devices
13985                         whether their activation can be interrupted
13986
13987 2006-01-20  Robert Love  <rml@novell.com>
13988
13989         * Makefile.am, configure.in: Add new man subdirectory.
13990         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13991           man/Makefile.am: Add man pages for NetworkManager and its
13992           crime-solving bumbling buddy, NetworkManagerDispatcher.
13993         * man/.cvsignore: Add.
13994         * initscript/Debian/NetworkManager,
13995           initscript/Gentoo/NetworkManager.in,
13996           initscript/RedHat/NetworkManager.in,
13997           initscript/RedHat/NetworkManagerDispatcher.in,
13998           initscript/SUSE/networkmanager-dispatcher.in,
13999           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
14000
14001 2006-01-20  Robert Love  <rml@novell.com>
14002
14003         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
14004           instead of queuing.  This prevents the running of multiple NM
14005           daemons concurrently, which does not work whatsoever and results in
14006           neither daemon working correctly.  Also, we don't handle queuing and
14007           name-owner-changes, anyhow.
14008
14009 2006-01-20  Robert Love  <rml@novell.com>
14010
14011         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
14012         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
14013           to sbin, not bin.
14014
14015 2006-01-19  Robert Love  <rml@novell.com>
14016
14017         * configure.in: Require hal 0.5.0 or later.
14018
14019 2006-01-18  Robert Love  <rml@novell.com>
14020
14021         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
14022           Allow backends to flag a device (in whatever distro-dependent way
14023           they so desire) as disabled.  NM will ignore any such device.
14024         * src/backends/NetworkManagerDebian.c,
14025           src/backends/NetworkManagerRedHat.c,
14026           src/backends/NetworkManagerSlackware.c: Add stub function
14027           nm_system_device_get_disabled() that always returns FALSE (enabled).
14028         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
14029           SUSE-specific configuration structure.  Fill it in from the
14030           NM_CONTROLLED variable in the system networking scripts.  If this var
14031           exists and is "no", we ignore the device.
14032
14033 2006-01-17  Robert Love  <rml@novell.com>
14034
14035         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
14036           identical for NM.  For a full discussion, see the thread at
14037           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
14038
14039 2006-01-17  Dan Williams  <dcbw@redhat.com>
14040
14041         * src/nm-device.c
14042                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14043                         function.  Fixes crash when wired DHCP fails.
14044
14045 2006-01-16  Robert Love  <rml@novell.com>
14046
14047         * src/Makefile.am: Don't install NMLoadModules
14048         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14049           from src/ to test/ as no one uses it anymore.  Note that I would be
14050           fine with removing it altogether.
14051
14052 2006-01-16  Robert Love  <rml@novell.com>
14053
14054         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14055           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14056           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14057           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14058           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14059           src/nm-netlink-monitor.c: Don't miss any initializers on structure
14060           declarations, ever.
14061         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14062           NM_STATE_DISCONNECTED is zero).
14063
14064 2006-01-16  Robert Love  <rml@novell.com>
14065
14066         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
14067           uninitialized parameter and buffer overflow.  Novell #143496.
14068
14069 2006-01-16  Dan Williams  <dcbw@redhat.com>
14070
14071         Apply the PtP Address bits of a patch from Tim Niemueller
14072
14073         * src/nm-ip4-config.[ch]
14074                 - Add ip4_ptp_address member to object
14075                 - (nm_ip4_config_copy): copy ptp address too
14076                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14077                         new functions
14078                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14079                         rather than local tunnel ip address
14080
14081         * src/vpn-manager/nm-vpn-service.c
14082                 - (print_vpn_config): update for PtP address
14083                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14084                         DBusMessageIters in preparation for getting routes from the VPN
14085                         service daemons too
14086
14087         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14088                 - (send_config_info): update for PtP address, clean up code
14089                 - (main): update for PtP address, clean up code, fix typo
14090
14091         * vpn-daemons/openvpn/src/nm-openvpn-service.c
14092                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14093
14094         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14095                 - (pptp_ip_up): update for PtP address
14096
14097         * vpn-daemons/pptp/src/nm-pptp-service.c
14098                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14099
14100         * vpn-daemons/vpnc/src/nm-vpnc-service.c
14101                 - (print_vpn_config): update for PtP address
14102                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14103
14104 2006-01-16  Dan Williams  <dcbw@redhat.com>
14105
14106         * gnome/applet/applet.c
14107                 - (nmwa_add_networks_helper): don't indicate an active network
14108                         if NM is disconnected or asleep
14109
14110 2006-01-16  Dan Williams  <dcbw@redhat.com>
14111
14112         * src/NetworkManagerPolicy.c
14113                 - (nm_policy_device_change_check): switch devices if we lose the link
14114                         on an ethernet device. 
14115
14116 2006-01-16  Dan Williams  <dcbw@redhat.com>
14117
14118         * gnome/applet/wso-wpa-psk-hex.[ch]
14119                 - Renamed -> wso-wpa-psk.[ch]
14120
14121         * gnome/applet/wso-wpa-psk.[ch]
14122                 - New files
14123
14124         * gnome/applet/wso-wpa-psk-passphrase.[ch]
14125                 - Removed, rolled into wso-wpa-psk.[ch]
14126
14127         * gnome/applet/Makefile.am
14128                 - Updated for above changes
14129
14130         * gnome/applet/wireless-applet.glade
14131                 - Consolidate WPA-PSK options into one notebook
14132                         widget, and make dialogs invisible by default
14133                         to fix screen oddities
14134
14135         * gnome/applet/wireless-security-manager.c
14136                 - (wsm_set_capabilities): create the new wpa-psk widget rather
14137                         than both the old hex & passphrase ones
14138
14139 2006-01-16  Dan Williams  <dcbw@redhat.com>
14140
14141         * gnome/applet/other-network-dialog.c
14142                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14143
14144 2006-01-16  Dan Williams  <dcbw@redhat.com>
14145
14146         * gnome/applet/applet.c
14147                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14148                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14149                         prevention to realize window before trying to get server
14150                         time
14151
14152         * gnome/applet/other-network-dialog.c
14153                 - (nmwa_other_network_dialog_run): fix up focus-stealing
14154                         prevention to realize window before trying to get server
14155                         time
14156
14157         * gnome/applet/passphrase-dialog.c
14158                 - (nmi_passphrase_dialog_new): fix up focus-stealing
14159                         prevention to realize window before trying to get server
14160                         time
14161
14162 2006-01-16  Robert Love  <rml@novell.com>
14163
14164         Patch from Timo Hoenig  <thoenig@suse.de:
14165         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14166           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14167           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14168           libnm-util/dbus-helpers.h: add checks whether headers are used
14169           within a C++ build.
14170
14171 2006-01-16  Dan Williams  <dcbw@redhat.com>
14172
14173         * gnome/applet/wireless-security-option.c
14174                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14175
14176 2006-01-16  Dan Williams  <dcbw@redhat.com>
14177
14178         * libnm-util/cipher-wpa-psk-passphrase.c
14179                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14180                         be 8 - 63 characters inclusive
14181
14182 2006-01-16  Dan Williams  <dcbw@redhat.com>
14183
14184         * src/nm-dbus-nm.c
14185                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14186
14187 2006-01-13  Robert Love  <rml@novell.com>
14188
14189         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14190         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14191           modules that do not use an interface.
14192
14193 2006-01-13  Dan Williams  <dcbw@redhat.com>
14194
14195         * src/nm-device.c
14196           src/nm-device.h
14197                 - Allow subclasses to implement deactivate_quickly()
14198                 - (nm_device_deactivate_quickly): call subclass
14199                         deactivate_quickly() methods
14200                 - (nm_device_set_active_link): small cleanups, and don't
14201                         deactivate the device right away because we risk a deadlock
14202                         when called from device thread, waiting for the device
14203                         thread to cancel activation
14204
14205         * src/nm-device-802-11-wireless.c
14206                 - (real_deactivate_quickly): new function
14207                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14208                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14209                         so that we kill the supplicant when we sleep too
14210                 - (supplicant_interface_init): work around naive naming attempts of
14211                         wpa_ctrl when naming sockets
14212
14213 2006-01-13  Dan Williams  <dcbw@redhat.com>
14214
14215         * src/nm-device-802-11-wireless.c
14216                 - (supplicant_cleanup): delete old device control sockets too
14217                 - (supplicant_get_device_socket_path): new function to consolidate
14218                         locations that need a path to a device's control socket
14219
14220 2006-01-12  Robert Love  <rml@novell.com>
14221
14222         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14223           description so that the description is unique for each
14224           pair (device,provider).  Fixes Novell #142773.
14225
14226 2006-01-12  Dan Williams  <dcbw@redhat.com>
14227
14228         * src/nm-device-802-11-wireless.c
14229                 - (supplicant_exec): ensure GError is correctly initialized
14230                         Reported by Diego González (gnome.org #326708)
14231
14232 2006-01-11  Robert Love  <rml@novell.com>
14233
14234         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14235           define if_mii(), open code the same results, and do so without any
14236           type punning.
14237
14238 2006-01-11  Robert Love  <rml@novell.com>
14239
14240         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14241           that wso_foo_new() returned non-NULL.  Instead, only append the new
14242           wso to wsm->options if the wso is non-NULL.  The crux is that we
14243           assume that the relevant key types are implied by WEP and WPA as
14244           appropriate.  To be sure, they should be, but we should not expect
14245           drivers to not be oozing piles of wolf fecal matter.
14246
14247 2006-01-11  Robert Love  <rml@novell.com>
14248
14249         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14250         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14251           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14252           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14253           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14254           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14255           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14256         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14257           comparing values within DBL_EPSILON.  Also fix shadowed variable
14258           usage.
14259
14260 2006-01-11  Dan Williams  <dcbw@redhat.com>
14261
14262         Add options for WPA2 and WPA1+CCMP (AES).
14263
14264         * gnome/applet/wireless-applet.glade
14265                 - Add UI bits for WPA+CCMP
14266
14267         * gnome/applet/other-network-dialog.c
14268                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14269                         and don't allow creation of WPA2 Ad-Hoc networks since
14270                         wpa_supplicant doesn't support them
14271
14272         * gnome/applet/wireless-security-manager.c
14273                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14274                         on to the specific wireless security option being created
14275
14276         * gnome/applet/wireless-security-option.[ch]
14277                 - (wso_wpa_create_key_type_model): new utility function to create
14278                         the model required for WPA Key Type combo box
14279
14280         * gnome/applet/wso-private.h
14281           gnome/applet/wireless-security-option.h
14282                 - Move private function prototypes into wso-private.h
14283
14284         * gnome/applet/wso-wpa-psk-hex.[ch]
14285           gnome/applet/wso-wpa-psk-passphrase.[ch]
14286                 - (append_dbus_params_func): get WPA version from checkbox and pass
14287                         it to the dbus serialization helper
14288                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14289                         key type combo changes
14290                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14291                         model and options
14292
14293         * libnm-util/cipher-wpa-psk-hex.c
14294           libnm-util/cipher-wpa-psk-passphrase.c
14295                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14296                         new function; allow the cipher to be changed after object creation
14297
14298         * src/nm-ap-security-wpa-psk.c
14299                 - (set_description): Do WPA2 descriptions too
14300
14301         * src/nm-ap-security.c
14302                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14303
14304 2006-01-11  Robert Love  <rml@novell.com>
14305
14306         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14307           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14308           from the ifreq structure in lieu of an open coded solution.  Removes
14309           a life-threatening type-punning.
14310         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14311           types, ever, whatsoever, baby.
14312
14313 2006-01-11  Robert Love  <rml@novell.com>
14314
14315         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14316           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14317           assignments to applet->nm_state into a new nmwa_set_state() function
14318           for both cleanliness and to help debugging.
14319
14320 2006-01-10  Robert Love  <rml@novell.com>
14321
14322         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14323           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14324           seconds, exclusive.  That is, we want to sleep x seconds such that
14325           1 < x < 2.
14326
14327 2006-01-10  Robert Love  <rml@novell.com>
14328
14329         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14330           the attr fields according to the example in the email available at
14331           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14332           Conversely, we do have to free 'name', so we do so, fixing a leak.
14333
14334 2006-01-10  Robert Love  <rml@novell.com>
14335
14336         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14337           sure that we close the socket!
14338
14339 2006-01-10  Robert Love  <rml@novell.com>
14340
14341         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14342           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14343           src/nm-device.c: Fix a FIXME!  Reimplement the function
14344           nm_device_update_hw_address() in device subclass variants,
14345           nm_device_802_3_ethernet_set_address() and
14346           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14347           This fixes the existing bug where MAC addresses are all zeros.
14348
14349 2006-01-10  Robert Love  <rml@novell.com>
14350
14351         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14352           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14353           option to give users ability to globally disconnect and put NM to
14354           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14355           clean disconnect.
14356
14357 2006-01-09  Robert Love  <rml@novell.com>
14358
14359         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14360           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14361           User-space does not supply these types, so we have to define them
14362           ourselves.  The relevant kernel maintainer refused to accept a patch
14363           switching these headers to the proper C99 types.
14364
14365 2006-01-09  Dan Williams  <dcbw@redhat.com>
14366
14367         Apply Robert's 'tray icon redo' patch with fixes
14368         * gnome/applet/applet.c
14369           gnome/applet/applet.h
14370                 - Instead of using a menu bar + menu item, simulate menu
14371                         behavior using a popup menu.  Highlight the area around
14372                         the icon more like a menu too, by playing with the
14373                         applet's size requisition
14374
14375 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14376         * libnm-util/dbus-helpers.c
14377           libnm-util/dbus-helpers.h
14378                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14379                         to 'exception_namespace' (:namespace is a keyword in
14380                         C++)
14381
14382 2006-01-09  Dan Williams  <dcbw@redhat.com>
14383
14384         * src/NetworkManagerPolicy.c
14385                 - (nm_policy_device_change_check): don't autoswitch away from
14386                         Ad-Hoc networks, since there's really no concept of
14387                         "link"
14388
14389         * src/nm-dbus-nm.c
14390                 - (nm_dbus_nm_create_wireless_network): mark created networks
14391                         as Ad-Hoc networks
14392
14393         * src/nm-device-802-11-wireless.c
14394                 - (real_activation_success_handler): add user-created Ad-Hoc
14395                         networks to the device's scan list
14396
14397 2006-01-08  Dan Williams  <dcbw@redhat.com>
14398
14399         We now require a patch for wpa_supplicant to support Ad-Hoc
14400         networks:
14401           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14402
14403         * src/nm-device-802-11-wireless.c
14404                 - (supplicant_send_network_config): turn off wpa_supplicant's
14405                         scanning.  Fixes Ad-Hoc networks.
14406
14407 2006-01-08  Dan Williams  <dcbw@redhat.com>
14408
14409         * src/nm-ap-security.c
14410           src/nm-ap-security.h
14411                 - Add a user_created argument to the write_supplicant_config
14412                         functions
14413
14414         * src/nm-ap-security-wep.c
14415           src/nm-ap-security-wpa-psk.c
14416           src/nm-device-802-11-wireless.c
14417                 - Make Ad-Hoc mode somewhat work, at least write the
14418                         correct options to wpa_supplicant
14419
14420 2006-01-08  Dan Williams  <dcbw@redhat.com>
14421
14422         * src/nm-device-802-11-wireless.c
14423                 - Remove unused code from the old device activation path
14424
14425 2006-01-08  Dan Williams  <dcbw@redhat.com>
14426
14427         * libnm-util/dbus-helpers.c
14428                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14429                         dbus when key == NULL
14430
14431 2006-01-08  Dan Williams  <dcbw@redhat.com>
14432
14433         * gnome/applet/nm-gconf-wso-wpa-psk.c
14434                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14435                         correct arguments to nmu_security_deserialize_wpa_psk()
14436
14437         * src/nm-ap-security-wpa-psk.c
14438                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14439                         arguments to nmu_security_deserialize_wpa_psk()
14440
14441 2006-01-08  Dan Williams  <dcbw@redhat.com>
14442
14443         * gnome/applet/wso-wpa-psk-hex.c
14444           gnome/applet/wso-wpa-psk-passphrase.c
14445                 - Hook up the append_dbus_params_func() function
14446
14447 2006-01-08  Dan Williams  <dcbw@redhat.com>
14448
14449         * src/nm-device-802-11-wireless.c
14450                 - (get_wireless_capabilities): correctly detect driver WPA
14451                         capabilities
14452
14453 2006-01-08  Dan Williams  <dcbw@redhat.com>
14454
14455         * gnome/applet/Makefile.am
14456           gnome/applet/wso-wpa-psk-hex.c
14457           gnome/applet/wso-wpa-psk-hex.h
14458                 - New files, implement WPA-PSK Hex key input
14459
14460         * gnome/applet/wireless-applet.glade
14461                 - Change existing wpa-psk stuff to wpa-psk-hex
14462                 - Add new widgets for wpa-psk-passphrase
14463
14464         * gnome/applet/wireless-security-manager.c
14465                 - (wsm_set_capabilities): enable WPA options
14466
14467         * gnome/applet/wso-wpa-psk-passphrase.c
14468                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14469                         for WPA-PSK passphrase
14470
14471 2006-01-08  Dan Williams  <dcbw@redhat.com>
14472
14473         * include/NetworkManager.h
14474                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14475                         applet/info-daemons
14476
14477         * gnome/applet/passphrase-dialog.c
14478                 - Use the constant.  Fixes a bug where the arguments to
14479                         dbus_message_new_error() were incorrect
14480
14481         * src/nm-dbus-nmi.c
14482                 - Use the constant
14483
14484 2006-01-07  Dan Williams  <dcbw@redhat.com>
14485
14486         * src/nm-device-802-11-wireless.c
14487                 - Add a link timeout so we allow the supplicant time to
14488                         reassociate if it can, before we deactivate the card
14489                 - Fix up link status and link updating so things work better
14490
14491 2006-01-07  Dan Williams  <dcbw@redhat.com>
14492
14493         * src/nm-device-802-11-wireless.c
14494                 - Switch over to using wpa_supplicant
14495                 - Add a timeout of 10s for association of the supplicant
14496                 - Start the monitor callback of the supplicant
14497
14498 2006-01-07  Dan Williams  <dcbw@redhat.com>
14499
14500         * src/NetworkManagerUtils.c
14501                 - (nm_utils_supplicant_request,
14502                   nm_utils_supplicant_request_with_check):
14503                         pass correct buffer length to wpa_ctrl_request()
14504
14505 2006-01-07  Dan Williams  <dcbw@redhat.com>
14506
14507         * src/nm-device-private.h
14508           src/nm-device.c
14509                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14510                         this function available to subclasses
14511
14512 2006-01-06  Robert Love  <rml@novell.com>
14513
14514         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14515           user plugging in a network cable signals their preference for to
14516           switch, unless the user explicitly selected a wireless network and
14517           therefore signaled their preference for said wireless network over
14518           wired.  In other words, do exactly what makes sense.
14519
14520 2006-01-06  Robert Love  <rml@novell.com>
14521
14522         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14523           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14524           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14525           showing up in my greps.
14526
14527 2006-01-06  Robert Love  <rml@novell.com>
14528
14529         * gnome/applet/applet-dbus-devices.c,
14530           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14531           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14532           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14533           New Network' both failed in the non-encrypted case because we were
14534           not appending the security options to the DBUS message.  And
14535           'Connect to Other' was also failing in the encrypted case because
14536           we were not incrementing to the next DBUS parameter.  All fixed.
14537           Thanks to dcdw for some debugging help.
14538
14539 2006-01-06  Robert Love  <rml@novell.com>
14540
14541         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14542           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14543           hangup code and add per-device hangup.  Tie last commit into the
14544           GNOME applet.  TODO:  Save, understand, and respond to the state of
14545           each dialup device.
14546
14547 2006-01-06  Robert Love  <rml@novell.com>
14548
14549         Patch by Timo Hoenig <thoenig@suse.de>:
14550         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14551           hangup specific dialup devices.
14552         * src/backends/NetworkManagerDebian.c,
14553           src/backends/NetworkManagerGentoo.c,
14554           src/backends/NetworkManagerRedHat.c,
14555           src/backends/NetworkManagerSlackware.c: Add stub backend.
14556         * src/backends/NetworkManagerRedHat.c,
14557           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14558           hangup specific dialup devices.
14559
14560 2006-01-04  Robert Love  <rml@novell.com>
14561
14562         * gnome/applet/applet-dbus-devices.c,
14563           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14564           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14565           connections.
14566
14567 2006-01-04  Dan Williams  <dcbw@redhat.com>
14568
14569         First dump of wpa_supplicant-related code.  It's not hooked up to
14570         anything yet though.  Thanks to Kay Sievers for
14571         wpa_supplicant_wrapper.c, which formed the basis for this work,
14572         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14573
14574         * src/Makefile.am
14575           src/wpa_ctrl.[ch]
14576                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14577
14578         * src/NetworkManagerUtils.[ch]
14579                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14580                         Add convenience functions for talking to wpa_supplicant
14581
14582         * src/nm-ap-security.[ch]
14583           src/nm-ap-security-wep.c
14584           src/nm-ap-security-wpa-psk.[ch]
14585                 - Update and implement real_write_supplicant_config functions
14586                         in all security types
14587                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14588                         nm-ap-security-wpa-psk.c
14589
14590         * src/nm-device-802-11-wireless.c
14591                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14592                    wpa_supplicant_start, wpa_supplicant_interface_init,
14593                    wpa_supplicant_send_network_config): add functions to talk to
14594                         wpa_supplicant and write network config to it
14595
14596 2006-01-04  Robert Love  <rml@novell.com>
14597
14598         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14599           values so that distribution-backends can differentiate between the
14600           various types (modem, ISDN, et cetera) of dialup device that they
14601           support.
14602         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14603           needed.
14604
14605 2006-01-03  Dan Williams  <dcbw@redhat.com>
14606
14607         * src/NetworkManagerPolicy.c
14608           src/nm-device.[ch]
14609           src/nm-device-802-11-wireless.c
14610                 - Move wireless-specific activation failure and success code
14611                         into wireless device class
14612
14613 2006-01-03  Robert Love  <rml@novell.com>
14614
14615         Patch by Preggna S:
14616         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14617           IPsec does not require that a VPN client be bound to an interface,
14618           due to the use of the in-kernel IPSec bits.  So make the tunnel
14619           device optional.
14620
14621 2006-01-03  Dan Williams  <dcbw@redhat.com>
14622
14623         * src/NetworkManagerAP.c
14624                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14625                         the WPA IE specifies that WEP is supported
14626
14627         * src/nm-device-802-11-wireless.c
14628                 - (process_scan_results): don't mark an AP as supporting WEP
14629                         if there's already other encryption capability info
14630
14631 2006-01-03  Dan Williams  <dcbw@redhat.com>
14632
14633         * src/dhcp-manager/nm-dhcp-manager.c
14634                 - Recognize activation cancellation when waiting for DHCP
14635                         configuration from dhcdbd
14636                 - Ignore non-dhcdbd messages
14637
14638         * src/nm-device.c
14639                 - (real_act_stage3_ip_config_start): return to correct behavior
14640                         of letting the dhcp-manager notify us of failure or
14641                         success rather than incorrectly doing that ourselves
14642                 - (nm_device_activate_stage4_ip_config_get): deal with
14643                         activation cancellation a bit earlier
14644
14645 2006-01-03  Dan Williams  <dcbw@redhat.com>
14646
14647         * src/nm-device-802-11-wireless.c
14648           src/nm-device.[ch]
14649                 - Add hooks to subclasses for stage3_ip_config_start and
14650                         stage4_ip_config_timeout
14651
14652         * src/nm-device-802-3-ethernet.c
14653                 - (real_get_generic_capabilities): make devices NM-supported
14654                         by default
14655
14656 2006-01-03  Robert Love  <rml@novell.com>
14657
14658         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14659           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14660           latter cannot differentiate between error and the address -1; misc.
14661           clean up.
14662
14663 2006-01-03  Dan Williams  <dcbw@redhat.com>
14664
14665         * src/NetworkManager.c
14666                 - Move link-checking/probing into the device subclasses
14667                         themselves
14668
14669         * src/nm-device.[ch]
14670           src/nm-device-802-11-wireless.c
14671           src/nm-device-802-3-ethernet.c
14672                 - Do periodic link checking in device subclasses rather
14673                         than being triggered from NetworkManager.c
14674                 - discover_wireless_capabilities -> get_wireless_capabilities
14675                 - discover_generic_capabilities -> get_generic_capabilities
14676                 - Device subclass activation routines now return a value of type
14677                         NMActStageReturn to indicate what step to perform next
14678                 - Devices now override stage4_get_ip4_config if they choose
14679
14680 2006-01-01  Dan Williams  <dcbw@redhat.com>
14681
14682         * src/nm-device-802-11-wireless.c
14683                 - (real_init): don't chain up to parent init because we don't
14684                         need to do that anymore
14685
14686         * src/nm-device.c
14687                 - (discover_device_type): fix arguments to ioctl() to correctly
14688                         pass interface name
14689                 - (nm_device_new): consolidate generic device initialization into
14690                         nm_device_new()
14691                 - (real_init): remove, consolidated to nm_device_new()
14692                 - (nm_device_deactivate, real_deactivate): consolidate
14693
14694 2006-01-01  Dan Williams  <dcbw@redhat.com>
14695
14696         * src/nm-activation-request.c
14697                 - Change dhcp_state member of the NMActRequest structure
14698                         from guint8 to guint32
14699
14700         * src/dhcp-manager/nm-dhcp-manager.[ch]
14701                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14702                         than guint8 to match the dbus argument.  Turns out we were
14703                         overwriting memory since we were passing in only a guint8
14704
14705 2005-12-31  Dan Williams  <dcbw@redhat.com>
14706
14707         * refactor NMDevice into a GObject-based framework with separate
14708                 objects for wired and wireless.  The following files are no
14709                 longer used but should stick around for a bit so we don't
14710                 loose code through the cracks:
14711                         NetworkManagerDevice.c
14712                         NetworkManagerDevice.h
14713                         NetworkManagerWireless.c
14714                         NetworkManagerWireless.h
14715
14716         The intent here is to allow each device type to manage its own
14717         connection & activation life-cycle, ie to allow wireless devices
14718         to interface with wpa_supplicant, etc.  There's a fair bit of
14719         encapsulation breakage right now that should gradually get pulled
14720         back into each device, along with things like periodic property
14721         updates and link probing.
14722
14723 2005-12-29  Dan Williams  <dcbw@redhat.com>
14724
14725         * include/NetworkManager.h
14726                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14727                         between networks that don't have any encryption at all
14728
14729 2005-12-29  Dan Williams  <dcbw@redhat.com>
14730
14731         * test/test-common.c
14732           test/test-common.h
14733           test/Makefile.am
14734                 - Move to a test-common subdirectory
14735
14736         * test/libnm-util/test-ciphers.c
14737                 - Move test data to test-inputs.h
14738                 - Test WPA ciphers too
14739
14740         * test/libnm-util/test-dbus-helpers.c
14741                 - Test serialization/deserialization of ciphers
14742
14743 2005-12-29  Dan Williams  <dcbw@redhat.com>
14744
14745         * gnome/applet/applet-dbus-devices.c
14746                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14747                         in dbus calls to NM
14748                 - Set capabilities on WirelessNetwork objects
14749                 - Receive and save type-specific device capabilities too
14750
14751         * gnome/applet/applet-dbus-info.c
14752           gnome/applet/applet-dbus.c
14753                 - Passphrase dialog no longer a singleton; new instance gets created
14754                         on each request.  Updates to deal with that.
14755
14756         * gnome/applet/applet.c
14757                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14758                         than single 'encrypted' flag
14759                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14760                         menu items
14761                 - Passphrase dialog updates per above
14762
14763         * gnome/applet/menu-items.c
14764                 - (network_menu_item_update): use AP capabilities to determine
14765                         encryption
14766
14767         * gnome/applet/nm-device.[ch]
14768                 - Add accessors for type-specific device capabilities
14769
14770         * gnome/applet/other-network-dialog.c
14771                 - Rework to respect device capabilities.  i.e., if the device doesn't
14772                         support WPA, remove that option from the security dropdown
14773
14774         * gnome/applet/passphrase-dialog.c
14775                 - Massive rework so that a new instance is created each time
14776                         it's used, to support wireless network capabilities
14777
14778         * gnome/applet/wireless-network.[ch]
14779                 - Add accessors and members for wireless network capabilities
14780
14781         * gnome/applet/wireless-security-manager.[ch]
14782                 - (wsm_set_capabilities): called after creation to set which
14783                         security options get shown to the user
14784
14785 2005-12-29  Dan Williams  <dcbw@redhat.com>
14786
14787         * libnm-util/cipher-wpa-psk-passphrase.c
14788                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14789                         like other ciphers
14790
14791 2005-12-23  Dan Williams  <dcbw@redhat.com>
14792
14793         * gnome/applet/applet-dbus-info.c
14794                 - (nmi_dbus_get_key_for_network): if there's no entry in
14795                         GConf for a network, assume we want a new key
14796                 - (nmi_save_network_info): serialize wireless security info
14797                         into GConf so its saved
14798
14799         * src/nm-dbus-nm.c
14800                 - Fix warning as we may not be passed security info when
14801                         connecting to a wireless network
14802
14803 2005-12-23  Dan Williams  <dcbw@redhat.com>
14804
14805         * gnome/applet/applet-compat.c
14806                 - Fix bugs in GConf entry conversion
14807
14808         * gnome/applet/applet-dbus-info.c
14809                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14810                         list being zero-length
14811
14812         * libnm-util/cipher-*
14813           libnm-util/dbus-helpers.c
14814                 - All ciphers must now return hashed keys as UTF-8 valid
14815                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14816                         through dbus as strings too.
14817                 - Consolidate various functions that do bin->hex and hex->bin
14818                         conversion into cipher.c
14819
14820         * src/nm-ap-security-wep.c
14821           src/nm-ap-security-wpa-psk.c
14822                 - Handle NULL keys since we may not know keys right away
14823
14824         * src/nm-dbus-nmi.c
14825                 - (nm_dbus_get_network_data_cb): actually advance to the start
14826                         of the wireless security info before we try to deserialize it
14827
14828         * libnm-util/test-ciphers.c
14829                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14830
14831 2005-12-22  Dan Williams  <dcbw@redhat.com>
14832
14833         * gnome/applet/applet-compat.[ch]
14834                 - Convert old-format GConf and keyring entries
14835                         when the applet starts up.
14836
14837         * gnome/applet/applet.c
14838                 - (nmwa_get_instance): Call the conversion function
14839                         on startup before dbus is initialized
14840
14841 2005-12-22  Dan Williams  <dcbw@redhat.com>
14842
14843         * gnome/applet/applet-dbus-info.c
14844                 - Remove nmi_dbus_create_error_message() in favor of
14845                         nmu_create_dbus_error_message()
14846                 - (nmi_dbus_get_network_properties): Error message cleanups
14847                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14848                         gconf key rather than 'addresses', since they really are BSSIDs
14849                 - (nmi_dbus_get_network_properties): Dispose of the security
14850                         object when we're done with it
14851
14852 2005-12-21  Dan Williams  <dcbw@redhat.com>
14853
14854         * Consolidate the info-daemon's "updateNetworkInfo" and
14855                 "addNetworkAddress" calls into just "updateNetworkInfo"
14856
14857 2005-12-21  Dan Williams  <dcbw@redhat.com>
14858
14859         * Make connection after key retrieval work again
14860
14861 2005-12-21  Dan Williams  <dcbw@redhat.com>
14862
14863         * gnome/applet/nm-gconf-wso*
14864                 - Make the serialize functions return gboolean
14865                         rather than int
14866
14867         * gnome/applet/nm-gconf-wso.c
14868                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14869                         parent class handling so we don't segfault
14870
14871         * src/NetworkManagerAP.[ch]
14872                 - (nm_ap_get_capabilities): new function, return capabilities
14873                         now that something can use them
14874                 - (nm_ap_set_encrypted): assume that an access point supports
14875                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14876                         we even tell whether it just supports WEP40?
14877
14878         * src/NetworkManagerDevice.c
14879                 - (ap_need_key): resurrect and update for the New World Order
14880                 - (nm_device_wireless_get_activation_ap): if we're not given
14881                         security info to use, create some based on access point
14882                         capabilities
14883
14884         * src/nm-ap-security-wep.c
14885                 - (nm_ap_security_wep_new_from_ap): create a new object
14886                         based on a certain access point's capabilities
14887
14888         * src/nm-ap-security.c
14889                 - (nm_ap_security_new_from_ap): delegate creation of a new
14890                         object based on access point capabilities to a subclass
14891                 - (nm_ap_security_copy_properties): don't segfault if we
14892                         don't have a key yet
14893
14894         * src/nm-dbus-nm.c
14895                 - (nm_dbus_nm_set_active_device): provide more informative
14896                         output when errors occur.  Also construct security info
14897                         for a given access point if we weren't given any
14898
14899 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14900
14901         * configure.in: Added Lithuanian to ALL_LINGUAS.
14902
14903 2005-12-21  Dan Williams  <dcbw@redhat.com>
14904
14905         * test/libnm-util
14906                 - Add some testcases for WEP ciphers
14907
14908 2005-12-17  Dan Williams  <dcbw@redhat.com>
14909
14910         * Fix bugs
14911
14912 2005-12-17  Dan Williams  <dcbw@redhat.com>
14913
14914         * include/NetworkManager.h
14915                 - Finally kill NMEncKeyType
14916
14917         * gnome/applet/applet-dbus-info.c
14918                 - (nmi_save_network_info): convert to NMGConfWSO
14919
14920         * gnome/applet/nm-gconf-wso-*.c
14921                 - Implement gconf serialization functions
14922
14923         * src/NetworkManagerPolicy.c
14924                 - (nm_policy_activation_finish): fix up meaning of
14925                         automatic/user_requested
14926
14927 2005-12-17  Dan Williams  <dcbw@redhat.com>
14928
14929         * gnome/applet/*
14930                 - More applet cleanups
14931                 - Use the dbus-method-dispatcher
14932
14933         * libnm-util/dbus-method-dispatcher.[ch]
14934                 - Generalize the implementation from NM in
14935                         NetworkManagerUtils.c
14936
14937 2005-12-16  Dan Williams  <dcbw@redhat.com>
14938
14939         * gnome/applet/*
14940                 - Fix up the passphrase dialog to use all the
14941                         WirelessSecurityOption stuff (untested)
14942
14943 2005-12-16  Dan Williams  <dcbw@redhat.com>
14944
14945         * Move nm_gconf_get_*_helper() functions to separate files,
14946                 gconf-helpers.c & gconf-helpers.h
14947
14948         * New NMGConfWSO objects for managing the gconf side of things.
14949                 Eventually these should be merged with the
14950                 WirelessSecurityOption objects and a common base (that can
14951                 serialize/deserialize from dbus & gconf) should be
14952                 refactored out, but for now they are separate.
14953
14954 2005-12-16  Robert Love  <rml@novell.com>
14955
14956         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14957           binaries unless they exist (nm_spawn_process() emits a warning if
14958           asked to spawn a non-existant process).
14959
14960 2005-12-16  Dan Williams  <dcbw@redhat.com>
14961
14962         * gnome/applet/applet-dbus-info.c
14963                 - Clean up lots of gconf-related code
14964
14965 2005-12-16  Robert Love  <rml@novell.com>
14966
14967         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14968
14969 2005-12-16  Dan Williams  <dcbw@redhat.com>
14970
14971         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14972
14973         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14974                 bits still to be done)
14975
14976 2005-12-16  Dan Williams  <dcbw@redhat.com>
14977
14978         * Finally move info-daemon related stuff out of
14979                 NetworkManagerDbus.c to nm-dbus-nmi.c
14980
14981 2005-12-16  Dan Williams  <dcbw@redhat.com>
14982
14983         * Kill auth_method for access points, since that's now done
14984                 by NMAPSecurity objects
14985
14986         * Add a copy-constructor of sorts to NMAPSecurity
14987                 (how do you do this properly in glib???)
14988
14989 2005-12-15  Dan Williams  <dcbw@redhat.com>
14990
14991         * Exorcise encryption key hashing on APs
14992         * Use libnm-util's serialization/deserialization in both the
14993                 applet and NM
14994         * Random other stuff
14995
14996 2005-12-15  Robert Love  <rml@novell.com>
14997
14998         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14999           is being added to the icon naming spec, so let's use that (Tango CVS
15000           has the icon).  Because it is new, however, we fall back to the
15001           current "gnome-lockscreen" if the new icon is not around, thus
15002           behavior is the same.
15003         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
15004           factory junk.
15005
15006 2005-12-15  Robert Love  <rml@novell.com>
15007
15008         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
15009           well, help to give.  Couple other misc. bits.
15010
15011 2005-12-15  Dan Williams  <dcbw@redhat.com>
15012
15013         * libnm-util/dbus-helpers.[ch]
15014                 - Make this the one-stop-shop for serializing/deserializing
15015                         AP & connection security settings over dbus.  Both NM
15016                         and applets should use this to ensure consistent dbus
15017                         API going forwared.
15018
15019 2005-12-15  Robert Love  <rml@novell.com>
15020
15021         Patch by Timo Hoenig  <thoenig@suse.de>:
15022         * src/NetworkManagerDbus.c
15023                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
15024                         if HAL jumps off the system bus.  Otherwise libdbus
15025                         (dbus_connection_dispatch) will try to run the filter
15026                         function of our libhal context which is already freed.
15027
15028 2005-12-15  Alexander Shopov  <ash@contact.bg>
15029
15030         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
15031
15032 2005-12-14  Dan Williams  <dcbw@redhat.com>
15033
15034         * include/NetworkManager.h
15035           src/NetworkManagerWireless.c
15036                 - Rearrange 802.11 wireless-specific capabilities again
15037
15038         * src/Makefile.am
15039                 - Forgot to add wpa.c/wpa.h to the makefiles
15040
15041         * src/NetworkManagerAP.[ch]
15042                 - Implement access point capabilities and parse the
15043                         WPA/RSN IEs into the capability bitfield
15044                 - Switch the "encrypted" attribute to utilize the bitfield
15045                         and capabilities rather than being independent
15046
15047         * src/NetworkManagerDevice.c
15048                 - (nm_device_wireless_get_activation_ap): break it horribly
15049                         until we can push NMAPSecurity objects into access point
15050                         objects and through the activation chain
15051                 - Stuff WPA & RSN IEs into AP capabilities
15052
15053         * src/nm-dbus-nm.c
15054                 - Take a shot at actually making setActiveDevice work
15055
15056         * src/wpa.[ch]
15057                 - Make the API a bit saner
15058
15059 2005-12-14  Dan Williams  <dcbw@redhat.com>
15060
15061         * include/NetworkManager.h
15062                 - Add 802.11-specific capability for 802.1x key
15063                         management
15064
15065         * src/wpa.[ch]
15066                 - Pull in WPA IE and RSN IE parsing code from
15067                         wpa_supplicant so we can determine access point
15068                         capabilities
15069                 - Move WPA-related constants here from NetworkManagerAP.h
15070                         and NetworkManagerDevice.c
15071
15072         * src/NetworkManagerDevice.c
15073           src/NetworkManagerAP.[ch]
15074                 - Use WPA-related constants from wpa.h
15075
15076 2005-12-14  Dan Williams  <dcbw@redhat.com>
15077
15078         * include/NetworkManager.h
15079                 - Update and split 802.11 wireless-specific capabilities from
15080                         generic device capabilities
15081
15082         * src/NetworkManagerDevice.c
15083           src/NetworkManagerDevicePrivate.h
15084                 - (nm_device_wireless_discover_capabilities): Move 802.11
15085                         wireless-specific capability checks to
15086                         NetworkManagerWireless.c
15087                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15088                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15089
15090         * src/NetworkManagerWireless.[ch]
15091                 - (nm_802_11_wireless_discover_capabilities): Check extended
15092                         802.11 wireless-specific capabilities of the driver
15093
15094 2005-12-14  Robert Love  <rml@novell.com>
15095
15096         Patch from Stefan Scheler <sscheler@suse.de>:
15097         * src/NetworkManagerDevice.c: call backend code to activate and
15098           deactivate NIS.
15099         * src/NetworkManagerSystem.h: add new NIS interfaces.
15100         * src/backends/NetworkManagerDebian.c,
15101           src/backends/NetworkManagerGentoo.c,
15102           src/backends/NetworkManagerRedHat.c,
15103           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15104           support.
15105         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15106
15107 2005-12-14  Dan Williams  <dcbw@redhat.com>
15108
15109         * src/nm-ap-security*.[ch]
15110                 - Add AP security abstractions to NetworkManager
15111
15112         * src/nm-dbus-device.c
15113                 - Begin to parse new format dbus messages from the applet
15114                         and construct an AP security object from the message
15115
15116         * libnm-util/dbus-helpers.c
15117                 - Use message iters so we can append the key as a fixed
15118                         array of bytes, which actually works rather than
15119                         using dbus_message_append_args() as we were before
15120
15121 2005-12-14  Dan Williams  <dcbw@redhat.com>
15122
15123         * src/NetworkManagerDbus.c
15124           gnome/applet/applet-dbus.c
15125                 - Fix up dbus service replacement options.  The applet
15126                         should allow replacement, NM itself should not.
15127
15128 2005-12-13  Robert Love  <rml@novell.com>
15129
15130         * src/named-manager/nm-named-manager.c: Revert earlier commit.
15131           Instead, fail silently if config is NULL by not asserting and not
15132           returning FALSE.  Also, make sure we always fclose() the file.
15133
15134 2005-12-13  Robert Love  <rml@novell.com>
15135
15136         Patch by Stefan Scheler <sscheler@suse.de>:
15137         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
15138            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15139            via DHCP.  Still need the backends to commit the NIS domain name and
15140            and servers to yp.conf as needed.
15141
15142 2005-12-13  Robert Love  <rml@novell.com>
15143
15144         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15145           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15146
15147 2005-12-13  Robert Love  <rml@novell.com>
15148
15149         * src/named-manager/nm-named-manager.c: Don't unref the config until
15150           after we call rewrite_resolv_conf(), because get_last_default_domain()
15151           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
15152           `config != NULL' failed" assertion failures and "Could not commit DNS
15153           changes" warnings.
15154
15155 2005-12-12  Dan Williams  <dcbw@redhat.com>
15156
15157         * libnm-util/dbus-helpers.[ch]
15158           libnm-util/Makefile.am
15159                 - new helper calls to consolidate locations where
15160                         NM's setDevice method is called
15161
15162         * gnome/applet/applet-dbus-devices.c
15163           gnome/applet/wireless-security-option.c
15164           gnome/applet/wso-*
15165                 - Implement dbus message param append function for
15166                         all wireless security options
15167
15168 2005-12-12  Robert Love  <rml@novell.com>
15169
15170         * libnm-util/cipher-wep-passphrase.c,
15171           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15172           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15173           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15174           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15175           When handling keys, we don't care what the sign is.  The compiler
15176           guarantees us that we get our 8-bits, which is all we care about.
15177         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
15178
15179 2005-12-12  Dan Williams  <dcbw@redhat.com>
15180
15181         * gnome/applet/applet-dbus-devices.[ch]
15182           gnome/applet/applet.c
15183           gnome/applet/other-network-dialog.c
15184           gnome/applet/wireless-security-manager.[ch]
15185           gnome/applet/wireless-security-option.[ch]
15186           gnome/applet/wso-*
15187                 - Push the wireless security options further into the applet
15188
15189 2005-12-12  Robert Love  <rml@novell.com>
15190
15191         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15192           return any name servers.  That is perfectly valid.  (Novell #134369).
15193
15194 2005-12-11  Dan Williams  <dcbw@redhat.com>
15195
15196         * gnome/applet/wso-*
15197           gnome/applet/wireless-security-option.*
15198           gnome/applet/Makefile.am
15199                 - split each security option out so we can eventually
15200                         have each one build up their own dbus message
15201                         arguments to send to NM
15202
15203 2005-12-11  Dan Williams  <dcbw@redhat.com>
15204
15205         * Make validation of the key work correctly
15206
15207 2005-12-11  Dan Williams  <dcbw@redhat.com>
15208
15209         * Hook more bits of the Other Network Dialog up to the
15210                 wireless security manager stuff, and restructure
15211                 bits of the dialog so there's less code.
15212
15213 2005-12-10  Dan Williams  <dcbw@redhat.com>
15214
15215         * gnome/applet/Makefile.am
15216                 - Add libnm-util to includes
15217                 - Add libnm-util to link list
15218                 - Add wireless-security-common.* to compile list
15219
15220         * gnome/applet/other-network-dialog.c
15221                 - Convert to using the WirelessSecurityManager code and
15222                         widgets
15223
15224         * gnome/applet/passphrase-dialog.c
15225                 - Comment out references to stuff in the glade file that
15226                         cause runtime errors until it can be fixed up
15227                         to use the WirelessSecurityManager code
15228
15229         * gnome/applet/wireless-applet.glade
15230                 - Rename some widgets
15231                 - Add widgets for the WirelessSecurityManager code
15232                 - Remove passphrase-related stuff since that's now
15233                         handled by the WirelessSecurityManager code
15234
15235 2005-12-10  Dan Williams  <dcbw@redhat.com>
15236
15237         * gnome/applet/applet-dbus-devices.c
15238                 - Print out error message details for dbus pending call callbacks
15239                 - Move nmwa_dbus_update_devices() up
15240
15241         * gnome/applet/applet-dbus-vpn.c
15242                 - Print out error message details for dbus pending call callbacks
15243
15244 2005-12-10  Dan Williams  <dcbw@redhat.com>
15245
15246         * libnm-util/*
15247                 - More fixups
15248                 - Remove cipher-manager.* because we don't need it
15249                 - Forgot to add gnome-keyring-md5 files to compile list
15250
15251 2005-12-09  Dan Williams  <dcbw@redhat.com>
15252
15253         * libnm-util/*
15254           configure.in
15255           Makefile.am
15256                 - Add a utility library for clients of NetworkManager.  It's
15257                         only targetted at applets for the moment, and contains
15258                         a generalized 802.11 cipher framework for different
15259                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15260
15261 2005-12-09  Robert Love  <rml@novell.com>
15262
15263         * src/NetworkManagerDevice.c: handle error better in
15264           nm_device_set_mode().
15265
15266 2005-12-08  Robert Love  <rml@novell.com>
15267
15268         * include/NetworkManager.h: add WPA capabilities constants
15269         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15270           or WPA2 and add the capabilities bits as appropriate.
15271
15272 2005-12-08  Robert Love  <rml@novell.com>
15273
15274         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15275           NetworkManagerDispatcher.
15276         * configure.in, initscript/SUSE/.cvsignore,
15277           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15278           initscript.
15279
15280 2005-12-08  Robert Love  <rml@novell.com>
15281
15282         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15283
15284 2005-12-08  Robert Love  <rml@novell.com>
15285
15286         * src/NetworkManagerDevice.c: We want to fall back on and default to
15287           IW_MODE_AUTO, not -1, which is more in line with our previous
15288           behavior.  Otherwise, we try to set the wireless mode to -1 in
15289           nm_device_set_mode().
15290
15291 2005-12-07  Robert Love  <rml@novell.com>
15292
15293         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15294           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15295           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15296           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15297           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15298           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15299           zero.
15300
15301 2005-12-07  Robert Love  <rml@novell.com>
15302
15303         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15304           supplied IP is invalid, fall back to DHCP.
15305
15306 2005-12-07  Dan Williams  <dcbw@redhat.com>
15307
15308         * Convert NETWORK_MODE_* constants to IW_MODE_*
15309         * Make all the get_mode/set_mode functions take and return 'int'
15310         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15311
15312 2005-12-07  Robert Love  <rml@novell.com>
15313
15314         * src/NetworkManagerDevice.c: strncpy() buffer check.
15315         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15316
15317 2005-12-06  Dan Williams  <dcbw@redhat.com>
15318
15319         * gnome/applet/applet-dbus.c
15320                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15321
15322         * gnome/applet/applet-dbus-vpn.c
15323                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15324                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15325                         to TRUE here if stage was ACTIVATED
15326
15327 2005-12-06  Dan Williams  <dcbw@redhat.com>
15328
15329         * Change nm_device_is_* functions to better names:
15330                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15331                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15332
15333 2005-12-06  Dan Williams  <dcbw@redhat.com>
15334
15335         * Change naming of NMDeviceType to something more sensible:
15336                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15337                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15338                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15339
15340 2005-12-06  Dan Williams  <dcbw@redhat.com>
15341
15342         * Move NetworkManager.h -> include/NetworkManager.h
15343         * Split out VPN stuff into include/NetworkManagerVPN.h
15344         * Fix up makefiles to include new location
15345         * Fix up sources to include NetworkManagerVPN.h
15346
15347 2005-12-06  Dan Williams  <dcbw@redhat.com>
15348
15349         Various changes in the applet to move VPN connection "state" -> "stage",
15350         which it actually is.  I'd like to change the signal as well when we
15351         break compat in the near future.
15352
15353 2005-12-06  Dan Williams  <dcbw@redhat.com>
15354
15355         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15356         * initscript/Slackware/rc.networkmanager
15357                 - Cosmetic fix
15358
15359         * src/backends/NetworkManagerSlackware.c
15360                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15361                         interfaces
15362
15363 2005-12-05  Robert Love  <rml@novell.com>
15364
15365         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15366           to free, particularly here as it just barfs.
15367
15368 2005-12-05  Dan Williams  <dcbw@redhat.com>
15369
15370         * gnome/applet/applet-dbus.c
15371                 - Work with dbus 0.6 too
15372
15373 2005-12-03  Dan Williams  <dcbw@redhat.com>
15374
15375         * src/NetworkManagerUtils.[ch]
15376           src/nm-ip4-config.c
15377                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15378                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15379
15380 2005-12-01  Robert Love  <rml@novell.com>
15381
15382         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15383           need a NULL for the '...' parameter, too, to fill the so-called
15384           sentinel.
15385
15386 2005-12-01  Robert Love  <rml@novell.com>
15387
15388         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15389           interface is already gone, so don't call rtnl_link_change() to down
15390           it (which will segfault, anyhow).
15391
15392 2005-11-22  Robert Love  <rml@novell.com>
15393
15394         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15395           gateway is not set, just print a little note.  Configurations without
15396           gateways are valid.
15397
15398 2005-11-22  Robert Love  <rml@novell.com>
15399
15400         * README: update
15401
15402 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15403
15404         * configure.in: Added Finnish translation to ALL_LINGUAS
15405
15406 2005-11-14  Robert Love  <rml@novell.com>
15407
15408         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15409           Niemueller <tim@niemueller.de>.
15410
15411 2005-11-08  Dan Williams  <dcbw@redhat.com>
15412
15413         Patch from Bill Moss <bmoss@clemson.edu>
15414         * src/NetworkManagerDevice.c
15415                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15416                         of nm_policy_schedule_activation_finish() to prevent a
15417                         race condition that causes the link to be dropped
15418
15419 2005-11-08  Dan Williams  <dcbw@redhat.com>
15420
15421         Patch from Bill Moss <bmoss@clemson.edu>
15422         * src/NetworkManagerAPList.c
15423           src/NetworkManagerDevice.c
15424           src/NetworkManagerDbus.c
15425                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15426                         we get more readable ether/mac addresses
15427
15428 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15429
15430         * gnome/applet/main.c: Don't set the restart command.  This fixes
15431         the issue where the restart command was getting copies of all its
15432         arguments for each time the applet was restarted.
15433
15434 2005-11-02  Robert Love  <rml@novell.com>
15435
15436         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15437           if the widget state differs from our saved state.  This ensures we
15438           do not enter an endless loop of death and destruction.  Also, this
15439           guarantees us that we enforce the widget state.
15440
15441 2005-11-02  Robert Love  <rml@novell.com>
15442
15443         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15444         * gnome/applet/applet-dbus-devices.c: invoke the new function
15445           nmwa_enable_wireless_set_active() to ensure that the state of the
15446           'Enable Wireless' checkbox matches the daemon's state.  This is a
15447           concern because the daemon remembers the state.
15448
15449 2005-11-02  Robert Love  <rml@novell.com>
15450
15451         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15452           Enabled", as checkboxes should be actions/commands not positive
15453           statements, otherwise they are confusing in the unselected case.  See
15454           examples in GNOME HIG, Chapter 6.
15455
15456 2005-11-02  Robert Love  <rml@novell.com>
15457
15458         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15459           show a list of wireless networks or the wireless devices or the
15460           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15461           a bad bug: If wireless is disabled and the user picks a wireless
15462           network, NM will switch to the network, only to immediately switch
15463           back, as wireless is disabled.  This also reassures people that NM
15464           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15465
15466 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15467
15468         * gnome/applet/applet.c:
15469         * gnome/applet/applet.h:
15470         Partial backout of Dan's timeout animation patch.
15471         Timeout IDs cannot legally be 0, so revert the code in place to handle
15472         a timeout ID of 0 to denote the timeout isn't running.
15473
15474 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15475
15476         * src/NetworkManagerPolicy.c:
15477         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15478
15479 2005-10-28  Robert Love  <rml@novell.com>
15480
15481         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15482           "Import Saved Configuration..." to make it clear that importing is
15483           not the next step, but an option.  As an aside, a nice TODO would be
15484           to move Importing out of the vpn-specific dialog and into the main
15485           property editor, as Importing goes with Adding, but that will require
15486           some rearchitecting of the VPN stuff I suspect.
15487
15488 2005-10-27  Dan Williams  <dcbw@redhat.com>
15489
15490         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15491         we should replace most of the distro-specific backend code
15492         with libnl stuff.
15493
15494         Get it here:  http://people.suug.ch/~tgr/libnl/
15495
15496         * configure.in
15497           src/Makefile.am
15498                 - Add checks for libnl pkgconfig file
15499                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15500
15501         * src/NetworkManagerSystem.c
15502           src/nm-ip4-config.[ch]
15503                 - Use libnl rather than ioctl() for most things
15504                 - Remove unused functions
15505
15506 2005-10-27  Robert Love  <rml@novell.com>
15507
15508         * src/backends/NetworkManagerSuSE.c: fix warning message text
15509
15510 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15511
15512         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15513
15514 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15515
15516         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15517         project page <http://www.gnome.org/projects/NetworkManager/>
15518
15519 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15520
15521         * gnome/applet.c: Also use translator credits if we don't have
15522         the new GtkAboutDialog (older versions of GTK+)
15523
15524 2005-10-26  Robert Love  <rml@novell.com>
15525
15526         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15527           failure; correct usage text for "--no-daemon"
15528
15529 2005-10-25  Dan Williams  <dcbw@redhat.com>
15530
15531         * src/NetworkManagerDevice.c
15532                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15533                         no scan results
15534                 - (free_process_scan_cb_data): unref the device when freeing results
15535                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15536                         so we don't unref the device underneath ourselves
15537
15538 2005-10-25  Dan Williams  <dcbw@redhat.com>
15539
15540         * Back out 2005-10-24 commit from Tor Krill.  Patch
15541                 causes nameservers never to be removed from named.
15542
15543 2005-10-24  Dan Williams  <dcbw@redhat.com>
15544
15545         Clean up wireless scanning and wireless link probing.
15546
15547         * src/NetworkManagerDevice.c
15548                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15549                         just see if there's an activation request on the device, and check the
15550                         current link against the activation request access point's ESSID.
15551                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15552                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15553                         don't call process_scan_results() on zero-length data
15554                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15555                         15 seconds (from 10)
15556
15557 2005-10-24  Dan Williams  <dcbw@redhat.com>
15558
15559         Cleanup some applet stuff:
15560
15561         - Animation timeouts.  If NM died while the applet was animating,
15562                 the applet would not hide itself.  This is now fixed.
15563
15564         - Remove some dead code
15565
15566         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15567                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15568
15569         - Track animation timeout using a gboolean rather than the timeout's
15570                 ID, since timeout IDs can legally be 0.
15571
15572 2005-10-24  Dan Williams  <dcbw@redhat.com>
15573
15574         * src/backends/interface_parser.c
15575                 - Add void to function declarations that need it
15576                         to match patch from Engin AYDOGAN
15577
15578         * src/backends/interface_parser.h
15579                 - Remove unused prototype for ifparser_interfaces()
15580
15581         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15582         * src/backends/interface_parser.h:
15583                 - Compile fixes for gcc 4.0.2 (add void)
15584
15585 2005-10-24  Dan Williams  <dcbw@redhat.com>
15586
15587         Patch from Tor Krill <tor@krill.nu>
15588         * src/named-manager/nm-named-manager.c
15589                 - Write more than just the first nameserver to /etc/resolv.conf
15590                 - Write out valid /etc/resolv.conf on exit
15591
15592 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15593
15594         * gnome/applet/applet-dbus-vpn.c:
15595         Get rid of spurious newlines in debug console output
15596
15597 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15598
15599         * src/backends/NetworkManagerGentoo.c:
15600         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15601
15602 2005-10-20  Robert Love  <rml@novell.com>
15603
15604         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15605           direct comparison of floating point values, which is never correct.
15606           Also some misc. cleanup.
15607
15608 2005-10-19  Robert Love  <rml@novell.com>
15609
15610         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15611
15612 2005-10-19  Robert Love  <rml@novell.com>
15613
15614         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15615           sensitivity of the buttons.  Specificaly, do the right thing if
15616           there are no entries.
15617
15618 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15619
15620         * configure.in: Update check for adequate wireless-tools
15621         with an AC_TRY_COMPILE for the new symbols we use.
15622
15623 2005-10-19  Dan Williams  <dcbw@redhat.com>
15624
15625         * src/NetworkManagerDevice.c
15626                 - (process_scan_results): don't drop the last (or only)
15627                         access point we see
15628
15629 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15630
15631         * src/backends/NetworkManagerSlackware.c:
15632         Patch from Nico <lordllucifer@gmail.com>
15633                 - Update the Slackware backend.
15634
15635 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15636
15637         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15638         if we've got GLib 2.8.0
15639
15640 2005-10-18  Robert Love  <rml@novell.com>
15641
15642         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15643           function nm_schedule_state_change_signal_broadcast() when we
15644           deactivate a device, too.
15645
15646 2005-10-18  Robert Love  <rml@novell.com>
15647
15648         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15649           be used uninitialized.
15650
15651 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15652
15653         * test/libnm_glib_test.c: Test unregistering, too.
15654
15655 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15656
15657         * configure.in: Bump to 0.5.0
15658
15659 2005-10-17  Dan Williams  <dcbw@redhat.com>
15660
15661         * NetworkManager.h
15662                 - Remove WPA-related constants so they aren't part of the
15663                         upcoming release.
15664
15665 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15666
15667         * gnome/applet/applet.c:
15668         * gnome/applet/applet.h:
15669         Desensitize the 'Connection Information' menu item when there is
15670         no active connection.
15671
15672 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15673
15674         * gnome/libnm_glib/libnm_glib.c:
15675         Make libnm_glib_unregister_callback () actually unregister the callback
15676
15677 2005-10-17  Robert Love  <rml@novell.com>
15678
15679         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15680           two seconds -- tries is updated every 1/10 of a second, not every
15681           second..
15682
15683 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15684
15685         * gnome/applet/applet-dbus-info.c:
15686         Let D-BUS know that we haven't handled a message when we haven't.
15687
15688 2005-10-17  Robert Love  <rml@novell.com>
15689
15690         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15691           in order to remain 64-bit clean.
15692
15693 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15694
15695         * gnome/applet/applet-dbus-info.c:
15696         Find network encryption keys asynchronously
15697
15698 2005-10-17  Robert Love  <rml@novell.com>
15699
15700         * src/backends/NetworkManagerDebian.c,
15701           src/backends/NetworkManagerRedHat,
15702           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15703           comment delimiter.
15704
15705 2005-10-17  Robert Love  <rml@novell.com>
15706
15707         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15708           "/etc"
15709
15710 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15711
15712         * src/NetworkManagerDevice.c: (process_scan_results)
15713         Fix logic that checks to see whether we have an ESSID.
15714
15715 2005-10-15  Dan Williams  <dcbw@redhat.com>
15716
15717         Move scanning code into NetworkManager rather than use iwlib's
15718         iw_scan() function, so that we can figure out AP capabilities.
15719
15720         * NetworkManager.h
15721                 - Add AP capability bits
15722
15723         * src/NetworkManagerAP.[ch]
15724                 - Add capability field to NMAccessPoint structure
15725                 - Add WPA & RSN Information Element fields and accessor
15726                         functions to NMAccessPoint
15727
15728         * src/NetworkManagerDevice.c
15729                 - Remove usage of iw_scan
15730                 - Add scanning code to NetworkManager rather than use
15731                         iw_scan() from iwlib
15732
15733         * src/NetworkManagerUtils.[ch]
15734                 - (nm_dispose_scan_results): remove, unused
15735
15736 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15737
15738         * gnome/libnm_glib/libnm_glib.c:
15739         * gnome/libnm_glib/libnm_glib.h:
15740         Use guint instead of gint for callback IDs.
15741
15742 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15743
15744         * gnome/applet/applet.c:
15745         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15746         every 1000ms.  It will unconditionally call nmwa_update_state which
15747         kills the existing animation timeout and registers a new one with a
15748         callback to draw a new frame every 100ms.  There are 11 connecting
15749         icon frames, so the last 2 frames kept getting dropped.  Only reset
15750         the animation timeout if we aren't animating.
15751
15752 2005-10-11  Dan Williams  <dcbw@redhat.com>
15753
15754         * gnome/applet/applet-dbus-devices.c
15755                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15756                         We want to grab the product & vendor from net.physical_dev
15757                         rather than info.parent.
15758
15759 2005-10-11  Dan Williams  <dcbw@redhat.com>
15760
15761         * src/NetworkManagerDevice.c
15762                 - Use the driver's WE version for scanning rather than
15763                         the WE version NM was compiled with.  Fixes random
15764                         crashes in iw_scan () in iwlib.
15765
15766 2005-10-10  Dan Williams  <dcbw@redhat.com>
15767
15768         * Remove nm_system_load_device_modules() from backend files
15769                 and from NetworkManager.c
15770
15771 2005-10-10  Dan Williams  <dcbw@redhat.com>
15772
15773         * src/NetworkManagerPolicy.c
15774                 - Fix some bugs introduced by the capabilities patch
15775
15776 2005-10-10  Dan Williams  <dcbw@redhat.com>
15777
15778         * gnome/applet/applet-dbus-info.c
15779                 - (nmi_dbus_get_network_key): hide the menu when putting up
15780                         the keyring dialog.  (not sure if the code is right...)
15781
15782 2005-10-09  Dan Williams  <dcbw@redhat.com>
15783
15784         Patch from Bill Moss <bmoss@clemson.edu>
15785         * src/NetworkManagerDevice.c
15786                 - (nm_device_set_user_key_for_network): don't try to set auth
15787                         mode on the AP from the allowed list if it's NULL
15788
15789 2005-10-09  Dan Williams  <dcbw@redhat.com>
15790
15791         * Replace the "driver support level" stuff with capabilities.  The
15792                 capability field is a bitfield that is more flexible than the
15793                 old driver support level thing.  It's mostly so we can easily
15794                 figure out what supports WPA and what doesn't, but should be
15795                 quite useful later.
15796
15797 2005-10-09  Dan Williams  <dcbw@redhat.com>
15798
15799         * test/nmtest.c
15800                 - Removed
15801
15802         * test/nm-tool.c
15803           test/Makefile.am
15804                 - Added new "nm-tool" tool that gives quite a bit more
15805                         information
15806
15807 2005-10-07  Robert Love  <rml@novell.com>
15808
15809         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15810           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15811           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15812           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15813           appropriate
15814
15815 2005-10-07  Robert Love  <rml@novell.com>
15816
15817         * configure.in: Change our compile flags for the betterment of mankind.
15818           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15819           prototype is very bad on 64-bit platforms as types default to int but
15820           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15821           "-Wmissing-declarations" to warn if we define an exported function
15822           but fail to put it in a header.
15823
15824 2005-10-07  Robert Love  <rml@novell.com>
15825
15826         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15827           by the name nm_update_device_wireless_timeouts() and once tried,
15828           without success, to steal my pet turtle.
15829
15830 2005-10-07  Robert Love  <rml@novell.com>
15831
15832         * Cleanup prototypes: put some functions in header files and mark
15833           others as 'static' -- feel free to invert
15834         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15835           nm_vpn_manager_vpn_connection_list_copy()
15836         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15837           nm_vpn_service_get_dbus_connection()
15838         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15839           nm_vpn_manager_vpn_connection_list_copy()
15840         * src/vpn-manager/nm-vpn-service.c: make
15841           nm_vpn_service_act_request_failed() and
15842           nm_vpn_service_stage2_daemon_wait() static
15843         * src/vpn-manager/nm-vpn-service.h: add prototype for
15844           nm_vpn_service_get_dbus_connection()
15845
15846 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15847
15848         * gnome/applet/applet.c:
15849         * gnome/applet/applet.h:
15850         * gnome/applet/icons/Makefile.am:
15851         Convey information about the current connection stage in the
15852         icons themselves instead of creating a separate progress bar.
15853
15854 2005-10-04  Robert Love  <rml@novell.com>
15855
15856         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15857           convert an ether_addr structure's MAC into a string, because the
15858           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15859           versus 07:3B:04, while the former will not.
15860
15861 2005-10-04  Robert Love  <rml@novell.com>
15862
15863         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15864           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15865           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15866           default route in the 'Connection Information' dialog, send primary
15867           and secondary name servers in in "getProperties" DBUS method, add
15868           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15869           secondary domain name servers are crucial pieces of information
15870           that a user might need in debugging a network problem.
15871
15872 2005-10-04  Robert Love  <rml@novell.com>
15873
15874         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15875           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15876           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15877           default route in the 'Connection Information' dialog, send default
15878           route in "getProperties" DBUS method, add network_device_set_route(),
15879           and network_device_get_route().  The Gateway is a crucial piece of
15880           connection-related information that a user might need in debugging a
15881           network problem.
15882
15883 2005-10-03  Robert Love  <rml@novell.com>
15884
15885         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15886           NULL.
15887
15888 2005-10-02  Dan Williams  <dcbw@redhat.com>
15889
15890         * Shorten time taken to sleep by fastpathing bits of device deactivation
15891                 necessary for sleep.
15892
15893         * Fix issue where deactivating a device might deactivate the active
15894                 VPN connection, even if the VPN was not using the device.
15895
15896 2005-10-02  Dan Williams  <dcbw@redhat.com>
15897
15898         * gnome/applet/applet.c
15899                 - Adjust signal strength -> icon mapping values slightly
15900                         (so that 51% signal doesn't show a 75% icon) by adding
15901                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15902                         shows 50% icon, etc.
15903
15904 2005-09-29  Robert Love  <rml@novell.com>
15905
15906         * src/NetworkManager.c: removed unused variable.
15907
15908 2005-09-28  Dan Williams  <dcbw@redhat.com>
15909
15910         Support for named + DBus, using Red Hat DBus patches for named.  You
15911         can find those patches here, with "dbus" in the patch's filename:
15912
15913                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15914
15915         Don't forget the named dbus service file either.
15916
15917         Instead of writing a config file and spawing a named process, NM will
15918         use an already-running dbus-enabled named if it finds one.  NM will
15919         update named's forwarder configuration on the fly using dbus.
15920
15921         If there is no dbus-enabled named running, NM will automatically fall
15922         back to writing the most-recent DNS server information to /etc/resolv.conf
15923         and calling nm_system_update_dns() to kick the system's resolver.
15924
15925         Accordingly, all named-related configure-time options have been removed.
15926
15927 2005-09-26  Robert Love  <rml@novell.com>
15928
15929         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15930           ISDN support!
15931         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15932           bug in error path if "ASKPASSWORD" is "no".
15933
15934 2005-09-26  Robert Love  <rml@novell.com>
15935
15936         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15937           comment in /etc/resolv.conf -- ';' is not.
15938
15939 2005-09-19  Dan Williams  <dcbw@redhat.com>
15940
15941         * src/backends/NetworkManagerRedHat.c:
15942         * src/backends/NetworkManagerDebian.c:
15943         * src/backends/NetworkManagerSlackware.c:
15944         * src/backends/NetworkManagerGentoo.c:
15945         * src/backends/NetworkManagerSUSE.c:
15946         Fix invocations of "/sbin/ip address" to use short form instead
15947
15948 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15949
15950         * src/nm-dbus-device.c: Don't assert when getting
15951         addresses of a not yet connected interface.
15952
15953         * gnome/applet/applet.c: Free icons if loading fails.
15954         Use translator-credits so translators can make themselves known.
15955
15956 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15957
15958         * src/NetworkManagerAP.c:
15959         * src/NetworkManagerAP.h:
15960         * src/NetworkManagerDevice.c:
15961         Set a blacklist for certain common manufacturer default ESSIDs:
15962         APs with these ESSIDs are extremely likely to be completely
15963         different networks: connecting to one should not make NM
15964         auto-connect to every other AP with the same default ESSID.
15965
15966 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15967
15968         * gnome/applet/wireless-applet.glade:
15969         The passphrase entry should also activate the default
15970
15971         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15972
15973         * gnome/applet/applet-dbus-devices.c:
15974         * gnome/applet/applet.c:
15975         * gnome/applet/nm-device.c:
15976         * gnome/applet/nm-device.h:
15977         * src/NetworkManagerUtils.c:
15978         * src/NetworkManagerUtils.h:
15979         * src/nm-dbus-device.c:
15980         I've got a fever, and the only cure for it is less ioctl.
15981         Make NM push IP data rather than make the applet open a socket
15982         to the device.
15983
15984 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15985
15986         * gnome/applet/applet.c:
15987         * gnome/applet/applet-dbus-devices.c:
15988         * gnome/applet/applet-dbus-info.c:
15989         * gnome/applet/passphrase-dialog.c:
15990         * gnome/libnm_glib/libnm_glib.c:
15991         * gnome/vpn-properties/nm-vpn-properties.c:
15992         * src/autoip.c:
15993         * src/backends/NetworkManagerRedHat.c:
15994         * src/named-manager/nm-named-manager.c:
15995         * src/NetworkManagerAPList.c:
15996         * src/NetworkManager.c:
15997         * src/NetworkManagerDbus.c:
15998         * src/NetworkManagerDevice.c:
15999         * src/NetworkManagerPolicy.c:
16000         * src/NetworkManagerSystem.c:
16001         * src/nm-dbus-device.c:
16002         * src/nm-dbus-nm.c:
16003         * src/vpn-manager/nm-vpn-manager.c:
16004         * src/vpn-manager/nm-vpn-service.c:
16005         * test/libnm_glib_test.c:
16006         * test/nminfotest.c:
16007         * test/nmtestdevices.c:
16008         Fix a bunch of 'unused variable' compiler warnings
16009
16010         * NetworkManager.h:
16011         * gnome/applet/applet-dbus-info.c:
16012         * gnome/applet/applet-dbus-info.h:
16013         * gnome/applet/applet.c:
16014         * gnome/applet/applet.h:
16015         * src/NetworkManager.c:
16016         * src/NetworkManagerDbus.c:
16017         * src/NetworkManagerDbus.h:
16018         * src/NetworkManagerDevice.c:
16019         * src/NetworkManagerDevice.h:
16020         * src/NetworkManagerMain.h:
16021         * src/NetworkManagerWireless.c:
16022         * src/NetworkManagerWireless.h:
16023         * src/nm-dbus-nm.c:
16024         Make NetworkManager be smart about how frequently to scan
16025         based on its current state.  Remove the UI for choosing when
16026         to scan.  Scanning still may disabled completely by the user
16027         via the "Wireless Enabled" menu item.
16028
16029 2005-09-09  Christopher Aillon  <caillon@redhat.com>
16030
16031         * gnome/applet/applet.c:
16032         Also overlay the vpn connecting icons onto the wired icon,
16033         when appropriate.
16034
16035         * gnome/vpn-properties/nm-vpn-properties.glade:
16036         Clean up a few strings to use better grammar and proper casing.
16037
16038 2005-09-08  Christopher Aillon  <caillon@redhat.com>
16039
16040         * gnome/applet/vpn-connection.c:
16041         * gnome/applet/vpn-connection.h:
16042         Add nmwa_vpn_connection_is_activating ()
16043
16044         * gnome/applet/applet.c:
16045         * gnome/applet/applet.h:
16046         * gnome/applet/icons/nm-vpn-connecting*.png:
16047         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16048         the user know something's happening between clicking the VPN item and it
16049         actually being connected.
16050
16051 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16052
16053         * gnome/applet/applet-dbus-info.c: need to free attributes in the
16054         failure case as well.
16055
16056 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
16057
16058         * gnome/panel/eggtrayicon.[ch]:
16059         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16060
16061 2005-09-07  Dan Williams  <dcbw@redhat.com>
16062
16063         Patch from Bill Moss <bmoss@clemson.edu>
16064         * src/applet-dbus.c
16065                 - (nmwa_dbus_filter): strip whitespace from beginning
16066                         and end of VPN login banner
16067
16068 2005-09-07  Dan Williams  <dcbw@redhat.com>
16069
16070         * The great VPN Manager rewrite of 2005
16071
16072 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16073
16074         * gnome/applet/menu-items.c:
16075         * gnome/applet/nm-device.c:
16076         * gnome/applet/wireless-network.c:
16077         * gnome/libnm_glib/libnm_glib.c:
16078         * src/NetworkManagerDbusUtils.c:
16079         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16080         g_malloc0 doesn't return NULL
16081
16082 2005-09-06  Dan Williams  <dcbw@redhat.com>
16083
16084         Patch from Tomislav Vujec <tvujec@redhat.com>
16085         * src/NetworkManagerDevice.c
16086                 - (nm_get_device_by_udi): don't return a device when we
16087                         actually didn't find what we were looking for
16088
16089 2005-09-06  Christopher Aillon  <caillon@redhat.com>
16090
16091         * gnome/applet/applet-dbus-devices.c:
16092         * gnome/applet/applet-dbus-devices.h:
16093         * gnome/applet/applet-dbus.c:
16094         * src/NetworkManagerDbus.c:
16095         * src/NetworkManagerDbus.h:
16096         * src/NetworkManagerDevice.c:
16097         * src/nm-dbus-device.c:
16098         Make NM push updates about active device strength when it changes,
16099         rather than having the applet poll every 2s.
16100
16101 2005-09-05  Christopher Aillon  <caillon@redhat.com>
16102
16103         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16104         network_device_set_strength
16105
16106 2005-09-04  Dan Williams  <dcbw@redhat.com>
16107
16108         Patch from Bill Nottingham <notting@redhat.com>
16109         * src/NetworkManagerDevice.c
16110                 - (nm_device_activation_cancel): reset the quit_activation flag
16111
16112 2005-09-04  Dan Williams  <dcbw@redhat.com>
16113
16114         * src/nm-activation-request.c
16115                 - (nm_act_request_unref): actually free the structure,
16116                         which we didn't seem to be doing before
16117
16118 2005-09-04  Dan Williams  <dcbw@redhat.com>
16119
16120         Patch from John Palmieri <johnp@redhat.com>
16121         * gnome/applet/applet-dbus-devices.c
16122                 - Fix up unreffing of DBusMessage objects
16123
16124 2005-09-04  Dan Williams  <dcbw@redhat.com>
16125
16126         Patch from John Palmieri <johnp@redhat.com>
16127         * gnome/applet/nm-device.c
16128                 - (nm_device_unref): clear network_device's memory _before_ freeing it
16129
16130 2005-09-02  Christopher Aillon  <caillon@redhat.com>
16131
16132         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16133
16134 2005-09-02  Bill Nottingham  <notting@redhat.com>
16135
16136         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16137
16138 2005-09-01  Dan Williams  <dcbw@redhat.com>
16139
16140         * src/NetworkManager.c
16141                 - (nm_remove_device_from_list): rename to nm_remove_device
16142                 - (nm_hal_device_removed): call nm_remove_device()
16143
16144         * src/NetworkManagerDevice.c
16145                 - Change the NMWirelessScanCB member 'reschedule' which
16146                         wasn't used to 'force' to indicate that we need to
16147                         force a scan when adding a device
16148
16149         * src/nm-dbus-nm.c
16150                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16151                         from the device list
16152                 - (nm_dbus_nm_wake): Re-add all devices to the device list
16153
16154 2005-09-01  Robert Love  <rml@novell.com>
16155
16156         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16157           and the check "!iface" in the error case is probably never true.
16158
16159 2005-09-01  Dan Williams  <dcbw@redhat.com>
16160
16161         Patch from Bill Nottingham <notting@redhat.com>
16162         * src/backends/NetworkManagerRedHat.c
16163                 - Add initial dialup support to Red Hat/Fedora backend
16164
16165 2005-09-01  Dan Williams  <dcbw@redhat.com>
16166
16167         * gnome/applet/applet-dbus-devices.c
16168                 - Sort both wireless networks and devices again, which got
16169                         broken when removing threading
16170
16171 2005-09-01  Christopher Aillon  <caillon@redhat.com>
16172
16173         * gnome/applet/applet.c:
16174         Only show the "Stop/Start All Wireless Devices" menuitem
16175         if we actually have wireless devices.
16176
16177         * gnome/applet/applet-dbus-info.c:
16178         * gnome/applet/applet.c:
16179         * gnome/applet/other-network-dialog.c:
16180         * gnome/applet/vpn-password-dialog.c:
16181         Drop the gtk_dialog_run () calls in favor of connecting to
16182         "response" signals, needed now that the applet is not threaded.
16183
16184 2005-08-31  Dan Williams  <dcbw@redhat.com>
16185
16186         Patch from Bill Moss <bmoss@clemson.edu>
16187         * src/NetworkManagerDevice.c
16188                 - (nm_device_wireless_scan): fix scan timeout values
16189
16190 2005-08-30  Dan Williams  <dcbw@redhat.com>
16191
16192         * gnome/applet/wireless-applet.glade
16193                 - HIG-ify the Other Wireless Networks dialog a bit more
16194                 - Fix some potential segfaults in the info dialog
16195
16196 2005-08-30  Dan Williams  <dcbw@redhat.com>
16197
16198         * gnome/applet/applet-dbus-devices.c
16199                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16200
16201 2005-08-30  Dan Williams  <dcbw@redhat.com>
16202
16203         * gnome/applet/applet-dbus.[ch]
16204                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16205                         they weren't being used anyway
16206
16207 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16208
16209         * test/nmtestdevices.c: (print_usage), (main):
16210         Check the number of arguments, and fix a typo
16211
16212 2005-08-29  Dan Williams  <dcbw@redhat.com>
16213
16214         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16215         * gnome/applet/applet.c
16216                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16217
16218 2005-08-29  Dan Williams  <dcbw@redhat.com>
16219
16220         * gnome/applet/*
16221                 - Don't use threads any more.  Anything that blocks
16222                         (like gtk_dialog_run()) will  have to get fixed up which
16223                         should happen quickly.  We really only had threads to make
16224                         the animation smooth, and when everything got converted over
16225                         to DBus Pending Calls, the need for threads kind of went away
16226
16227 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16228
16229         * gnome/applet/applet.c: Draw VPN connections as radio items
16230         since we don't yet support multiple VPNs.
16231         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16232         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16233
16234 2005-08-29  Dan Williams  <dcbw@redhat.com>
16235
16236         Patch from j@bootlab.org
16237         - Make --without-named work
16238         - Make --with-dhcdbd work correctly
16239
16240 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16241
16242         * configure.in: Added "ca" to ALL_LINGUAS.
16243
16244 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16245
16246         * Fix up VPN state handling between the applet and NetworkManager,
16247                 so that the applet doesn't show a VPN as connected when one
16248                 really is not
16249                         - The applet no longer has a pointer to the active VPN's
16250                                 name, but tracks each VPNs state individually
16251                         - NM no longer has a "getActiveVPNConnection" method
16252                         - NM no longer broadcasts the "VPNConnectionChange" signal
16253                         - NM now broadcasts a "VPNConnectionStateChange" signal
16254                                 whenever the state of a VPN changes
16255
16256 2005-08-26  Dan Williams <dcbw@redhat.com>
16257
16258         * gnome/applet/applet-dbus-devices.c
16259           gnome/applet/applet-dbus-vpn.c
16260                 - Remove calls to dbus_pending_call_ref() because we already
16261                         "own" the pending call
16262                 - Remove calls to dbus_pending_call_get_completed() because
16263                         when we are in the callback, the pending call is completed
16264                         by definition
16265
16266 2005-08-22  Dan Williams <dcbw@redhat.com>
16267
16268         Patch by Bill Moss <bmoss@clemson.edu>
16269         * src/dhcp-manager/nm-dhcp-manager.c
16270                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16271                         some time to send out a RELEASE if they like
16272
16273 2005-08-22  Dan Williams <dcbw@redhat.com>
16274
16275         Noticed by Bill Moss <bmoss@clemson.edu>
16276         * src/NetworkManagerDbus.c
16277                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16278                         instead of just cancelling its activation
16279
16280         * src/NetworkManagerDevice.c
16281                 - (nm_device_deactivate): some small cleanups
16282                 - (nm_device_set_user_key_for_network): deactivate the device
16283                         instead of just cancelling its activation
16284
16285 2005-08-22  Dan Williams <dcbw@redhat.com>
16286
16287         Noticed by Bill Moss <bmoss@clemson.edu>
16288         * src/NetworkManagerDevice.c
16289                 - (nm_device_wireless_scan): fix scan timeout, we were
16290                         waiting way too long for scans to complete
16291
16292 2005-08-22  Dan Williams <dcbw@redhat.com>
16293
16294         Patch from j@bootlab.org:
16295         * src/backends/NetworkManagerDebian.c
16296                 - Make the Debian backend work for static IP again
16297
16298 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16299
16300         * gnome/applet/other-network-dialog.c:
16301         The "Create New Network" and "Connect to Other Network"
16302         dialogs share alot of code, but shouldn't share a window
16303         title.  Give them different ones.
16304
16305         * gnome/applet/wireless-applet.glade:
16306         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16307         Some more minor UI tweaks.
16308
16309 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16310
16311         * gnome/applet/other-network-dialog.c:
16312         * gnome/applet/wireless-applet.glade:
16313         Also need mnemonic widgets, and underline enabled.
16314
16315 2005-08-19  Dan Williams <dcbw@redhat.com>
16316
16317         * vpn-daemons/vpnc/nm-vpnc-service.c
16318                 - (vpnc_watch_cb): remove no-longer-relevant comment
16319                 - (write_config_option): new function, helper to write
16320                         config options to vpnc's stdin
16321                 - (nm_vpnc_config_write): use the new helper, make the
16322                         code shorter
16323
16324 2005-08-19  Christopher Aillon <caillon@redhat.com>
16325
16326         * gnome/applet/passphrase-dialog.c:
16327         * gnome/applet/wireless-applet.glade:
16328         Make the passphrase dialog response based, and treat
16329         responses other than OK (such as Esc, [X]) as a cancel.
16330
16331 2005-08-18  Christopher Aillon <caillon@redhat.com>
16332
16333         * initscript/Gentoo/NetworkManager:
16334         * initscript/RedHat/NetworkManager:
16335         * initscript/RedHat/NetworkManagerDispatcher:
16336         * initscript/SUSE/networkmanager:
16337         CVS remove these in place of .in replacements
16338
16339         * configure.in:
16340         * initscript/Gentoo/NetworkManager.in:
16341         * initscript/RedHat/NetworkManager.in:
16342         * initscript/RedHat/NetworkManagerDispatcher.in:
16343         * initscript/SUSE/networkmanager.in:
16344         These scripts now are generated so they work still when
16345         NM is built using a bindir other than /usr/bin
16346
16347 2005-08-18  Dan Williams <dcbw@redhat.com>
16348
16349         * gnome/applet/main.c
16350                 - Revert previous change for --no-session since
16351                         --sm-disable does the same thing
16352
16353 2005-08-18  Dan Williams <dcbw@redhat.com>
16354
16355         * gnome/applet/applet-dbus-info.c
16356                 - (nmi_dbus_create_error_message): new function
16357                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16358                         functions.  Also don't check for both device _and_ network before
16359                         asking for a user's key, because we may not have gotten all our
16360                         networks back from NM quite yet (due to the dbus pending calls
16361                         coming in later).  Fixes a hang in NM/nm-applet.
16362
16363         * src/NetworkManagerDbus.c
16364                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16365                         slightly more sane manner, even though we are still broken for
16366                         certain other error conditions.
16367                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16368                         to the info-daemon too
16369
16370         * src/NetworkManagerDevice.c
16371                 - Fix some debug messages to be info messages instead
16372
16373 2005-08-18  Dan Williams <dcbw@redhat.com>
16374
16375         * gnome/applet/main.c
16376                 - Add new "--no-session" parameter that disables applet
16377                         session management, ie for testing
16378
16379 2005-08-18  Christopher Aillon <caillon@redhat.com>
16380
16381         * gnome/applet/other-network-dialog.c:
16382         * gnome/applet/wireless-applet.glade: More mnemonics
16383
16384 2005-08-17  Robert Love  <rml@novell.com>
16385
16386         * initscript/SUSE/networkmanager: update
16387
16388 2005-08-17  Dan Williams  <dcbw@redhat.com>
16389
16390         * Tag NM_0_4_1_RELEASE
16391
16392 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16393
16394         * gnome/applet/applet.c: More translatable string cleanup
16395
16396
16397 2005-08-17  Dan Williams  <dcbw@redhat.com>
16398
16399         * gnome/applet/applet-dbus-info.c
16400                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16401                         from the dbus message, which tells us to unconditionally
16402                         ask the user for a new key.  Otherwise, we pull the key from
16403                         the keyring and return it.  If we fail to get the key from the
16404                         keyring, we ask the user for a new key.
16405                 - (nmi_dbus_get_network_key): new function to grab the key for
16406                         an essid from the keyring.
16407                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16408                         Also, don't return any key in the dbus message.
16409
16410         * src/NetworkManagerDbus.[ch]
16411                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16412                         indicate that we unconditionally want a new key.  This function
16413                         is now also used to get keys from the info-daemon which are
16414                         pre-stored, not just for asking the user for a new key.  The
16415                         "new_key" parameter indicates whether or not we wish to ask the
16416                         user for a new key.
16417                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16418                         info-daemon in the return message, so use NULL instead.  The
16419                         key will be filled in at connect time by calling
16420                         nm_dbus_get_user_key_for_network()
16421
16422         * src/NetworkManagerDevice.c
16423                 - (nm_device_wireless_configure): update for "new_key" param to
16424                         nm_dbus_get_user_key_for_network().  We initially set new_key
16425                         to FALSE to see if we have a stored key in the info-daemon, but
16426                         if the connection is unsuccessful at this stage we request a
16427                         new one
16428
16429 2005-08-17  Dan Williams  <dcbw@redhat.com>
16430
16431         * gnome/applet/icons/nm-no-connection.png
16432           gnome/applet/icons/nm-device-wired.png
16433                 - Use Diana's new RJ45 connector icons
16434
16435 2005-08-17  Dan Williams  <dcbw@redhat.com>
16436
16437         * src/NetworkManagerPolicy.c
16438                 - (nm_policy_device_change_check): clarify switching rules if
16439                         both new and old devices are valid; mainly, don't switch
16440                         away from user-requested wireless connection back to a wired
16441                         one
16442
16443 2005-08-17  Dan Williams  <dcbw@redhat.com>
16444
16445         * gnome/applet/Makefile.am
16446                 - Relocate the applet to /usr/bin since it is no longer
16447                         executed by anything, but directly by the user
16448
16449 2005-08-17  Dan Williams  <dcbw@redhat.com>
16450
16451         Patch from Bill Moss <bmoss@clemson.edu>
16452
16453         * gnome/applet/applet-dbus-info.[ch]
16454                 - (nmi_save_network_info): save timestamp for network if it
16455                         was a change requested by the user
16456                 - (nmi_dbus_update_network_info): get user_requested from dbus
16457                         message and pass to nmi_save_network_info()
16458
16459         * gnome/applet/applet.c
16460                 - (nmwa_update_network_timestamp): remove
16461                 - (nmwa_menu_item_activate): don't set timestamp on networks
16462                         here, only after a successful connect in nmi_save_network_info()
16463
16464         * src/NetworkManagerDbus.[ch]
16465                 - (nm_dbus_update_network_info): pass user_requested into the 
16466                         dbus message
16467
16468         * src/NetworkManagerPolicy.c
16469                 - (nm_policy_activation_finish): pass user_requested to
16470                         nm_dbus_update_network_info()
16471
16472 2005-08-16  Robert Love  <rml@novell.com>
16473
16474         * gnome/applet/applet.c: Better "Dial Up" menu item.
16475
16476 2005-08-16  Robert Love  <rml@novell.com>
16477
16478         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16479           "Connection Information" menu item.
16480
16481 2005-08-16  Dan Williams  <dcbw@redhat.com>
16482
16483         Patch from j@bootlab.org
16484         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16485
16486         * configure.in: allow specifying the path to dhcdbd
16487
16488 2005-08-16  Robert Love  <rml@novell.com>
16489
16490         Patch from j@bootlab.org
16491         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16492           src/backends/interface_parser.h: Debian dialup support.
16493
16494 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16495
16496         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16497         * gnome/applet/applet.c: Add some mnemonics for VPNC
16498
16499         * vpn-daemons/.cvsignore: fix this up a little bit
16500
16501 2005-08-16  Robert Love  <rml@novell.com>
16502
16503         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16504           support.
16505
16506 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16507
16508         * gnome/applet/applet.c: Split markup out of translatable strings
16509         and clean up logic a little bit.  (fixes #309012)
16510
16511 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16512
16513         * gnome/vpn-properties/nm-vpn-properties.c:
16514         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16515         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16516         Makeshift fix to remove newlines from translatable strings.
16517         Note that we now return an allocated string, so callers of
16518         get_confirmation_details () must now call g_free () on the
16519         result. (fixes #309033).
16520
16521 2005-08-12  Robert Love  <rml@novell.com>
16522
16523         * gnome/applet/applet-dbus.c: remove newlines from translatable
16524           strings--not needed here anyway. (fix b.g.o #309011)
16525         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16526
16527 2005-08-11  Robert Love  <rml@novell.com>
16528
16529         * gnome/applet/applet.c: mark string as translatable.
16530
16531 2005-08-11  Robert Love  <rml@novell.com>
16532
16533         * initscript/SUSE/networkmanager: update.
16534
16535 2005-08-11  Dan Williams  <dcbw@redhat.com>
16536
16537         * src/nm-dhcp-manager.c
16538                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16539                         an gateway returned from DHCP, try to use the address of the DHCP
16540                         server as the gateway instead.  Found by Ralf Ertzinger.
16541
16542 2005-08-10  Robert Love  <rml@novell.com>
16543
16544         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16545           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16546
16547 2005-08-10  Dan Williams  <dcbw@redhat.com>
16548
16549         Patch from Bill Moss <bmoss@clemson.edu>
16550         * Consolidate writes of access point information updates to the info daemon
16551                 so that we only do it when the connection to the access point was
16552                 successful.  Also consolidates updates to GConf in the Gnome applet.
16553
16554         * src/nm-netlink-monitor.c
16555                 - Silence compile warning when calling g_object_new()
16556
16557 2005-08-08  Dan Williams  <dcbw@redhat.com>
16558
16559         Patch from Steev <steev@steev.net>:
16560         * src/backends/NetworkManagerGentoo.c
16561                 - Stub new dialup backend functions
16562
16563 2005-08-08  Dan Williams  <dcbw@redhat.com>
16564
16565         Patch from Colin Slater:
16566         * src/backends/NetworkManagerGentoo.c
16567                 - (nm_system_update_dns): Fix exit status check for restarting
16568                         nscd
16569
16570 2005-08-05  Robert Love  <rml@novell.com>
16571
16572         * NetworkManager.h,
16573           gnome/applet/applet-dbus-devices.c,
16574           gnome/applet/applet-dbus-devices.h,
16575           gnome/applet/applet-dbus.c,
16576           gnome/applet/applet.c,
16577           gnome/applet/applet.h,
16578           src/NetworkManager.c,
16579           src/NetworkManagerMain.h,
16580           src/NetworkManagerSystem.h,
16581           src/backends/NetworkManagerRedHat.c,
16582           src/backends/NetworkManagerSuSE.c,
16583           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16584
16585 2005-08-05  Robert Love  <rml@novell.com>
16586
16587         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16588           machine's hostname to make adhoc creation idiot-proof.
16589
16590 2005-08-04  Robert Love  <rml@novell.com>
16591
16592         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16593           freed.
16594
16595 2005-08-04  Dan Williams  <dcbw@redhat.com>
16596
16597         * gnome/applet/applet-dbus-info.c
16598           gnome/applet/applet-dbus-info.h
16599                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16600                         to store key, key type, and auth method rather than just auth method
16601                 - (nmi_dbus_update_network_info): new function
16602                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16603
16604         * gnome/applet/passphrase-dialog.c
16605                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16606                         of saving the info ourselves
16607
16608         * gnome/libnm_glib/libnm_glib.c
16609                 - Remove the stupid version check for dbus
16610
16611         * src/NetworkManagerAP.c
16612           src/NetworkManagerAP.h
16613                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16614
16615         * src/NetworkManagerDbus.c
16616           src/NetworkManagerDbus.h
16617                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16618                         more than just the auth method
16619
16620         * src/NetworkManagerDevice.c
16621                 - Update network info at the appropriate times
16622
16623 2005-07-29  Ray Strode  <rstrode@redhat.com>
16624
16625         * src/NetworkManager.c (nm_info_handler): don't use input as format
16626         string (Spotted by Ian Jackson).
16627
16628 2005-07-27  Dan Williams  <dcbw@redhat.com>
16629
16630         * src/nm-dbus-nm.c
16631           src/nm-dbus-net.c
16632                 - Random cleanups of spacing
16633
16634         * gnome/applet/applet.h
16635           gnome/applet/other-network-dialog.c
16636           gnome/applet/passphrase-dialog.c
16637                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16638
16639         Patch from Bill Moss:
16640                 - Make Other Wireless Networks work again with encryption keys
16641
16642 2005-07-26  Dan Williams  <dcbw@redhat.com>
16643
16644         Patch from Steev <steev@steev.net>:
16645         * src/backends/NetworkManagerGentoo.c
16646           src/backends/Makefile.am
16647                 - Fix up Gentoo backend
16648
16649 2005-07-26  Robert Love  <rml@novell.com>
16650
16651         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16652
16653 2005-07-25  Robert Love  <rml@novell.com>
16654
16655         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16656           in the same group as the wireless networks, since they are all
16657           mutually exclusive.
16658
16659 2005-07-24  Ray Strode  <rstrode@redhat.com>
16660
16661         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16662         remove unneeded NULL arg from g_object_new().  Any
16663         warnings caused by not having the extra NULL are just a
16664         result of a bug in glib 2.7.0 - 2.7.2.
16665
16666 2005-07-22  Robert Love  <rml@novell.com>
16667
16668         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16669
16670 2005-07-22  Robert Love  <rml@novell.com>
16671
16672         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16673           parameters (gcc 4.0.2 warning fix).
16674
16675 2005-07-18  Robert Love  <rml@novell.com>
16676
16677         Suggested by Aaron Bockover (abockover@novell.com)
16678         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16679           s/Ascii/ASCII
16680         * gnome/applet/passphrase-dialog.c: ditto
16681         * gnome/applet/wireless-applet.glade: ditto
16682
16683 2005-07-13  Dan Williams  <dcbw@redhat.com>
16684
16685         Patch from Ray Strode <halfline@gmail.com>
16686         * vpn-daemons/vpnc/nm-vpnc-service.c
16687                 - Don't let vpnc daemonize, fixes some races with PID file reading
16688
16689 2005-07-13  Dan Williams  <dcbw@redhat.com>
16690
16691         Patch from Ray Strode <halfline@gmail.com>
16692         * Random cleanups for strict CFLAGS
16693
16694 2005-07-07  Dan Williams  <dcbw@redhat.com>
16695
16696         Patch from Derek Atkins <warlord@MIT.EDU>
16697         * src/nm-dbus-net.c:
16698                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16699
16700 2005-07-07  Dan Williams  <dcbw@redhat.com>
16701
16702         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16703         * src/backends/NetworkManagerGentoo.c
16704                 - Gentoo backend Static IP nameserver fixes
16705                 - General Gentoo backend goodness
16706
16707 2005-07-07  Dan Williams  <dcbw@redhat.com>
16708
16709         Patch from Bastien Nocera:
16710         * gnome/applet/applet.c
16711                 - Fix up error reporting when icons or glade files are missing
16712
16713 2005-07-07  Robert Love  <rml@novell.com>
16714
16715         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16716           are not any VPN connections above it.
16717
16718 2005-07-07  Robert Love  <rml@novell.com>
16719
16720         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16721
16722 2005-07-05  Robert Love  <rml@novell.com>
16723
16724         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16725           zero.
16726
16727 2005-07-05  Robert Love  <rml@novell.com>
16728
16729         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16730           on wired or unencrypted wireless.
16731
16732 2005-07-01  Robert Love  <rml@novell.com>
16733
16734         * src/NetworkManagerSystem.c: Print the error via strerror().
16735
16736 2005-06-30  Robert Love  <rml@novell.com>
16737
16738         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16739           then exit if the glade file is not found.  currently the application
16740           just hangs.
16741
16742 2005-06-30  Robert Love  <rml@novell.com>
16743
16744         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16745           explicitly up all interfaces on wake from sleep.
16746
16747 2005-06-30  Robert Love  <rml@novell.com>
16748
16749         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16750           with information about the currently active connection.
16751         * gnome/applet/applet.h: (ditto)
16752         * gnome/applet/wireless-applet.glade: (ditto), new file
16753
16754 2005-06-30  Robert Love  <rml@novell.com>
16755
16756         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16757         * src/nm-dbus-nm.c: print when we sleep and wake up.
16758         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16759         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16760           in /sbin unless D-BUS is, folks).
16761         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16762
16763 2005-06-27  Robert Love  <rml@novell.com>
16764
16765         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16766           case.
16767
16768 2005-06-27  Robert Love  <rml@novell.com>
16769
16770         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16771           items radios.
16772
16773 2005-06-26  Robert Love  <rml@novell.com>
16774
16775         * src/NetworkManagerDevice.c: be specific about which device in
16776           nm_info() message.
16777
16778 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16779
16780         * src/nm-netlink-monitor.c: correct spelling error.
16781
16782 2005-06-23  Robert Love  <rml@novell.com>
16783
16784         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16785         * gnome/applet/passphrase-dialog.c: more of that keyring!
16786
16787 2005-06-23  Robert Love  <rml@novell.com>
16788
16789         * configure.in: remove extraneous GNOMEKEYRING directives.
16790         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16791         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16792         * gnome/applet/passphrase-dialog.c: whitespace.
16793
16794 2005-06-23  Robert Love  <rml@novell.com>
16795
16796         * src/NetworkManagerDevice.c: division in assignment was flipped.
16797
16798 2005-06-23  David Zeuthen  <david@fubar.dk>
16799
16800         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16801         signal to the child to indicate that we got what we wanted when we
16802         see two new-lines right after each other.
16803         (nmwa_vpn_request_password): Pass a structure with several members
16804         instead of just the passwords
16805
16806 2005-06-23  Dan Williams <dcbw@redhat.com>
16807
16808         * src/NetworkManager.c
16809           src/NetworkManagerMain.h
16810                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16811                 - (nm_hal_init): new function, init libhal context then add devices
16812                 - (nm_hal_deinit): new function, clean up libhal context
16813                 - (nm_data_free): Move Hal cleanup here
16814                 - (main): check whether Hal is running, and if so, get a list of
16815                         network devices from it
16816
16817         * src/NetworkManagerDbus.c
16818                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16819                         and when it appears, get a list of network devices from it.  If
16820                         Hal goes away, clean up the libhal context
16821
16822 2005-06-22  Robert Love  <rml@novell.com>
16823
16824         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16825           permissions of scripts before executing.
16826
16827 2005-06-21  Robert Love  <rml@novell.com>
16828
16829         * initscript/SUSE/networkmanager: update.
16830         * src/backends/NetworkManagerSuSE.c: cleanup.
16831
16832 2005-06-21  Robert Love <rml@novell.com>
16833
16834         * gnome/applet/applet.c: use menu mnemonics.
16835         * gnome/applet/menu-items.c: (ditto)
16836
16837 2005-06-21  Robert Love  <rml@novell.com>
16838
16839         * applet/applet-dbus-devices.c: mark non-static functions static.
16840         * applet/applet-dbus-vpn.c: (ditto)
16841         * applet/applet.c: (ditto)
16842         * applet/nm-device.h: (ditto)
16843         * applet/other-network-dialog.c: (ditto)
16844         * applet/passphrase-dialog.c: (ditto)
16845         * NetworkManager.c: (ditto)
16846         * NetworkManagerDbus.c: (ditto)
16847         * NetworkManagerDevice.c: (ditto)
16848         * NetworkManagerPolicy.c: (ditto)
16849         * NetworkManagerUtils.c: (ditto)
16850         * NetworkManagerWireless.c: (ditto)
16851         * NetworkManagerWireless.h: (ditto)
16852         * nm-netlink-monitor.c: (ditto)
16853         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16854         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16855         * autoip.c: include autoip.h.
16856         * autoip.h: new file.  define get_autoip().
16857         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16858         * NetworkManagerDbus.h: remove duplicate definitions.
16859
16860 2005-06-20  Robert Love  <rml@novell.com>
16861
16862         * Makefile.am: Add missing intltool-foo.in generated files to
16863           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16864           with the start of stuff to cleanup on 'distclea'.
16865         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16866           stuff right and 'distcheck' works.
16867         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16868           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16869           Makefile.am for each.  And systray/Makefile needs to be redone.
16870
16871 2005-06-19  Dan Williams <dcbw@redhat.com>
16872
16873         * src/NetworkManagerDevice.c
16874         - (nm_device_wireless_process_scan_results): scan every 20s when
16875           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16876
16877 2005-06-19  Dan Williams <dcbw@redhat.com>
16878
16879         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16880
16881 2005-06-18  Ray Strode <rstrode@redhat.com>
16882
16883         * src/nm-netlink-monitor.c 
16884         (nm_netlink_monitor_event_handler): check for the presence
16885         of either error condition not both. 
16886         
16887         (nm_netlink_monitor_error_handler): emit error signal if
16888         error occurs.
16889
16890         (nm_netlink_monitor_event_handler),
16891         (nm_netlink_monitor_error_handler),
16892         (nm_netlink_monitor_disconnect_handler): if an 
16893         assertion fails disconnect the event handler to prevent 
16894         infinite loops.
16895
16896         * src/nm-netlink-monitor.h: add new error condition
16897         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16898
16899 2005-06-18  Ray Strode <rstrode@redhat.com>
16900
16901         * src/nm-netlink-monitor.c 
16902         (nm_netlink_monitor_event_handler): remove bogus < 0
16903         check on unsigned value and return early if the kernel
16904         didn't send any bytes.
16905
16906 2005-06-17  Robert Love  <rml@novell.com>
16907
16908         * initscript/SUSE/networkmanager: Change the Provides and default
16909         run levels
16910
16911 2005-06-16  Dan Williams <dcbw@redhat.com>
16912
16913         Patch from Robert Love:
16914         * gnome/applet/applet.c
16915                 - Beautify some applet menu item names
16916
16917 2005-06-17  David Zeuthen  <davidz@redhat.com>
16918
16919         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16920         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16921         Also add new methods can_export, import_file and export.
16922
16923         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16924         to the main UI
16925
16926         * gnome/vpn-properties/nm-vpn-properties.c:
16927         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16928         nm-vpn-ui-interface.h.
16929         (update_edit_del_sensitivity): Also update "Export" sensitivity
16930         (add_vpn_connection): Also add new SVC_NAME column
16931         (import_settings): New function
16932         (retrieve_data_from_selected_connection): New function
16933         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16934         this function
16935         (export_cb): New function
16936         (init_app): Also setup the "export" widget
16937         (main): Support the --import-service and --import-file commandline
16938         arguments
16939
16940         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16941         D-BUS 0.34
16942
16943 2005-06-16  Dan Williams <dcbw@redhat.com>
16944
16945         Patch from Robert Love:
16946         * gnome/applet/menu-items.c
16947                 - (network_menu_item_new): pass -1 as wireless network
16948                         menu items height size request rather than ascent / 2
16949
16950 2005-06-16  Dan Williams <dcbw@redhat.com>
16951
16952         * Clean up wording in Wireless Scan Methods menu items and constants
16953
16954 2005-06-16  Robert Love  <rml@novell.com>
16955
16956         * po/POTFILES.in
16957                 - remove gtkcell* files
16958
16959 2005-06-15  Dan Williams <dcbw@redhat.com>
16960
16961         Patch from Robert Love: make the applet stetic
16962
16963         * gnome/applet/Makefile.am
16964                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16965
16966         * gnome/applet/gtkcellview.h
16967           gnome/applet/gtkcellview.c
16968           gnome/applet/gtkcellrendererprogress.h
16969           gnome/applet/gtkcellrendererprogress.c
16970                 - Removed
16971
16972         * gnome/applet/menu-items.c
16973                 - Progress bars are 5:1 size ratio
16974                 - Use GTK progress bars rather than internal ones
16975
16976 2005-06-15  Dan Williams <dcbw@redhat.com>
16977
16978         Patch from Robert Love:
16979         * initscript/SUSE/networkmanager
16980                 - Fix typo
16981
16982 2005-06-15  Dan Williams <dcbw@redhat.com>
16983
16984         * src/backends/NetworkManagerSuSE.c
16985           src/backends/NetworkManagerRedHat.c
16986           src/backends/NetworkManagerDebian.c
16987                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16988
16989 2005-06-15  Dan Williams <dcbw@redhat.com>
16990
16991         * src/backends/NetworkManagerDebian.c
16992                 - Add nm_system_device_get_use_dhcp() to debian backend
16993
16994         Patch from Kay Sievers:
16995         * src/backends/NetworkManagerSuSE.c
16996                 - Update debian backend for static IP nameservers
16997
16998         * src/NetworkManagerDevice.c
16999                 - Actually set the device to use static IP or DHCP rather
17000                         than always DHCP
17001
17002 2005-06-15  Dan Williams <dcbw@redhat.com>
17003
17004         Patch from Thom May:
17005         * src/backends/NetworkManagerDebian.c
17006                 - Update debian backend for static IP nameservers
17007
17008 2005-06-15  Dan Williams <dcbw@redhat.com>
17009
17010         Patches from Robert Love:
17011         * gnome/applet/wireless-applet.glade
17012                 - Tighten up wording
17013
17014         * src/NetworkManagerDevice.c
17015                 - Remove misplaced ';'
17016
17017         * configure.in
17018           initscript/Makefile.am
17019           initscript/SUSE/Makefile.am
17020           initscript/SUSE/networkmanager
17021                 - Add SUSE initscript
17022
17023 2005-06-12  David Zeuthen  <davidz@redhat.com>
17024
17025         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
17026
17027         * gnome/vpn-properties/nm-vpn-properties.glade: New file
17028
17029         * gnome/vpn-properties/nm-vpn-properties.c: New file
17030
17031         * gnome/vpn-properties/Makefile.am: New file
17032
17033         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
17034         array of passwords
17035
17036         * src/vpn-manager/nm-vpn-manager.c
17037         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
17038         instead of just a single one
17039
17040         * src/vpn-manager/nm-dbus-vpn.c:
17041         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17042         here
17043         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17044
17045         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
17046         Change the interface here to give a list of passwords. Also, don't
17047         require username, but do require service
17048
17049         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17050         the binary for the auth-dialog and use that instead of putting up a
17051         dialog asking for a single password
17052
17053         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17054         however do remember the service
17055
17056         * gnome/applet/main.c (main): Setup i18n
17057
17058         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17059         connection to '%s'" to the tooltip if we are connected using VPN
17060         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17061         key to determine whether we the auth-dialog needs to
17062         reprompt. Also cope with the fact that the auth-dialog now returns
17063         an array of passwords.
17064         (nmwa_menu_configure_vpn_item_activate): New handler for
17065         "Configure VPN..." menu item
17066         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17067         (is_vpn_available): New function to determine if we got any
17068         NM-compatible VPN software installed
17069         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17070         items only if we have NM-compatible VPN software installed
17071         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17072         logic for detecting when VPN connections are removed
17073
17074         * gnome/applet/applet-dbus.h: Removed the prototypes for 
17075         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17076         since these are defined elsewhere
17077
17078         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17079         function used to keep track of whether the last attempt succeded
17080         (nmwa_dbus_filter): Update last_attempt according to whether the
17081         VPN connection could be established or not
17082
17083         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
17084         Change prototype to take an array of passwords, not just a single
17085         password
17086
17087         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17088         update service, not user
17089         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17090         dbus_active_vpn_name is not NULL before using it
17091         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17092         string array instead of assuming a single password
17093
17094         * gnome/applet/applet-dbus-info.c:
17095         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17096         user name; don't read from gconf
17097
17098         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
17099         VPN_NAME_FILES_DIR
17100
17101         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17102
17103         * configure.in: Add checks for gmodule-2.0.
17104         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17105         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17106         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
17107         for details
17108
17109         * vpn-daemons/Makefile.am: Removed
17110
17111         * vpn-daemons/README: New file to describe extensions points for VPN
17112         software
17113
17114 2005-06-10  Dan Williams <dcbw@redhat.com>
17115
17116         * src/backends/NetworkManagerRedHat.c
17117                 - (get_current_profile_name): new function, grab current network profile name from
17118                         /etc/sysconfig/network
17119                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17120                         update an IP4 Config structure's settings from it
17121                 - (nm_system_device_get_system_config): if we're using static IP on this device,
17122                         get DNS info from current network profile
17123
17124 2005-06-09  Dan Williams <dcbw@redhat.com>
17125
17126         Patch from Robert Love:
17127         * src/NetworkManagerDevice.c
17128           src/NetworkManagerUtils.c
17129                 - 64-bit build fixes
17130
17131 2005-06-09  Dan Williams <dcbw@redhat.com>
17132
17133         Patch from Kay Sievers and Robert Love:
17134         * configure.in
17135           src/backends/Makefile.am
17136           src/backends/NetworkManagerSuSE.c
17137                 - Add SuSE support
17138
17139 2005-06-09  Dan Williams <dcbw@redhat.com>
17140
17141         * NetworkManager.h
17142                 - Add NMWirelessScanMethod enum for scan methods
17143
17144         * gnome/applet/applet-dbus-devices.c
17145                 - (nmwa_dbus_update_scanning_enabled_cb): remove
17146                 - (nmwa_dbus_update_scanning_enabled): remove
17147                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17148                         since it got removed
17149                 - (nmwa_dbus_enable_scanning): remove
17150
17151         * gnome/applet/applet-dbus-info.c
17152                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17153                         update the wireless scanning method from NMI
17154                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17155                         method value to NetworkManager
17156                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17157
17158         * gnome/applet/applet-dbus-info.h
17159                 - Add prototype for nmi_dbus_signal_update_scan_method
17160
17161         * gnome/applet/applet.c
17162                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17163                         Wireless Scanning menu based on current wireless scan method
17164                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17165                         signal for Wireless Scanning menu items, tell NetworkManager the new method
17166                         and update our menu items to make sure the right one is checked
17167                 - (nmwa_set_scanning_enabled_cb): remove
17168                 - (nmwa_context_menu_update): remove references to pause_scanning_item
17169                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17170                         Scanning menu item
17171                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17172                         from GConf
17173                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17174                         so we get notified of preference values too
17175                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17176
17177         * gnome/applet/applet.h
17178                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17179                 - Add wireless scan method member to applet data
17180                 - Remove pause_scanning_item, add Wireless Scanning submenu
17181
17182         * src/NetworkManager.c
17183                 - (nm_data_new): default to NM_SCAN_METHOD_ON
17184                 - (main): grab scanning method from NMI if we can
17185
17186         * src/NetworkManagerDbus.c
17187                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17188                         nm_dbus_update_wireless_scan_method()
17189                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17190                         from NMI
17191                 - (nm_dbus_nmi_is_running): redundant function, removed
17192                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17193                         when NMI comes back
17194
17195         * src/NetworkManagerDevice.c
17196                 - (nm_device_is_activated): return TRUE if the device is activated
17197                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17198                         and we are activated
17199
17200         * src/nm-dbus-nm.c
17201                 - (nm_dbus_nm_set_scanning_enabled): removed
17202                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17203                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17204
17205 2005-06-09  Dan Williams <dcbw@redhat.com>
17206
17207         * NetworkManager.h
17208           src/vpn-manager/nm-vpn-service.c
17209                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17210
17211 2005-05-27  Dan Williams <dcbw@redhat.com>
17212
17213         * vpn-daemons/vpnc/nm-vpnc-service.c
17214                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17215                         Should fix the bug where the VPN connection terminates the first time.
17216
17217 2005-05-20  Dan Williams <dcbw@redhat.com>
17218
17219         * NetworkManager.h
17220                 - Differentiate VPN config signals between bad VPN config options
17221                         and bad IP config
17222
17223         * gnome/applet/applet-dbus-info.h
17224                 - Add prototypes for wireless network and vpn connection update functions
17225
17226         * gnome/applet/applet-dbus.c
17227                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17228
17229         * gnome/applet/applet.c
17230                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17231                         error signals
17232                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17233                         propogation to NetworkManager
17234                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17235                         notify propogation to NetworkManager
17236
17237         * src/NetworkManagerDbus.c
17238                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17239                         are updating so a network can be removed from it if necessary
17240
17241         * src/vpn-manager/nm-vpn-manager.c
17242                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17243
17244         * vpn-daemons/vpnc/nm-vpnc-service.c
17245                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17246                 - (nm_vpnc_dbus_signal_launch_failed): remove
17247                 - (nm_vpnc_dbus_signal_connect_failed): remove
17248                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17249                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17250                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17251                         for new generalized error signal function, remove config file stuff
17252                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17253                         we can write configuration options to it
17254                 - (nm_vpnc_config_file_generate): removed
17255                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17256                 - (nm_vpnc_config_options_validate): validate the config options we receive
17257                         from NetworkManager to block potential exploits
17258                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17259                         starting vpnc
17260                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17261                         to NetworkManager
17262
17263 2005-05-16  Dan Williams  <dcbw@redhat.com>
17264
17265         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17266                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17267                         is not "connect"
17268
17269 2005-05-16  Dan Williams  <dcbw@redhat.com>
17270
17271         Patch from Tomislav Vujec <tvujec@redhat.com>
17272         * gnome/applet/applet-dbus-info.c
17273                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17274                         GConf and pass them to NetworkManager.  New key is 'routes' under
17275                         the VPN connection, and should be a string list
17276
17277         * src/NetworkManagerSystem.c
17278                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17279                         set them on the device when we set the rest of the VPN config.  Ensure
17280                         they are in the correct format since they are passed directly to the
17281                         command line.
17282
17283         * src/backends/NetworkManagerRedHat.c
17284           src/backends/NetworkManagerDebian.c
17285                 - (nm_system_device_add_route_via_device_with_iface): new function
17286
17287         * src/vpn-manager/nm-dbus-vpn.c
17288                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17289
17290         * src/vpn-manager/nm-vpn-manager.c
17291                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17292                         them into the IP4 config functions
17293
17294 2005-05-15  Dan Williams  <dcbw@redhat.com>
17295
17296         From Filip Miletic:
17297         * po/sr.po
17298           po/sr@Latn.po
17299           configure.in
17300                 - Serbian translation added
17301
17302 2005-05-15  Dan Williams  <dcbw@redhat.com>
17303
17304         * dispatcher-daemon/NetworkManagerDispatcher.c
17305                 - (main): sync arguments with NetworkManager and the applet, now use
17306                         "--no-daemon" rather than "daemon=no"
17307                 - (nmd_print_usage): Fix script path in usage message
17308
17309 2005-05-15  Dan Williams  <dcbw@redhat.com>
17310
17311         * src/NetworkManagerDevice.[ch]
17312           src/NetworkManagerPolicy.c
17313           src/NetworkManager.c
17314           src/nm-dbus-nm.c
17315                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17316                         longer send the DeviceNoLongerActive signal unconditionally, but only
17317                         when the device is actually active.
17318
17319         * dispatcher-daemon/NetworkManagerDispatcher.c
17320                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17321                         and simplify the logic
17322                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17323                         we free it later on
17324
17325         * initscript/RedHat/Makefile.am
17326           initscript/RedHat/NetworkManagerDispatcher
17327                 - Add initscript for NetworkManagerDispatcher
17328
17329
17330         Patch from Bill Moss:
17331         * dispatcher-daemon/NetworkManagerDispatcher.c
17332                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17333
17334         * src/NetworkManagerDbus.c
17335                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17336                         and DeviceNowActive gets signaled, then the device has a new IP address
17337                         anyway.  There's no need for a separate signal.
17338
17339         * src/NetworkManagerDevice.c
17340                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17341
17342         * src/NetworkManagerPolicy.c
17343                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17344                         activates successfully.  This kind of went missing when I reworked the
17345                         activation code.
17346
17347 2005-05-15  Dan Williams  <dcbw@redhat.com>
17348
17349         * configure.in
17350                 - Check for dhcdbd and error if its not found
17351
17352         * src/dhcp-manager/Makefile.am
17353           src/dhcp-manager/nm-dhcp-manager.c
17354                 - Use path to dhcdbd that configure found
17355
17356 2005-05-14  Dan Williams  <dcbw@redhat.com>
17357
17358         * gnome/applet/nm-device.c
17359                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17360                         sort wireless networks alphabetically
17361
17362         * gnome/applet/applet-dbus-devices.c
17363                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17364                         before copying them over to the GUI
17365
17366 2005-05-14  Dan Williams  <dcbw@redhat.com>
17367
17368         * src/NetworkManager.c
17369                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17370                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17371                         the device list, as does nm_get_active_device() which is called from
17372                         nm_vpn_manager_deactivate_vpn_connection().
17373
17374 2005-05-14  Dan Williams  <dcbw@redhat.com>
17375
17376         * NetworkManager.h
17377                 - Add signals for VPN Launch and Connect failures
17378
17379         * gnome/applet/applet-dbus.c
17380                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17381
17382         * gnome/applet/applet.c
17383                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17384                         function to handle all VPN failure messages
17385                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17386                         function to hanlde all VPN failure  messages
17387                 - (show_warning_dialog): work around focus-stealing prevention
17388
17389         * gnome/applet/other-network-dialog.c
17390           gnome/applet/passphrase-dialog.c
17391                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17392                         problem where it never enabled for ASCII Key and Hex Key types
17393
17394         * gnome/applet/wireless-applet.glade
17395                 - Add window title to Other Wireless Network Dialog
17396
17397         * src/vpn-manager/nm-dbus-vpn.c
17398                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17399                         function to handle all VPN failure messages
17400
17401         * src/vpn-manager/nm-vpn-manager.c
17402                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17403
17404         * vpn-daemons/vpnc/nm-vpnc-service.c
17405                 - (nm_vpnc_dbus_signal_launch_failed): new function
17406                 - (nm_vpnc_dbus_signal_connect_failed): new function
17407                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17408                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17409                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17410                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17411
17412 2005-05-11  Dan Williams  <dcbw@redhat.com>
17413
17414         * vpn-daemons/vpnc/nm-vpnc-service.c
17415                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17416                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17417                         file exists before trying to write it out.
17418
17419 2005-05-10  Dan Williams  <dcbw@redhat.com>
17420
17421     * gnome/applet/applet-dbus-device.c
17422         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17423             prevented just entering ESSID and leaving key and key type up to
17424             NetworkManager (which should have them already cached)
17425
17426 2005-05-08  Dan Williams  <dcbw@redhat.com>
17427
17428         * src/NetworkManagerPolicy.c
17429                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17430                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17431                         fix a situation where NM is told to terminate and the device stops activation,
17432                         but the main thread isn't aware of that because it would never have run
17433                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17434                         had already quit.
17435
17436         * src/NetworkManagerDevice.c
17437                 - (nm_device_probe_wired_link_state): cosmetic fixes
17438                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17439                         we've failed to activate or been canceled.
17440                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17441
17442 2005-05-08  Dan Williams  <dcbw@redhat.com>
17443
17444         * src/NetworkManagerWireless.c
17445                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17446                         value of WEXT quality structures, and add a debug message when we cannot
17447                         determine any quality % at all
17448
17449 2005-05-08  Dan Williams  <dcbw@redhat.com>
17450
17451         * src/dhcp-manager/nm-dhcp-manager.c
17452                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17453                         it goes down.
17454
17455 2005-05-06  Dan Williams  <dcbw@redhat.com>
17456
17457         * gnome/applet/applet-dbus-device.c
17458           gnome/applet/applet-dbus-info.c
17459           gnome/applet/applet-dbus.c
17460           gnome/applet/applet.c
17461           gnome/applet/applet.h
17462                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17463
17464         * gnome/applet/applet-dbus.c
17465                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17466                         so we notice when wired device's carriers come back on.  Should
17467                         fix issue with wired devices being grayed out even if the cable
17468                         is in, for devices that support carrier detection.
17469
17470         * gnome/applet/applet.c
17471                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17472                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17473                         tooltip message
17474                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17475                         Fix situation where applet wouldn't respond to menu selections
17476
17477         * src/NetworkManager.c
17478           src/NetworkManagerDevice.c
17479           src/NetworkManagerDbus.c
17480           src/NetworkManagerDbus.h
17481                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17482
17483         * src/NetworkManagerDbus.c
17484                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17485                         Remove, no longer used or relevant
17486                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17487                 - (nm_dbus_schedule_device_status_change_signal): add
17488
17489         * src/NetworkManagerDevice.c
17490                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17491                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17492                         ie don't deactivate them unless explicitly told to by the user.  Also send
17493                         CARRIER_OFF / CARRIER_ON signals when link changes
17494                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17495                         Don't print error message when device is no longer around
17496                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17497                         not just during activation
17498
17499         * src/NetworkManagerPolicy.c
17500                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17501                         auto-device-selection.
17502                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17503
17504         * src/NetworkManagerSystem.c
17505                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17506                         is no longer present (Bill Moss)
17507
17508         * src/backends/shvar.c
17509                 - (svOpenFile): Open read-only to make SELinux happy
17510
17511         * src/backends/NetworkManagerRedHat.c
17512                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17513                         the path to the ifcfg-* files
17514
17515 2005-05-05  Dan Williams  <dcbw@redhat.com>
17516
17517         * Expose activation stages to NetworkManager clients, like the applet
17518         * Add Diana's progress icons to the applet, cued off NM activation stage
17519         * Use more descriptive tooltips, cued off NM activation stage
17520
17521 2005-05-05  Ray Strode  <rstrode@redhat.com>
17522
17523         * src/nm-netlink-monitor.c:
17524                 - Use clear_event_source instead of g_nullify_pointer() again.
17525
17526 2005-05-05  Dan Williams  <dcbw@redhat.com>
17527
17528         * gnome/applet/main.c
17529                 - Fix session management so the applet is actually managed now
17530
17531         * gnome/applet/passphrase-dialog.c
17532                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17533
17534 2005-05-05  Dan Williams  <dcbw@redhat.com>
17535
17536         Patch from Bill Moss:
17537         * gnome/libnm_glib/libnm_glib.c
17538                 - Fix for dbus-0.33
17539
17540 2005-05-05  Dan Williams  <dcbw@redhat.com>
17541
17542         Suggestion from Bill Moss:
17543         * src/NetworkManagerSystem.c
17544                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17545
17546
17547         * src/NetworkManager.c
17548                 - (nm_data_free): move destruction of the various managers after
17549                         release of device list, because deactivating and freeing a device
17550                         requires at least the named manager
17551                 - (nm_poll_and_update_wireless_link_state):
17552                   (nm_device_link_activated):
17553                   (nm_device_link_deactivated):
17554                         don't grab the device list lock when actually updating device
17555                         link status or strength, since nm_device_set_link_active()
17556                         needs to call nm_get_active_device(), which also locks the device list.
17557
17558         * src/NetworkManagerDevice.c
17559                 - (nm_device_set_link_active): if a device's link switches from off->on,
17560                         and it's wired, and the active device is wireless (or there is no
17561                         active device), activate the new device whose link just came on
17562                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17563                         my only calling the link to the current ap "failed" when more than 2
17564                         consecutive link checks have failed
17565
17566 2005-05-04  Dan Williams  <dcbw@redhat.com>
17567
17568         * src/NetworkManagerDevice.c
17569                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17570                         but let link_to_specific_ap() do the locking where it needs
17571
17572         Patch from Bill Moss:
17573         * src/NetworkManagerSystem.c
17574                 - Set MTU of VPN devices to 1412
17575
17576 2005-05-04  Dan Williams  <dcbw@redhat.com>
17577
17578         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17579
17580         * Fix some holes in device activation and retaining the currently connected
17581                 access point
17582
17583 2005-05-03  Dan Williams  <dcbw@redhat.com>
17584
17585         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17586           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17587           means you need dhcdbd, which you can get here (get the latest one):
17588
17589                 http://people.redhat.com/jvdias/dhcdbd/
17590
17591           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17592           interface as dhcdbd.
17593
17594         * Rewrite device activation to facilitate the new DHCP infrastructure and
17595           future improvements.  Its now "activation request" based, ie there is a single
17596           activation request composed of the device, access point, and other info which
17597           follows the entire activation process.  There are 5 stages of the activation
17598           process which correspond to:
17599
17600                 1) Device preparation
17601                 2) Device configuration (bring it up, set ESSID/Key/etc)
17602                 3) IP Config Start (fire off DHCP if we're using it)
17603                 4) IP Config Get (grab config from DHCP or static config files)
17604                 5) IP Config Commit (set device's IP address, DNS, etc)
17605
17606           Note that there is no longer a "scanning" step, since the access point must
17607           be known _before_ activation starts.  If the access point drops out or does
17608           not exist for some reason, the entire activation process fails and must be
17609           restarted for a different access point or device.
17610
17611         Patch from Bill Moss:
17612         * gnome/applet/applet.c
17613                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17614
17615 2005-04-27  Dan Williams  <dcbw@redhat.com>
17616
17617         * gnome/applet/applet-dbus-vpn.c
17618           gnome/applet/applet.c
17619           gnome/applet/applet.h
17620                 - Fix up active VPN handling so that we reliably know when a VPN
17621                         connection has been deactivated
17622
17623         * src/vpn-manager/nm-vpn-manager.c
17624                 - Remove duplicate VPNConnectionChange signal
17625
17626 2005-04-27  Dan Williams  <dcbw@redhat.com>
17627
17628         Patch from Peter Jones:
17629         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17630
17631         Patch from Bill Moss:
17632         * src/NetworkManagerSystem.c
17633                 - Fix checking of return value from ioctl()
17634
17635 2005-04-27  Dan Williams  <dcbw@redhat.com>
17636
17637         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17638         * Warn and exit if icons cannot be found
17639
17640 2005-04-27  Dan Williams  <dcbw@redhat.com>
17641
17642         Patch from Tom Parker:
17643         * Update debian backend
17644
17645 2005-04-27  Dan Williams  <dcbw@redhat.com>
17646
17647         * Merge the applet and the info-daemon, and move the converged
17648                 applet under gnome/applet
17649         * Move libnm_glib to gnome/libnm_glib
17650         * Convert most dbus calls between the applet, info-daemon, and NM
17651                 into async calls
17652         * Fix a few things valgrind noticed
17653         * Make NM broadcast state more reliably
17654
17655 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17656
17657         * configure.in: Added ne in ALL_LINGUAS
17658
17659 2005-04-15  Dan Williams  <dcbw@redhat.com>
17660
17661         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17662                 code for dbus 0.2x versions
17663
17664 2005-04-15  Dan Williams  <dcbw@redhat.com>
17665
17666         Patches from Tom Parker:
17667         - Fix memleaks
17668         - Join with worker thread rather than polling for its exit
17669
17670         Patch from Bill Moss:
17671         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17672
17673 2005-04-15  Dan Williams  <dcbw@redhat.com>
17674
17675         - Fixes to pass 'make distcheck'
17676
17677 2005-04-15  Dan Williams  <dcbw@redhat.com>
17678
17679         Initial VPN Support
17680                 - supports 'vpnc'
17681                 - reworks device IP configuration, backend files have changed and will need
17682                         to be updated for all distributions.  I will try to do what I can for
17683                         them, but I cannot test them.
17684
17685         - Move named directory to src/named-manager
17686         - Make backends directory self-contained
17687
17688 2005-04-06  Dan Williams  <dcbw@redhat.com>
17689
17690         Add debug code for socket/file descriptor leaks.  We register every socket
17691         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17692         list of sockets that we forgot to close on shutdown.  This also consolidates
17693         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17694
17695 2005-04-06  Dan Williams  <dcbw@redhat.com>
17696
17697         * dhcpcd/dhcpcd.c
17698                 - (dhcp_interface_free): fix a file descriptor leak that may have
17699                         caused network drivers to not unload due to refcounts > 0
17700
17701 2005-04-04  Dan Williams  <dcbw@redhat.com>
17702
17703         * panel-applet/NMWirelessAppletDbus.c
17704                 - (nmwa_dbus_call_nm_method): remove some commented code
17705
17706         * src/NetworkManagerAPList.[ch]
17707                 - (nm_ap_list_remove_ap_by_essid): new function
17708
17709         * src/NetworkManagerDevice.c
17710                 - (nm_device_wireless_force_use): remove access points from the ignore list
17711                         when the user forces them
17712
17713         * src/nm-dbus-device.c
17714                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17715
17716 2005-04-04  Dan Williams  <dcbw@redhat.com>
17717
17718         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17719
17720 2005-04-04  Dan Williams  <dcbw@redhat.com>
17721
17722         * src/NetworkManagerDevice.c:
17723                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17724                         of only erroring after the second consecutive scan times out.  Also
17725                         don't exit when the card requires more time than we can give it, just
17726                         log the event and continue.
17727
17728 2005-04-01  Steve Murphy  <murf@e-tools.com>
17729
17730         * configure.in: Added "rw" to ALL_LINGUAS.
17731
17732 2005-04-01  Dan Williams <dcbw@redhat.com>
17733
17734         Perform scans during device activation, if needed.  Both activation 
17735         and scans run in the same GMainContext.  Therefore, if an access point
17736         is not found by the time the device starts activation, it will not
17737         be available until after activation.  We now try to scan during
17738         activation (in nm_wa_test) every 15s so that all available access
17739         points are more likely to be found and available for the activation
17740         procedure.
17741
17742         Also change nm_wireless_link_state_handle() to only update the "best"
17743         AP if we are not forcing a device and if we are not about to change
17744         state.  This attempts to work around a race when forcing a device,
17745         where the forced AP would get cleared out too soon by the link state
17746         checking timeout in the main thread, and the activation attempt with
17747         that AP would fail.
17748
17749 2005-04-01  Dan Williams <dcbw@redhat.com>
17750
17751         * po/POTFILES.in
17752                 - Update with new translatables
17753
17754 2005-03-31  Dan Williams <dcbw@redhat.com>
17755
17756         * panel-applet/NMWirelessAppletDbus.c
17757                 - Fix device names now that hal has changed device parenting for
17758                         network devices.
17759
17760 2005-03-31  Dan Williams <dcbw@redhat.com>
17761
17762         Tighten up handling of wireless devices that don't support wireless
17763         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17764         hadn't been doing pseudo-scanning for a while either and would just
17765         spin waiting for an access point.  They are now manual devices where
17766         the user must choose the access point from the menu every time.  All
17767         "allowed" access points are listed in the applet's menu regardless
17768         of whether or not they can be seen by the card, since it can't scan
17769         anyway.
17770
17771         * src/NetworkManager.c
17772                 - (nm_wireless_link_state_handle): new function, but only update
17773                         the "best" ap for non-scanning devices when its not activating,
17774                         and when no device is being forced on the card
17775                 - (nm_link_state_monitor): split wireless link state handling out
17776                         into separate function
17777
17778         * src/NetworkManagerDevice.c
17779                 - (nm_device_copy_allowed_to_dev_list): new function
17780                 - (nm_device_new): populate non-scanning cards' AP lists with
17781                         access points from the "allowed" list
17782                 - (nm_device_new): don't start a scanning timeout for devices that
17783                         can't scan
17784                 - (nm_device_activation_schedule_finish): new parameter, should be
17785                         the AP that failed to be connected to, pass it on to the
17786                         activation finish function in NetworkManagerPolicy.c
17787                 - (nm_device_activate_wireless): don't ever try to get a new AP
17788                         for non-scanning devices, just fail.  The user must choose
17789                         a new access point manually.
17790                 - (nm_device_activate): grab the AP that failed connection and
17791                         pass it on
17792                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17793                         a link to it, user must manually choose a new one
17794                 - (nm_device_do_pseudo_scan): remove function
17795                 - (nm_device_wireless_process_scan_results): remove bits for non-
17796                         scanning cards since they never get here
17797                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17798                         and fake the scan list for test devices a bit earlier
17799
17800         * src/NetworkManagerPolicy.c
17801                 - (nm_policy_activation_finish): use the failed_ap that we get
17802                         passed rather than getting the best_ap from the card, which
17803                         may have changed since we were scheduled
17804                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17805                         update their scan list directly from the allowed list when
17806                         we get updates to the allowed list from NetworkManagerInfo
17807
17808         * src/NetworkManagerPolicy.h
17809                 - New member for failed access point in NMActivationResult
17810
17811   -------------------------------------
17812
17813         Driver Notification patch: notifies the user when their driver
17814                 sucks.  Gives them the option to ignore further insertions
17815                 of the card that has the sucky driver.
17816
17817         * NetworkManager.h
17818                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17819                         enum and replace it with NO_CARRIER_DETECT and
17820                         NO_WIRELESS_SCAN
17821
17822         * panel-applet/NMWirelessApplet.[ch]
17823                 - Merge essid.glade -> wireless-applet.glade
17824                 - Implement the "Your driver sucks" notification dialog
17825
17826         * panel-applet/NMWirelessAppletDbus.c
17827                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17828                 - Grab hardware address for each device from NM too
17829                 - Check whether the driver for each device sucks or not whenever
17830                         a new device is noticed
17831
17832         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17833                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17834
17835         * src/NetworkManager.c
17836                 - Fix a double-unref on device removal
17837
17838         * src/NetworkManagerUtils.c
17839                 - Set appropriate driver support level on a device that doesn't
17840                         support scanning or carrier detection
17841
17842         * src/nm-dbus-device.c
17843                 - New "getHWAddress" dbus method on devices
17844                 - getSupportsCarrierDetect -> getDriverSupportLevel
17845
17846 2005-03-31  Dan Williams <dcbw@redhat.com>
17847
17848         * src/NetworkManagerDevice.c
17849                 - (nm_device_wireless_scan): Fix leak of scan results in some
17850                         instances
17851
17852 2005-03-29  Dan Williams <dcbw@redhat.com>
17853
17854         * src/NetworkManager.c
17855                 - (nm_poll_and_update_wireless_link_state): make code less indented
17856
17857         Patch from Bill Moss:
17858         * src/NetworkManager.c
17859                 - (nm_device_update_link_state): Update signal strength on wireless
17860                         devices every time we update link state too.
17861
17862 2005-03-29  Dan Williams <dcbw@redhat.com>
17863
17864         * src/NetworkManagerDevice.c
17865                 - (nm_device_set_essid): Work around Orinoco cards which need
17866                         extra time after setting the ESSID
17867
17868 2005-03-29  Dan Williams <dcbw@redhat.com>
17869
17870         * src/NetworkManagerDevice.c
17871                 - Merge one more bit of Peter Jones' completion patch
17872
17873 2005-03-29  Dan Williams <dcbw@redhat.com>
17874
17875         * src/NetworkManagerDevice.c
17876                 - (nm_device_force_use): Fix possible segfault
17877
17878 2005-03-29  Dan Williams <dcbw@redhat.com>
17879
17880         * src/NetworkManagerDevice.c
17881                 - Use iw_get_ext() where we should rather than iw_set_ext()
17882
17883 2005-03-29  Dan Williams <dcbw@redhat.com>
17884
17885         * src/NetworkManagerDevice.c
17886                 - (nm_device_set_up_down): remove check for unsupported devices
17887                         that caused NM to not bring devices up when they were
17888                         added to the device list.
17889
17890 2005-03-28  Dan Williams <dcbw@redhat.com>
17891
17892         * src/NetworkManagerDevice.c
17893                 - (mdio_read): Fix two bugs that caused all devices to fail
17894                         the MII carrier detection support checks
17895
17896 2005-03-26  Dan Williams <dcbw@redhat.com>
17897
17898         * src/NetworkManagerDevice.c
17899                 - (nm_device_wireless_scan): Remove duplicated scanning code
17900
17901 2005-03-25  Dan Williams <dcbw@redhat.com>
17902
17903         * panel-applet/NMWirelessApplet.c
17904                 - (nmwa_about_cb): Add some more contributors
17905                 - (nmwa_update_state): show the applet when there's no connection
17906                 - Enable the "Stop/Resume all wireless devices" option in the
17907                         context menu
17908                 - New "no connection" icon
17909
17910         * src/NetworkManager.c
17911                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17912                         wireless is disabled or we're asleep
17913
17914         * src/NetworkManagerDHCP.c
17915                 - Remove trailing "\n" on debug messages
17916
17917         * src/NetworkManagerDbus.c
17918                 - (nm_dbus_network_status_from_data): new state "asleep"
17919
17920         * src/NetworkManagerDevice.c
17921                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17922                         latency and wait times for most operations
17923                 - (nm_device_wireless_scan): Don't scan when asleep
17924
17925         * src/NetworkManagerPolicy.c
17926                 - (nm_policy_get_best_device): return no device when asleep
17927                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17928                         for all wireless devices on update, not just active device
17929
17930         * src/NetworkManagerUtils.c
17931                 - Merge Peter Jones' "completion" patch
17932
17933         * src/nm-dbus-nm.c
17934                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17935                         we're told to disable them
17936                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17937
17938         * utils/nm-utils.h
17939                 - New variants of the warn/info/error/debug print functions that can take
17940                         variables rather than static strings
17941
17942 2005-03-24  Dan Williams <dcbw@redhat.com>
17943
17944         * src/NetworkManagerUtils.c
17945                 - (nm_get_device_driver_name): driver names are now on the parents of
17946                         "Network Interface" objects, so look for them there
17947
17948 2005-03-24  Dan Williams <dcbw@redhat.com>
17949
17950         * test/nmtest.c
17951                 - Escape some forgotten object paths before we shove them through dbus
17952
17953 2005-03-24  Dan Williams <dcbw@redhat.com>
17954
17955         * dhcpcd/dhcpcd.[ch]
17956           src/NetworkManagerDHCP.c
17957                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17958                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17959
17960         * src/NetworkManagerDbus.c
17961                 - spacing cleanups
17962
17963         * src/nm-dbus-dhcp.c
17964                 - Make the API suck less.  There is now only 1 type of each function,
17965                         ie only "getInteger" and no longer also "getIntegerv".  All types
17966                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17967                         that will never have more than 1 element.  This should simplify
17968                         things greatly.
17969
17970         * test/nm-dhcp-opt-test.c
17971                 - Make the tool not segfault
17972                 - adapt to new DHCP Options API
17973
17974 2005-03-22  Dan Williams <dcbw@redhat.com>
17975
17976         * src/NetworkManager.c
17977                 - (nm_wired_link_deactivated): actually ignore netlink events from
17978                         wireless devices.
17979
17980 2005-03-22  Dan Williams <dcbw@redhat.com>
17981
17982         * src/NetworkManager.c
17983                 - (nm_wired_link_activated): actually ignore netlink events from
17984                         wireless devices.
17985
17986 2005-03-17  Dan Williams <dcbw@redhat.com>
17987
17988         Patch from Tom Parker:
17989         * src/nm-netlink-monitor.c
17990                 - Include unistd.h
17991         * info-daemon/NetworkManagerInfoDbus.c
17992                 - (nmi_dbus_update_network_auth_method): free GConf values
17993
17994         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17995         * src/NetworkManagerDevice.c
17996                 - (nm_device_set_wireless_config): wait for successful
17997                         association longer for some cards (Atheros a/b/g)
17998
17999 2005-03-15  Ray Strode  <rstrode@redhat.com>
18000
18001         * src/NetworkManager.c:
18002         (sigterm_pipe_handler):
18003         remove bogus FIXME
18004
18005 2005-03-15  Ray Strode  <rstrode@redhat.com>
18006
18007         * src/NetworkManagerDbus.c:
18008         Fix some sign weirdness that gcc4 doesn't like,
18009         and add a header file so PPC can hopefully find
18010         SIGTRAP
18011
18012 2005-03-14  Ray Strode  <rstrode@redhat.com>
18013         
18014         Fourth (probably working) cut at porting to
18015         dbus 0.30 api and new hal. This cut adds
18016         some new logging macros to make debugging
18017         easier.
18018
18019         * dispatcher-daemon/NetworkManagerDispatcher.c:
18020         * info-daemon/NetworkmanagerInfo.c:
18021         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
18022         * info-daemon/NetworkManagerInfoVPN.c:
18023         * src/NetworkManager.c:
18024         * src/NetworkManagerAP.c:
18025         * src/NetworkManagerAPList.c:
18026         * src/NetworkManagerDHCP.c:
18027         * src/NetworkManagerDbus.c:
18028         * src/NetworkManagerDevice.c:
18029         * src/NetworkManagerPolicy.c:
18030         * src/NetworkManagerSystem.c:
18031         * src/NetworkManagerUtils.c:
18032         * src/NetworkManagerWireless.c:
18033         * src/autoip.c:
18034         * src/nm-dbus-nm.c:
18035         * src/backends/NetworkManagerDebian.c:
18036         * src/backends/NetworkManagerGentoo.c:
18037         * src/backends/NetworkManagerRedHat.c:
18038         * src/backends/NetworkManagerSlackware.c:
18039         use new logging macros.
18040
18041         * dispatcher-daemon/NetworkManagerDispatcher.c:
18042         (nmd_dbus_filter): s/dbus_free/g_free/
18043
18044         * info-daemon/Makefile.am: link in utils library.
18045         * info-daemon/NetworkmanagerInfo.c: use new logging 
18046         macros.
18047         (nmi_dbus_get_network): don't assume enumerations
18048         are 32-bit.
18049         (nmi_dbus_nmi_message_handler): don't free what 
18050         doesn't belong to us.
18051
18052         * libnm_glib/libnm_glib.c:
18053         (libnm_glib_get_nm_status): 
18054         (libnm_glib_init): don't free what doesn't
18055         belong to us.
18056         (libnm_glib_dbus): strdup result, so it doesn't get
18057         lost when message is unref'd.
18058
18059         * panel-applet/NMWirelessAppletDbus.c:
18060         (nmwa_dbus_update_devices): s/dbus_free/g_free/
18061
18062         * src/NetworkManager.c:
18063         (nm_monitor_wired_link_state): request initial status 
18064         dump of all cards when we start up, instead of relying
18065         on /sys/.../carrier.
18066         (nm_info_handler), (nm_set_up_log_handlers): 
18067         log handlers to specify what syslog priorites 
18068         the logging macros default to.
18069
18070         * src/NetworkManagerAPList.c: 
18071         (nm_ap_list_populate_from_nmi):
18072         s/dbus_free_string_array/g_strfreev/
18073
18074         * src/NetworkManagerDbus.c:
18075         (nm_dbus_get_network_object):
18076         validate d-bus message argument types.
18077         Advance message iterator after reading argument,
18078         prepend instead of append to GSList.
18079
18080         * src/NetworkManagerDevice.c:
18081         (nm_device_probe_wired_link_status):
18082         remove redundant /sys in /sys path. remove wrong
18083         contents == NULL means has carrier assumption.
18084
18085         * src/nm-netlink-monitor.c 
18086         (nm_netlink_monitor_request_status): implement
18087         function to ask kernel to dump interface link
18088         status over netlink socket.
18089
18090         * test/*.c: s/dbus_free/g_free/
18091
18092         * utils/nm-utils.h:
18093         (nm_print_backtrace): new macro to print backtrace.
18094         (nm_get_timestamp): new macro to get sub-second precise
18095         unix timestamp.
18096         (nm_info), (nm_debug), (nm_warning), (nm_error):
18097         new logging functions. nm_info just prints,
18098         nm_debug includes timestamp and function,
18099         nm_warning includes function, nm_error includes
18100         backtrace and sigtrap.
18101
18102 2005-03-11  Ray Strode  <rstrode@redhat.com>
18103
18104         Third (unfinished, partially working) cut at porting to 
18105         dbus 0.30 api and new hal.
18106
18107         * info-daemon/NetworkManagerInfoDbus.c:
18108                 don't free null arrays.
18109
18110         * panel-applet/NMWirelessAppletDbus.c: 
18111         * src/nm-dbus-device.c:
18112         * src/nm-dbus-net.c: 
18113         * src/NetworkManagerDbus.c: more 
18114         STRING -> OBJECT_PATH fun
18115         * src/NetworkManagerDevice.c:
18116         * src/NetworkManagerDevice.h:
18117         (rename nm_device_get_link_active): rename to 
18118         nm_device_has_active_link
18119         (nm_device_wireless_link_active): rename to
18120         nm_device_probe_wireless_link_state
18121         (nm_device_wired_link_active): rename to
18122         nm_device_probe_wired_link_state.  Rewrite to
18123         use carrier file since hal doesn't maintain
18124         link state anymore.
18125         (nm_device_update_link_active): rename to
18126         nm_device_update_link_state
18127         * src/NetworkManagerPolicy.c 
18128           (nm_policy_activation_finish): check for NULL
18129           MAC address.
18130
18131         * src/Makefile.am:
18132         * src/NetworkManagerMain.h: 
18133         * src/NetworkManager.c:
18134         * src/nm-netlink-monitor.c:
18135         * src/nm-netlink-monitor.h: New class to support
18136         monitoring wired ethernet link status, since HAL
18137         doesn't export that information anymore.
18138
18139 2005-03-09  Ray Strode  <rstrode@redhat.com>
18140
18141         Second (unfinished, unworking) cut at porting to 
18142         dbus 0.30 api.
18143
18144         * dispatcher-daemon/NetworkManagerDispatcher.c:
18145         * info-daemon/NetworkManagerInfoDbus.c:
18146         * panel-applet/NMWirelessAppletDbus.c:
18147         * src/NetworkManagerDbusUtils.c:
18148         * src/NetworkManagerDbusUtils.h:
18149         * src/nm-dbus-device.c:
18150         * src/nm-dbus-nm.c:
18151         * test/nmtest.c: support dbus "object path" type
18152
18153         * configure.in: 
18154         * Makefile.am:
18155         * info-daemon/Makefile.am:
18156         * libnm_glib/Makefile.am:
18157         * panel-applet/Makefile.am:
18158         * dispatcher-daemon/Makefile.am
18159         * src/Makefile.am:
18160         * test/Makefile.am:
18161         * utils/Makefile.am: 
18162         * utils/nm-utils.c: 
18163         * utils/nm-utils.h: new utils static lib
18164
18165 2005-03-07  Ray Strode  <rstrode@redhat.com>
18166
18167         * info-daemon/NetworkManagerInfoDbus.c:
18168         * libnm_glib/libnm_glib.c:
18169         * panel-applet/NMWirelessAppletDbus.c:
18170         * src/NetworkManager.c:
18171         * src/NetworkManagerDbus.c:
18172         * src/NetworkManagerDevice.c:
18173         * src/NetworkManagerUtils.c:
18174         * src/nm-dbus-device.c:
18175         * src/nm-dbus-dhcp.c:
18176         * src/nm-dbus-net.c:
18177         * src/nm-dbus-nm.c:
18178         * test/nminfotest.c:
18179         First (unfinished, unworking) cut at porting to dbus 0.30 api.
18180
18181 2005-03-04  Dan Williams  <dcbw@redhat.com>
18182
18183         * configure.in
18184                 - Mark HEAD as 0.4
18185
18186 2005-03-04  Dan Williams  <dcbw@redhat.com>
18187
18188         Patch from Peter Jones:
18189         - Make stuff work with gcc 4.0
18190
18191 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18192
18193         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18194
18195 2005-02-27  Jim Huang  <jserv@kaffe.org>
18196
18197         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18198
18199 2005-02-27  Dan Williams  <dcbw@redhat.com>
18200
18201         Patch from Bill Moss:
18202         * panel-applet/NMWirelessAppletDbus.c
18203                 - Make sure strength for current access point is up-to-date when we
18204                         update the gui data model
18205
18206 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18207
18208         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18209
18210 2005-02-27  Dan Williams  <dcbw@redhat.com>
18211
18212         * src/backends/NetworkManagerRedHat.c
18213                 - (nm_system_init): Kill any dhclient processes lying around as well
18214                         as stopping 'nifd' if its already been started.  NetworkManager
18215                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18216
18217 2005-02-27  Dan Williams  <dcbw@redhat.com>
18218
18219         * panel-applet/NMWirelessApplet.c
18220                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18221                         dbus data model, not the GUI data model twice.
18222
18223 2005-02-27  Dan Williams  <dcbw@redhat.com>
18224
18225         * panel-applet/NMWirelessApplet.[ch]
18226           panel-applet/NMWirelessAppletDbus.[ch]
18227                 - Move to incremental network updates.  Instead of blowing away our list
18228                         of devices every time we get a signal from NetworkManager, we now
18229                         incrementally add/remove networks when NetworkManager notifies us that
18230                         a new network has appeared or disappered.  Strength updates now happen
18231                         on-the-fly for each access point as well.  There are now two copies of
18232                         data from NetworkManager: one for the dbus side, and one for the gui side.
18233                         When the dbus side data is modified, it is copied over to the gui side
18234                         so we don't have to hold the data_mutex for long periods of time (and
18235                         therefore block animation of the applet's icon).
18236                 - Clean up some memleaks too
18237
18238         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18239                 - Minor code beautification
18240
18241         * src/NetworkManagerAPList.c
18242                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18243                         completely new and whether or not an existing one's strength was updated.
18244                         Try to fix multiple access points and signal strength by using the highest
18245                         signal strength in each scan for any given ESSID.
18246
18247         * src/NetworkManagerDbus.[ch]
18248                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18249                         wireless networks; now we have only WirelessNetworkUpdate which includes
18250                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18251                 - Kill usage of DbusMessageIter
18252
18253         * src/NetworkManagerDevice.c
18254                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18255                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18256                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18257                         currently associated with from the network list.
18258                 - Update for new signals during scan, send out Appeared, Disappeared, or
18259                         StrengthChanged when necessary.
18260
18261 2005-02-25  Dan Williams  <dcbw@redhat.com>
18262
18263         * README
18264                 - Line break the README
18265
18266 2005-02-25  Dan Williams  <dcbw@redhat.com>
18267
18268         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18269                 - Remove usage of gtk_window_set_default_size()
18270
18271         * panel-applet/essid.glade
18272                 - Stick default size here
18273                 - Add in random crap that current glade wants to add in now
18274
18275 2005-02-25  Dan Williams  <dcbw@redhat.com>
18276
18277         * src/backends/NetworkManagerRedHat.c
18278                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18279                         and that we actually tell nscd to reload the hosts cache when it changes
18280
18281 2005-02-25  Dan Williams  <dcbw@redhat.com>
18282
18283         * info-daemon/NetworkManagerInfoDbus.c
18284                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18285
18286         * test/nminfotest.c
18287                 - Whack usage of DbusMessageIter
18288                 - Clean up DbusError and DbusMessage handling and freeing
18289                 - Remove unused unregister handler
18290
18291         * test/nmtest.c
18292                 - Whack usage of DbusMessageIter
18293
18294         * test/nmtestdevices.c
18295                 - Whack usage of DbusMessageIter
18296
18297 2005-02-25  Dan Williams  <dcbw@redhat.com>
18298
18299         * NetworkManager.h
18300                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18301                         signal
18302
18303 2005-02-25  Dan Williams  <dcbw@redhat.com>
18304
18305         * named/nm-named-manager.c
18306                 - Ensure that pid and watch variables for child named process get cleared out
18307                         when the child goes away.
18308
18309 2005-02-22  Dan Williams  <dcbw@redhat.com>
18310
18311         * src/NetworkManagerPolicy.c
18312                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18313                         and NULL out data->active_device so that we have to choose another one.
18314                         This may make NetworkManager keep attempting to connect to a wired network
18315                         if it fails, but if it keeps failing the wired network has more problems than
18316                         just NetworkManager.
18317
18318         * src/backends/NetworkManagerRedHat.c
18319                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18320                         is already running
18321
18322         * named/nm-named-manager.c
18323                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18324                         named so that the distro can flush whatever name service caching
18325                         daemon it uses
18326
18327 2005-02-21  Dan Williams  <dcbw@redhat.com>
18328
18329         * src/NetworkManagerDHCP.[ch]
18330                 - (nm_device_dhcp_remove_timeouts): new function
18331
18332         * src/NetworkManagerDevice.c
18333                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18334                         remove the DHCP timeouts.
18335
18336 2005-02-21  Dan Williams  <dcbw@redhat.com>
18337
18338         * panel-applet/NMWirelessApplet.[ch]
18339           panel-applet/menu-info.[ch]
18340                 - Give the panel applet some major love: menu items are no longer
18341                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18342                         This allows the applet to actually reflect theme changes correctly,
18343                         since themeing of subclassed items in GTK _sucks_.
18344
18345 2005-02-18  Dan Williams  <dcbw@redhat.com>
18346
18347         * libnm_glib/libnm_glib.[ch]
18348           test/libnm_glib_test.c
18349                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18350                         and its data, and doesn't have to free the callback data anymore
18351
18352 2005-02-18  Dan Williams  <dcbw@redhat.com>
18353
18354         * panel-applet/NMWirelessApplet.c
18355                 - Revert 2005-02-18 William Jon McCann fix for standard
18356                         copyright string until it passes 'make distcheck'.
18357                         With standard copyright string, xgettext complains
18358                         about "Non-ASCII string at ...".
18359
18360 2005-02-18  Dan Williams  <dcbw@redhat.com>
18361
18362         * panel-applet/essid.glade
18363           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18364                 - Correct spelling of "adaptor"->"adapter"
18365
18366 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18367
18368         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18369         (nmwa_about_cb): Use standard copyright string.  Update comment
18370         text to reflect that it is a notification area applet.  Remove
18371         leading newline in authors list.
18372         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18373         instead of on parent menu item activation.  Fixes #167550.
18374
18375 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18376
18377         * panel-applet/essid.glade: Capitalize items as per HIG.
18378           Fixes #167632
18379
18380 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18381
18382         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18383         files for GTK 2.4 or lower, since now public in GTK 2.6.
18384
18385         * panel-applet/essid.glade: Don't specify window size.
18386         
18387 2005-02-17  Dan Williams  <dcbw@redhat.com>
18388
18389         Caught by Bill Moss:
18390         * dhcpcd/client.c
18391                 - Time remaining for DHCP transaction calculation was incorrectly
18392                         inside a #ifdef DEBUG
18393
18394 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18395
18396         * configure.in: Added fr (French) to ALL_LINGUAS.
18397
18398 2005-02-14  Dan Williams  <dcbw@redhat.com>
18399
18400         * src/NetworkManagerDHCP.c
18401                 - (set_domain_searches): Fix free of invalid pointer
18402
18403 2005-02-14  Dan Williams  <dcbw@redhat.com>
18404
18405         Patch from Peter Jones:
18406         * dhcpcd/client.c
18407                 - Ensure we return RET_DHCP_CEASED everywhere we should
18408         * dhcpcd/udpipgen.c
18409                 - Use faster TOS for IP packets
18410                 - Don't set ip_id since we're UDP
18411
18412         Patch from Tomislav Vujec:
18413         * src/nm-dbus-dhcp.c
18414           test/nm-dhcp-opt-test.c
18415                 - Clean up warnings to enable cvs tree compilation.
18416
18417 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18418
18419         * configure.in
18420           po/hr.po
18421                 - Add the Croatian locale.
18422
18423 2005-02-14  Colin Walters  <walters@verbum.org>
18424
18425         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18426         list of domains to search.
18427         
18428         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18429
18430 2005-02-13  Dan Williams  <dcbw@redhat.com>
18431
18432         * dhcpcd/client.c
18433                 - Debug output cleanups of DHCP option printing and parsing.
18434
18435 2005-02-13  Dan Williams  <dcbw@redhat.com>
18436
18437         Patch from Dan Reed:  DHCP options D-BUS API
18438                 Exposes the DHCP options that a device receives to clients over D-BUS.
18439
18440         * configure.in
18441                 - A few cleanups
18442
18443         * dhcpcd/client.h
18444                 - Correct names, option length, and types for DHCP options
18445
18446         * dhcpcd/dhcpcd.[ch]
18447                 - Clarify function names that access DHCP options & data
18448
18449         * src/NetworkManagerDHCP.c
18450                 - Use new DHCP data access functions
18451
18452         * src/NetworkManagerDbus.c
18453                 - Message handler for DHCP functions
18454
18455         * src/nm-dbus-dhcp.[ch] (new)
18456                 - DHCP dbus methods
18457
18458         * test/nm-dhcp-opt-test.c
18459                 - Test DHCP D-BUS API and return all present DHCP options
18460
18461 2005-02-12  Dan Williams  <dcbw@redhat.com>
18462
18463         * test/Makefile.am
18464           test/nmclienttest.c
18465           test/nmtest.c
18466                 - Move nmclienttest.c -> nmtest.c
18467
18468 2005-02-12  Dan Williams  <dcbw@redhat.com>
18469
18470         * dhcpcd/buildmsg.c
18471                 - Pad DHCP packets until they are at least 300 bytes in size.
18472
18473 2005-02-11  Dan Williams  <dcbw@redhat.com>
18474
18475         * dhcpcd/client.c
18476                 - (dhcp_init): only print out client ID and class ID if they are specified
18477
18478         * src/NetworkManagerDbus.[ch]
18479           src/nm-dbus-nm.[ch]
18480           src/nm-dbus-device.[ch]
18481           src/nm-dbus-net.[ch]
18482                 - Move NM, Device, and Net functions to separate files and use the
18483                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18484                         method dispatching
18485
18486         * src/NetworkManagerDbusUtils.c
18487                 - Add new validate_method called before each dispatch (if present)
18488                         that can validate the method call
18489
18490         * src/NetworkManagerWireless.c
18491                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18492                         levels never to be evaluated
18493
18494         Patch from j@bootlab.org
18495         * src/NetworkManagerDevice.c
18496                 - Add typedef for "u64"
18497
18498         * src/backends/NetworkManagerDebian.c
18499                 - Copy in Dave Woodhouse's fixes for IPv6
18500
18501 2005-02-11  Dan Williams  <dcbw@redhat.com>
18502
18503         Patch from Dave Woodhouse for IPv6:
18504         * src/NetworkManagerUtils.c
18505                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18506                         and multicast addresses
18507
18508         * src/NetworkManagerDevice.c
18509                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18510                         after bringing up a card.
18511
18512 2005-02-10  Dan Williams  <dcbw@redhat.com>
18513
18514         Patch from Dave Woodhouse:
18515         * src/NetworkManagerSystem.h
18516           src/backends/NetworkManagerDebian.c
18517           src/backends/NetworkManagerGentoo.c
18518           src/backends/NetworkManagerSlackware.c
18519                 - New nm_system_device_add_ip6_link_address() function to add link-local
18520                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18521
18522         * src/backends/NetworkManagerRedHat.c
18523                 - (nm_system_device_add_ip6_link_address): implement
18524                 - (nm_system_device_flush_addresses): revert to previous behavior of
18525                         flushing all addresses
18526
18527 2005-02-10  Dan Williams  <dcbw@redhat.com>
18528
18529         Patch from Tom Parker:
18530         * src/NetworkManagerDevice.c
18531                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18532                         mii.h headers are broken, and instead use our own typedefs
18533
18534 2005-02-10  Dan Williams  <dcbw@redhat.com>
18535
18536         * dhcpcd/buildmsg.c
18537                 - (fill_host_and_class_id): only fill in client and class IDs if
18538                         they are set by callers.
18539
18540         * dhcpcd/client.c
18541                 - (class_id_setup): don't autogenerate a class ID, only use one
18542                         we're given, if any.
18543                 - (client_id_setup): don't autogenerate a client ID, only use one
18544                         we're given, if any.
18545
18546         * dhcpcd/dhcpcd.c
18547                 - (dhcp_interface_init): ensure that client options are correctly
18548                         NULL terminated
18549
18550         * src/NetworkManagerDHCP.c
18551                 - (nm_device_dhcp_request): pass hostname to dhcp library
18552
18553 2005-02-10  Dan Williams  <dcbw@redhat.com>
18554
18555         * dhcpcd/client.c
18556                 - #rh147661# Don't send kernel version in DHCP requests
18557
18558         * src/NetworkManagerSystem.h
18559           src/backends/NetworkManagerDebian.c
18560           src/backends/NetworkManagerGentoo.c
18561           src/backends/NetworkManagerRedHat.c
18562           src/backends/NetworkManagerSlackware.c
18563                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18564                         functions, they are no longer used anyway
18565
18566         * src/backends/NetworkManagerRedHat.c
18567                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18568                         addresses in an attempt to keep IPv6 local-scope addresses around
18569
18570 2005-02-10  Dan Williams  <dcbw@redhat.com>
18571
18572         * src/NetworkManager.c
18573                 - (nm_create_device_and_add_to_list): change the add message slightly
18574
18575         * src/NetworkManagerUtils.c
18576                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18577                         Return driver name to calling function
18578                 - (nm_get_driver_support_level): print out the driver a device is using
18579                         during the support check
18580
18581         Patch from Dave Woodhouse:
18582         * dhcpcd/udpipgen.c
18583                 - (in_cksum): copy last byte of odd-sized packets into a
18584                         'u_short' rather than a 'u_char', should fix wrong checksums
18585                         on big-endian platforms
18586
18587 2005-02-09  Dan Williams  <dcbw@redhat.com>
18588
18589         * Clean up usage of GSList objects and looping through their members
18590         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18591                 now.
18592         * Fix problem where even if scanning was turned off, card would still
18593                 cycle through frequencies.
18594
18595 2005-02-08  Dan Williams  <dcbw@redhat.com>
18596
18597         * panel-applet/NMWirelessApplet.c
18598                 - Fix for gtk 2.4
18599
18600 2005-02-08  Dan Williams  <dcbw@redhat.com>
18601
18602         Patch from Bill Moss
18603         * panel-applet/NMWirelessApplet.c
18604                 - Restore correct ESSID in tooltips
18605
18606 2005-02-07  Dan Williams  <dcbw@redhat.com>
18607
18608         * panel-applet/NMWirelessApplet.[ch]
18609                 - Add a context menu that contains:
18610                         Pause/Resume Wireless Scanning
18611                         Stop/Start All Wireless Devices
18612                         About...
18613                 - Grab active device strength off active device,
18614                         not its network
18615
18616         * panel-applet/NMWirelessAppletDbus.[ch]
18617                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18618                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18619                 - Update active device strength every 2 seconds, not every 1 second
18620
18621         * panel-applet/menu-info.c
18622                 - Only disable wired devices in the menu when they support carrier detection,
18623                         and don't currently have a link.  Non-carrier-detect devices will always
18624                         remain choosable
18625
18626         * src/Makefile.am
18627           src/NetworkManagerDbusUtils.[ch]
18628                 - Add new new dbus utils sources
18629
18630         * src/NetworkManager.c
18631                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18632                         with the boolean parameter
18633                 - Set scanning_enabled & wireless_enabled to TRUE
18634
18635         * src/NetworkManagerDbus.c
18636                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18637                 - Implement scanning & wireless enable/disable calls
18638                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18639
18640         * src/NetworkManagerDevice.c
18641                 - New link detection stuff again...
18642                         o  Create device's mainloop earlier (but don't run it earlier)
18643                         o  Hook up new carrier-detect support stuff
18644                         o  Add in the ethtool & mii support detection code
18645                 - Don't scan if scanning is disabled
18646
18647         * src/NetworkManagerPolicy.c
18648                 - Never automatically choose a device that doesn't support carrier detection
18649                 - Don't automatically choose a wireless device if wireless is disabled
18650
18651 2005-02-07  Dan Williams  <dcbw@redhat.com>
18652
18653         * libnm_glib/libnm_glib.c
18654                 - Small cleanup in element list iteration
18655
18656 2005-02-07  Dan Williams  <dcbw@redhat.com>
18657
18658         * src/NetworkManagerWireless.c
18659                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18660                         to be in line with the WEXT quality specification
18661
18662 2005-02-02  Dan Williams  <dcbw@redhat.com>
18663
18664         Patch from Nathan Fredrickson <nathan@silverorange.com>
18665         * Fix up compile for deprecation of libgnomeui
18666                 - Switch to <glib/gi18n.h> from <libintl.h>
18667                 - Remove <libgnomeui/libgnomeui.h> includes
18668                 - Use gtk_window_set_default_icon_from_file() rather than
18669                         gnome_window_set_default_icon_from_file()
18670
18671         * named/nm-named-manager.c
18672                 - (generate_named_conf): Fix return-nothing in non-void
18673                         function
18674
18675 2005-02-02  Dan Williams  <dcbw@redhat.com>
18676
18677         * Clean up unused variables and the like
18678
18679 2005-02-02  Dan Williams  <dcbw@redhat.com>
18680
18681         * src/NetworkManagerAPList.c
18682                 - (nm_ap_list_merge_scanned_ap): merge strength too
18683
18684         * src/NetworkManagerUtils.c
18685                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18686                         of locking issues by printing out prettier information than g_mutex_lock
18687                 - Print out names of mutexes registered with nm_register_mutex_desc()
18688                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18689                         us to seemingly block here for too long
18690
18691         * src/NetworkManager.c
18692           src/NetworkManagerAPList.c
18693           src/NetworkManagerDevice.c
18694                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18695                         so we get better debug information printed
18696
18697         * src/NetworkManagerDbus.c
18698                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18699                         since it sometimes has locking side effects
18700                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18701                         from 10s
18702                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18703                         we don't need a switch.  This gets called often enough that we can't block
18704                         until the scan mutex is acquired, because we'll block on device activation
18705                         and a few other things, which hangs main thread for too long.
18706
18707         * src/NetworkManagerPolicy.c
18708                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18709                         nm_device_need_ap_switch() will be called               
18710
18711 2005-02-02  Dan Williams  <dcbw@redhat.com>
18712
18713         * panel-applet/NMWirelessApplet.c
18714                 - Display name of wireless network we are connecting to or connected to
18715                         in the tooltip of the applet
18716
18717 2005-02-02  Dan Williams  <dcbw@redhat.com>
18718
18719         * src/NetworkManagerDHCP.c
18720                 - Hopefully fix double-default-route problem by cleaning up the default
18721                         route added by DHCP code right before the DHCP transaction begins
18722
18723 2005-02-02  Dan Williams  <dcbw@redhat.com>
18724
18725         * named/nm-named-manager.c
18726                 - Write out valid resolv.conf when we exit
18727
18728 2005-02-01  Dan Williams  <dcbw@redhat.com>
18729
18730         Patch from Colin Walters:
18731         * named/nm-named-manager.c
18732                 - Make multi-domain search options work
18733
18734 2005-01-31  Dan Williams  <dcbw@redhat.com>
18735
18736         * info-daemon/NetworkManagerInfoDbus.c
18737                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18738
18739         * src/NetworkManagerDevice.c
18740                 - (nm_device_new): Don't store the entire range struct, use only what we need
18741                         (which is currently avg_quality, max_quality, and frequencies).  Also
18742                         zero device structure when we've free'd it to maybe expose errors down
18743                         the line.
18744                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18745                         quality data from the card since quality will be useless during a scan.
18746                         Call updated wireless qual-to-percent function with values stored in
18747                         nm_device_new() earlier.
18748                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18749                         nm_device_get_bad_crypt_packets())
18750                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18751                         nm_device_new()
18752                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18753                         list if available.  Problem was this: when the WEP key is wrong, NM will
18754                         try OS then SK modes, and then get stuck in SK mode after that.  This
18755                         should reset it.
18756                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18757                         function
18758
18759         * src/NetworkManagerWireless.c
18760                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18761                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18762                         if that's all present, otherwise fall back to signal-to-noise ratios.
18763
18764 2005-01-29  Dan Williams  <dcbw@redhat.com>
18765
18766         * initscript/RedHat/NetworkManager
18767                 - Don't spit out sysctl stuff to console
18768
18769         * libnm_glib/libnm_glib.c
18770                 - (libnm_glib_init): call dbus_g_thread_init()
18771
18772         * panel-applet/NMWirelessAppletDbus.c
18773                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18774
18775         * src/NetworkManager.c
18776                 - (main): call dbus_g_thread_init()
18777
18778         * src/NetworkManagerAPList.c
18779                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18780                         so we can actually see what's there in a normal syslog
18781
18782         * src/NetworkManagerDevice.c
18783                 - (nm_device_activate_wireless): print out the "waiting for access point"
18784                         message only once, then say what access point we actually got after
18785                         the wait.
18786                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18787                         function, wait until the scan is done.  Scans may change the ESSID of
18788                         the card, making this function think we need to switch access points
18789                 - (nm_device_wireless_process_scan_results): for artificial access points
18790                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18791                         prevents collisions with the scanning code, which may change the card's
18792                         ESSID and cause the access point to get dropped from the device's AP
18793                         list.  Also increase the keep-around time to 2m from 60s since the max
18794                         scan interval could be 60s in some cases.
18795
18796         * src/NetworkManagerPolicy.c
18797                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18798                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18799                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18800                         between NM and NMI.
18801
18802 2005-01-27  Dan Williams  <dcbw@redhat.com>
18803
18804         * info-daemon/NetworkManagerInfoDbus.c
18805                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18806                         GConf, make a minimal entry for it (essid & timestamp)
18807
18808         * src/NetworkManagerAPList.c
18809                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18810                         NetworkManagerInfo isn't running
18811
18812         * src/NetworkManagerDbus.[ch]
18813                 - (nm_dbus_nmi_is_running): new function
18814
18815         * src/NetworkManagerDevice.c
18816                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18817                         address to garbage.
18818
18819         * src/NetworkManagerPolicy.c
18820                 - (nm_policy_activation_finish): On successful activation, make sure
18821                         the "best" AP has a MAC address, and don't tell NMI to add the
18822                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18823                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18824                         access point after refreshing our allowed list if it doesn't already
18825                         have a "best" access point.
18826
18827 2005-01-25  Dan Williams  <dcbw@redhat.com>
18828
18829         * panel-applet/NMWirelessAppletDbus.c
18830                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18831                         so we check for NM_DBUS_SERVICE rather than not for it
18832
18833         * libnm_glib/libnm_glib.c
18834                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18835                         ServiceOwnerChanged signal
18836
18837 2005-01-25  Dan Williams  <dcbw@redhat.com>
18838
18839         * configure.in
18840                 - Check DBUS version in configure, and set the C macros
18841                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18842
18843         * info-daemon/NetworkManagerInfoDbus.c
18844                 - Remove #if 0-d section of code that quit NMI if NM went away.
18845
18846         * panel-applet/NMWirelessAppletDbus.c
18847                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18848
18849         * src/NetworkManager.c
18850           src/NetworkManagerMain.h
18851           src/NetworkManagerDbus.c
18852                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18853                 - Make updating of our Allowed Wireless Network lists from NMI
18854                         an idle function in the main thread now, with a high priority.
18855
18856 2005-01-24  Dan Williams  <dcbw@redhat.com>
18857
18858         * panel-applet/gtkcellview.[ch]
18859           panel-applet/menu-info.c
18860                 - Fix GTK version checks to be <= rather than <
18861
18862         * test/Makefile.am
18863                 - Include the libtool archive of libnm_glib rather than
18864                         trying to pull in the .so
18865
18866 2005-01-24  Dan Williams  <dcbw@redhat.com>
18867
18868         * src/NetworkManagerDevice.c
18869           src/NetworkManagerDevicePrivate.h
18870                 - Block nm_device_new() until our device's worker thread has had a
18871                         chance to start up.  Fixes a race between main thread and worker
18872                         thread starting that caused activation requests to get lost.
18873
18874 2005-01-24  Dan Williams  <dcbw@redhat.com>
18875
18876         * initscript/RedHat/NetworkManager
18877                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18878                         to add the NM startup script at priority 50, which was
18879                         way too early
18880
18881 2005-01-24  Colin Walters  <walters@redhat.com>
18882
18883         * named/named.conf: Use any port for query source instead of
18884         restricting to port 53.
18885
18886 2005-01-24  Dan Williams  <dcbw@redhat.com>
18887
18888         * initscript/RedHat/NetworkManager
18889                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18890                         to add the NM startup script at priority 50, which was
18891                         way too early
18892
18893 2005-01-24  Dan Williams  <dcbw@redhat.com>
18894
18895         Patch from Tom Parker <palfrey@tevp.net>
18896         * Fix up compile warnings & errors in the wireless applet
18897
18898 2005-01-24  Dan Williams  <dcbw@redhat.com>
18899
18900         * panel-applet/NMWirelessApplet.c
18901                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18902
18903 2005-01-24  Dan Williams  <dcbw@redhat.com>
18904
18905         * panel-applet/gtkcellview.[ch]
18906                 - Only compile these files for GTK 2.4 or lower, since 
18907                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18908                         when choosing "Other Wireless Networks" from the panel
18909                         applet menu
18910
18911 2005-01-21  Dan Williams  <dcbw@redhat.com>
18912
18913         * src/NetworkManager.c
18914                 - Daemonize earlier so that glib doesn't get confused (?)
18915
18916 2005-01-21  Dan Williams  <dcbw@redhat.com>
18917
18918         * panel-applet/NMWirelessApplet.[ch]
18919           panel-applet/NMWirelessAppletDbus.c
18920           panel-applet/menu-info.c
18921           src/NetworkManagerDevice.c
18922                 - Disable wired devices in the menu when they have no link.
18923
18924 2005-01-21  Dan Williams  <dcbw@redhat.com>
18925
18926         * Cache last-known-good wireless authentication method in
18927                 NetworkManagerInfo, and use that method first during
18928                 wireless device activation.  Should speed up devices that
18929                 need Shared Key authentication method since Open System is
18930                 now the default.
18931
18932         * Remove the hack to not do full activation on wired connections
18933                 that are active when we launch, it causes too many problems
18934                 with name resolution and was a hack in the first place.
18935
18936         * Re-work wireless device activation again somewhat to have a
18937                 clearer chain of events and to use last-known-good
18938                 authentication method of the access point.  Also provide
18939                 better status throughout activation to ensure the applet
18940                 can tell the user exactly what's going on.
18941
18942         * Remove the "find wireless network" code and now simply attempt
18943                 to activate with that access point.  This reduces the delay
18944                 between selecting "Other wireless Network" and actually
18945                 connecting to that network.
18946
18947         * Correctly stop the device's worker thread when its removed.
18948
18949 2005-01-21  Dan Williams  <dcbw@redhat.com>
18950
18951         * dhcpcd/client.c
18952                 - Clean up some of the debug messages
18953
18954 2005-01-21  Dan Williams  <dcbw@redhat.com>
18955
18956         * Add new icons, more frames of animation
18957         * Remove some hacks to get the panel applet to display correct
18958                 status, an NM update will soon follow that will fix the
18959                 real issue.
18960
18961 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18962
18963         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18964         the first include for working i18n. Also, don't include it in .h files
18965         * panel-applet/NMWirelessApplet.h: Same
18966         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18967         * panel-applet/menu-info.c: Same
18968
18969 2005-01-18  Dan Williams <dcbw@redhat.com>
18970
18971         * dhcpcd/client.c
18972                 - Remove some debug messages
18973                 - Wrap others in #ifdef DEBUG/#endif
18974
18975         * src/NetworkManager.c
18976                 - Remove some debug messages
18977                 - Clarify some debug messages
18978                 - Remove code related to old single-thread wireless scanning
18979
18980         * src/NetworkManagerAP.[ch]
18981                 - New AP property "last_seen" to track how recently an AP was
18982                         found in a scan
18983                 - Start using 'const' more in function arguments
18984
18985         * src/NetworkManagerAPList.[ch]
18986                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18987                         of an AP found in an AP list from a source AP, or if not found
18988                         in the list add the source AP
18989                 - (nm_ap_list_combine): remove, no longer needed
18990
18991         * src/NetworkManagerDevice.c
18992                 - Each device now has a "worker" thread from start to end of its life.
18993                         Scanning for wireless devices now happens in that thread,
18994                         not in a single "wireless scanning thread" for all devices as
18995                         previously.  Activation consists of adding an idle handler to the
18996                         thread's main loop/context, which gets run at the next available
18997                         opportunity.
18998                 - Wireless scanning is also simplified, there is now only one list of
18999                         access points per wireless device, and APs older than 60s are
19000                         removed from the list.  Previously, we kept results for the last
19001                         3 scans and merged whole lists, which was complicated.
19002                 - Cleaned up activation debug messages.
19003                 - Wireless activation and access-point search routines now use Open System
19004                         authentication before trying Shared Key.
19005                 - Removed some code in nm_device_update_best_ap() that could cause cards
19006                         to loose their link to the access point.
19007                 - Scanning now uses a backoff algorithm, where the inverval becomes
19008                         progressively longer between scans when the list of scanned access
19009                         points doesn't change.  A change will revert to the shortest scan
19010                         interval (20s).
19011
19012         * src/NetworkManagerWireless.[ch]
19013                 - Remove code related to old single-thread wireless scanning
19014
19015 2005-01-18  Colin Walters  <walters@redhat.com>
19016
19017         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
19018         of older nameservers.
19019
19020 2005-01-18  Colin Walters  <walters@redhat.com>
19021
19022         * named/nm-named-manager.c (generate_named_conf): Many fixes
19023         to config file generation.
19024         (safer_kill): Remove, was too much trouble for little gain.
19025         (nm_named_manager_start): Run named as NM_NAMED_USER.
19026
19027         * configure.in: Add option --with-named-user.
19028
19029 2005-01-14  Colin Walters  <walters@redhat.com>
19030
19031         Patch from ed@catmur.co.uk (Ed Catmur)
19032
19033         * named/nm-named-manager.c: Add "context" property.
19034         Use it to add child watch source in specific GMainContext.
19035
19036         * src/NetworkManager.c (nm_data_new): Initialize
19037         named with correct main context.  Start named only
19038         after forking.
19039
19040 2005-01-14  Colin Walters  <walters@redhat.com>
19041
19042         * named/nm-named-manager.c (generate_named_conf): Write config
19043         and pid files into NM_NAMED_DATA_DIR; this allows things to
19044         work better with FC3 named SELinux policy.  Also fix up silly
19045         format error.
19046
19047         * configure.in: Add --with-named-dir option.
19048
19049 2005-01-14  Colin Walters  <walters@redhat.com>
19050
19051         * configure.in: Make named support require passing --with-named.
19052
19053         * named/nm-named-manager.c: Support writing resolv.conf directly
19054         without running named.
19055
19056 2005-01-13  Dan Williams <dcbw@redhat.com>
19057
19058         * named/nm-named-manager.c
19059                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19060
19061         * src/NetworkManagerDevice.c
19062                 - Rework wireless link detection code to be more reliable
19063
19064 2005-01-12  Dan Williams <dcbw@redhat.com>
19065
19066         * initscripts/RedHat/NetworkManager
19067                 - Change initial level to "-" rather than "345" so that
19068                         we don't activate ourselves by default on install
19069
19070 2005-01-12  Dan Williams <dcbw@redhat.com>
19071
19072         * libnm_glib/
19073                 - Client library for applications using glib
19074
19075         * configure.in
19076           various Makefiles
19077                 - Split NM_CFLAGS and NM_LIBS into separate variables
19078                         like DBUS_*, HAL_* and GLIB_*
19079
19080         * src/NetworkManager.c
19081           src/NetworkManagerMain.h
19082                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19083                         broadcast a status changed signal over DBUS from the main thread.
19084                         Still unused anywhere for the moment.
19085
19086         Patch from j@bootlab.org
19087         * panel_applet/NMWirelessAppletDbus.c
19088           src/NetworkManagerDbus.c
19089                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19090                         for the "getMode" method call
19091
19092 2005-01-10  Dan Williams <dcbw@redhat.com>
19093
19094         * src/NetworkManagerDevice.c
19095                 - Minor fixups & corrections to "auto" frequency mode, make it
19096                         less chatty with syslog
19097
19098 2005-01-10  Dan Williams <dcbw@redhat.com>
19099
19100         * src/NetworkManagerDevice.c
19101                 - Implement "auto" frequency/channel support, since cards like Atheros
19102                         can't use other frequencies at all when you've told it to use a
19103                         specific one, even for scanning.
19104                 - Grab the scan mutex around places where we can't tolerate wireless
19105                         settings changing underneath us, like nm_device_wireless_network_exists()
19106                         and nm_device_activate_wireless()
19107
19108         * src/NetworkManagerWireless.c
19109                 - Back scan interval off to 20s instead of 14s
19110
19111 2005-01-09  Dan Williams <dcbw@redhat.com>
19112
19113         * src/NetworkManagerDevice.c
19114                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19115                         already set.  Stops some drivers like Atmel from continually
19116                         reloading the firmware, which they do upon every configuration
19117                         change.
19118
19119 2005-01-09  Dan Williams <dcbw@redhat.com>
19120
19121         * dhcpcd/client.c
19122                 - Use correct timeout value
19123
19124         * info-daemon/NetworkManagerInfoDbus.c
19125           src/NetworkManagerDbus.c
19126                 - Consolidate communication between NM and NMI by doing only 1 dbus
19127                         method call to get Wireless Network info from NMI instead of 6
19128
19129         * src/NetworkManager.c
19130                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19131                         when we didn't have an AP to use, we'd wait for one forever without
19132                         quitting
19133
19134         * src/NetworkManagerDevice.c
19135                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19136                         activation, dhcp might not have started yet but we don't quit activation
19137                         before starting it, so the quit signal gets lost
19138
19139 2005-01-07  Dan Williams <dcbw@redhat.com>
19140
19141         * dhcpcd/client.c
19142                 - Rework the DHCP client code to be much less chatty when
19143                         it receives non-DHCP UDP packets during the DHCP run
19144                         (reported by and preliminary patches from Bill Moss)
19145
19146         * Move wireless scanning to a separate thread.  This thread forwards the
19147                 results to the main thread when done where they are integrated into
19148                 the device's access point lists.  This keeps the main thread (which
19149                 does all the DBUS communication) from being blocked for long periods
19150                 of time by wireless scanning.
19151
19152         * Make state modification an idle routine in the main loop, and trigger
19153                 state changes rather than polling for them.
19154
19155         * src/backends/NetworkManagerGentoo.c
19156                 - Fix up invalid C90 code (reported by Christoph Ruessler)
19157
19158         * src/NetworkManagerDevice.c
19159                 - Revert IPv6 patch for wired devices from 2004-12-22 for
19160                         router advertisements, causing problems and infinite loop
19161                         during "best" device determination due to link going up/down
19162                         (reported by Bill Moss)
19163
19164         Apply patch from Peter Jones
19165         * src/NetworkManagerDevice.c
19166                 - Shortcut for link-checking for ipw2x00 cards
19167                 - Split out association check into separate routine
19168
19169 2004-01-05  Colin Walters  <walters@redhat.com>
19170
19171         * named/named.conf: Add PID_FILE.
19172
19173         * named/nm-named-manager.c: Always generate a pid
19174         file, since older BIND versions don't support
19175         "pid-file none".
19176
19177 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
19178
19179         * configure.in (ALL_LINGUAS): Added ja (Japanese).
19180
19181 2004-12-22  Dan Williams <dcbw@redhat.com>
19182
19183         * src/NetworkManagerDevice.c
19184                 - Silently fail when setting bitrate doesn't work
19185
19186
19187         Patches from j@bootlab.org:
19188         * src/backends/NetworkManagerDebian
19189                 - Update backend to match functionality in RedHat backend
19190         * src/NetworkManagerDevice.c
19191                 - Take down then bring up wired devices after connection so
19192                 they send out ipv6 router advertisements
19193
19194 2004-12-21  Colin Walters  <walters@verbum.org>
19195
19196         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19197         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19198
19199 2004-12-21  Colin Walters  <walters@redhat.com>
19200
19201         * configure.in: Correct named detection.
19202
19203 2004-12-21  Colin Walters  <walters@redhat.com>
19204
19205         * src/NetworkManager.c (nm_data_new): Initialize named.
19206         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19207         the mainloop when these signals are received.
19208         (nm_data_free): Unref named.
19209         (sigterm_handler, sigterm_pipe_handler): New functions for
19210         exiting mainloop.
19211         
19212         * src/NetworkManagerMain.h (NMData): Add signal handling and
19213         nameserver bits.
19214
19215         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19216         unref.
19217
19218         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19219         set nameservers from DHCP response data.
19220         (set_domain_search): Set domain search from DHCP response.
19221         (nm_device_dhcp_configure): Invoke them.
19222
19223         * src/NetworkManagerSystem.c
19224         (nm_system_device_update_resolv_conf): Delete.  Deleting
19225         code is totally sweet.
19226
19227         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19228
19229         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19230         implements an object which controls a nameserver.  Currently
19231         uses bind 9.
19232
19233         * configure.in: Check for named.
19234
19235         * Makefile.am (SUBDIRS): Add named dir.
19236
19237         * named/named.conf: New template config file.
19238
19239 2004-12-20  Colin Walters  <walters@redhat.com>
19240
19241         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19242         instead of '='.
19243
19244 2004-12-17  Dan Williams  <dcbw@redhat.com>
19245
19246         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19247                 link-local addresses instead of doing DHCP.
19248
19249         * In the panel applet, there's a new "Create new Wireless Network..." item
19250
19251         * The panel applet also sticks around now even if NetworkManager dies, but
19252                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19253                 a bug, I'll fix that later.
19254
19255         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19256                 lookups after a switch rather than actually doing them.
19257
19258         * Clean up some of those warnings in nm_ap_list_* functions
19259
19260         * Delay between scans changed to 15s instead of 10s
19261
19262 2004-12-15  Dan Williams  <dcbw@redhat.com>
19263
19264         Patch from Tom Parker
19265         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19266                 address
19267
19268         * Longer pause after setting ESSID on cards that support a larger number
19269                 of channels to give the card time to find the right channel
19270
19271         * Add system hook to restart mDNSResponder (or whatever the local implementation
19272                 of Multicast DNS is) when we activate interfaces
19273
19274 2004-12-15  Dan Williams  <dcbw@redhat.com>
19275
19276         * Rework the DHCP code again to revert to sending full ethernet frames
19277                 rather then relying on the kernel to do the right thing with our
19278                 packets.
19279
19280 2004-12-06  Dan Williams  <dcbw@redhat.com>
19281
19282         * dhcpcd/client.c
19283                 - Fix some minor errors in dhcp_handle_transaction() that caused
19284                         unexpected early timeouts of DHCP transactions
19285
19286         * dhcpcd/client.h
19287                 - DHCP retransmit time from 4s -> 5s
19288
19289 2004-12-05  Dan Williams  <dcbw@redhat.com>
19290
19291         * Major rework of the DHCP code, taking some cues from pump.  We don't
19292                 write raw Ethernet packets anymore, which simplifies the code quite
19293                 a bit.  The new code should be more robust, not hang in recvfrom()
19294                 as much, and generally work better.  This also means that we need
19295                 to force HAL/dbus to use a created GMainContext rather than the
19296                 default context, since having the DHCP renew/rebind thread using
19297                 its own GMainContext seemed to give dbus a fit.  There is also more
19298                 debugging information printed from the DHCP loop to help with future
19299                 problems.
19300
19301         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19302                 assume that the default gateway should be the DHCP server.
19303
19304         Patch from Matthew Schick <matt oss-institute org>
19305         * src/backends/NetworkManagerGentoo.c
19306                 - Fix compilation error due to missing "ip4_broadcast"
19307
19308 2004-12-03  Dan Williams  <dcbw@redhat.com>
19309
19310         * initscript/Makefile.am
19311         * initscript/Debian/NetworkManager
19312         * initscript/Gentoo/NetworkManager
19313         * initscript/RedHat/NetworkManager
19314         * initscript/NMLaunchHelper.c
19315                 - Remove NMLaunchHelper, if you need to wait until the network
19316                         comes up, use the dead code from CVS.
19317
19318 2004-12-01  Colin Walters  <walters@redhat.com>
19319         
19320         * configure.in: Suck in gcc warnings code from Rhythmbox,
19321         but use fewer default flags, and in particular add -Wno-unused,
19322         since the codebase has a lot of unused variables.
19323
19324         * test/nmtestdevices.c (create_device): 
19325         * test/nminfotest.c (get_network_string_property) 
19326         (get_networks_of_type): 
19327         * test/nmclienttest.c (main): 
19328         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19329         * initscript/NMLaunchHelper.c (get_nm_status): 
19330         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19331         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19332         Fix declarations after statements.
19333
19334 2004-12-01  Colin Walters  <walters@redhat.com>
19335
19336         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19337         (nmi_dbus_get_vpn_userpass): New method.
19338         (nmi_dbus_nmi_message_handler): Invoke it.
19339
19340         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19341
19342         * info-daemon/NetworkManagerInfoVPN.h,
19343         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19344         to requests for VPN passwords.
19345
19346         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19347
19348 2004-12-01  Colin Walters  <walters@redhat.com>
19349
19350         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19351         includes.
19352
19353 2004-12-01  Colin Walters  <walters@redhat.com>
19354
19355         * panel-applet/NMWirelessAppletDbus.c
19356         (nmwa_dbus_update_active_device_strength): Fix missing
19357         return value.
19358
19359 2004-12-01  Colin Walters  <walters@redhat.com>
19360
19361         * panel-applet/NMWirelessApplet.c: Add missing include.
19362
19363 2004-12-01  Colin Walters  <walters@redhat.com>
19364
19365         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19366         Remove useless CLAMP (); the value is unsigned, and the case tests
19367         qual->qual < 100, so the value must always be between 0 and 100.
19368
19369 2004-12-01  Colin Walters  <walters@redhat.com>
19370
19371         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19372
19373 2004-11-22  Colin Walters  <walters@verbum.org>
19374
19375         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19376         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19377         which is essentially a noop since nscd caches hosts on disk too.
19378         
19379 2004-11-22  Colin Walters  <walters@redhat.com>
19380
19381         * src/Makefile.am (NetworkManager_SOURCES): Add
19382         NetworkManagerDevicePrivate.h.
19383
19384 2004-11-22  Dan Williams <dcbw@redhat.com>
19385
19386         * src/NetworkManagerDevicePrivate.h
19387                 - Split out the NMDevice struct to a different file so that stuff like
19388                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19389
19390         * dhcpcd/client.c
19391                 - fprintf->syslog
19392                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19393                         need to cancel the dhcp request during the send and recv
19394
19395         * dhcpcd/client.h
19396                 - Move the DHCP option enum to dhcpcd.h
19397
19398         * src/NetworkManagerDHCP.c
19399                 - Split out the actual IP/netmask/etc setting code
19400                 - New Renew/Rebind functions
19401                 - New timer setup function for renew/rebind operations
19402
19403         * src/NetworkManagerDevice.c
19404                 - For device activation, if we are using DHCP then keep the activation thread
19405                         alive until device deactivation.  We need to renew/rebind the DHCP address
19406                         after the T1 (renew) and T2 (rebind) times have expired.
19407                 - Increase some timeouts after bringing wireless cards up/down
19408
19409 2004-11-17  Dan Williams <dcbw@redhat.com>
19410
19411         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19412                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19413                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19414                 show known access points that don't broadcast their ESSID in the menus without
19415                 any user intervention whatsoever.
19416
19417         * info-daemon/NetworkManagerInfoDbus.c
19418                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19419                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19420
19421         * src/NetworkManagerAP.[ch]
19422                 - Add a "user_addresses" data member to the NMAccessPoint structure
19423                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19424                         the user_addresses data member
19425
19426         * src/NetworkManagerAPList.c
19427                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19428                         the AP's reported address
19429                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19430
19431         * src/NetworkManagerDHCP.c
19432                 - Increase DHCP timeout from 25s -> 30s
19433
19434         * src/NetworkManagerDbus.[ch]
19435                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19436                         user addresses
19437
19438         * src/NetworkManagerDevice.c
19439                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19440                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19441                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19442                         So, we take the card down to clear it out.
19443                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19444                         too, since that's where the user_addresses are
19445
19446         * src/NetworkManagerPolicy.c
19447                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19448                         that wireless networks' user_addresses list upon successful activation
19449
19450 2004-11-16  Dan Williams <dcbw@redhat.com>
19451
19452         * src/NetworkManagerDevice.[ch]
19453                 - (nm_device_clear_activation_fail): new function
19454
19455         * src/NetworkManagerPolicy.c
19456                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19457                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19458
19459 2004-11-16  Dan Williams <dcbw@redhat.com>
19460
19461         * src/NetworkManagerDevice.c
19462                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19463                         leak the structure, better updating of now_scanning status
19464                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19465
19466 2004-11-15  Dan Williams <dcbw@redhat.com>
19467
19468         Major rework of link detection code.  We now use DHCP
19469         as part of the link detection which proves to be much more robust,
19470         and also supports Open System authentication for wireless networks.
19471
19472         We no longer use external DHCP client programs.  Instead, we use 
19473         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19474         which was written by:
19475                 Yoichi Hariguchi <yoichi@fore.com>
19476                 Sergei Viznyuk <sv@phystech.com>
19477                 http://www.phystech.com/download/
19478         It resides in the "dhcpcd" directory and was refactored into a general
19479         purpose DHCP client library by me.
19480
19481         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19482         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19483
19484 2004-11-15  Dan Williams <dcbw@redhat.com>
19485
19486         Patch from Tom Parker <palfrey@tevp.net>:
19487
19488         * src/NetworkManagerDevice.c
19489                 - Less output to console when no access
19490                         points are found during a scan
19491
19492 2004-11-15  Dan Williams <dcbw@redhat.com>
19493
19494         Patch from Tom Parker <palfrey@tevp.net>:
19495
19496         * src/backends/interface_parser.c
19497                 - Use g_strdup ()
19498                 - Check for inp == NULL
19499                 - use syslog ()
19500
19501 2004-11-13  Colin Walters  <walters@redhat.com>
19502
19503         Patch from Tom Parker <palfrey@tevp.net>:
19504
19505         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19506         
19507         * src/backends/NetworkManagerRedHat.c: Switch to
19508         including shvar.h instead of shvar.c.
19509
19510         * src/backends/NetworkManagerDebian.c: Don't include
19511         interface_parser.c in source file.
19512
19513         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19514         and interface_parser.[ch].
19515         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19516         Include shvar.c and shvar.h here.
19517         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19518         interface_parser.c and interface_parser.h here.
19519
19520 2004-11-12  Colin Walters  <walters@redhat.com>
19521
19522         * configure.in: Strip out TARGET_DISTRO and
19523         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19524         conditionals.
19525
19526         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19527         (libnmbackend_la_SOURCES): Use Automake conditionals
19528         to add distro-specific files.
19529
19530         * initscript/Makefile.am (SUBDIRS): Update to
19531         use conditionals.
19532
19533 2004-11-12  Colin Walters  <walters@redhat.com>
19534
19535         Patches from j bootlab org
19536
19537         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19538         Add interface_parser.[ch].
19539
19540         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19541         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19542
19543 2004-11-12  Colin Walters  <walters@redhat.com>
19544
19545         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19546         call to nmi_dbus_is_running too, not necessary anymore.
19547         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19548         pick up exit().
19549
19550 2004-11-11  Colin Walters  <walters@verbum.org>
19551
19552         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19553         Delete.
19554         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19555         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19556         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19557         This avoids a race condition that made it pretty easily
19558         possible to get two NetworkManagerInfo daemons running.
19559
19560 2004-11-11  Colin Walters  <walters@verbum.org>
19561         
19562         * src/NetworkManager.c (main): Use daemon(3).
19563
19564         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19565
19566         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19567
19568 2004-11-10 Dan Williams <dcbw@redhat.com>
19569
19570         Patches from j bootlab org
19571         * src/NetworkManagerDevice.c
19572                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19573                         whether the card has a link or not, some cards are slow
19574                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19575
19576         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19577                 - Disable the "Login" button on the passphrase dialog until the user
19578                         enters a valid passphrase or key
19579
19580         Patches from Tom Parker <palfrey tevp net>
19581         * src/backends/NetworkManagerDebian.c
19582                 - Add static IP support to the debian backend
19583
19584         * src/backends/interface_parser.[ch]
19585                 - Parse debian interface config files
19586
19587 2004-11-08 Dan Williams <dcbw@redhat.com>
19588
19589         * src/NetworkManagerDevice.c
19590                 - Some random fprintf->syslog conversions
19591                 - (nm_device_wireless_network_exists): double-check for network
19592                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19593
19594         * src/NetworkManagerWireless.[ch]
19595                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19596                         so that the binary->ascii conversion works (if unsigned, the bitshift
19597                         will fill with zeros, which is what's required).  Also mask bitshift
19598                         result with 0xF for futher assurance.
19599
19600 2004-11-06 Dan Williams <dcbw@redhat.com>
19601
19602         * src/NetworkManagerUtils.c
19603                 - (nm_get_wireless_driver_support_level): default to
19604                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19605                         flip this when changing from whitelist->blacklist of
19606                         wireless drivers
19607
19608 2004-11-05 Dan Williams <dcbw@redhat.com>
19609
19610         Patch from Robert Paskowitz:
19611         * src/backends/NetworkManagerGentoo.c
19612                 - Update static IP config code
19613
19614 2004-11-05 Dan Williams <dcbw@redhat.com>
19615
19616         * info-daemon/NetworkManagerInfoDbus.c
19617           src/NetworkManagerDbus.[ch]
19618           src/NetworkManagerDevice.c
19619                 - Keep track of the # of attempts to get the WEP key
19620                         from the user and pass that along to the info daemon
19621
19622 2004-11-05 Dan Williams <dcbw@redhat.com>
19623
19624         * src/NetworkManagerUtils.c
19625                 - Blacklist wireless cards rather than whitelisting them.
19626                 - Grab driver name from HAL rather than trying to find it
19627                         ourselves.
19628
19629 2004-11-03 Dan Williams <dcbw@redhat.com>
19630
19631         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19632                 - Disable OK button until valid data is entered
19633                         for encryption stuff too
19634
19635         * panel-applet/NMWirelessApplet.c
19636                 - Report card strength for current AP if the card
19637                         doesn't report strength data for scanned access
19638                         points
19639
19640         * src/NetworkManagerDevice.c
19641                 - Smooth out cards reported quality, Atmel card was
19642                         intermittently reporting no quality data but soon
19643                         recovers
19644
19645         * src/NetworkManagerWireless.c
19646                 - Better quality data percentage calculation.  Atmel
19647                         cards (mine at least) seem to report the quality
19648                         in percentage format already, so honor that
19649
19650         Patch from <j@bootlab.org>
19651         * NetworkManager.h
19652           info-daemon/NetworkManagerInfoPassphraseDialog.c
19653           info-daemon/passphrase.glade
19654           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19655           panel-applet/essid.glade
19656           src/NetworkManagerAP.c
19657           src/NetworkManagerDevice.c
19658           src/NetworkManagerWireless.[ch]
19659                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19660
19661 2004-11-03 Dan Williams <dcbw@redhat.com>
19662
19663         * src/NetworkManagerDevice.[ch]
19664                 - (nm_device_set_enc_key): Add parameter to set Authentication
19665                         Mode (Open System, Shared Key, or None).  We're still using
19666                         Shared Key for now though.
19667
19668 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19669
19670         * panel-applet/menu-info.c: change from bold text to light
19671         colored, may cause problems with some themes, i've tested a lot
19672         and they seem fine. 
19673
19674         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19675
19676 2004-11-01  Colin Walters  <walters@verbum.org>
19677
19678         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19679         (nm_wireless_128bit_key_from_passphrase): Add const.
19680
19681         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19682         (nm_ap_set_enc_key_source): Add const.
19683         
19684 2004-11-01  Colin Walters  <walters@verbum.org>
19685
19686         * .cvsignore: Update.
19687
19688 2004-10-29 Dan Williams <dcbw@redhat.com>
19689
19690         * src/NetworkManagerDevice.c
19691                 - (nm_device_wireless_network_exists): Actually use the encryption
19692                         key we got from the applet when attempting to find a wireless network
19693                 - Don't bring devices down so much since on some cards it triggers
19694                         firmware hotplugs each time
19695
19696         * src/NetworkManagerDbus.c
19697                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19698                         from the caller
19699
19700 2004-10-29 Dan Williams <dcbw@redhat.com>
19701
19702         * src/NetworkManager.c
19703                 - (nm_hal_device_property_modified): unlock a locked active
19704                         wireless device when a wired connection gets a link.
19705                         (Means you'll switch to wired whenever you plug in no
19706                         matter what).
19707
19708 2004-10-29 Dan Williams <dcbw@redhat.com>
19709
19710         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19711                 - New files, implement the "Other wireless network" dialog
19712
19713         * panel-applet/NMWirelessApplet.c
19714                 - Move "other wireless network" dialog to separate file
19715
19716         * panel-applet/NMWirelessAppletDbus.[ch]
19717                 - Take key and key_type paramaters for the set_device function
19718
19719         * panel-applet/essid.glade
19720                 - Add UI bits for encryption settings
19721
19722         * src/NetworkManagerDbus.c
19723                 - Retrieve key and key_type params for "setActiveDevice" method call
19724                         and pass them on
19725                 - unref AP returned from nm_device_get_best_ap() when needed
19726
19727         * src/NetworkManagerDevice.c
19728                 - (nm_device_get_best_ap): ref the ap before returning it
19729                 - unref AP returned from nm_device_get_best_ap() when needed
19730                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19731                         need to call nm_device_get_best_ap() here, it was pretty much
19732                         redundant anyway
19733                 - (AP_NEED_KEY): break second link check condition out into separate
19734                         function, and fix segfault when ap->enc_key_source was NULL
19735                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19736                         pass them along to nm_device_wireless_network_exists().  If the
19737                         network does exist, set the passed-in key+key_type on the AP
19738
19739         * src/NetworkManagerPolicy.c
19740                 - unref AP returned from nm_device_get_best_ap() when needed
19741
19742 2004-10-28 Dan Williams <dcbw@redhat.com>
19743
19744         * src/NetworkManagerUtils.c
19745                 - (nm_spawn_process): Fix a potential dereference of NULL
19746
19747         Patches from Peter Jones:
19748
19749         * src/NetworkManagerDevice.c
19750                 - (nm_device_test_wireless_extensions): Better check for
19751                         wireless devices
19752
19753         * src/NetworkManagerUtils.c
19754                 - (nm_spawn_process): Pass in valid stdout and stderr so
19755                         executed programs don't randomly SIGPIPE and fail
19756                 - (nm_get_wired_driver_support_level): quash hal warning
19757                         when checking for USB ethernet device
19758
19759 2004-10-27 Dan Williams <dcbw@redhat.com>
19760
19761         * info-daemon/NetworkManagerInfo.c
19762           info-daemon/NetworkManagerInfoDbus.c
19763           info-daemon/NetworkManagerInfoPassphraseDialog.c
19764           panel-applet/NMWirelessApplet.c
19765                 - Properly escape gconf keys
19766
19767         * src/NetworkManager.c
19768                 - remove unused variables
19769
19770         * src/NetworkManagerAP.c
19771                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19772                         refcount since it got set in nm_ap_new()
19773
19774         * src/NetworkManagerAPList.c
19775                 - (nm_ap_list_combine): Give up ownership of newly created
19776                         access points to the ap list, fixes memleak
19777
19778         * src/NetworkManagerDevice.c
19779                 - Remove cached_ap_list4 member since its not really needed
19780                 - (nm_device_wireless_network_exists): Try to get correct
19781                         encryption status of a found AP if its already in our
19782                         device list
19783                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19784                         memory allocs/deallocs a bit clearer and shorter-lived
19785
19786 2004-10-26 Ray Strode <rstrode@redhat.com>
19787
19788         * panel-applet/NMWirelessApplet.c:
19789           (custom_essid_item_selected):  kill some compiler
19790         warnings 
19791
19792 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19793
19794         * info-daemon/NetworkManagerInfoDbus.c
19795                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19796                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19797
19798 2004-10-23 Dan Williams <dcbw@redhat.com>
19799
19800         * info-daemon/NetworkManagerInfoDbus.c
19801                 - Trap the "DeviceActivationFailed" signal
19802
19803         * docs/NetworkManager DBUS API.txt
19804                 - Add "DeviceActivationFailed" signal
19805
19806         * panel-applet/NMWirelessAppletDbus.c
19807                 - Quash the "NetworkManager service not available" message
19808
19809         * src/NetworkManagerDbus.[ch]
19810                 - Add the "DeviceActivationFailed" signal
19811
19812         * src/NetworkManagerDevice.c
19813                 - Add support for activation_failed flag
19814                 - Fix deadlock where activation thread didn't clean itself up, making
19815                         main thread still believe it was alive forever (didn't reset activation
19816                         flags like activating, just_activated, etc when IP configuration
19817                         failed)
19818
19819         * src/NetworkManagerPolicy.c
19820                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19821                         for wireless networks, try to fall back to some other access point
19822
19823 2004-10-23 Dan Williams <dcbw@redhat.com>
19824
19825         * panel-applet/NMWirelessApplet.[ch]
19826                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19827                         to the applet object, so we can get tooltips
19828                 - Add tooltips (RH #136866)
19829
19830         * src/NetworkManagerDevice.c
19831                 - When trying to find a wireless network, try to connect with encryption
19832                         turned on first, so that we can more accurately detect whether or not
19833                         we need to use encryption for the actual association later on
19834
19835 2004-10-21 Dan Williams <dcbw@redhat.com>
19836
19837         * Add some support for telling NetworkManagerInfo to tell the user
19838                 that they are using a device that's not fully supported
19839
19840         * Fix some assertions in debug messages due to null access point args
19841
19842 2004-10-21 Dan Williams <dcbw@redhat.com>
19843
19844         * src/NetworkManagerDevice.c
19845                 - Don't try to activate/bring up/down unsupported
19846                         devices
19847
19848         * src/NetworkManagerUtils.c
19849                 - Fix case of PCI ID checks for driver support levels
19850
19851 2004-10-21 Dan Williams <dcbw@redhat.com>
19852
19853         * NetworkManager.h
19854                 - New file, now contains commonly used structures and bits
19855                         for the dbus API of NetworkManager
19856
19857         * Makefile.am
19858                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19859
19860         * src/NetworkManager.h
19861                 - Rename -> src/NetworkManagerMain.c
19862
19863         * Various fixups all around to use NetworkManager.h and new
19864                 src/NetworkManagerMain.h, remove redundant bits that got
19865                 moved into NetworkManager.h
19866
19867         * src/NetworkManagerDevice.[ch]
19868           src/NetworkManagerUtils.[ch]
19869           src/NetworkManagerPolicy.c
19870           src/NetworkManagerDbus.c
19871                 - Whitelist wireless drivers, and blacklist some wired
19872                         drivers.  Also blacklist cipsec and ethernet-over-usb
19873                         devices at this time (RH #135722, RH #135648)
19874                 - Don't leak unsupported devices out over dbus, or allow
19875                         them to be set as the active device.  Skip over them
19876                         during automatic device picking
19877
19878         * test/nmclienttest.c
19879                 - Clean up the dbus code a lot
19880
19881 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19882
19883         * configure.in: post release bump.
19884
19885 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19886
19887         * configure.in:
19888         * NEWS: Released NetworkManager-0.3.1
19889
19890 2004-10-18 Dan Williams <dcbw@redhat.com>
19891
19892         Patches from Thom May:
19893         * test/nmtestdevices.c
19894                 - Include <string.h>
19895         * src/backends/NetworkManagerDebian.c:
19896                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19897                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19898                         Move to using g_strdup_printf rather than arbitrary buffers
19899                 - (nm_system_device_setup_static_ip4_config) Implement function.
19900                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19901
19902 2004-10-17 Dan Williams <dcbw@redhat.com>
19903
19904         * info-daemon/NetworkManagerInfoDbus.c
19905                 - Display name of network in the "network not found" dialog
19906
19907         * panel-applet/NMWirelessAppletDbus.c
19908                 - (nmwa_dbus_call_nm_method): new function replaces all other
19909                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19910                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19911                         consolidated into nmwa_dbus_get_object_name()
19912
19913 2004-10-15 Dan Williams <dcbw@redhat.com>
19914
19915         * src/NetworkManagerDbus.c
19916           info-daemon/NetworkManagerInfoDbus.c
19917                 - Display an error dialog when the user tries to use an
19918                         "Other wireless network" that's not found.
19919
19920 2004-10-15 Dan Williams <dcbw@redhat.com>
19921
19922         * panel-applet/NMWirelessApplet.[ch]
19923                 - Fix up corner cases in applet state, making it
19924                         look more responsive.  Change state to "connecting" when
19925                         the user is forcing a device too.
19926
19927 2004-10-15 Dan Williams <dcbw@redhat.com>
19928
19929         * src/NetworkManagerAPList.c
19930                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19931
19932         * src/NetworkManagerDbus.c
19933                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19934
19935         * src/NetworkManagerDevice.c
19936                 - Disown APs after the device's AP list takes ownership
19937
19938 2004-10-15 Dan Williams <dcbw@redhat.com>
19939
19940         * panel-applet/NMWirelessApplet.c
19941                 - Update our applet state from the GUI thread
19942
19943         * panel-applet/NMWirelessAppletDbus.c
19944                 - Greatly simplify the locking to make the GUI thread
19945                         smoother.  Update a private copy of the device list
19946                         and active device and only when done talking to
19947                         NetworkManager turn it over to the GUI thread.
19948
19949 2004-10-15 Dan Williams <dcbw@redhat.com>
19950
19951         * src/NetworkManagerAP.[ch]
19952                 - Add "artificial" get/set functions, set for APs that
19953                         aren't discovered as part of a scan but instead
19954                         discovered by force-setting the ESSID
19955
19956         * src/NetworkManagerDevice.[ch]
19957                 - (nm_device_wireless_network_exists): pass back whether
19958                         or not the discovered AP was encrypted.  Also, try
19959                         falling back to encrypted mode on the card if unencrypted
19960                         association doesn't work
19961                 - (nm_device_find_and_use_essid): If the network requested
19962                         did in fact exists, but it wasn't in our scan list, add
19963                         an "artificial" entry for it.  Some Cisco cards don't
19964                         see non-ESSID-broadcasting APs in their scan but can still
19965                         associate with them if you know the ESSID, this works around
19966                         that behavior
19967                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19968                         to scan if the card is currently associated with that AP
19969
19970 2004-10-15 Dan Williams <dcbw@redhat.com>
19971
19972         ---- We have a website ----
19973         http://people.redhat.com/dcbw/NetworkManager
19974
19975         Patch from Robert Paskowitz:
19976         * src/NetworkManager.c
19977                 - (main): Make sure we are run as root
19978         * src/NetworkManagerDevice.c
19979                 - Fix type in ad-hoc setting function
19980
19981         Patch from Thom May:
19982         * src/backends/NetworkManagerDebian.c
19983                 - Make Debian backend compile again
19984
19985 2004-10-14 Dan Williams <dcbw@redhat.com>
19986
19987         * Tagged NetworkManager-0_3
19988
19989 2004-10-14 Dan Williams <dcbw@redhat.com>
19990
19991         Patch from Robert Paskowitz:
19992         * NEWS
19993           src/NetworkManagerDevice.[ch]
19994           src/backends/NetworkManagerDebian.c
19995           src/backends/NetworkManagerGentoo.c
19996           src/backends/NetworkManagerRedHat.c
19997           src/backends/NetworkManagerSlackware.c
19998                 - Add support for grabbing and using a broadcast address
19999                         from system config files
20000                 - Some Gentoo backend fixes for grabbing network config
20001                 - Fix LOG_WARN->LOG_WARNING
20002
20003 2004-10-14 Dan Williams <dcbw@redhat.com>
20004
20005         * NEWS: a few small fixes in the credits
20006
20007 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
20008
20009         * NEWS: prep for release.
20010
20011 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
20012
20013         * panel-applet/NMWirelessAppletDbus.c
20014         (nmwa_dbus_update_device_wireless_networks): remove warnings.
20015
20016 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
20017
20018         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
20019         applet->state == APPLET_STATE_NO_NM animation.
20020
20021         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
20022         set the text correctly.
20023
20024 2004-10-14 Dan Williams <dcbw@redhat.com>
20025
20026         * src/NetworkManager.c
20027                 - Only accept and manager 802.3 and 802.11 devices
20028
20029         * src/NetworkManagerDbus.[ch]
20030                 - (nm_dbus_nm_set_active_device): move most of the actual activation
20031                         logic into NetworkManagerDevice.c
20032                 - (nm_dbus_network_status_from_data): new function
20033                 - (nm_dbus_signal_network_status_change): new function, unused for now
20034                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
20035
20036         * src/NetworkManagerDevice.[ch]
20037                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
20038                         a random ESSID.
20039
20040 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20041
20042         * info-daemon/NetworkManagerInfo.c 
20043                 - (main): Added session management
20044
20045 2004-10-14 Dan Williams <dcbw@redhat.com>
20046
20047         * panel-applet/NMWirelessAppletDbus.[ch]
20048                 - Expose network_device_[un]ref()
20049                 - Expose wireless_network_[un]ref()
20050                 - (wireless_network_new_with_essid): new function, create and return
20051                         a wireless network with a particular essid
20052
20053         * panel-applet/NMWirelessApplet.c
20054                 - Hook up the "other network" dialog to do something
20055
20056 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
20057
20058         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
20059         doesn't work yet, but it looks okay.
20060
20061         * panel-applet/icons/*png: Resize to 22x22 and install in the
20062         right place.
20063
20064 2004-10-13 Dan Williams <dcbw@redhat.com>
20065
20066         * panel-applet/NMWirelessApplet.c
20067                 - Add function to print out applet_state in a readable
20068                         manner
20069
20070         * src/NetworkManager.c
20071                 - (main): Don't segfault when nm_dbus_init() fails, we had
20072                         a left-over call to hal_shutdown() into which we passed NULL
20073
20074         * src/NetworkManagerAP.c
20075                 - (nm_ap_set_essid): Allow NULL essids
20076
20077         * src/NetworkManagerAPList.[ch]
20078                 - More use of nm_ap_list_[un]lock ()
20079                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20080                         network/essid, just return nothing.  Also skip over NULL
20081                         essid access points in the list when searching
20082                 - (nm_ap_list_get_ap_by_address): new function
20083                 - (nm_ap_list_update_network): set the access point's key source to
20084                         NULL when the key returned from NetworkManagerInfo is NULL or
20085                         of 0 length
20086                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20087                         copy timestamp over too
20088                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20089                         find the correct ESSID for a blank-essid access point by searching
20090                         through another list and matching access point MAC addresses
20091                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20092
20093         * src/NetworkManagerDbus.c
20094                 - (nm_dbus_nm_set_active_device): deal with random networks the user
20095                         may specify.  This is mainly for access points that don't
20096                         broadcast their essid.  So if the user tells us to associate with
20097                         some random ESSID that's not in our access point list, we find
20098                         out if the access point does in fact exist (by attempting association
20099                         and then matching that access point's MAC address with the essid the
20100                         user gave us) and then we switch to it.
20101                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20102                         to the returned list of networks for the "getNetworks" method
20103
20104         * src/NetworkManagerDevice.[ch]
20105                 - Extra debugging info for link detection
20106                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20107                         based on MAC address
20108                 - (nm_device_get_path_for_ap): ignore blank-essid access points
20109                 - (nm_device_wireless_network_exists): new function, find out whether
20110                         a random ESSID exists by attempting to associate with it
20111                 - (nm_device_do_normal_scan): allow blank-essid access points in our
20112                         device list as long as they have an AP MAC address we can use.
20113                         Also send WirelessNetwork[Dis]Appeared signals for non-active
20114                         devices too.  Lets the applet update more frequently.
20115
20116         * src/backends/NetworkManagerGentoo.c
20117                 - Patch from: Robert Paskowitz
20118                         - Update backend code for Gentoo
20119                         - Implement nm_system_device_update_config_info ()
20120
20121         * test/nmclienttest.c
20122                 - (set_network_device): new function, takes a command-line argument
20123                         and tells NetworkManager to use that wireless network
20124
20125 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20126
20127         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20128         if the notification icon crashes 5 times within 5 seconds of each respawn 
20129
20130 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
20131
20132         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20133         g_print.
20134
20135 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
20136
20137         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20138
20139         * panel-applet/NMWirelessApplet.c: (animation_timeout),
20140         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20141         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20142         Change the name of the icons.
20143
20144         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20145         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20146         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20147         (nm_menu_wireless_expose_event): Really bad hack to get the style
20148         to draw in the right color.
20149
20150 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20151
20152         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
20153         Notification if it crashes
20154
20155 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
20156
20157         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
20158         (nmwa_dbus_get_string): remove unused functions
20159
20160         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20161         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20162         remove unused functions
20163
20164         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20165
20166 2004-10-12 Dan Williams <dcbw@redhat.com>
20167
20168         * panel-applet/NMWirelessAppletDbus.c
20169                 - New functions:
20170                         wireless_network_new
20171                         wireless_network_copy
20172                         network_device_new
20173                         network_device_copy
20174
20175         * src/NetworkManagerDevice.[ch]
20176                 - New functions:
20177                         nm_device_set_mode_managed
20178                         nm_device_set_mode_adhoc
20179                 - Use these functions where appropriate
20180                 - When creating a new wireless device, force the card
20181                         to managed/Infrastructure mode as soon as possible
20182
20183 2004-10-12 Dan Williams <dcbw@redhat.com>
20184
20185         * src/NetworkManagerDevice.c
20186                 - Force wireless cards into Infrastructure mode before we use them
20187
20188 2004-10-12 Dan Williams <dcbw@redhat.com>
20189
20190         * TODO
20191                 - Remove bit about static IP address support
20192
20193         * src/NetworkManagerUtils.c
20194                 - (nm_spawn_process): Add some error reporting
20195
20196         * src/NetworkManagerDevice.c
20197                 - (nm_device_activation_configure_ip): hook up to the static config
20198                         routines in the backends
20199
20200         * src/backends/NetworkManagerRedHat.c
20201                 - (nm_system_device_update_config_info): use shvar.c routines to
20202                         parse the config file iformation, not our own
20203                 - (nm_system_device_setup_static_ip4_config): new function, based
20204                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20205                         with a static IP address and gateway
20206
20207         * src/backends/shvar.[ch]
20208                 - Parser (filched from initscripts package) for ifcfg-* files
20209
20210         * src/backends/NetworkManagerSystem.h
20211           src/backends/NetworkManagerGentoo.c
20212           src/backends/NetworkManagerDebian.c
20213           src/backends/NetworkManagerSlackware.c
20214                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20215
20216 2004-10-11 Dan Williams <dcbw@redhat.com>
20217
20218         * TODO
20219                 - Remove bit about more robust AP diffing since I just implemented it
20220
20221 2004-10-11 Dan Williams <dcbw@redhat.com>
20222
20223         * src/NetworkManagerAP.c
20224                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20225                         enough RAM to allocate new AP structures, but return NULL instead
20226
20227         * src/NetworkManagerAPList.[ch]
20228                 - (nm_ap_list_is_empty): new function
20229                 - (nm_ap_list_combine): new function, combine two access point lists
20230                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20231                         into another
20232
20233         * src/NetworkManagerDevice.[ch]
20234                 - Rename some functions to be clearer:
20235                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20236                         nm_device_just_activated     -> nm_device_is_just_activated
20237                         nm_device_activating         -> nm_device_is_activating
20238                         nm_device_now_scanning       -> nm_device_is_scanning
20239                 - Cache the last 4 scans so that the access point list is more stable.
20240                         We combine the lastest two scans and use that as the AP list,
20241                         and diff that combined list against the combination of the earliest
20242                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20243
20244 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20245
20246         * info-daemon/NWManagerInfo.h
20247                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20248
20249         * info-daemon/NWManagerInfoDbus.c
20250                 - (shutdown_callback): new function
20251                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20252                         if NetworkManager goes away.  Kill the timeout
20253                         if NetworkManager restarts before the 30 seconds
20254                         are up.
20255                 - (nmi_dbus_service_init): 
20256                         - call gtk_main_quit if NetworkManager is not running
20257                         - add filters to monitor dbus service creations and
20258                                 deletions
20259         
20260 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20261
20262         * panel-applet/NMWirelessApplet.c
20263                 - (nmwa_update_state): Hide notification icon if we are only
20264                         showing one wired card and no wireless interfaces 
20265                         (Red Hat Bug #134895)
20266
20267         * panel-applet/NMWirelessAppletDbus.c
20268                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20269
20270         * info-daemon/NWManagerInfo.c
20271                 - (main): Terminated the notification_icon_cmd array with a NULL
20272
20273 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20274
20275         * configure.in (ALL_LINGUAS): Added de (German).
20276
20277 2004-10-08 Dan Williams <dcbw@redaht.com>
20278
20279         * src/NetworkManagerDevice.c
20280                 - Be a bit more robust about link checking, ie make sure that
20281                         the WEP key we were given actually has some data in it
20282
20283 2004-10-08 Dan Williams <dcbw@redhat.com>
20284
20285         * info-daemon/NetworkManagerInfo.c (main):
20286                 - Initialize GError object to NULL
20287
20288 2004-10-08 Dan Williams <dcbw@redhat.com>
20289
20290         * panel-applet/NMWirelessAppletDbus.c
20291                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20292
20293 2004-10-08 Dan Williams <dcbw@redhat.com>
20294
20295         * info-daemon/NetworkManagerInfo.[ch]
20296           info-dameon/NetworkManagerInfoDbus.[ch]
20297           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20298                 - Preserve original label text in the passphrase dialog so that
20299                         it actually gets updated with the new network name the next
20300                         time around.  Previously, we were overwriting it so you'd get
20301                         the wrong network name to enter a key for
20302                 - Add a "Key Type" combo to the passphrase dialog, user selects
20303                         encryption key type now, type is stored in GConf too
20304                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20305
20306         * src/NetworkManagerAP.[ch]
20307                 - Remove all the encyption method magic.  It's now set by the user
20308                         and NetworkManager retrieves the type of encryption key from
20309                         NetworkManagerInfo
20310
20311         * src/NetworkManagerAPList.[ch]
20312           src/NetworkManagerDbus.[ch]
20313                 - Adjust to new way of setting encryption key and method
20314                 - Pull encryption method down from NMI along with key
20315
20316         * src/NetworkManagerDevice.[ch]
20317                 - Removed encryption method fallback magic as the method is now
20318                         determined by the user.  This greatly simplifies the connection
20319                         logic.
20320                 - More robust connection/link logic.  Besides removing the encryption
20321                         method fallback magic, check whether or not the card is receiving
20322                         invalidly encrypted packets, which usually indicates that we have
20323                         a bad WEP key set.
20324                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20325
20326         * test/nminfotest.c
20327                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20328
20329 2004-10-07 Dan Williams <dcbw@redhat.com>
20330
20331         * info-daemon/NetworkManagerInfo.conf
20332                 - Allow root user to run NMI too
20333
20334 2004-10-06 Dan Williams <dcbw@redhat.com>
20335
20336         * src/NetworkManagerDevice.[ch]
20337           src/NetworkManagerDbus.c
20338           doc/NetworkManager DBUS API.txt
20339                 - Add a new status tag "scanning", which is set when there
20340                         is no active network connection, but NetworkManager is
20341                         looking for an access point to associate with
20342
20343         * panel-applet/main.c
20344                 - Cast the applet appropriately for gtk_widget_show_all ()
20345
20346 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20347
20348         * panel-applet/eggtrayicon.[ch]:
20349         * panel-applet/main.c: Add missing file
20350
20351 2004-10-04 Dan Williams <dcbw@redhat.com>
20352
20353         * src/NetworkManagerDevice.[ch]
20354                 - Add a slightly more robust method of determining if the WEP key
20355                         is correct or not, by checking the WEP-discarded packet count
20356                         on the card
20357
20358         * info-daemon/NetworkManagerInfo.c
20359                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20360                         un-escape values we pull out rather than escaping them
20361
20362 2004-10-03  Marcel Telka  <marcel@telka.sk>
20363
20364         * configure.in (ALL_LINGUAS): Added sk.
20365
20366 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20367
20368         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20369         and feel.  We should be back to working, and have a good, clean
20370         look.
20371
20372 2004-09-30 Dan Williams <dcbw@redhat.com>
20373
20374         * info-daemon/NetworkManagerInfo.c
20375           info-daemon/NetworkManagerInfoDbus.c
20376           test/nminfotest.c
20377                 - Escape ESSIDs in gconf
20378
20379         * src/NetworkManagerDevice.c
20380                 - Fix pseudo-scanning to use netowrk list from info daemon
20381
20382 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20383
20384         * configure.in: Add a temporary --enable-notification-icon.  This
20385         will prolly go away.
20386
20387         * info-daemon/Makefile.am:
20388         * info-daemon/NetworkManagerInfo.c:
20389         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20390
20391         * panel-applet/Makefile.am:
20392         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20393         * panel-applet/NMWirelessApplet.h:
20394
20395 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20396
20397         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20398         before 'select custom ESSID'.
20399
20400         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20401         fully complete, but syncing in prep for merge.
20402
20403         * panel-applet/icons/*png: New images
20404
20405 2004-09-28 Dan Williams <dcbw@redhat.com>
20406
20407         * src/NetworkManager.c
20408           src/NetworkManagerDevice.c
20409           src/NetworkManagerPolicy.c
20410                 - Don't blow away an active wired connection on startup
20411
20412 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20413
20414         Changes from J5
20415         
20416         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20417
20418         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20419         syslog output
20420
20421 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20422
20423         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20424         have a wireless card.
20425
20426 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20427
20428         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20429         Also, get the right device strings.
20430
20431 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20432
20433         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20434         the logic to make this right.
20435
20436         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20437         devices so that wired networks are always first.
20438
20439 2004-09-22    <clarkbw@cvs.gnome.org>
20440
20441         * initscript/Debian/.cvsignore:
20442         * initscript/Slackware/.cvsignore:
20443         Added new cvsignores for Makefile, Makefile.in
20444         
20445         * test/.cvsignore:
20446         Added nmtestdevices
20447         
20448         * src/NetworkManagerDevice.c: 
20449         * src/NetworkManager.c: 
20450         Updated the wireless/wired HAL device strings from net.ethernet to
20451         net.80203 or net.80211 depending on wired or wireless respectively
20452         
20453         * examples/python/NetworkManager.py: 
20454         s/Quality/Strength/
20455
20456         * examples/python/systray/network_tray.py:
20457         Lots of little changes and fixes.  been rotting for a while so I
20458         figured I'd finally sync them all with CVS
20459
20460 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20461
20462         * configure.in: Add graphics
20463
20464         * panel-applet/Makefile.am: Add graphics
20465
20466         * panel-applet/icons/*: Add graphics
20467
20468         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20469         the icons fully lined up.
20470
20471         * panel-applet/menu-info.c: 
20472         * panel-applet/menu-info.h: Add another menu type.
20473
20474 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20475
20476         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20477
20478         * panel-applet/menu-item.[ch]: Wireless menu item.
20479
20480 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20481
20482         * info-daemon/NetworkManagerInfo.conf
20483                 - Created a more robust security policy for the DBus service
20484                         - everything is denied by default
20485                         - root can own and send to the service
20486                         - users logged in at the console can send to the service
20487
20488 2004-09-13  Dan Williams <dcbw@redhat.com>
20489
20490         * src/NetworkManagerDevice.c
20491                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20492                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20493                         the latter
20494
20495 2004-09-13  Dan Williams <dcbw@redhat.com>
20496
20497         * TODO: fix typo
20498
20499         * docs/NetworkManager DBUS API.txt
20500                 - Update for new signal strength changes
20501
20502         * panel-applet/NMWirelessApplet.c
20503                 - Make panel icon show strength of the current connection
20504                 - Cleanups and memleak fixes
20505
20506         * panel-applet/NMWirelessApplet.h
20507                 - Add data members for signal strength on devices and networks
20508
20509         * panel-applet/NMWirelessAppletDbus.c
20510                 - Free more DBusErrors
20511                 - Update for new signal strength changes
20512                 - Make devices and networks more like real objects, use ref/unref methods
20513                 - Actually unlock the mutex when updating the active device
20514
20515         * src/NetworkManagerAP.c
20516                 - Change AP functions and data members from "quality"->"strength"
20517
20518         * src/NetworkManagerDbus.c
20519                 - Kill "getMaxQuality" and "getQuality" methods
20520                 - Add "getStrength" methods for Networks and Devices
20521
20522         * src/NetworkManagerDevice.[ch]
20523                 - Add accessors for device strength
20524                 - Add functions to update strength for a device.  Note that not all drivers
20525                         actually support signal strength for scanned access points (Atmel drivers
20526                         being one)
20527                 - Calculate signal strength for each AP during scan
20528
20529         * src/NetworkManagerWireless.[ch]
20530                 - Add function to return signal strength % from a device and a raw quality struct
20531
20532         * test/nmclienttest.c
20533                 - Update for new signal strength changes
20534
20535 2004-09-11  Dan Williams <dcbw@redhat.com>
20536
20537         * src/NetworkManager.c
20538                 - Fix race condition between initscripts and NM on card insertion
20539                         which could cause a card to keep an IP address and routes around
20540                         even when it was not the active device
20541
20542         * src/NetworkManagerDbus.c
20543                 - Fix compile errors, free more DBusErrors
20544
20545 2004-09-11  Dan Williams <dcbw@redhat.com>
20546
20547         * docs/NetworkManager DBUS API.txt
20548                 - Add an explanation of NM's API
20549
20550         * src/NetworkManagerDbus.c
20551                 - Free some more DBusErrors if needed
20552
20553 2004-09-11  Dan Williams <dcbw@redhat.com>
20554
20555         * panel-applet/NMWirelessApplet.c
20556           panel-applet/NMWirelessAppletDbus.c
20557                 - Start using NetworkDevice/WirelessNetwork structures in more places
20558                 - Update for unified device/network forcing in NetworkManager
20559
20560         * src/NetworkManager.c
20561                 - some code consolidation
20562
20563         * src/NetworkManagerDbus.c
20564                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20565                         or two arguments:  the first is the NM ID of the device to switch to,
20566                         and the second (optional) argument is the ESSID of a wireless network
20567                         to use as well.
20568                 - Get rid of "setNetwork" method due to above change
20569
20570         * src/NetworkManagerDevice.c
20571                 - (nm_device_new): perform scan and update best AP on device creation
20572                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20573                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20574                         spin waiting for cancellation to finish before returning
20575
20576         * src/NetworkManagerPolicy.c
20577                 - Changes here clarify the situations in which a device switch occurs, and 
20578                         make sure to keep using a forced device and network if the user gives
20579                         us one
20580                 - Remove old unused code
20581
20582 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20583
20584         * configure.in: Added Danish (da) to ALL_LINGUAS.
20585
20586 2004-09-09  Dan Williams <dcbw@redhat.com>
20587
20588         * panel-applet/NMWirelessAppletDbus.c
20589                 - Pull fresh devices and networks from NM when wireless networks
20590                         change.  Provides faster feedback of a forced wireless network
20591
20592         * src/NetworkManagerDbus.c
20593                 - Return error when "getMaxQuality" is called on a wired device
20594                 - Make best_ap freezing actually work again, and signal cancellation
20595                         of activation if there's already a device activation when the user
20596                         freezes the best_ap
20597
20598         * src/NetworkManagerDevice.c
20599                 - Don't clear out the best_ap for wireless devices when the link goes
20600                         down, that's done elsewhere
20601                 - Kill any dhcp daemons when cancelling device activation since they
20602                         may be stuck waiting for a DHCP address, and since we're cancelling
20603                         activation we don't care about that anymore
20604
20605         * src/NetworkManagerPolicy.c
20606                 - Make sure to unref the device we ref earlier (we refed it to make sure
20607                         it stuck around during device activation and such)
20608                 - If we were going to change the best device, but its activating currently
20609                         (and therefore the change didn't occur due to the check earlier)
20610                         we mark the state changed to we come back to it later when device
20611                         activation has canceled and its no longer activating
20612
20613         * src/backends/NetworkManagerRedHat.c
20614                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20615
20616 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20617
20618         * info-daemon/passphrase.glade: 
20619         set passphrase input to activates_default : True
20620
20621         * examples/python/systray/network_tray.py
20622         (network_tray.sort_networks):
20623
20624         Added support for having wireless always scanning
20625
20626 2004-09-09  Dan Williams <dcbw@redhat.com>
20627
20628         NOTE: this commit changes the behavior of wireless devices in
20629         NetworkManager.  They are now up all the time, scanning all
20630         the time.  Only the active device has an IP address and routing
20631         information set up however.  Also, NetworkManager will no longer
20632         opportunistically switch wireless networks when a better one
20633         comes in range, it will remain associated with one wireless network
20634         until that one drops out.
20635
20636         * panel-applet/NMWirelessApplet.c
20637           panel-applet/NMWirelessAppletDbus.c
20638                 - List all wireless cards and their respective networks
20639
20640         * src/NMLoadModules
20641                 - Use full path to /sbin/ip
20642
20643         * src/NetworkManager.c
20644                 - Keep wireless devices up all the time so they can scan
20645
20646         * src/NetworkManagerDbus.c
20647                 - On a WirelessNetworkUpdate signal from NMI, don't update
20648                         the "best" AP
20649
20650         * src/NetworkManagerDevice.c
20651                 - (nm_device_set_link_active): clear out the best ap for
20652                         wireless devices when the link is set to FALSE
20653                 - Scan on all wireless cards, all the time
20654                 - (nm_device_activation_worker): split out the wireless card
20655                         link-waiting code to a separate function
20656                 - Keep wireless cards up even if device activation fails
20657                 - Don't update the "best" ap as much
20658
20659         * src/NetworkManagerPolicy.c
20660                 - Don't update the best ap when checking if its frozen,
20661                         let link checking clear out a frozen best ap for us
20662
20663         * src/NetworkManagerWireless.c
20664                 - Scan on all wireless cards, all the time
20665
20666 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20667
20668         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20669
20670 2004-09-09  Ankit Patel <ankit@redhat.com>
20671
20672         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20673
20674 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20675
20676         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20677
20678 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20679
20680         * examples/python/NetworkManager.py: 
20681         added CONNECTED, CONNECTING, and DISCONNECTED states
20682         added methods to return number of devices of a single type
20683
20684         * examples/python/systray/network_tray.py: 
20685         did some tweaks to get the menu looking near what it is supposed
20686         to look like.  Also did a Airo card hack to make it show the
20687         correct AP quality
20688
20689 2004-09-08  Dan Williams <dcbw@redhat.com>
20690
20691         * panel-applet/no-networkmanager.png
20692           panel-applet/Makefile.am
20693           panel-applet/NMWirelessApplet.c
20694                 - Add a "NetworkManager not running" icon and use it
20695                 - Use new consolidated GConf keys rather than Preferred/Trusted
20696
20697         * TODO: update
20698
20699         * info-daemon/NetworkManagerInfo.c
20700           info-daemon/NetworkManagerInfoDbus.[ch]
20701           info-daemon/NetworkManagerInfoPassphraseDialog.c
20702                 - There are now no longer two separate lists of wireless networks,
20703                         but one list where each network is "trusted" or not trusted
20704                 - Add a "getNetworkTrusted" dbus method
20705                 - "WirelessNetworkUpdate" signal now sent rather than
20706                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20707                 - Start freeing some dbus errors (not completed yet)
20708
20709         * info-daemon/passphrase.glade
20710                 - Remove the "don't show" hints for pager and taskbar
20711                 - Add a title since its going to be in the taskbar
20712
20713         * src/NetworkManager.[ch]
20714           src/NetworkManagerAPList.[ch]
20715                 - There are now no longer two separate lists of wireless networks,
20716                         but one list where each network is "trusted" or not trusted
20717
20718         * src/NetworkManagerAP.[ch]
20719                 - Add get/set "trusted" accessors and data bit
20720
20721         * src/NetworkManagerDbus.[ch]
20722                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20723                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20724
20725         * src/NetworkManagerDevice.[ch]
20726                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20727                 - (nm_device_new): Get device config from backend when initializing devices
20728                 - (nm_device_activation_worker): Split out device configuration on
20729                         activation to deal with static/dynamic IP differences, and try encryption
20730                         fallbacks on a device if the encryption method for the best AP is not good
20731                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20732                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20733
20734         * src/NetworkManagerWireless.c
20735                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20736
20737         * src/backends/NetworkManagerRedHat.c
20738           src/backends/NetworkManagerSystem.h
20739                 - (nm_system_device_update_config_info): Add function to get device configuration
20740                         from system data in ifcfg-* files
20741
20742         * src/backends/NetworkManagerDebian.c
20743           src/backends/NetworkManagerGentoo.c
20744           src/backends/NetworkManagerSlackware.c
20745                 - Add stub functions for getting device configuration
20746
20747 2004-09-07  Dan Williams <dcbw@redhat.com>
20748
20749         * src/backends/NetworkManagerRedhat.c
20750           src/backends/NetworkManagerSlackware.c
20751                 - Use full path to /sbin/ip everywhere
20752
20753 2004-09-07  Dan Williams <dcbw@redhat.com>
20754
20755         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20756
20757         * configure.in
20758           initscript/Makefile.am
20759           initscript/Slackware/Makfile.am
20760           initscript/Slackware/rc.networkmanager
20761           src/Makefile.am
20762           src/backends/NetworkManagerSlackware.c
20763                 - Add Slackware support
20764
20765 2004-09-07  Dan Williams <dcbw@redhat.com>
20766
20767         Patches below from:
20768                 <j@bootlab.org>
20769                 Mark Roach <mrroach@okmaybe.com>
20770                 Thom May <thom@debian.org>
20771
20772         * configure.in
20773           initscript/Debian/NetworkManager
20774           initscript/Debian/Makefile.am
20775                 - Initscript for Debian
20776
20777         * src/backends/NetworkManagerDebian.c
20778                 - Add missing system init function to allow compilation
20779                         on Debian
20780
20781 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20782
20783         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20784
20785 2004-09-03  Akagic Amila <bono@linux.org.ba>
20786
20787         * configure.in: Added 'bs' to ALL_LINGUAS.
20788
20789 2004-09-02  Colin Walters  <walters@verbum.org>
20790
20791         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20792         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20793         g_strdup_printf instead of arbitrarily sized buffers.
20794
20795 2004-09-01  Colin Walters  <walters@verbum.org>
20796
20797         * NetworkManager.pc.in: New file.
20798
20799         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20800
20801 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20802         
20803         * configure.in: Punjabi(pa) is added to po/.
20804
20805 2004-08-31  Dan Williams <dcbw@redhat.com>
20806
20807         * Remove 'debug' extern global from all files since we now
20808                 use syslog()
20809
20810         * src/NetworkManager.[ch]
20811                 - Break out routine that get the net.interface property from HAL,
20812                         removing that logic from nm_create_device_and_add_to_list()
20813                 - (nm_create_device_and_add_to_list): make this a bit more general so
20814                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20815                         the create of test devices.
20816                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20817                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20818                         which makes NetworkManager listen for dbus commands to create test
20819                         devices, which have no backing hardware.  Use when you're on a plane
20820                         for example, and/or forgot your wireless card at home.  Test devices
20821                         _cannot_ be created unless NM is started with --enable-test-devices.
20822
20823         * src/NetworkManagerDbus.[ch]
20824                 - New "getLinkActive" method for devices
20825                 - New "setLinkActive" method for devices (only works on test devices)
20826                 - New "createTestDevice" method on NetworkManager object to create a test
20827                         device of a specified type (ie wired, wireless).  UDI is created from
20828                         scratch, as is the interface name.  Only works when NM is started with
20829                         --enable-test-devices switch.
20830                 - New "removeTestDevice" method on NetworkManager object which removes a
20831                         test device.  Only works when NM is started with --enable-test-devices
20832
20833         * src/NetworkManagerDevice.[ch]
20834                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20835                         whether a device is a test device or not, and what its link status is.
20836                 - Deal with test devices in most functions.  For those that work directly on hardware
20837                         special-case test devices.
20838                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20839                         command-line.
20840                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20841                         checking to separate functions to facilitate test device link checking.
20842                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20843                         don't make a distinction between System Authentication and Encryption
20844                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20845                         on the card.  We don't deal with Shared Key auth yet.
20846                 - (nm_device_activation_worker): split the activation cancel check logic out into
20847                         a separate routine nm_device_activation_cancel_if_needed()
20848                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20849                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20850                         a list of fake access points that they can "see"
20851                 - (nm_device_is_test_device): return whether or not a device is a test device
20852
20853         * src/NetworkManagerPolicy.c
20854                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20855                         previously if you "locked"/forced NM to use a wireless device but then
20856                         selected a wireless network for NM to use, it would switch to a wired device.
20857                         So, if the active device is wireless and it has a "forced" best AP, use it
20858                         if the "forced" best AP is still valid
20859                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20860                         there were no usable network devices, or the last one was removed
20861
20862         * src/backends/NetworkManager*.c
20863                 - Deal with test devices, mostly just return success for operations like getting
20864                         a DHCP address
20865
20866         * test/nmtestdevices.c
20867                 - Test tool to create/remove/link-switch test devices
20868
20869 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20870
20871         * examples/python/NetworkManager.py: 
20872         added convience functions has_wired_device and has_wireless_device
20873
20874         * examples/python/systray/network_tray.py: 
20875         cleaned up a bunch of cruft, added support for listing wireless
20876         networks just like the real applet.  This is probably all I'm
20877         going to work on this applet from now on.
20878         TODO: add support for actually changing networks and devices
20879
20880         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20881         changed "nm.networks" into a dict from a list so I can store all
20882         the cool information about networks in there
20883
20884         * examples/python/systray/network_tray.py: 
20885         Added nice message when you try to run without running make first
20886
20887         * examples/python/NetworkManager.py: 
20888         Bug fixes to the code so we get all the device information
20889         that we need in get_device()
20890         
20891         * examples/python/NMTester.py: 
20892         Fixed _print_device_list to print_device_list
20893
20894 2004-08-29  Seth Nickell  <seth@gnome.org>
20895
20896         * configure.in:
20897
20898         Actually properly setup the Debian backend in configure.
20899         
20900 2004-08-29  Colin Walters  <walters@verbum.org>
20901
20902         * test/nminfotest.c: Include string.h and stdlib.h.
20903         (get_network_string_property, get_networks_of_type): Return NULL.
20904
20905         * test/nmclienttest.c (get_device_name, get_active_device): Return
20906         NULL.
20907
20908         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20909         use strlen, fgets always NULL-terminates the string.
20910
20911         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20912         dbus_message_get_member): Remove /* in comment.
20913
20914         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20915
20916         * src/NetworkManager.c (quit): Unused, delete.
20917         (nm_data_free): Cast arg to GFunc.
20918
20919         * panel-applet/NMWirelessAppletDbus.c: Need to include
20920         string.h, and dbus-glib-lowlevel.h (the latter is needed
20921         for dbus_connection_setup_with_g_main at present).
20922         (nmwa_dbus_update_wireless_network_list): Parenthesize
20923         assignment in conditional.
20924         (nmwa_dbus_worker): Return NULL.
20925
20926         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20927         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20928         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20929         (nmwa_populate_menu): Return NULL on failure, instead of just
20930         return;
20931
20932         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20933
20934         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20935         variables.
20936
20937         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20938         delete.
20939         
20940 2004-08-29  Colin Walters  <walters@verbum.org>
20941
20942         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20943         a GTimeVal instead of time_t.  This is easier to work with,
20944         since time_t may be a long or double, we don't know.
20945
20946         * src/NetworkManagerDbus.h: Update prototype.
20947         
20948         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20949         instead of time_t.
20950         (nm_ap_get_timestamp): Update to return GTimeVal.
20951         (nm_ap_set_timestamp): Update to take GTimeVal.
20952         
20953         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20954         to handle GTimeVal.
20955
20956         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20957         GTimeVal change.
20958         (nm_ap_list_print_members): Fix warnings in printf format.
20959
20960 2004-08-29  Colin Walters  <walters@verbum.org>
20961         
20962         * panel-applet/NMWirelessApplet.c: Include config.h.
20963
20964 2004-08-29  Colin Walters  <walters@verbum.org>
20965
20966         * configure.in: Generate config.h.
20967
20968         * configure.in: Dump dependency on OpenSSL; we can't
20969         use it since this package is GPL:
20970         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20971         Instead, check for libgcrypt, use it if available,
20972         otherwise use included MD5 code.
20973
20974         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20975         Suck in from gnome-keyring, munge a bit.
20976         
20977         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20978         gnome-keyring-md5.h gnome-keyring-md5.c.
20979         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20980
20981         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20982         libgcrypt or included gnome-keyring md5 bits.
20983         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20984
20985 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20986
20987         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20988
20989 2004-08-27  Bryan Clark  <bclark@redhat.com>
20990
20991         * examples/python/systray/Makefile: 
20992
20993         Updated the clean section
20994         
20995         * examples/python/systray/trayiconmodule.c: 
20996         * examples/python/systray/trayicon.override: 
20997         * examples/python/systray/network_tray.py: 
20998         * examples/python/systray/eggtrayicon.h: 
20999         * examples/python/systray/eggtrayicon.c: 
21000         * examples/python/systray/Makefile: 
21001         * examples/python/README: 
21002         * examples/python/NetworkManager.py: 
21003         * examples/python/NMTester.py: 
21004
21005         Initial commit of these python example files
21006
21007 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
21008
21009         * panel-applet/NMWirelessApplet.c
21010                 - Make current device bold
21011                 - Show more user-friendly device name if we got one from hal
21012
21013         * panel-applet/NMWirelessAppletDbus.c
21014                 - Grab "info.product" key from hal for network devices
21015                 - Cache the current active device
21016
21017 2004-08-27  Adam Weinberger  <adamw@gnome.org>
21018
21019         * configure.in: Added en_CA to ALL_LINGUAS.
21020
21021 2004-08-27  Christian Rose  <menthos@menthos.com>
21022
21023         * configure.in: Added "sv" to ALL_LINGUAS.
21024
21025 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21026
21027         * Tag NetworkManager-0.2
21028
21029 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
21030
21031         * initscripts/Makefile.am
21032         * configure.in: Make pass distcheck
21033
21034         * po/ChangeLog: added
21035
21036 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21037
21038         * panel-applet/NMWirelessApplet.c
21039                 - Remove debugging code
21040                 - Enable device switching from menus
21041
21042         * panel-applet/NMWirelessAppletDbus.[ch]
21043                 - Method for asking NM to switch devices
21044
21045         * src/NetworkManagerDevice.c
21046                 - Set dev->activating earlier, avoids race between
21047                         the dbus signal of "DeviceActivating" and setting
21048                         dev->activating (which is what NM's "status" method call
21049                         looks at)
21050
21051 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21052
21053         * panel-applet/NMWirelessApplet.[ch]
21054                 - Rework menu code to add devices to menu, and to show
21055                         signal strength for each access point.  Code cleanups
21056                         too.
21057
21058         * panel-applet/NMWirelessAppletDbus.c
21059                 - Grab network devices from NetworkManager too
21060                 - Grab quality information from NM for wireless networks
21061
21062         * src/NetworkManagerDbus.[ch]
21063                 - Add dbus methods for getting the HAL UDI from a device and
21064                         for getting its base quality, if its wireless
21065                 - Consolidate some functions (wireless network notifications,
21066                         device notifications)
21067                 - Add method for requesting NM to use a particular device
21068
21069         * src/NetworkManager.c
21070                 - Change for function consolidations from NetworkManagerDbus.c
21071                 - Implement active device locking and user-requested devices
21072                         (ie, tell NM to use a particular device instead of the one
21073                         it autochose)
21074
21075         * src/NetworkManagerDevice.c
21076                 - Add method for getting the base quality of a device, if its
21077                         wireless
21078                 - Grab device base quailty info from iwlib during scans
21079
21080         * src/NetworkManagerPolicy.c
21081                 - Use a user-requested device rather than the auto-chosen device
21082                         if we are told to
21083
21084 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
21085
21086         * Makefile.am: add po as a supdir
21087
21088         * autogen.sh: use gnome-autogen.sh
21089
21090         * initscript/Gentoo/.cvsignore:
21091         * initscript/RedHat/.cvsignore: Shut up cvs
21092
21093         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21094
21095         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21096         (nmwa_fill): Use gettext.
21097
21098         * configure.in: add gettext support
21099         * po/.cvsignore:
21100         * po/NetworkManager.pot:
21101         * po/POTFILES.in:
21102
21103 2004-08-26  Seth Nickell  <seth@gnome.org>
21104
21105         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21106         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21107         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21108         (nmwa_dispose_menu_items), (nmwa_populate_menu),
21109         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21110         * panel-applet/NMWirelessApplet.h:
21111
21112         Use a menu bar instead of a button for the main clickable
21113         thingy.
21114         
21115 2004-08-25  Dan Williams <dcbw@redhat.com>
21116
21117         * src/NetworkManagerDevice.c
21118                 - (nm_device_set_enc_key): always set device to "open" mode instead of
21119                         turning encryption off, because the Cisco driver doesn't associate
21120                         with WEP-enabled access points unless we are in "open"
21121
21122 2004-08-25  Dan Williams <dcbw@redhat.com>
21123
21124         * src/NetworkManagerWireless.c
21125                 - Don't try to defererence blank passphrases
21126
21127 2004-08-25  Dan Williams <dcbw@redhat.com>
21128
21129         * panel-applet/NMWirelessApplet.c
21130                 - Rebuild the menu whenever a user clicks
21131
21132 2004-08-25  Dan Williams <dcbw@redhat.com>
21133
21134         * panel-applet/NMWirelessApplet.c
21135                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21136                         when NM isn't around or when its not connected
21137
21138         * src/NetworkManagerDevice.c
21139                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21140                         canceled.
21141
21142 2004-08-25  Dan Williams <dcbw@redhat.com>
21143
21144         * panel-applet/NMWirelessAppletDbus.c
21145                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21146                         for getting encryption, and don't stop on "val" once we've gotten it
21147                         from NetworkManager.  Short form:  encryption should now show up.
21148
21149 2004-08-25  Dan Williams <dcbw@redhat.com>
21150
21151         * panel-applet/NMWirelessApplet.c
21152                 - Set ESSID on a gconf trusted network too when force-setting the wireless
21153                         network to associate with
21154
21155 2004-08-25  Dan Williams <dcbw@redhat.com>
21156
21157         * panel-applet/*
21158                 - Rework the panel applet to do all DBUS communication in a separate
21159                         thread
21160
21161 2004-08-25  Dan Williams <dcbw@redhat.com>
21162
21163         * info-daemon/NetworkManagerInfo.[ch]
21164                 - Remove "get_next_priority" function
21165
21166         * info-daemon/NetworkManagerInfoDbus.[ch]
21167                 - Convert "priority" functions to "timestamp"
21168
21169 2004-08-25  Dan Williams <dcbw@redhat.com>
21170
21171         * src/NetworkManagerAP.[ch]
21172                 - Add a "enc_method_good" member and accessors to an Access Point
21173                         to signal when we've found the correct encryption method
21174                         for an access point
21175                 - Add a "timestamp" member and accessors, remove "priority" member
21176                         and accessors (use timestamps instead)
21177                 - Rename "wep_key"->"enc_key"
21178                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21179                         for a specified encryption method using the access points
21180                         source encryption key/passphrase
21181
21182         * src/NetworkManagerAPList.c
21183                 - When updating a network with dbus, grab timestamp now instead of
21184                         priority
21185
21186         * src/NetworkManagerDBus.[ch]
21187                 - Add signal for "DeviceActivating"
21188                 - Switch priority->timestamp
21189
21190         * src/NetworkManagerDevice.c
21191                 - Change references of "wep_key" -> "enc_key" or "key"
21192                 - Signal DeviceActivating when starting activation
21193                 - When activating a wireless device, if the access point we are connecting
21194                         to is encrypted, and we have a source key, try to generate a mangled
21195                         key and use that (ie, generate real WEP key from a passphrase)
21196                 - Rework device activation to fallback to other encryption methods if
21197                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21198                         first, then if that doesn't work fall back to direct hex key).
21199                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21200                         priority.  We now prefer the latest access point used, rather than using
21201                         a priority scheme
21202                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21203                         points we've just discovered, and merge in correct info from the global
21204                         access point lists
21205
21206 2004-08-25  Seth Nickell  <seth@gnome.org>
21207
21208         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21209         Debian support.
21210         
21211         * src/Makefile.am:
21212         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21213         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21214         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21215         (nm_system_delete_default_route),
21216         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21217         (nm_system_load_device_modules):
21218
21219 2004-08-24  Dan Willemsen <dan@willemsen.us>
21220
21221         * src/NetworkManager.c
21222           src/backends/NetworkManagerGentoo.c
21223           src/backends/NetworkManagerRedHat.c
21224           src/backends/NetworkManagerSystem.h
21225                 - Implement preliminary Gentoo support, adding a
21226                         nm_system_init function to the backend specification
21227
21228         * configure.in
21229                 - Distribution auto-detection, lowercase any user-fed
21230                         distribution names
21231
21232         * initscript/.cvsignore
21233           initscript/Makefile.am
21234           initscript/RedHat/Makefile.am
21235           initscript/RedHat/NetworkManager
21236           initscript/Gentoo/Makefile.am
21237           initscript/Gentoo/NetworkManager
21238                 - Refactored initscript code separately for each
21239                         distribution
21240
21241 2004-08-23  Dan Williams <dcbw@redhat.com>
21242
21243         * configure.in
21244           src/Makefile.am
21245           src/NetworkManagerDevice.c
21246           src/NetworkManager.c
21247           src/NetworkManagerUtils.[ch]
21248           src/backends/NetworkManagerSystem.h
21249           src/backends/NetworkManagerRedHat.c
21250           src/backends/NetworkManagerGentoo.c
21251                 - Refactor system-specific code into separate backends for
21252                         each distribution
21253
21254 2004-08-23  Dan Willemsen <dan@willemsen.us>
21255
21256         * dispatcher-daemon/NetworkManagerDispatcher.c
21257           info-daemon/NetworkManagerInfo.[ch]
21258           info-daemon/NetworkManagerInfoDbus.c
21259           info-daemon/NetworkManagerInfoPassphraseDialog.c
21260           src/NetworkManager.c
21261           src/NetworkManagerAP.c
21262           src/NetworkManagerAPList.c
21263           src/NetworkManagerDbus.c
21264           src/NetworkManagerDevice.c
21265           src/NetworkManagerPolicy.c
21266           src/NetworkManagerUtils.[ch]
21267           src/NetworkManagerWireless.c
21268                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21269
21270         * src/NetworkManager.c
21271                 - Fixed usage wording for --no-daemon
21272
21273 2004-08-23  Dan Williams <dcbw@redhat.com>
21274
21275         * panel-applet/NMWirelessApplet.c
21276                 - Update our state every second to get more responsive panel icon
21277                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21278                         was causing our marching ants status blips to never move when
21279                         looking for a wireless network
21280
21281         * src/NetworkManagerDevice.c
21282                 - (nm_device_activation_begin): return if activation has already begun
21283                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21284                         trusted/preferred network into the device's access point when the
21285                         scan list is processed
21286
21287 2004-08-23  Dan Williams <dcbw@redhat.com>
21288
21289         * initscript/NetworkManager
21290                 - Use NMLaunchHelper rather than sleeping
21291
21292         * initscript/NMLaunchHelper.c
21293           Makefile.am
21294                 - Add helper program that exits only when NM activates a device,
21295                         or 10 seconds have passed, whichever happens first.  This
21296                         stops the boot processes until we have a network connection,
21297                         which NM can't do because it daemonizes and brings the connection
21298                         up in the background.  Allows stuff like NFS to not die.
21299
21300 2004-08-20  Dan Williams <dcbw@redhat.com>
21301
21302         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21303                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21304                         for a network, set the essid as well since it may not exist yet
21305                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21306                         since WEP keys/passphrases are long and prone to entry-error
21307
21308         * panel-applet/Makefile.am
21309           panel-applet/wired.png
21310                 - Add (pulled from system-config-network temporarily)
21311
21312         * panel-applet/NMWirelessApplet.[ch]
21313                 - Show wired picture when a wired connection is used
21314                 - Rename wireless icon enums, adding WIRELESS
21315
21316         * src/NetworkManagerDevice.c
21317                 - (nm_device_activate_wireless): unset encryption before bringing
21318                         down the card and setting the essid
21319                 - (nm_device_activatin_worker): request a key from the user if the
21320                         AP we are connecting to is encrypted but we don't have a key
21321                         for it yet
21322                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21323                         strcmp() that prevented a user-entered key from actually getting
21324                         used
21325
21326 2004-08-16  Dan Williams <dcbw@redhat.com>
21327
21328         * initscript/NetworkManager
21329                 - Check for /sbin/ip
21330                 - Do sysctl magic that network service does
21331                 - sleep 4s after start to allow network time to come up [hack]
21332
21333         * src/Makefile.am
21334           src/NMLoadModules
21335                 - Load all network device kernel modules (hal doesn't know devices
21336                         are ethernet until the module is loaded, and therefore we don't know)
21337
21338         * src/NetworkManager.c
21339                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21340                         network devices, and bring up the loopback device explicitly
21341
21342         * src/NetworkManagerUtils.[ch]
21343                 - (nm_enable_loopback): new function
21344
21345 2004-08-13  Dan Williams <dcbw@redhat.com>
21346
21347         * configure.in
21348           panel-applet/Makefile.am
21349                 - Fix up cleanfiles and server_DATA/server_in_files
21350
21351         * README
21352                 - Update with some comments on theory of operation
21353
21354         * CONTRIBUTING
21355           Makefile.am
21356                 - Add CONTRIBUTING
21357
21358 2004-08-12  Dan Williams <dcbw@redhat.com>
21359
21360         * info-daemon/passphrase.glade
21361                 - Set window title to " "
21362
21363         * panel-applet/Makefile.am
21364           panel-applet/keyring.png
21365                 - Deliver to correct place
21366
21367         * panel-applet/NMWirelessApplet.[ch]
21368                 - Add comments
21369                 - Remove applet->have_active_device as its no longer used
21370                 - (nmwa_load_theme): load keyring.png too
21371                 - (error_dialog): remove
21372                 - (show_warning_dialog): subsume functionality of error dialog too
21373                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21374                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21375                         the networks menu
21376                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21377                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21378                         and when we get broadcasts of changed wireless access points only, not when the
21379                         user clicks on the button to display the menu (too long of a wait)
21380                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21381                         networks that are encrypted
21382                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21383                         menu item with g_object_set_data()
21384
21385         * panel-applet/NMWirelessAppletDbus.[ch]
21386                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21387                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21388                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21389                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21390                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21391                         activation/deactivation signals and rebuild the menu when they happen
21392
21393         * src/NetworkManager.c
21394                 - (main): use new nm_spawn_process() rather than system()
21395
21396         * src/NetworkManagerDbus.c
21397                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21398                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21399                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21400                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21401                         to freeze the best_ap.
21402
21403         * src/NetworkManagerDevice.[ch]
21404                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21405                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21406                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21407                         ap list
21408
21409         * src/NetworkManagerUtils.[ch]
21410                 - (nm_spawn_process): add replacement for system() usage
21411
21412 2004-08-11  Dan Williams <dcbw@redhat.com>
21413
21414         * panel-applet/NMWirelessApplet.[ch]
21415                 - Fix up copyright and credits to include Bastien and Eskil,
21416                         who created the gnome-applets wireless applet, from whose
21417                         skeleton this one was created
21418                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21419                         pixmap to draw is computed during nmwa_update_state()
21420                 - Applet now shows itself all the time due to panel packing issues
21421                         which caused the applet to previously never come back after hiding.
21422                         When a wired device is the active device, the applet shows "not connected"
21423
21424         * panel-applet/NMWirelessAppletDbus.[ch]
21425                 - Clean up error messages and show what function they are from
21426                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21427                 - Add new device type getters, and a status getter
21428
21429         * src/NetworkManagerDbus.c
21430                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21431                         network is actually in the device's ap list
21432                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21433
21434         * src/NetworkManagerDevice.c
21435                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21436                         card
21437
21438         * test/nmclienttest.c
21439                 - Report status of NetworkManager too
21440
21441 2004-08-11  Dan Williams <dcbw@redhat.com>
21442
21443         * info-daemon/NetworkManagerInfo.c:
21444                 - (main): clean up Seth's code style
21445
21446         * info-daemon/NetworkManagerInfoDbus.c:
21447                 - Use the more aptly-named path/service/interface constants from NetworkManager
21448                 - Don't return empty strings ("") as object paths ever, instead return errors
21449
21450         * panel-applet/NMWirelessApplet.c:
21451                 - Clean up Seth's code style
21452
21453         * src/NetworkManager.[ch]
21454                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21455                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21456
21457         * src/NetworkManagerAPList.[ch]
21458                 - Move Iter struct right above the iter functions to preserve opacity
21459                 - (nm_ap_list_remove_ap): implement
21460                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21461                         remove AP if NetworkManagerInfo doesn't know anything about it
21462                 - (nm_ap_list_diff): user NMAPList iterators
21463                 - (nm_ap_list_print_members): implement debugging function
21464
21465         * src/NetworkManagerDbus.[ch]
21466                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21467                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21468                         and move the actual key setting stuff into NetworkManagerDevice.c
21469                 - (nm_dbus_get_network_priority): return -1 now on errors
21470                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21471                         get lost, and force the active device to update its "best" ap when AP lists change
21472                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21473                         method call due to pending_device member removal
21474
21475         * src/NetworkManagerDevice.[ch]
21476                 - Move NMDevice structure to the top
21477                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21478                 - Remove Pending Action stuff from everywhere
21479                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21480                         activation for us.  This thread blocks until all conditions for activation have
21481                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21482                         then setup up the interface and runs dhclient.  We have to do this because there
21483                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21484                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21485                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21486                         can tell nm_device_activation_worker() that we've got a key
21487                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21488                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21489                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21490                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21491
21492         * src/NetworkManagerPolicy.c
21493                 - Remove anything to do with pending_device
21494                 - Adjust device activation to deal with activation-in-worker-thread
21495
21496         * src/NetworkManagerUtils.c
21497                 - Clean up locking debugging a bit
21498
21499         * src/NetworkManagerWireless.[ch]
21500                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21501                         was badly named and is better as a device function
21502
21503         * panel-applet/.cvsignore: add
21504
21505 2004-08-09  Seth Nickell  <seth@gnome.org>
21506
21507         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21508         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21509         (nmwa_new):
21510         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21511
21512         Don't load the menus until clicked on (also removes a call outside
21513         normal code paths at first load).
21514
21515         Hide applet when NM is not present.
21516         
21517         Improve printf debugging stuff.
21518         
21519 2004-08-09  Dan Williams <dcbw@redhat.com>
21520
21521         * dispatcher-daemon/NetworkManagerDispatcher.c:
21522                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21523                 - Use constants for NetworkManager interface, service, and path
21524
21525 2004-08-09  Dan Williams <dcbw@redhat.com>
21526
21527         * src/NetworkManagerDbus.c:
21528                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21529                         instead return an error message
21530                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21531                         on a wired device.  Also never return an empty object path, instead return an error message
21532
21533 2004-08-06  Seth Nickell  <seth@gnome.org>
21534
21535         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21536
21537         Check the error code when getting a connection.
21538         
21539         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21540
21541         Check if the NM service exists when initializing (rather than
21542         assuming it does not).
21543         
21544         * src/NetworkManagerDbus.c: (nm_dbus_init):
21545
21546         Don't acquire the well-known service name until we have
21547         registered object/path handlers and can actually receive
21548         calls.
21549         
21550 2004-08-06  Dan Williams <dcbw@redhat.com>
21551
21552         * panel-applet/*
21553                 - Add panel applet
21554
21555         * src/NetworkManagerPolicy.c
21556           src/NetworkManager.c
21557                 - Get access point lists from NetworkManagerInfo on-demand,
21558                         and look for ServiceCreate/ServiceDeleted signals to see when
21559                         we should query NMI for lists
21560         * src/NetworkManagerAPList.c
21561                 - Make sure to init the list's mutex
21562                 - Convert traversals of the list over to the list iter functions
21563
21564         * src/NetworkManagerDbus.[ch]
21565                 - Use more aptly-named path/service/interface constants
21566                 - Treat both active and pending devices the same for "getActiveDevice"
21567                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21568
21569         * src/NetworkManagerDevice.c
21570                 - Honor "ignored" network list when picking best ap to use
21571
21572 2004-08-06  Seth Nickell  <seth@gnome.org>
21573
21574         * aclocal.m4:
21575
21576         Autogenerated, remove from CVS.
21577         
21578         * autogen.sh:
21579
21580         Don't hardcode automake version.
21581         
21582         * configure.in:
21583         * info-daemon/Makefile.am:
21584         * info-daemon/NetworkManagerInfo.c: (main):
21585
21586         Use GnomeProgram et al. for doing session management.
21587         Use popt stuff for argument parsing rather than doing
21588         it manugally.
21589         
21590 2004-08-05  Dan Williams <dcbw@redhat.com>
21591
21592         * test/nminfotest.c
21593                 - Update to new NMI dbus API, check different network types
21594
21595         * info-daemon/NetworkManagerInfoDbus.c
21596                 - Update to new NM dbus API, ie network type sent in query message
21597
21598 2004-08-05  Dan Williams <dcbw@redhat.com>
21599
21600         * An assload of changes
21601
21602 2004-08-02  Dan Williams <dcbw@redhat.com>
21603
21604         * TODO
21605                 - new task: proper logging support
21606
21607         * info-daemon/NetworkManagerInfo.c
21608                 - Correct spelling of "canceled"
21609                 - Correct casting of objects for g_signal_connect()
21610
21611         * info-daemon/NetworkManagerInfoDbus.c
21612                 - Add defines for NetworkManager namespace and object path, and use them
21613                 - Add filter function to trap new signals from NetworkManager:
21614                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21615
21616         * info-daemon/passphrase.glade
21617                 - Change name of "ok" button to "Login to Network..."
21618                 - Mark invisible
21619
21620         * src/NetworkManager.c
21621                 - Code and debug message cleanups
21622                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21623                 - (nm_add_initial_devices) Check returned string array of devices
21624                         and don't try to add devices if array is NULL
21625                 - (main) Initialize libhal a bit later, make code a bit clearer
21626
21627         * src/NetworkManagerAP.[ch]
21628                 - New accessor and data member "matched": used to speed up AP list
21629                         diffing
21630                 - New accessor and data member "enc_method": will be used during key
21631                         fallback to cache which passphrase->key conversion actually works
21632                         so we don't have to do it every time
21633
21634         * src/NetworkManagerAPList.[ch]
21635                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21636                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21637                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21638                         dbus in response to those differences
21639
21640         * src/NetworkManagerDbus.[ch]
21641                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21642                         make an object path for that access point (NOTE that we don't yet check to
21643                         make sure that access point is actually in the device's AP list yet)
21644                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21645                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21646                         New: signal appearance/disappearance of wireless networks
21647                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21648                         key entry
21649
21650         * src/NetworkManagerDevice.[ch]
21651                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21652                 - (nm_device_ap_list_get) New: return the AP list (static function)
21653                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21654                         new one resulting from the scan with the old one
21655
21656         * src/NetworkManagerWireless.c
21657                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21658
21659         * test/nminfotest.c
21660                 - #define object paths and namespaces and use the #defines rather than static strings
21661                 - Test out user-key functionality of NetworkManagerInfo too
21662
21663 2004-07-29  Dan Williams <dcbw@redhat.com>
21664
21665         * info-daemon/NetworkManagerInfoDbus.c
21666           src/NetworkManagerDbus.c
21667                 - Update to current DBus (ie don't use decomposed paths when registering
21668                         object paths/fallbacks)
21669
21670 2004-07-27  Dan Williams <dcbw@redhat.com>
21671
21672         * Remove various Makefile.in files
21673
21674         * TODO
21675                 - Add some more items
21676
21677         * configure.in
21678                 - Add checks for OpenSSL/md5 headers and libs
21679
21680         * src/Makefile.am
21681                 - Use OpenSSL CFLAGS
21682
21683         * src/NetworkManagerAP.[ch]
21684                 - Remove 'stamp' functions, replace with 'invalid' functions
21685                         to support user cancelling WEP key entry
21686
21687         * src/NetworkManagerDbus.c
21688                 - Remove 'stamp' return functions
21689                 - Treat returned user key as a passphrase and convert to a WEP key,
21690                         but don't actually use the WEP key yet.  We use the returned user
21691                         key as a hexadecimal WEP key until we can figure out a UI for
21692                         passphrase-vs-hex key
21693
21694         * src/NetworkManagerWireless.[ch]
21695                 - Add passphrase-to-128bit-key function
21696
21697 2004-07-27  Dan Williams <dcbw@redhat.com>
21698
21699         * TODO
21700                 - Add a couple of items
21701
21702 2004-07-27  Dan Williams <dcbw@redhat.com>
21703
21704         * info-daemon/NetworkManagerInfo.c
21705                 - Update allowed network's GConf key when user enters a WEP key explicitly
21706
21707         * info-daemon/NetworkManagerDbus.c
21708                 - Fix some comments
21709                 - nmi_dbus_get_allowed_networks(): kill warning
21710
21711 2004-07-27  Dan Williams <dcbw@redhat.com>
21712
21713         * initscript/Makefile.in
21714                 - Remove
21715
21716         * initscript/Makefile.am
21717                 - Add correct rules to install the init.d initscript
21718
21719         * info-daemon/NetworkManagerInfoDbus.c
21720                 - Remove debug fprintf
21721
21722         * src/NetworkManagerDbus.[ch]
21723                 - Remove debug fprintfs
21724                 - Add macros for NetworkManagerInfo object path/namespace
21725                 - Use said macros instead of constant strings
21726
21727 2004-07-27  Dan Williams <dcbw@redhat.com>
21728
21729         * initscript/.cvsignore
21730                 - Add
21731
21732         * info-daemon/Makefile.am
21733                 - Install .glade files and keyring.png
21734                 - Fix stupid omission of a \ that caused half the flags not to be
21735                         passed to gcc
21736
21737         * info-daemon/NetworkManagerInfo.c
21738                 - gtk_signal_connect->g_signal_connect
21739                 - Alert NetworkManagerInfo to new glade file location
21740
21741 2004-07-27  Dan Williams <dcbw@redhat.com>
21742
21743         * test/nmclienttest.c
21744           test/nminfotest.c
21745                 - Add missing <dbus/dbus.h> headers
21746                 - Add GPL message at top
21747
21748 2004-07-27  Dan Williams <dcbw@redhat.com>
21749
21750         * src/NetworkManagerAPList.[ch]
21751           src/Makefile.am
21752                 - Add.  Deal with allowed network list additions, deletions, and updates
21753
21754         * dispatcher-daemon/NetworkManagerDispatcher.c
21755                 - Add missing <dbus/dbus.h> header
21756
21757         * info-daemon/NetworkManagerInfo.[ch]
21758                 - Add missing <dbus/dbus.h> header
21759                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21760                         network change
21761                 - Better error checking
21762
21763         * info-daemon/NetworkManagerInfoDbus.[ch]
21764                 - Add missing <dbus/dbus.h> header
21765                 - Convert to using dbus_message_append_args/dbus_message_get_args
21766                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21767                         that an allowed network changed.  We don't want to signal on individual
21768                         keys _inside_ an allowed network really, just want NM to query the info
21769                         daemon for updated info on all keys.
21770                 - Better error checking
21771
21772         * src/NetworkManager.[ch]
21773                 - Add missing <dbus/dbus.h> header
21774                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21775                 - Zero out NMData structure on free
21776                 - No longer use a thread for allowed_ap_list updating, instead its now done
21777                         through dbus queries against NetworkManagerInfo
21778                 - Populate allowed_ap_list initially before adding existing network devices
21779                         to the device list, so wireless devices can get their "best" AP
21780
21781         * src/NetworkManagerDbus.[ch]
21782                 - Convert to using dbus_message_append_args/dbus_message_get_args
21783                 - Better error checking
21784                 - Implement Allowed Network info functions to request allowed network
21785                         info from NetworkManagerInfo
21786                 - Implement the filter function to process signals from NetworkManagerInfo
21787                         about changing allowed networks
21788
21789         * src/NetworkManagerDevice.c
21790                 - Fix file descriptor leak in nm_device_update_ip4_address()
21791
21792 2004-07-27  Dan Williams <dcbw@redhat.com>
21793
21794         * .cvsignore
21795           src/.cvsignore
21796           test/.cvsignore
21797           dispatcher-daemon/.cvsignore
21798           info-daemon/.cvsignore
21799                 - Add .cvsignore files to reduce noise when diffing
21800
21801 2004-07-24  Dan Williams <dcbw@redhat.com>
21802
21803         * src/NetworkManager.[ch]
21804           src/NetworkManagerDbus.[ch]
21805           src/NetworkManagerDevice.[ch]
21806           src/NetworkManagerPolicy.c
21807           src/NetworkManagerWireless.[ch]
21808                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21809                 - Pass the NMData application data structure through all calls
21810                         that need it so we can get rid of nm_get_global_data()
21811                 - Change deallocation of the allowed_ap_list GSList in preparation
21812                         for not completely clearing it every time we get an update,
21813                         but instead getting incremental updates via GConf/dbus
21814
21815 2004-07-22  Dan Williams <dcbw@redhat.com>
21816
21817         * configure.in
21818                 - Add checks for GConf libs & headers & flags
21819
21820         * info-daemon/Makefile.am
21821                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21822
21823         * info-daemon/NetworkManagerInfo.[ch]
21824                 - Don't use gquarks for data storage, just use normal data storage
21825                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21826
21827         * info-daemon/NetworkManagerDbus.[ch]
21828                 - Add method call for getting allowed networks
21829                 - Add method calls for getting an allowed network's essid, priority, and key
21830                 - Hook the method calls up to GConf
21831                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21832                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21833                 
21834         * src/NetworkManagerDbus.[ch]
21835                 - Switch for enumeration of networks to using essid instead
21836
21837         * test/Makefile.am
21838           test/nminfotest.c
21839                 - Add test program for NetworkManagerInfo
21840
21841 2004-07-19  Dan Williams <dcbw@redhat.com>
21842
21843         * src/NetworkManagerDbus.c
21844                 - Switch from indexed device paths to names.  Less code, more efficient.
21845                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21846
21847 2004-07-19  Dan Williams <dcbw@redhat.com>
21848
21849         * dispatcher-daemon/NetworkManagerDispatcher.c
21850                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21851
21852 2004-07-19  Dan Williams <dcbw@redhat.com>
21853
21854         * Makefile.am
21855                 - Add info-daemon directory
21856
21857         * configure.in
21858                 - Check for glade libs and headers
21859                 - Add info-daemon directory
21860
21861         * src/NetworkManagerAP.c
21862                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21863                         copied over to the new AP.
21864
21865         * src/NetworkManagerDbus.c
21866           src/NetworkManagerDbus.h
21867                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21868                 - Remove nm_dbus_signal_need_key_for_network()
21869                 - Add disabled code for asynchronous user wep key callbacks
21870                 - Add functions for getting, setting, and cancelling user key operations
21871                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21872                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21873
21874         * src/NetworkManagerDevice.c
21875           src/NetworkManagerDevice.h
21876                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21877                         logic is in device activation now
21878                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21879                         key is wrong) trigger get-user-key pending action
21880                 - Implement get-user-key pending action stuff, tie to dbus messages
21881                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21882                 - Add nm_device_ap_list_get_ap_by_essid()
21883                 - Instead of copying "best" access points, ref them instead so that the key we set
21884                         sticks around
21885
21886         * src/NetworkManagerPolicy.c
21887                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21888                 - Don't cancel pending actions on a device if its the same device as last iteration
21889                 - Only promote pending_device->active_device if activation was successfull
21890
21891         * src/Makefile.am
21892                 - Rename nmclienttest->nmtest
21893
21894         * info-daemon/Makefile.am
21895           info-daemon/NetworkManagerInfo.c
21896           info-daemon/NetworkManagerInfo.h
21897           info-daemon/NetworkManagerInfoDbus.c
21898           info-daemon/NetworkManagerInfoDbus.h
21899           info-daemon/passphrase.glade
21900           info-daemon/NetworkManagerInfo.conf
21901           info-daemon/keyring.png
21902                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21903                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21904                         lists to NetworkManager by proxying user's GConf
21905           
21906
21907 2004-07-15  Dan Williams <dcbw@redhat.com>
21908
21909         * src/Makefile.am
21910                 - Turn on warnings
21911
21912         * src/NetworkManager.c
21913                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21914                         that doing the deactivation ourselves
21915                 - Cancel an pending actions on a device if its being removed
21916                 - Break up link state checking a bit, make non-active wireless cards
21917                         deactivated to save power
21918                 - Remove unused variables
21919
21920         * src/NetworkManager.h
21921                 - Add support for "pending" device
21922
21923         * src/NetworkManagerAP.h
21924           src/NetworkManagerAP.c
21925                 - Add support for determining whether and AP has encryption enabled or not
21926                 - AP address is now "struct ether_addr" rather than a string
21927
21928         * src/NetworkManagerDbus.h
21929           src/NetworkManagerDbus.c
21930                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21931                 - Changes for AP address from struct ether_addr->string
21932
21933         * src/NetworkManagerDevice.h
21934           src/NetworkManagerDevice.c
21935                 - Remove unused variables, fix warnings
21936                 - Add support for Pending Actions (things that block a device from being "active"
21937                         until they are completed).
21938                 - First pending action:  Get a WEP key from the user
21939                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21940                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21941                 - Update wireless link checking to try to determine if the AP we are associated
21942                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21943                         trigger the GetUserKey pending action on the device
21944                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21945                         up in that case, otherwise we can't scan or link-check on it
21946                 - Add IP address change notifications at appropriate points (still needs some work)
21947                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21948
21949         * src/NetworkManagerPolicy.h
21950           src/NetworkManagerPolicy.c
21951                 - Split out "best" access point determiniation into separate function
21952                 - Make device activation 2-stage:  first the device is pending, then
21953                         in the next iteration through it becomes "active" unless it has
21954                         pending actions
21955
21956         * src/NetworkManagerUtils.h
21957           src/NetworkManagerUtils.c
21958                 - Clean up unused variables and warnings
21959                 - Wrap our debug macros in {} to prevent possible confusion
21960
21961         * src/NetworkManagerWireless.c
21962                 - Forgot to return current best priority, which lead to last available AP always
21963                         being chosen no matter what its priority was.  Corrected.
21964
21965 2004-07-15  Dan Williams <dcbw@redhat.com>
21966
21967         * dispatcher-daemon/Makefile.am
21968                 - Turn on warnings
21969
21970         * dispatcher-daemon/NetworkManagerDispatcher.c
21971                 - Remove unused variables due to warnings
21972                 - Fix some comments
21973                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21974
21975 2004-07-06  Dan Williams <dcbw@redhat.com>
21976
21977         * src/NetworkManager.c
21978                 - Add IPv4 address update for active device during link state check
21979                 - Don't allow wireless cards to be powered up when they are not the
21980                         active device
21981
21982         * src/NetworkManagerDbus.c
21983           src/NetworkManagerDbus.h
21984                 - Add DBUS IPv4 address change signal
21985                 - Add DBUS IPv4 address get method for devices
21986
21987         * src/NetworkManagerDevice.c
21988                 - Make setting the WEP key actually work
21989                 - Move IP address get/set/update stuff here, per-device
21990                 - Power down/bring down wireless device when deactivated
21991                 - For scanning wireless devices, if first scan returned ENODATA, try again
21992
21993         * src/NetworkManagerPolicy.c
21994                 - Only set the WEP key for an allowed access point if there is one.
21995                         We were setting it to be blank if one wasn't specified.
21996
21997         * src/NetworkManagerUtils.h
21998           src/NetworkManagerUtils.c
21999                 - Move the IP address stuff to NetworkManagerDevice.c
22000
22001         * dispatcher-daemon/NetworkManagerDispatcher.c
22002                 - Add device IPv4 address change notification stuff
22003
22004 2004-07-05  Dan Williams <dcbw@redhat.com>
22005
22006         * dispatcher-daemon/NetworkManagerDispatcher.c
22007                 - A bit more descriptive state message
22008                 - Don't segfault when reading directory
22009
22010         * src/NetworkManager.h
22011                 - Remove NMData desired_ap member, its now
22012                         per-device rather than global
22013
22014         * src/NetworkManager.c
22015                 - Remove references to desired_ap
22016                 - Move the allowed AP list refresh stuff into a thread
22017
22018         * src/NetworkManagerDevice.c
22019           src/NetworkManagerDevice.h
22020                 - Each wireless device now has a "best ap"
22021                 - Make device activate/deactivate functions per-device
22022                 - Make wireless scanning per-device
22023                 - Add IPv4 address discover functions, stub IPv6 ones
22024                 - Move ethernet address validation functions to NetworkManagerUtils.c
22025                 - Add wireless access point accessor function
22026                 - Get/Set functions for "best ap"
22027
22028         * src/NetworkManagerPolicy.c
22029                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
22030                 - Deal with per-device "best ap" rather than data->desired_apa
22031                 - Implement allowed access point worker thread
22032                 - Add nm_policy_essid_is_allowed() function
22033
22034         * src/NetworkManagerUtils.c
22035           src/NetworkManagerUtils.h
22036                 - Add nm_ethernet_address_is_valid() function
22037                 - Add IPv4/IPv6 address get functions
22038
22039         * src/NetworkManagerWireless.c
22040           src/NetworkManagerWireless.h
22041                 - Move scanning stuff into NetworkManagerDevice.c, per-device
22042
22043 2004-06-29  Dan Williams <dcbw@redhat.com>
22044
22045         * dispatcher-daemon/NetworkManagerDispatcher.c
22046                 - Implement script callout functionality
22047
22048 2004-06-24  Dan Williams <dcbw@redhat.com>
22049
22050         * NetworkManager.c
22051             - Spacing cleanups
22052             - Flush device routes and ip addresses when added to the device list
22053
22054         * NetworkManagerDbus.c
22055             - Spacing cleanups
22056             - Add missing returns in the two signal functions
22057         
22058         * NetworkManagerPolicy.c
22059             - Spacing and variable cleanups
22060
22061 2004-06-24  Dan Williams <dcbw@redhat.com>
22062
22063         * Makefile.am
22064           Makefile.in
22065           configure.in
22066           dispatcher-daemon/Makefile.am
22067           dispatcher-daemon/Makefile.in
22068           dispatcher-daemon/NetworkManagerDispatcher.c
22069             - Add a daemon that receives signals from NetworkManager
22070                         and will (eventually) call scripts in /etc/somewhere
22071                         when devices go up or down.
22072         
22073         * NetworkManager.c
22074             - Spacing cleanups
22075             - Flush device routes and ip addresses when added to the device list
22076
22077         * NetworkManagerDbus.c
22078             - Spacing cleanups
22079             - Add missing returns in the two signal functions
22080         
22081         * NetworkManagerPolicy.c
22082             - Spacing and variable cleanups
22083             - Rename nm_policy_switch_interface->nm_policy_switch_device
22084             - nm_policy_switch_device():
22085                                 Use kill (pid) instead of system ("kill <pid>")
22086             - nm_state_modification_monitor():
22087                                 Add wireless essid to output of debug statements
22088                                 Correct typo in device compare to switch or not (should be !=)
22089                                 Don't sleep after sending "no longer active" signal, was useless
22090
22091 2004-06-24  Dan Williams <dcbw@redhat.com>
22092
22093         * Initial import