2008-11-21 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-21  Dan Williams  <dcbw@redhat.com>
2
3         * gfilemonitor/inotify-sub.c
4                 - (dup_dirname): actually remove trailing '/' (bgo #561807)
5
6 2008-11-21  Tambet Ingo  <tambet@gmail.com>
7
8         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
9         plugin compile again.
10
11 2008-11-20  Dan Williams  <dcbw@redhat.com>
12
13         Patch from Tambet Ingo <tambet@gmail.com>
14
15         * libnm-util/nm-setting.c
16           libnm-util/nm-setting.h
17                 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
18                         all the GParamSpec flags of the property
19
20         * system-settings/plugins/keyfile/nm-keyfile-connection.c
21           system-settings/plugins/keyfile/reader.c
22           system-settings/plugins/keyfile/writer.c
23                 - Update for NMSettingValueIterFn change
24
25 2008-11-20  Dan Williams  <dcbw@redhat.com>
26
27         * libnm-util/nm-utils.c
28           libnm-util/nm-utils.h
29                 - More documentation updates
30
31 2008-11-20  Dan Williams  <dcbw@redhat.com>
32
33         * libnm-util/libnm-util.ver
34           libnm-util/nm-utils.c
35           libnm-util/nm-utils.h
36           libnm-util/nm-utils-private.h
37           libnm-util/nm-connection.c
38                 - (nm_utils_register_value_transformations): make private, called
39                         from NMConnection registration anyway
40
41 2008-11-20  Dan Williams  <dcbw@redhat.com>
42
43         * libnm-util/Makefile.am
44           libnm-util/nm-utils-private.h
45                 - New header for internal utils private functions
46
47         * libnm-util/libnm-util.ver
48           libnm-util/nm-utils.c
49           libnm-util/nm-utils.h
50                 - Document some functions
51                 - (nm_utils_string_in_list, nm_utils_string_list_contains,
52                    nm_utils_string_slist_validate): un-export, only used within
53                         libnm-util or of limited use in general, and very easy to
54                         re-implement by apps if needed
55
56         * libnm-util/nm-setting-8021x.c
57           libnm-util/nm-setting-wired.c
58           libnm-util/nm-setting-wireless-security.c
59           libnm-util/nm-setting-wireless.c
60                 - Update for private nm_utils_string_* functions
61
62 2008-11-20  Dan Williams  <dcbw@redhat.com>
63
64         * libnm-util/libnm-util.ver
65           libnm-util/nm-setting.c
66           libnm-util/nm-setting.h
67                 - Add NMSetting errors
68                 - (nm_setting_update_secrets): return errors
69
70         * libnm-util/nm-connection.c
71           libnm-util/nm-connection.h
72                 - (nm_connection_update_secrets): return errors
73
74         * libnm-util/nm-setting-vpn.c
75           src/nm-activation-request.c
76           src/vpn-manager/nm-vpn-connection.c
77                 - Handle update secrets errors
78
79 2008-11-20  Dan Williams  <dcbw@redhat.com>
80
81         * libnm-util/nm-setting.c
82           libnm-util/nm-setting.h
83           libnm-util/libnm-util.ver
84                 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
85                         consistent with nm_connection_new_from_hash()
86
87         * src/nm-activation-request.c
88           libnm-util/nm-connection.c
89                 - Handle rename
90
91 2008-11-19  Dan Williams  <dcbw@redhat.com>
92
93         * configure.in
94           Makefile.am
95           docs/libnm-util/Makefile.am
96           docs/libnm-util/libnm-util.types
97                 - Start to document libnm-util
98
99 2008-11-19  Dan Williams  <dcbw@redhat.com>
100
101         * libnm-util/nm-connection.h
102           libnm-util/nm-connection.c
103                 - Document public functions
104
105 2008-11-19  Dan Williams  <dcbw@redhat.com>
106
107         * libnm-util/nm-setting.h
108           libnm-util/nm-setting.c
109           src/nm-device.c
110           src/nm-manager.c
111           system-settings/plugins/ifcfg-fedora/plugin.c
112                 - Prefix compare flag defines with NM_SETTING_
113
114 2008-11-19  Dan Williams  <dcbw@redhat.com>
115
116         * libnm-util/nm-connection.c
117           libnm-util/nm-connection.h
118                 - (nm_connection_replace_settings): take a GError
119
120         * libnm-glib/nm-settings.c
121           libnm-glib/nm-dbus-connection.c
122           src/nm-manager.c
123           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
124           system-settings/plugins/keyfile/nm-keyfile-connection.c
125           system-settings/plugins/keyfile/plugin.c
126                 - Handle, or don't handle, errors from nm_connection_replace_settings()
127
128 2008-11-19  Dan Williams  <dcbw@redhat.com>
129
130         * libnm-util/libnm-util.ver
131           libnm-util/nm-connection.c
132                 - (nm_setting_register, nm_setting_unregister): unexport; they are
133                         private and don't have a use outside libnm-util
134
135 2008-11-17  Dan Williams  <dcbw@redhat.com>
136
137         * src/nm-hso-gsm-device.c
138                 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
139                         devices
140
141 2008-11-17  Dan Williams  <dcbw@redhat.com>
142
143         * system-settings/plugins/ifcfg-fedora/reader.c
144                 - (read_mac_address): clean up
145                 - (make_wireless_setting): pass NULL array to read_mac_address() like it
146                         expects
147
148         * system-settings/plugins/ifcfg-fedora/plugin.c
149                 - (read_one_connection): don't segfault on NULL errors
150
151 2008-11-14  Dan Williams  <dcbw@redhat.com>
152
153         * Tag 0.7.0-rc2
154
155 2008-11-14  Dan Williams  <dcbw@redhat.com>
156
157         Handle gateways on different subnets
158
159         * src/NetworkManagerSystem.c
160                 - (add_ip4_route_to_gateway): gateway route should be link scope and
161                         a host route
162                 - (replace_default_ip4_route): use a destination address too; gateway
163                         address should be /0; don't leak the gateway route object
164
165 2008-11-14  Dan Williams  <dcbw@redhat.com>
166
167         * libnm-glib/libnm_glib.ver
168           libnm-glib/nm-dbus-settings-system.c
169           libnm-glib/nm-dbus-settings-system.h
170                 - Add libnm-glib bits for CanModify
171
172 2008-11-14  Dan Williams  <dcbw@redhat.com>
173
174         * introspection/nm-settings-system.xml
175           system-settings/src/dbus-settings.c
176           system-settings/src/dbus-settings.h
177                 - Add a "CanModify" property to indicate if any plugins support
178                         connection modification
179
180 2008-11-14  Dan Williams  <dcbw@redhat.com>
181
182         Relicense libnm-glib to LGPLv2+ with agreement from contributors
183
184 2008-11-14  Dan Williams  <dcbw@redhat.com>
185
186         * vpn-manager/nm-vpn-connection.c
187                 - (plugin_state_changed): clear VPN secrets on error to ensure they
188                         are always requested from the settings service (rh #429287)
189
190 2008-11-13  Dan Williams  <dcbw@redhat.com>
191
192         * libnm-util/crypto.c
193                 - (crypto_get_private_key_data): fix bad initial arg type checking
194                         from pkcs#12 patch
195
196 2008-11-13  Dan Williams  <dcbw@redhat.com>
197
198         Add support for PKCS#12 private keys (bgo #558982)
199
200         * libnm-util/crypto.c
201           libnm-util/crypto.h
202                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
203                         take a GByteArray instead of a filename
204                 - (file_to_g_byte_array): handle private key files too
205                 - (decrypt_key): take a GByteArray rather than data + len
206                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
207                         one function that takes a filename, and one that takes raw data;
208                         detect pkcs#12 files as well
209                 - (crypto_load_and_verify_certificate): detect file type
210                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
211                         functions
212
213         * libnm-util/crypto_gnutls.c
214                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
215                         whereby tail padding was incorrectly handled, leading to erroneous
216                         successes when trying to decrypt the data
217                 - (crypto_verify_cert): rework somewhat
218                 - (crypto_verify_pkcs12): validate pkcs#12 keys
219
220         * libnm-util/crypto_nss.c
221                 - (crypto_init): enable various pkcs#12 ciphers
222                 - (crypto_decrypt): take a GByteArray rather than data + len
223                 - (crypto_verify_cert): clean up
224                 - (crypto_verify_pkcs12): validate pkcs#12 keys
225
226         * libnm-util/test-crypto.c
227                 - Handle pkcs#12 keys
228
229         * libnm-util/nm-setting-8021x.c
230           libnm-util/nm-setting-8021x.h
231           libnm-util/libnm-util.ver
232                 - Add two new properties, 'private-key-password' and
233                         'phase2-private-key-password', to be used in conjunction with
234                         pkcs#12 keys
235                 - (nm_setting_802_1x_set_ca_cert_from_file,
236                    nm_setting_802_1x_set_client_cert_from_file,
237                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
238                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
239                         type
240                 - (nm_setting_802_1x_get_private_key_password,
241                    nm_setting_802_1x_get_phase2_private_key_password): return private
242                         key passwords
243                 - (nm_setting_802_1x_set_private_key_from_file,
244                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
245                         key from a file, and update the private key password at the same time
246                 - (nm_setting_802_1x_get_private_key_type,
247                    nm_setting_802_1x_get_phase2_private_key_type): return the private
248                         key type
249
250         * src/supplicant-manager/nm-supplicant-settings-verify.c
251                 - Whitelist private key passwords
252
253         * src/supplicant-manager/nm-supplicant-config.c
254                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
255                         add the private key password to the supplicant config, but do not
256                         add the client certificate (as required by wpa_supplicant)
257
258 2008-11-12  Tambet Ingo  <tambet@gmail.com>
259
260         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
261         (add_secrets): Don't add empty secrets to the secrets hash table.
262
263 2008-11-07  Dan Williams  <dcbw@redhat.com>
264
265         * libnm-util/nm-setting-wireless.c
266                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
267                         that cased this function to return garbage, breaking hidden AP
268                         detection
269
270 2008-11-07  Dan Williams  <dcbw@redhat.com>
271
272         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
273
274         * src/NetworkManagerSystem.c
275           src/NetworkManagerSystem.h
276                 - (nm_system_device_set_ip4_route): return the route that was added
277                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
278                         public, clean up, and return the route that was added
279                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
280                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
281                         flags to allow only certain attributes of the NMIP4Config to be
282                         applied
283
284         * src/nm-device.c
285                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
286                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
287                         what's really changed between the old and new configs; don't export
288                         the new IP4 config on failure; always send the DNS info to the
289                         named manager
290
291         * src/vpn-manager/nm-vpn-connection.c
292                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
293                         parent device's IP4Config and re-add the VPN gateway route when it
294                         changes
295                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
296                         nm_system_apply_ip4_config() no longer does) and cache it for later
297                 - (connection_state_changed): move cleanup code to its own function
298                 - (vpn_cleanup): delete any previously added VPN gateway route; and
299                         re-apply the parent device's addresses and routes using
300                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
301
302 2008-11-07  Dan Williams  <dcbw@redhat.com>
303
304         * src/nm-ip4-config.c
305           src/nm-ip4-config.h
306                 - (nm_ip4_config_diff): new function; return the difference between two
307                         IP4 configs
308                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
309
310 2008-11-05  Dan Williams  <dcbw@redhat.com>
311
312         * nm-ip4-config.c
313           nm-ip4-config.h
314                 - (nm_ip4_config_compare): compare two IP4 configs
315
316 2008-11-05  Dan Williams  <dcbw@redhat.com>
317
318         * src/NetworkManagerPolicy.c
319                 - (update_etc_hosts): only add newline if not the last line of the file
320                         (Jonathan Miner)
321
322 2008-11-05  Dan Williams  <dcbw@redhat.com>
323
324         * src/dhcp-manager/nm-dhcp-dhclient.c
325                 - (get_leasefile_for_iface): move lease files back to where dhclient
326                         puts them
327
328 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
329
330         * initscripts/Debian/NetworkManager
331                 - Update to what Debian is actually using
332
333 2008-11-05  Tambet Ingo  <tambet@gmail.com>
334
335         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
336
337 2008-11-03  Dan Williams  <dcbw@redhat.com>
338
339         * system-settings/src/main.c
340                 - (add_default_dhcp_connection): make the fallback connection read-only
341
342         * libnm-glib/nm-settings.c
343           libnm-glib/nm-settings.h
344                 - Add detailed errors
345                 - (impl_exported_connection_update, impl_exported_connection_delete):
346                         return an error if the connection is read-only
347
348         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
349           system-settings/plugins/keyfile/nm-keyfile-connection.c
350           system-settings/src/main.c
351                 - Use more detailed errors
352
353         * system-settings/src/nm-system-config-error.c
354           system-settings/src/nm-system-config-error.h
355           system-settings/src/dbus-settings.c
356                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
357                         NM_SETTINGS_ERROR_INVALID_CONNECTION
358
359 2008-11-02  Dan Williams  <dcbw@redhat.com>
360
361         * Add license headers to everything in src/
362
363 2008-11-02  Dan Williams  <dcbw@redhat.com>
364
365         * Tag 0.7.0-rc1
366
367 2008-11-02  Dan Williams  <dcbw@redhat.com>
368
369         * src/NetworkManagerAP.c
370                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
371                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
372                         secrets when connecting to an encrypted network failed
373
374 2008-10-30  Dan Williams  <dcbw@redhat.com>
375
376         * libnm-util/libnm-util.ver
377           libnm-util/nm-setting-ip6-config.c
378           libnm-util/nm-setting-ip6-config.h
379           libnm-util/Makefile.am
380                 - Make properties private and add accessor functions
381                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
382
383         * libnm-util/nm-connection.c
384           libnm-util/nm-utils.c
385           libnm-util/nm-utils.h
386                 - Ignore IPv6 stuff for now
387
388 2008-10-30  Dan Williams  <dcbw@redhat.com>
389
390         * libnm-util/libnm-util.ver
391           libnm-util/nm-setting-8021x.c
392           libnm-util/nm-setting-8021x.h
393                 - Make properties private and add accessor functions
394
395         * src/supplicant-manager/nm-supplicant-config.c
396           system-settings/plugins/ifcfg-suse/parser.c
397                 - Use 802.1x setting accessors
398
399 2008-10-30  Dan Williams  <dcbw@redhat.com>
400
401         * libnm-util/libnm-util.ver
402           libnm-util/nm-setting-wireless-security.c
403           libnm-util/nm-setting-wireless-security.h
404                 - Make properties private and add accessor functions
405
406         * libnm-util/nm-setting-wireless.c
407           src/NetworkManagerAP.c
408           src/nm-device-wifi.c
409           src/supplicant-manager/nm-supplicant-config.c
410           system-settings/plugins/ifcfg-fedora/reader.c
411           system-settings/plugins/ifcfg-suse/parser.c
412                 - Use wireless security accessors
413
414 2008-10-30  Dan Williams  <dcbw@redhat.com>
415
416         * src/nm-device-ethernet.c
417           src/nm-device-wifi.c
418           src/nm-device.c
419           src/ppp-manager/nm-ppp-manager.c
420                 - Harmonize return checking of ioctl
421
422         * system-settings/plugins/ifcfg-fedora/reader.c
423                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
424
425 2008-10-30  Dan Williams  <dcbw@redhat.com>
426
427         * src/ppp-manager/nm-ppp-manager.c
428                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
429                         ppp_generic module to create it (bgo #533064)
430
431 2008-10-30  Dan Williams  <dcbw@redhat.com>
432
433         Patch from Alexander Sack <asac@canonical.com>
434
435         Fix "ppp connections don't honour ip4 connection settings"
436
437         * src/nm-device-ethernet.c
438                 - (real_act_stage4_get_ip4_config): merge ip4config settings
439                         with results from ppp manager
440
441         * src/nm-serial-device.c
442                 - (real_act_stage4_get_ip4_config): merge ip4config settings
443                         with results from ppp manager
444
445 2008-10-29  Dan Williams  <dcbw@redhat.com>
446
447         * libnm-util/libnm-util.ver
448           libnm-util/nm-setting-ip4-config.c
449           libnm-util/nm-setting-ip4-config.h
450                 - Make properties private and add accessor functions
451
452         * callouts/nm-dispatcher-action.c
453           libnm-glib/libnm-glib-test.c
454           libnm-util/nm-utils.c
455           src/NetworkManagerPolicy.c
456           src/NetworkManagerSystem.c
457           src/NetworkManagerUtils.c
458           src/dhcp-manager/nm-dhcp-dhclient.c
459           src/dhcp-manager/nm-dhcp-manager.c
460           src/dnsmasq-manager/nm-dnsmasq-manager.c
461           src/nm-device-wifi.c
462           src/nm-device.c
463           src/nm-hso-gsm-device.c
464           src/nm-ip4-config.c
465           src/nm-ip4-config.h
466           src/ppp-manager/nm-ppp-manager.c
467           src/vpn-manager/nm-vpn-connection.c
468           system-settings/plugins/ifcfg-fedora/reader.c
469           system-settings/plugins/ifcfg-suse/parser.c
470           system-settings/plugins/ifcfg-suse/plugin.c
471           system-settings/plugins/ifupdown/parser.c
472           test/nm-tool.c
473           vpn-daemons/vpnc/properties/nm-vpnc.c
474                 - Use IP4 accessor functions
475
476 2008-10-29  Tambet Ingo  <tambet@gmail.com>
477
478         Half of it by Dan Williams <dcbw@redhat.com>
479
480         * libnm-util/libnm-util.ver
481         libnm-util/nm-setting-vpn.c
482         libnm-util/nm-setting-vpn.h
483                 - Make properties private and add accessor functions.
484
485         * src/vpn-manager/nm-vpn-connection.c
486         src/vpn-manager/nm-vpn-manager.c
487         system-settings/plugins/keyfile/reader.c
488         vpn-daemons/openvpn/properties/auth-helpers.c
489         vpn-daemons/openvpn/properties/import-export.c
490         vpn-daemons/openvpn/properties/nm-openvpn.c
491         vpn-daemons/openvpn/src/nm-openvpn-service.c
492         vpn-daemons/pptp/auth-dialog/main.c
493         vpn-daemons/pptp/properties/advanced-dialog.c
494         vpn-daemons/pptp/properties/nm-pptp.c
495         vpn-daemons/pptp/src/nm-pptp-service.c
496         vpn-daemons/vpnc/properties/nm-vpnc.c
497         vpn-daemons/vpnc/src/nm-vpnc-service.c
498                 - Use VPN setting accessors.
499
500 2008-10-28  Dan Williams  <dcbw@redhat.com>
501
502         Patch from Tambet Ingo <tambet@gmail.com>
503
504         * libnm-util/libnm-util.ver
505           libnm-util/nm-setting-wireless.c
506           libnm-util/nm-setting-wireless.h
507                 - Make properties private and add accessor functions
508
509         * src/NetworkManagerAP.c
510           src/nm-device-wifi.c
511           src/nm-manager.c
512           src/supplicant-manager/nm-supplicant-config.c
513           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
514           system-settings/plugins/ifcfg-fedora/reader.c
515           system-settings/plugins/ifcfg-suse/parser.c
516           system-settings/plugins/ifupdown/parser.c
517                 - Use wireless setting accessors
518
519 2008-10-27  Dan Williams  <dcbw@redhat.com>
520
521         Patch from Tambet Ingo <tambet@gmail.com>
522
523         * libnm-util/libnm-util.ver
524           libnm-util/nm-setting-ppp.c
525           libnm-util/nm-setting-ppp.h
526                 - Make properties private and add accessor functions
527
528         * src/ppp-manager/nm-ppp-manager.c
529                 - Use ppp setting accessors
530
531 2008-10-27  Dan Williams  <dcbw@redhat.com>
532
533         Patch from Tambet Ingo <tambet@gmail.com>
534
535         * libnm-util/nm-setting.h
536           libnm-util/nm-setting.c
537                 - Make properties private and add accessor functions
538
539         * libnm-util/nm-connection.c
540           libnm-util/nm-setting-8021x.c
541           libnm-util/nm-setting-cdma.c
542           libnm-util/nm-setting-connection.c
543           libnm-util/nm-setting-gsm.c
544           libnm-util/nm-setting-ip4-config.c
545           libnm-util/nm-setting-ip6-config.c
546           libnm-util/nm-setting-ppp.c
547           libnm-util/nm-setting-pppoe.c
548           libnm-util/nm-setting-serial.c
549           libnm-util/nm-setting-template.c
550           libnm-util/nm-setting-vpn.c
551           libnm-util/nm-setting-wired.c
552           libnm-util/nm-setting-wireless-security.c
553           libnm-util/nm-setting-wireless.c
554           system-settings/plugins/keyfile/reader.c
555           system-settings/plugins/keyfile/writer.c
556                 - Use setting accessors
557
558 2008-10-27  Dan Williams  <dcbw@redhat.com>
559
560         * libnm-util/libnm-util.ver
561           libnm-util/nm-setting-connection.c
562           libnm-util/nm-setting-connection.h
563                 - Add a 'read-only' property that indicates the connection cannot be
564                         modified
565
566         * system-settings/plugins/ifcfg-fedora/reader.c
567           system-settings/plugins/ifcfg-suse/parser.c
568           system-settings/plugins/ifupdown/parser.c
569                 - These plugins are read-only at the moment
570
571         * system-settings/plugins/keyfile/reader.c
572           system-settings/plugins/keyfile/writer.c
573                 - Read-only shouldn't get saved out to files or read in from them
574
575 2008-10-27  Tambet Ingo  <tambet@gmail.com>
576
577         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
578         correct speed reporting for fast devices (kernel >= 2.6.27).
579
580 2008-10-26  Dan Williams  <dcbw@redhat.com>
581
582         Attempt to compensate for modems that don't enable full AT parsing before
583         the PIN has been entered.
584
585         * src/nm-gsm-device.c
586                 - (init_modem): accept different init strings
587                 - (init_done): try different init strings on failure
588                 - (check_pin_done): on PIN success, do full modem init
589
590 2008-10-26  Dan Williams  <dcbw@redhat.com>
591
592         Patch from Tambet Ingo <tambet@gmail.com>
593
594         * libnm-util/libnm-util.ver
595           libnm-util/nm-setting-connection.c
596           libnm-util/nm-setting-connection.h
597                 - Make properties private and add accessor functions
598
599         * src/NetworkManagerPolicy.c
600           src/nm-cdma-device.c
601           src/nm-device-ethernet.c
602           src/nm-device-interface.c
603           src/nm-device-wifi.c
604           src/nm-gsm-device.c
605           src/nm-manager.c
606           src/ppp-manager/nm-ppp-manager.c
607           src/vpn-manager/nm-vpn-connection.c
608           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
609           system-settings/plugins/ifcfg-fedora/plugin.c
610           system-settings/plugins/ifcfg-fedora/reader.c
611           system-settings/plugins/ifcfg-suse/parser.c
612           system-settings/plugins/ifupdown/parser.c
613           system-settings/plugins/keyfile/nm-keyfile-connection.c
614           system-settings/plugins/keyfile/plugin.c
615           system-settings/plugins/keyfile/writer.c
616           system-settings/src/main.c
617                 - Use those accessors
618
619 2008-10-26  Dan Williams  <dcbw@redhat.com>
620
621         Patch from Tambet Ingo <tambet@gmail.com>
622
623         * libnm-util/libnm-util.ver
624           libnm-util/nm-setting-gsm.c
625           libnm-util/nm-setting-gsm.h
626                 - Make properties private and add accessor functions
627
628         * src/nm-gsm-device.c
629           src/nm-hso-gsm-device.c
630           src/ppp-manager/nm-ppp-manager.c
631                 - Use those accessors
632
633 2008-10-26  Dan Williams  <dcbw@redhat.com>
634
635         Patch from Tambet Ingo <tambet@gmail.com>
636
637         * libnm-util/libnm-util.ver
638           libnm-util/nm-setting-cdma.c
639           libnm-util/nm-setting-cdma.h
640                 - Make properties private and add accessor functions
641
642         * src/nm-cdma-device.c
643           src/ppp-manager/nm-ppp-manager.c
644                 - Use those accessors
645
646 2008-10-26  Dan Williams  <dcbw@redhat.com>
647
648         Patch from Tambet Ingo <tambet@gmail.com>
649
650         * libnm-util/libnm-util.ver
651           libnm-util/nm-setting-pppoe.c
652           libnm-util/nm-setting-pppoe.h
653                 - Make properties private and add accessor functions
654
655         * src/nm-device-ethernet.c
656           src/ppp-manager/nm-ppp-manager.c
657                 - Use those accessors
658
659 2008-10-26  Dan Williams  <dcbw@redhat.com>
660
661         Patch from Tambet Ingo <tambet@gmail.com>
662
663         * libnm-util/libnm-util.ver
664           libnm-util/nm-setting-wired.c
665           libnm-util/nm-setting-wired.h
666                 - Make properties private and add accessor functions
667
668         * src/nm-device-ethernet.c
669           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
670           system-settings/plugins/ifcfg-suse/parser.c
671           system-settings/src/main.c
672                 - Use those accessors
673
674 2008-10-26  Dan Williams  <dcbw@redhat.com>
675
676         Patch from Tambet Ingo <tambet@gmail.com>
677
678         * libnm-util/libnm-util.ver
679           libnm-util/nm-setting-serial.c
680           libnm-util/nm-setting-serial.h
681           src/nm-serial-device.c
682                 - Make properties private and use accessors instead
683
684 2008-10-26  Dan Williams  <dcbw@redhat.com>
685
686         * src/supplicant-manager/nm-supplicant-interface.c
687           src/supplicant-manager/nm-supplicant-interface.h
688           src/supplicant-manager/nm-supplicant-manager.c
689           src/supplicant-manager/nm-supplicant-manager.h
690                 - Add state-to-string conversion functions
691
692         * src/nm-device-wifi.c
693           src/nm-device-ethernet.c
694                 - Normalize state info logging and use strings instead of numbers
695
696 2008-10-26  Dan Williams  <dcbw@redhat.com>
697
698         * src/NetworkManagerPolicy.c
699                 - (update_routing_and_dns): ignore host routes when determining whether
700                         a VPN connection should own the default route (bgo #552594)
701
702 2008-10-24  Dan Williams  <dcbw@redhat.com>
703
704         * src/nm-gsm-device.c
705                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
706
707 2008-10-23  Dan Williams  <dcbw@redhat.com>
708
709         * src/ppp-manager/nm-ppp-manager.c
710                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
711                         add really important stuff to the command line to ensure that NM
712                         overrides /etc/ppp/options (bgo #556781)
713
714 2008-10-22  Dan Williams  <dcbw@redhat.com>
715
716         * src/NetworkManagerSystem.c
717           src/nm-device.c
718                 - Use the device's IP interface where appropriate (Per Hallsmark)
719
720 2008-10-22  Dan Williams  <dcbw@redhat.com>
721
722         * src/nm-gsm-device.c
723                 - (schedule_automatic_registration_again): use a short timeout here
724                         instead of an idle handler to avoid using too much CPU polling for
725                         something we should be waiting a bit for anyway
726
727 2008-10-22  Dan Williams  <dcbw@redhat.com>
728
729         * include/NetworkManager.h
730           introspection/nm-device.xml
731                 - Add device state change reason for carrier changes
732
733         * src/nm-device-ethernet.c
734                 - (set_carrier): use the carrier change reason when changing device
735                         state in response to carrier changes
736
737 2008-10-21  Dan Williams  <dcbw@redhat.com>
738
739         * src/NetworkManagerPolicy.c
740                 - (update_etc_hosts): don't leak errors, and ensure that
741                         g_file_set_contents() gets a valid error placeholder (rh #461933)
742
743 2008-10-21  Dan Williams  <dcbw@redhat.com>
744
745         * src/nm-manager.c
746                 - (free_get_settings_info): don't use the DBusGProxy which could be
747                         disposed of by the time the function is called
748                 - (internal_new_connection_cb): save connection scope
749                 - (connection_get_settings_cb): don't replace a connection unless it's
750                         actually different from the existing one; fixes an issue where
751                         killing the settings service wouldn't deactivate an active connection
752                         provided by that settings service, because it was using a connection
753                         that had already been replaced in the system or user hash
754
755 2008-10-21  Dan Williams  <dcbw@redhat.com>
756
757         * src/NetworkManager.c
758                 - (main): keep the DHCP manager around since it's a singleton; fixes
759                         a use-after-free exposed by r4196 since the DHCP manager singleton
760                         variable isn't cleared when the DHCP manager object is finalized
761
762 2008-10-20  Dan Williams  <dcbw@redhat.com>
763
764         * libnm-util/nm-setting-wireless-security.c
765                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
766
767 2008-10-20  Dan Williams  <dcbw@redhat.com>
768
769         * src/supplicant-manager/nm-supplicant-config.c
770                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
771
772 2008-10-20  Dan Williams  <dcbw@redhat.com>
773
774         * src/dhcp-manager/nm-dhcp-manager.c
775                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
776                         manager object already refs it once
777                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
778                         also get cleaned up by nm_dhcp_device_destroy() to prevent
779                         double-frees
780
781 2008-10-20  Dan Williams  <dcbw@redhat.com>
782
783         * src/nm-manager.c
784                 - (initial_get_connections): use private dbus manager, don't keep
785                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
786                         manager object.
787
788 2008-10-18  Dan Williams  <dcbw@redhat.com>
789
790         * libnm-glib/nm-settings.c
791           libnm-glib/nm-settings.h
792                 - Rename the "get_secrets" virtual function "service_get_secrets" to
793                         clarify when it's used; NMExportedConnetion is a base-class for both
794                         the client and service side, which is sort of confusing, and
795                         get_secrets only makes sense on the service side.
796
797         * libnm-glib/nm-dbus-connection.c
798                 - (get_secrets): remove, unused, and clients need to do extra work to
799                         get secrets anyway since the call can block on the remote side
800
801         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
802           system-settings/plugins/keyfile/nm-keyfile-connection.c
803                 - Fix up for get_secrets -> service_get_secrets
804
805 2008-10-16  Dan Williams  <dcbw@redhat.com>
806
807         * src/nm-device-wifi.c
808                 - (constructor): correctly determine encryption capabilities
809
810 2008-10-15  Dan Williams  <dcbw@redhat.com>
811
812         * src/nm-device-wifi.c
813                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
814                         (Johannes Berg)
815
816 2008-10-15  Dan Williams  <dcbw@redhat.com>
817
818         * src/NetworkManagerSystem.c
819                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
820                         if the ip4_dest is in a smaller subnet contained within a subnet
821                         the machine is currently on, the destination is in the same subnet
822                 - (nm_system_device_set_ip4_route): move subnet checks to callers
823                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
824                         subnet as the parent device, and if so, don't add the direct
825                         host route via the parent device's gateway (bgo #481620)
826                 - (nm_system_apply_ip4_config): check whether the route to be added
827                         is contained within a subnet the device is already on
828
829 2008-10-11  Dan Williams  <dcbw@redhat.com>
830
831         * include/NetworkManager.h
832           introspection/nm-device.xml
833           include/NetworkManagerVPN.h
834                 - Add a few more state reasons for the device deactivated state
835
836         * src/nm-device-interface.c
837           src/nm-device-interface.h
838                 - (nm_device_interface_deactivate): add a 'reason' argument
839
840         * src/nm-device.c
841           src/nm-device.h
842                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
843                 - (nm_device_state_changed): pass the state change reason to
844                         nm_device_take_down()
845                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
846                         to the state change function
847
848         * src/nm-manager.c
849           src/nm-manager.h
850                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
851                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
852                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
853                         something reasonable along to VPN deactivation
854
855         * src/vpn-manager/nm-vpn-manager.c
856           src/vpn-manager/nm-vpn-manager.h
857                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
858                         pass that along to nm_vpn_connection_disconnect()
859
860 2008-10-11  Dan Williams  <dcbw@redhat.com>
861
862         * src/nm-device-wifi.c
863                 - (can_scan): remove old madwifi hack for not scanning while connected
864
865 2008-10-11  Dan Williams  <dcbw@redhat.com>
866
867         Add support for VPN subnet gateways (bgo #549196)
868
869         * include/NetworkManager.h
870                 - Add key for internal VPN subnet gateway
871
872         * src/vpn-manager/nm-vpn-connection.c
873                 - (ip_address_to_string): return a const from a static buffer so we
874                         don't leak a lot of strings
875                 - (print_vpn_config): print internal VPN gateway as well
876                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
877                         VPN service too
878                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
879
880         * src/NetworkManagerSystem.c
881           src/NetworkManagerSystem.h
882                 - (nm_system_device_replace_default_ip4_route): split into two, one for
883                         VPN connections and one for normal devices
884                 - (replace_default_ip4_route): break out route stuff into its own function
885                 - (nm_system_replace_default_ip4_route_vpn,
886                    nm_system_replace_default_ip4_route): simplify by having two cases,
887                         one for VPNs and one for normal devices
888
889         * src/NetworkManagerPolicy.c
890                 - (update_routing_and_dns): simplify, use split default route replacement
891                         functions
892
893 2008-10-10  Dan Williams  <dcbw@redhat.com>
894
895         Rework default route handling to consolidate decisions in the policy,
896         and to take active VPN connections into account when changing the default
897         route (bgo #545912)
898
899         * src/NetworkManager.c
900                 - (main): pass the vpn_manager to the policy so it knows about active
901                         VPN connections; clean up the named manager which wasn't done before
902
903         * src/NetworkManagerPolicy.c
904           src/NetworkManagerPolicy.h
905                 - (nm_policy_new): get a clue about the vpn_manager
906                 - (update_default_route): remove, fold into update_routing_and_dns()
907                 - (update_routing_and_dns): handle active VPN connections too; an
908                         active VPN connection becomes the default route if it does not have
909                         server-specified or user-specified custom routes.  Otherwise, the
910                         best active device gets the default route
911                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
912                    nm_policy_destroy): track VPN connection activation and deactivation
913                         and update the default route when appropriate
914
915         * src/NetworkManagerSystem.c
916           src/NetworkManagerSystem.h
917                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
918                         in the VPN connection itself
919                 - (nm_system_vpn_device_set_from_ip4_config,
920                    nm_system_device_set_from_ip4_config): merge together to make
921                         nm_system_apply_ip4_config()
922                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
923                         via the parent device
924                 - (nm_system_apply_ip4_config): simplify
925                 - (add_ip4_route_to_gateway): new function; add a direct route to the
926                         gateway if needed
927                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
928                         route stuff out into add_ip4_route_to_gateway() for clarity
929
930         * src/nm-device.c
931                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
932
933         * src/vpn-manager/nm-vpn-connection.c
934           src/vpn-manager/nm-vpn-connection.h
935                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
936                    nm_vpn_connection_get_parent_device): add
937                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
938                         device explicit
939                 - (connection_state_changed): update the named manager now that
940                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
941                         useful on errors
942
943         * src/vpn-manager/nm-vpn-manager.c
944           src/vpn-manager/nm-vpn-manager.h
945                 - Add a 'connection-activated' signal
946                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
947                         policy to find out about active VPN connections
948
949 2008-10-10  Tambet Ingo  <tambet@gmail.com>
950
951         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
952         a daemon to prevent NM logging spew on console on startup and shutdown (due
953         to dependency loop between NM and syslog).
954
955 2008-10-10  Alexander Sack  <asac@ubuntu.com>
956
957         Implement managed mode. We bind devices configured in /etc/network/interfaces
958         to their connections by updating wired/wireless setting with the
959         mac address of the device.
960
961         * system-settings/plugins/ifupdown/plugin.c
962                 - (get_net_address_for_udi): implement function to retrieve MAC
963                         address of udi from hal in GByteArray format
964                 - (bind_device_to_connection): bind mac address of device to
965                         wired/wireless system connection
966                 - (hal_device_added_cb): call bind_device_to_connection for
967                         system connections with a matching interface.name
968                 - (hal_device_added_cb): ensure that all code paths
969                         properly free the "iface" string.
970
971 2008-10-10  Alexander Sack  <asac@ubuntu.com>
972
973         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
974         mode of the ifupdown system config plugin.
975
976         * system-settings/plugins/ifupdown/plugin.c
977                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
978                         private unmanage_well_known state field accordingly
979
980 2008-10-10  Alexander Sack  <asac@ubuntu.com>
981
982         Implement unmanaged mode that will prevent all devices in the
983         well_known_udis set from being touched by NetworkManager
984
985         * system-settings/plugins/ifupdown/plugin.c
986                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
987                         unmanage_well_known field used to turn on/off unmanaged
988                         mode
989                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
990                         signal when well_known_udis get added/removed
991                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
992                         if we are in unmanaged mode
993
994 2008-10-10  Alexander Sack  <asac@ubuntu.com>
995
996         Add support to track network devices that have a configuration
997         with a matching interface.name in /etc/network/interfaces
998
999         * system-settings/plugins/ifupdown/plugin.c
1000                 - (typedef struct SCPluginIfupdownPrivate): add hash table
1001                         to track |well_known_udis|
1002                 - (get_iface_for_udi): helper function to get interface.name
1003                         for a udi
1004                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1005                         that add and remove devices to and from the well_known_udis
1006                         set depending on whether their |interface.name| matches
1007                         any interface definition in /etc/network/interfaces
1008                 - (SCPluginIfupdown_init): connect callbacks from above with
1009                         hal_mgr and setup well_known_udis hashtable
1010                 - (GObject__dispose): destroy well_known_udis hashtable
1011                 - (hal_device_added_cb2): implement wrapper callback with GFunc
1012                         signature. user_data is supposed to be a triple (hal_mgr,
1013                         config and devtype)
1014                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1015                         startup and call hal_device_added_cb2
1016
1017 2008-10-10  Alexander Sack  <asac@ubuntu.com>
1018
1019         Remove implementation for not used NMSystemConfigInterface callback functions
1020         in ifupdown plugin
1021
1022         * system-settings/plugins/ifupdown/plugin.c
1023                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1024                 - (SCPluginIfupdown_connection_added): removed
1025
1026 2008-10-08  Dan Williams  <dcbw@redhat.com>
1027
1028         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1029
1030         * src/NetworkManagerUtils.c
1031                 - (nm_utils_call_dispatcher): add a 'hostname' action
1032
1033         * src/NetworkManagerPolicy.c
1034                 - (set_system_hostname): dispatch hostname changes
1035
1036         * callouts/nm-dispatcher-action.c
1037                 - (nm_dispatcher_action): handle 'hostname' actions
1038
1039 2008-10-08  Dan Williams  <dcbw@redhat.com>
1040
1041         * src/NetworkManagerSystem.c
1042                 - (find_route): ref the route so it doesn't get destroyed when the cache
1043                         is cleared
1044                 - (nm_system_device_set_priority): unref the route here after it's done
1045                         being used
1046
1047 2008-10-08  Dan Williams  <dcbw@redhat.com>
1048
1049         * src/nm-serial-device.c
1050                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1051
1052 2008-10-08  Tambet Ingo  <tambet@gmail.com>
1053
1054         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1055         connection with new settings before saving it.
1056
1057 2008-10-06  Dan Williams  <dcbw@redhat.com>
1058
1059         * src/nm-ip4-config.c
1060           src/nm-ip4-config.h
1061                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1062
1063         * src/nm-device-interface.c
1064                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1065                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1066                         by using '/' for the object path
1067
1068         * src/nm-device.c
1069                 - (src/nm-device.c): marshal missing/unexported ip4-config through
1070                         dbus as '/' since dbus-glib can't handle NULL objects nor can
1071                         dbus handle NULL object paths
1072
1073 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1074
1075         Implement system hostname support for debian/ubuntu
1076
1077         * system-settings/plugins/ifupdown/plugin.c
1078                 - (GObject__get_property): extend announced capabilities; add
1079                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1080                 - (GObject__set_property,write_system_hostname): implement
1081                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1082                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1083                    update_system_hostname, get_hostname):
1084                         implement hostname property that watches and
1085                         parses /etc/hostname
1086
1087 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1088
1089         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1090           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1091           system-settings/plugins/ifcfg-fedora/Makefile.am
1092           system-settings/src/nm-inotify-helper.c
1093           system-settings/src/nm-inotify-helper.h
1094           src/Makefile.am
1095                 - Move ifcfg-fedora inotify helpers to the system settings service so
1096                         they are available to all plugins
1097
1098 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1099
1100         Implement support for wep-tx-keyidx in ifupdown system
1101         config plugin.
1102
1103         * system-settings/plugins/ifupdown/parser.c
1104                 - (update_wireless_security_setting_from_if_block): introduce
1105                         free_type_mapping func table; rename a few local
1106                         variables to improve readability; add wpa security mapping
1107                         for wep-tx-keyidx property
1108                 - (string_to_gpointerint): new function used for the auto_type_mapping
1109                         of new wep-tx-keyidx property
1110                 - (slist_free_all): free func used for mapped slist types
1111
1112 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1113
1114         * system-settings/src/main.c:
1115                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1116                         always used as the hash key; fixes a crash when removing wired
1117                         devices
1118
1119 2008-10-02  Dan Williams  <dcbw@redhat.com>
1120
1121         * src/nm-gsm-device.c
1122                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1123                         pass the required GSM secret along via user_data rather than keeping
1124                         it around in the private data where it sometimes didn't get cleared
1125                 - (real_get_ppp_name): implement using the GSM username
1126
1127 2008-10-02  Dan Williams  <dcbw@redhat.com>
1128
1129         * src/ppp-manager/nm-ppp-manager.c
1130           src/ppp-manager/nm-ppp-manager.h
1131                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1132                         the settings daemon for completely new ones
1133                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1134                         local PPP peer name; allow PPP debuging by launching NM with
1135                         the environment variable NM_PPP_DEBUG defined
1136                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1137                         create_pppd_cmd_line()
1138
1139         * src/nm-serial-device.c
1140           src/nm-serial-device.h
1141                 - New 'get_ppp_name' function for subclasses to implement to return the
1142                         local PPP peer name
1143                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1144                         and pass that name to the PPP manager
1145
1146         * src/nm-device-ethernet.c
1147                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1148                         the local peer name
1149
1150         * src/nm-cdma-device.c
1151                 - (real_get_ppp_name): implement using the CDMA username
1152
1153 2008-10-02  Dan Williams  <dcbw@redhat.com>
1154
1155         Patch from Alexander Sack <asac ubuntu com>
1156
1157         * system-settings/plugins/ifupdown/parser.c
1158                 - Implement more graceful ip4 config parsing for cases where
1159                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1160                   by using default values
1161
1162 2008-10-02  Dan Williams  <dcbw@redhat.com>
1163
1164         * src/NetworkManagerPolicy.c
1165                 - (device_state_changed): when marking a connection invalid, clear its
1166                         secrets too so that fresh secrets get requested the next time
1167
1168 2008-10-01  Dan Williams  <dcbw@redhat.com>
1169
1170         * system-settings/src/dbus-settings.c
1171                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1172                         a fallback if no plugin provides a hostname
1173                 - (get_property): fall back to cached hostname if no plugin provides
1174                         a hostname
1175
1176 2008-10-01  Dan Williams  <dcbw@redhat.com>
1177
1178         Fix setting value comparison issue that caused some settings to look the
1179         same when they were really different (rh #464417)
1180
1181         * libnm-util/nm-param-spec-specialized.c
1182                 - (type_is_fixed_size): return fundamental size of the fixed type too
1183                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1184                         in the comparison so that the _entire_ fixed type collection gets
1185                         compared rather than just the first 'len1' bytes
1186
1187 2008-09-30  Dan Williams  <dcbw@redhat.com>
1188
1189         * src/NetworkManagerPolicy.c
1190                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1191                         idle handler could have already run and freed the LookupThread
1192                         structure
1193
1194 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1195
1196         * src/nm-device.c (nm_device_get_priority): Implement.
1197         (nm_device_set_ip4_config): Send the device priority to system ip4 
1198         config setter.
1199
1200         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1201         Add priority argument and if it's >= 0, set the priority of the network
1202         route added automatically by netlink (or kernel?).
1203         (nm_system_device_set_priority): Implement.
1204
1205         * src/NetworkManagerPolicy.c (get_best_device): Use 
1206         nm_device_get_priority() instead of home-grown version. Revert the
1207         meaning, best priority is the lowest one.
1208
1209 2008-09-29  Dan Williams  <dcbw@redhat.com>
1210
1211         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1212         when it returns EAGAIN (rh #362421)
1213
1214         * src/nm-device-wifi.c
1215                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1216                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1217
1218 2008-09-28  Dan Williams  <dcbw@redhat.com>
1219
1220         * src/nm-serial-device.c
1221           src/nm-serial-device.h
1222                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1223                         cleaned at the right times when subclasses close the serial port too
1224                 - (nm_serial_device_send_command): use a default send delay; don't
1225                         spin forever on EAGAIN
1226                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1227                         remove, no longer used
1228                 - (find_response): return the matched response if any
1229                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1230                         while doing so
1231                 - (wait_for_reply_done): pass the matched response to the callback
1232                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1233                         handling
1234                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1235                         const since they never get modified
1236                 - (cleanup_device): split out common cleanup stuff to a new function
1237                 - (real_deactivate_quickly, finalize): use cleanup_device()
1238
1239         * src/nm-gsm-device.c
1240                 - (modem_get_reply): remove, unused
1241                 - (set_apn): give the card a bit more time to respond
1242                 - (manual_registration_again, schedule_manual_registration_again,
1243                    manual_registration_response, manual_registration): handle manual
1244                         registration timeouts better by retrying registration a few times
1245                         because cards are a bit slow after CFUN=1
1246                 - (automatic_registration_get_network, get_network_response): use
1247                         modem_wait_for_reply() because it interacts better with the serial
1248                         buffer and does more intelligent matching; need to wait for 'OK'
1249                         rather than just matching terminators
1250                 - (schedule_automatic_registration_again,
1251                    automatic_registration_response, automatic_registration): retry
1252                         registration a few times on timeout or "searching" because cards
1253                         take a bit to find a network after being powered up with CFUN=1
1254                 - (power_up_response, power_up, init_full_done, enter_pin,
1255                    check_pin_done): power up the card with CFUN=1 before trying to
1256                         register with the network
1257                 - (init_modem_full, init_modem): use more standard 3G init strings
1258
1259         * src/nm-hso-gsm-device.c
1260                 - (modem_get_reply): remove, unused
1261                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1262                         modem_wait_for_reply() to match actual responses instead of single
1263                         termination characters; it doesn't leave stuff in the serial buffer
1264                         that might confuse later calls
1265                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1266                         to ensure that the call is really disconnected and not leave extra
1267                         stuff in the serial buffer
1268
1269         * src/nm-cdma-device.c
1270                 - (power_up_response, power_up, init_done): try Sierra-style modem
1271                         power up before attempting to connect
1272
1273 2008-09-27  Dan Williams  <dcbw@redhat.com>
1274
1275         * libnm-util/nm-setting-gsm.c
1276                 - (verify): verify GSM network ID
1277
1278 2008-09-25  Dan Williams  <dcbw@redhat.com>
1279
1280         * libnm-util/nm-setting-gsm.c
1281           libnm-util/nm-setting-gsm.h
1282                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1283                         technology terms (bgo #551361)
1284
1285 2008-09-25  Dan Williams  <dcbw@redhat.com>
1286
1287         Fix bgo #549401 (inspired by patch from Alexander Sack)
1288
1289         * src/nm-device-ethernet.c
1290                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1291                 - (remove_supplicant_interface_error_handler): remove the supplicant
1292                         error idle callback too
1293                 - (supplicant_interface_release): rename from supplicant_interface_clean
1294                         to match nm-device-wifi.c; clean up supplicant interface-related
1295                         state tasks when the supplicant interface is disposed of
1296                 - (schedule_state_handler): add scheduled tasks to a list so they can
1297                         be cleaned up later
1298                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1299                    supplicant_iface_connection_state_cb_handler): use
1300                         finish_supplicant_task() to clean up each completed task
1301                 - (supplicant_iface_connection_error_cb_handler,
1302                    supplicant_connection_timeout_cb): clear source id when the task is
1303                         complete
1304                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1305                         later cleanup
1306                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1307                         tasks
1308
1309         * src/nm-device-wifi.c
1310                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1311                 - (remove_supplicant_interface_error_handler): remove the supplicant
1312                         error idle callback too
1313                 - (supplicant_interface_release): clean up supplicant interface-related
1314                         state tasks when the supplicant interface is disposed of
1315                 - (schedule_state_handler): add scheduled tasks to a list so they can
1316                         be cleaned up later
1317                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1318                    supplicant_iface_connection_state_cb_handler): use
1319                         finish_supplicant_task() to clean up each completed task
1320                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1321                         the task is complete
1322                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1323                         later cleanup
1324                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1325
1326 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1327
1328         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1329         method and get/set hostname property.
1330
1331 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1332
1333         * src/supplicant-manager/nm-supplicant-interface.c
1334         (nm_supplicant_interface_disconnect): Don't increment the reference 
1335         count when disconnecting. The problem is on shutdown, when the replies
1336         to these commands do not arrive before NM exits, resulting on never
1337         calling supplicant interface's dispose(), which removes the interface
1338         from supplicant.
1339
1340 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1341
1342         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1343         all the public function arguments.
1344
1345 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1346
1347         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1348         "Failure" signal from VPN plugins, store the failure reason, and
1349         use it when the state is changed to failure.
1350
1351         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1352         description.
1353
1354         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1355         reason to the end of the list to not break the API.
1356         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1357         so it can be shared by plugins and daemon.
1358
1359 2008-09-18  Dan Williams  <dcbw@redhat.com>
1360
1361         Patch from Alexander Sack <asac@ubuntu.com>
1362
1363         * configure.in
1364           system-settings/plugins/Makefile.am
1365           system-settings/plugins/ifupdown/Makefile.am
1366           system-settings/plugins/ifupdown/interface_parser.c
1367           system-settings/plugins/ifupdown/interface_parser.h
1368           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1369           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1370           system-settings/plugins/ifupdown/parser.c
1371           system-settings/plugins/ifupdown/parser.h
1372           system-settings/plugins/ifupdown/plugin.c
1373           system-settings/plugins/ifupdown/plugin.h
1374                 - Implement a Debian/Ubuntu legacy network configuration plugin
1375                         (gnome.org #551941)
1376
1377 2008-09-18  Dan Williams  <dcbw@redhat.com>
1378
1379         Implement support for honoring configured and automatic hostnames, and for
1380         setting the configured hostname.
1381
1382         * introspection/nm-ip4-config.xml
1383           src/nm-ip4-config.c
1384           src/nm-ip4-config.h
1385           src/dhcp-manager/nm-dhcp-manager.c
1386                 - Remove useless hostname property; it's not really part of the IPv4
1387                         config
1388
1389         * introspection/nm-settings-system.xml
1390           libnm-glib/nm-dbus-settings-system.c
1391           libnm-glib/nm-dbus-settings-system.h
1392                 - Add SetHostname() call to system settings D-Bus interface
1393                 - Add Hostname property to system settings D-Bus interface
1394                 - (nm_dbus_settings_system_save_hostname,
1395                    nm_dbus_settings_system_get_hostname): implement
1396
1397         * src/nm-device.c
1398           src/nm-device.h
1399                 - (nm_device_get_dhcp4_config): implement
1400
1401         * src/nm-manager.c
1402           src/nm-manager.h
1403                 - Fetch and track system settings service hostname changes, and proxy
1404                         the changes via a GObject property of the manager
1405
1406         * system-settings/src/nm-system-config-interface.c
1407           system-settings/src/nm-system-config-interface.h
1408                 - Replace nm_system_config_interface_supports_add() with a capabilities
1409                         bitfield
1410
1411         * system-settings/src/nm-system-config-error.c
1412           system-settings/src/nm-system-config-error.h
1413                 - Add additional errors
1414
1415         * system-settings/src/dbus-settings.c
1416           system-settings/src/dbus-settings.h
1417                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1418                         property; first plugin returning a hostname wins
1419                 - (impl_settings_add_connection): use plugin capabilities instead of
1420                         nm_system_config_interface_supports_add()
1421                 - (impl_settings_save_hostname): implement hostname saving
1422
1423         * src/NetworkManagerPolicy.c
1424                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1425                    lookup_thread_die): implement an asynchronous hostname lookup thread
1426                         which given an IPv4 address tries to look up the hostname for that
1427                         address with reverse DNS
1428                 - (get_best_device): split out best device code from
1429                         update_routing_and_dns()
1430                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1431                         to preserve the 127.0.0.1 reverse mapping that so many things require
1432                 - (set_system_hostname): set a given hostname
1433                 - (update_system_hostname): implement hostname policy; a configured
1434                         hostname (from the system settings service) is used if available,
1435                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1436                         If there was no automatically determined hostname, reverse DNS of
1437                         the best device's IP address will be used, and as a last resort the
1438                         hostname 'localhost.localdomain' is set.
1439                 - (update_routing_and_dns): use get_best_device(); update the system
1440                         hostname when the network config changes
1441                 - (hostname_changed): update system hostname if the system settings
1442                         service signals a hostname change
1443                 - (nm_policy_new): list for system settings service hostname changes
1444                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1445                         gets told to die
1446
1447         * system-settings/plugins/keyfile/plugin.c
1448           system-settings/plugins/ifcfg-suse/plugin.c
1449                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1450                         capabilities properties
1451
1452         * system-settings/plugins/ifcfg-fedora/shvar.c
1453                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1454                         writes out /etc/sysconfig/network now
1455
1456         * system-settings/plugins/ifcfg-fedora/plugin.c
1457                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1458                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1459                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1460                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1461                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1462                         hostname get/set and capabilities get
1463
1464 2008-09-18  Dan Williams  <dcbw@redhat.com>
1465
1466         * libnm-util/nm-setting-wireless.c
1467                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1468                         group ciphers if the wireless-security setting explicitly specified
1469                         them, effectively making the default be "all ciphers"  (idea from
1470                         Alexander Sack)
1471
1472 2008-09-15  Dan Williams  <dcbw@redhat.com>
1473
1474         Patch from Alexander Sack <asac@ubuntu.com>
1475
1476         * src/named-manager/nm-named-manager.c
1477                 - (dispatch_resolvconf): respect resolvconf exit code
1478
1479 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1480
1481         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1482         again. Add some debugging.
1483
1484 2008-09-11  Dan Williams  <dcbw@redhat.com>
1485
1486         * system-settings/plugins/keyfile/plugin.c
1487                 - (update_connection_settings): update connection manually, since
1488                         nm_exported_connection_update() does authentication
1489                 - (dir_changed): update_connection_settings() doesn't need to return
1490                         an error
1491
1492 2008-09-09  Dan Williams  <dcbw@redhat.com>
1493
1494         * libnm-glib/nm-vpn-plugin-ui-interface.c
1495           libnm-glib/nm-vpn-plugin-ui-interface.h
1496           libnm-glib/libnm_glib_vpn.ver
1497                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1498                         should clean up resources related to the connection (like keyring
1499                         secrets)
1500                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1501                         should save user-scope secrets (like to the keyring)
1502
1503 2008-09-08  Dan Williams  <dcbw@redhat.com>
1504
1505         Patch from Alexander Sack <asac@ubuntu.com>
1506
1507         * libnm-util/crypto_gnutls.c
1508           libnm-util/crypto_nss.c
1509                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1510
1511         * libnm-util/nm-utils.c
1512           libnm-util/nm-utils.h
1513           libnm-util/libnm-util.ver
1514                 - (nm_utils_init): initialize libnm-util
1515                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1516
1517         * libnm-util/nm-setting-8021x.c
1518                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1519
1520 2008-09-05  Dan Williams  <dcbw@redhat.com>
1521
1522         Patch from Roy Marples <roy@marples.name> and others
1523
1524         * configure.in
1525           src/named-manager/nm-named-manager.c
1526                 - Add support for resolvconf; use --with-resolvconf at configure time
1527                         to enable it
1528
1529 2008-09-05  Dan Williams  <dcbw@redhat.com>
1530
1531         * libnm-util/crypto_nss.c
1532           libnm-util/crypto_gnutls.c
1533           libnm-util/crypto.h
1534                 - (crypto_init): return error when init fails
1535
1536 2008-09-05  Dan Williams  <dcbw@redhat.com>
1537
1538         * libnm-glib/nm-device-wifi.c
1539                 - (access_point_removed_proxy): clean up the active access point too
1540                         just in case the active ap changed signal didn't come through yet
1541                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1542
1543 2008-09-05  Dan Williams  <dcbw@redhat.com>
1544
1545         * libnm-glib/nm-client.c
1546                 - (constructor): get initial state after we know whether NM is running
1547                         or not
1548
1549 2008-09-05  Dan Williams  <dcbw@redhat.com>
1550
1551         * libnm-glib/nm-ip4-config.c
1552           libnm-glib/nm-dhcp4-config.c
1553                 - (finalize): clean up the DBusGProxy
1554
1555 2008-09-04  Dan Williams  <dcbw@redhat.com>
1556
1557         * src/nm-ip4-config.c
1558           src/nm-ip4-config.h
1559                 - (nm_ip4_config_new): don't export over D-Bus here
1560                 - (nm_ip4_config_export): new function; export the config over D-Bus
1561                 - (nm_ip4_config_is_exported): new function
1562
1563         * src/nm-device.c
1564                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1565                         objects by balancing the IP4Config constructor; the device holds
1566                         a reference to the IP4Config already
1567                 - (nm_device_set_ip4_config): export the IP4Config when needed
1568
1569 2008-09-04  Dan Williams  <dcbw@redhat.com>
1570
1571         * src/supplicant-manager/nm-supplicant-settings-verify.c
1572                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1573
1574 2008-09-04  Dan Williams  <dcbw@redhat.com>
1575
1576         * libnm-util/nm-setting-vpn.c
1577           libnm-util/nm-setting-vpn.h
1578                 - Split VPN secrets from VPN data so that settings services can actually
1579                         figure out that they are secrets and store them accordingly
1580
1581         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1582           system-settings/plugins/keyfile/reader.c
1583           system-settings/plugins/keyfile/reader.h
1584           system-settings/plugins/keyfile/writer.c
1585                 - Store VPN secrets separately from VPN data so that they can be fetched
1586                         on demand
1587                 - Implement the get_secrets() call so that (a) secrets don't leak out
1588                         to unprivileged callers, and (b) secrets can be sent to privileged
1589                         callers when needed
1590
1591         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1592                 - Handle split VPN secrets
1593
1594 2008-08-27  Dan Williams  <dcbw@redhat.com>
1595
1596         * system-settings/plugins/ifcfg-fedora/reader.c
1597                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1598
1599 2008-08-27  Dan Williams  <dcbw@redhat.com>
1600
1601         Ensure zombie children get cleaned up.  To get notifications when children
1602         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1603         that requires calling waitpid() yourself if you've removed the child watch
1604         handler before the process has actually died, which NM needs to do in a few
1605         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1606         cleans up after the child when required.  Should fix problems trying to
1607         activate mobile broadband connections after a previous failure.
1608
1609         * src/dhcp-manager/nm-dhcp-dhclient.c
1610           src/dhcp-manager/nm-dhcp-dhcpcd.c
1611                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1612
1613         * src/dhcp-manager/nm-dhcp-manager.c
1614                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1615                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1616                         block on child quitting, since the non-blocking functionality was
1617                         never actually used
1618
1619         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1620                 - (dm_watch_cb): child is already reaped here
1621                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1622
1623         * src/nm-device.c
1624                 - (aipd_cleanup): block until child is dead
1625
1626         * src/named-manager/nm-named-manager.c
1627                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1628                         event bothering to watch the child
1629
1630         * src/ppp-manager/nm-ppp-manager.c
1631                 - (ppp_watch_cb): child is already reaped here
1632                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1633
1634         * src/vpn-manager/nm-vpn-service.c
1635                 - (vpn_service_watch_cb): child is already reaped here
1636                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1637                         status of the child is actually tracked
1638                 - (ensure_killed, finalize): block until child is dead
1639
1640 2008-08-26  Dan Williams  <dcbw@redhat.com>
1641
1642         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1643                 - (update): Update filename of the connection if the connection id
1644                         was changed
1645
1646         * system-settings/plugins/keyfile/plugin.c
1647                 - (dir_changed): first pass at handling connection renames correctly
1648
1649         * system-settings/plugins/keyfile/writer.c
1650           system-settings/plugins/keyfile/writer.h
1651                 - (write_connection): replace '/' with '*' when writing out the filename
1652                         from the connection id
1653
1654 2008-08-26  Dan Williams  <dcbw@redhat.com>
1655
1656         Add connection UUIDs, since connection names can be changed, and since
1657         old-style connection IDs could change over the life of the connection.  The
1658         UUID should be assigned at connection creation time, be stable for a given
1659         connection, and should be unique among all connections for a given settings
1660         service.
1661
1662         * configure.in
1663           libnm-util/Makefile.am
1664                 - Require libuuid
1665
1666         * introspection/nm-exported-connection.xml
1667                 - Remove "GetID" method
1668
1669         * libnm-glib/nm-dbus-connection.c
1670           libnm-glib/nm-settings.c
1671           libnm-glib/nm-settings.h
1672                 - Remove id-related stuff
1673
1674         * libnm-util/nm-utils.c
1675           libnm-util/nm-utils.h
1676           libnm-util/libnm-util.ver
1677                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1678                         utility functions to generate UUIDs
1679
1680         * libnm-util/nm-setting-connection.c
1681           libnm-util/nm-setting-connection.h
1682                 - Add 'uuid' member to the connection setting
1683                 - (verify): require valid 'uuid' for a valid connection
1684
1685         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1686           system-settings/plugins/ifcfg-fedora/reader.c
1687           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1688           system-settings/plugins/ifcfg-suse/parser.c
1689           system-settings/plugins/keyfile/nm-keyfile-connection.c
1690           system-settings/src/main.c
1691                 - Remove id-related stuff
1692                 - Give connections UUIDs where needed
1693
1694 2008-08-25  Dan Williams  <dcbw@redhat.com>
1695
1696         * libnm-util/crypto_gnutls.c
1697           libnm-util/crypto_nss.c
1698                 - (crypto_init, crypto_deinit): refcount init/deinit
1699                 - (crypto_md5_hash): allow NULL salt
1700
1701 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1702
1703         * libnm-glib/Makefile.am
1704           libnm-util/Makefile.am
1705           libnm-glib/libnm_glib.ver
1706           libnm-glib/libnm_glib_vpn.ver
1707           libnm-util/libnm-util.ver
1708                 - Use linker version scripts to control the list of exported 
1709                 symbols. List each exported symbol explicitely.
1710         * libnm-util/Makefile.am
1711                 - Fix compilation of the test-crypto binary. The crypto
1712                 functions are no longer part of the libnm-util API. Add 
1713                 crypto_*.c to test_crypto_SOURCES and link against the correct
1714                 crypto libraries.
1715
1716 2008-08-19  Dan Williams  <dcbw@redhat.com>
1717
1718         * configure.in
1719           test/Makefile.am
1720                 - Don't build test/test-common
1721                 - Remove unused stuff
1722
1723         * test/nm-set-fallback
1724           test/nmtestdevices.c
1725           test/test-common/.cvsignore
1726           test/test-common/Makefile.am
1727           test/test-common/test-common.c
1728           test/test-common/test-common.h
1729                 - delete
1730
1731 2008-08-18  Dan Williams  <dcbw@redhat.com>
1732
1733         * libnm-util/nm-utils.c
1734           libnm-util/nm-utils.h
1735                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1736                         export anything that needs to be converted with this function
1737
1738         * src/dhcp-manager/nm-dhcp-manager.c
1739                 - (garray_to_string): convert a byte array to a UTF-8 string with
1740                         minimal validation; the DHCP client sends it in ASCII anyway
1741                 - (get_option, copy_option): use garray_to_string()
1742
1743 2008-08-18  Dan Williams  <dcbw@redhat.com>
1744
1745         * include/NetworkManager.h
1746           introspection/nm-device.xml
1747                 - Add a "missing firmware" device state reason
1748
1749         * src/NetworkManagerSystem.c
1750           src/NetworkManagerSystem.h
1751                 - (nm_system_device_set_up_down): add a no_firmware argument
1752                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1753                         IFF_UP is ENOENT, that almost always means missing firmware
1754
1755         * src/backends/NetworkManagerGeneric.c
1756           src/nm-device-ethernet.c
1757           src/nm-device-private.h
1758           src/nm-device-wifi.c
1759           src/nm-device.c
1760           src/nm-device.h
1761           src/nm-hso-gsm-device.c
1762           src/vpn-manager/nm-vpn-connection.c
1763                 - Pass no_firmware along; check it where appropriate
1764
1765 2008-08-18  Dan Williams  <dcbw@redhat.com>
1766
1767         Patch from Robert Buchholz <rbu@gentoo.org>
1768
1769         * autogen.sh
1770           configure.in
1771                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1772                         1003.1-1988, allowing for file names longer than 99 characters
1773
1774 2008-08-17  Dan Williams  <dcbw@redhat.com>
1775
1776         * include/NetworkManager.h
1777           introspection/nm-device.xml
1778           src/nm-gsm-device.c
1779                 - Finer-grained GSM registration failure error codes
1780
1781 2008-08-17  Dan Williams  <dcbw@redhat.com>
1782
1783         * callouts/Makefile.am
1784           src/Makefile.am
1785                 - Move dispatcher directory creation to callouts/Makefile.am
1786
1787         * system-settings/plugins/keyfile/Makefile.am
1788                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1789
1790 2008-08-15  Dan Williams  <dcbw@redhat.com>
1791
1792         Do connection sharing in a cleaner manner; all required iptables rules
1793         are now stored in the activation request and pertain only to the device
1794         which is being shared to other computers. (rh #458625)
1795
1796         * src/nm-activation-request.c
1797           src/nm-activation-request.h
1798                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1799                         the activation request which will get torn down automatically when
1800                         the activation request dies
1801                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1802                         is started, and tear them down when sharing is stopped
1803
1804         * src/nm-device.c
1805                 - (start_sharing): start up sharing by doing the required iptables magic
1806                 - (share_init): poke the right bits of the kernel and load the right
1807                         modules for NAT
1808                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1809                         connection if it's a 'shared' connection
1810
1811         * src/NetworkManagerPolicy.c
1812                 - Remove all sharing stuff; done in the device code itself
1813
1814 2008-08-15  Dan Williams  <dcbw@redhat.com>
1815
1816         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1817                 - (create_dm_cmd_line): send the right router address
1818
1819 2008-08-15  Dan Williams  <dcbw@redhat.com>
1820
1821         * src/ppp-manager/nm-ppp-manager.c
1822                 - (pppd_timed_out): ensure timeouts fail the connection
1823
1824 2008-08-14  Dan Williams  <dcbw@redhat.com>
1825
1826         * src/nm-properties-changed-signal.c
1827           src/nm-properties-changed-signal.h
1828                 - Add a property spec flag for "don't export this property" in
1829                         property changed signals
1830
1831         * src/nm-hso-gsm-device.c
1832           src/nm-gsm-device.c
1833           src/nm-cdma-device.c
1834                 - Don't export monitor interface or netdev interface properties
1835
1836 2008-08-14  Dan Williams  <dcbw@redhat.com>
1837
1838         * src/NetworkManagerPolicy.c
1839                 - (update_routing_and_dns): 'hso' devices can be default even if they
1840                         don't have a gateway
1841
1842 2008-08-14  Dan Williams  <dcbw@redhat.com>
1843
1844         * src/nm-device.c
1845                 - (nm_device_deactivate_quickly): tear down activation request after
1846                         calling device-specific deactivation
1847
1848         * src/nm-hso-gsm-device.c
1849                 - (real_deactivate_quickly): terminate connection when deactivating
1850
1851 2008-08-14  Dan Williams  <dcbw@redhat.com>
1852
1853         * src/nm-activation-request.h
1854                 - Add HSO secrets caller
1855
1856         * src/nm-gsm-device.c
1857           src/nm-gsm-device.h
1858                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1859                         something to the callback function
1860                 - (set_apn, set_apn_done): call class dial function, not a static one
1861                 - (nm_gsm_device_class_init): add a class 'dial' function
1862
1863         * src/nm-hal-manager.c
1864                 - (get_hso_netdev): find the hso-driven hardware's net device
1865                 - (modem_device_creator): recognize hso-driven hardware and create the
1866                         right type of device object for it
1867
1868         * src/Makefile.am
1869           src/nm-hso-gsm-device.c
1870           src/nm-hso-gsm-device.h
1871                 - Implement support for devices driven by the 'hso' driver as a subclass
1872                         of NMGsmDevice
1873
1874 2008-08-14  Dan Williams  <dcbw@redhat.com>
1875
1876         * src/NetworkManagerSystem.c
1877                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1878                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1879                         success if the operation really was successful
1880
1881 2008-08-14  Dan Williams  <dcbw@redhat.com>
1882
1883         * src/nm-netlink-monitor.c
1884           src/nm-netlink-monitor.h
1885           src/nm-device-ethernet.c
1886                 - (nm_netlink_monitor_request_status): return an error on failure
1887                 - (constructor): don't segfault on missing error
1888
1889 2008-08-13  Dan Williams  <dcbw@redhat.com>
1890
1891         * callouts/nm-dispatcher-action.c
1892                 - Add IP4 config info to script environment
1893
1894 2008-08-12  Dan Williams  <dcbw@redhat.com>
1895
1896         * src/nm-device.c
1897                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1898                         that want to use DHCP hostnames should use dispatcher scripts
1899                         for that
1900
1901         * src/NetworkManagerSystem.h
1902           src/backends/NetworkManagerArch.c
1903           src/backends/NetworkManagerDebian.c
1904           src/backends/NetworkManagerFrugalware.c
1905           src/backends/NetworkManagerGeneric.c
1906           src/backends/NetworkManagerGeneric.h
1907           src/backends/NetworkManagerGentoo.c
1908           src/backends/NetworkManagerMandriva.c
1909           src/backends/NetworkManagerPaldo.c
1910           src/backends/NetworkManagerRedHat.c
1911           src/backends/NetworkManagerSlackware.c
1912           src/backends/NetworkManagerSuSE.c
1913                 - Remove nm_system_set_hostname(), no longer used
1914           
1915         * src/backends/Makefile.am
1916           src/backends/shvar.c
1917           src/backends/shvar.h
1918                 - Remove shvar.*; no longer used
1919
1920 2008-08-12  Dan Williams  <dcbw@redhat.com>
1921
1922         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1923         hostname is updated at runtime.  Distros or users who want hostname updates
1924         can use dispatcher scripts to update the hostname if they need it.
1925
1926 2008-08-12  Dan Williams  <dcbw@redhat.com>
1927
1928         * introspection/nm-settings-system.xml
1929           system-settings/src/dbus-settings.c
1930           system-settings/src/dbus-settings.h
1931                 - Add a 'Hostname' property (rw) which represents the configured
1932                         hostname and domain of the system, if any
1933
1934         * system-settings/src/nm-system-config-error.c
1935           system-settings/src/nm-system-config-error.h
1936           system-settings/src/nm-system-config-interface.c
1937           system-settings/src/nm-system-config-interface.h
1938                 - Add a 'hostname' property to the plugin interface
1939                 - Add a method to send updated hostname to plugins to save in their
1940                         backing configuration store
1941
1942         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1943           system-settings/plugins/keyfile/plugin.c
1944           system-settings/plugins/keyfile/writer.c
1945           system-settings/plugins/keyfile/writer.h
1946           system-settings/plugins/ifcfg-suse/plugin.c
1947                 - Add minimal hostname support
1948
1949         * system-settings/plugins/ifcfg-fedora/plugin.c
1950                 - Add support for updating system hostname in /etc/sysconfig/network
1951
1952 2008-08-12  Dan Williams  <dcbw@redhat.com>
1953
1954         * system-settings/plugins/ifcfg-fedora/shvar.c
1955           system-settings/plugins/ifcfg-fedora/shvar.c
1956                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1957
1958 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1959
1960         * Makefile.am: Fix distcheck.
1961
1962 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1963
1964         * libnm-glib/*.c. Document some more.
1965
1966 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1967
1968         Start documenting libnm-glib public API using gtk-doc.
1969
1970         * libnm-glib/nm-serial-device.c: 
1971         * libnm-glib/nm-object.c: 
1972         * libnm-glib/nm-gsm-device.c: 
1973         * libnm-glib/nm-device.c: 
1974         * libnm-glib/nm-device-wifi.c: 
1975         * libnm-glib/nm-device-ethernet.c: 
1976         * libnm-glib/nm-client.c: 
1977         * libnm-glib/nm-cdma-device.c: Document the public API.
1978
1979         * docs/libnm-glib/libnm-glib.types: Implement.
1980
1981         * docs/libnm-glib/Makefile.am: Implement.
1982
1983         * autogen.sh: 
1984         * configure.in: 
1985         * Makefile.am: Add gtk-doc support.
1986
1987 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1988
1989         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1990
1991         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1992         the composite result of all the IP4 configurations and call a distro
1993         specific update_resolv_conf().
1994         (update_resolv_conf): Implement one for directly writing to 
1995         /etc/resolv.conf and one for opensuse to call netconfig.
1996
1997 2008-08-11  Dan Williams  <dcbw@redhat.com>
1998
1999         * src/ppp-manager/nm-ppp-manager.c
2000                 - (impl_ppp_manager_need_secrets): pass interface as required
2001
2002 2008-08-11  Dan Williams  <dcbw@redhat.com>
2003
2004         Merge the vpn-properties setting with the vpn setting since it was pointless
2005         to keep both of them around.  Convert the vpn 'data' hash table to a hash
2006         of string:string (instead of string:variant) so that system settings plugins
2007         can have an easier time dealing with the arbitrary key/value pairs.
2008
2009 2008-08-11  Dan Williams  <dcbw@redhat.com>
2010
2011         * libnm-util/nm-utils.c
2012                 - (nm_utils_register_value_transformations): add value transform for
2013                         a hash table of string:string
2014
2015 2008-08-10  Dan Williams  <dcbw@redhat.com>
2016
2017         * libnm-glib/nm-vpn-plugin.c
2018                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2019                         an idle handler so the Connect reply gets delivered before the
2020                         stop StateChanged signal
2021
2022 2008-08-10  Dan Williams  <dcbw@redhat.com>
2023
2024         * src/nm-ip4-config.c
2025                 - (get_property): use common ip4 address/route conversion functions
2026                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2027                         copy the new route here, not take ownership
2028
2029 2008-08-08  Tambet Ingo  <tambet@gmail.com>
2030
2031         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2032         Update the IP4 setting's method name.
2033
2034 2008-08-07  Dan Williams  <dcbw@redhat.com>
2035
2036         * introspection/nm-ip4-config.xml
2037           libnm-glib/libnm-glib-test.c
2038           libnm-glib/nm-ip4-config.c
2039           libnm-glib/nm-ip4-config.h
2040           src/NetworkManagerSystem.h
2041           src/backends/NetworkManagerArch.c
2042           src/backends/NetworkManagerDebian.c
2043           src/backends/NetworkManagerFrugalware.c
2044           src/backends/NetworkManagerGeneric.c
2045           src/backends/NetworkManagerGeneric.h
2046           src/backends/NetworkManagerGentoo.c
2047           src/backends/NetworkManagerMandriva.c
2048           src/backends/NetworkManagerPaldo.c
2049           src/backends/NetworkManagerRedHat.c
2050           src/backends/NetworkManagerSlackware.c
2051           src/backends/NetworkManagerSuSE.c
2052           src/dhcp-manager/nm-dhcp-manager.c
2053           src/nm-device.c
2054           src/nm-ip4-config.c
2055           src/nm-ip4-config.h
2056                 - Remove NIS logic; should be done from dispatcher scripts instead
2057
2058 2008-08-07  Dan Williams  <dcbw@redhat.com>
2059
2060         * src/dhcp-manager/nm-dhcp-manager.c
2061                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2062                         mis-handling of DHCP responses that returned more than one router
2063                         (found by Grant Williamson)
2064
2065 2008-08-07  Dan Williams  <dcbw@redhat.com>
2066
2067         * callouts/nm-dispatcher-action.c
2068                 - (nm_dispatcher_action): grab device path and create the device; pass
2069                         the device's DHCP4 config to script caller
2070                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2071                         scripts
2072
2073         * libnm-glib/nm-dhcp4-config.c
2074           libnm-glib/nm-dhcp4-config.h
2075                 - (nm_dhcp4_config_get_options): expose
2076                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2077
2078 2008-08-07  Dan Williams  <dcbw@redhat.com>
2079
2080         * include/NetworkManager.h
2081                 - Add the DHCP4Config D-Bus interface
2082
2083         * libnm-glib/Makefile.am
2084           libnm-glib/nm-dhcp4-config.c
2085           libnm-glib/nm-dhcp4-config.h
2086                 - Handle DHCP4 config objects exported by NM over D-Bus
2087
2088         * libnm-glib/nm-device.c
2089           libnm-glib/nm-device.h
2090                 - Add a 'dhcp4-config' property
2091
2092         * libnm-glib/libnm-glib-test.c
2093                 - Print out DHCP4 config for devices
2094                 - Fix some crashes when no connections are active
2095
2096         * src/nm-device-interface.c
2097           src/nm-device.c
2098           src/nm-dhcp4-config.c
2099           src/nm-dhcp4-config.h
2100                 - Treat dhcp4-config object as an object path at the D-Bus interface so
2101                         that when it doesn't exist we can proxy it as "/" which dbus-glib
2102                         doesn't let us do when the property type is G_TYPE_OBJECT
2103
2104 2008-08-07  Dan Williams  <dcbw@redhat.com>
2105
2106         * src/NetworkManager.c
2107           src/NetworkManagerSystem.h
2108           src/backends/NetworkManagerArch.c
2109           src/backends/NetworkManagerDebian.c
2110           src/backends/NetworkManagerFrugalware.c
2111           src/backends/NetworkManagerGeneric.c
2112           src/backends/NetworkManagerGeneric.h
2113           src/backends/NetworkManagerGentoo.c
2114           src/backends/NetworkManagerMandriva.c
2115           src/backends/NetworkManagerPaldo.c
2116           src/backends/NetworkManagerRedHat.c
2117           src/backends/NetworkManagerSlackware.c
2118           src/backends/NetworkManagerSuSE.c
2119                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2120
2121 2008-08-06  Dan Williams  <dcbw@redhat.com>
2122
2123         * libnm-glib/nm-ip4-config.c
2124           libnm-glib/nm-ip4-config.h
2125                 - Add 'routes' property
2126
2127         * libnm-util/nm-setting-vpn.c
2128           libnm-util/nm-setting-vpn.h
2129                 - Remove 'routes' property
2130
2131         * libnm-util/nm-setting-ip4-config.c
2132           libnm-util/nm-setting-ip4-config.h
2133                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2134                 - Add 'ignore-auto-routes' property
2135                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
2136                         accomodate route metrics
2137                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2138
2139         * libnm-util/nm-utils.c
2140           libnm-util/nm-utils.h
2141                 - Add helpers for marshalling IP4 routes
2142
2143         * src/NetworkManagerUtils.c
2144                 - (nm_utils_merge_ip4_config): handle property renames and new route
2145                         structure
2146
2147         * src/NetworkManagerSystem.c
2148                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2149                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
2150
2151         * src/dhcp-manager/nm-dhcp-manager.c
2152                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2153
2154         * system-settings/plugins/ifcfg-fedora/reader.c
2155           system-settings/plugins/ifcfg-fedora/writer.c
2156                 - Handle routes separately from addresses now that routes have a different
2157                         format
2158
2159         * introspection/nm-ip4-config.xml
2160           src/nm-ip4-config.c
2161           src/nm-ip4-config.h
2162                 - Rename internal routing functions
2163                 - 'static-routes' renamed to 'routes'
2164
2165 2008-08-04  Dan Williams  <dcbw@redhat.com>
2166
2167         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2168
2169         * src/NetworkManager.c
2170           src/nm-manager.c
2171           src/nm-manager.h
2172                 - More explicitly make the NMManager a singleton
2173
2174 2008-08-04  Dan Williams  <dcbw@redhat.com>
2175
2176         * libnm-util/nm-connection.c
2177           libnm-util/nm-connection.h
2178                 - (nm_connection_verify): return error on missing 'connection' setting
2179                         (found by Sjoerd Simons)
2180
2181 2008-08-04  Dan Williams  <dcbw@redhat.com>
2182
2183         Handle multiple concurrent PPP connections.
2184
2185         * src/ppp-manager/nm-ppp-manager.c
2186           src/ppp-manager/nm-ppp-manager.h
2187                 - (constructor): only PPP Manager request bus name once; each
2188                         NMPPPManager object gets a unique object path
2189                 - (nm_ppp_manager_class_init, get_property, set_property,
2190                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2191                         at construct time
2192                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2193                         remove timeout until PPP manager gets an IP4 config
2194                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2195                         the plugin can call back to this specific PPP manager instance
2196
2197         * src/nm-device-ethernet.c
2198           src/nm-serial-device.c
2199                 - Pass parent device in nm_ppp_manager_new()
2200
2201         * src/nm-gsm-device.c
2202           src/nm-cdma-device.c
2203                 - (device_state_changed): don't close serial device on NEED_AUTH
2204                         state changed, that's not a failure case like the rest are
2205
2206         * src/ppp-manager/nm-pppd-plugin.c
2207                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2208                         binds one interface to any pppd process, thus the correct index
2209                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2210                         problems; try harder to get a peer address in spite of pppd
2211                 - (plugin_init): use 'ipparam' as the object path back to our specific
2212                         PPP manager instance
2213
2214 2008-08-04  Dan Williams  <dcbw@redhat.com>
2215
2216         * src/ppp-manager/nm-ppp-manager.c
2217                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2218                         since the GSM and CDMA settings now implement need_secrets, we can
2219                         rely on them to do the right thing.  Where secrets are not required,
2220                         just pass empty strings back to the pppd plugin.
2221                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2222                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2223                         on successful IP4 config receipt
2224
2225 2008-08-04  Dan Williams  <dcbw@redhat.com>
2226
2227         * libnm-util/nm-setting-cdma.c
2228           libnm-util/nm-setting-gsm.c
2229                 - (verify): validate username & password if they exist
2230                 - (need_secrets): if username given, require a password too
2231
2232 2008-08-04  Dan Williams  <dcbw@redhat.com>
2233
2234         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2235                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2236                         manpage says about --listen-address without --interface
2237                         (bgo #546033)
2238
2239 2008-08-01  Dan Williams  <dcbw@redhat.com>
2240
2241         * libnm-glib/nm-device.c
2242                 - (proxy_get_string): util function for querying a HAL property
2243                 - (get_ancestor_device): split out from get_product_and_vendor()
2244                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2245                         from PCI devices by querying subsys properties
2246                 - (nm_device_update_description): simplify
2247
2248 2008-08-01  Dan Williams  <dcbw@redhat.com>
2249
2250         * libnm-util/nm-setting-ip4-config.c
2251           libnm-util/nm-setting-ip4-config.h
2252                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2253                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2254                         settings, and they don't necessarily use DHCP.
2255
2256         * src/NetworkManagerPolicy.c
2257           src/nm-device.c
2258           system-settings/plugins/ifcfg-fedora/reader.c
2259           system-settings/plugins/ifcfg-suse/parser.c
2260                 - Fixup for method changes
2261
2262 2008-07-31  Dan Williams  <dcbw@redhat.com>
2263
2264         * src/nm-activation-request.c
2265           src/vpn-manager/nm-vpn-connection.c
2266                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2267                         itself should be attached to the activation request or the VPN
2268                         connection, not the NMConnection object, since the call is not
2269                         expected to live as long as the NMConnection itself
2270
2271 2008-07-31  Dan Williams  <dcbw@redhat.com>
2272
2273         * src/nm-device-wifi.c
2274                 - (real_act_stage2_config): fix issue where association would continue
2275                         even though secrets were needed; 'goto out' was in wrong scope and
2276                         result of handle_auth_or_fail() should have been dumped directly to
2277                         'ret' to ensure that the association was postponed until secrets
2278                         are available
2279
2280 2008-07-31  Dan Williams  <dcbw@redhat.com>
2281
2282         * system-settings/plugins/ifcfg-fedora/plugin.c
2283           system-settings/plugins/ifcfg-fedora/reader.c
2284                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2285                         valid NM connection
2286
2287 2008-07-29  Dan Williams  <dcbw@redhat.com>
2288
2289         * src/nm-gsm-device.c
2290                 - (automatic_registration_response, automatic_registration): recognize
2291                         denied registration and reorder responses
2292
2293 2008-07-29  Dan Williams  <dcbw@redhat.com>
2294
2295         * src/nm-serial-device.c
2296                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2297                         time(2) is used for current time, which returns seconds, we shouldn't
2298                         be multiplying by 1000.
2299
2300 2008-07-28  Dan Williams  <dcbw@redhat.com>
2301
2302         Patch from Fabrice Bellet <fabrice@bellet.info>
2303
2304         * src/NetworkManagerSystem.c
2305                 - (route_in_same_subnet): mask addresses and compare them so that the
2306                         function actually does what it says it's going to do (rh #456685)
2307
2308 2008-07-27  Dan Williams  <dcbw@redhat.com>
2309
2310         * libnm-util/nm-setting-ip6-config.c
2311                 - (set_property): add missing break that caused routes to be overwritten
2312                         with addresses
2313
2314         * libnm-util/nm-setting-ip6-config.c
2315                 - (verify): validate routes and return GError everywhere on invalid setting
2316                 - (finalize): don't leak routes
2317                 - (set_property): add missing break that caused routes to be overwritten
2318                         with addresses
2319
2320 2008-07-27  Dan Williams  <dcbw@redhat.com>
2321
2322         * libnm-util/*
2323                 - Relicense to LGPLv2+
2324
2325 2008-07-27  Dan Williams  <dcbw@redhat.com>
2326
2327         * system-settings/plugins/ifcfg-fedora/reader.c
2328                 - (make_ip4_setting): fix parsing automatic configs
2329
2330 2008-07-27  Dan Williams  <dcbw@redhat.com>
2331
2332         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2333           src/nm-device.c
2334           src/ppp-manager/nm-ppp-manager.c
2335                 - Ensure child process gets reaped.  The child watch function may be
2336                         removed from the mainloop before the child gets killed, so we have
2337                         to make sure the child is reaped when it's told to die intentionally
2338
2339 2008-07-27  Dan Williams  <dcbw@redhat.com>
2340
2341         Patch from Roy Marples <roy@marples.name>
2342
2343         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2344                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2345
2346 2008-07-27  Dan Williams  <dcbw@redhat.com>
2347
2348         * src/nm-gsm-device.c
2349                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2350                         Huawei devices turn echo back on after CPIN (rh #456770)
2351
2352 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2353
2354         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2355         format argument to g_set_error() call.
2356
2357         * src/backends/interface_parser.[ch]: Remove.
2358
2359         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2360
2361 2008-07-21  Dan Williams  <dcbw@redhat.com>
2362
2363         * src/ppp-manager/nm-ppp-manager.c
2364                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2365                         to prevent pppd from picking up some random local address from an
2366                         interface that doesn't have anything to do with the one we're
2367                         interested in (rh #455348)
2368
2369 2008-07-17  Dan Williams  <dcbw@redhat.com>
2370
2371         * libnm-util/nm-utils.c
2372                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2373                         by locale
2374                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2375                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2376
2377 2008-07-17  Dan Williams  <dcbw@redhat.com>
2378
2379         * introspection/Makefile.am
2380           introspection/nm-device.xml
2381           introspection/nm-dhcp4-config.xml
2382                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2383                         itself
2384         * src/nm-device-interface.c
2385           src/nm-device-interface.h
2386                 - Add the DHCP4Config property
2387
2388         * src/nm-device.c
2389                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2390                         D-Bus clients when it changes
2391
2392         * src/nm-dhcp4-config.c
2393           src/nm-dhcp4-config.h
2394                 - Simple object to store DHCP4 options, export them over D-Bus, and
2395                         notify when they change
2396
2397         * src/dhcp-manager/nm-dhcp-manager.c
2398           src/dhcp-manager/nm-dhcp-manager.h
2399                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2400                         filter server-returned DHCP options into an NMDHCP4Config object
2401
2402 2008-07-16  Dan Williams  <dcbw@redhat.com>
2403
2404         * introspection/nm-device.xml
2405                 - Add device state reasons
2406
2407 2008-07-16  Dan Williams  <dcbw@redhat.com>
2408
2409         Patch from Roy Marples <roy@marples.name>
2410
2411         * configure.in
2412                 - Add --with-dhcp-client option
2413
2414         * src/dhcp-manager/Makefile.am
2415                 - pass DHCP_CLIENT_PATH on compile line
2416
2417         * src/dhcp-manager/nm-dhcp-manager.c
2418           src/dhcp-manager/nm-dhcp-manager.h
2419                 - Genericize for both dhcpcd and dhclient
2420
2421         * src/dhcp-manager/nm-dhcp-dhclient.c
2422                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2423
2424         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2425                 - Implement support for dhcpcd too
2426
2427 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2428
2429         * system-settings/src/nm-system-config-interface.c 
2430         (nm_system_config_interface_supports_add): Implement.
2431         (nm_system_config_interface_add_connection): Return a boolean to notify
2432         of errors.
2433
2434         * system-settings/src/nm-polkit-helpers.c: 
2435         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2436         a separate file.
2437
2438         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2439         Return an error when none of the plugins support add or if addition
2440         failed for some reason.
2441
2442         * system-settings/src/nm-system-config-error.h: 
2443         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2444         here from nm-polkit-helpers.[ch].
2445
2446         * system-settings/src/Makefile.am: Build new files.
2447
2448         * system-settings/plugins/keyfile/reader.c 
2449         (read_array_of_array_of_uint): Make it more general so that it would
2450         work for routes as well.
2451
2452         * system-settings/plugins/keyfile/writer.c
2453         (write_array_of_array_of_uint): Ditto.
2454         Fix the netmask/prefix writing.
2455
2456         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2457         boolean to notify errors.
2458
2459         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2460         Return more specific error.
2461         (delete): Ditto.
2462
2463 2008-07-11  Dan Williams  <dcbw@redhat.com>
2464
2465         Modify the NMDevice::state-changed signal to include the previous state
2466         and reason. Enables the applet to provide more information why device
2467         activation failed.
2468
2469 2008-07-09  Dan Williams  <dcbw@redhat.com>
2470
2471         * callouts/Makefile.am
2472           callouts/nm-avahi-autoipd-action.c
2473           callouts/nm-avahi-autoipd.conf
2474                 - avahi-autoipd callout to send options back to NM
2475
2476         * src/autoip.c
2477           src/autoip.h
2478                 - remove
2479
2480         * src/nm-device.c
2481           src/nm-device-private.h
2482           src/nm-manager.c
2483                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2484                         old custom stuff
2485
2486 2008-07-07  Dan Williams  <dcbw@redhat.com>
2487
2488         * system-settings/plugins/ifcfg-fedora/reader.c
2489                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2490                         handle PREFIX too; clean up
2491
2492 2008-07-07  Dan Williams  <dcbw@redhat.com>
2493
2494         Convert to using IPv4 prefixes instead of netmasks.
2495
2496 2008-07-03  Dan Williams  <dcbw@redhat.com>
2497
2498         * libnm-util/nm-setting-ip4-config.c
2499           libnm-util/nm-setting-ip4-config.h
2500                 - Add properties for DHCP Client Identifier and DHCP Hostname
2501
2502         * src/dhcp-manager/nm-dhcp-manager.c
2503           src/dhcp-manager/nm-dhcp-manager.h
2504                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2505                         setting as an argument to pass on to the dhclient config file
2506                         creation function
2507                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2508                         DHCP is torn down
2509                 - (dhclient_run): punt config file handling to create_dhclient_config()
2510                 - (create_dhclient_config): create an interface-specific dhclient
2511                         config file since there may need to be interface-specific options
2512                         passed to dhclient
2513                 - (merge_dhclient_config): merge normal distro dhclient config file and
2514                         add options from the connection
2515                 - (nm_dhcp_device_new): generate the interface specific dhclient
2516                         config file path once
2517                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2518                         dhclient config file path
2519
2520         * src/nm-device.c
2521                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2522                         DHCP manager when starting DHCP
2523
2524 2008-07-02  Dan Williams  <dcbw@redhat.com>
2525
2526         * libnm-util/nm-setting-8021x.c
2527                 - (verify): allow forcing the PEAP label to 0
2528
2529 2008-07-02  Dan Williams  <dcbw@redhat.com>
2530
2531         * introspection/nm-active-connection.xml
2532           introspection/nm-vpn-connection.xml
2533           libnm-glib/nm-active-connection.c
2534           src/nm-activation-request.c
2535           src/nm-active-connection.h
2536           src/vpn-manager/nm-vpn-connection.c
2537                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2538                         and libnm-glib API since sharing didn't get implemented that way
2539
2540 2008-07-02  Dan Williams  <dcbw@redhat.com>
2541
2542         * src/nm-device-wifi.c
2543                 - (can_scan): don't scan when a shared connection is activated since
2544                         that makes drivers mad (causing disconnects); also NM doesn't need
2545                         to hedge against disconnects by keeping up-to-date network topology
2546                         because the connection originates from the local machine, and thus
2547                         there should be no disconnects
2548
2549 2008-07-01  Dan Williams  <dcbw@redhat.com>
2550
2551         Fix mobile broadband username/password issues.  NM was never requesting
2552         mobile broadband secrets, nor was it passing back the username and password
2553         if it had them.
2554
2555         * marshallers/nm-marshal.list
2556                 - Add some new types for activation request objects
2557
2558         * src/nm-activation-request.c
2559           src/nm-activation-request.h
2560                 - (get_secrets_cb): pass the caller type in the signal
2561                 - (nm_act_request_request_connection_secrets): take a caller type, so
2562                         that GetSecrets() reply handlers know who asked for the secrets in
2563                         the first place; use secret hints too so the settings service can
2564                         figure out exactly what NM wants (ie, PIN or the PPP password)
2565
2566         * src/ppp-manager/nm-ppp-manager.c
2567           src/ppp-manager/nm-ppp-manager.h
2568                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2569                         detect needed secrets when the secret could be blank, like GSM/CDMA
2570                         passwords.  So always ask for secrets, and send a hint as to what
2571                         secret we really want.
2572                 - (nm_ppp_manager_update_secrets): make function more generic by making
2573                         the device specific class figure out the username and password, and
2574                         accept an error argument to return back over D-Bus
2575
2576         * src/nm-device-wifi.c
2577                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2578                         nm_act_request_request_connection_secrets()
2579                 - (real_connection_secrets_updated): update for 'caller' changes
2580
2581         * src/nm-device.c
2582           src/nm-device.h
2583                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2584                         for 'caller' changes
2585
2586         * src/nm-device-ethernet.c
2587                 - (real_connection_secrets_updated): update for 'caller' changes and
2588                         move logic for getting PPPoE username and password here before
2589                         calling nm_ppp_manager_update_secrets()
2590                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2591                         nm_act_request_request_connection_secrets()
2592
2593         * src/nm-cdma-device.c
2594                 - (real_connection_secrets_updated): pass username and password back
2595                         to the PPP manager when required
2596
2597         * src/nm-gsm-device.c
2598                 - (enter_pin): send the required secret name to the settings service
2599                 - (real_connection_secrets_updated): pass username and password back
2600                         to the PPP manager when required
2601
2602 2008-06-30  Dan Williams  <dcbw@redhat.com>
2603
2604         * src/nm-device-wifi.c
2605                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2606
2607 2008-06-30  Dan Williams  <dcbw@redhat.com>
2608
2609         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2610         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2611         priv->supplicant.iface.  When either condition is false, the device should
2612         transition back to UNAVAILABLE because it cannot be used.
2613
2614         * src/nm-device-wifi.c
2615                 - (constructor): cleanup; connect to supplicant manager here since the
2616                         supplicant manager is always around
2617                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2618                         ensure the supplicant manager is in the IDLE state
2619                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2620                         cancel any pending scans too
2621                 - (real_bring_up): don't set up the supplicnat interface here, because
2622                         we need the supplicant interface at times when the device may not
2623                         be "up"
2624                 - (real_take_down): just remove the periodic source
2625                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2626                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2627                         do anything if there's no supplicant interface
2628                 - (cleanup_association_attempt): cleanup
2629                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2630                         the interface enters the READY state; transition to UNAVAILABLE
2631                         state when the interface goes down because the device can't be used
2632                         without a supplicant interface
2633                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2634                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2635                         acquire the supplicant interface and transition to DISCONNECTED
2636                         if the radio isn't killed
2637                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2638                 - (state_changed_cb): release any existing supplicant interface; if the
2639                         radio is enabled then try to acquire a new supplicant interface;
2640                         if the radio is enabled and a supplicant interface has been acquired,
2641                         we can transition to DISCONNECTED
2642                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2643                         don't enable the radio, because HAL probably lied to us about the
2644                         killswitch being off.  If bringing the hardware up worked, then
2645                         try to grab a supplicant interface, and if that was successful,
2646                         transition to DISCONNECTED
2647
2648 2008-06-30  Dan Williams  <dcbw@redhat.com>
2649
2650         * src/supplicant-manager/nm-supplicant-interface.c
2651                 - (request_scan_results, nm_supplicant_interface_dispose,
2652                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2653                         the id of the timeout, not a GSource
2654
2655 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2656
2657         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2658         bunch of typoes introduced by "Patch from David Cantrell 
2659         <dcantrell@redhat.com> and me".
2660
2661 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2662
2663         * src/nm-serial-device.c: 
2664         * src/nm-gsm-device.c: 
2665         * src/nm-cdma-device.c: Move the pending call handling to a common location
2666         in serial device. Handle setting device state to failed in one place as well.
2667
2668 2008-06-29  Dan Williams <dcbw@redhat.com>
2669
2670         * src/nm-hal-manager.c
2671                 - Rework killswitch handling to query killswitch status immediately
2672                         when the first killswitch is added, so that rfkill state is
2673                         known as early as possible
2674                 - Also treat failure of GetPower() as rfkill when the dbus method
2675                         call times out (but not when the HAL callout returns an error)
2676
2677 2008-06-26  Dan Williams <dcbw@redhat.com>
2678
2679         Patch from David Cantrell <dcantrell@redhat.com> and me
2680
2681         * include/nm-dbus-glib-types.h
2682                 - Add IP6 address types
2683
2684         * libnm-util/Makefile.am
2685           libnm-util/nm-setting-ip6-config.c
2686           libnm-util/nm-setting-ip6-config.h
2687                 - Add IP6 settings object
2688
2689         * libnm-util/nm-connection.c
2690                 - (register_default_settings): register ip6 settings object
2691
2692         * libnm-util/nm-utils.c
2693           libnm-util/nm-utils.h
2694                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2695                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2696                         ip6 address conversion functions
2697         
2698 2008-06-26  Dan Williams <dcbw@redhat.com>
2699
2700         Patch from David Cantrell <dcantrell@redhat.com>
2701         
2702         * Use inet_ntop() and inet_pton() everwhere and check for errors
2703
2704 2008-06-26  Dan Williams <dcbw@redhat.com>
2705
2706         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2707
2708 2008-06-26  Dan Williams <dcbw@redhat.com>
2709
2710         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2711
2712         * src/nm-device-wifi.c
2713                 - (link_timeout_cb): don't ignore disconnects due to scanning
2714                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2715                         a longer timeout when scanning; avoids case where supplicant can't
2716                         find the AP and just keeps scanning forever but isn't connected
2717
2718 2008-06-26  Dan Williams <dcbw@redhat.com>
2719
2720         Patch from Michael Biebl <biebl@debian.org>
2721
2722         * Clean up build system stuff
2723
2724 2008-06-23  Christian Persch  <chpe@gnome.org>
2725
2726         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2727         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2728         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2729         (impl_get_object):
2730         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2731         (impl_get_object):
2732         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2733         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2734         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2735         (impl_get_object):
2736         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2737         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2738         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2739         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2740         * vpn-daemons/pptp/properties/vpnui_opt.c:
2741         (vpnui_opt_connect_signals):
2742         * vpn-daemons/pptp/properties/vpnui_opt.h:
2743         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2744         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2745         deprecated gtk type macros. Bug #539325.
2746
2747 2008-06-20  Dan Williams  <dcbw@redhat.com>
2748
2749         * libnm-glib/nm-vpn-plugin-ui-interface.c
2750           libnm-glib/nm-vpn-plugin-ui-interface.h
2751                 - 'validity-changed' -> 'changed' to work better with the connection
2752                         editor.  Plugin UI widgets should emit 'changed' whenever their
2753                         UI values change in a meaningful way.
2754                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2755                         update_connection member now returns validity of the UI widget
2756
2757 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2758
2759         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2760
2761 2008-06-17  Dan Williams  <dcbw@redhat.com>
2762
2763         * libnm-glib/nm-vpn-plugin-ui-interface.c
2764           libnm-glib/nm-vpn-plugin-ui-interface.h
2765                 - Add "desc" property for longer descriptions of the VPN plugin
2766
2767 2008-06-16  Dan Williams  <dcbw@redhat.com>
2768
2769         * configure.in
2770           libnm-glib/libnm_glib_vpn.pc.in
2771                 - add a .pc file for libnm_glib_vpn
2772
2773         * libnm-glib/nm-vpn-plugin-ui-interface.c
2774           libnm-glib/nm-vpn-plugin-ui-interface.h
2775                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2776                         rework it substantially
2777
2778 2008-06-12  Dan Williams  <dcbw@redhat.com>
2779
2780         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2781         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2782         returns a descriptive GError when verification fails.
2783
2784 2008-06-11  Dan Williams  <dcbw@redhat.com>
2785
2786         Patch from Tambet Ingo <tambet@gmail.com>
2787
2788         * libnm-util/nm-setting-gsm.c
2789                 - (verify): validate APN
2790
2791         * src/nm-gsm-device.c
2792                 - (manual_registration_done): start setting APN if needed
2793                 - (set_apn, set_apn_done): set the APN
2794                 - (do_dial): use the APN when dialing
2795
2796 2008-06-11  Dan Williams  <dcbw@redhat.com>
2797
2798         * src/NetworkManagerSystem.c
2799                 - (nm_system_device_set_ip4_route,
2800                    nm_system_device_replace_default_ip4_route): check for the right
2801                         return value from rtnl_route_add() to know when to add a gateway
2802                         route (from Tambet)
2803
2804 2008-06-11  Dan Williams  <dcbw@redhat.com>
2805
2806         * src/NetworkManagerPolicy.c
2807                 - do_ipt_cmd -> do_cmd
2808                 - (sharing_init): use do_cmd() instead of system()
2809
2810 2008-06-10  Dan Williams  <dcbw@redhat.com>
2811
2812         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2813         and use "wifi" everwhere instead.
2814
2815 2008-06-10  Dan Williams  <dcbw@redhat.com>
2816
2817         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2818
2819 2008-06-10  Dan Williams  <dcbw@redhat.com>
2820
2821         Patch from Tambet Ingo <tambet@gmail.com>
2822
2823         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2824                 changes.
2825
2826         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2827                 a signal to emit these changes over dbus.
2828
2829         * src/Makefile.am: Genereate nm-serial-device-glue.
2830
2831         * libnm-glib/nm-serial-device.[ch]: Implement.
2832
2833         * libnm-glib/nm-cdma-device.[ch]
2834           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2835
2836         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2837
2838         * introspection/nm-device-serial.xml: Implement.
2839
2840         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2841
2842         * introspection/Makefile.am: Add nm-device-serial.xml.
2843
2844         * include/NetworkManager.h: Add a DBus interface for serial device.
2845
2846 2008-06-10  Dan Williams  <dcbw@redhat.com>
2847
2848         * configure.in
2849                 - Add TARGET_* define to config.h to distinguish distros
2850
2851         * src/dhcp-manager/nm-dhcp-manager.c
2852                 - (dhclient_run): use distro-specific path for dhclient config file
2853
2854 2008-06-09  Dan Williams  <dcbw@redhat.com>
2855
2856         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2857           src/dnsmasq-manager/nm-dnsmasq-manager.h
2858                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2859                         calculate the addresses passed to dnsmasq instead of hard-coding
2860                         them
2861
2862         * src/nm-device.c
2863                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2864                         IP addresses for shared connections to guard against shared
2865                         connection address collisions
2866                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2867                         error conditions
2868                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2869                         the dnsmasq manager
2870
2871 2008-06-09  Dan Williams  <dcbw@redhat.com>
2872
2873         * src/NetworkManagerPolicy.c
2874                 - (update_routing_and_dns): set the default connection _after_ unsetting
2875                         default on all non-default connections so that two connections can
2876                         never be default at the same time
2877                 - (device_state_changed): start and stop connection sharing when
2878                         needed
2879                 - (active_connection_default_changed): restart or stop sharing when
2880                         the default connection changes to keep shared connections always
2881                         NAT-ed through the default connection
2882                 - (check_sharing): handle activation/deactivation of shared connections
2883                 - (sharing_restart): atom-bomb approach to connection sharing until we
2884                         can use libnl; reinit all sharing when the default connection or
2885                         shared connections change
2886                 - (sharing_init, sharing_stop): evil functions that init and deinit
2887                         iptables
2888
2889 2008-06-09  Dan Williams  <dcbw@redhat.com>
2890
2891         * src/nm-activation-request.c
2892           src/nm-activation-request.h
2893                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2894                    nm_act_request_get_device): new functions to facilitate connection
2895                         sharing
2896
2897 2008-06-09  Dan Williams  <dcbw@redhat.com>
2898
2899         * src/nm-device.c
2900                 - (clear_act_request): unset the 'default' property of the activation
2901                         request when clearing it to ensure the property changed signal gets
2902                         delivered and handled
2903
2904 2008-06-09  Dan Williams  <dcbw@redhat.com>
2905
2906         * libnm-glib/nm-device-802-11-wireless.c
2907                 - (access_point_removed_proxy): actually unref the AP after removing
2908                         it from the device's AP list.  Fixes refcounting bug for APs that
2909                         caused them to get mixed up in the applet's menu.
2910
2911 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2912
2913         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2914         (nm_dhcp_device_destroy): Destroy the device options hash table.
2915
2916 2008-06-06  Dan Williams <dcbw@redhat.com>
2917
2918         * system-settings/src/nm-polkit-helpers.c
2919                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2920                         unref the context if the initialization fails; also avoid spew when
2921                         the error isn't set
2922
2923 2008-06-06  Dan Williams <dcbw@redhat.com>
2924
2925         Patch from Tambet Ingo  <tambet@gmail.com>
2926
2927         * src/NetworkManagerSystem.c
2928           src/NetworkManagerSystem.h
2929                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2930                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2931                 - (nm_system_device_set_ip4_route): clean up
2932                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2933
2934         * src/nm-device.c
2935                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2936
2937         * src/vpn-manager/nm-vpn-connection.c
2938                 - (ip_address_to_string): new function
2939                 - (print_vpn_config): use ip_address_to_string
2940                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2941                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2942
2943         * include/NetworkManagerVPN.h
2944                 - Add 'routes' key
2945
2946 2008-06-05  Dan Williams <dcbw@redhat.com>
2947
2948         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2949
2950         * test/nm-tool.c
2951                 - Show which device is the default device
2952
2953 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2954
2955         Fix memory leaks.
2956
2957         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2958         Free data returned from dbus method call.
2959
2960         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2961         dbus_g_method_get_sender() returns a duplicated string, free it 
2962         when done.
2963         (check_polkit_privileges): Looks like policykit sometimes returns
2964         error and non-null return value, don't leak errors in that case.
2965
2966         * system-settings/src/main.c (find_plugin): Don't leak existing 
2967         plugin names.
2968         (load_stuff): Don't leak device list and list items.
2969         (have_connection_for_device): Don't leak connection list.
2970
2971         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2972         Free the data received from g_keyfile_get_*.
2973
2974         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2975         the key when the security object is updated.
2976
2977         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2978         Free data returned from dbus method call.
2979         (iface_state_cb): Ditto.
2980         (add_network_cb): Ditto.
2981         (nm_supplicant_interface_add_cb): Don't make another copy of already
2982         duplicated object path.
2983         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2984         when done.
2985
2986         * src/supplicant-manager/nm-supplicant-config.c 
2987         (ADD_STRING_LIST_VAL): Fix a memory leak.
2988
2989         * src/nm-manager.c (free_get_settings_info): Free the allocated
2990         memory slice.
2991         (list_connections_cb): Free data returned from dbus method call.
2992         (system_settings_get_unmanaged_devices_cb): Ditto.
2993
2994         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2995
2996         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2997         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2998         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2999         of the GList.
3000
3001         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
3002         arguments after the object is created.
3003
3004 2008-06-04  Dan Williams <dcbw@redhat.com>
3005
3006         * libnm-util/Makefile.am
3007                 - Don't distribute nm-param-spec-specialized.h
3008
3009 2008-06-02  Tambet Ingo  <tambet@gmail.com>
3010
3011         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3012
3013         * src/nm-ip4-config.[ch]: Store the static routes as a list of
3014         NMIP4Address, update the getters and setters.
3015
3016         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3017         Use the updated NMIP4Config routes api.
3018
3019         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3020         static routes as well.
3021
3022         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3023         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3024         routes api.
3025
3026 2008-05-30  Dan Williams <dcbw@redhat.com>
3027
3028         * src/named-manager/nm-named-manager.c
3029           src/named-manager/nm-named-manager.h
3030                 - Remove stale/obsolete bits for controlling bind over DBus
3031
3032 2008-05-29  Dan Williams <dcbw@redhat.com>
3033
3034         * src/dnsmasq-manager/nm-dnsmasq-manager.c
3035           src/dnsmasq-manager/nm-dnsmasq-manager.h
3036                 - (nm_dnsmasq_manager_new): move iface argument here
3037                 - (constructor): remove, not needed
3038                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3039                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3040
3041         * src/nm-device.c
3042                 - (real_act_stage4_get_ip4_config,
3043                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3044                         changes
3045
3046 2008-05-29  Dan Williams <dcbw@redhat.com>
3047
3048         * src/nm-device.c
3049                 - (dnsmasq_state_changed_cb): new function; fail the connection if
3050                         something happens to dnsmasq
3051                 - (nm_device_new_ip4_shared_config): new function; create a new
3052                         ip4-config for shared connections.  Shared connections always use a
3053                         fixed static IP address.
3054                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3055                         autoip connections by actually using the returned ip4-config and
3056                         not leaking it
3057                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3058                         connections
3059                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3060                         if its active
3061
3062 2008-05-29  Dan Williams <dcbw@redhat.com>
3063
3064         * src/nm-device-802-11-wireless.c
3065                 - (real_get_best_auto_connection): auto-activate 'shared' method
3066                         connections too
3067
3068 2008-05-29  Dan Williams <dcbw@redhat.com>
3069
3070         * libnm-util/nm-setting-ip4-config.c
3071           libnm-util/nm-setting-ip4-config.h
3072                 - Add a 'shared' method to indicate that this connection should be
3073                         brought up with a DHCP and proxy DNS server to facilitate
3074                         connection sharing.
3075                 - (verify): 'shared' method doesn't allow DNS or searches either
3076
3077 2008-05-29  Dan Williams <dcbw@redhat.com>
3078
3079         * configure.in
3080           src/Makefile.am
3081           src/dnsmasq-manager/Makefile.am
3082           src/dnsmasq-manager/nm-dnsmasq-manager.c
3083           src/dnsmasq-manager/nm-dnsmasq-manager.h
3084                 - Add a dnsmasq daemon manager to facilitate connection sharing
3085
3086 2008-05-29  Dan Williams <dcbw@redhat.com>
3087
3088         * src/nm-device-private.h
3089                 - Remove unused prototypes and clean up
3090
3091         * src/nm-device.c
3092                 - Remove anything related to system_config_data, which is no longer used
3093                 - (nm_device_new_ip4_autoip_config): make static
3094
3095 2008-05-29  Tambet Ingo  <tambet@gmail.com>
3096
3097         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3098         (file_changed): Fix a bug where suse system settings plugin didn't
3099         update the connections automatically when the files changed.
3100
3101 2008-05-28  Dan Williams  <dcbw@redhat.com>
3102
3103         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3104
3105 2008-05-28  Dan Williams  <dcbw@redhat.com>
3106
3107         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3108
3109         * src/NetworkManagerSystem.c
3110                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3111                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3112                         was causing -EINVAL errors since the libnl code actually does flush
3113                         the routes on VPN interfaces now
3114
3115         * src/backends/NetworkManagerArch.c
3116           src/backends/NetworkManagerDebian.c
3117           src/backends/NetworkManagerFrugalware.c
3118           src/backends/NetworkManagerGeneric.c
3119           src/backends/NetworkManagerGentoo.c
3120           src/backends/NetworkManagerMandriva.c
3121           src/backends/NetworkManagerPaldo.c
3122           src/backends/NetworkManagerRedHat.c
3123           src/backends/NetworkManagerSlackware.c
3124           src/backends/NetworkManagerSuSE.c
3125                 - (nm_system_device_flush_ip4_routes,
3126                    nm_system_device_flush_ip4_routes_with_iface): remove
3127
3128 2008-05-28  Dan Williams  <dcbw@redhat.com>
3129
3130         * libnm-util/nm-setting-wireless.c
3131           libnm-util/nm-setting-wireless.h
3132                 - (set_property, get_property, nm_setting_wireless_class_init): add the
3133                         'adhoc-create' property, which when TRUE indicates that NM should
3134                         create this connection as an adhoc wifi network if it's not found
3135                         as an adhoc network during scanning.  Can be used to auto-create
3136                         adhoc networks when used in combination with autoconnect.
3137
3138 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3139
3140         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3141
3142         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3143         checked, it doesn't work on some devices.
3144
3145 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3146
3147         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
3148         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3149
3150         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3151         Use inet_aton() everywhere to improve error detection.
3152         Don't fall back to 'dhcp_server_identifier' if the gateway is not
3153         provided.
3154
3155 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3156
3157         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3158         Fix a typo.
3159
3160 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3161
3162         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3163         reference counting issue.
3164
3165 2008-05-23  Dan Williams  <dcbw@redhat.com>
3166
3167         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3168
3169         * src/backends/NetworkManagerGeneric.c
3170                 - (nm_generic_enable_loopback): use libnl
3171
3172 2008-05-23  Dan Williams  <dcbw@redhat.com>
3173
3174         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3175
3176         * src/NetworkManagerSystem.h
3177           src/backends/NetworkManagerArch.c
3178           src/backends/NetworkManagerDebian.c
3179           src/backends/NetworkManagerFrugalware.c
3180           src/backends/NetworkManagerGentoo.c
3181           src/backends/NetworkManagerMandriva.c
3182           src/backends/NetworkManagerPaldo.c
3183           src/backends/NetworkManagerRedHat.c
3184           src/backends/NetworkManagerSlackware.c
3185           src/backends/NetworkManagerSuSE.c
3186                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3187                    nm_system_flush_arp_cache): remove, unused
3188
3189         * src/backends/NetworkManagerGeneric.c
3190           src/backends/NetworkManagerGeneric.h
3191                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3192                    nm_generic_flush_arp_cache): remove, unused
3193
3194 2008-05-23  Dan Williams  <dcbw@redhat.com>
3195
3196         * system-settings/plugins/ifcfg-fedora/reader.c
3197                 - (make_ip4_setting): honor PEERDNS setting
3198
3199 2008-05-23  Dan Williams  <dcbw@redhat.com>
3200
3201         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3202
3203         * src/NetworkManagerSystem.c
3204                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3205                         libnl
3206
3207         * src/backends/NetworkManagerArch.c
3208           src/backends/NetworkManagerDebian.c
3209           src/backends/NetworkManagerFrugalware.c
3210           src/backends/NetworkManagerGentoo.c
3211           src/backends/NetworkManagerMandriva.c
3212           src/backends/NetworkManagerPaldo.c
3213           src/backends/NetworkManagerRedHat.c
3214           src/backends/NetworkManagerSlackware.c
3215           src/backends/NetworkManagerSuSE.c
3216                 - (nm_system_device_flush_ip4_addresses,
3217                    nm_system_device_flush_ip4_addresses_with_iface): remove
3218
3219         * src/backends/NetworkManagerGeneric.c
3220                 - (nm_generic_device_flush_ip4_addresses,
3221                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3222
3223 2008-05-23  Dan Williams  <dcbw@redhat.com>
3224
3225         * src/supplicant-manager/nm-supplicant-settings-verify.c
3226                 - Switch 'bssid' from bytes to keyword type
3227                 - (validate_type_keyword): allow NULL keyword lists
3228
3229         * src/supplicant-manager/nm-supplicant-config.c
3230                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3231                         a byte array to string form, which is what the supplicant expects
3232
3233 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3234
3235         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3236         information received from DHCP.
3237
3238         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3239         to make it possible to ignore the DNS information (both servers and 
3240         searches) returned by DHCP server.
3241
3242         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3243         name servers and searches if "ignore_dhcp_dns" is set.
3244
3245         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3246         (nm_ip4_config_reset_searches): Implement.
3247
3248 2008-05-22  Dan Williams  <dcbw@redhat.com>
3249
3250         Remove anything mDNS related.  This is better done from a distro-specific
3251         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3252         avahi, since avahi can handle interface changes just fine using netlink.
3253
3254         * configure.in
3255                 - Remove --with-mdns-provider
3256
3257         * src/NetworkManagerPolicy.c
3258                 - (global_state_changed): don't restart the mdns provider
3259
3260         * src/NetworkManagerSystem.h
3261           src/backends/NetworkManagerArch.c
3262           src/backends/NetworkManagerDebian.c
3263           src/backends/NetworkManagerFrugalware.c
3264           src/backends/NetworkManagerGentoo.c
3265           src/backends/NetworkManagerMandriva.c
3266           src/backends/NetworkManagerPaldo.c
3267           src/backends/NetworkManagerRedHat.c
3268           src/backends/NetworkManagerSlackware.c
3269           src/backends/NetworkManagerSuSE.c
3270                 - (nm_system_restart_mdns_responder): remove
3271
3272         * src/backends/NetworkManagerGeneric.c
3273           src/backends/NetworkManagerGeneric.h
3274                 - (nm_generic_restart_mdns_responder): remove
3275
3276 2008-05-22  Dan Williams  <dcbw@redhat.com>
3277
3278         * configure.in
3279                 - clean up crypto options; just use --with-crypto=nss or
3280                         --with-crypto=gnutls
3281
3282 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3283
3284         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3285         anymore, do it right away.
3286
3287 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3288
3289         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3290         serial device open when we're not connecting or connected.
3291
3292         * src/nm-cdma-device.c (device_state_changed): Ditto.
3293
3294 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3295
3296         Don't remove all devices on waking up, sync with HAL.
3297
3298         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3299         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3300         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3301
3302 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3303
3304         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3305         If the default gateway is unreachable, add a route to gateway and try
3306         again.
3307
3308 2008-05-20  Dan Williams  <dcbw@redhat.com>
3309
3310         * system-settings/plugins/ifcfg-fedora/reader.c
3311                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3312
3313 2008-05-19  Dan Williams  <dcbw@redhat.com>
3314
3315         * system-settings/plugins/ifcfg-fedora/reader.c
3316                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3317                         if the ifcfg doesn't specify one (rh #446527)
3318
3319 2008-05-19  Dan Williams  <dcbw@redhat.com>
3320
3321         Make the system settings service exit when the bus goes away.  Since it's
3322         a bus-activated service, it's lifetime is limited to the bus that activated
3323         it (rh #444976).
3324
3325         * system-settings/src/Makefile.am
3326           system-settings/src/nm-system-config-hal-manager-private.h
3327                 - Remove nm-system-config-hal-manager-private.h
3328
3329         * system-settings/src/nm-system-config-hal-manager.c
3330                 - (nm_system_config_hal_manager_reinit_dbus,
3331                    nm_system_config_hal_manager_deinit_dbus): remove
3332
3333         * system-settings/src/main.c
3334                 - (dbus_reconnect): remove
3335                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3336                 - (destroy_cb): just quit when the bus goes away
3337                 - (start_dbus_service, dbus_init): simplify
3338                 - (main): destroy the wired devices hash table after destroying
3339                         the HAL manager so we don't have to disconnect signals from the
3340                         HAL manager
3341
3342 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3343
3344         Move crypto functions from nm-applet to libnm-util.
3345
3346         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3347         (nm_setting_802_1x_set_client_cert)
3348         (nm_setting_802_1x_set_phase2_ca_cert)
3349         (nm_setting_802_1x_set_phase2_client_cert)
3350         (nm_setting_802_1x_set_private_key)
3351         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3352         file (or private key and it's password), read the certificate data.
3353
3354         * libnm-util/crypto_nss.c: 
3355         * libnm-util/crypto_gnutls.c: 
3356         * libnm-util/crypto.[ch]: Move here from nm-applet.
3357
3358         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3359
3360         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3361         Imlement WPA-EAP configuration reading from sysconfig.
3362
3363 2008-05-16  Dan Williams  <dcbw@redhat.com>
3364
3365         * src/nm-device-802-11-wireless.c
3366                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3367                         wireless
3368
3369 2008-05-14  Dan Williams  <dcbw@redhat.com>
3370
3371         Fix Linus' bug in rh #134886
3372
3373         * src/nm-device-802-3-ethernet.c
3374                 - (constructor): request initial carrier state
3375
3376         * src/nm-netlink-monitor.c
3377                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3378                         signals after refilling the link cache.  Because the refill is a 
3379                         synchronous operation, the normal message hander won't get called
3380                         since libnl has already consumed the messages.
3381                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3382
3383 2008-05-14  Dan Williams  <dcbw@redhat.com>
3384
3385         * src/NetworkManagerSystem.c
3386                 - (nm_system_device_is_up_with_iface): clean up
3387
3388 2008-05-13  Dan Williams  <dcbw@redhat.com>
3389
3390         Fix refcounting issues over sleep/wake when a VPN connection was active that
3391         caused NM to try registering an object path for a device upon wake that was
3392         the same as an already registered object path.
3393
3394         * src/nm-device.c
3395                 - (nm_device_take_down): properly handle cases where the device is
3396                         no longer active but was just active, and therefore must be
3397                         deactivated.  When a device moves to unmanaged mode, this function
3398                         previously would not deactivate the device, because the state was
3399                         already unmanaged by the time this function was called.
3400
3401         * src/vpn-manager/nm-vpn-connection.c
3402                 - (device_state_changed): properly handle multiple devices states in
3403                         which the device is now deactivated.  Code previously didn't handle
3404                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3405                         UNMANAGED states.
3406
3407 2008-05-13  Dan Williams  <dcbw@redhat.com>
3408
3409         * src/nm-device-private.h
3410           src/nm-device.c
3411                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3412
3413         * src/nm-device-802-11-wireless.c
3414                 - (nm_device_802_11_wireless_set_enabled): take devices up
3415                         and down as appropriate for the rfkill state
3416
3417 2008-05-13  Dan Williams  <dcbw@redhat.com>
3418
3419         * marshallers/nm-marshal.list
3420                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3421
3422         * system-settings/plugins/ifcfg-fedora/Makefile.am
3423           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3424           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3425                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3426                         events.  Solely for use watching ifcfg files to pick up changes
3427                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3428
3429         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3430                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3431                         file contents change
3432                 - (finalize): clean up inotify watches
3433                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3434                         and the connection ifcfg for changes on their hardlinks
3435                 - (files_changed_cb): proxy the changed signal back out to listeners
3436
3437         * system-settings/plugins/ifcfg-fedora/plugin.c
3438                 - (dir_changed): 
3439                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3440                         changes
3441                 - (read_one_connection): connect to change signals on the new connection
3442                 - (dir_changed, connection_changed_handler,
3443                    handle_connection_remove_or_new): break out connection change
3444                         handling and connection new/remove handling so it can be used from
3445                         both the GFileMonitor callback and the NMIfcfgConnection changed
3446                         signals
3447
3448         * system-settings/plugins/ifcfg-fedora/reader.c
3449           system-settings/plugins/ifcfg-fedora/reader.h
3450                 - (connection_from_file): return the keyfile path the connection would use
3451
3452 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3453
3454         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3455         single PolKitContext which is shared by all. PolKitContext::unref leaks
3456         just about everything, including all open file descriptiors and results
3457         in 99% cpu usage when data arrives to any of the fds that don't belong
3458         to any context anymore.
3459
3460 2008-05-12  Dan Williams  <dcbw@redhat.com>
3461
3462         * gfilemonitor/glocaldirectorymonitor.c
3463           gfilemonitor/glocaldirectorymonitor.h
3464                 - (g_local_directory_monitor_constructor): actually subscribe to the
3465                         watch
3466                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3467
3468         * gfilemonitor/glocalfilemonitor.c
3469           gfilemonitor/glocalfilemonitor.h
3470                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3471                 - (_g_local_file_monitor_new): ensure that inotify is started up
3472
3473 2008-05-11  Dan Williams  <dcbw@redhat.com>
3474
3475         * configure.in
3476                 - record PolicyKit version
3477
3478         * system-settings/src/nm-polkit-helpers.c
3479                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3480                         with PolicyKit <= 0.6
3481
3482 2008-05-11  Dan Williams  <dcbw@redhat.com>
3483
3484         Update Fedora system-settings plugin to support latest API and use
3485         GFileMonitor rather than home-rolled inotify code.
3486
3487         * system-settings/plugins/ifcfg-fedora/Makefile.am
3488           system-settings/plugins/ifcfg-fedora/common.h
3489           system-settings/plugins/ifcfg-fedora/plugin.c
3490                 - Update to latest system settings plugin API; use GIO instead of
3491                         custom inotify code; use NMIfcfgConnection objects instead of
3492                         ConnectionData structures tacked onto NMConnection objects
3493
3494         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3495           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3496                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3497                         connections
3498
3499         * system-settings/plugins/ifcfg-fedora/reader.c
3500           system-settings/plugins/ifcfg-fedora/reader.h
3501                 - Move ifcfg parsing bits here from parser.c
3502
3503         * system-settings/plugins/ifcfg-fedora/parser.c
3504           system-settings/plugins/ifcfg-fedora/parser.h
3505                 - Remove; most code moved to reader.c
3506
3507 2008-05-11  Dan Williams  <dcbw@redhat.com>
3508
3509         * configure.in
3510           Makefile.am
3511           gfilemonitor/*
3512                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3513                         implementation, so that the same change monitoring code can be used
3514                         on systems without glib-2.14 (like Fedora 8)
3515
3516         * system-settings/plugins/keyfile/Makefile.am
3517           system-settings/plugins/keyfile/plugin.c
3518           system-settings/plugins/ifcfg-suse/Makefile.am
3519           system-settings/plugins/ifcfg-suse/plugin.c
3520                 - Use private gfilemonitor code if GIO is not present
3521
3522 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3523
3524         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3525         NMExportedConnection's 'update' and 'delete' and return error with
3526         descriptive message.
3527
3528 2008-05-08  Dan Williams  <dcbw@redhat.com>
3529
3530         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3531
3532         * src/nm-gsm-device.c
3533           src/nm-cdma-device.c
3534                 - (real_get_best_auto_connection): implement; allow autoconnection
3535                         to GSM & CDMA devices
3536
3537 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3538
3539         Use PolicyKit to authorize the system settings' AddConnection method
3540         and the system settings connections' Update and Delete methods.
3541         
3542         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3543         (impl_exported_connection_delete, nm_exported_connection_update)
3544         (nm_exported_connection_delete): Return boolean and fill GError
3545         to notify the callers of the reasons why it might have failed.
3546
3547         * libnm-glib/nm-dbus-settings-system.c
3548         (nm_dbus_settings_system_add_connection): Return the error from dbus
3549         call so that the callers can see why it failed.
3550
3551         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3552         signatures.
3553
3554         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3555
3556         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3557         abstract base class that checks PolicyKit permissions.
3558
3559         * system-settings/src/dbus-settings.c:
3560         (impl_settings_add_connection): Check the policy before carring out
3561         the request.
3562
3563         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3564         Inherit from NMSysconfigConnection, check the policies before
3565         allowing updating or removing.
3566
3567         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3568         Inherit from NMSysconfigConnection.
3569
3570         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3571         "Delete" methods with async flag so that the implementations can get
3572         access to DBusGMethodInvocation.
3573
3574         * system-settings/src/dbus-settings.c 
3575         (settings_add_connection_check_privileges): Implement.
3576         (impl_settings_add_connection): Check the privileges before adding a new
3577         connection. Improve error reporting.
3578
3579         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3580         async so that the implementation can access DBusGMethodInvocation.
3581
3582         * configure.in: Check for PolicyKit.
3583
3584         * policy/org.freedesktop.network-manager-settings.system.policy: 
3585         New file.
3586
3587         * policy/Makefile.am: Install the policy file.
3588
3589         * configure.in: Add 'policy' subdir.
3590
3591 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3592
3593         Rewrite the suse system settings plugin.
3594
3595         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3596
3597         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3598
3599         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3600
3601         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3602
3603         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3604
3605         * system-settings/src/main.c (load_plugins): Improve error reporting.
3606
3607         * system-settings/src/sha1.[ch] Add.
3608
3609         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3610
3611 2008-05-07  Dan Williams  <dcbw@redhat.com>
3612
3613         * system-settings/plugins/keyfile/reader.c
3614                 - (read_one_setting_value): handle IP address items separately
3615                 - (read_array_of_uint): read IPv4 DNS option as a string array
3616                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3617                         array
3618
3619         * system-settings/plugins/keyfile/writer.c
3620                 - (write_setting_value): handle IP address items separately
3621                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3622                         not an array of uint, so that it's user-editable
3623                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3624                         arrays, so they are user-editable
3625
3626 2008-05-07  Dan Williams  <dcbw@redhat.com>
3627
3628         * system-settings/plugins/keyfile/Makefile.am
3629                 - Change location of the keyfile plugin settings to
3630                         /etc/NetworkManager/system-connections
3631
3632 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3633
3634         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3635
3636         * system-settings/plugins/keyfile/plugin.c: Work with
3637         NMKeyfileConnections.
3638
3639         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3640         Plugins are supposed to return NMExportedConnections now and handle the
3641         updated(), removed(), and GetSecrets().
3642         Store the internal list of connections in hash table to make it easier
3643         to find duplicates.
3644
3645 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3646
3647         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3648         for multiple IP addresses.
3649
3650 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3651
3652         Patch from André Lemos.
3653
3654         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3655         corruption.
3656
3657 2008-05-06  Dan Williams  <dcbw@redhat.com>
3658
3659         * src/dhcp-manager/nm-dhcp-manager.c
3660                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3661                         NMIP4Config to support multiple IP addresses
3662
3663         * src/NetworkManagerUtils.c
3664                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3665
3666         * src/nm-ip4-config.c
3667           src/nm-ip4-config.h
3668                 - Store a list of IPv4 address/netmask/gateway tuples
3669                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3670                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3671                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3672                    nm_ip4_config_set_address): remove
3673                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3674                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3675                         new functions; handle multiple IPv4 addresses
3676
3677         * src/nm-device.c
3678           src/ppp-manager/nm-ppp-manager.c
3679           src/vpn-manager/nm-vpn-connection.c
3680           src/NetworkManagerPolicy.c
3681           test/nm-tool.c
3682           libnm-glib/libnm-glib-test.c
3683                 - update for changes to NMIP4Config for multiple IPv4 addresses
3684
3685         * src/NetworkManagerSystem.c
3686                 - (nm_system_device_set_ip4_route): don't add the route if any address
3687                         is on the same subnet as the destination
3688                 - (check_one_address): ignore the exact match, just match family and
3689                         interface index
3690                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3691                         an interface
3692                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3693                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3694
3695         * introspection/nm-ip4-config.xml
3696                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3697                 - Add 'addresses' property which is an array of (uuu) tuples of
3698                         address/netmask/gateway
3699
3700         * libnm-util/nm-setting-ip4-config.c
3701                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3702
3703         * libnm-glib/nm-ip4-config.c
3704           libnm-glib/nm-ip4-config.h
3705                 - Handle D-Bus interface changes to support multiple IP addresses
3706
3707 2008-05-06  Dan Williams  <dcbw@redhat.com>
3708
3709         * libnm-util/nm-utils.c
3710           libnm-util/nm-utils.h
3711                 - (nm_utils_ip4_addresses_from_gvalue,
3712                    nm_utils_ip4_addresses_to_gvalue): new functions
3713
3714 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3715
3716         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3717         the returned connection paths.
3718
3719 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3720
3721         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3722         "PropertiesChanged" signal signature.
3723
3724         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3725         defined in nm-dbus-glib-types.h.
3726         Don't register the connection on dbus, we're a proxy class to 
3727         communicate with an already registered connection over dbus.
3728
3729 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3730
3731         Implement new subclasses of NMSettings and NMExportedConnection to make
3732         it easier for the applet to access and modify system settings.
3733
3734         * libnm-glib/nm-dbus-connection.[ch]:
3735         * libnm-glib/nm-dbus-settings.[ch]:
3736         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3737
3738         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3739         bindings and glue.
3740
3741         * include/NetworkManager.h: Define the system settings DBus interface.
3742
3743 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3744
3745         Implement additional C API for exported connections to make them identical
3746         with the DBus API. Change the (list_connections) virtual function to be
3747         more usable from C - instead of requiring implementers to return a GPtrArray
3748         of dbus paths, return a list of connections.
3749
3750         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3751         (nm_settings_list_connections):
3752         (nm_exported_connection_new):
3753         (nm_exported_connection_update):
3754         (nm_exported_connection_delete): Implement.
3755
3756         (impl_settings_list_connections):
3757         (impl_exported_connection_update):
3758         (impl_exported_connection_delete): Use the new public functions to make 
3759         sure the C and dbus interfaces stay in sync.
3760
3761         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3762         connections.
3763
3764 2008-05-02  Dan Williams  <dcbw@redhat.com>
3765
3766         * system-settings/plugins/ifcfg-fedora/plugin.c
3767                 - (dispose): use right unref call on the DBusGConnection
3768
3769 2008-05-02  Dan Williams  <dcbw@redhat.com>
3770
3771         * src/nm-serial-device.c
3772                 - (find_terminator): don't compare the whole line, just the size of the
3773                         terminator, since some modems put stuff after the terminator, like
3774                         "CONNECT 9600"
3775
3776 2008-05-01  Dan Williams  <dcbw@redhat.com>
3777
3778         Patch from Michael Biebl <biebl@debian.org>
3779
3780         * callouts/Makefile.am
3781           callouts/org.freedesktop.nm_dispatcher.service.in
3782           system-settings/src/Makefile.am
3783           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3784                 - use the right install location for dbus-activated stuff
3785
3786 2008-04-30  Dan Williams  <dcbw@redhat.com>
3787
3788         * src/nm-gsm-device.c
3789                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3790                         PIN or PUK
3791
3792 2008-04-30  Dan Williams  <dcbw@redhat.com>
3793
3794         * src/nm-manager.c
3795                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3796
3797 2008-04-30  Dan Williams  <dcbw@redhat.com>
3798
3799         * src/nm-device-802-3-ethernet.c
3800           src/nm-device-802-11-wireless.c
3801                 - (real_is_up): return true instead of chaining up to unimplemented
3802                         parent method
3803
3804 2008-04-30  Dan Williams  <dcbw@redhat.com>
3805
3806         * src/NetworkManagerSystem.c
3807           src/NetworkManagerSystem.h
3808                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3809                         functions to check device flags for IFF_UP
3810
3811         * src/nm-serial-device.c
3812                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3813                         implement is_up
3814
3815         * src/nm-device-802-3-ethernet.c
3816           src/nm-device-802-11-wireless.c
3817                 - (real_hw_is_up): call nm_system_device_is_up()
3818
3819         * src/nm-device.c
3820                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3821                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3822                         does not implement
3823
3824 2008-04-29  Dan Williams  <dcbw@redhat.com>
3825
3826         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3827
3828         * marshallers/nm-marshal.list
3829                 - Add marshaller
3830
3831         * src/NetworkManager.c
3832                 - (main): let the NMManager handle the NMHalManager
3833
3834         * src/nm-hal-manager.c
3835           src/nm-hal-manager.h
3836                 - convert to a GObject, and emit singals when stuff changes.  Let the
3837                         NMManager handle the signals, instead of the NMHalManager calling
3838                         into the NMManager.  
3839
3840         * src/nm-manager.c
3841           src/nm-manager.h
3842                 - (remove_one_device): consolidate device removals here
3843                 - (dispose): use remove_one_device()
3844                 - (nm_manager_get_device_by_udi): make static
3845                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3846                         manager for devices at startup or wakeup time
3847                 - (nm_manager_new): create and monitor the HAL manager
3848                 - (hal_manager_udi_added_cb): new function; do what
3849                         nm_manager_add_device() used to do when signalled by the hal manager
3850                 - (hal_manager_udi_removed_cb): new function; do what
3851                         nm_manager_remove_device() used to do when signalled by the hal
3852                         manager
3853                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3854                         hal manager
3855                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3856                         in our device list that aren't known to HAL
3857                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3858                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3859                         commits ago
3860                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3861                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3862                    nm_manager_wireless_hardware_enabled,
3863                    nm_manager_set_wireless_hardware_enabled): remove, unused
3864
3865 2008-04-28  Dan Williams  <dcbw@redhat.com>
3866
3867         Fix the device up/down ambiguities.  Up/down state used to be a
3868         conglomeration of hardware state (IFF_UP) and any device-specific things
3869         (supplicant, periodic timers, etc) that the device used to indicate
3870         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3871         reason, then the device specific stuff wouldn't get run, and the device
3872         would be stuck.
3873
3874         * src/nm-device.c
3875           src/nm-device.h
3876                 - Create hw_is_up, hw_bring_up, and hw_take_down
3877                 - Rename bring_down -> take_down
3878                 - (real_hw_is_up): check interface flags for IFF_UP
3879                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3880                 - (nm_device_is_up): make static; only used locally
3881                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3882                         if the device is already up; if the device isn't up, bring it up
3883                 - (nm_device_hw_take_down): just take down hardware
3884                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3885                 - (nm_device_take_down): always deactivate device when called; always
3886                         try to take hardware down too
3887                 - (nm_device_state_changed): take device down when entering unmanaged
3888                         state from a higher state
3889
3890         * src/nm-device-802-11-wireless.c
3891                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3892                         check IFF_UP really
3893                 - (real_take_down, supplicant_iface_state_cb_handler, 
3894                    supplicant_iface_connection_state_cb_handler,
3895                    supplicant_mgr_state_cb_handler): fix some messages
3896
3897         * src/nm-device-802-3-ethernet.c
3898                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3899                         check IFF_UP really
3900
3901 2008-04-28  Dan Williams  <dcbw@redhat.com>
3902
3903         * src/nm-manager.c
3904           src/nm-manager.h
3905                 - (nm_manager_error_get_type): add new error
3906                 - (nm_manager_remove_device): don't bother taking down the device here,
3907                         the state change from unmanaging the device will do it
3908                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3909                         uses it; when going to sleep, just unmanage the device instead of
3910                         taking it down, because stuff will cleaned up correctly when the
3911                         device gets unmanaged
3912
3913 2008-04-28  Dan Williams  <dcbw@redhat.com>
3914
3915         * src/nm-hal-manager.c
3916                 - (add_initial_devices): convert to a GSourceFunc prototype
3917                 - (nm_manager_state_changed): when coming out of sleep, punt the
3918                         device re-addition to an idle handler to let D-Bus events go out
3919                         first, fixing a potential dbus-glib assert if the old device was
3920                         not yet disposed (due to references held while emitting the D-Bus
3921                         signals) but the new device was found, because the mainloop didn't
3922                         run between signal emission and add_initial_devices()
3923
3924 2008-04-27  Dan Williams  <dcbw@redhat.com>
3925
3926         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3927
3928         * initscript/paldo/NetworkManager.in
3929           initscript/SUSE/networkmanager.in
3930                 - Remove last bits of dhcdbd
3931
3932 2008-04-27  Dan Williams  <dcbw@redhat.com>
3933
3934         * src/nm-device-802-11-wireless.c
3935                 - (link_timeout_cb): don't ask for secrets when disconnected during
3936                         association/authentication phase, drivers are still just too crappy
3937
3938 2008-04-27  Dan Williams  <dcbw@redhat.com>
3939
3940         * Makefile.am
3941           configure.in
3942           dispatcher-daemon/Makefile.am
3943           dispatcher-daemon/NetworkManagerDispatcher.c
3944           initscript/Arch/Makefile.am
3945           initscript/Arch/networkmanager-dispatcher.in
3946           initscript/Gentoo/Makefile.am
3947           initscript/Gentoo/NetworkManagerDispatcher.in
3948           initscript/Mandriva/Makefile.am
3949           initscript/Mandriva/networkmanagerdispatcher.in
3950           initscript/RedHat/Makefile.am
3951           initscript/RedHat/NetworkManagerDispatcher.in
3952           initscript/SUSE/Makefile.am
3953           initscript/SUSE/networkmanager-dispatcher.in
3954           initscript/Slackware/Makefile.am
3955           initscript/Slackware/rc.networkmanager-dispatcher.in
3956           initscript/paldo/Makefile.am
3957           initscript/paldo/NetworkManagerDispatcher.in
3958           man/Makefile.am
3959           man/NetworkManagerDispatcher.8.in
3960                 - Remove the dispatcher daemon
3961
3962 2008-04-27  Dan Williams  <dcbw@redhat.com>
3963
3964         * callouts/Makefile.am
3965           callouts/nm-dispatcher-action.c
3966           callouts/nm-dispatcher-action.h
3967           callouts/nm-dispatcher.conf
3968           callouts/nm-dispatcher.xml
3969           callouts/org.freedesktop.nm_dispatcher.service
3970                 - Re-implement the dispatcher as a system-bus activated service that
3971                         NM calls on-demand, rather than an always running daemon
3972
3973         * src/Makefile.am
3974                 - Add callouts dir to includes to pick up dispatcher defines
3975
3976         * src/nm-device.c
3977                 - (nm_device_state_changed): call dispatcher on device activated/
3978                         deactivated
3979
3980         * src/vpn-manager/nm-vpn-connection.c
3981                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3982                         go up and down
3983
3984         * src/NetworkManagerUtils.c
3985           src/NetworkManagerUtils.h
3986                 - (nm_utils_call_dispatcher): helper to call dispatcher
3987
3988 2008-04-27  Dan Williams  <dcbw@redhat.com>
3989
3990         * src/NetworkManagerUtils.c
3991           src/NetworkManagerUtils.h
3992                 - remove unneeded includes
3993                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3994                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3995                    nm_timeval_cmp, nm_timeval_add): remove, unused
3996                 - clean up formatting
3997                 - (nm_spawn_process): de-uglify
3998
3999         * src/nm-device-802-11-wireless.c
4000                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
4001
4002 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
4003
4004         * initscript/Gentoo/NetworkManager.in:
4005                 Fix for starting the daemon.
4006
4007 2008-04-25  Dan Williams  <dcbw@redhat.com>
4008
4009         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4010
4011         * src/NetworkManagerSystem.c
4012                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4013
4014 2008-04-25  Dan Williams  <dcbw@redhat.com>
4015
4016         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4017
4018         * src/NetworkManagerSystem.c
4019                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4020                         implementation of nm_system_device_replace_default_route()
4021
4022         * src/NetworkManagerPolicy.c
4023                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4024
4025         * src/backends/NetworkManagerArch.c
4026           src/backends/NetworkManagerDebian.c
4027           src/backends/NetworkManagerFrugalware.c
4028           src/backends/NetworkManagerGeneric.c
4029           src/backends/NetworkManagerGeneric.h
4030           src/backends/NetworkManagerGentoo.c
4031           src/backends/NetworkManagerMandriva.c
4032           src/backends/NetworkManagerPaldo.c
4033           src/backends/NetworkManagerRedHat.c
4034           src/backends/NetworkManagerSlackware.c
4035           src/backends/NetworkManagerSuSE.c
4036                 - (nm_system_device_replace_default_route): remove
4037
4038 2008-04-25  Dan Williams  <dcbw@redhat.com>
4039
4040         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4041
4042         * src/NetworkManagerSystem.c
4043                 - (validate_ip4_route): remove; use nl_addr_parse() instead
4044                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4045                         replace nm_system_device_add_route_via_device_with_iface() in the
4046                         backends
4047
4048         * src/backends/NetworkManagerArch.c
4049           src/backends/NetworkManagerDebian.c
4050           src/backends/NetworkManagerFrugalware.c
4051           src/backends/NetworkManagerGeneric.c
4052           src/backends/NetworkManagerGeneric.h
4053           src/backends/NetworkManagerGentoo.c
4054           src/backends/NetworkManagerMandriva.c
4055           src/backends/NetworkManagerPaldo.c
4056           src/backends/NetworkManagerRedHat.c
4057           src/backends/NetworkManagerSlackware.c
4058           src/backends/NetworkManagerSuSE.c
4059                 - Remove nm_system_device_add_route_via_device_with_iface()
4060
4061 2008-04-25  Dan Williams  <dcbw@redhat.com>
4062
4063         * system-settings/plugins/ifcfg-fedora/parser.c
4064                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4065
4066 2008-04-24  Dan Williams  <dcbw@redhat.com>
4067
4068         * dispatcher-daemon/NetworkManagerDispatcher.c
4069                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4070
4071 2008-04-24  Dan Williams  <dcbw@redhat.com>
4072
4073         * initscript/RedHat/NetworkManager.in
4074           initscript/RedHat/NetworkManagerDispatcher.in
4075                 - Be active at runlevel 2
4076                 - Adjust priorities earlier
4077
4078 2008-04-22  Dan Williams  <dcbw@redhat.com>
4079
4080         * src/NetworkManagerPolicy.c
4081                 - (update_routing_and_dns): when checking for a gateway, look at the
4082                         composite IP4 config, not the connection's ip4-config setting, which
4083                         doesn't include DHCP-returned information
4084
4085 2008-04-22  Tambet Ingo  <tambet@gmail.com>
4086
4087         Implement GKeyFile system settings plugin.
4088         Implement writing system settings (currently supported only by GKeyFile plugin).
4089
4090         * system-settings/src/main.c: 
4091         * system-settings/src/dbus-settings.c: Move the communication with plugins
4092         from main.c to dbus-settings.c. Makes it possible to talk to all registered
4093         plugins for adding/updating/removing connections.
4094
4095         * system-settings/src/nm-system-config-interface.c
4096         (nm_system_config_interface_add_connection): Implement
4097         (nm_system_config_interface_update_connection): Implement.
4098         (nm_system_config_interface_remove_connection): Implement.
4099
4100         * system-settings/plugins/keyfile/Makefile.am:
4101         * system-settings/plugins/keyfile/plugin.[ch]:
4102         * system-settings/plugins/keyfile/writer.[ch]:
4103         * system-settings/plugins/keyfile/reader.[ch]: Implement.
4104
4105         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4106
4107         * configure.in: Generate GKeyFile Makefile.
4108
4109         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4110         corruption, need to duplicate the returned string.
4111         (impl_exported_connection_update): Implement.
4112         (impl_exported_connection_delete): Implement.
4113
4114         * introspection/nm-settings-system.xml: Add "AddConnection" method.
4115
4116         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4117
4118 2008-04-22  Dan Williams  <dcbw@redhat.com>
4119
4120         Patch from Charles R. Anderson (cra@wpi.edu)
4121
4122         * src/NetworkManagerPolicy.c
4123                 - (update_routing_and_dns): don't select devices without a gateway
4124                         as having the default route (rh #437338)
4125
4126 2008-04-21  Dan Williams  <dcbw@redhat.com>
4127
4128         * src/nm-activation-request.c
4129           src/nm-activation-request.h
4130                 - (dispose): ensure to disconnect from the device's state-changed signal
4131                         when appropriate so the signal doesn't get handled by an already
4132                         disposed NMActRequest
4133                 - (device_state_changed): update is_default here too just to make sure
4134                         default is only True when the child device is activated
4135                 - (nm_act_request_set_default): new function
4136
4137         * src/NetworkManagerPolicy.c
4138                 - (update_routing_and_dns): set 'default' on the active connection which
4139                         has the default route and DNS
4140
4141 2008-04-21  Dan Williams  <dcbw@redhat.com>
4142
4143         * src/NetworkManagerPolicy.c
4144                 - (device_state_changed): update routing and DNS when a device goes
4145                         into unmanaged or unavailable states too (like rfkill or carrier loss)
4146
4147 2008-04-21  Dan Williams  <dcbw@redhat.com>
4148
4149         * include/NetworkManager.h
4150                 - Add NMActiveConnectionState enum
4151
4152         * introspection/nm-active-connection.xml
4153           introspection/nm-vpn-connection.xml
4154                 - Add 'State' property for overall active connection state
4155                 - Add 'Default' property, when True means this active connection
4156                         has the default route
4157                 - Add PropertyChanged signals so changes actually go out over the bus
4158
4159         * src/nm-active-connection.h
4160                 - Add defines for State & Default properties
4161
4162         * src/nm-activation-request.c
4163                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4164                         signal to determine active connection state
4165
4166         * src/vpn-manager/nm-vpn-connection.c
4167           src/vpn-manager/nm-vpn-connection.h
4168           src/vpn-manager/nm-vpn-manager.c
4169           src/vpn-manager/nm-vpn-service.c
4170                 - Rename old 'state' to 'vpn-state'
4171                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4172                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4173                         'vpn-state-changed' signal
4174
4175         * libnm-glib/nm-active-connection.c
4176           libnm-glib/nm-active-connection.h
4177                 - Add new 'state' and 'default' properties and accessors
4178
4179         * libnm-glib/nm-vpn-connection.c
4180           libnm-glib/nm-vpn-connection.h
4181                 - Rename old 'state' property to 'vpn-state'
4182                 - Add new 'state' and 'default' properties and accessors
4183
4184 2008-04-21  Dan Williams  <dcbw@redhat.com>
4185
4186         * src/nm-ip4-config.c
4187                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4188                         not specified (rh #443474)
4189
4190 2008-04-20  Dan Williams  <dcbw@redhat.com>
4191
4192         * src/NetworkManagerUtils.c
4193           src/NetworkManagerUtils.h
4194                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4195                         NMSettingIP4Config to an NMIP4Config object
4196
4197         * src/nm-device.c
4198                 - (merge_ip4_config): move to NetworkManagerUtils.c
4199
4200         * src/vpn-manager/nm-vpn-connection.c
4201                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4202                         too
4203
4204 2008-04-18  Dan Williams  <dcbw@redhat.com>
4205
4206         * libnm-util/nm-setting-ppp.c
4207           libnm-util/nm-setting-ppp.h
4208                 - Add 'no-vj-comp' option for TCP header compression
4209                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4210                         uint32
4211
4212 2008-04-18  Dan Williams  <dcbw@redhat.com>
4213
4214         * libnm-util/nm-setting-ppp.c
4215           libnm-util/nm-setting-ppp.h
4216           src/ppp-manager/nm-ppp-manager.c
4217                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4218
4219 2008-04-18  Dan Williams  <dcbw@redhat.com>
4220
4221         * libnm-util/nm-setting-ppp.c
4222           libnm-util/nm-setting-ppp.h
4223           src/ppp-manager/nm-ppp-manager.c
4224                 - Remove the 'usepeerdns' option and always request DNS servers from
4225                         the PPP server; the connection chooses to use/override/ignore the
4226                         DNS servers returned from the PPP server
4227
4228 2008-04-18  Dan Williams  <dcbw@redhat.com>
4229
4230         * libnm-util/nm-setting-ppp.c
4231           libnm-util/nm-setting-ppp.h
4232           src/ppp-manager/nm-ppp-manager.c
4233                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4234                         it seems to have been an erroneous addition to the PPTP plugin in
4235                         the first place (from which the ppp-manager is derived)
4236
4237 2008-04-17  Dan Williams  <dcbw@redhat.com>
4238
4239         * libnm-util/nm-setting-pppoe.c
4240                 - (verify): require a PPP setting too
4241
4242         * src/ppp-manager/nm-ppp-manager.c
4243                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4244                         segfaulting
4245
4246 2008-04-17  Dan Williams  <dcbw@redhat.com>
4247
4248         * src/nm-device.c
4249                 - (nm_device_state_changed): do deactivation and and promotion to
4250                         unavailable here, so that the device gets cleaned up before the
4251                         manager runs and starts emitting signals; do the
4252                         FAILED->DISCONNECTED transition from an idle handler rather than
4253                         immediately to guard against recursion
4254                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4255                         FAILED->DISCONNECTED handler if it's scheduled
4256
4257 2008-04-17  Dan Williams  <dcbw@redhat.com>
4258
4259         * src/nm-device-802-11-wireless.c
4260                 - (state_changed_cb): clear AP list when device transitions to
4261                         unavailable or unmanaged
4262                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4263                         since this is already done in device_cleanup()
4264                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4265                         isn't available or managed
4266                 - (device_cleanup): use remove_all_aps()
4267                 - (remove_all_aps): consolidate code removing all APs
4268
4269 2008-04-17  Dan Williams  <dcbw@redhat.com>
4270
4271         * src/nm-serial-device.c
4272           src/nm-serial-device.h
4273                 - (wait_for_reply_got_data): break input into lines, and search each
4274                         line for responses _and_ terminator strings; also make sure that
4275                         the read loop doesn't continue after the timeout is supposed to fire
4276                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4277
4278         * src/nm-gsm-device.c
4279           src/nm-cdma-device.c
4280                 - Send terminators to nm_serial_device_wait_for_reply()
4281
4282 2008-04-16  Dan Williams  <dcbw@redhat.com>
4283
4284         Patch from 陈鑫 <znscnchen@gmail.com>
4285
4286         * src/ppp-manager/nm-pppd-plugin.c
4287                 - (get_credentials): return correct value for success; handle case where
4288                         pppd just does some checking but doesn't want a password
4289                 - (plugin_init): make CHAP work too
4290
4291 2008-04-16  Dan Williams  <dcbw@redhat.com>
4292
4293         Patch from 陈鑫 <znscnchen@gmail.com>
4294
4295         * src/ppp-manager/nm-ppp-manager.c
4296                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4297
4298 2008-04-16  Dan Williams  <dcbw@redhat.com>
4299
4300         Patch from 陈鑫 <znscnchen@gmail.com>
4301
4302         * src/nm-device-802-3-ethernet.c
4303                 - (real_deactivate_quickly): clear the IP interface name on
4304                         deactivation, otherwise the wrong interface might get used later
4305                         for routing and IP management
4306
4307 2008-04-15  Dan Williams  <dcbw@redhat.com>
4308
4309         * libnm-glib/nm-device.c
4310                 - (get_product_and_vendor): handle serial devices correctly
4311                 - (nm_device_update_description): pass device to get_product_and_vendor()
4312
4313 2008-04-15  Dan Williams  <dcbw@redhat.com>
4314
4315         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4316
4317         * src/NetworkManagerSystem.h
4318           src/backends/NetworkManagerArch.c
4319           src/backends/NetworkManagerDebian.c
4320           src/backends/NetworkManagerFrugalware.c
4321           src/backends/NetworkManagerGeneric.c
4322           src/backends/NetworkManagerGeneric.h
4323           src/backends/NetworkManagerGentoo.c
4324           src/backends/NetworkManagerMandriva.c
4325           src/backends/NetworkManagerPaldo.c
4326           src/backends/NetworkManagerRedHat.c
4327           src/backends/NetworkManagerSlackware.c
4328           src/backends/NetworkManagerSuSE.c
4329           src/nm-device.c
4330                 - (nm_generic_device_add_ip6_link_address,
4331                    nm_system_device_add_ip6_link_address): remove
4332
4333 2008-04-15  Dan Williams  <dcbw@redhat.com>
4334
4335         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4336
4337         * src/backends/NetworkManagerArch.c
4338           src/backends/NetworkManagerDebian.c
4339           src/backends/NetworkManagerFrugalware.c
4340           src/backends/NetworkManagerGeneric.c
4341           src/backends/NetworkManagerGeneric.h
4342           src/backends/NetworkManagerGentoo.c
4343           src/backends/NetworkManagerMandriva.c
4344           src/backends/NetworkManagerPaldo.c
4345           src/backends/NetworkManagerRedHat.c
4346           src/backends/NetworkManagerSlackware.c
4347           src/backends/NetworkManagerSuSE.c
4348           src/NetworkManagerSystem.h
4349                 - flush_routes -> flush_ip4_routes
4350                 - flush_addresses -> flush_ip4_addresses
4351
4352         * src/NetworkManagerSystem.c
4353           src/nm-device.c
4354           src/vpn-manager/nm-vpn-connection.c
4355                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4356
4357 2008-04-15  Dan Williams  <dcbw@redhat.com>
4358
4359         Remove exposure of wireless-tools mode types in the API.
4360
4361         * include/NetworkManager.h
4362                 - Define NM80211Mode enum
4363
4364         * introspection/generic-types.xml
4365                 - Describe NM_802_11_MODE enum
4366                 - Remove IW_MODE_* enum
4367
4368         * introspection/nm-access-point.xml
4369           libnm-glib/nm-access-point.c
4370           libnm-glib/nm-access-point.h
4371                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4372
4373         * introspection/nm-device-802-11-wireless.xml
4374           libnm-glib/nm-device-802-11-wireless.c
4375           libnm-glib/nm-device-802-11-wireless.h
4376                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4377
4378         * libnm-util/nm-setting-wireless.c
4379           src/NetworkManagerAP.c
4380           src/NetworkManagerAP.h
4381           src/nm-device-802-11-wireless.c
4382           src/nm-device-802-11-wireless.h
4383           test/nm-tool.c
4384                 - Use NM80211Mode not IW_MODE_*
4385
4386 2008-04-15  Dan Williams  <dcbw@redhat.com>
4387
4388         Enhance nm-online based on a patch from Bill Nottingham.
4389
4390         * test/nm-online.c
4391                 - Add a '-q' option
4392                 - Add help messages and option summary
4393                 - Add long-format options
4394                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4395
4396 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4397
4398         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4399
4400         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4401
4402 2008-04-15  Dan Williams  <dcbw@redhat.com>
4403
4404         * nm-setting-ip4-config.c
4405                 - (ip4_addresses_from_gvalue): handle NULL address array
4406
4407         * nm-setting-8021x.c
4408                 - (verify_tls, verify_ttls): warn on failed verification
4409
4410 2008-04-10  Dan Williams  <dcbw@redhat.com>
4411
4412         * src/nm-gsm-device.c
4413                 - (automatic_registration): accept "+CREG: 0,0"
4414                 - (automatic_registration_response): fail on "+CREG: 0,0"
4415
4416 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4417
4418         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4419
4420 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4421
4422         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4423         Make it compile again by commenting out broken code that at first didn't work and
4424         now didn't compile either.
4425
4426 2008-04-08  Dan Williams  <dcbw@redhat.com>
4427
4428         * libnm-glib/nm-object-cache.c
4429           libnm-glib/nm-settings.c
4430           src/dhcp-manager/nm-dhcp-manager.c
4431           system-settings/plugins/ifcfg-fedora/plugin.c
4432           system-settings/plugins/ifcfg-suse/plugin.c
4433           system-settings/src/nm-system-config-hal-manager.c
4434           libnm-util/nm-utils.c
4435                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4436                         not threadsafe anyway
4437
4438 2008-04-08  Dan Williams  <dcbw@redhat.com>
4439
4440         * system-settings/src/main.c
4441                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4442                         callbacks take a device type too
4443
4444 2008-04-08  Dan Williams  <dcbw@redhat.com>
4445
4446         The system settings service will now create a new default DHCP connection
4447         for wired devices that have no existing applicable connection.
4448
4449         * system-settings/src/nm-system-config-hal-manager.c
4450           system-settings/src/nm-system-config-hal-manager.h
4451                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4452
4453         * system-settings/src/dbus-settings.c
4454           system-settings/src/dbus-settings.h
4455                 - (nm_sysconfig_settings_get_connections): new function
4456                 - (nm_sysconfig_settings_is_device_managed): new function
4457
4458         * system-settings/src/main.c
4459                 - (load_stuff): check for wired devices that need a default connection
4460                 - (get_details_for_udi): get interface and MAC address from HAL
4461                 - (add_default_dhcp_connection): add a default connection for a wired
4462                         device if needed
4463                 - (device_added_cb, device_removed_cb): do the right thing with
4464                         wired devices and their default connections on HAL device events
4465
4466 2008-04-07  Dan Williams  <dcbw@redhat.com>
4467
4468         * libnm-glib/nm-device.c
4469           libnm-glib/nm-device.h
4470                 - Proxy the 'managed' property
4471
4472 2008-04-07  Dan Williams  <dcbw@redhat.com>
4473
4474         * src/nm-gsm-device.c
4475           src/nm-cdma-device.c
4476                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4477                         handler to transition to DISCONNECTED
4478
4479 2008-04-07  Dan Williams  <dcbw@redhat.com>
4480
4481         Patch from Bill Nottingham
4482
4483         * dispatcher-daemon/NetworkManagerDispatcher.c
4484                 - ignore backup/packaging crufy (rh #440143)
4485
4486 2008-04-07  Dan Williams  <dcbw@redhat.com>
4487
4488         * include/NetworkManager.h
4489                 - Remove the DOWN and CANCELLED device states
4490                 - Add UNMANAGED and UNAVAILABLE device states
4491                 - Document the device states
4492
4493         * introspection/nm-device.xml
4494           src/nm-device-interface.c
4495           src/nm-device-interface.h
4496                 - Add the 'managed' property
4497
4498         * test/nm-tool.c
4499                 - (detail_device): print out device state
4500
4501         * src/NetworkManagerSystem.h
4502           src/backends/NetworkManagerArch.c
4503           src/backends/NetworkManagerDebian.c
4504           src/backends/NetworkManagerFrugalware.c
4505           src/backends/NetworkManagerGentoo.c
4506           src/backends/NetworkManagerMandriva.c
4507           src/backends/NetworkManagerPaldo.c
4508           src/backends/NetworkManagerRedHat.c
4509           src/backends/NetworkManagerSlackware.c
4510           src/backends/NetworkManagerSuSE.c
4511                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4512                    nm_system_device_free_system_config): remove; they were unused and
4513                         their functionality should be re-implemented in each distro's
4514                         system settings service plugin 
4515
4516         * src/nm-gsm-device.c
4517           src/nm-gsm-device.h
4518           src/nm-cdma-device.c
4519           src/nm-cdma-device.h
4520                 - (*_new): take the 'managed' argument
4521
4522         * src/nm-device.c
4523                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4524                 - (nm_device_init): start in unmanaged state, not disconnected
4525                 - (constructor): don't start device until the system settings service
4526                         has had a chance to figure out if the device is managed or not
4527                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4528                         don't set device state here, let callers handle that as appropriate
4529                 - (nm_device_dispose): don't touch the device if it's not managed
4530                 - (set_property, get_property, nm_device_class_init): implement the
4531                         'managed' property
4532                 - (nm_device_state_changed): bring the device up if its now managed,
4533                         and deactivate it if it used to be active
4534                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4535                         with the managed state
4536
4537         * src/nm-hal-manager.c
4538                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4539                         take initial managed state and pass it along to device constructors
4540                 - (create_device_and_add_to_list): get managed state and pass to
4541                         type creators
4542
4543         * src/nm-device-802-11-wireless.c
4544                 - (real_can_activate): fold in most of
4545                         nm_device_802_11_wireless_can_activate()
4546                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4547                 - (link_timeout_cb): instead of deactivating, change device state and
4548                         let the device state handler to it
4549                 - (real_update_hw_address): clean up
4550                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4551                         handler to transition to DISCONNECTED if the device isn't rfkilled
4552
4553         * src/nm-device-802-3-ethernet.c
4554                 - (set_carrier): move above callers and get rid of prototype
4555                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4556                         idle handler to transition to DISCONNECTED if the device has a
4557                         carrier
4558                 - (real_update_hw_address): clean up
4559                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4560                         deactivation directly as deactivation doesn't change state anymore
4561
4562         * src/NetworkManagerPolicy.c
4563                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4564                         the NMManager and wireless devices work that out themselves now
4565                 - (device_state_changed): change to a switch and update for new device
4566                         states
4567                 - (device_carrier_changed): remove; device handles this now through
4568                         state changes
4569                 - (device_added): don't care about carrier any more; the initial
4570                         activation check will happen when the device transitions to
4571                         DISCONNECTED
4572
4573         * src/nm-manager.c
4574                 - (dispose): clear unmanaged devices
4575                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4576                         the managed property on each device when needed
4577                 - (system_settings_properties_changed_cb): handle signals from the
4578                         system settings service
4579                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4580                         getting the unmanaged device list method call
4581                 - (query_unmanaged_devices): ask the system settings service for its
4582                         list of unmanaged devices
4583                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4584                         devices
4585                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4586                         devices directly and let them handle the necessary state transitions
4587                 - (manager_device_state_changed): update for new device states
4588                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4589                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4590                 - (nm_manager_activate_connection): return error if the device is
4591                         unmanaged
4592                 - (nm_manager_sleep): handle new device states correctly; don't change
4593                         the state of unavailable/unmanaged devices
4594
4595         * libnm-glib/nm-device-802-11-wireless.c
4596                 - (state_changed_cb): update for new device states
4597
4598 2008-04-07  Dan Williams  <dcbw@redhat.com>
4599
4600         * marshallers/nm-marshal.list
4601                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4602
4603 2008-04-07  Dan Williams  <dcbw@redhat.com>
4604
4605         * system-settings/src/main.c
4606                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4607                         plugins to the dbus settings object
4608                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4609                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4610                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4611                 - (main): switch default logging to syslog with a 'debug' option to
4612                         output to console; start up the HAL manager
4613
4614 2008-04-07  Dan Williams  <dcbw@redhat.com>
4615
4616         * introspection/nm-settings-system.xml
4617           introspection/Makefile.am
4618                 - Define the unmanaged devices interface for the system settings service
4619
4620         * system-settings/src/nm-system-config-hal-manager.c
4621           system-settings/src/nm-system-config-hal-manager.h
4622           system-settings/src/nm-system-config-hal-manager-private.h
4623           system-settings/src/Makefile.am
4624                 - Add a lightweight HAL manager object for tracking network devices for
4625                         the purpose of determining unmanaged devices and which devices need
4626                         the default DHCP connections
4627
4628         * system-settings/src/nm-system-config-interface.c
4629           system-settings/src/nm-system-config-interface.h
4630                 - (nm_system_config_interface_init): add the HAL manager as an argument
4631                 - (nm_system_config_interface_get_unmanaged_devices): implement
4632                 - Define 'unmanaged-devices-changed' signal
4633
4634         * system-settings/src/dbus-settings.c
4635           system-settings/src/dbus-settings.h
4636                 - Implement the unmanaged devices interface; some cleanups
4637
4638         * system-settings/plugins/ifcfg-suse/plugin.c
4639                 - Fixup for plugin interface changes
4640
4641         * system-settings/plugins/ifcfg-fedora/plugin.c
4642                 - (get_ether_device_udi): new function; find the device that has
4643                         a specified MAC address and return its UDI
4644                 - (get_udi_for_connection): new function; try to find the specific
4645                         device a connection is locked to, if any
4646                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4647                         response to HAL events
4648                 - (get_unmanaged_devices): new function; return unmanaged device list
4649                 - (build_one_connection): set the connection's locked device, if any
4650                 - (write_auto_wired_connection): remove
4651                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4652                 - (handle_connection_changed): alert listeners that the unmanaged device
4653                         list has changed
4654                 - (init): fixup for plugin interface changes, implement unmanaged devices
4655
4656         * system-settings/plugins/ifcfg-fedora/parser.c
4657           system-settings/plugins/ifcfg-fedora/parser.h
4658                 - (connection_data_free): clean up connection UDI
4659
4660 2008-04-07  Dan Williams  <dcbw@redhat.com>
4661
4662         * system-settings/plugins/ifcfg-fedora/parser.c
4663                 - (make_ip4_setting): fix parsing of DNS servers
4664
4665 2008-04-05  Dan Williams  <dcbw@redhat.com>
4666
4667         * Makefile.am
4668           configure.in
4669           marshallers/Makefile.am
4670           marshallers/nm-marshal-main.c
4671           marshallers/nm-marshal.list
4672                 - Consolidate marshallers
4673
4674         * libnm-glib/nm-marshal-main.c
4675           libnm-glib/nm-marshal.list
4676           src/marshallers/Makefile.am
4677           src/marshallers/nm-marshal-main.c
4678           src/marshallers/nm-marshal.list
4679                 - Remove
4680
4681         * libnm-glib/Makefile.am
4682           src/Makefile.am
4683           src/dhcp-manager/Makefile.am
4684           src/ppp-manager/Makefile.am
4685           src/supplicant-manager/Makefile.am
4686           src/vpn-manager/Makefile.am
4687                 - Use consolidated marshallers
4688
4689 2008-04-04  Dan Williams  <dcbw@redhat.com>
4690
4691         * src/nm-hal-manager.c
4692           src/nm-hal-manager.h
4693                 - (hal_init): don't look for hardware here
4694                 - (nm_hal_manager_start): new function; look for hardware here instead,
4695                         which can be done at a later time than hal_init()
4696
4697         * src/NetworkManager.c
4698                 - (main): start HAL manager after entering the main loop
4699
4700 2008-04-03  Dan Williams  <dcbw@redhat.com>
4701
4702         * libnm-glib/nm-settings.c
4703           libnm-glib/nm-settings.h
4704             - (nm_exported_connection_get_id): new function
4705                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4706
4707 2008-04-02  Dan Williams  <dcbw@redhat.com>
4708
4709         * src/nm-device-interface.c
4710           src/nm-device-interface.h
4711           src/nm-device.c
4712           src/nm-device.h
4713                 - Rename check_connection_conflicts() to check_connection_compatible()
4714
4715         * src/nm-device-802-11-wireless.c
4716                 - (real_check_connection_conflicts): remove
4717                 - (real_check_connection_compatible): implement; match MAC address
4718
4719         * src/nm-device-802-3-ethernet.c
4720                 - (real_check_connection_conflicts): remove
4721                 - (real_check_connection_compatible): implement; match MAC address
4722                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4723
4724         * src/nm-manager.c
4725                 - (check_connection_allowed): remove; unused until PolicyKit integration
4726                 - (internal_activate_device): check whether the connection is compatible
4727                         with the device before trying to activate it
4728
4729 2008-04-02  Dan Williams  <dcbw@redhat.com>
4730
4731         * system-settings/plugins/ifcfg-fedora/parser.c
4732                 - (read_mac_address): new function; read in MAC address and stuff it
4733                         into the connection
4734                 - (add_one_wep_key): remove debug spew
4735                 - (make_wireless_security_setting): validate the default TX key; don't
4736                         add the wireless-security setting if the connection doesn't need
4737                         security; don't leak the keys shvarFile on error cases
4738                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4739                         address
4740
4741 2008-04-02  Dan Williams  <dcbw@redhat.com>
4742
4743         * libnm-util/nm-setting-connection.c
4744           libnm-util/nm-setting-connection.h
4745                 - (set_property, get_property, nm_setting_connection_class_init): remove
4746                         the 'lockdown' property; it's functionality will be replaced by
4747                         PolicyKit instead
4748
4749 2008-04-01  Dan Williams  <dcbw@redhat.com>
4750
4751         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4752
4753         * configure.in
4754           initscript/Makefile.am
4755           initscript/Mandriva/Makefile.am
4756           initscript/Mandriva/networkmanager.in
4757           initscript/Mandriva/networkmanagerdispatcher.in
4758           src/backends/Makefile.am
4759           src/backends/NetworkManagerMandriva.c
4760           system-settings/plugins/Makefile.am
4761                 - Add Mandriva support
4762
4763 2008-03-31  Dan Williams  <dcbw@redhat.com>
4764
4765         * src/vpn-manager/nm-vpn-service.c
4766                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4767                         errors can be passed back to the caller; also no longer scheduled
4768                         as an idle handler, but called directly; and bump up VPN service
4769                         spawn timeout, 2s is really short
4770                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4771                         but call it directly so that errors are reported on return from
4772                         ActivateConnection() and don't get lost.  If scheduled as an idle
4773                         handler, clients don't have the time to query NM for the new VPN
4774                         connection's properties before the VPN connection is torn down again
4775                         if the service couldn't be launched, and therefore launch errors
4776                         get lost.
4777
4778 2008-03-31  Dan Williams  <dcbw@redhat.com>
4779
4780         * src/vpn-manager/nm-vpn-connection.c
4781                 - (device_state_changed): send correct state on device failure too
4782                 - (plugin_state_changed): failed state means unexpected disconnection,
4783                         thus if the service goes away while the VPN connection is activated
4784                         that's a failure too
4785
4786 2008-03-31  Dan Williams  <dcbw@redhat.com>
4787
4788         * src/vpn-manager/nm-vpn-manager.c
4789           src/vpn-manager/nm-vpn-manager.h
4790                 - Make VPNManager errors more available; add a service-start-failed error
4791
4792 2008-03-31  Dan Williams  <dcbw@redhat.com>
4793
4794         * libnm-glib/nm-client.c
4795           libnm-glib/nm-client.h
4796                 - (activate_cb): pass the new active connection to callback; fix
4797                         message when no callback is specified
4798
4799 2008-03-30  Dan Williams  <dcbw@redhat.com>
4800
4801         * libnm-util/nm-setting-wireless-security.c
4802                 - (need_secrets): only require key0 if the transmit key index is also
4803                         0
4804                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4805
4806 2008-03-29  Dan Williams  <dcbw@redhat.com>
4807
4808         * libnm-util/nm-setting-8021x.c
4809           libnm-util/nm-setting-ip4-config.c
4810           libnm-util/nm-setting-vpn-properties.c
4811           libnm-util/nm-setting-vpn.c
4812           libnm-util/nm-setting-wireless-security.c
4813           libnm-util/nm-setting-wireless.c
4814           libnm-util/nm-utils.c
4815           src/dhcp-manager/nm-dhcp-manager.c
4816           src/nm-activation-request.c
4817           src/nm-ip4-config.c
4818           src/nm-manager.c
4819           src/nm-properties-changed-signal.c
4820           src/ppp-manager/nm-pppd-plugin.c
4821           src/supplicant-manager/nm-supplicant-interface.c
4822           src/vpn-manager/nm-vpn-connection.c
4823                 - consistently use nm-dbus-glib-types.h
4824
4825 2008-03-29  Dan Williams  <dcbw@redhat.com>
4826
4827         * src/vpn-manager/nm-vpn-connection.c
4828                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4829                         not string
4830
4831         * src/nm-activation-request.c
4832                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4833                         not string
4834
4835 2008-03-29  Dan Williams  <dcbw@redhat.com>
4836
4837         * libnm-glib/nm-device-802-11-wireless.c
4838                 - (access_point_added_proxy): create new APs if not found
4839
4840 2008-03-29  Dan Williams  <dcbw@redhat.com>
4841
4842         * libnm-glib/nm-client.c
4843                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4844                         before freeing them
4845
4846 2008-03-29  Dan Williams  <dcbw@redhat.com>
4847
4848         * system-settings/plugins/ifcfg-fedora/parser.c
4849                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4850                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4851
4852 2008-03-29  Dan Williams  <dcbw@redhat.com>
4853
4854         * system-settings/plugins/ifcfg-fedora/parser.c
4855                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4856
4857 2008-03-27  Dan Williams  <dcbw@redhat.com>
4858
4859         * nm-object.c
4860                 - (nm_object_queue_notify): don't notify multiple times for the same
4861                         property
4862
4863         * nm-object-private.h
4864                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4865                         if it has zero elements
4866
4867         * nm-ip4-config.c
4868                 - (finalize): use g_ptr_array_foreach() when freeing domains
4869                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4870
4871         * nm-active-connection.c
4872                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4873
4874         * nm-device-802-11-wireless.c
4875           nm-device-802-11-wireless.h
4876                 - (nm_device_802_11_wireless_get_access_points): return const; use
4877                         handle_ptr_array_return()
4878
4879         * nm-types.c
4880                 - (nm_object_array_demarshal): always create an array, even of length
4881                         zero, to distinguish between "NM returned no items" and "haven't
4882                         asked NM yet"
4883
4884         * nm-client.c
4885                 - (dispose): free active connections too
4886                 - (proxy_name_owner_changed): free active connections too when NM goes
4887                         away
4888                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4889                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4890
4891 2008-03-26  Dan Williams  <dcbw@redhat.com>
4892
4893         Rework VPN connection handling for a more consistent D-Bus API.  The
4894         VPNManager object has been removed, and active VPN connections are now the
4895         same as any other active connection.  The Manager object's ActivateConnection
4896         and DeactivateConnection methods are used to start and stop a VPN connection,
4897         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4898         When activating a VPN connection, pass the path of the active connection
4899         to which the VPN connection is tied in the 'specific_object' argument.
4900
4901         Consequently, the libnm-glib API has been reworked to match this arrangement,
4902         with the VPNManager object removed, and the NMVPNConnection objects now
4903         being subclasses of NMActiveConnection.
4904
4905 2008-03-25  Dan Williams  <dcbw@redhat.com>
4906
4907         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4908
4909         * initscript/Arch/networkmanager.in
4910           initscript/Arch/networkmanager-dispatcher.in
4911                 - Updates for Arch Linux (gnome.org #523701)
4912
4913 2008-03-25  Dan Williams  <dcbw@redhat.com>
4914
4915         * libnm-glib/nm-ip4-config.c
4916           libnm-glib/nm-active-connection.c
4917           libnm-glib/nm-access-point.c
4918                 - Use nm_object_queue_notify() instead of g_object_notify()
4919
4920         * libnm-glib/nm-device.c
4921                 - (demarshal_ip4_config): distinguish between successful but missing
4922                         ip4-config request, and unsuccessful and missing ip4-config request
4923                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4924                         path
4925                 - Use nm_object_queue_notify() instead of g_object_notify()
4926
4927         * libnm-glib/nm-device-802-11-wireless.c
4928                 - (demarshal_active_ap): distinguish between successfull but missing
4929                         active-ap request, and unsuccessful and missing active-ap request
4930                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4931                         code
4932                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4933                         for the NMClient to notify the device that wireless is disabled,
4934                         and therefore to clear the AP list and active AP
4935                 - Use nm_object_queue_notify() instead of g_object_notify()
4936
4937         * libnm-glib/nm-client.c
4938                 - (poke_wireless_devices_with_rf_status): new function
4939                 - (update_wireless_status): notify wireless devices of the rfkill status
4940                         so they can clean up if needed
4941                 - Use nm_object_queue_notify() instead of g_object_notify()
4942
4943 2008-03-25  Dan Williams  <dcbw@redhat.com>
4944
4945         * libnm-glib/nm-object.c
4946           libnm-glib/nm-object-private.h
4947                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4948                         signals to an idle handler
4949                 - (nm_object_get_property): add a timeout to the D-Bus method call
4950
4951 2008-03-25  Dan Williams  <dcbw@redhat.com>
4952
4953         * introspection/nm-device-cdma.xml
4954           introspection/nm-device-gsm.xml
4955           introspection/Makefile.am
4956           introspection/all.xml
4957                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4958
4959         * src/nm-gsm-device.h
4960           src/nm-gsm-device.c
4961           src/nm-cdma-device.h
4962           src/nm-cdma-device.c
4963           src/Makefile.am
4964                 - Implement PropertiesChanged signals
4965
4966         * libnm-glib/nm-cdma-device.c
4967           libnm-glib/nm-cdma-device.c
4968                 - Attach to PropertiesChanged signals
4969
4970 2008-03-24  Dan Williams  <dcbw@redhat.com>
4971
4972         * libnm-glib/nm-client.c
4973                 - (client_device_added_proxy): add new devices to the internal device
4974                         list so they appear to clients
4975
4976 2008-03-24  Dan Williams  <dcbw@redhat.com>
4977
4978         Massive fixup of libnm-glib to:
4979         a) have all objects (with the exception of VPN) cache their properties and
4980                 update them asynchronously on PropertiesChanged signals from NM
4981         b) return internal const data for most attributes/properties instead of
4982                 allocated values that the caller must free
4983         c) cache wrapped objects such that a given D-Bus path will always map to the
4984                 same GObject returned by libnm-glib
4985         d) remove a few signals and move them to GObject property notifications
4986         e) match recent NM D-Bus API changes for activation/deactivation
4987         f) remove some private functions from libnm-glib headers
4988
4989 2008-03-20  Dan Williams  <dcbw@redhat.com>
4990
4991         * src/nm-manager.c
4992                 - (nm_manager_update_state, manager_device_state_changed,
4993                    nm_manager_activate_device, connection_added_default_handler,
4994                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4995                         queue PropertyChanged singals when the active connections change
4996
4997 2008-03-20  Dan Williams  <dcbw@redhat.com>
4998
4999         * introspection/nm-manager.xml
5000           introspection/nm-manager-client.xml
5001                 - (ActivateConnection): return the object path of the active connection
5002                         on success
5003                 - (GetActiveConnections): remove
5004                 - (DeactivateConnection): new function; deactivate a currently active
5005                         connection
5006                 - Add an ActiveConnections property which returns an array of
5007                         active connection object paths
5008
5009         * introspection/nm-device.xml
5010                 - (Deactivate): remove
5011
5012         * introspection/all.xml
5013                 - Add ActiveConnection introspection
5014
5015         * introspection/nm-active-connection.xml
5016                 - Add the ActiveConnection object
5017
5018         * include/NetworkManager.h
5019                 - Add the Connection.Active D-Bus interface
5020
5021         * src/nm-device-interface.c
5022                 - (impl_device_deactivate): remove
5023
5024         * src/nm-activation-request.c
5025           src/nm-activation-request.c
5026           src/Makefile.am
5027                 - Implement the Connection.Active D-Bus interface
5028
5029         * src/nm-manager.c
5030                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5031                 - (nm_manager_activate_device): return the active connection path
5032                 - (connection_added_default_handler, impl_manager_activate_connection):
5033                         return the active connection to the caller
5034                 - (add_one_connection_element, impl_manager_get_active_connections):
5035                         remove
5036                 - (impl_manager_deactivate_connection): new function; deactivate an
5037                         active connection
5038
5039         * libnm-glib/nm-device.c
5040           libnm-glib/nm-device.h
5041                 - Remove Deactivate() function
5042
5043 2008-03-19  Dan Williams  <dcbw@redhat.com>
5044
5045         * introspection/nm-manager.xml
5046           introspection/nm-manager-client.xml
5047                 - Rename the ActivateDevice method to ActivateConnection to better
5048                         reflect it's usage; it's arguments get reordered a bit too
5049                 - Convert GetActiveConnections method return from a struct to a dict
5050
5051         * include/NetworkManager.h
5052                 - Define the dict keys for return value of GetActiveConnections
5053
5054         * src/nm-manager.c
5055                 - impl_manager_activate_device -> impl_manager_activate_connection
5056                 - (add_one_connection_element): return a populated hash table, not
5057                         a structure
5058
5059         * libnm-glib/nm-client.c
5060           libnm-glib/nm-client.h
5061                 - nm_client_activate_device -> nm_client_activate_connection
5062                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5063                 - (nm_client_get_active_connections): return a GSList of GHashTables,
5064                         instead of the custom structures.  Each element of the returned list
5065                         must be freed with nm_client_free_active_connections_element()
5066
5067 2008-03-18  Dan Williams  <dcbw@redhat.com>
5068
5069         * system-settings/plugins/ifcfg-fedora/parser.c
5070           system-settings/plugins/ifcfg-fedora/parser.h
5071           system-settings/plugins/ifcfg-fedora/plugin.c
5072                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5073                         profiles.  DNS servers and searches must now be stored in the ifcfg
5074                         files themselves
5075
5076 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5077
5078         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5079         print out username and password, it's supposed to be a secret.
5080
5081         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
5082         request and set the device state accordingly.
5083
5084 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5085
5086         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5087
5088         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5089
5090 2008-03-18  Dan Williams  <dcbw@redhat.com>
5091
5092         * src/vpn-manager/nm-vpn-connection.c
5093                 - (get_secrets_cb): handle new GetSecrets return format
5094
5095 2008-03-18  Dan Williams  <dcbw@redhat.com>
5096
5097         Adapt system settings service for split 802.1x.
5098
5099         * system-settings/src/nm-system-config-interface.h
5100                 - clarify return value of get_secrets()
5101
5102         * system-settings/src/dbus-settings.c
5103                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5104                 - (check_for_secrets): check if there actually secrets returned by a
5105                         plugin
5106                 - (exported_connection_get_secrets): just return the plugin-returned
5107                         hash of settings' secrets if it looks valid
5108
5109         * system-settings/plugins/ifcfg-fedora/plugin.c
5110                 - (get_secrets): add split secrets with correct format to reply hash
5111
5112         * system-settings/plugins/ifcfg-fedora/parser.c
5113           system-settings/plugins/ifcfg-fedora/parser.h
5114                 - (copy_one_cdata_secret, connection_data_copy_secrets,
5115                    connection_data_free, connection_data_add): keep secrets for
5116                         different settings in different hashes
5117
5118 2008-03-17  Tambet Ingo  <tambet@gmail.com>
5119
5120         Clean up activating device deactivation.
5121
5122         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5123         should be done whether the device activation gets cancelled or the device
5124         is just getting deactivated.
5125         (nm_device_activation_cancel): Remove.
5126         (nm_device_deactivate_quickly): Handle the case where device is activating.
5127
5128         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5129         It does the exact same thing as real_deactivate_quickly().
5130
5131 2008-03-17  Dan Williams  <dcbw@redhat.com>
5132
5133         Split the 802.1x bits out of the wireless-security setting so they are
5134         generalized enough for wired 802.1x to use too.
5135
5136         * introspection/nm-exported-connection.xml
5137                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5138                         of just a hash of the secrets for one setting
5139
5140         * libnm-util/nm-setting-wireless-security.c
5141           libnm-util/nm-setting-wireless-security.h
5142                 - Remove 802.1x-specific stuff
5143                 - Added leap-username and leap-password properties for old-school LEAP
5144
5145         * src/nm-device.c
5146           src/nm-device.h
5147                 - (connection_secrets_updated_cb): take a list of updated settings names,
5148                         not just one
5149
5150         * src/supplicant-manager/nm-supplicant-config.c
5151           src/supplicant-manager/nm-supplicant-config.h
5152                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5153                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5154                         to nm_supplicant_config_add_setting_8021x()
5155                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5156                         the supplicant config
5157
5158         * src/nm-device-802-11-wireless.c
5159                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5160                 - (real_connection_secrets_updated): take a list of updated settings
5161                         names, not just one
5162
5163         * src/nm-device-802-3-ethernet.c
5164           src/nm-cdma-device.c
5165           src/nm-gsm-device.c
5166                 - (real_connection_secrets_updated_cb): take a list of updated settings
5167                         names, not just one
5168
5169         * src/nm-activation-request.c
5170           src/nm-activation-request.h
5171                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5172                         now passes a list of updated settings names, not just one
5173                 - (update_one_setting): new function; handle one updated setting
5174                 - (get_secrets_cb): handle multiple settings returned from the
5175                         settings service; have to be careful of ordering here as there are
5176                         some dependencies between settings (ex. wireless-security and 802.1x
5177                         in some cases)
5178
5179         * src/marshallers/nm-marshal.list
5180                 - new marshaller for connection-secrets-updated signal
5181
5182         * libnm-util/nm-setting-8021x.c
5183                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5184                         methods
5185                 - (verify): a valid 'eap' property is now required
5186
5187         * libnm-util/nm-connection.c
5188                 - (register_default_settings): add priorities to settings; there are
5189                         some dependencies between settings, and during the need_secrets
5190                         calls this priority needs to be respected.  For example, only the
5191                         wireless-security setting knows whether or not the connection is
5192                         going to use 802.1x or now, so it must be asked for secrets before
5193                         any existing 802.1x setting is
5194                 - (nm_connection_lookup_setting_type): expose
5195
5196         * libnm-util/nm-setting-wireless.c
5197                 - (verify): should verify even if all_settings is NULL; otherwise won't
5198                         catch the case where there is missing security
5199
5200         * libnm-util/nm-setting-wireless-security.c
5201                 - Remove everything to do with 802.1x
5202                 - Add old-school LEAP specific properties for username and password
5203                 - (need_secrets): rework LEAP secrets checking
5204                 - (verify): rework for LEAP and 802.1x verification
5205
5206 2008-03-17  Dan Williams  <dcbw@redhat.com>
5207
5208         * src/NetworkManagerPolicy.c
5209                 - (auto_activate_device): always remove the current activation check
5210                         from the pending activation list, otherwise when the policy gets
5211                         destroyed on NM exit it will attempt to free the already freed
5212                         activation check
5213
5214 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5215
5216         * src/backends/NetworkManagerSlackware.c 
5217         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5218
5219         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5220
5221 2008-03-14  Dan Williams  <dcbw@redhat.com>
5222
5223         * src/nm-manager.c
5224                 - (nm_device_interface_get_iface): g_object_get() will return an
5225                         allocated value, so this function must not return const
5226                 - (nm_device_interface_activate): free returned iface
5227
5228 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5229
5230         * libnm-util/Makefile.am: Add new files to build.
5231
5232         * libnm-util/nm-connection.c: Register NMSetting8021x.
5233
5234         * libnm-util/nm-setting-8021x.c
5235         * libnm-util/nm-setting-8021x.h: Implement.
5236
5237 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5238
5239         * libnm-util/Makefile.am: Add new files to build.
5240
5241         * libnm-util/nm-connection.c: Register NMSetting8021x.
5242
5243         * libnm-util/nm-setting-8021x.c
5244         * libnm-util/nm-setting-8021x.h: Implement.
5245
5246 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5247
5248         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5249         data.
5250
5251 2008-03-14  Dan Williams  <dcbw@redhat.com>
5252
5253         * include/wireless-helper.h
5254           include/Makefile.am
5255                 - One place for all the junk needed for #including wireless.h
5256
5257         * test/nm-tool.c
5258           src/NetworkManagerAP.c
5259           src/wpa.c
5260           src/Makefile.am
5261           libnm-util/nm-utils.c
5262           libnm-util/nm-setting-wireless.c
5263           libnm-glib/nm-device-802-11-wireless.c
5264           libnm-glib/nm-access-point.c
5265           libnm-glib/libnm-glib-test.c
5266                 - include wireless-helper.h, not iwlib.h
5267
5268         * configure.in
5269                 - Don't need libiw really, just need to check for wireless.h
5270
5271         * src/kernel-types.h
5272                 - Remove; used types moved into wpa.c
5273
5274         * src/nm-device-802-11-wireless.c
5275                 - (nm_device_802_11_wireless_update_signal_strength,
5276                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5277                    nm_device_802_11_wireless_set_mode,
5278                    nm_device_802_11_wireless_get_frequency,
5279                    nm_device_802_11_wireless_get_ssid,
5280                    nm_device_802_11_wireless_set_ssid,
5281                    nm_device_802_11_wireless_get_bitrate,
5282                    nm_device_802_11_wireless_get_bssid,
5283                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5284                         instead of iwlib functions
5285
5286 2008-03-14  Dan Williams  <dcbw@redhat.com>
5287
5288         * src/ppp-manager/nm-ppp-manager.c
5289                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5290                         should only take the DBusGMethodInvocation argument, not user/pass
5291                         too.  With dbus-glib, async functions only take 2 C arguments since
5292                         the real dbus method arguments get passed back with
5293                         dbus_g_method_return()
5294
5295 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5296
5297         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5298         Adapt the changes of NMSettingIP4Config.
5299
5300 2008-03-13  Dan Williams  <dcbw@redhat.com>
5301
5302         * src/NetworkManagerUtils.c
5303           src/NetworkManagerUtils.h
5304                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5305
5306         * src/NetworkManagerAP.c
5307           src/nm-device-802-11-wireless.c
5308           src/nm-device-802-3-ethernet.c
5309                 - s/iw_ether_ntop/nm_ether_ntop/g
5310
5311 2008-03-13  Dan Williams  <dcbw@redhat.com>
5312
5313         * src/NetworkManagerPolicy.c
5314                 - (update_routing_and_dns): never set the default route through an
5315                         IPv4LL addressed device
5316
5317 2008-03-13  Dan Williams  <dcbw@redhat.com>
5318
5319         * NetworkManagerUtils.c
5320           NetworkManagerUtils.h
5321                 - Remove NMSock stuff
5322                 - Remove the completion stuff
5323
5324         * nm-device.c
5325           nm-device.h
5326           NetworkManager.c
5327           NetworkManagerSystem.c
5328           autoip.c
5329           nm-device-802-11-wireless.c
5330           nm-device-802-3-ethernet.c
5331                 - Remove NMSock and completion stuff
5332                 - Remove nm_ioctl_info()
5333
5334 2008-03-12  Dan Williams  <dcbw@redhat.com>
5335
5336         * src/nm-device.c
5337                 - (merge_ip4_config): avoid duplicates
5338
5339 2008-03-12  Dan Williams  <dcbw@redhat.com>
5340
5341         * libnm-util/nm-setting-ip4-config.c
5342           libnm-util/nm-setting-ip4-config.h
5343                 - Remove 'manual' and 'autoip' properties
5344                 - Add 'method' property
5345                 - (verify): fix verification with 'method'
5346                 - (finalize): free 'method'
5347                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5348                         up for 'method'
5349
5350         * src/nm-device.c
5351                 - (real_act_stage3_ip_config_start): check IP4Config method
5352                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5353                         the future
5354                 - (merge_ip4_config): IP settings are valid with DHCP too
5355                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5356                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5357
5358         * src/nm-device-802-11-wireless.c
5359                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5360                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5361                         only on demand
5362
5363         * system-settings/plugins/ifcfg-fedora/parser.c
5364           system-settings/plugins/ifcfg-suse/parser.c
5365                 - (make_ip4_setting): fix up for 'method'
5366
5367 2008-03-12  Dan Williams  <dcbw@redhat.com>
5368
5369         * system-settings/plugins/ifcfg-fedora/parser.c
5370           system-settings/plugins/ifcfg-fedora/parser.h
5371                 - (get_ifcfg_name): ignore more file suffixes
5372                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5373
5374 2008-03-12  Dan Williams  <dcbw@redhat.com>
5375
5376         * configure.in
5377                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5378
5379 2008-03-12  Dan Williams  <dcbw@redhat.com>
5380
5381         * system-settings/plugins/ifcfg-fedora/plugin.c
5382                 - (write_auto_wired_connection): new function; write out an auto
5383                         wired connection file since the applet isn't doing it any more
5384                 - (reload_all_connections): write out the auto wired connection file
5385                         if there aren't any wired connections already
5386                 - (init): don't leak a GError
5387
5388 2008-03-12  Dan Williams  <dcbw@redhat.com>
5389
5390         * src/nm-device-interface.c
5391                 - (nm_device_interface_activate): print the ID of the connection
5392                         that's about to be activated
5393
5394 2008-03-12  Dan Williams  <dcbw@redhat.com>
5395
5396         Harmonize the 802.11 bitrate API
5397
5398         * introspection/nm-access-point.xml
5399                 - 'Rate' -> 'MaxBitrate'; clarify units
5400
5401         * introspection/nm-device-802-11-wireless.xml
5402                 - Clarify units of 'Bitrate'
5403
5404         * src/NetworkManagerAP.c
5405           src/NetworkManagerAP.h
5406                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5407                         property to 'max-bitrate'
5408                 - (foreach_property_cb): convert rate to Kb/s
5409
5410         * src/nm-device-802-11-wireless.c
5411                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5412
5413         * libnm-glib/nm-access-point.c
5414           libnm-glib/nm-access-point.h
5415                 - 'rate' -> 'max-bitrate'
5416
5417         * test/nm-tool.c
5418           libnm-glib/libnm-glib-test.c
5419                 - Fix up for these changes
5420
5421 2008-03-12  Dan Williams  <dcbw@redhat.com>
5422
5423         * src/nm-device.c
5424                 - (nm_device_set_ip4_config): don't send property notifications when
5425                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5426                         which dbus-glib can't parse because the value is NULL, which isn't
5427                         a legal object path.  Setting the IP4 config to NULL is only
5428                         valid when deactivating a device anyway, so the device state change
5429                         will alert listeners that the ip4 config is invalid.
5430
5431 2008-03-12  Dan Williams  <dcbw@redhat.com>
5432
5433         * src/nm-properties-changed-signal.c
5434                 - (add_to_string): better handling of NULL objects
5435
5436 2008-03-12  Dan Williams  <dcbw@redhat.com>
5437
5438         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5439         convert the libnm-glib NMDevice8023Ethernet to cached properties
5440
5441         * introspection/nm-device-802-3-ethernet.xml
5442                 - New 'Carrier' property
5443                 - New 'PropertiesChanged' signal
5444
5445         * introspection/nm-device.xml
5446                 - Remove 'Carrier' property
5447                 - Remove 'CarrierChanged' signal
5448
5449         * src/nm-device-interface.c
5450           src/nm-device-interface.h
5451                 - (nm_device_interface_init): remove 'carrier' property and
5452                         'carrier-changed' signal
5453
5454         * src/nm-device.c
5455           src/nm-device.h
5456                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5457                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5458                         the link here; wired device will handle that
5459                 - (handle_dhcp_lease_change): don't bother updating link here
5460                 - (get_property, nm_device_class_init): remove carrier property
5461
5462         * src/nm-device-802-11-wireless.c
5463                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5464                         real_update_link(); wireless devices don't use carrier at all
5465                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5466                    supplicant_iface_connection_state_cb_handler,
5467                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5468
5469         * src/nm-device-802-3-ethernet.c
5470           src/nm-device-802-3-ethernet.h
5471                 - (nm_device_802_3_ethernet_carrier_on,
5472                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5473                         instead of nm_device_set_carrier()
5474                 - (device_state_changed): update link from sysfs on activation;
5475                         replaces real_update_link()
5476                 - (real_update_link): remove, replaced by device_state_changed()
5477                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5478                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5479                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5480                         new get_carrier function
5481                 - (get_property): add 'carrier' property
5482                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5483                         hook into property-changed signal helper
5484
5485         * src/NetworkManagerPolicy.c
5486                 - (device_carrier_changed): will only ever be called with a wired device
5487                 - (device_added): only hook up to carrier-changed for wired devices
5488
5489         * libnm-glib/nm-device.c
5490           libnm-glib/nm-device.h
5491                 - (constructor, nm_device_class_init): remove carrier-changed signal
5492                 - (device_carrier_changed_proxy): remove; unused
5493                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5494
5495         * libnm-glib/nm-device-802-3-ethernet.c
5496           libnm-glib/nm-device-802-3-ethernet.h
5497                 - Convert to cached properties like AP and Wireless objects
5498                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5499                         instead of a 'char *', return value should not be freed
5500                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5501                 - (constructor): hook into properties-changed helper
5502                 - (set_property, get_property): new functions
5503                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5504
5505         * test/nm-tool.c
5506                 - (detail_device): strdup the wired hardware address too since it's
5507                         cached now
5508
5509         * libnm-glib/libnm-glib-test.c
5510                 - (dump_wired): strdup the wired hardware address too since it's
5511                         cached now
5512
5513 2008-03-12  Dan Williams  <dcbw@redhat.com>
5514
5515         * libnm-util/nm-setting-ip4-config.c
5516           libnm-util/nm-setting-ip4-config.h
5517                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5518                         the 'autoip' property from the spec
5519
5520 2008-03-11  Dan Williams  <dcbw@redhat.com>
5521
5522         * src/backends/NetworkManagerGeneric.c
5523           src/backends/NetworkManagerGeneric.h
5524                 - (nm_generic_device_get_use_dhcp): remove
5525
5526 2008-03-11  Dan Williams  <dcbw@redhat.com>
5527
5528         * src/nm-device.c
5529                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5530                         already in nm_device_set_ip4_config()
5531                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5532                         due to a DHCP rebind fails
5533                 - (nm_device_set_ip4_config): send property notifications when the
5534                         ip4 config changes
5535                 - (get_property): only report IP4Config property during valid states
5536
5537         * src/NetworkManagerPolicy.c
5538                 - (update_routing_and_dns): ignore devices that don't have an ip4
5539                         config; add parameter 'force_update' to allow callers to specify
5540                         that changes should be made even if the default device doesn't change
5541                 - (device_ip4_config_changed): update DNS and routing when the device's
5542                         IP4Config changes, like for DHCP updates
5543                 - (device_added): listen for ip4-config property changes
5544
5545 2008-03-11  Dan Williams  <dcbw@redhat.com>
5546
5547         Fix address handling as a result of DHCP rebind/renew/reboot.
5548
5549         * src/NetworkManagerSystem.c
5550                 - (check_one_address): delete an address if it doesn't match a given
5551                         one for the same interface
5552                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5553                         be smarter about flushing addresses (only flush ones that don't
5554                         match the one we're about to apply)
5555
5556         * src/backends/NetworkManagerDebian.c
5557           src/backends/NetworkManagerSuSE.c
5558           src/backends/NetworkManagerArch.c
5559           src/backends/NetworkManagerSlackware.c
5560           src/backends/NetworkManagerRedHat.c
5561           src/backends/NetworkManagerPaldo.c
5562           src/backends/NetworkManagerFrugalware.c
5563           src/backends/NetworkManagerGentoo.c
5564                 - (nm_system_delete_default_route): remove
5565
5566         * src/backends/NetworkManagerGeneric.c
5567           src/backends/NetworkManagerGeneric.h
5568                 - (nm_generic_enable_loopback): fix the loopback device label
5569                 - (nm_generic_delete_default_route): remove; no longer used
5570
5571 2008-03-11  Dan Williams  <dcbw@redhat.com>
5572
5573         * src/nm-device-interface.h
5574                 - Delimit property name words with '-', otherwise g_object_notify()
5575                         doesn't work the way we expect
5576
5577 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5578
5579         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5580
5581 2008-03-11  Dan Williams  <dcbw@redhat.com>
5582
5583         * src/NetworkManagerPolicy.c
5584                 - (update_routing_and_dns): don't change anything if the default device
5585                         hasn't changed; print something out when switching the default route
5586                         and DNS
5587
5588 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5589
5590         Implement PPPoE.
5591
5592         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5593         setting. Use "nic-$eth".
5594
5595         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5596         the device is activating here to fix a race condition.
5597
5598         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5599
5600         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5601         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5602         (nm_ppp_manager_start): Take activation request instead of connection, we might
5603         need it for asking secrets.
5604         (nm_ppp_manager_update_secrets): Implement.
5605
5606         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5607         ppp manager start. It might be needed for asking secrets.
5608
5609         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5610         (ppp_state_changed): Handle pppd daemon disappearing.
5611         (pppoe_stage2_config): Send activation request to ppp manager start.
5612
5613         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5614
5615         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5616         username and password.
5617         
5618 2008-03-10  Dan Williams  <dcbw@redhat.com>
5619
5620         * src/nm-device.c
5621                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5622                         response to a DHCP lease change
5623                 - (dhcp_state_changed): handle DHCP lease changes while activated
5624                 - (nm_device_set_ip4_config): remove a previously set named config
5625                         when setting an ip4 config
5626
5627 2008-03-10  Dan Williams  <dcbw@redhat.com>
5628
5629         * src/nm-serial-device.c
5630                 - (nm_serial_device_send_command): report errno on error
5631                 - (get_reply_got_data): limit the size of the overall buffer
5632                 - (wait_for_reply_info_destroy): destroy result string
5633                 - (wait_for_reply_got_data): append received data to an overall buffer
5634                         until timeout, filled buffer, or error instead of keeping a per-call
5635                         buffer.  Some devices send data slowly enough that this function
5636                         gets called multiple times for the same command stream.
5637                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5638                         wait_for_reply_got_data() here
5639
5640 2008-03-10  Dan Williams  <dcbw@redhat.com>
5641
5642         * src/nm-cdma-device.c
5643                 - (do_dial, init_modem): handle errors from
5644                         nm_serial_device_send_command_string()
5645
5646         * src/nm-gsm-device.c
5647                 - (do_dial, manual_registration, automatic_registration_get_network,
5648                    automatic_registration, enter_pin, check_pin, init_modem): handle
5649                         errors from nm_serial_device_send_command_string()
5650
5651 2008-03-10  Dan Williams  <dcbw@redhat.com>
5652
5653         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5654
5655         * src/named-manager/nm-named-manager.c
5656                 - (compute_searches): prefer searches before domains
5657                 - (compute_domain): new function
5658                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5659                 - (merge_one_ip4_config): if there are no searches in the source config,
5660                         merge domains of the source config into the target config
5661                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5662
5663 2008-03-10  Dan Williams  <dcbw@redhat.com>
5664
5665         * src/nm-serial-device.c
5666                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5667                 - (wait_for_reply_got_data): try to handle slower serial devices where
5668                         the reply is broken up into multiple reads by concatenating replies
5669                         together until either an error is received or the search string is
5670                         found
5671
5672 2008-03-10  Dan Williams  <dcbw@redhat.com>
5673
5674         * src/nm-device.c
5675                 - (nm_device_bring_down): deactivate the device if it's activating too,
5676                         not just if it's already activated.  This makes sure that everything
5677                         from an association attempt is cleaned up (like DHCP for example)
5678
5679 2008-03-10  Dan Williams  <dcbw@redhat.com>
5680
5681         * src/nm-serial-device.c
5682                 - (config_fd): report error from TCSETA
5683                 - (nm_serial_device_open): fail when config_fd() fails
5684
5685 2008-03-10  Dan Williams  <dcbw@redhat.com>
5686
5687         * src/nm-ip4-config.c
5688                 - (nm_ip4_config_init): allocate searches list
5689                 - (finalize): free searches list
5690
5691 2008-03-09  Dan Williams  <dcbw@redhat.com>
5692
5693         Patch from Bas Zoetekouw <bas@debian.org>
5694
5695         * src/dhcp-manager/nm-dhcp-manager.c
5696                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5697
5698 2008-03-09  Dan Williams  <dcbw@redhat.com>
5699
5700         Patch from Bas Zoetekouw <bas@debian.org>
5701
5702         * src/nm-ip4-config.c
5703           src/nm-ip4-config.h
5704                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5705                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5706                         domains.  'searches' is the correct way to store multiple search
5707                         domains, whereas 'domains' is really just supposed to store one
5708                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5709                         search domains to the client.
5710                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5711
5712 2008-03-09  Dan Williams  <dcbw@redhat.com>
5713
5714         * src/dhcp-manager/nm-dhcp-manager.c
5715                 - (dhclient_run): send interface-specific config files to dhclient
5716
5717 2008-03-07  Dan Williams  <dcbw@redhat.com>
5718
5719         * system-settings/plugins/ifcfg-fedora/parser.c
5720                 - (is_wireless_device): new function; test a device for wireless
5721                         extensions
5722                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5723                         test the device for wireless extensions to determine the type
5724
5725 2008-03-07  Dan Williams  <dcbw@redhat.com>
5726
5727         Change manager's StateChange signal to StateChanged for consistency.
5728
5729         * introspection/nm-manager.xml
5730                 - Add 'StateChanged' signal
5731                 - Move 'StateChange' down to the deprecated section
5732
5733         * src/nm-hal-manager.c
5734                 - (nm_hal_manager_new): connect to 'state-changed' instead
5735
5736         * src/NetworkManagerPolicy.c
5737                 - (nm_policy_new): connect to 'state-changed' instead
5738
5739         * src/nm-manager.c
5740           src/nm-manager.h
5741                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5742                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5743                         of 'state-change'
5744
5745         * libnm-glib/nm-client.c
5746           libnm-glib/nm-client.h
5747                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5748                         track and proxy 'state-changed' instead of 'state-change'
5749
5750 2008-03-07  Dan Williams  <dcbw@redhat.com>
5751
5752         First pass of multiple active device support.  Expect bugs.
5753
5754         * src/nm-ip4-config.c
5755           src/nm-ip4-config.h
5756                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5757                         there are better ways to do this in the named manager
5758
5759         * src/nm-device.c
5760           src/nm-device.h
5761                 - (nm_device_can_activate): return whether the device can activate a
5762                         connection right now; taking into account things like carrier state
5763                         and rfkill state
5764                 - (nm_device_get_best_auto_connection): renamed from
5765                         nm_device_get_best_connection
5766                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5767                         device subclasses themselves, so that each device can override the
5768                         MTU from it's NMSetting subclass if needed
5769                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5770                         in NetworkManagerSystem.c, not here
5771
5772         * src/named-manager/nm-named-manager.c
5773           src/named-manager/nm-named-manager.h
5774                 - (nm_named_manager_name_owner_changed,
5775                    nm_named_manager_dbus_connection_changed): fix for changes to
5776                         rewrite_resolv_conf()
5777                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5778                         from parameter list
5779                 - (merge_one_ip4_config): new function; merge ip4 configs together
5780                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5781                         ip4 configs; the VPN config takes precedence, then the best
5782                         device config, then the rest of the configs
5783                 - (get_domain_for_config): take the NMNamedManager as an argument
5784                         to check whether the config is the VPN config
5785                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5786                         attribute from ip4 configs
5787                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5788                 - (remove_ip4_config_from_named): fix for changes to
5789                         get_domain_for_config()
5790                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5791                         based on its type; callers must pass in the type now
5792                 - (get_last_default_domain): remove, unused
5793                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5794
5795         * src/nm-device-802-11-wireless.c
5796                 - (real_can_activate): new function
5797                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5798                 - (real_act_stage4_get_ip4_config): handle MTU override
5799
5800         * src/nm-device-802-3-ethernet.c
5801                 - (real_can_activate): new function
5802                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5803                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5804
5805         * src/vpn-manager/nm-vpn-connection.c
5806                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5807                         attribute on the ip4 config
5808
5809         * src/NetworkManagerPolicy.c
5810                 - (nm_policy_auto_get_best_device): remove
5811                 - (nm_policy_device_change_check): remove
5812                 - (update_default_route): new function; set the default route via
5813                         the specified device
5814                 - (get_device_priority): new function; return the priority number of
5815                         a device type WRT which one should have the default route.  Order is
5816                         (highest to lowest)  wired, wireless, GSM, CDMA.
5817                 - (update_routing_and_dns): new function; determine which device should
5818                         have the default route, then update the routing table and DNS
5819                 - (maybe_auto_activate_device): new function; if a device is now
5820                         available for activation, find out what connection it would like to
5821                         activate and do it
5822                 - (schedule_activate_check): new function; if a device can be activated
5823                         now, schedule the activation.  Each device may have only one
5824                         pending activation at a given time.
5825                 - (device_state_changed): if activation was canceled, try again,
5826                         possibly with another connection; if the device was activated,
5827                         update routing and DNS; if the device was deactivated, try again
5828                         with another connection
5829                 - (device_carrier_changed): if there is no carrier, deactivate the
5830                         device; otherwise schedule an activation check for the device
5831                 - (wireless_networks_changed): schedule an activation check for the
5832                         device
5833                 - (device_added): keep track of the signal handler IDs so they can
5834                         be removed when the device goes away
5835                 - (device_removed): remove any signal handlers that might be attached
5836                         to the device; update routing and DNS
5837                 - (schedule_activate_all): new function
5838                 - (connections_added, connection_added, connection_updated): when
5839                         connections change, schedule all devices for an activation check
5840                 - (connection_removed): when a device is deactivated because its
5841                         connection was removed, schedule another activation check for it
5842                 - (nm_policy_destroy): destroy pending activations and disconnect
5843                         all device signal handlers
5844
5845         * src/nm-manager.c
5846                 - (nm_manager_activate_device): if the device was already actived,
5847                         deactivate it
5848                 - (deactivate_old_device): remove
5849                 - (connection_added_default_handler, impl_manager_activate_device):
5850                         don't deactivate other devices when activating this one
5851
5852         * src/backends/NetworkManagerGentoo.c
5853           src/backends/NetworkManagerFrugalware.c
5854           src/backends/NetworkManagerPaldo.c
5855           src/backends/NetworkManagerRedHat.c
5856           src/backends/NetworkManagerSlackware.c
5857           src/backends/NetworkManagerArch.c
5858           src/backends/NetworkManagerSuSE.c
5859           src/backends/NetworkManagerDebian.c
5860                 - (nm_system_get_mtu): remove; MTU should be provided through the
5861                         distro's system settings service plugin instead
5862                 - (nm_system_device_add_default_route_via_device): remove
5863                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5864                 - (nm_system_device_replace_default_route): new function; call
5865                         generic implementation
5866
5867         * src/backends/NetworkManagerGeneric.c
5868           src/backends/NetworkManagerGeneric.h
5869                 - (nm_generic_device_add_default_route_via_device,
5870                    nm_generic_device_add_default_route_via_device_with_iface): remove
5871                 - (nm_generic_device_replace_default_route): replace the default route
5872                         with the given route via some gateway
5873
5874         * src/NetworkManagerSystem.c
5875           src/NetworkManagerSystem.h
5876                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5877                         to routing and DNS; but set the MTU here
5878                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5879                         ip_iface of the active device; use the standard MTU setting function
5880                 - (nm_system_set_mtu): remove
5881                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5882
5883 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5884
5885         Rework the interaction between ppp manager and pppd plugin. Register a well
5886         known DBUS service in manager and let the plugin call it's methods instead
5887         of listening plugin's signals.
5888
5889         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5890         of emitting signals.
5891
5892         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5893
5894         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5895
5896         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5897         nm_ppp_manager_start().
5898
5899         * introspection/nm-ppp-manager.xml: New file.
5900
5901         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5902         the case correctly where driver is trying to send -1 for the speed, which gets
5903         casted to u16 and thus is always > 0.
5904
5905 2008-03-07  Dan Williams  <dcbw@redhat.com>
5906
5907         * src/nm-hal-manager.c
5908                 - (nm_get_device_driver_name): use net.originating_device first, fall
5909                         back to physical device.  HAL has deprecated physical_device.
5910
5911         * libnm-glib/nm-device.c
5912                 - (get_product_and_vendor): use net.originating_device first, fall
5913                         back to physical device.  HAL has deprecated physical_device.
5914                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5915
5916 2008-03-07  Dan Williams  <dcbw@redhat.com>
5917
5918         * src/nm-netlink.c
5919                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5920                         last commit; fix that
5921                 - (get_link_cache): print error string
5922
5923 2008-03-07  Dan Williams  <dcbw@redhat.com>
5924
5925         * src/nm-netlink.c
5926                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5927                         don't need this hack any more (Benoit Boissinot)
5928
5929 2008-03-06  Dan Williams  <dcbw@redhat.com>
5930
5931         * autogen.sh
5932                 - Die gnome-common, die
5933
5934 2008-03-04  Dan Williams  <dcbw@redhat.com>
5935
5936         Patch from Michael Biebl <biebl@debian.org>
5937
5938         * NetworkManager.pc.in
5939                 - doesn't actually depend on dbus-1
5940
5941         * libnm-util/nm-utils.h
5942                 - remove unused #include <dbus/dbus.h>
5943
5944         * libnm-glib/libnm_glib.pc.in
5945                 - depends on glib and dbus-glib
5946
5947 2008-03-02  Dan Williams  <dcbw@redhat.com>
5948
5949         * src/NetworkManagerPolicy.c
5950                 - s/device_state_changed_idle_id/update_state_id/
5951
5952 2008-03-02  Dan Williams  <dcbw@redhat.com>
5953
5954         * src/nm-device.c
5955           src/nm-device.h
5956           src/nm-device-802-11-wireless.c
5957           src/nm-device-802-3-ethernet.c
5958           src/NetworkManagerPolicy.c
5959                 - s/link_active/carrier
5960                 - nm_device_set_active_link() -> nm_device_set_carrier()
5961                 - nm_device_has_active_link() -> nm_device_get_carrier()
5962
5963 2008-03-02  Dan Williams  <dcbw@redhat.com>
5964
5965         * system-settings/plugins/ifcfg-fedora/parser.c
5966                 - (make_wireless_setting): fail connection creation on missing SSID
5967
5968 2008-02-29  Dan Williams  <dcbw@redhat.com>
5969
5970         * src/NetworkManagerPolicy.c
5971                 - (nm_policy_device_change_check): ensure that a previously active
5972                         device with a system connection has a link before denying a switch
5973                         to a user connection
5974
5975 2008-02-29  Dan Williams  <dcbw@redhat.com>
5976
5977         * src/nm-device-802-11-wireless.c
5978                 - (link_timeout_cb): try again if scanning; deactivate the device when
5979                         activated if the link dies
5980                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5981                         15 seconds
5982
5983 2008-02-29  Dan Williams  <dcbw@redhat.com>
5984
5985         * src/nm-device-802-11-wireless.c
5986           src/nm-device-802-11-wireless.h
5987                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5988                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5989                 - (device_cleanup): reset the scan interval lower when the device
5990                         deactivates
5991                 - (can_scan): base decision mostly off device state, not supplicant
5992                         interface state since the supplicant interface state isn't a
5993                         great indicator of whether the device is active or not
5994                 - (request_wireless_scan): clean up; schedule the next scan here
5995                 - (schedule_scan): only back the scan interval off if a new scan
5996                         actually gets scheduled; and make scan intervals tighter when the
5997                         device is disconnected
5998                 - (supplicant_iface_state_cb_handler): fold in the bits of
5999                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
6000                         interval to minimum
6001                 - (activation_success_handler): reset scan interval to something
6002                         reasonable 
6003
6004 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
6005
6006         reviewed by: Steev <steev@steev.net>
6007
6008         * configure.in:
6009         * src/backends/NetworkManagerGentoo.c:
6010         (nm_system_restart_mdns_responder):
6011                 Howl is no longer a supported mDNS provider
6012
6013 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6014
6015         Get rid of a bunch of unused distro specific functions.
6016
6017 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6018
6019         Implement suse plugin for system settings daemon.
6020
6021         * system-settings/plugins/ifcfg-suse/*: Implement.
6022
6023         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6024         suse.
6025
6026         * configure.in: Check (without failing) for gio.
6027         Create ifcfg-suse plugin's Makefile.
6028
6029 2008-02-20  Dan Williams  <dcbw@redhat.com>
6030
6031         * libnm-util/nm-connection.c
6032           libnm-util/nm-connection.h
6033                 - (nm_connection_compare): accept compare flags and pass them to the
6034                         setting compare function
6035
6036         * libnm-util/nm-setting.c
6037           libnm-util/nm-setting.h
6038                 - (nm_setting_compare): accept compare flags; ignore properties that are
6039                         marked fuzzy
6040
6041         * libnm-util/nm-setting-connection.c
6042           libnm-util/nm-setting-wireless.c
6043           libnm-util/nm-setting-ppp.c
6044           libnm-util/nm-setting-wired.c
6045                 - Mark some setting properties as ignorable when doing a fuzzy compare
6046
6047         * src/nm-device.c
6048                 - (device_activation_precheck): use exact compare
6049
6050 2008-02-20  Dan Williams  <dcbw@redhat.com>
6051
6052         * src/NetworkManagerPolicy.c
6053                 - (nm_policy_device_change_check): get scope off the connection, not
6054                         using the manager helper
6055
6056         * src/nm-manager.c
6057           src/nm-manager.h
6058                 - (get_scope_for_proxy): rename from get_type_for_proxy()
6059                 - (connection_get_settings_cb): set scope and path on connection, not
6060                         using GObject data items
6061                 - (get_connection_for_proxy): don't need to return path, since that
6062                         can be gotten from the connection
6063                 - (get_connection_for_proxy): get path off the connection, not from
6064                         parameters
6065                 - (connection_removed_cb, connection_updated_cb): don't need to get
6066                         path from get_connection_for_proxy(); get scope off the connection
6067                         instead of using GObject data items
6068                 - (connection_added_default_handler, add_one_connection_element): use
6069                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6070                 - (nm_manager_get_connection_dbus_path): remove
6071                 - (nm_manager_get_connection_scope): remove
6072
6073 2008-02-20  Dan Williams  <dcbw@redhat.com>
6074
6075         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6076                 on confusing names
6077
6078         * Add 'path' and 'scope' properties to NMConnection since both NM and the
6079                 applet were having to hack this in anyway.  Remove the 'path' stuff from
6080                 NMExportedConnection
6081
6082         * Internally rename NMConnectionType -> NMConnectionScope
6083
6084         * Provide default implementations of the 'get_id' and 'get_settings' methods
6085                 of NMExportedConnection
6086
6087 2008-02-15  Dan Williams  <dcbw@redhat.com>
6088
6089         * src/nm-device-802-11-wireless.c
6090                 - (device_cleanup): release the AP list here too so that the AP list
6091                         doesn't survive across suspend/resume and up/down.  There is some
6092                         room for optimization, for example blow the list away when the card
6093                         brought back up, but only if the device has only been down for a
6094                         minute or more.
6095
6096 2008-02-15  Dan Williams  <dcbw@redhat.com>
6097
6098         * src/nm-hal-manager.c
6099                 - (modem_device_creator): recognize new HAL modem capabilities
6100
6101 2008-02-12  Dan Williams  <dcbw@redhat.com>
6102
6103         * system-settings/plugins/ifcfg-fedora/plugin.c
6104                 - (watch_path): handle IN_DELETE_SELF too
6105                 - (handle_connection_changed): notify when removing a connection
6106                 - (stuff_changed): don't warn on unknown inotify watches; handle the
6107                         case of a file moving out of the profile directory
6108
6109 2008-02-12  Dan Williams  <dcbw@redhat.com>
6110
6111         * system-settings/plugins/ifcfg-fedora/parser.c
6112                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6113
6114 2008-02-12  Dan Williams  <dcbw@redhat.com>
6115
6116         * libnm-util/nm-utils.c
6117                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6118                         just any empty array
6119
6120 2008-02-12  Dan Williams  <dcbw@redhat.com>
6121
6122         * system-settings/src/nm-system-config-interface.c
6123           system-settings/src/nm-system-config-interface.h
6124                 - (load_connections): get_connections() should now return an allocated
6125                         GSList that the system settings service will free
6126
6127         * system-settings/plugins/ifcfg-fedora/plugin.c
6128           system-settings/plugins/ifcfg-fedora/parser.h
6129           system-settings/plugins/ifcfg-fedora/parser.c
6130                 - Fix up inotify issues; handle keys-* files, handle new files appearing
6131                         in the profile directory, handle resolv.conf file changes
6132
6133 2008-02-10  Dan Williams  <dcbw@redhat.com>
6134
6135         * src/nm-device-802-3-ethernet.c
6136                 - (real_bring_up): save the supplicant interface state signal id
6137                 - (real_bring_down): disconnect from the supplicant interface state
6138                         signal
6139
6140 2008-02-07  Dan Williams  <dcbw@redhat.com>
6141
6142         * initscript/RedHat/NetworkManager.in
6143           initscript/RedHat/NetworkManagerDispatcher.in
6144                 - Add new-style LSB init headers
6145
6146 2008-02-07  Dan Williams  <dcbw@redhat.com>
6147
6148         * system-settings/src/dbus-settings.c
6149           system-settings/src/dbus-settings.h
6150                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6151                         table of secrets
6152                 - (connection_settings_get_secrets): consolidate error returns into
6153                         one place; use the new get_secrets() plugin interface function to
6154                         get secrets from the plugin itself rather than using GObject data
6155                         magic
6156
6157         * system-settings/src/main.c
6158                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6159                    load_connections): keep a private list of the plugin-returned
6160                         connections, don't use the plugin's GSList
6161
6162         * system-settings/plugins/ifcfg-fedora/plugin.c
6163                 - (watch_path): watch the path, not the filename (duh)
6164                 - (reload_all_connections): use the direct hash/equal functions; the
6165                         ones for int aren't appropriate here
6166                 - (get_secrets, system_config_interface_init): implement the
6167                         get_secrets() function
6168                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6169                         now in the connection's ConnectionData instead of being a GObject
6170                         data property
6171                 - (handle_profile_item_changed): ifcfg file path is now in the
6172                         connection's ConnectionData instead of being a GObject data property;
6173                         be sure to copy secrets over from the new connection to the existing
6174                         connection when updating the connection's settings
6175                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6176                         file descriptor
6177
6178         * system-settings/plugins/ifcfg-fedora/parser.c
6179           system-settings/plugins/ifcfg-fedora/parser.h
6180                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6181                    connection_data_copy_secrets, connection_data_free,
6182                    connection_data_add): new functions; connection data manipulation
6183                 - (make_wireless_security_setting): stuff secrets into the
6184                         connection data, not as GObject data items; make sure to close
6185                         the keys ifcfg file
6186                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6187                         connection data to the connection
6188
6189 2008-02-07  Dan Williams  <dcbw@redhat.com>
6190
6191         * system-settings/src/nm-system-config-interface.c
6192           system-settings/src/nm-system-config-interface.h
6193                 - Add a get_secrets() interface function to retrieve secrets for a
6194                         specific setting of a specific connection.  Document the interface
6195                         a bit more too.
6196
6197 2008-02-07  Dan Williams  <dcbw@redhat.com>
6198
6199         * src/nm-device-802-11-wireless.c
6200                 - (handle_auth_or_fail): new function; consolidate device activation
6201                         failure check after a certain number of failures getting secrets
6202                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6203                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6204                         the connection if secrets were requested more than a few times
6205                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6206                         tries here; otherwise they are cleared before the IP configure
6207                         timeout, which happens with open system WEP when key is wrong
6208                 - (activation_success_handler): clear wireless secrets tries here too
6209
6210 2008-02-07  Dan Williams  <dcbw@redhat.com>
6211
6212         * src/NetworkManagerPolicy.c
6213                 - (connection_updated): clear invalid tag when connection gets updated
6214                         to allow that connection to be tried again
6215                 - (nm_policy_new): save signal ids so they can be disconnected when
6216                         the policy is destroyed
6217                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6218                         and disconnect all signals from the manager object so that none
6219                         of the policy functions gets called after the policy is destroyed
6220
6221 2008-02-06  Dan Williams  <dcbw@redhat.com>
6222
6223         * src/nm-manager.c
6224                 - (finalize): remove devices a bit earlier; clean up system settings
6225                         poke
6226                 - (nm_manager_name_owner_changed): clean up system settings poke when
6227                         the service appears, and try to restart it if it fails
6228                 - (poke_system_settings_daemon_cb): try to get the system settings
6229                         service started through D-Bus service activation
6230                 - (initial_get_connections): start the system settings daemon if it's
6231                         not already running
6232
6233 2008-02-05  Dan Williams  <dcbw@redhat.com>
6234
6235         * src/supplicant-manager/nm-supplicant-config.c
6236                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6237                         broadcast networks too
6238
6239 2008-02-04  Dan Williams  <dcbw@redhat.com>
6240
6241         * system-settings/plugins/ifcfg-fedora/parser.c
6242                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6243                         need key_mgmt set too
6244                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6245                         .bak files; ensure that an error is set whenever NULL gets returned
6246
6247 2008-02-04  Dan Williams  <dcbw@redhat.com>
6248
6249         * system-settings/src/Makefile.am
6250                 - Install D-Bus service activation file for the system settings
6251                         service
6252
6253         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6254                 - D-Bus service activation file for system settings service
6255
6256 2008-02-04  Dan Williams  <dcbw@redhat.com>
6257
6258         * system-settings/src/main.c
6259                 - (parse_config_file): parse a config file
6260                 - (main): accept --config option and read plugins from config file
6261
6262 2008-02-04  Dan Williams  <dcbw@redhat.com>
6263
6264         * system-settings/plugins/ifcfg-fedora/plugin.c
6265                 - Change reported name to 'ifcfg-fedora'
6266                 - Use IFCFG_PLUGIN_NAME
6267
6268         * system-settings/plugins/ifcfg-fedora/plugin.c
6269                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6270
6271 2008-02-04  Dan Williams  <dcbw@redhat.com>
6272
6273         * system-settings/plugins/ifcfg-fedora/parser.c
6274                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6275                 - (make_connection_setting): use get_ifcfg_name()
6276                 - (make_wireless_security_setting): handle shadow key files
6277                 - (get_one_wep_key): treat empty string as NULL
6278
6279 2008-02-04  Dan Williams  <dcbw@redhat.com>
6280
6281         * src/supplicant-manager/nm-supplicant-manager.c
6282                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6283                         glib automatically reschedule
6284                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6285                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6286                         the supplicant
6287
6288 2008-02-01  Dan Williams  <dcbw@redhat.com>
6289
6290         * src/NetworkManagerPolicy.c
6291                 - (device_state_changed): schedule a change check when a device gets
6292                         deactivated so something happens if you disconnect GSM/CDMA
6293
6294 2008-01-31  Dan Williams  <dcbw@redhat.com>
6295
6296         * src/nm-device-802-11-wireless.h
6297           src/nm-device-802-11-wireless.c
6298                 - (ap_list_get_ap_by_ssid, is_associated,
6299                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6300                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6301                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6302                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6303                         function
6304
6305 2008-01-30  Dan Williams  <dcbw@redhat.com>
6306
6307         * system-settings/plugins/ifcfg
6308         * system-settings/plugins/ifcfg-fedora
6309                 - Move the ifcfg plugin to ifcfg-fedora
6310
6311 2008-01-24  Dan Williams  <dcbw@redhat.com>
6312
6313         * libnm-glib/nm-device-802-11-wireless.c
6314                 - (get_access_point): move the "/" check here; check for invalid path
6315                         too
6316                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6317                         to get_access_point()
6318                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6319                         to send signals for non-existent access points
6320
6321 2008-01-24  Dan Williams  <dcbw@redhat.com>
6322
6323         * libnm-glib/nm-device-802-11-wireless.c
6324                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6325
6326 2008-01-23  Dan Williams  <dcbw@redhat.com>
6327
6328         * libnm-glib/libnm_glib.c
6329                 - (libnm_glib_init): make thread joinable
6330                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6331
6332 2008-01-23  Dan Williams  <dcbw@redhat.com>
6333
6334         * test/libnm_glib_test.c
6335                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6336                 - (main): set up signal handlers; call libnm_glib_shutdown
6337
6338 2008-01-21  Dan Williams  <dcbw@redhat.com>
6339
6340         * include/NetworkManager.h
6341                 - Add CDMA mobile broadband card device type
6342
6343         * src/nm-hal-manager.c
6344                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6345                         must now be tagged with 'cdma' or 'gsm' capability
6346
6347         * src/nm-cdma-device.c
6348           src/nm-cdma-device.h
6349           src/Makefile.am
6350                 - Add the CDMA mobile broadband card device class
6351
6352         * libnm-util/nm-connection.c
6353                 - (register_default_settings): add NMSettingCdma
6354
6355         * libnm-util/nm-setting-cdma.c
6356           libnm-util/nm-setting-cdma.h
6357           libnm-util/Makefile.am
6358                 - Add the CDMA mobile broadband card setting class
6359
6360         * libnm-glib/nm-cdma-device.c
6361           libnm-glib/nm-cdma-device.h
6362           libnm-glib/Makefile.am
6363                 - Add the CDMA mobile broadband card GLib proxy class
6364
6365         * libnm-glib/nm-client.c
6366                 - (get_device): handle CDMA devices too
6367
6368 2008-01-21  Dan Williams  <dcbw@redhat.com>
6369
6370         * src/ppp-manager/nm-ppp-manager.c
6371                 - (ip4_config_get): set peer address too
6372
6373         * src/ppp-manager/nm-pppd-plugin.c
6374                 - (nm_ip_up): try harder to get the peer's address
6375
6376         * src/NetworkManagerSystem.c
6377                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6378                         address, use that too.  Otherwise, some PPP connections won't work.
6379
6380 2008-01-19  Dan Williams  <dcbw@redhat.com>
6381
6382         * src/NetworkManagerPolicy.c
6383                 - (nm_policy_device_change_check): system connections override user
6384                         connections; don't activate a user connection if there's a currently
6385                         active system connection, and new, better system connections always
6386                         interrupt user connections
6387
6388 2008-01-19  Dan Williams  <dcbw@redhat.com>
6389
6390         * src/nm-manager.h
6391                 - (nm_manager_get_connection_type): new function
6392
6393 2008-01-19  Dan Williams  <dcbw@redhat.com>
6394
6395         * src/nm-device-802-11-wireless.c
6396                 - (real_get_best_connection): collapse find_best_connection() into this
6397                         function
6398
6399 2008-01-19  Dan Williams  <dcbw@redhat.com>
6400
6401         * src/nm-device-802-3-ethernet.c
6402                 - (real_get_best_connection): collapse find_best_connection() into this
6403                         function
6404
6405 2008-01-18  Dan Williams  <dcbw@redhat.com>
6406
6407         * src/nm-device-802-3-ethernet.c
6408                 - (find_best_connection): check MAC address too
6409                 - (real_get_best_connection): let autoconnect=True connections activate
6410                         for devices that don't have carrier detection
6411
6412         * src/nm-device-802-11-wireless.c
6413                 - (find_best_connection): check MAC address too
6414
6415 2008-01-18  Dan Williams  <dcbw@redhat.com>
6416
6417         * system-settings/plugins/ifcfg/parser.c
6418                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6419
6420 2008-01-17  Dan Williams  <dcbw@redhat.com>
6421
6422         * src/nm-device-802-3-ethernet.c
6423                 - (nm_device_802_3_ethernet_carrier_on,
6424                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6425                         carrier events that might come in for devices that don't support
6426                         carrier detect
6427
6428 2008-01-17  Dan Williams  <dcbw@redhat.com>
6429
6430         * src/nm-device-interface.c
6431                 - (nm_device_interface_check_connection_conflicts): need to actually
6432                         get the interface, not cast to the object
6433
6434         * src/nm-device.c
6435                 - (nm_device_check_connection_conflicts): need to get the device class,
6436                         not cast the device to the device class
6437
6438 2008-01-17  Dan Williams  <dcbw@redhat.com>
6439
6440         * src/nm-device-802-11-wireless.c
6441                 - (real_check_connection_conflicts): ignore connections that aren't
6442                         wireless connections
6443
6444 2008-01-17  Dan Williams  <dcbw@redhat.com>
6445
6446         * src/NetworkManagerPolicy.c
6447                 - (nm_policy_device_change_check): clear change check idle here
6448                 - (device_change_check_done): remove
6449                 - (schedule_change_check): simplify
6450
6451 2008-01-17  Dan Williams  <dcbw@redhat.com>
6452
6453         * src/nm-manager.c
6454                 - (check_connection_allowed): take an NMDeviceInterface instead of
6455                         an NMDevice object as an argument
6456                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6457                         check_connection_allowed()
6458
6459 2008-01-13  Dan Williams  <dcbw@redhat.com>
6460
6461         * libnm-glib/nm-device-802-11-wireless.c
6462                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6463
6464 2008-01-12  Dan Williams  <dcbw@redhat.com>
6465
6466         * src/nm-device-802-11-wireless.c
6467                 - (activation_success_handler): if a match was found in the scan list
6468                         and that match is a hidden AP, update that AP's SSID
6469
6470 2008-01-11  Dan Williams  <dcbw@redhat.com>
6471
6472         * src/NetworkManagerAP.c
6473                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6474
6475         * src/nm-device-802-11-wireless.c
6476                 - (get_active_ap): do two passes over the scan list if the caller
6477                         requests that hidden APs get matched too; during the second pass
6478                         when matching hidden APs, ignore the SSID since hidden APs in the
6479                         scan list don't have an SSID yet
6480                 - (periodic_update): move some checks to
6481                         nm_device_802_11_periodic_update() because not all callers need them
6482                 - (nm_device_802_11_periodic_update): move some checks here from
6483                         perodic_update()
6484                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6485                         matching on incoming scan results, because the fake AP's flags
6486                         might be slightly different (yet still compatible) with the incoming
6487                         scan result's flags and they might actually be the same AP; update
6488                         the rate on merged APs too
6489                 - (activation_success_handler): update the frequency of the fake AP
6490                         on successful connection; match hidden APs too since if the
6491                         current AP is fake, there might already be a scan result in the
6492                         scan list for the desired AP, just without it's SSID filled in yet
6493
6494 2008-01-10  Dan Williams  <dcbw@redhat.com>
6495
6496         * src/NetworkManagerAP.c
6497                 - (foreach_property_cb): catch more hidden SSID formats
6498
6499 2008-01-10  Dan Williams  <dcbw@redhat.com>
6500
6501         Fix gnome.org #464215.  Requires the kernel patch titled
6502         "Introduce WEXT scan capabilities" but will handle the patch not being
6503         present, you'll just continue to have problems with hidden SSIDs when
6504         using mac80211-based drivers.
6505
6506         * src/supplicant-manager/nm-supplicant-config.h
6507           src/supplicant-manager/nm-supplicant-config.c
6508                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6509                         whether the driver supports SSID scans or not.  If it does, and if
6510                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6511
6512         * src/nm-device-802-11-wireless.c
6513                 - (constructor): check whether or not the driver supports SSID scans
6514                 - (build_supplicant_config): pass driver SSID scan capability when
6515                         building the wireless bits of the supplicant config
6516
6517 2008-01-09  Dan Williams  <dcbw@redhat.com>
6518
6519         * src/nm-device.c
6520           src/nm-device.h
6521                 - (device_activation_precheck, check_connection_complete): remove this
6522                         virtual function; incomplete connections should be invalid by
6523                         definition, complete-ness should be checked in the setting's
6524                         verify function
6525
6526         * src/nm-serial-device.c
6527           src/nm-gsm-device.c
6528                 - (real_check_connection_complete): remove
6529
6530         * libnm-util/nm-setting-serial.c
6531                 - (verify): new function; ensure there is a PPP setting too
6532
6533         * libnm-util/nm-setting-gsm.c
6534                 - (verify): ensure there is a serial setting too
6535
6536 2008-01-06  Dan Williams  <dcbw@redhat.com>
6537
6538         * src/dhcp-manager/nm-dhcp-manager.c
6539                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6540                         (gnome.org #332953)
6541
6542 2008-01-04  Dan Williams  <dcbw@redhat.com>
6543
6544         * src/named-manager/nm-named-manager.c
6545                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6546                         nameservers if the secondary config doesn't have any
6547                         (gnome.org #346833)
6548
6549 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6550
6551         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6552         with G_PARAM_CONSTRUCT so that they get the default values.
6553
6554         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6555         the monitoring device and prints out the output for now. Or more precicely, doesn't
6556         do absolutely anything right now since the montoring device argument is never set.
6557
6558         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6559         requires it's own knob to turn it on.
6560         (config_fd): Add NMSettingSerial to the arguments list.
6561         (nm_serial_device_open): Ditto.
6562         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6563         (nm_serial_device_get_io_channel): Implement.
6564
6565         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6566         a new reference every time (and forgetting to release it sometimes) is a pain and
6567         it's not like NMManager could work without dbus.
6568         (nm_manager_add_device): Register the added device on dbus here.
6569
6570         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6571         device.
6572
6573         * src/nm-device.c (constructor): Don't export the device here, instead export
6574         it when it's added to the NMManager's device list.
6575
6576 2007-12-31  Dan Williams  <dcbw@redhat.com>
6577
6578         * src/nm-device-interface.c
6579           src/nm-device-interface.h
6580                 - (nm_device_interface_check_connection_conflicts): new function
6581
6582         * src/nm-device.c
6583           src/nm-device.h
6584                 - (nm_device_check_connection_conflicts): new function
6585                 - (device_activation_precheck): don't require subclasses to implement
6586                         check_connection_complete()
6587                 - check_connection() -> check_connection_complete()
6588
6589         * src/nm-device-802-11-wireless.c
6590                 - (real_check_connection): remove; unused
6591                 - (real_check_connection_conflicts): implement, handle lockdown for
6592                         system connections
6593
6594         * src/nm-device-802-3-ethernet.c
6595                 - (real_check_connection): remove; unused
6596
6597         * src/nm-manager.c
6598                 - (check_connection_allowed): new function
6599                 - (nm_manager_activate_device): ensure the connection being requested
6600                         is allowed to be activated
6601
6602         * src/nm-serial-device.c
6603           src/nm-gsm-device.c
6604                 - real_check_connection() -> real_check_connection_complete()
6605
6606 2007-12-27  Dan Williams  <dcbw@redhat.com>
6607
6608         * src/nm-device-interface.c
6609           src/nm-device-interface.h
6610                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6611                         normalize and expand errors
6612                 - (nm_device_interface_init): register errors so they can be marshalled
6613                         through dbus-glib
6614                 - (nm_device_interface_activate): ensure that failure of activation
6615                         returns an error
6616
6617         * src/nm-device.c
6618           src/nm-device.h
6619                 - (device_activation_precheck): implementations of check_connection()
6620                         now take a GError and must fill it in if the check fails.  Return
6621                         more descriptive error if the requested connection is already
6622                         activating
6623                 - (nm_device_activate): actually try to return descriptive errors on
6624                         failures
6625
6626         * src/nm-device-802-11-wireless.c
6627           src/nm-device-802-3-ethernet.c
6628           src/nm-serial-device.c
6629           src/nm-gsm-device.c
6630                 - (real_check_connection): return more descriptive errors on failure
6631
6632         * src/NetworkManagerPolicy.c
6633                 - (nm_policy_device_change_check): print activation errors in the logs
6634
6635         * src/nm-manager.c
6636                 - (nm_manager_error_quark, nm_manager_error_get_type,
6637                    nm_manager_class_init): new errors
6638                 - (nm_manager_activate_device): handle errors
6639                 - (nm_manager_error_new): removed
6640                 - (wait_for_connection_expired, connection_added_default_handler,
6641                    impl_manager_activate_device): better error handling
6642
6643 2007-12-27  Dan Williams  <dcbw@redhat.com>
6644
6645         Fixes gnome.org #466954
6646
6647         * src/supplicant-manager/nm-supplicant-settings-verify.c
6648                 - Allow 'frequency' network property
6649
6650         * src/supplicant-manager/nm-supplicant-config.c
6651           src/supplicant-manager/nm-supplicant-config.h
6652                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6653                         for callers to specify the frequency an Ad-Hoc network should operate
6654                         on.  Some drivers require this to successfully create an Ad-Hoc
6655                         network.
6656
6657         * src/nm-device-802-11-wireless.c
6658                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6659                         guint32 value in MHz
6660                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6661                         iw_freq_to_uint32()
6662                 - (find_supported_frequency): new function; find a free supported
6663                         frequency for a user-created Ad-Hoc network
6664                 - (build_supplicant_config): if no frequency was specified for a user-
6665                         created Ad-Hoc network, find a free one to use
6666                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6667                         a specific object as user-created
6668
6669 2007-12-27  Dan Williams  <dcbw@redhat.com>
6670
6671         * libnm-util/nm-utils.c
6672           libnm-util/nm-utils.h
6673                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6674                         for adhoc networks
6675
6676 2007-12-24  Dan Williams  <dcbw@redhat.com>
6677
6678         * libnm-util/nm-setting-wireless.c
6679                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6680                         185, 187, 188, 192, and 196
6681
6682 2007-12-24  Dan Williams  <dcbw@redhat.com>
6683
6684         * src/nm-device-802-11-wireless.c
6685                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6686                         a channel # instead of a frequency
6687
6688 2007-12-24  Dan Williams  <dcbw@redhat.com>
6689
6690         * src/NetworkManagerAP.c
6691           src/NetworkManagerAP.h
6692                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6693                 - (freq_to_channel): handle split band tables
6694                 - (channel_to_freq): handle split band tables, take a band argument
6695
6696 2007-12-24  Dan Williams  <dcbw@redhat.com>
6697
6698         * libnm-util/nm-setting-connection.h
6699           libnm-util/nm-setting-connection.c
6700                 - Add 'lockdown' member
6701
6702 2007-12-22  Dan Williams  <dcbw@redhat.com>
6703
6704         * libnm-util/nm-setting-wireless.c
6705                 - (nm_setting_wireless_class_init): add missing 'rate' property
6706                         specification
6707
6708 2007-12-18  Dan Williams  <dcbw@redhat.com>
6709
6710         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6711
6712         * src/nm-netlink-monitor.c
6713           src/nm-netlink-monitor.h
6714                 - Remove handrolled netlink, use libnl instead
6715
6716         * src/nm-device-802-3-ethernet.c
6717                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6718                    nm_device_802_3_ethernet_carrier_on): use new names
6719
6720 2007-12-17  Dan Williams  <dcbw@redhat.com>
6721
6722         * configure.in
6723                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6724                         and fixes memory leaks)
6725
6726         * src/nm-netlink.c
6727                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6728                         automatically handle the netlink PID
6729
6730 2007-12-17  Dan Williams  <dcbw@redhat.com>
6731
6732         Patch from Michael Biebl <biebl@debian.org>
6733
6734         * configure.in
6735           src/ppp-manager/Makefile.am
6736                 - fix up install dir of pppd plugin
6737                 - clean up configure.in a bit
6738
6739 2007-12-12  Dan Williams  <dcbw@redhat.com>
6740
6741         * system-settings/src/nm-system-settings.conf
6742                 - Allow non-root clients (like the applet) to read settings
6743
6744 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6745
6746         * Replace all occurences of 'UMTS' with 'GSM'.
6747
6748 2007-12-07  Dan Williams  <dcbw@redhat.com>
6749
6750         * src/nm-serial-device.c
6751                 - (real_is_up): serial devices are always "up"
6752
6753 2007-12-07  Dan Williams  <dcbw@redhat.com>
6754
6755         * src/nm-netlink.c
6756           src/NetworkManagerSystem.c
6757                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6758                         twice (gnome.org #491047)
6759                 - Make more robust against allocation-related failures should they occur
6760
6761 2007-12-07  Dan Williams  <dcbw@redhat.com>
6762
6763         Noticed by Christian Persch <chpe@gnome.org>
6764
6765         Always chain up to parent object in dispose and finalize handlers.
6766                 (gnome.org #433112)
6767
6768 2007-12-07  Dan Williams  <dcbw@redhat.com>
6769
6770         * src/nm-device-802-11-wireless.c
6771                 - Wrap #include of linux/mii.h to fix redefined structures due to
6772                         incorrect kernel headers (gnome.org #350061)
6773
6774 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6775
6776         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6777         before doing anything else.
6778         (init_modem): Move modem initialization here.
6779
6780         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6781         (nm_serial_device_flash): Implement.
6782
6783         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6784         changes signal is "StateChanged" and not "Status".
6785         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6786
6787 2007-12-06  Dan Williams  <dcbw@redhat.com>
6788
6789         * src/supplicant-manager/nm-supplicant-config.c
6790                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6791                         to only send some options when they make sense; also send phase2
6792                         option to the supplicant (possible fix for rh #399631)
6793
6794 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6795
6796         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6797         arguments: This whole file shouldn't really know anything about NMDevices, it
6798         should deal only with device interfaces. Devices might have different ifaces for
6799         different stuff and this place shouldn't know anything about it.
6800
6801         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6802         (global_state_changed): Implement. In the current NM it's not really important,
6803         but will be required in the case of multiple active devices. (Or even better,
6804         if stuff like that gets moved out from NM).
6805
6806         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6807         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6808         instead.
6809
6810         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6811         devices like serial devices (ttyS0 and ppp0 for example).
6812         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6813         set.
6814         (nm_device_set_ip_iface): Implement.
6815         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6816         after setting ip4_config from here ...
6817         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6818         than this function should call nm_system_device_set_from_ip4_config() because no
6819         other code has enough information on which arguments to use. So instead, other code
6820         could just set the new ip4 config using this function and everyone is happy.
6821
6822         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6823         if we happen to get deactivated while something is pending.
6824         (automatic_registration): Handle the response that indicates pending network
6825         registration and wait until the pending registration is done.
6826         (real_deactivate_quickly): If there's a pending operation, cancel it.
6827
6828         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6829         (real_deactivate_quickly): ... and remove it when it's down.
6830         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6831         it if needed.
6832         (nm_serial_device_wait_for_reply): Ditto.
6833
6834 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6835
6836         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6837         (get_network_done): Remove newline, nm_info() does it already.
6838         (real_act_stage1_prepare): Turn the modem echo off.
6839
6840         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6841         device, set the route to the device interface. This is a hack.
6842
6843         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6844         return, no need for a new-line.
6845         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6846         Change the device iface here (ugh).
6847         (real_act_stage4_get_ip4_config): Implement.
6848         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6849         Restore the device iface.
6850
6851         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6852         device is not wired or wireless (eg, automatically upped) device.
6853
6854         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6855         it isn't.
6856         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6857
6858         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6859         before calling it's is_device_fn().
6860
6861 2007-12-05  Dan Williams  <dcbw@redhat.com>
6862
6863         * libnm-util/nm-utils.c
6864                 - (nm_utils_register_value_transformations,
6865                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6866                         GHashTables of GValues too
6867
6868 2007-12-04  Dan Williams  <dcbw@redhat.com>
6869
6870         * initscript/RedHat/NetworkManager.in
6871                 - No longer start named; it's D-Bus interface is going away
6872
6873 2007-12-04  Dan Williams  <dcbw@redhat.com>
6874
6875         Patch from Michael Biebl <biebl@debian.org>
6876
6877         * system-settings/plugins/ifcfg/Makefile.am
6878           system-settings/src/main.c
6879           system-settings/src/Makefile.am
6880                 - Put system settings plugins in NM plugins dir
6881
6882         * src/ppp-manager/Makefile.am
6883           src/ppp-manager/nm-ppp-manager.c
6884                 - Move pppd plugin to NM plugins dir
6885
6886 2007-12-04  Dan Williams  <dcbw@redhat.com>
6887
6888         * libnm-util/nm-setting-vpn-properties.h
6889                 - Clarify usage of the 'data' member of the setting
6890
6891         * libnm-util/nm-setting-vpn-properties.c
6892                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6893                 - (set_property): just remove all the settings; don't recreate the has
6894                 - (update_one_secret): don't need to create the hash table here since
6895                         it should always be present
6896
6897 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6898
6899         Implement PIN and PUK requesting.
6900
6901         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6902         (enter_pin): Handle PIN and PUK requests.
6903         (real_act_stage1_prepare): Clear the secret type.
6904         (real_connection_secrets_updated): Implement this class method to get
6905         notified when new secrets arrive.
6906         (nm_umts_device_class_init): Add private data back to the umts device class
6907         to store the required secret type.
6908
6909 2007-12-01  Dan Williams  <dcbw@redhat.com>
6910
6911         * system-settings/plugins/ifcfg/parser.c
6912                 - (parser_parse_file): don't try to verify NULL connections
6913
6914 2007-12-01  Dan Williams  <dcbw@redhat.com>
6915
6916         * system-settings/src/main.c
6917                 - (load_connections, add_connection_to_settings): actually export
6918                         plugin-provided connections over D-Bus so NM can get them
6919
6920 2007-12-01  Dan Williams  <dcbw@redhat.com>
6921
6922         * system-settings/plugins/ifcfg/parser.c
6923           system-settings/plugins/ifcfg/parser.h
6924           system-settings/plugins/ifcfg/plugin.c
6925                 - Hook up more inotify bits (untested)
6926
6927 2007-11-29  Dan Williams  <dcbw@redhat.com>
6928
6929         * system-settings/src/nm-system-config-interface.h
6930           system-settings/src/nm-system-config-interface.c
6931                 - (nm_system_config_interface_init,
6932                    nm_system_config_interface_get_connections): add
6933
6934         * system-settings/src/main.c
6935                 - (load_plugins, load_connections, main): use a GSList for plugins
6936                         to ensure priority ordering
6937
6938         * system-settings/plugins/ifcfg/parser.c
6939                 - (ifcfg_error_quark): move to plugin.c, and rename
6940
6941         * system-settings/plugins/ifcfg/plugin.h
6942           system-settings/plugins/ifcfg/plugin.c
6943                 - (ifcfg_plugin_error_quark): move here from parser.c
6944                 - rework connection loading and initialization
6945                 - Add preliminary inotify support for network profile config file
6946
6947 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6948
6949         Merge the beginnings of the new GSM card support.
6950
6951         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6952         ppp watch source before killing pppd - If this happens from g_object_unref()
6953         then the ppp manager is already destroyed by the time the watch callback runs.
6954
6955         * src/nm-hal-manager.c: Add a device_type_name string to the device
6956         creators, so that we can print a nice human readable string when a
6957         device is added.
6958
6959         * src/nm-umts-device.c (automatic_registration_get_network): Query
6960         for the activated network, not much is done with the result thought.
6961
6962         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6963         (ppp_ip4_config): Change the device state to activated here for now.
6964         (real_check_connection): Make sure the connection includes ppp setting.
6965
6966         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6967
6968         * libnm-glib/Makefile.am: Add the new files to build.
6969
6970         * libnm-glib/nm-umts-device.c: 
6971         * libnm-glib/nm-umts-device.h: Implement.
6972
6973 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6974
6975         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6976         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6977
6978         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6979         the timeout source - this function is only called when the timeout source has
6980         been removed.
6981         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6982         to be big enough to contain the terminating zero element as well.
6983         The timeout argument is meant to be in seconds now.
6984         (real_deactivate_quickly): Implement.
6985
6986         * src/NetworkManager.conf: Allow root to own 
6987         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6988
6989         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6990         (not unsigned ints).
6991
6992         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6993         small issue with parity bounds - capital letters have lower ascii codes
6994         than lower case letters.
6995
6996         * libnm-util/nm-connection.c (register_default_settings): Register serial
6997         and umts settings.
6998
6999 2007-11-22  Tambet Ingo  <tambet@gmail.com>
7000
7001         Remove the "index" property from devices as not all device types have this.
7002
7003         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
7004
7005         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7006         (wired_device_creator): Get the device interface from hal to create the device.
7007         (wireless_device_creator): Ditto.
7008
7009         * src/nm-device.c (nm_device_init): Remove the index member.
7010         (constructor): Remove the checks for index property, make interface property
7011         a require constructor property.
7012         Use the HAL udi for DBus path for devices.
7013         (nm_device_get_index): Remove.
7014         (set_property): Remove index handling.
7015         (get_property): Ditto.
7016         (nm_device_get_dbus_path): Remove.
7017
7018         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7019         property.
7020
7021         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7022         Access the device index through it's interface.
7023         (nm_device_802_3_ethernet_link_deactivated): Ditto.
7024         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7025         index argument. Add interface argument.
7026
7027         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7028         the useless test_dev argument. Remove index argument. Add interface arugment.
7029
7030         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7031         device index through interface.
7032         (nm_system_set_mtu): Ditto.
7033
7034         * introspection/nm-device.xml: Remove the "Index" property.
7035
7036 2007-11-21  Tambet Ingo  <tambet@gmail.com>
7037
7038         * src/nm-serial-device.c: 
7039         * src/nm-serial-device.c: 
7040         * src/nm-umts-device.c:
7041         * src/nm-umts-device.h: Implement.
7042
7043         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
7044         allocated by libhal.
7045         (modem_device_creator): Implement.
7046         (register_built_in_creators): Register the modem creator.
7047
7048         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
7049         Remove the unused test_dev argument.
7050
7051         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7052
7053         * src/Makefile.am: Add new files to build.
7054         Link in ppp-manager.
7055
7056         * libnm-util/nm-setting-umts.c: 
7057         * libnm-util/nm-setting-umts.h: 
7058         * libnm-util/nm-setting-serial.c: 
7059         * libnm-util/nm-setting-serial.h: Implement.
7060
7061         * libnm-util/Makefile.am: Add new files to build.
7062
7063 2007-11-28  Dan Williams  <dcbw@redhat.com>
7064
7065         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7066
7067         Support DHCP-provided static routes.
7068
7069         * src/nm-ip4-config.h
7070           src/nm-ip4-config.c
7071                 - Add get/set functions for static routes
7072
7073         * src/dhcp-manager/nm-dhcp-manager.c
7074                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7075                         DHCP response
7076
7077         * src/NetworkManagerSystem.c
7078                 - (nm_system_device_set_from_ip4_config): set any static routes on the
7079                         interface when applying the IP4Config
7080
7081 2007-11-28  Dan Williams  <dcbw@redhat.com>
7082
7083         * src/nm-device-802-11-wireless.c
7084                 - (real_act_stage1_prepare): mark APs created for hidden networks
7085                         as non-broadcasting
7086
7087 2007-11-27  Dan Williams  <dcbw@redhat.com>
7088
7089         * system-settings/src/nm-system-config-interface.h
7090                 - Note how to store secrets on NMSetting objects
7091
7092         * system-settings/src/dbus-settings.c
7093                 - (connection_settings_get_secrets): implement
7094
7095 2007-11-27  Dan Williams  <dcbw@redhat.com>
7096
7097         * system-settings/plugins/ifcfg/Makefile.am
7098           system-settings/plugins/ifcfg/parser.c
7099           system-settings/plugins/ifcfg/parser.h
7100           system-settings/plugins/ifcfg/plugin.c
7101                 - Parse wireless connections too
7102
7103         * system-settings/src/dbus-settings.c
7104           system-settings/src/dbus-settings.h
7105           system-settings/src/main.c
7106                 - Handle connection update/removal if the plugin supports it
7107
7108 2007-11-27  Dan Williams  <dcbw@redhat.com>
7109
7110         * src/nm-dbus-manager.h
7111           src/nm-hal-manager.c
7112                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7113                         do it for them
7114
7115         * src/Makefile.am
7116           src/NetworkManagerDbusUtils.c
7117           src/NetworkManagerDbusUtils.h
7118                 - Remove these two source files; they are unused
7119
7120 2007-11-27  Dan Williams  <dcbw@redhat.com>
7121
7122         * src/vpn-manager/nm-vpn-manager.c
7123                 - (impl_vpn_manager_connect): fix system settings check (found by
7124                         James M. Leddy)
7125
7126 2007-11-26  Dan Williams  <dcbw@redhat.com>
7127
7128         * Fix warnings so everything compiles with --enable-more-warnings
7129
7130 2007-11-25  Dan Williams  <dcbw@redhat.com>
7131
7132         * system-settings/*
7133                 - Rework structure and code to use GModule-loaded plugins and a plugin
7134                         interface that plugins export to the system settings service
7135
7136 2007-11-21  Dan Williams  <dcbw@redhat.com>
7137
7138         * system-settings/*
7139                 - Add Soren's system settings service.  Needs work for distros other
7140                         than Fedora; the backends from NM should mostly migrate to here
7141                         and be converted to GObjects
7142
7143 2007-11-21  Dan Williams  <dcbw@redhat.com>
7144
7145         * libnm-util/nm-setting-vpn-properties.c
7146                 - (set_property): must deep-copy the given settings hash, otherwise
7147                         double-free errors occur when the setting is disposed of
7148
7149 2007-11-21  Dan Williams  <dcbw@redhat.com>
7150
7151         * src/vpn-manager/nm-vpn-act-request.h
7152           src/vpn-manager/nm-vpn-act-request.c
7153                 - Remove; unused
7154
7155 2007-11-20  Dan Williams  <dcbw@redhat.com>
7156
7157         * libnm-util/nm-utils.c
7158                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7159                    nm_utils_convert_ip4_addr_struct_array_to_string,
7160                    nm_utils_register_value_transformations): print out the readable
7161                         values of more types of properties of NMSettings subclasses
7162
7163 2007-11-20  Dan Williams  <dcbw@redhat.com>
7164
7165         * libnm-util/nm-setting-ip4-config.c
7166                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7167                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7168                         marshal GValueArrays inside collections, so switch to types that it
7169                         can actually marshal/demarshal
7170
7171 2007-11-16  Dan Williams  <dcbw@redhat.com>
7172
7173         * libnm-util/nm-setting-wireless-security.c
7174                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7175                         minimal verification of EAP methods too
7176                 - (verify): verify phase1 eap methods too
7177
7178 2007-11-15  Dan Williams  <dcbw@redhat.com>
7179
7180         * libnm-glib/nm-device.h
7181           libnm-glib/nm-device.c
7182                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7183                         const char *
7184
7185 2007-11-15  Dan Williams  <dcbw@redhat.com>
7186
7187         * libnm-glib/nm-device.c
7188                 - (get_product_and_vendor): don't try to free things that should be
7189                         freed
7190
7191 2007-11-15  Dan Williams  <dcbw@redhat.com>
7192
7193         * src/NetworkManagerUtils.c
7194                 - (nm_ethernet_address_is_valid): unbreak previous fix
7195
7196 2007-11-15  Dan Williams  <dcbw@redhat.com>
7197
7198         * src/supplicant-manager/nm-supplicant-config.c
7199                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7200                         options
7201
7202 2007-11-15  Dan Williams  <dcbw@redhat.com>
7203
7204         * src/NetworkManagerUtils.c
7205                 - (nm_ethernet_address_is_valid): fix style, clarify
7206                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7207
7208         * src/nm-device-802-11-wireless.c
7209                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7210                 - (nm_device_802_11_wireless_get_ssid,
7211                    nm_device_802_11_wireless_get_bssid,
7212                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7213                         before calling the ioctl; fixes valgrind-reported jump depends on
7214                         uninitialized value errors
7215
7216 2007-11-15  Dan Williams  <dcbw@redhat.com>
7217
7218         * libnm-util/nm-setting.c
7219                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7220                         unecessary to serialize 'name'
7221
7222         * src/nm-activation-request.c
7223                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7224                         the GetSecrets call
7225
7226 2007-11-15  Dan Williams  <dcbw@redhat.com>
7227
7228         * libnm-util/nm-setting-connection.h
7229           libnm-util/nm-setting-connection.c
7230                 - Rename the 'name' property to 'id', because it conflicted with the
7231                         NMSetting superclass' 'name' property.
7232
7233         * libnm-util/nm-setting.c
7234                 - (nm_setting_to_hash): serialize the 'name' property
7235                 - (one_property_cb): ignore 'name' on deserialization of a connection
7236
7237         * src/nm-device-802-11-wireless.c
7238           src/vpn-manager/nm-vpn-connection.c
7239           src/NetworkManagerPolicy.c
7240                 - Fix up for NMSettingConnection 'name'->'id' changes
7241
7242 2007-11-13  Dan Williams  <dcbw@redhat.com>
7243
7244         * libnm-glib/nm-device-802-11-wireless.h
7245           libnm-glib/nm-device-802-11-wireless.c
7246                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7247
7248         * test/nm-tool.c
7249           libnm-glib/libnm-glib-test.c
7250                 - Fixes for above change
7251
7252 2007-11-12  Dan Williams  <dcbw@redhat.com>
7253
7254         * src/supplicant-manager/nm-supplicant-settings-verify.c
7255                 - Allow fragment_size option
7256
7257         * src/supplicant-manager/nm-supplicant-settings-verify.c
7258                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7259                         EAP fragment size than the default to help some TLS connections
7260
7261 2007-11-12  Dan Williams  <dcbw@redhat.com>
7262
7263         Make certs actually work.  The private key is now a secret, and should be
7264         decrypted when requested by NM.  The private key and phase2 private key
7265         passwords are no longer interesting to NM because they should be used by
7266         the settings service to decrypt the private key itself before passing it
7267         to NM, and hence have been removed as fields.
7268
7269         * libnm-util/nm-setting-wireless-security.h
7270           libnm-util/nm-setting-wireless-security.c
7271                 - Remove private-key-passwd and phase2-private-key-passwd from
7272                         properties
7273                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7274                    need_secrets): use property #defines instead strings to keep things
7275                         consistent
7276                 - (need_secrets_tls): if a client certificate is present but no
7277                         private key, request the private key
7278                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7279                         remove private key password stuff, mark private keys as secret
7280
7281         * src/supplicant-manager/nm-supplicant-settings-verify.c
7282                 - Remove private_key_passwd and private_key2_passwd from opt_table
7283
7284 2007-11-09  Dan Williams  <dcbw@redhat.com>
7285
7286         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7287         Since the vpn-properties are managed and known by the VPN daemons themselves,
7288         libnm-util doesn't know what's secret and what's in the setting's 'data'
7289         member.
7290
7291         * libnm-util/nm-setting.h
7292           libnm-util/nm-setting.c
7293                 - Add the ability for subclasses to override update_one_secret
7294
7295         * libnm-util/nm-setting-vpn-properties.c
7296                 - Override update_one_secret and just copy the values into the
7297                         internal table
7298
7299 2007-11-09  Dan Williams  <dcbw@redhat.com>
7300
7301         * libnm-glib/nm-settings.h
7302           libnm-glib/nm-settings.c
7303                 - (nm_settings_new_error): remove
7304                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7305                         clients should use g_set_error() with NM_SETTINGS_ERROR
7306
7307 2007-11-09  Dan Williams  <dcbw@redhat.com>
7308
7309         * src/supplicant-manager/nm-supplicant-config.c
7310                 - (nm_supplicant_config_add_setting_wireless_security): private key
7311                         passwords are never sent to wpa_supplicant, because the supplicant
7312                         should never be reading random files from the disk.  Clients like
7313                         the applet are required to decrypt the private keys and send NM
7314                         the decrypted blobs.
7315
7316 2007-11-08  Dan Williams  <dcbw@redhat.com>
7317
7318         * libnm-util/nm-setting-wireless-security.h
7319           libnm-util/nm-setting-wireless-security.c
7320                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7321                         members to 802-11-wireless-security structure.  This should be used
7322                         to indicate that the values in private-key and phase2-private-key
7323                         are already decrypted by the user agent, and that no
7324                         private-key-passwd or phase2-private-key-passwd should be expected.
7325                         It is not meant to be a stored configuration value, but meant to
7326                         be set when the conneciton is sent to NM over dbus.
7327
7328 2007-11-08  Dan Williams  <dcbw@redhat.com>
7329
7330         * libnm-util/nm-connection.h
7331           libnm-util/nm-connection.c
7332                 - (nm_connection_need_secrets): add argument to return hints
7333
7334         * src/nm-device-802-11-wireless.c
7335                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7336                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7337                         nm_connection_need_secrets() change
7338
7339 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7340
7341         Rework NMSetting structures: Move each setting to it's own file.
7342         Convert to GObject. Remove home grown setting types and use GTypes.
7343         Use GObject property introspection for hash conversion, enumerating
7344         properties, etc.
7345
7346         * libnm-util/nm-setting-connection.[ch]
7347         * libnm-util/nm-setting-ip4-config.[ch]
7348         * libnm-util/nm-setting-ppp.[ch]
7349         * libnm-util/nm-setting-vpn.[ch]
7350         * libnm-util/nm-setting-vpn-properties.[ch]
7351         * libnm-util/nm-setting-wired.[ch]
7352         * libnm-util/nm-setting-wireless.[ch]
7353         * libnm-util/nm-setting-wireless-security.[ch]
7354
7355         New files, each containing a setting.
7356
7357         * libnm-util/nm-setting-template.[ch]: A template for creating new
7358         settings. To use it, just replace 'template' with the new setting
7359         name, and you're half-way done.
7360
7361         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7362         introspection instead of internal types and tables.
7363
7364         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7365
7366         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7367         GValue types defined by dbus-glib for composed types like collections,
7368         structures and maps.
7369
7370         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7371         a setting from connection takes the setting type now. Also, since
7372         the settings are in multiple files, include relevant settings.
7373
7374 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7375
7376         * configure.in:
7377         * src/backends/NetworkManagerGentoo.c:
7378         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7379         providers in Gentoo.
7380
7381 2007-10-31  Dan Williams  <dcbw@redhat.com>
7382
7383         * libnm-util/nm-connection.c
7384                 - (gvalue_to_string): handle UINT32 arrays
7385
7386 2007-10-31  Dan Williams  <dcbw@redhat.com>
7387
7388         * libnm-glib/nm-device.h
7389           libnm-glib/nm-device.c
7390                 - (nm_device_get_description): remove
7391                 - (nm_device_get_product, nm_device_get_vendor): add
7392                 - (nm_device_update_description): new function (private); walk HAL
7393                         devices to get product and vendor IDs for a specific device
7394
7395 2007-10-31  Dan Williams  <dcbw@redhat.com>
7396
7397         * src/nm-device-802-11-wireless.c
7398                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7399
7400 2007-10-29  Dan Williams  <dcbw@redhat.com>
7401
7402         * src/nm-hal-manager.c
7403                 - (device_added, device_new_capability): ignore device additions while
7404                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7405                         kernel module is unloaded and reloaded and recognized by NM again.
7406
7407 2007-10-26  Dan Williams  <dcbw@redhat.com>
7408
7409         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7410
7411         * src/NetworkManagerAP.c
7412           src/NetworkManagerAP.h
7413           libnm-glib/nm-access-point.c
7414           libnm-glib/nm-access-point.h
7415                 - Make 'rate' property a guint32 to better match with WEXT and
7416                         wpa_supplicant and to allow representation of higher bitrates
7417
7418         * src/nm-device-802-11-wireless.c
7419           introspection/nm-device-802-11-wireless.xml
7420           libnm-glib/nm-device-802-11-wireless.c
7421           libnm-glib/nm-device-802-11-wireless.h
7422                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7423
7424         * src/nm-device-802-3-ethernet.c
7425           src/nm-device-802-3-ethernet.h
7426           introspection/nm-device-802-3-ethernet.xml
7427           libnm-glib/nm-device-802-3-ethernet.c
7428           libnm-glib/nm-device-802-3-ethernet.h
7429                 - Make 'speed' property a guint32 to match other speed/rate types
7430                 - Make nm_device_802_3_ethernet_get_speed() static
7431
7432         * test/nm-tool.c
7433                 - Update for the changes above
7434
7435 2007-10-26  Dan Williams  <dcbw@redhat.com>
7436
7437         * src/named-manager/nm-named-manager.c
7438                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7439                     not calling fclose() twice on some error conditions
7440
7441 2007-10-26  Dan Williams  <dcbw@redhat.com>
7442
7443         * src/nm-activation-request.c
7444                 - (dispose): clean up indentation; get the right DBusGProxy object to
7445                         cancel the GetSecrets pending call on.  Need to use the Secrets
7446                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7447                         pending call doesn't get canceled, and pressing Cancel in the
7448                         applet's password dialog could cause get_secrets_cb() to be called
7449                         after the activation request has already been destroyed
7450
7451 2007-10-24  Dan Williams  <dcbw@redhat.com>
7452
7453         * src/supplicant-manager/nm-supplicant-config.c
7454                 - (nm_supplicant_config_add_blob): pass blob data and length for
7455                         verification
7456                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7457
7458 2007-10-24  Dan Williams  <dcbw@redhat.com>
7459
7460         * src/supplicant-manager/nm-supplicant-settings-verify.c
7461                 - (opt_table): max length for certificates should be 65536
7462
7463 2007-10-24  Dan Williams  <dcbw@redhat.com>
7464
7465         * src/supplicant-manager/nm-supplicant-interface.c
7466                 - (blob_free): correctly free blob data after use
7467                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7468
7469 2007-10-24  Dan Williams  <dcbw@redhat.com>
7470
7471         * libnm-util/nm-setting.c
7472                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7473                         EAP method need secrets
7474
7475 2007-10-24  Dan Williams  <dcbw@redhat.com>
7476
7477         * src/backends/NetworkManagerRedHat.c
7478                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7479
7480 2007-10-23  Dan Williams  <dcbw@redhat.com>
7481
7482         * libnm-util/nm-setting.c
7483           libnm-util/nm-setting.c
7484                 - (nm_setting_compare): implement
7485                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7486                    compare_one_hash_gvalue): compare the contents of a setting
7487
7488         * libnm-util/nm-connection.c
7489                 - (nm_connection_compare): implement
7490
7491 2007-10-23  Dan Williams  <dcbw@redhat.com>
7492
7493         * src/nm-activation-request.c
7494                 - (get_secrets_cb): handle getting a setting back that is more than
7495                         just secrets (ie, user changed auth or EAP method or something)
7496
7497 2007-10-23  Dan Williams  <dcbw@redhat.com>
7498
7499         * libnm-util/nm-setting.c
7500           libnm-util/nm-setting.h
7501                 - (nm_setting_verify): new function; verify one setting
7502                 - (nm_settings_verify_all): rename from nm_settings_verify()
7503                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7504                         all_settings
7505
7506         * libnm-util/nm-connection.c
7507                 - (nm_connection_replace_settings, nm_connection_verify,
7508                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7509
7510 2007-10-23  Dan Williams  <dcbw@redhat.com>
7511
7512         * src/nm-device-802-11-wireless.c
7513                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7514                         desired behavior
7515
7516 2007-10-23  Dan Williams  <dcbw@redhat.com>
7517
7518         * src/supplicant-manager/nm-supplicant-settings-verify.c
7519                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7520                         nm-settings.c
7521
7522 2007-10-23  Dan Williams  <dcbw@redhat.com>
7523
7524         * src/nm-device-802-11-wireless.c
7525                 - (real_act_stage2_config): after the first association failure,
7526                         if the connection still needs secrets ask the user for them
7527                         explicitly.  After the fourth association failure due to bad
7528                         secrets, fail the connection entirely.  Handles the GetSecrets
7529                         loop that NM gets into when the provided secrets don't match up
7530                         with the connection details.
7531
7532 2007-10-23  Dan Williams  <dcbw@redhat.com>
7533
7534         * src/supplicant-manager/nm-supplicant-config.c
7535                 - (nm_supplicant_config_add_setting_wireless_security): only add
7536                         WPA-specific options when WPA is in use
7537
7538 2007-10-23  Dan Williams  <dcbw@redhat.com>
7539
7540         * src/supplicant-manager/nm-supplicant-config.c
7541                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7542                         secret doesn't need to be unhexified
7543
7544 2007-10-23  Dan Williams  <dcbw@redhat.com>
7545
7546         * libnm-util/nm-setting.c
7547                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7548                         before trying to do something with it
7549
7550 2007-10-23  Dan Williams  <dcbw@redhat.com>
7551
7552         * src/nm-device-802-11-wireless.c
7553                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7554
7555 2007-10-23  Dan Williams  <dcbw@redhat.com>
7556
7557         * src/nm-device-802-11-wireless.c
7558                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7559                         non-SSID-broadcasting APs
7560
7561 2007-10-23  Dan Williams  <dcbw@redhat.com>
7562
7563         * src/NetworkManagerAP.c
7564                 - (match_cipher, security_compatible): remove
7565                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7566                         libnm-util instead
7567
7568 2007-10-23  Dan Williams  <dcbw@redhat.com>
7569
7570         * libnm-util/nm-utils.c
7571           libnm-util/nm-utils.h
7572                 - (nm_utils_ap_security_compatible): common function for checking
7573                         whether a specific AP is compatible with an NMConnection
7574
7575 2007-10-23  Dan Williams  <dcbw@redhat.com>
7576
7577         * libnm-util/nm-setting.c
7578                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7579                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7580                    need_secrets_password, setting_wireless_security_verify): fix
7581                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7582                         secrets logic for each supported EAP method
7583
7584 2007-10-23  Dan Williams  <dcbw@redhat.com>
7585
7586         * src/supplicant-manager/nm-supplicant-config.c
7587                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7588                         config option name, should be "private_key2_passwd"
7589
7590 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7591
7592         Implement support for static IP addresses, additional/overridden DNS and
7593         DNS domain search lists.
7594
7595         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7596         (ip4_addresses_to_gvalue): Implement.
7597         (convert_array_to_byte_array): Implement.
7598         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7599         NM_S_TYPE_IP4_ADDRESSES.
7600         (nm_setting_hash): Ditto.
7601         (default_setting_clear_secrets): Add a default case for the switch: IP address
7602         shouldn't be secret, ever.
7603         (setting_ip4_config_verify): Update, requires addresses in case of manual
7604         configurations.
7605         (setting_ip4_config_destroy): Free stuff.
7606
7607         * src/nm-device.c (merge_ip4_config): Implement.
7608         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7609
7610 2007-10-22  Dan Williams  <dcbw@redhat.com>
7611
7612         * libnm-util/nm-setting.c
7613                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7614                         pairwise cipher options for Dynamic WEP
7615
7616 2007-10-21  Dan Williams  <dcbw@redhat.com>
7617
7618         * src/NetworkManagerAP.c
7619           src/NetworkManagerAP.h
7620                 - Rename 'articifical' -> 'fake' since that's what they are until
7621                         noticed in scans
7622                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7623                         from the attributes in an NMConnection object
7624                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7625                         WPA Enterprise
7626                 - (nm_ap_match_in_list): find a matching AP in a scan list
7627
7628         * src/nm-device-802-11-wireless.c
7629                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7630                         AP when searching the scan list; match on frequency and mode too
7631                 - (nm_device_802_11_wireless_get_frequency): implement
7632                 - (merge_scanned_ap): replace duplicate matching logic with
7633                         nm_ap_match_in_list()
7634                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7635                         the user is trying to connect to a hidden network that is not yet
7636                         known from the scan list
7637                 - (activation_success_handler): now that the card knows the AP's BSSID,
7638                         there may already be a scanned AP in the scan list that is what
7639                         we really wanted to connect to, but didn't know at the time.  Use
7640                         that instead of the 'fake' AP created at activation start and get
7641                         rid of the 'fake' AP 
7642                 - (cull_scan_list): don't remove fake APs
7643
7644 2007-10-21  Dan Williams  <dcbw@redhat.com>
7645
7646         * src/nm-activation-request.h
7647           src/nm-activation-request.c
7648                 - (nm_act_request_set_specific_object): new function; allow setting the
7649                         specific object if one isn't set yet
7650
7651 2007-10-20  Dan Williams  <dcbw@redhat.com>
7652
7653         * src/supplicant-manager/nm-supplicant-config.h
7654           src/supplicant-manager/nm-supplicant-config.c
7655                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7656                         table to store blobs
7657                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7658                         blob hash table
7659                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7660                 - (nm_supplicant_config_add_setting_wireless_security): handle
7661                         options that use certificates (ie, blobs)
7662
7663         * src/nm-device-802-11-wireless.c
7664                 - (build_supplicant_config): pass a UID (just use the connection path)
7665                         to the supplicant config as now required
7666
7667         * src/supplicant-manager/nm-supplicant-interface.c
7668                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7669                         there are any blobs to send to wpa_supplicant, send those first
7670                         before sending the network configuration
7671
7672 2007-10-19  Dan Williams  <dcbw@redhat.com>
7673
7674         Split the GetSecrets() call off to a separate D-Bus interface so that it
7675         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7676         should be able to call GetSecrets().
7677
7678         * include/NetworkManager.h
7679                 - Define the connection secrets D-Bus interface
7680
7681         * src/vpn-manager/nm-vpn-connection.c
7682                 - (clear_need_auth): get the right proxy object for the connection
7683                         secrets interface
7684                 - (get_connection_secrets): use the connection secrets proxy; send
7685                         empty hints in get secrets request
7686
7687         * src/nm-activation-request.c
7688                 - (nm_act_request_request_connection_secrets): use the connection
7689                         secrets proxy; send empty hints in get secrets request
7690
7691         * src/nm-manager.c
7692           src/nm-manager.h
7693                 - (connection_get_settings_cb): set the connection secrets proxy on
7694                         the connection object too
7695                 - (internal_new_connection_cb): create the connection secrets proxy
7696
7697         * introspection/nm-settings-connection.xml
7698                 - Define Connection.Secrets interface and move GetSecrets there
7699                 - Add a 'hints' argument to GetSecrets
7700
7701         * libnm-glib/nm-settings.c
7702           libnm-glib/nm-settings.h
7703                 - (impl_connection_settings_get_secrets): add 'hints' argument
7704
7705 2007-10-19  Dan Williams  <dcbw@redhat.com>
7706
7707         * src/nm-device.c
7708                 - (constructor): add message about what path a device is exported as
7709                         to help in debugging rh #339011
7710
7711 2007-10-17  Dan Williams  <dcbw@redhat.com>
7712
7713         * libnm-util/nm-utils.h
7714           libnm-util/nm-utils.c
7715                 - (nm_utils_security_valid): common function to help find the intersection
7716                         of capabilities of devices and (optionally) access points
7717
7718 2007-10-17  Dan Williams  <dcbw@redhat.com>
7719
7720         * src/nm-device-802-11-wireless.c
7721                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7722                         don't get erroneously cleared
7723
7724 2007-10-17  Dan Williams  <dcbw@redhat.com>
7725
7726         * src/nm-manager.h
7727           src/nm-manager.c
7728           src/nm-hal-manager.c
7729                 - (device_removed, finalize, nm_manager_remove_device,
7730                    nm_manager_sleep): add a 'deactivate' argument to 
7731                    nm_manager_remove_device() to fully deactivate devices when necessary
7732                    (ie, always except when waking up)
7733
7734 2007-10-16  Dan Williams  <dcbw@redhat.com>
7735
7736         * libnm-util/nm-setting.c
7737                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7738                         also isn't valid phase2 autheap method
7739
7740 2007-10-16  Dan Williams  <dcbw@redhat.com>
7741
7742         * libnm-glib/nm-client.c
7743                 - (update_wireless_status): consolidate updates of wireless status
7744                 - (constructor): use update_wireless_status()
7745                 - (manager_running): set wireless status off when NM goes away; requery
7746                         the wireless status when NM comes back
7747
7748 2007-10-16  Dan Williams  <dcbw@redhat.com>
7749
7750         * libnm-glib/nm-client.c
7751                 - (nm_client_activate_device): actually use the fixed-up specific
7752                         object path
7753
7754 2007-10-16  Dan Williams  <dcbw@redhat.com>
7755
7756         * src/nm-hal-manager.c
7757                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7758                         killswitch error messages once
7759
7760 2007-10-16  Dan Williams  <dcbw@redhat.com>
7761
7762         * src/nm-manager.c
7763                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7764                         if it's disabled in hardware; don't touch network devices while
7765                         NM is asleep
7766
7767 2007-10-16  Dan Williams  <dcbw@redhat.com>
7768
7769         * libnm-util/nm-client.c
7770                 - (nm_client_activate_device): convert NULL specific_object to "/",
7771                         which is used in place of NULL
7772
7773         * src/nm-manager.c
7774                 - (impl_manager_activate_device): convert "/" specific_object back into
7775                         NULL
7776
7777 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7778
7779         Implement a generic NMSetting creator from setting name.
7780         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7781         add a virtual function 'populate_fn'.
7782
7783         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7784         (register_default_creators): Register setting creators instead of functions
7785         that create and then populate.
7786         (parse_one_setting): Use the common setting creator and then setting specific
7787         poplulation function.
7788
7789         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7790         they all looked exactly the same.
7791         Add a 'populate_fn' virtual function to NMSetting.
7792         Use default virtual functions in case they are not overriden.
7793         (nm_setting_populate_from_hash): Implement.
7794
7795         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7796         name, use a defined string.
7797         (real_act_stage4_get_ip4_config): Ditto.
7798
7799 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7800
7801         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7802         HAL is int, not uint.
7803
7804 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7805
7806         Implement killswitch polling through HAL.
7807
7808         * src/nm-manager.c: Add wireless hardware status property. Add 
7809         'properties-changed' signal for changes in wireless and wireless hardware
7810         state changes.
7811
7812         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7813         and update NMManager's wireless hardware state when it has changed.
7814         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7815         already does that.
7816
7817         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7818         values of wireless state and wireless hardware state. Listen for the
7819         'properties-changed' signals, update the cached values and emit notify.
7820
7821         * include/NetworkManager.h: Fix a typo in a comment.
7822
7823 2007-10-14  Dan Williams  <dcbw@redhat.com>
7824
7825         * libnm-util/nm-setting.c
7826                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7827
7828 2007-10-13  Dan Williams  <dcbw@redhat.com>
7829
7830         * libnm-util/nm-setting.h
7831           libnm-util/nm-setting.c
7832           src/supplicant-manager/nm-supplicant-config.c
7833                 - Make the 'proto' field of the 802-11-wireless-security field a
7834                         string list
7835
7836 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7837
7838         Rework the "properties-changed" signal listening implementation.
7839         Add a generic implementation to NMObject class that listens for
7840         the signal and calls property setters of the target NMObject.
7841
7842         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7843
7844         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7845         code to the end of file so that all the static functions are available
7846         without extra declarations.
7847         Remove the "properties-changed" signal handling and use the framework from
7848         NMObject.
7849         Implement property setters for properties that change with 
7850         "properties-changed" signal.
7851
7852         * libnm-glib/nm-access-point.c: Ditto.
7853
7854 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7855
7856         Rework the "properties-changed" signal implementation.
7857         In classes that need to use it, just emit "GObject::notify" and the new
7858         framework takes care of the rest to make the signal available on dbus.
7859         The framework queues the notifications and tries to send as many together
7860         in one signal as possible.
7861
7862         * src/nm-properties-changed-signal.c:
7863         * src/nm-properties-changed-signal.h: Implement.
7864
7865         * src/Makefile.am: Add new files to build.
7866
7867         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7868         signal.
7869
7870         * src/nm-device-802-11-wireless.c: Ditto.
7871
7872 2007-10-10  Dan Williams  <dcbw@redhat.com>
7873
7874         * src/nm-manager.c
7875                 - (wait_for_connection_expired): ensure info is valid
7876                 - (connection_added_default_handler): Should only remove pending
7877                         connection info when the manager has the connection that it's
7878                         waiting for.  Fixes segfault in wait_for_connection_info().  
7879
7880 2007-10-10  Dan Williams  <dcbw@redhat.com>
7881
7882         * libnm-util/nm-setting.c
7883           libnm-util/nm-setting.h
7884                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7885                         can use if they choose.  Should be filled in by the settings service
7886                         on-the-fly with the currently logged in user's username
7887
7888 2007-10-10  Dan Williams  <dcbw@redhat.com>
7889
7890         * src/nm-device-802-11-wireless.c
7891                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7892                         as such, because even if the manager fills in the SSID, NM still
7893                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7894                         its SSID
7895
7896 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7897
7898         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7899         code that used NM's own version of dbus signal handling and custom dictionary
7900         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7901         and we get to maintain over 2000 lines less code.
7902
7903         * libnm-util/dbus-dict-helpers.c:
7904         * libnm-util/dbus-dict-helpers.h: Remove.
7905
7906         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7907
7908         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7909
7910         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7911         handlers.
7912
7913         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7914
7915         * configure.in: Remove test/libnm-util/Makefile creation.
7916
7917         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7918
7919         * test/libnm-util/: Remove the whole directory.
7920
7921 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7922
7923         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7924         device_state_changed_idle_id variable or it would contain some random value and the
7925         schedule_change_check calls would not do anything.
7926
7927 2007-10-09  Dan Williams  <dcbw@redhat.com>
7928
7929         * src/nm-device-802-11-wireless.c
7930                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7931                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7932                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7933                         merging of non-SSID-broadcasting APs
7934
7935 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7936
7937         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7938         "guint8 *" since it's usually used with GByteArray->data.
7939         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7940
7941 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7942
7943         * src/NetworkManagerUtils.c
7944         (nm_utils_is_empty_ssid):
7945         (nm_utils_escape_ssid):
7946         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7947         lot of places, so they belong to libnm-utils instead.
7948
7949         Now with 100% less compiler warnings:
7950
7951         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7952         (nm_dbus_unescape_object_path): Ditto.
7953         (nm_utils_ssid_to_utf8): Ditto.
7954         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7955         (nm_utils_escape_ssid): Ditto.
7956         (nm_utils_same_ssid): Ditto.
7957
7958         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7959         (add_one_connection_element): Remove an unused variable.
7960         (impl_manager_get_active_connections): Ditto.
7961
7962         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7963         variable.
7964
7965         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7966         from the previous commit.
7967
7968         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7969         (real_act_stage1_prepare): Ditto.
7970         (activation_success_handler): Ditto.
7971         (get_property): Ditto.
7972
7973         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7974         variable.
7975
7976         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7977         it's always set.
7978
7979         * src/supplicant-manager/nm-supplicant-config.c 
7980         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7981         to expected "char *".
7982         (nm_supplicant_config_add_setting_wireless): Ditto.
7983         (nm_supplicant_config_remove_option): Remove, not used.
7984
7985         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7986         not double.
7987         (test_wireless_enabled): Ifdef out unused function.
7988         (device_deactivate): Ditto.
7989         (device_state_changed): Ditto.
7990         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7991         (nm_utils_escape_ssid): Ditto.
7992
7993         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7994         (nm_utils_is_empty_ssid): Ditto.
7995
7996         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7997         unused variable.
7998
7999         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
8000         (setting_vpn_properties_update_secrets): Ditto.
8001         (int_to_gvalue): Ifdef out for now, not used.
8002         (byte_to_gvalue): Ditto.
8003
8004         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
8005         Unused, remove.
8006
8007 2007-10-08  Tambet Ingo  <tambet@gmail.com>
8008
8009         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8010         about dbus manager, not named manager.
8011         Make sure hal_manager and dbus_mgr are created before trying to unreference.
8012
8013         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8014         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8015         However, the same signal is emitted when we destroy it and there's 
8016         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8017
8018         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8019         releasing the DBusGConnection, since proxy needs a conneciton.
8020         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8021
8022 2007-10-08  Dan Williams  <dcbw@redhat.com>
8023
8024         * src/NetworkManager.c
8025                 - (main): error on unknown command-line options
8026
8027 2007-10-08  Dan Williams  <dcbw@redhat.com>
8028
8029         Reimplement the invalid connection list.  Don't try to re-activate a
8030         connection that just failed or was canceled.
8031
8032         * src/nm-device.c
8033                 - (connection_secrets_failed_cb): fail device activation, don't just
8034                         deactivate the device.  Listeners have to know about the failure.
8035
8036         * src/NetworkManagerPolicy.c
8037                 - (nm_policy_auto_get_best_device): exclude invalid connections from
8038                         the connection list given to a device's get_best_connection()
8039                         method
8040                 - (device_state_changed): tag failed connections as invalid; clear the
8041                         tag from successful connections
8042
8043 2007-10-08  Dan Williams  <dcbw@redhat.com>
8044
8045         Fix problems with interrupted activation.  Previously, choosing an AP
8046         from the menu, then choosing another one before the first connection was
8047         successful wouldn't deactivate the device before starting the new connection
8048         on that same device.
8049
8050         * src/NetworkManagerPolicy.c
8051                 - (deactivate_old_device, device_state_changed, state_changed,
8052                    nm_policy_new): wrong place to deactivate old devices
8053
8054         * src/nm-manager.c
8055                 - (pending_connection_info_destroy, finalize,
8056                    wait_for_connection_expired): decouple destruction of the pending
8057                         connection info from the manager device
8058                 - (connection_added_default_handler): deactivate any active or
8059                         activating device before starting a new activation
8060                 - (impl_manager_activate_device): deactivate any active or activating
8061                         device before starting a new activation; be sure not to leak
8062                         pending connection info if a new activation request arrives but
8063                         there's already a pending one in-process
8064
8065 2007-10-08  Dan Williams  <dcbw@redhat.com>
8066
8067         * src/NetworkManagerAP.h
8068           src/NetworkManagerAP.c
8069                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
8070                         should handle default SSIDs and whether or not to autoconnect
8071                         to them
8072
8073 2007-10-08  Dan Williams  <dcbw@redhat.com>
8074
8075         * src/NetworkManagerPolicy.c
8076                 - (nm_policy_device_change_check): print out connection name where
8077                         possible
8078
8079 2007-10-08  Dan Williams  <dcbw@redhat.com>
8080
8081         * src/nm-device-802-11-wireless.c
8082           src/nm-device-802-11-wireless.h
8083                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8084                         'hidden-ap-found' signal (for internal use only) that allows the
8085                         NMManager to fill in the AP's SSID if a connection has that AP's
8086                         BSSID in its seen-bssids list
8087
8088         * src/nm-manager.c
8089                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8090                         wireless device's hidden-ap-found signal and fill in the APs SSID
8091                         if possible
8092
8093 2007-10-07  Dan Williams  <dcbw@redhat.com>
8094
8095         * src/nm-manager.c
8096           src/nm-manager.h
8097                 - Add a 'connections-added' signal to batch together updates of large
8098                         numbers of connections, like when reading from a settings service
8099                         the first time.  Otherwise, the policy would just activate the first
8100                         suitable connection it saw rather than waiting for the full list
8101                         to arrive.
8102                 - (nm_manager_class_init): register new signal
8103                 - (get_type_for_proxy, connection_get_settings_cb,
8104                    get_connection_for_proxy): centralize places where a proxy's setting
8105                         service is determined
8106                 - (free_get_settings_info): if the call being freed is the last call
8107                         in a pending call group, fire off the connections-added signal
8108                 - (internal_new_connection_cb): add call to a pending call group if
8109                         requested
8110                 - (list_connections_cb): always create a call group here, because this
8111                         call results in a batch of new connections
8112                 - (initial_get_connections): start getting system connections first
8113                 - (nm_manager_connections_destroy, emit_removed): actually emit the
8114                         removed signal when destroying connections
8115
8116         * src/NetworkManagerPolicy.c
8117                 - (nm_policy_new, connections_added): handle connections-added signal
8118                         from the manager
8119
8120 2007-10-06  Dan Williams  <dcbw@redhat.com>
8121
8122         * src/nm-device-802-11-wireless.c
8123                 - (constructor): fix leaked socket
8124
8125 2007-10-06  Dan Williams  <dcbw@redhat.com>
8126
8127         * src/NetworkManagerPolicy.c
8128                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
8129                         connection in the list returned by nm_manager_get_connections() is
8130                         reffed, but they weren't getting unreffed before returning
8131
8132 2007-10-06  Dan Williams  <dcbw@redhat.com>
8133
8134         * src/nm-manager.c
8135                 - (connections_to_slist): sort connections first on autoconnect, then
8136                         on timestamp
8137
8138 2007-10-06  Dan Williams  <dcbw@redhat.com>
8139
8140         * libnm-util/nm-connection.c
8141                 - (gvalue_to_string): handle UINT64
8142
8143 2007-10-06  Dan Williams  <dcbw@redhat.com>
8144
8145         * src/NetworkManagerPolicy.c
8146                 - (connection_updated, nm_policy_new): recheck state when a connection
8147                         gets updated
8148
8149 2007-10-06  Dan Williams  <dcbw@redhat.com>
8150
8151         * src/nm-manager.c
8152           src/nm-manager.h
8153                 - (nm_manager_get_connection_dbus_path): make static
8154                 - (nm_manager_update_connections): remove; unused
8155                 - Add a connection-updated signal
8156                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8157                         handle connection object updates
8158
8159 2007-10-06  Dan Williams  <dcbw@redhat.com>
8160
8161         * src/NetworkManagerPolicy.c
8162                 - (connection_removed): deactivate removed connections
8163
8164 2007-10-06  Dan Williams  <dcbw@redhat.com>
8165
8166         * libnm-util/nm-connection.c
8167           libnm-util/nm-connection.h
8168                 - (nm_connection_replace_settings): new function
8169
8170 2007-10-06  Dan Williams  <dcbw@redhat.com>
8171
8172         * libnm-glib/nm-device-802-11-wireless.c
8173                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8174                         on error when getting the active access point over D-Bus from NM
8175
8176 2007-10-05  Dan Williams  <dcbw@redhat.com>
8177
8178         * libnm-util/nm-setting.c
8179                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8180                         to the NMSettingWireless table; it's now a string array not an array
8181                         of byte arrays
8182
8183 2007-10-05  Dan Williams  <dcbw@redhat.com>
8184
8185         * libnm-glib/nm-device-802-11-wireless.c
8186                 - Cache properties and update cached properties on D-Bus signals from NM
8187
8188 2007-10-05  Dan Williams  <dcbw@redhat.com>
8189
8190         * src/nm-device-802-11-wireless.c
8191                 - (set_current_ap): consolidate current_ap handling code into one place
8192                         to ensure that PropertiesChanged signals are emitted in all cases
8193                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8194                    nm_device_802_11_wireless_dispose): use set_current_ap()
8195
8196 2007-10-05  Dan Williams  <dcbw@redhat.com>
8197
8198         * libnm-glib/nm-access-point.c
8199           libnm-glib/nm-access-point.h
8200                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8201                         because the value is cached internally now.  Callers should not
8202                         free the internal value.
8203                 - Make signal name defines private
8204
8205         * test/nm-tool.c
8206           libnm-glib/libnm-glib-test.c
8207                 - Don't free value returned from nm_access_point_get_hw_address()
8208
8209 2007-10-04  Dan Williams  <dcbw@redhat.com>
8210
8211         * introspection/nm-device-802-11-wireless.xml
8212           src/nm-device-802-11-wireless.h
8213           src/nm-device-802-11-wireless.c
8214                 - Add a PropertiesChanged signal for wireless device
8215                 - Store currently associated access point
8216                 - (periodic_update): generalize; update rate here too and emit the
8217                         correct PropertiesChanged signal when stuff changes
8218                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8219                    real_activation_cancel_handler): clear current_ap when device is
8220                         deactivated
8221                 - (link_to_specific_ap, get_ap_blacklisted,
8222                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8223                         code
8224                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8225                         outside this file
8226                 - (real_set_hw_address): emit property changed signal if the card's
8227                         MAC address changes
8228                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8229                         the card is supposed to be connecting to
8230                 - (activation_success_handler): send out property updates on successful
8231                         activation
8232                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8233                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8234                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8235                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8236                         is now boxed; add PropertiesChanged signal
8237
8238 2007-10-04  Dan Williams  <dcbw@redhat.com>
8239
8240         * libnm-util/nm-connection.c
8241           libnm-util/nm-connection.h
8242                 - (nm_connection_verify): new function
8243
8244 2007-10-04  Dan Williams  <dcbw@redhat.com>
8245
8246         * libnm-util/nm-setting.c
8247                 - (nm_settings_verify): use #defines when possible rather than strings
8248                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8249                 - (setting_vpn_verify): tighter validity check on 'service_type'
8250
8251 2007-10-04  Dan Williams  <dcbw@redhat.com>
8252
8253         * libnm-glib/nm-settings.c
8254                 - (nm_connection_settings_class_init): provide correct type for argument
8255                         to the Updated signal so that dbus-glib knows how to marshal it
8256
8257 2007-10-03  Dan Williams  <dcbw@redhat.com>
8258
8259         * src/nm-device-802-3-ethernet.c
8260                 - (real_get_best_connection): don't create automatic connections
8261                         internally; clients should provide a setting that applies to
8262                         the device with 'autoconnect: True'.  Problem was that these
8263                         internally auto-created connections don't have a proxy or service
8264                         name becuase they weren't created by a settings daemon, and therefore
8265                         clients have no idea what to do with them.
8266
8267 2007-10-03  Dan Williams  <dcbw@redhat.com>
8268
8269         * src/nm-device-802-11-wireless.c
8270           src/nm-device-802-11-wireless.h
8271           introspection/nm-device-802-11-wireless.xml
8272                 - GetActiveNetworks -> GetAccessPoints
8273                 - ActiveNetwork -> ActiveAccessPoint
8274                 - NetworkAdded -> AccessPointAdded
8275                 - NetowrkRemoved -> AccessPointRemoved
8276
8277         * libnm-glib/nm-device-802-11-wireless.c
8278           libnm-glib/nm-device-802-11-wireless.h
8279                 - network-added signal -> access-point-added
8280                 - network-removed signal -> access-point-removed
8281                 - nm_device_802_11_wireless_get_active_network() ->
8282                         nm_device_802_11_wireless_get_active_access_point()
8283                 - nm_device_802_11_wireless_get_network_by_path() ->
8284                         nm_device_802_11_wireless_get_access_point_by_path()
8285                 - nm_device_802_11_wireless_get_networks() ->
8286                         nm_device_802_11_wireless_get_access_points()
8287
8288         * libnm-glib/libnm-glib-test.c
8289           test/nm-tool.c
8290           src/NetworkManagerPolicy.c
8291                 - Fixups for Network -> AccessPoint
8292
8293 2007-10-03  Dan Williams  <dcbw@redhat.com>
8294
8295         Add a GetActiveConnections() method on the Manager object.
8296
8297         * src/nm-manager.c
8298           src/nm-manager.h
8299           introspection/nm-manager.xml
8300                 - (connection_get_settings_cb): keep connection type around too
8301                 - (impl_manager_get_active_connections, add_one_connection_element):
8302                         implement; returns all active connections and what devices they
8303                         apply to
8304
8305         * libnm-glib/nm-client.c
8306           libnm-glib/nm-client.h
8307           introspection/nm-manager-client.xml
8308                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8309                         by the caller; free here to avoid memory leak
8310                 - (nm_client_get_active_connections): implement; return the list of
8311                         active connections
8312                 - (nm_client_free_active_connection_element): implement; free an element
8313                         of the GSList returned by nm_client_get_active_connections()
8314
8315 2007-10-03  Dan Williams  <dcbw@redhat.com>
8316
8317         * src/nm-device-802-11-wireless.c
8318                 - (nm_device_802_11_wireless_update_bssid): remove
8319                 - (get_active_ap): new function; find the AP in the scan list which
8320                         matches the current BSSID and SSID of the wireless device
8321                 - (nm_device_802_11_periodic_update): get current AP using
8322                         get_active_ap() and print AP roam messages
8323
8324 2007-10-01  Dan Williams  <dcbw@redhat.com>
8325
8326         * libnm-util/nm-setting.h
8327                 - Add a 'timestamp' option to NMSettingConnection
8328                 - Add a UINT64 type
8329
8330         * libnm-util/nm-setting.c
8331                 - (uint64_to_gvalue): new function
8332                 - (nm_setting_populate_from_hash, nm_setting_hash,
8333                    default_setting_clear_secrets): handle UINT64 type
8334                 - con_table: add 'timestamp' member
8335
8336 2007-10-01  Dan Williams  <dcbw@redhat.com>
8337
8338         * src/nm-manager.c
8339                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8340                         value when the connection can be activated immediately
8341
8342 2007-10-01  Dan Williams  <dcbw@redhat.com>
8343
8344         * libnm-glib/nm-device.c
8345                 - (nm_device_class_init): actually tell glib about the carrier-changed
8346                         signal
8347
8348 2007-10-01  Dan Williams  <dcbw@redhat.com>
8349
8350         * configure.in
8351           src/marshallers/Makefile.am
8352           src/marshallers/nm-marshal.list
8353           src/marshallers/nm-marshal-main.c
8354                 - Consolidate glib marshallers into one place
8355
8356         * src/dhcp-manager/Makefile.am
8357           src/dhcp-manager/nm-dhcp-manager.c
8358           src/supplicant-manager/Makefile.am
8359           src/supplicant-manager/nm-supplicant-manager.c
8360           src/supplicant-manager/nm-supplicant-interface.c
8361           src/ppp-manager/Makefile.am
8362           src/ppp-manager/nm-ppp-manager.c
8363           src/vpn-manager/Makefile.am
8364           src/vpn-manager/nm-vpn-connection.c
8365           src/Makefile.am
8366                 - Use consolidated marshallers
8367
8368         * src/dhcp-manager/nm-dhcp-marshal.list
8369           src/dhcp-manager/nm-dhcp-marshal-main.c
8370           src/supplicant-manager/nm-supplicant-marshal-main.c
8371           src/supplicant-manager/nm-supplicant-marshal.list
8372           src/nm-marshal-main.c
8373           src/nm-marshal.list
8374           src/ppp-manager/nm-ppp-marshal-main.c
8375           src/ppp-manager/nm-ppp-marshal.list
8376           src/vpn-manager/nm-vpn-marshal-main.c
8377           src/vpn-manager/nm-vpn-marshal.list
8378                 - Remove
8379
8380 2007-10-01  Dan Williams  <dcbw@redhat.com>
8381
8382         * include/NetworkManagerVPN.h
8383                 - define VPN connection state change reason codes
8384
8385         * src/vpn-manager/Makefile.am
8386           src/vpn-manager/nm-vpn-marshal.list
8387           src/vpn-manager/nm-vpn-marshal-main.c
8388                 - Add marshallers for StateChanged signal
8389
8390         * introspection/nm-vpn-connection.xml
8391                 - New Banner property
8392                 - StateChanged signal now includes a 'reason' argument
8393
8394         * src/vpn-manager/nm-vpn-connection.c
8395           src/vpn-manager/nm-vpn-connection.h
8396                 - Add a "Banner" property that contains the returned VPN server login
8397                         banner (if any); valid only in the ACTIVATED state
8398                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8399                         a 'reason' argument and emits that reason along with the
8400                         state-changed signal
8401                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8402                 - (nm_vpn_connection_ip4_config_get): save banner for later
8403                 - (nm_vpn_connection_get_banner, get_property,
8404                    nm_vpn_connection_class_init): implement Banner property
8405
8406         * src/vpn-manager/nm-vpn-service.c
8407                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8408                         connection list because elements may get added/removed from it
8409                         while iterating over the list
8410                 - (connection_state_changed): signal now includes the 'reason' argument
8411
8412         * libnm-glib/nm-vpn-connection.c
8413           libnm-glib/nm-vpn-connection.h
8414                 - (nm_vpn_connection_get_banner): new function
8415                 - (state_changed_proxy): handle reason argument
8416
8417 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8418
8419         * src/nm-manager.c:
8420         * src/nm-manager.h:
8421         Implement device activation through NMManager.
8422         Implement "pending device activation" here - If the connection isn't found,
8423         we try to wait for up to 5 seconds for the connection to be provided.
8424         Add NMConnectionType argument to "connection-added" and "connection-removed"
8425         signals.
8426         (nm_manager_get): Remove. Finally.
8427
8428         * src/nm-activation-request.c: 
8429         * src/nm-activation-request.h: 
8430         Remove all the deferred activation code.
8431
8432         * src/nm-device.c: Remove all the deferred activation code. Once the device
8433         activation is started, it's started. Update the activation virtual function
8434         signature.
8435
8436         * src/nm-device-interface.c:
8437         * src/nm-device-interface.h:
8438         Device activation now takes only NMActRequest argument.
8439         Don't expose device activation directly on dbus, it's supposed to go through
8440         NMManager now.
8441
8442         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8443         a bit more compact.
8444         Use the new device activation methods through NMManager.
8445
8446         * introspection/nm-manager-client.xml: 
8447         * introspection/nm-manager.xml: 
8448         * libnm-glib/nm-client.c:
8449         * libnm-glib/nm-client.h:
8450         Add device activation method.
8451         
8452         * libnm-glib/nm-device.c: 
8453         * libnm-glib/nm-device.h: 
8454         * introspection/nm-device.xml: 
8455         Remove device activation method. It's done through NMManager now.
8456
8457         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8458         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8459
8460 2007-09-28  Dan Williams  <dcbw@redhat.com>
8461
8462         * libnm-glib/nm-vpn-connection.c
8463                 - (nm_vpn_connection_get_state): try to update state if the current
8464                         state is UNKNOWN
8465
8466 2007-09-27  Dan Williams  <dcbw@redhat.com>
8467
8468         Patch from Bill Nottingham
8469
8470         * src/supplicant-manager/nm-supplicant-config.c
8471                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8472                         data to the supplicant
8473
8474 2007-09-27  Dan Williams  <dcbw@redhat.com>
8475
8476         * src/NetworkManagerSystem.c
8477                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8478                         and all address manipulation here should be happening on the
8479                         _VPN_ device, not the active device
8480
8481 2007-09-26  Dan Williams  <dcbw@redhat.com>
8482
8483         * src/nm-manager.c
8484           src/nm-manager.h
8485           src/nm-activation-request.c
8486           src/nm-activation-request.h
8487                 - Move the GetSecrets stuff out of the NMManager instance because it
8488                         doesn't really need to be there and complicates things
8489
8490         * src/nm-device.c
8491                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8492                         connection-secrets-failed signal and deactivate the device if
8493                         the GetSecrets call fails
8494
8495         * src/nm-device-802-11-wireless.c
8496                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8497                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8498                         secrets and give correct hints about whether new secrets should be
8499                         asked for by the client or not
8500
8501 2007-09-26  Dan Williams  <dcbw@redhat.com>
8502
8503         * src/vpn-manager/nm-vpn-connection.c
8504                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8505                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8506                         to the secrets-updated signal of the NMConnection since updating
8507                         the secrets is done within the scope of the NMVPNConnection object
8508                         already
8509                 - (get_connection_secrets): fix an uninialized variable usage error
8510
8511 2007-09-26  Dan Williams  <dcbw@redhat.com>
8512
8513         * libnm-util/nm-setting.c
8514                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8515                         actually get updated when the user enters them
8516
8517 2007-09-26  Dan Williams  <dcbw@redhat.com>
8518
8519         * libnm-glib/nm-vpn-plugin.c
8520                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8521
8522 2007-09-26  Dan Williams  <dcbw@redhat.com>
8523
8524         * include/NetworkManagerVPN.h
8525                 - Add a NEED_AUTH state
8526
8527         * src/vpn-manager/nm-vpn-connection.c
8528                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8529                         the connection needs secrets, and if so, then ask the settings
8530                         service to fill in the secrets.  Then start the connection.
8531
8532 2007-09-26  Dan Williams  <dcbw@redhat.com>
8533
8534         * src/vpn-manager/nm-vpn-manager.c
8535                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8536
8537 2007-09-26  Dan Williams  <dcbw@redhat.com>
8538
8539         * introspection/nm-vpn-plugin.xml
8540           libnm-glib/nm-vpn-plugin.c
8541           libnm-glib/nm-vpn-plugin.h
8542                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8543                         the name of the NMSetting in an NMConnection that may require
8544                         secrets specific to that VPN plugin
8545
8546 2007-09-26  Dan Williams  <dcbw@redhat.com>
8547
8548         * src/nm-manager.c
8549           src/nm-manager.h
8550                 - (nm_manager_get_connection_secrets): make static, unused outside
8551                         the file
8552                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8553
8554 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8555
8556         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8557         method.
8558         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8559         unreference the connection.
8560
8561         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8562         passing properties hash and routes string list, pass NMConnection (in hashed form).
8563
8564         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8565         as GSList, no need to copy stuff around anymore.
8566         (nm_vpn_connection_activate): Update the plugin activation method.
8567
8568         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8569         routes argument to GSList.
8570
8571 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8572
8573         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8574         state and try to get the secrets.
8575
8576         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8577         connections from NMManager and let the device to choose the best from the list.
8578         Since the connection list is sorted by system ones first and user ones later,
8579         the devices still prefer system connections like they did before.
8580         (deactivate_old_device): Implement. When a device starts activation, we have a
8581         policy (for now at least) to deactivate any other device that might be either
8582         active or still activating.
8583
8584         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8585         It's set on construction, there will be no other way to access it.
8586
8587         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8588         device events and drive the device, not the other way around.
8589
8590         * src/nm-device-802-3-ethernet.c: Ditto.
8591
8592         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8593         sent along, pass it on to virtual functions.
8594
8595         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8596         for now, but should really be public instead of nm_device_get_iface() since iface
8597         is a property of the DeviceInterface, not Device.
8598         (impl_device_activate): Don't touch NMManager!
8599
8600 2007-09-26  Jürg Billeter  <j@bitron.ch>
8601
8602         * initscript/paldo/NetworkManager.in:
8603         * initscript/paldo/NetworkManagerDispatcher.in:
8604         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8605         (nm_system_flush_loopback_routes): update paldo backend
8606
8607 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8608
8609         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8610         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8611         which means none of the devices get brought down properly, which in turn leaves
8612         DHCP client running.
8613
8614         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8615         (supplicant_connection_timeout_cb): Ditto.
8616
8617 2007-09-25  Dan Williams  <dcbw@redhat.com>
8618
8619         * src/nm-device.c
8620                 - (device_activation_go): small hack to work around race when
8621                         activating deferred connections; should solve this in a better way
8622
8623 2007-09-25  Dan Williams  <dcbw@redhat.com>
8624
8625         * introspection/nm-device.xml
8626           libnm-glib/nm-device.c
8627           libnm-glib/nm-device.h
8628                 - Add 'Carrier' property to exported NMDevice objects
8629
8630         * src/nm-device-interface.h
8631           src/nm-device-interface.c
8632           src/nm-device.c
8633                 - Add a 'carrier' property to internal NMDevice objects
8634
8635 2007-09-25  Dan Williams  <dcbw@redhat.com>
8636
8637         * src/nm-device-802-11-wireless.c
8638                 - (ap_auth_enforced): also return the encryption status of the AP so
8639                         that callers can differentiate easily between unencrypted APs
8640                         and encrypted ones, in addition to whether the AP has an
8641                         authenticator
8642                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8643                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8644                         previously would request secrets from unencrypted APs at times
8645
8646 2007-09-25  Dan Williams  <dcbw@redhat.com>
8647
8648         * src/nm-manager.c
8649                 - (nm_manager_update_state): new function; updates state and emits
8650                         appropriate signals ensuring a state-change signal for the same state
8651                         never gets emitted twice in a row.
8652                 - (manager_device_state_changed): handle more device state to get a
8653                         better picture of the overall NM state
8654
8655 2007-09-25  Dan Williams  <dcbw@redhat.com>
8656
8657         * libnm-glib/nm-settings.c
8658           libnm-glib/nm-settings.h
8659                 - (new_error -> nm_settings_new_error): make public so that subclasses
8660                         can use the same error domain.  Also pass a valid error code to
8661                         g_error_new_literal() so that libdbus doesn't assert when converting
8662                         the GError into a DBusError
8663                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8664                    impl_connection_settings_get_settings,
8665                    impl_connection_settings_get_secrets): use new error creator
8666                         function
8667
8668 2007-09-25  Dan Williams  <dcbw@redhat.com>
8669
8670         * src/NetworkManager.c
8671                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8672
8673 2007-09-25  Dan Williams  <dcbw@redhat.com>
8674
8675         * src/supplicant-manager/nm-supplicant-manager.c
8676                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8677                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8678                    nm_supplicant_manager_startup): when the supplicant isn't running,
8679                         try to start it periodically via system bus activation.  Fixes
8680                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8681                         for the supplicant to come back
8682
8683 2007-09-25  Dan Williams  <dcbw@redhat.com>
8684
8685         Ensure that old activation requests are forgotten about; previously
8686         hitting Cancel in the password dialog would deactivate whatever device
8687         that password was requested for, even if that wasn't the currently
8688         activating connection.
8689
8690         * src/nm-manager.c
8691           src/nm-manager.h
8692                 - (nm_manager_get_connection_secrets): track the pending call
8693                         object so it can be canceled later if needed
8694                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8695                         GetSecrets call for a particular connection
8696
8697         * src/nm-activation-request.c
8698                 - (dispose): cancel any outstanding GetSecrets calls on the
8699                         connection
8700
8701 2007-09-25  Dan Williams  <dcbw@redhat.com>
8702
8703         * src/NetworkManagerPolicy.c
8704                 - (nm_policy_device_change_check): handle devices that have a
8705                         deferred activation.  These devices are not really active _yet_,
8706                         but need to be treated as such here.  Don't interrupt them
8707                         automatically.
8708
8709         * src/nm-device-interface.c
8710                 - (impl_device_activate): handle devices that have a deferred activation
8711                         like activating or active devices.  When multiple active devices
8712                         get committed, the device shouldn't be deactivated until the
8713                         connection details are available to avoid DoS and such.  Currently,
8714                         any active, activating, or deferred activation device is deactivated
8715                         here before starting the new activation request.
8716
8717 2007-09-25  Dan Williams  <dcbw@redhat.com>
8718
8719         Properly re-query secrets from the settings daemon when stuff fails.
8720
8721         * src/nm-device-802-11-wireless.c
8722                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8723                         between Shared Key and Open System auth modes
8724                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8725                    real_act_stage4_ip_config_timeout): clear existing secrets and
8726                         request new ones when something fails due to a suspected wrong key
8727                 - (real_act_stage2_config): fix for new request_new argument to
8728                         nm_manager_get_connection_secrets()
8729
8730         * src/nm-manager.c
8731           src/nm-manager.h
8732                 - (nm_manager_get_connection_secrets): return error status; pass
8733                         new request_new argument on to the settings daemon
8734
8735         * introspection/nm-settings-connection.xml
8736                 - New 'request_new' argument to the GetSecrets call that hints to the
8737                         settings daemon to ask the user for completely new secrets
8738
8739         * libnm-glib/nm-settings.c
8740           libnm-glib/nm-settings.h
8741                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8742                         argument
8743
8744 2007-09-25  Dan Williams  <dcbw@redhat.com>
8745
8746         * libnm-util/nm-connection.c
8747           libnm-util/nm-connection.h
8748                 - (nm_connection_clear_secrets): new function; clear secrets out of
8749                         each NMSetting in an NMConnection
8750
8751         * libnm-util/nm-setting.h
8752           libnm-util/nm-setting.c
8753                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8754                         secrets out of an NMSetting
8755                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8756                    nm_setting_wired_new, nm_setting_wireless_new,
8757                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8758                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8759                         to default handler default_setting_clear_secrets()
8760
8761 2007-09-25  Dan Williams  <dcbw@redhat.com>
8762
8763         * src/nm-activation-request.c
8764           src/nm-activation-request.h
8765                 - (nm_act_request_is_deferred): new function
8766
8767 2007-09-24  Dan Williams  <dcbw@redhat.com>
8768
8769         * src/nm-device-802-11-wireless.c
8770                 - (activation_success_handler): update signal strength immediately
8771                         after activation
8772
8773 2007-09-24  Dan Williams  <dcbw@redhat.com>
8774
8775         * libnm-util/nm-setting.c
8776                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8777
8778 2007-09-24  Dan Williams  <dcbw@redhat.com>
8779
8780         * src/NetworkManagerPolicy.c
8781                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8782                         device by deactivating it because it doesn't have a "best connection".
8783                         Since autoconnect=False connections aren't automatically chosen,
8784                         NM would interrupt activation of such a connection because it
8785                         would never be "best" due to autoconnect=False.
8786
8787 2007-09-24  Dan Williams  <dcbw@redhat.com>
8788
8789         * src/nm-manager.c
8790                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8791                         actually has some time to enter a key before the GetSecrets call
8792                         times out
8793
8794 2007-09-24  Dan Williams  <dcbw@redhat.com>
8795
8796         * introspection/nm-manager.xml
8797           src/nm-manager.c
8798                 - (impl_manager_legacy_state): fix 'state' method call return value
8799
8800 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8801
8802         * test/Makefile.am: Install nm-tool
8803
8804 2007-09-24  Dan Williams  <dcbw@redhat.com>
8805
8806         Patch from Ross Burton <ross@burtonini.com>
8807
8808         * test/nm-tool.c
8809           callouts/nm-dhcp-client-action.c
8810           src/nm-netlink.c
8811           src/vpn-manager/nm-vpn-connection.c
8812           libnm-glib/libnm-glib-test.c
8813                 - warning fixes
8814
8815 2007-09-24  Dan Williams  <dcbw@redhat.com>
8816
8817         * libnm-util/nm-utils.h
8818           libnm-util/nm-utils.c
8819                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8820                         remove, unused
8821
8822 2007-09-23  Dan Williams  <dcbw@redhat.com>
8823
8824         * vpn-daemons/vpnc/properties/nm-vpnc.c
8825                 - Update for new VPN properties API bits; instead of passing around
8826                         a lot of random things, everything goes into the NMConnection
8827                         object.
8828
8829 2007-09-23  Dan Williams  <dcbw@redhat.com>
8830
8831         * libnm-util/nm-setting.c
8832                 - Correctly dispose of settings objects if creating them from a hash
8833                         table fails
8834
8835 2007-09-23  Dan Williams  <dcbw@redhat.com>
8836
8837         * libnm-util/nm-setting.c
8838                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8839                         the hash table in a standard manner.  Clients of libnm-util should
8840                         only call g_hash_table_remove_all(), never destroy the hash table
8841                         and recreate it.
8842
8843 2007-09-22  Dan Williams  <dcbw@redhat.com>
8844
8845         * src/nm-device-802-11-wireless.c
8846                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8847                         real reason to do it so often, and reduces wakeups for clients.
8848
8849 2007-09-21  Dan Williams  <dcbw@redhat.com>
8850
8851         * src/nm-device-802-11-wireless.c
8852                 - (build_supplicant_config): wpa_supplicant requires the option
8853                         key_mgmt=NONE for unencrypted networks
8854                 - (real_act_stage2_config): clarify log message on activation
8855
8856 2007-09-21  Dan Williams  <dcbw@redhat.com>
8857
8858         * test/nm-supplicant-test.c
8859           test/Makefile.am
8860                 - Remove supplicant test binary; no longer applicable
8861
8862 2007-09-21  Dan Williams  <dcbw@redhat.com>
8863
8864         * src/supplicant-manager/nm-supplicant-manager.c
8865                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8866                         activate it on the system bus
8867
8868 2007-09-20  Dan Williams  <dcbw@redhat.com>
8869
8870         * initscript/RedHat/NetworkManager.in
8871                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8872
8873 2007-09-20  Dan Williams  <dcbw@redhat.com>
8874
8875         * src/nm-device.c
8876                 - (nm_device_is_activating): work around a race between auto-activation
8877                         and the user activating the same device that is being auto-activated
8878
8879 2007-09-20  Dan Williams  <dcbw@redhat.com>
8880
8881         * src/nm-device-interface.c
8882                 - (impl_device_activate): until multiple active device support lands,
8883                         ensure only one device can be active at a time
8884
8885 2007-09-20  Dan Williams  <dcbw@redhat.com>
8886
8887         * src/supplicant-manager/nm-supplicant-config.c
8888           src/supplicant-manager/nm-supplicant-config.h
8889                 - (nm_supplicant_config_add_option): hide secrets from system logs
8890
8891 2007-09-20  Dan Williams  <dcbw@redhat.com>
8892
8893         * src/NetworkManagerPolicy.c
8894                 - (nm_policy_device_change_check): re-enable the wireless device change
8895                         checking code; insted of checking for SSIDs, check for the same
8896                         connection instead
8897
8898 2007-09-20  Dan Williams  <dcbw@redhat.com>
8899
8900         * src/nm-device-802-11-wireless.c
8901                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8902                         composite link state when determining when to start the disconnection
8903                         timer; that link state is already based on the supplicant interface's
8904                         status which is exactly what's already being examined, plus the link
8905                         state is a conglomeration of various things that we don't want here
8906
8907 2007-09-20  Dan Williams  <dcbw@redhat.com>
8908
8909         * libnm-glib/nm-access-point.c
8910                 - (handle_property_changed): strength is a UCHAR
8911
8912 2007-09-20  Dan Williams  <dcbw@redhat.com>
8913
8914         * src/supplicant-manager/nm-supplicant-config.c
8915                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8916                         string list keywords too since that's what wpa_supplicant wants
8917
8918 2007-09-20  Dan Williams  <dcbw@redhat.com>
8919
8920         * libnm-util/nm-setting.c
8921                 - (convert_strv_to_slist): dupe the values in the list because since
8922                         the list is a boxed value, it'll get destroyed when it's container
8923                         (like a hash table or whatever) gets destroyed
8924
8925 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8926
8927         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8928         GSList.
8929
8930         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8931
8932         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8933         just use (g_object_set_data_full).
8934
8935         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8936         that NMSettingVPN->routes is a GSList, convert it to char **.
8937         (nm_vpn_connection_ip4_config_get): Free routes when done.
8938         (nm_vpn_connection_activate): Ditto.
8939
8940         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8941         (real_act_stage2_config): Use defined setting names.
8942
8943 2007-09-20  Dan Williams  <dcbw@redhat.com>
8944
8945         * src/nm-device-802-11-wireless.c
8946           src/nm-manager.c
8947           src/nm-manager.h
8948                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8949                         so that the device can be deactivated if secrets are wrong
8950
8951 2007-09-20  Dan Williams  <dcbw@redhat.com>
8952
8953         * introspection/nm-settings-connection.xml
8954           libnm-glib/nm-settings.c
8955           libnm-glib/nm-settings.h
8956                 - Make GetSecrets asynchronous on the server side
8957
8958 2007-09-20  Dan Williams  <dcbw@redhat.com>
8959
8960         * src/nm-manager.h
8961           src/nm-device.c
8962                 - (nm_device_activate): actually check if a given connection
8963                         exists before assuming it doesn't
8964
8965 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8966
8967         * libnm-util/nm-connection.c (register_default_creators): Use defined
8968         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8969
8970         * libnm-util/nm-setting.c: Define property name strings, use them.
8971         Implement NMSettingVPN and NMSettingVPNProperties settings.
8972         Implement NM_S_TYPE_GVALUE_HASH.
8973         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8974         (setting_connection_verify): Rename 'devtype' property to 'type'.
8975
8976         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8977         properties.
8978
8979         * src/vpn-manager/nm-vpn-service.c: Ditto.
8980
8981         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8982
8983         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8984         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8985
8986         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8987         names. NMSettingConnection->devtype got renamed to 'type'.
8988
8989         * src/nm-device-802-3-ethernet.c (find_best_connection):
8990         (real_get_best_connection): Ditto.
8991
8992         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8993
8994         * libnm-glib/nm-vpn-manager.[ch]: Update.
8995
8996 2007-09-19  Dan Williams  <dcbw@redhat.com>
8997
8998         * src/NetworkManagerAP.c
8999           src/NetworkManagerAP.h
9000           introspection/nm-access-point.xml
9001                 - Change strength-changed signal into a properties-changed signal
9002                         for all properties, not just strength.  Export that signal over dbus
9003                         so listeners don't have to poll NM for changes.
9004                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9005                         get exported over D-Bus, so break up the logic and let other bits
9006                         decided when to export the AP
9007                 - (nm_ap_new_from_ap): remove, unused
9008
9009         * src/nm-device-802-11-wireless.c
9010                 - (merge_scanned_ap): only export APs that are actually on the device
9011                         list, not every AP created internally
9012
9013         * libnm-glib/nm-access-point.c
9014           libnm-glib/nm-access-point.h
9015                 - Cache properties internally and only hit DBus when needed.  Get
9016                         property updates from NM signals
9017
9018 2007-09-16  Dan Williams  <dcbw@redhat.com>
9019
9020         * libnm-util/nm-connection.c
9021           libnm-util/nm-connection.h
9022                 - (nm_connection_for_each_setting_value): new function; iterate over
9023                         each setting's value and call a user-provided function with details
9024                         about that value
9025
9026         * libnm-util/nm-setting.c
9027           libnm-util/nm-setting.h
9028                 - (nm_setting_enumerate_values): new function; enumerate the values
9029                         of a specific NMSetting subclass for a user-provided function with
9030                         details about that value
9031                 - Change wep_tx_keyidx to a uint32
9032                 - Create settings value tables for each setting defining their type,
9033                         key name, offset into the NMSetting subclass' structure, and whether
9034                         they are required and/or a secret
9035                 - (nm_setting_populate_from_hash): generic function to populate an
9036                         NMSetting from a GHash table, make all settings use it
9037                 - (nm_setting_hash): generic function to derive a GHashTable from
9038                         an NMSetting object, make all settings use it
9039
9040 2007-09-14  Dan Williams  <dcbw@redhat.com>
9041
9042         Remove unused stuff in libnm-util
9043
9044         * configure.in
9045           libnm-util/Makefile.am
9046           libnm-util/cipher-private.h
9047           libnm-util/cipher-wep-ascii.c
9048           libnm-util/cipher-wep-ascii.h
9049           libnm-util/cipher-wep-hex.c
9050           libnm-util/cipher-wep-hex.h
9051           libnm-util/cipher-wep-passphrase.c
9052           libnm-util/cipher-wep-passphrase.h
9053           libnm-util/cipher-wpa-psk-hex.c
9054           libnm-util/cipher-wpa-psk-hex.h
9055           libnm-util/cipher-wpa-psk-passphrase.c
9056           libnm-util/cipher-wpa-psk-passphrase.h
9057           libnm-util/cipher.c
9058           libnm-util/cipher.h
9059           libnm-util/dbus-helpers.c
9060           libnm-util/dbus-helpers.h
9061           libnm-util/gnome-keyring-md5.c
9062           libnm-util/gnome-keyring-md5.h
9063           libnm-util/sha1.c
9064           libnm-util/sha1.h
9065           src/nm-device-802-11-wireless.c
9066           test/libnm-util/Makefile.am
9067           test/libnm-util/test-ciphers.c
9068           test/libnm-util/test-dbus-helpers.c
9069           test/libnm-util/test-inputs.h
9070                 - Removed
9071
9072 2007-09-14  Dan Williams  <dcbw@redhat.com>
9073
9074         * libnm-util/dbus-method-dispatcher.c
9075           libnm-util/dbus-method-dispatcher.h
9076                 - Remove, unused
9077
9078 2007-09-14  Dan Williams  <dcbw@redhat.com>
9079
9080         Implement deferred activation support in the device class.
9081
9082         * src/nm-device-interface.c
9083           src/nm-device-interface.h
9084                 - (nm_device_interface_activate): take more arguments to support
9085                         deferred activation; callers must pass one of (connection) OR
9086                         (service_name, connection_path)
9087                 - (impl_device_activate): connection validation is punted to the device
9088                         to be able to handle deferred activation.  Yes, this means errors
9089                         don't get returned from the Activate() dbus call, and yes, that
9090                         should be fixed somehow later.
9091
9092         * src/nm-device.c
9093           src/nm-device.h
9094                 - (clear_act_request): clear additional deferred activation stuff too
9095                 - (deferred_activation_timeout_cb): new function; clean up when
9096                         deferred activation times out.
9097                 - (deferred_activation_start_cb): new function; when the connection
9098                         finally becomes available, start device activation
9099                 - (nm_device_activate): attach to the right signals of the activation
9100                         request if we need to defer activation until the connection is valid
9101
9102         * src/NetworkManagerPolicy.c
9103                 - (nm_policy_device_change_check): update for additional arguments
9104                         required for nm_device_interface_activate().  Pass NULL for these
9105                         though because this function already knows exactly which
9106                         NMConnection to use
9107
9108 2007-09-14  Dan Williams  <dcbw@redhat.com>
9109
9110         Implement deferred activation handling in the NMActRequest class.  When a
9111         client wants to activate a device but must create the NMConnection details
9112         on the fly, there likely hasn't been enough time yet for NM to receive the
9113         new connection signal and grab all the connection details.  So the
9114         activation is deferred (and bounded by a timer) for a while, and if the
9115         connection appears within the window, it is activated.
9116
9117         * src/nm-activation-request.c
9118           src/nm-activation-request.h
9119                 - (nm_act_request_class_init): two new signals to support deferred
9120                         activation, to allow the listener to handle both timeout and success
9121                 - (nm_act_request_new_deferred): new function, starts the deferred
9122                         activation timeout handler and listens to the NMManager for
9123                         new-connection signals to notice when the connection comes in
9124
9125 2007-09-14  Dan Williams  <dcbw@redhat.com>
9126
9127         * src/nm-manager.h
9128           src/nm-manager.c
9129                 - (nm_manager_get_connection_service_name,
9130                    nm_manager_get_connection_dbus_path): get details about a connection
9131                         known internally by the NMManager
9132                 - (nm_manager_class_init): fix connection add/remove signal marshalers
9133                         because NMConnection is now a GObject subclass
9134                 - Use constant for the gobject data tag used on NMConnection objects for
9135                         storing the associated DBusGProxy
9136
9137 2007-09-14  Dan Williams  <dcbw@redhat.com>
9138
9139         * utils/Makefile.am
9140           utils/nm-utils.c
9141           utils/nm-utils.h
9142           src/supplicant-manager/Makefile.am
9143           src/dhcp-manager/Makefile.am
9144           src/backends/Makefile.am
9145           src/named-manager/Makefile.am
9146           src/ppp-manager/Makefile.am
9147           src/vpn-manager/Makefile.am
9148           test/libnm-util/Makefile.am
9149           test/test-common/Makefile.am
9150                 - Remove utils/; it was unused
9151
9152 2007-09-13  Dan Williams  <dcbw@redhat.com>
9153
9154         * libnm-glib/nm-vpn-manager.h
9155           libnm-glib/nm-vpn-manager.c
9156                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9157
9158 2007-09-13  Dan Williams  <dcbw@redhat.com>
9159
9160         * src/nm-device-802-3-ethernet.c
9161                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9162                         netlink monitor carrier signals on dispose, not bring down.  The
9163                         carrier signals should be handled over the entire lifetime of the
9164                         device anyway, not created/destroyed on up or down.
9165
9166 2007-09-13  Dan Williams  <dcbw@redhat.com>
9167
9168         * libnm-glib/nm-device.c
9169           libnm-glib/nm-device.h
9170                 - (nm_device_activate): take a connection object path rather than an
9171                         NMConnection because NMConnection isn't exported over D-Bus and
9172                         therefore it dbus-glib can't automatically get an object path from it
9173
9174 2007-09-13  Dan Williams  <dcbw@redhat.com>
9175
9176         * libnm-util/nm-setting.c
9177                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9178
9179 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9180
9181         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9182
9183 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9184
9185         * src/vpn-manager/nm-vpn-connection.[ch]: 
9186         * src/vpn-manager/nm-vpn-manager.[ch]:
9187         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9188         dbus-glib, GObjects, signals etc.
9189
9190         * libnm-glib/nm-vpn-manager.[ch]: 
9191         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9192         so much, rewrite these too.
9193
9194         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9195         the new introspection files.
9196
9197         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9198
9199         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9200         the header with the same name from libnm-utils.
9201
9202         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9203
9204         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9205
9206         * introspection/nm-vpn-plugin.xml: Implement.
9207
9208         * introspection/nm-vpn-connection.xml: Implement.
9209
9210         * introspection/nm-vpn-manager.xml: Implement.
9211
9212         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9213         the named manager argument, it can just as easily get it as the caller.
9214         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9215
9216         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9217
9218         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9219
9220         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9221         libnm-utils.
9222
9223         * libnm-util/nm-connection.c: Ditto.
9224
9225         * src/NetworkManagerMain.h: Remove, it's finally empty.
9226
9227         * configure.in: Remove utils/ from build.
9228
9229         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9230         of hard-coded strings.
9231
9232         * utils/: Move it over to libnm-util.
9233
9234         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9235
9236         * dispatcher-daemon/Makefile.am: Ditto.
9237
9238         * src/Makefile.am: Ditto.
9239
9240 2007-09-12  Dan Williams  <dcbw@redhat.com>
9241
9242         Wireless connections can be made with config data from the applet now.
9243         
9244         Yay.
9245
9246         * src/supplicant-manager/nm-supplicant-config.h
9247           src/supplicant-manager/nm-supplicant-config.c
9248                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9249                 - (nm_supplicant_config_add_setting_wireless,
9250                    nm_supplicant_config_add_setting_wireless_security): new functions;
9251                         add key/value pairs from the settings objects to the supplicant
9252                         config
9253
9254         * src/nm-device-802-11-wireless.c
9255                 - (cull_scan_list): fix check to not prune currently associated AP
9256                 - (build_supplicant_config, real_act_stage2_config): call the functions
9257                         of the NMSupplicantConfig that parse settings objects rather than
9258                         doing it manually here
9259
9260 2007-09-12  Dan Williams  <dcbw@redhat.com>
9261
9262         * src/supplicant-manager/nm-supplicant-interface.c
9263           src/supplicant-manager/nm-supplicant-marshal.list
9264                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9265                         "connection-error" signal arguments should be STRING not CHAR
9266
9267 2007-09-12  Dan Williams  <dcbw@redhat.com>
9268
9269         * src/NetworkManagerUtils.c
9270           src/NetworkManagerUtils.h
9271                 - (nm_utils_hexstr2bin): new function
9272
9273 2007-09-11  Dan Williams  <dcbw@redhat.com>
9274
9275         * src/nm-manager.c
9276                 - (connection_get_settings_cb): emit connection-added signal
9277                 - (connection_removed_cb): uncomment bits for system settings service,
9278                         send connection-removed when appropriate
9279                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9280                         the stack by trying to g_object_set_data() on something that's
9281                         not a GObject; handle case where settings service returns
9282                         empty settings hash table
9283
9284 2007-09-11  Dan Williams  <dcbw@redhat.com>
9285
9286         * src/NetworkManagerPolicy.c
9287                 - (connection_added, connection_removed): trigger device change checks
9288                         on connection changes
9289
9290 2007-09-11  Dan Williams  <dcbw@redhat.com>
9291
9292         * src/nm-activation-request.c
9293                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9294
9295 2007-09-11  Dan Williams  <dcbw@redhat.com>
9296
9297         * src/nm-device-802-11-wireless.c
9298                 - (real_connection_secrets_updated): fix erroneous check
9299
9300 2007-09-11  Dan Williams  <dcbw@redhat.com>
9301
9302         * introspection/nm-device.xml
9303           libnm-glib/nm-device.c
9304           libnm-glib/nm-device.c
9305                 - Fix Activate call argument borkage; Activate takes 3 arguments
9306
9307 2007-09-11  Dan Williams  <dcbw@redhat.com>
9308
9309         * libnm-glib/nm-access-point.c
9310           libnm-glib/nm-access-point.c
9311                 - (nm_access_point_get_frequency): now returns guint32 to match
9312                         property change on 2007-09-10
9313
9314 2007-09-11  Dan Williams  <dcbw@redhat.com>
9315
9316         * src/nm-device-802-11-wireless.c
9317                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9318                         somewhere defines 'index' and I missed this one when I fixed the
9319                         shadow declaration errors earlier
9320
9321 2007-09-11  Dan Williams  <dcbw@redhat.com>
9322
9323         * libnm-util/nm-connection.c
9324                 - (nm_connection_update_secrets, need_secrets_check): move
9325                         802-11-wireless-security need_secrets checks to the setting object
9326                         itself, where it belongs
9327
9328         * libnm-util/nm-setting.c
9329           libnm-util/nm-setting.h
9330                 - (nm_setting_need_secrets): new function
9331                 - (setting_wireless_security_verify,
9332                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9333                 - (setting_wireless_security_need_secrets): mostly copy code over
9334                         from nm-connection.c
9335
9336 2007-09-11  Dan Williams  <dcbw@redhat.com>
9337
9338         * libnm-util/nm-setting.c
9339           libnm-util/nm-setting.h
9340                 - (nm_setting_update_secrets): new function; add a virtual function that
9341                         subclasses can implement to update their secrets
9342                 - (setting_wireless_security_update_secrets): implement that function
9343                         for the 802-11-wireless-security subclass
9344
9345         * libnm-util/nm-connection.c
9346           libnm-util/nm-connection.h
9347                 - (nm_connection_update_secrets): update secrets for a Setting and
9348                         emit a signal on success
9349
9350         * src/nm-manager.c
9351           src/nm-manager.h
9352           src/nm-marshal.list
9353                 - (connection_get_settings_cb): enable system settings bits
9354                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9355                         to request secrets from the settings dbus service and to
9356                         push those secrets to the NMConnection itself
9357
9358         * src/nm-activation-request.c
9359           src/nm-activation-request.h
9360                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9361                         currently being activated, and proxy that signal to other listeners.
9362                         Goes through the activation request because the activation request
9363                         is the thing that manages the lifetime of the NMConnection that's
9364                         being activated.
9365
9366         * src/nm-device-802-11-wireless.c
9367                 - (real_connection_secrets_updated): implement the connection secrets
9368                         updated notification and restart activation when secrets are
9369                         received
9370                 - (real_act_stage2_config): request secrets from the settings dbus
9371                         service if secrets are needed
9372
9373         * src/nm-device.c
9374           src/nm-device.h
9375                 - (clear_act_request, nm_device_activation_cancel,
9376                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9377                         where the activation request is cleared
9378                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9379                         updated secrets signal of activation request and add a function
9380                         that subclasses can override to handle it easily
9381
9382 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9383
9384         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9385         removal of NetworkManagerAPList.
9386
9387 2007-09-10  Dan Williams  <dcbw@redhat.com>
9388
9389         * src/NetworkManagerAP.c
9390           src/NetworkManagerAP.h
9391           introspection/nm-access-point.xml
9392                 - Change 'freq' property to a guint32 instead of a double since we
9393                         weren't using the floating point bits anyway
9394
9395 2007-09-10  Dan Williams  <dcbw@redhat.com>
9396
9397         * NetworkManagerAP.c
9398           NetworkManagerAP.h
9399           NetworkManagerPolicy.c
9400           NetworkManagerSystem.c
9401           NetworkManagerUtils.c
9402           NetworkManagerUtils.h
9403           nm-device-802-11-wireless.c
9404           nm-device-802-3-ethernet.c
9405           nm-hal-manager.c
9406           nm-manager.c
9407           vpn-manager/nm-dbus-vpn.c
9408                 - Warning fixes; casts and removal of unused variables
9409
9410 2007-09-10  Dan Williams  <dcbw@redhat.com>
9411
9412         * include/NetworkManager.h
9413                 - Kill NMNetworkType; AP types don't matter any more
9414
9415         * src/NetworkManagerAPList.c
9416           src/NetworkManagerAPList.h
9417           src/Makefile.am
9418                 - Kill; NMAccessPointList has outlived it's usefulness
9419
9420         * src/NetworkManagerAP.c
9421           src/NetworkManagerAP.h
9422                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9423                         functions; check if an NMConnection object is compatible with the
9424                         settings of this AP
9425                 - (freq_to_channel, channel_to_freq): utility functions for
9426                         channel <-> frequency conversion
9427
9428         * src/nm-device.c
9429           src/nm-device.h
9430                 - (nm_device_get_best_connection): pass the specific object around
9431                          (which might be the object path of a specific AP to connect to).
9432                          The get_best_connection() call should populate this on return
9433                          if needed (wireless does).
9434
9435         * src/nm-device-802-3-ethernet.c
9436                 - (real_get_best_connection): handle specific_object argument
9437
9438         * src/NetworkManager.c
9439           src/NetworkManagerMain.h
9440                 - Remove unused includes
9441
9442         * src/nm-device-802-11-wireless.c
9443           src/nm-device-802-11-wireless.h
9444                 - Convert the ap_list into a GSList from an NMAccessPointList
9445                 - No need for caching the 'activation_ap' since this is now determined
9446                         from the specific_object of the activation request, which is
9447                         populated from the get_best_connection() call or from a user request
9448                 - (nm_device_802_11_wireless_update_bssid): fix warning
9449                 - (get_wireless_capabilities): fix error message format arguments
9450                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9451                 - (find_best_connection, real_get_best_connection): implement
9452                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9453                         move here from NetworkManagerAPList
9454                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9455                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9456                         already verified earlier
9457                 - (real_act_stage2_config): use nm_connection_need_secrets()
9458
9459         * src/NetworkManagerPolicy.c
9460                 - (nm_policy_auto_get_best_device): handle specific objects
9461                 - (create_connection): remove; automatic connection creation functionality
9462                         is handled by the Connection objects
9463                 - (nm_policy_device_change_check): handle specific_object
9464
9465         * libnm-util/nm-connection.c
9466                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9467
9468 2007-09-10  Dan Williams  <dcbw@redhat.com>
9469
9470         * src/nm-manager.c
9471                 - (query_connections): fix uninitialized variable problem that caused
9472                         segfault
9473                 - (nm_manager_add_device): take devices down on startup so that we can
9474                         be assured that nm_device_is_up() won't short-circuit the init
9475                         process.  Hack until the is_up check gets split into two pieces
9476                         that aren't behaviorally confusing.
9477
9478 2007-09-09  Dan Williams  <dcbw@redhat.com>
9479
9480         * introspection/nm-device.xml
9481                 - The 'Activate' method now takes 3 arguments, a service name for the
9482                 settings service (user or system), the object path of the connection
9483                 to activate, and the specific object to activate, if any
9484
9485         * src/nm-device-interface.c
9486                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9487                 Add error bits
9488                 - (impl_device_activate): adapt to new Activate arguments; validate
9489                 the service name and get the Connection object from the NMManager
9490                 before starting to activate the device with the specified connection
9491
9492         * src/nm-device-802-3-ethernet.c
9493                 - (real_get_best_connection): find the best connection, or create a
9494                 default one if no existing connections can be used
9495
9496         * src/NetworkManagerPolicy.c
9497                 - (nm_policy_auto_get_best_device): Get the device's best connection
9498                 and only pick the device if it has one
9499                 - (nm_policy_device_change_check): disable wireless bits for now until
9500                 wireless get_best_connection() can be implemented (replacing "best_ap");
9501                 don't create a default connection here as the device subclass will do
9502                 that if needed
9503
9504         * src/nm-manager.h
9505           src/nm-manager.c
9506                 - (nm_manager_get): make NMManager a singleton and expose the getter
9507                 internally
9508                 - Rework internal NMManager connection handling to use the same
9509                 routines for both the system and user settings services.  Most calls
9510                 take a new NMConnectionType argument specifying either system or user
9511                 connections
9512                 - (nm_manager_get_connection_by_object_path): new function; get a
9513                 connection keyed on its object path
9514
9515         * src/NetworkManager.c
9516                 - (main): use nm_manager_get()
9517
9518 2007-09-09  Dan Williams  <dcbw@redhat.com>
9519
9520         * src/nm-device.h
9521           src/nm-device.c
9522                 - (nm_device_get_best_connection): new function; get best connection
9523                         for the device at that time
9524
9525 2007-09-09  Dan Williams  <dcbw@redhat.com>
9526
9527         * src/nm-device-interface.h
9528                 - Add NMDeviceInterfaceError with an UnknownConnection error
9529
9530 2007-09-09  Dan Williams  <dcbw@redhat.com>
9531
9532         Stupid mistake on my part; object path and interface for settings service
9533         and connection objects can be the same, only the service name must be
9534         different for the system and user settings services.
9535
9536         * include/NetworkManager.h
9537           src/nm-manager.c
9538           introspection/nm-settings-connection.xml
9539           introspection/nm-settings.xml
9540           libnm-glib/nm-settings.c
9541                 - (nm_connection_settings_init, query_user_connections,
9542                    new_connection_cb): Unify NetworkManagerSettings and Connection
9543                    interface name and object path
9544
9545 2007-09-06  Dan Williams  <dcbw@redhat.com>
9546
9547         * libnm-glib/nm-object.c
9548                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9549                    nm_object_get_int_property, nm_object_get_uint_property,
9550                    nm_object_get_boolean_property, nm_object_get_byte_property,
9551                    nm_object_get_double_property, nm_object_get_byte_array_property):
9552                         clear GValues after copying their contents, fixes memory leaks
9553                         after every property access because dbus-glib copies the values
9554                         from the DBusMessage into the GValue already.
9555
9556 2007-09-06  Dan Williams  <dcbw@redhat.com>
9557
9558         * introspection/nm-access-point.xml
9559                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9560                         them to be.  There's some magic property name parsing going on in
9561                         dbus-glib that breaks up property names based on studly-caps and
9562                         puts - between words.
9563
9564         * libnm-glib/nm-access-point.c
9565                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9566                         Fix property names
9567
9568 2007-09-06  Dan Williams  <dcbw@redhat.com>
9569
9570         * src/nm-manager.c
9571                 - (nm_manager_user_connections_destroy): clear the user connections hash
9572                         table, don't destroy it
9573                 - (finalize): only destroy the hash table on NMManager finalization
9574
9575 2007-09-02  Dan Williams  <dcbw@redhat.com>
9576
9577         * include/NetworkManager.h
9578           libnm-glib/nm-settings.c
9579                 - defines for the user settings daemon D-Bus bits
9580
9581         * src/NetworkManager.c
9582                 - Remove stuff that referred to the old NetworkManagerInfo service
9583
9584         * src/vpn-manager/nm-dbus-vpn.h
9585                 - Move old NMI defines to the only place they are used still
9586
9587         * libnm-util/nm-connection.c
9588           libnm-util/nm-connection.h
9589           src/nm-activation-request.c
9590                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9591
9592         * src/nm-manager.c
9593           src/nm-manager.h
9594                 - Get connections and their settings from the user settings daemon
9595                         at the appropriate times
9596
9597 2007-09-02  Dan Williams  <dcbw@redhat.com>
9598
9599         * libnm-util/nm-setting.c
9600                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9601                 - (setting_wireless_hash): set the right value on the item
9602
9603 2007-09-02  Dan Williams  <dcbw@redhat.com>
9604
9605         * test/Makefile.am
9606           test/nminfotest.c
9607                 - Remove, no longer useful
9608
9609 2007-08-30  Dan Williams  <dcbw@redhat.com>
9610
9611         * src/Makefile.am
9612           src/NetworkManagerDbus.c
9613           src/NetworkManagerDbus.h
9614           src/vpn-manager/nm-dbus-vpn.c
9615                 - Remove, no longer necessary.  Move last bits to the only place its
9616                 used, in nm-dbus-vpn.c
9617
9618         * src/NetworkManagerAPList.c
9619           src/nm-device.c
9620           src/NetworkManager.c
9621           src/nm-device-802-11-wireless.c
9622           src/vpn-manager/nm-vpn-manager.c
9623           src/vpn-manager/nm-vpn-service.c
9624           src/NetworkManagerPolicy.c
9625           src/nm-manager.c
9626                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9627                 that was message_is_error()
9628
9629 2007-08-30  Dan Williams  <dcbw@redhat.com>
9630
9631         * libnm-util/sha1.c
9632                 - Include config.h to get defines for endiannes (gnome.org #420216)
9633
9634 2007-08-30  Dan Williams  <dcbw@redhat.com>
9635
9636         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9637
9638         * src/ppp-manager/Makefile.am
9639                 - use -fPIC (gnome.org #471825)
9640
9641 2007-08-29  Dan Williams  <dcbw@redhat.com>
9642
9643         * include/NetworkManager.h
9644                 - Keep NMConnection object path in sync
9645
9646         * libnm-glib/nm-settings.c
9647           libnm-glib/nm-settings.h
9648                 - Break D-Bus object registration out of the init function, because
9649                 every object that's exported over D-Bus needs to use the _same_
9650                 DBusConnection.  Otherwise, each object would get a different object
9651                 path tree and wouldn't be callable.
9652
9653 2007-08-29  Dan Williams  <dcbw@redhat.com>
9654
9655         * libnm-util/nm-setting.h
9656           libnm-util/nm-setting.c
9657           libnm-util/nm-connection.c
9658           src/NetworkManagerPolicy.c
9659                 - 'info' settings object should be 'connection' says the spec
9660                 at NetworkManagerConfigurationSpecification
9661
9662 2007-08-29  Dan Williams  <dcbw@redhat.com>
9663
9664         * libnm-glib/nm-settings.c
9665           libnm-glib/nm-settings.h
9666                 - make the dbus path a property of the object, and autogenerate it.
9667                 It can't be composed of the 'id' field becuase that's not available
9668                 yet during the GObject creation in nm_connection_settings_init()
9669
9670 2007-08-29  Dan Williams  <dcbw@redhat.com>
9671
9672         * introspection/nm-settings-connection.xml
9673           introspection/nm-settings.xml
9674                 - Service name -> NetworkManagerUserSettings because two services
9675                 can't share part of the same path.  I'm not really sure how we'll use
9676                 the same code with the system-settings daemon...
9677
9678 2007-08-28  Dan Williams  <dcbw@redhat.com>
9679
9680         * src/nm-device-interface.c
9681           src/nm-device-interface.h
9682                 - Kill one more bit of NMData
9683
9684 2007-08-28  Dan Williams  <dcbw@redhat.com>
9685
9686         * src/NetworkManagerSystem.h
9687           src/nm-device.c
9688           src/nm-device.h
9689           src/nm-hal-manager.c
9690           src/NetworkManager.c
9691           src/nm-device-802-11-wireless.c
9692           src/nm-hal-manager.h
9693           src/nm-device-802-3-ethernet.c
9694           src/vpn-manager/nm-vpn-service.h
9695           src/vpn-manager/nm-vpn-manager.c
9696           src/vpn-manager/nm-vpn-manager.h
9697           src/vpn-manager/nm-vpn-service.c
9698           src/nm-device-802-11-wireless.h
9699           src/NetworkManagerMain.h
9700           src/nm-device-802-3-ethernet.h
9701           src/backends/NetworkManagerGentoo.c
9702           src/backends/NetworkManagerPaldo.c
9703           src/backends/NetworkManagerFrugalware.c
9704           src/backends/NetworkManagerRedHat.c
9705           src/backends/NetworkManagerSlackware.c
9706           src/backends/NetworkManagerGeneric.c
9707           src/backends/NetworkManagerArch.c
9708           src/backends/NetworkManagerSuSE.c
9709           src/backends/NetworkManagerGeneric.h
9710           src/backends/NetworkManagerDebian.c
9711                 - Kill NMData
9712
9713 2007-08-28  Dan Williams  <dcbw@redhat.com>
9714
9715         * src/NetworkManagerMain.h
9716           src/nm-device-802-11-wireless.c
9717           src/NetworkManager.c
9718                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9719                 for now we should set the 'invalid' property on individual APs, and when
9720                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9721                 that ESS
9722
9723 2007-08-28  Dan Williams  <dcbw@redhat.com>
9724
9725         * src/NetworkManagerAP.c
9726           src/NetworkManagerAP.h
9727                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9728                         'autoconnect' property instead
9729
9730         * src/NetworkManager.c
9731           src/NetworkManagerMain.h
9732           src/NetworkManagerPolicy.c
9733           src/NetworkManagerPolicy.h
9734                 - Remove the 'allowed_ap_list', which should be replaced by 
9735                         NMConnection/NMSettings instead, since _those_ are the allowed
9736                         things that NM can connect to
9737
9738         * src/nm-device-802-11-wireless.c
9739                 - Remove both allowed_ap_list usage and 'fallback' checking
9740
9741 2007-08-28  Dan Williams  <dcbw@redhat.com>
9742
9743         * src/nm-device.c
9744           src/named-manager/nm-named-manager.c
9745           src/named-manager/nm-named-manager.h
9746           src/NetworkManager.c
9747           src/vpn-manager/nm-vpn-manager.c
9748           src/NetworkManagerMain.h
9749           src/NetworkManagerSystem.c
9750                 - Remove the named-manager object from NMData structure in preparation
9751                 for NMData's timely death.  Make the NMNamedManager the singleton that
9752                 it really is
9753
9754 2007-08-28  Dan Williams  <dcbw@redhat.com>
9755
9756         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9757         each AP's capabilities, and by NMConnection/NMSettings objects for user
9758         defined connections.
9759
9760         * include/NetworkManager.h
9761                 - Redefine 802.11 security properties.  There are now device capabilities
9762                         and AP flags and AP security flags.  It was way to unclear before.
9763
9764         * src/Makefile.am
9765           src/nm-ap-security-leap.h
9766           src/nm-ap-security-leap.c
9767           src/nm-ap-security-wpa-eap.c
9768           src/nm-ap-security-wpa-eap.h
9769           src/nm-ap-security-private.h
9770           src/nm-ap-security-wpa-psk.c
9771           src/nm-ap-security-wpa-psk.h
9772           src/nm-ap-security-wep.c
9773           src/nm-ap-security-wep.h
9774           src/nm-ap-security.c
9775           src/nm-ap-security.h
9776                 - Removed, to be replaced with NMConnection/NMSettings objects
9777
9778         * src/nm-dbus-nmi.c
9779           src/nm-dbus-nmi.h
9780                 - Removed, to be replaced by code that talks to the new info daemon
9781                         interface and gets NMConnection/NMSettings objects
9782
9783         * src/backends/NetworkManagerSuSE.c
9784                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9785                         info-daemon that does the same thing but talks the new info-daemon
9786                         D-Bus interface
9787
9788         * src/NetworkManagerAP.h
9789           src/NetworkManagerAP.c
9790           src/NetworkManagerAPList.c
9791           libnm-glib/libnm-glib-test.c
9792                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9793                         WPA/RSN
9794
9795         * libnm-glib/nm-access-point.c
9796           libnm-glib/nm-access-point.h
9797           introspection/nm-access-point.xml
9798           test/nm-tool.c
9799                 - Adjust to new flags for AP security
9800
9801         * utils/nm-utils.c
9802           utils/nm-utils.h
9803           src/vpn-manager/nm-dbus-vpn.c
9804                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9805                         stuff which is the only place it's used
9806
9807         * src/nm-device-interface.c
9808           src/nm-device-interface.h
9809           introspection/nm-device.xml
9810           src/nm-activation-request.c
9811           src/nm-activation-request.h
9812           src/nm-device.c
9813                 - Add a new 'specific_object' argument that hints to NM what actual
9814                         AP or other device-specific thing the connection should apply to.
9815                         NMConnection objects can apply to more than one actual device/AP.
9816
9817         * libnm-util/nm-connection.c
9818         * libnm-util/nm-connection.h
9819                 - Add 'have_secrets" call stubs
9820
9821         * libnm-util/cipher.h
9822                 - Move NM_AUTH_TYPE_* defines here for now
9823
9824         * src/nm-device-802-11-wireless.c
9825                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9826                         NMSettings objects
9827
9828         * src/NetworkManagerDbus.c
9829         * src/NetworkManagerPolicy.c
9830                 - Remove usage of update_allowed_networks, should be pushing data in
9831                         a different manner
9832
9833 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9834
9835         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9836         dbus-glib frees it when the call is done.
9837
9838 2007-08-26  Dan Williams  <dcbw@redhat.com>
9839
9840         * introspection/nm-device.xml
9841                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9842
9843 2007-08-26  Dan Williams  <dcbw@redhat.com>
9844
9845         * src/nm-device-802-3-ethernet.c
9846                 - (constructor): move connection of interface-connected/disconnected
9847                         signals here from real_bring_up().  Should be listening to netlink
9848                         for carrier events no matter what the initial state of the device
9849                         is.
9850
9851 2007-08-26  Dan Williams  <dcbw@redhat.com>
9852
9853         * src/nm-netlink-monitor.c
9854                 - (nm_netlink_monitor_class_init): fix marshalling types for
9855                         interface-connected/interface-disconnected
9856                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9857                         check
9858
9859 2007-08-26  Dan Williams  <dcbw@redhat.com>
9860
9861         Convert to using interface indexes as the primary method of identifying
9862         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9863         be renamed at any time.  Device object paths now refer to the device
9864         index rather than the name, and you can map those two manually if you like
9865         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9866         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9867         to use interface indexes rather than names.
9868
9869 2007-08-26  Dan Williams  <dcbw@redhat.com>
9870
9871         * src/nm-netlink-monitor.h
9872                 - Remove one last bit of wireless-event signal
9873
9874 2007-08-26  Dan Williams  <dcbw@redhat.com>
9875
9876         * src/nm-netlink-monitor.c
9877                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9878                         don't need the 'wireless-event' signal anymore since that's all
9879                         handled by wpa_supplicant
9880
9881 2007-08-25  Dan Williams  <dcbw@redhat.com>
9882
9883         It's 2007. Remove support for drivers that don't support wireless scanning.
9884
9885         * test/nm-tool.c
9886           include/NetworkManager.h
9887           src/NetworkManagerUtils.c
9888           src/NetworkManagerPolicy.c
9889           src/nm-device-802-11-wireless.c
9890                 - Remove special handling for non-scanning devices and mark them
9891                         as unsupported/unhandled
9892
9893 2007-08-20  Dan Williams  <dcbw@redhat.com>
9894
9895         * src/nm-device-802-11-wireless.c
9896           src/nm-device-802-3-ethernet.c
9897                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9898                         because when the card is pulled or the module removed, the device
9899                         is already !IFF_UP and then device-specific cleanup (removing
9900                         the supplicant interface, periodic checks, etc) never gets done
9901
9902 2007-08-20  Dan Williams  <dcbw@redhat.com>
9903
9904         * src/nm-manager.c
9905                 - (nm_manager_remove_device): bring device down before disconnecting
9906                         signal handlers, so that the 'state' signal will get broadcast when
9907                         the device enters the DOWN state
9908                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9909                         of states that cause the NMManager to recheck its state
9910
9911 2007-08-20  Dan Williams  <dcbw@redhat.com>
9912
9913         * src/supplicant-manager/nm-supplicant-interface.c
9914                 - (interface_disconnect_done): don't try to dispose of the net proxy
9915                         when it may already have been disposed of
9916
9917 2007-08-20  Dan Williams  <dcbw@redhat.com>
9918
9919         * src/nm-device-802-11-wireless.c
9920                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9921                         the SSID isn't available; this can happen when the card is pulled
9922                         or the module unloaded, during the post-removal deactivation
9923                         paths, when the ioctl returns ENODEV
9924
9925 2007-08-20  Dan Williams  <dcbw@redhat.com>
9926
9927         * src/nm-device-802-11-wireless.c
9928                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9929                         frequency, and mode match.  Applets are now responsible for grouping
9930                         access points
9931
9932 2007-08-20  Dan Williams  <dcbw@redhat.com>
9933
9934         * src/NetworkManagerAP.c
9935         * src/NetworkManagerAP.h
9936                 - (nm_ap_print_self): new function
9937
9938         * src/NetworkManagerAPList.c
9939                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9940                         to do it all here
9941         
9942 2007-08-17  Dan Williams  <dcbw@redhat.com>
9943
9944         * src/nm-device-802-3-ethernet.c
9945                 - (real_bring_down): don't try to dispose of stuff that might not
9946                         exist
9947
9948 2007-08-17  Dan Williams  <dcbw@redhat.com>
9949
9950         * src/NetworkManagerAP.c
9951                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9952                         applet.  This ensures that the case between the seen-bssids and
9953                         the bssids reported by the driver match.
9954
9955 2007-08-17  Dan Williams  <dcbw@redhat.com>
9956
9957         * src/nm-device-802-11-wireless.c
9958                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9959                         we dispose of the interface proxy in NM
9960
9961 2007-08-16  Dan Williams  <dcbw@redhat.com>
9962
9963         * libnm-glib/nm-client.c
9964                 - (nm_client_init): create VPN connections hash table with key free
9965                         function
9966                 - (proxy_vpn_connection_added): VPN connections hash table key should
9967                         be a duplicated value, not the same memory address as the VPN
9968                         connection name.  This is because the VPN connection name could
9969                         potentially be freed and set to something else during the lifetime
9970                         of the NMVPNConnection object.
9971
9972 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9973
9974         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9975         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9976         with the file descriptors. Send a child setup function to change the pppd
9977         progress group.
9978
9979 2007-08-15  Dan Williams  <dcbw@redhat.com>
9980
9981         * src/supplicant-manager/nm-supplicant-interface.c
9982                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9983                         an interface
9984                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9985                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9986                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9987                         the interface internally
9988
9989 2007-08-15  Dan Williams  <dcbw@redhat.com>
9990
9991         * src/nm-device-802-11-wireless.c
9992                 - (real_bring_down): move most of this function into device_cleanup()
9993                         so that it can be called from elsewhere
9994                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9995                         and stuff on dispose.  These would normally get cleaned up when
9996                         the device is marked down and deactivated, but when the device is
9997                         hot-unplugged, it's already down and real_down() never gets run
9998
9999 2007-08-15  Dan Williams  <dcbw@redhat.com>
10000
10001         * src/nm-dbus-nmi.c
10002                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
10003                         caused a reference leak on device for which NM requested a key
10004
10005 2007-08-15  Dan Williams  <dcbw@redhat.com>
10006
10007         * libnm-glib/nm-client.c
10008                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10009
10010 2007-08-15  Tambet Ingo  <tambet@gmail.com>
10011
10012         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10013         nothing is using it at the moment, but it'll be all useful and stuff later on.
10014
10015         * libnm-util/nm-setting.h: Define NMSettingPPP.
10016
10017         * libnm-util/nm-setting.c: Implement NMSettingPPP.
10018
10019         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10020
10021         * src/Makefile.am: Add ppp-manager to SUBDIRS.
10022
10023         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10024
10025         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10026
10027 2007-08-14  Tambet Ingo  <tambet@gmail.com>
10028
10029         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10030
10031         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10032         an issue with dbus-glib bindings generator. The issue is, the generated C caller
10033         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10034         name and different arguments and it won't compile anymore. To fix this, we now have
10035         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10036         that is new API + compatibility API and used by the daemon. The other, 
10037         nm-manager-client.xml is only the new API without compatibility bits and is used
10038         by libnm-glib to make it compile.
10039
10040         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10041
10042         * src/nm-manager.c (impl_manager_legacy_sleep)
10043         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10044         interface functions for 0.6 branch.
10045
10046 2007-08-14  Dan Williams  <dcbw@redhat.com>
10047
10048         * src/NetworkManagerAP.c
10049                 - (nm_ap_new_from_properties): fix mistaken check of return value
10050                         from memcmp (should expect 0)
10051
10052 2007-08-14  Dan Williams  <dcbw@redhat.com>
10053
10054         (force-commit to fix wrong comment and partial commit of r2685; this
10055          commit actually applies to r2685)
10056
10057         * src/NetworkManagerUtils.c
10058                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10059                         ignores trailing nulls in the SSID to work around mismatches in
10060                         expectations between WEXT and what the info-daemon passes back.  The
10061                         info-daemon would pass back the correct length, but due to the
10062                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10063                         the device would always have an SSID + 1 depending on what versions
10064                         of wpa_supplicant, the kernel, and NM you have.  This was most often
10065                         visible by just quitting the applet and relaunching, which caused
10066                         NM to reassociated to the same network over again when reloading
10067                         the save networks.
10068
10069         * src/NetworkManagerPolicy.c
10070           src/NetworkManagerUtils.h
10071           src/nm-device-802-11-wireless.c
10072                 - Update for new parameter to nm_utils_same_ssid()
10073
10074 2007-08-14  Dan Williams  <dcbw@redhat.com>
10075
10076         * src/NetworkManagerAP.c
10077                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
10078                         I encountered a BSS that wasn't just hiding it's ESSID, it was
10079                         setting the BSSID to all 0s.  That confused the heck out of NM,
10080                         plus it's useless and probably out-of-spec.
10081
10082 2007-08-14  Dan Williams  <dcbw@redhat.com>
10083
10084         * callouts/Makefile.am
10085           src/dhcp-manager/nm-dhcp-manager.c
10086           src/dhcp-manager/nm-dhcp-manager.h
10087           src/dhcp-manager/Makefile.am
10088                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10089
10090 2007-08-14  Dan Williams  <dcbw@redhat.com>
10091
10092         * src/dhcp-manager/nm-dhcp-manager.c
10093                 - (dhclient_run): don't pass -x to dhclient until we figure out if
10094                         it's really needed, get rid of unused xtra_args parameter
10095
10096 2007-08-14  Dan Williams  <dcbw@redhat.com>
10097
10098         * include/NetworkManagerVPN.h
10099           src/vpn-manager/nm-dbus-vpn.c
10100           src/vpn-manager/nm-dbus-vpn.h
10101           src/vpn-manager/nm-vpn-act-request.c
10102           src/vpn-manager/nm-vpn-act-request.h
10103           src/vpn-manager/nm-vpn-service.c
10104           src/vpn-manager/nm-vpn-service.h
10105           libnm-glib/nm-vpn-connection.c
10106           libnm-glib/nm-vpn-connection.h
10107           libnm-glib/nm-client.h
10108                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
10109                         NMVPNServiceState to clarify what they apply to
10110                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10111                         NMVPNActStage -> NMVPNConnectionState for the same reason
10112
10113         * libnm-glib/nm-client.c
10114                 - Constant + type renames from above
10115                 - Properly handle NameOwnerChanged/manager_running signals
10116                         for NM service; only emit when state really changes
10117                 - Use hash tables correctly so that the key (which was previously owned
10118                         by the D-Bus message) now has the same lifetime as the value, since
10119                         the key is now taken from the the NMVPNConnection itself.  This
10120                         really fixes the double-VPN names in the applet
10121
10122 2007-08-13  Dan Williams  <dcbw@redhat.com>
10123
10124         Patch from Michael Biebl <biebl@debian.org>
10125
10126         * po/POTFILES.in
10127           po/POTFILES.skip
10128                 - Update for vpn-properties move
10129
10130 2007-08-13  Dan Williams  <dcbw@redhat.com>
10131
10132         * libnm-glib/nm-client.c
10133                 - Convert internal VPN connection tracking from a list to a hash table
10134                         to easily avoid duplicates
10135                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10136                         must be freed by the caller, like nm_client_get_devices()
10137                 - (nm_client_remove_vpn_connection): don't let the removal signal
10138                         leak through for NMVPNConnection objects that aren't actually
10139                         tracked.
10140                 - (manager_running): throw away VPN connection list when NM goes away,
10141                         like with the device list
10142
10143 2007-08-13  Dan Williams  <dcbw@redhat.com>
10144
10145         * src/dhcp-manager/nm-dhcp-manager.c
10146                 - Stop any dhclient instance that might be already running for a
10147                         particular interface before starting an NM spawned dhclient.  Fixes
10148                         dhclient processes left over if NM crashes, stuff like that.
10149
10150 2007-08-13  Dan Williams  <dcbw@redhat.com>
10151
10152         * src/NetworkManagerAP.c
10153                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10154                         when the AP wasn't broadcasting it's SSID
10155
10156 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10157
10158         * include/NetworkManager.h: added DBus path for connection settings.
10159
10160         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10161         nm_connection_settings_signal_updated,
10162         nm_connection_settings_signal_removed): new functions to wrap the
10163         objects' signals.
10164         (nm_connection_settings_init): register GObject with DBus.
10165         (nm_connection_settings_get_dbus_object_path): new function.
10166
10167         * libnm-glib/Makefile.am: added libnmutil to link flags.
10168
10169 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10170
10171         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10172
10173         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10174         libnm_glib directory got merged with libnm-glib/.
10175
10176         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10177
10178         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10179         Rename the library from libnm-glib to libnm_glib to maintain the library API
10180         compatibility with 0.6 branch.
10181
10182         * Makefile.am: Remove gnome/ SUBDIR.
10183
10184         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10185
10186         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10187
10188         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10189
10190         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10191         anymore.
10192         Remove checks for wpa_supplicant binary, it's used over dbus.
10193         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10194
10195         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10196         Link the binaries with libnm_glib.la.
10197
10198 2007-08-12  Dan Williams  <dcbw@redhat.com>
10199
10200         * src/NetworkManagerPolicy.c
10201                 - (nm_policy_device_change_check): fix policy to deactivate old device
10202                         before activating new one, at least until the multiple active
10203                         device support lands
10204
10205 2007-08-12  Dan Williams  <dcbw@redhat.com>
10206
10207         * src/NetworkManagerPolicy.c
10208                 - (nm_policy_new): hook up to connection-added / connection-removed
10209                         signals instead of connections-changed
10210
10211 2007-08-12  Dan Williams  <dcbw@redhat.com>
10212
10213         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10214         Robert Frank <rfrank@redhat.com>
10215
10216         * src/dhcp-manager/nm-dhcp-manager.c
10217           src/dhcp-manager/nm-dhcp-manager.c
10218           src/nm-device.c
10219                 - Spawn and communicate with dhclient directly, through means of a
10220                 custom dhclient callout script.  Process callout D-Bus signals
10221                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10222                 sent via gobject signals rather than being driven by the dhcp manager
10223                 directly.
10224
10225 2007-08-12  Dan Williams  <dcbw@redhat.com>
10226
10227         * callouts/nm-dhcp-client-action.c
10228                 - (build_message): ignore non-DHCP-related environment variables
10229
10230 2007-08-12  Dan Williams  <dcbw@redhat.com>
10231
10232         * Makefile.am
10233           configure.in
10234           callouts/Makefile.am
10235           callouts/nm-dhcp-client-action.c
10236           callouts/nm-dhcp-client.conf
10237                 - Add dhclient-executed callout that takes the place of dhclient-script
10238                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10239                 NM then listens for
10240
10241 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10242
10243         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10244
10245         * libnm-glib/nm-client.h:
10246         * libnm-glib/nm-object.h:
10247         * libnm-glib/nm-vpn-connection.h:
10248         * libnm-glib/nm-settings.h:
10249         * libnm-glib/nm-device.h:
10250         * libnm-glib/nm-ip4-config.h:
10251         * libnm-glib/nm-access-point.h:
10252         * libnm-glib/nm-device-802-3-ethernet.h:
10253         * libnm-util/nm-setting.h: 
10254         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10255
10256         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10257
10258         * libnm-glib/nm-access-point.c: Strength has type char.
10259
10260         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10261         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10262
10263         * introspection/nm-access-point.xml: Strength property is char, not int.
10264
10265         * src/NetworkManagerAP.c (set_property): Set strength from char.
10266         (get_property): Handle hidden APs (with empty SSID).
10267         Get strength value from char.
10268         (nm_ap_class_init): Strength property has char type.
10269
10270 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10271
10272         * introspection/Makefile.am:
10273         * introspection/nm-settings.xml:
10274         * introspection/nm-settings-connection.xml: added Settings interfaces.
10275
10276         * libnm-glib/nm-settings.[ch]:
10277         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10278         containing the DBus implementation.
10279
10280 2007-07-26  Dan Williams  <dcbw@redhat.com>
10281
10282         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10283
10284         * src/NetworkManagerSystem.c
10285                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10286                         same subnet (#437396)
10287
10288 2007-07-26  Dan Williams  <dcbw@redhat.com>
10289
10290         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10291
10292         * gnome/vpn-properties/nm-vpn-properties.c
10293                 - Fix translatable strings (#445865)
10294
10295 2007-07-26  Dan Williams  <dcbw@redhat.com>
10296
10297         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10298
10299         * configure.in
10300                 - Remove useless junk (#412530)
10301
10302 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10303
10304         Patch from Robert Buchholz <rbu@gentoo.org>:
10305
10306         * configure.in:
10307         * Makefile.am:
10308         * introspection/Makefile.am:
10309         Make make distcheck work again.
10310
10311 2007-06-27  Dan Williams  <dcbw@redhat.com>
10312
10313         * Make SSIDs GByteArrays everywhere
10314         * Rename "essid" -> "ssid" everywhere that's appropriate
10315         * Refcount activation_ap member of the 802.11 wireless device class
10316
10317 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10318
10319         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10320
10321 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10322
10323         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10324         that we got a new AP when we just update existing AP properties.
10325
10326 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10327
10328         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10329
10330         * nm-utils.[ch]: Remove.
10331
10332         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10333         objects for easy property access and dbus connection handling.
10334
10335         * libnm-glib/nm-client.c: Derive from NMObject.
10336
10337         * libnm-glib/nm-device.c: Ditto.
10338
10339         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10340
10341         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10342
10343         * libnm-glib/nm-ip4-config.c: Ditto.
10344
10345         * libnm-glib/nm-access-point.c: Ditto.
10346
10347         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10348         comparision. Currently used by the device activation code to determine if the new
10349         activation is the same as the old one.
10350
10351         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10352         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10353         able to ask password for the AP.
10354
10355         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10356         up if the device is already connected, tear down it's connection (if it isn't the
10357         same as new one) and start the activation.
10358
10359         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10360
10361         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10362         the issue where all APs are always listed as encrypted.
10363
10364         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10365         their own registered paths.
10366
10367         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10368         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10369
10370 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10371
10372         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10373         (0 & 0 == 0, doh)
10374
10375         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10376         because the handling code will cause the next state change and signal listeners
10377         get the signals in wrong order.
10378
10379         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10380         correctly in case of pending activation.
10381
10382         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10383         Convert the essid byte array to string correctly, including the terminating NULL.
10384
10385         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10386         mode with correct types.
10387
10388         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10389         constructed info to dbus call instead of the activation request.
10390
10391 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10392
10393         Patch from Christian Persch <chpe@gnome.org>
10394
10395         * libnm-glib/Makefile.am:
10396         * dispatcher-daemon/Makefile.am:
10397         Use the correct variables, the correct paths, and correct ordering. (446315)
10398
10399 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10400
10401         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10402         argument. The activation request is easy to retrieve.
10403
10404         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10405         just to be a convenient location for devices to store random stuff.
10406
10407 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10408
10409         Patch from Alex Smith <alex@alex-smith.me.uk>
10410
10411         * src/backends/NetworkManagerFrugalware.c:
10412         Update the FrugalWare backend to fix a few segfaults. (#392642)
10413
10414 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10415
10416         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10417
10418         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10419         setting.
10420         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10421
10422 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10423
10424         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10425         automagically.
10426         Implement NMSettingIP4Config.
10427         Finish NMSettingWired by adding all known members.
10428         (setting_wired_verify): Implement.
10429         Finish NMSettingWireless by adding all known members.
10430         (setting_wireless_verify): Implement.
10431
10432         * libnm-util/nm-connection.c: Register "ipv4" setting.
10433         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10434         dump function, we can introspect the GHashTable which is used for sending connections
10435         over dbus.
10436
10437         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10438         Take GByteArray for essid, it's really not a string.
10439
10440         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10441         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10442         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10443         means overriding the values we got from DHCP.
10444         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10445         (nm_device_deactivate_quickly): Ditto.
10446
10447         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10448         for debugging.
10449
10450 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10451
10452         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10453         NMConnection.
10454
10455         * libnm-glib/nm-device-802-11-wireless.c:
10456         (nm_device_802_3_ethernet_activate): Remove.
10457
10458         * libnm-glib/nm-device-802-3-ethernet.c
10459         (nm_device_802_3_ethernet_activate): Remove.
10460
10461         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10462
10463         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10464         NMConnection.
10465
10466         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10467         activation has started.
10468         Implement the new activation using NMConnection.
10469
10470         * src/nm-activation-request.c: Store a generic connection object instead
10471         of a wireless-specific AP.
10472
10473         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10474         on device type, create a device specific connection object suitable for
10475         device activation.
10476
10477         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10478         specific check to validate the connection and on success start the
10479         activation.
10480
10481         * src/nm-device-interface.h: Add a activate virtual function to the
10482         interface definition.
10483
10484         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10485         (impl_device_activate): Implement.
10486
10487         * introspection/nm-device.xml: Add a generic device activation interface
10488         that accepts an abstract NMConnection structure that has device-specific
10489         information in it.
10490
10491         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10492         activation interface.
10493
10494         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10495         activation interface.
10496
10497         * libnm-util/nm-connection.c: 
10498         * libnm-util/nm-connection.h: 
10499         * libnm-util/nm-setting.c:
10500         * libnm-util/nm-setting.h: Add.
10501
10502         * libnm-util/Makefile.am: Build the added files.
10503
10504         * src/nm-dbus-manager.c
10505         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10506         DbusConnection argument from 'name-owner-changed' signal. The manager
10507         is already passed as a first argument to the signal and the connection
10508         is easy enough to get from it.
10509
10510         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10511         Update the signature of the function.
10512
10513         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10514         Ditto.
10515
10516         * src/NetworkManager.c: Ditto.
10517
10518         * src/named-manager/nm-named-manager.c
10519         (nm_named_manager_name_owner_changed): Ditto.
10520
10521         * src/supplicant-manager/nm-supplicant-manager.c
10522         (nm_supplicant_manager_name_owner_changed): Ditto.
10523
10524         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10525
10526         * src/dhcp-manager/nm-dhcp-manager.c
10527         (nm_dhcp_manager_name_owner_changed): Ditto.
10528
10529         * src/nm-hal-manager.c: Add a list of device detectors and creators
10530         to make it easier to add new devices. Each device type has it's own
10531         entry in the table so adding new device types is only a matter of
10532         implementing a couple of functions, one for device detection and the
10533         other for device creation.
10534
10535 2007-04-25  Dan Williams  <dcbw@redhat.com>
10536
10537         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10538                 (gnome.org #432401)
10539
10540 2007-03-30  Dan Williams  <dcbw@redhat.com>
10541
10542         * src/NetworkManagerSystem.c
10543                 - (nm_system_device_set_ip4_route): clean up and fix argument
10544                         to nm_dev_sock_open()
10545
10546 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10547
10548         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10549         data to correct types instead of always using string.
10550
10551         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10552         _not_ have NM_802_11_CAP_PROTO_NONE.
10553         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10554         is not set.
10555
10556 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10557
10558         * libnm-glib/Makefile.am: Fix the build issue.
10559
10560 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10561
10562         * libnm-glib/nm-vpn-connection.h: 
10563         * libnm-glib/nm-vpn-connection.c: Implement.
10564
10565         * libnm-glib/nm-client.c: Add VPN support.
10566
10567         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10568         handler for VPN.
10569
10570         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10571         on DBUS again.
10572
10573 2007-03-26  Dan Williams  <dcbw@redhat.com>
10574
10575         * src/NetworkManagerAPList.c
10576         * src/nm-device-802-11-wireless.c
10577         * src/NetworkManagerAP.c:
10578                 - Store last seen as glong instead of GTimeVal.
10579                 - Fix the upper bound of capabilities, it's a bitfield.
10580
10581 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10582
10583         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10584
10585         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10586         "manager-running" signal that notifies the appearance/disappearance of NM.
10587         (nm_client_sleep): Implement.
10588
10589         * libnm-glib/nm-device.c:
10590         * libnm-glib/nm-device-802-11-wireless.c: 
10591         * libnm-glib/nm-device-802-3-ethernet.c: 
10592
10593         Don't inherit from DBusGProxy, add a proxy to private
10594         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10595         for anything but their own dbus interface. DBusGProxy objects support only one
10596         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10597         interface. The nice side effect of this change is that we do not create a new
10598         DBusGProxy object for each property access.
10599
10600 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10601
10602         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10603         with zeroes before passing them to functions - the functions never do that and
10604         reading the values back may produce wrong values.
10605         (real_bring_up): Store the signal handler id ...
10606         (real_bring_down): ... So that it can be removed here.
10607         Disconnect the supplicant interface here as well.
10608         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10609         from the access point instead of old $device/Networks/$essid.
10610
10611         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10612         device state is connected (instead of just having link/carrier).
10613
10614         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10615         already easily accessible through the device.
10616
10617         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10618         store it within the object.
10619         (nm_ap_get_dbus_path): Export it to public as well.
10620
10621         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10622         of the singleton.
10623
10624 2007-03-12  Dan Williams  <dcbw@redhat.com>
10625
10626         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10627         for non-carrier-detect capable devices, and useless for carrier-detect
10628         devices since we get notifications from netlink about carrier status anyway.
10629
10630         * src/nm-device-802-3-ethernet.c
10631                 - remove 'link_source_id' member from private data
10632                 - (probe_link): remove and collapse into real_update_link()
10633                 - (nm_device_802_3_periodic_update): remove
10634                 - (real_is_up): check for sup_iface rather than link_source_id
10635                 - (real_bring_up): return gboolean for success/fail; require that
10636                         sup_iface be valid for device bringup to succeed
10637                 - (real_bring_down): zero out link signal ids
10638
10639         * src/nm-device.c
10640                 - (nm_device_activate_stage2_device_config): fail activation if device
10641                         bringup fails
10642                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10643                         fails
10644                 - (nm_device_bring_up): return success/fail
10645
10646         * src/nm-device.h
10647                 - bring_up now returns success/fail
10648
10649         * src/nm-device-802-11-wireless.c
10650                 - (real_bring_up): return success from bringup
10651
10652 2007-03-07  Dan Williams  <dcbw@redhat.com>
10653
10654         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10655         * src/nm-ap-security-wpa-psk.c
10656                 - (real_write_supplicant_config): work with PSKs that may contain
10657                         zeros in the binary format rather than treating it as a string
10658
10659 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10660
10661         * libnm-glib/nm-device-802-11-wireless.c
10662         (nm_device_802_11_wireless_get_capabilities): Implement.
10663
10664         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10665
10666         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10667
10668         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10669         reply only if it's not NULL. Not sure why this started happening right now.
10670
10671         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10672         code paths for when devices get removed on shutdown or when a device is just
10673         removed.
10674         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10675         gets freed so any signal from a device (disconnected for instance) would invoke
10676         NMState update which would crash.
10677         (nm_manager_remove_device): Bring the device down when it gets removed.
10678
10679         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10680         the unused dev_type.
10681
10682         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10683         reference to the added device, NMManager will own it (if it wants).
10684
10685         * test/nm-tool.c: Rewrite using libnm-glib.
10686
10687         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10688         We get signalled when it changes.
10689
10690         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10691         when it changes.
10692
10693         * libnm-glib/nm-device.c: Cache the device state property.
10694
10695         * libnm-glib/nm-access-point.c: Cache the strength property.
10696
10697         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10698         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10699         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10700         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10701         the device is down, activating, or activated (in case of A/B/G cards).
10702         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10703         it's all done through supplicant now.
10704
10705         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10706         counting issues with pending calls which caused leaks and crashes when
10707         interface was removed (now that the interface actually gets removed).
10708
10709         * src/nm-call-store.c: Make a copy of data before running a foreach
10710         with user callback on it - The most common usage pattern is to cancel
10711         (and thus remove) all pending calls with foreach which would modify
10712         the hash table we're iterating over.
10713
10714         * src/nm-manager.c: When a device is added, make sure it is "up". When
10715         it's removed or disabled due to disabling wireless or networking, bring
10716         it down.
10717
10718         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10719
10720         * src/nm-device-802-11-wireless.c: 
10721         * src/nm-device-802-3-ethernet.c: 
10722         * src/nm-device.c:
10723                 - Remove "init" virtual function, all gobjects have a place for that
10724                   already (constructor).
10725                 - Replace "start" virtual function with "bring_up", devices can be
10726                   brought up and down more than just on startup now.
10727                 - Add "is_up" virtual function.
10728                 - Implement one way to bring a device down instead of previous 4 different
10729                   ways, each of witch did something different.
10730
10731         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10732         all it needs is the device interface.
10733
10734         Get rid of NMData.dev_list (3 members to go).
10735         Get rif of NMData in a lot of places.
10736
10737         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10738
10739 2007-02-23  Dan Williams  <dcbw@redhat.com>
10740
10741         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10742
10743         * src/NetworkManagerAP.c
10744                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10745                         OR-ing rather than AND-ing
10746
10747 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10748
10749         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10750         "network-removed" signals.
10751
10752         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10753
10754         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10755         when receiving the signal from dbus.
10756
10757         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10758         property.
10759
10760         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10761         deactivation of the previously activated device working again.
10762
10763         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10764         and setter.
10765
10766         * src/nm-device.c (nm_device_is_activated): Remove.
10767         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10768
10769         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10770         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10771         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10772         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10773         Remove NMNetworkStatus and NMActStage enums.
10774
10775 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10776
10777         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10778         Handle device state changes and disconnect VPN if it's device deactivates.
10779
10780         * src/nm-dbus-nm.c: 
10781         * src/nm-dbus-nm.h: 
10782         * src/nm-dbus-device.c: 
10783         * src/nm-dbus-device.c: 
10784         * src/nm-dbus-net.c: 
10785         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10786
10787         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10788
10789         * src/nm-device.c (nm_device_get_by_udi):
10790         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10791         implemented in the correct location (NMManager).
10792         Rip out all the test_device stuff.
10793
10794         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10795         failure handlers, it's all done by NMDevice already.
10796
10797         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10798         Remove the iochannel hack to route the unix signals to the main thread since
10799         we're not threaded anymore.
10800
10801         * src/NetworkManagerAP.c: Implement HWAddress property.
10802
10803         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10804         automatically with dbus-glib.
10805
10806         * src/nm-netlink-monitor.c: 
10807         * src/nm-netlink-monitor.h:
10808                 - Move it low in the class hierarchy, don't reference any NM types.
10809                 - Remove private data from the header.
10810                 - Use type safe checks in public API methods.
10811                 - Make it a singleton so we don't have to pass the single reference around.
10812
10813 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10814
10815         * introspection/nm-ip4-config.xml: Implement.
10816
10817         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10818
10819         * libnm-glib/nm-ip4-config.c:
10820         * libnm-glib/nm-ip4-config.c: Implement.
10821
10822         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10823         securities. APs reference security.
10824
10825         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10826         be exported over DBUS.
10827
10828         * src/nm-device-802-3-ethernet.c: Ditto.
10829
10830         * src/NetworkManagerAP.c:
10831         * src/NetworkManagerAP.h:
10832                 - Convert to GObject, export over DBUS.
10833
10834         * src/nm-ip4-config.h:
10835         * src/nm-ip4-config.h:
10836                 - Convert to GObject, export over DBUS.
10837
10838 2007-02-12  Dan Williams  <dcbw@redhat.com>
10839
10840         Patch from Helmut Schaa <hschaa@suse.de>
10841
10842         * vpn-daemons/pptp/configure.in
10843           vpn-daemons/pptp/Makefile.am
10844           vpn-daemons/openvpn/configure.in
10845           vpn-daemons/openvpn/Makefile.am
10846           vpn-daemons/vpnc/configure.in
10847           vpn-daemons/vpnc/Makefile.am
10848                 - Add --without-gnome switch which disables building gnome bits
10849
10850 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10851
10852         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10853
10854         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10855
10856         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10857         'HwAddress'.
10858
10859         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10860
10861         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10862
10863         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10864
10865         * src/:
10866                 - Remove old low-level dbus interface implementations and replace them
10867                   with dbus-glib one.
10868
10869         * configure.in:
10870                 - Require dbus-glib >= 0.72.
10871                 - Plug in new sources to build.
10872
10873         * libnm-glib/:
10874                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10875                   to make it more convenient to use from GObject based programs.
10876
10877         * introspection/:
10878                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10879
10880 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10881
10882         * src/nm-device-802-11-wireless.c:
10883                 - Add "network-added" and "network-removed" signals.
10884                 - Use gobject boilerplate macros to define the GObject.
10885                 - Implement wireless device activation.
10886                 - Remove activation_failure_handler and activation_success_handler
10887                   and instead listen on state-changed signals and run the same code
10888                   from there.
10889
10890         * src/nm-device.c:
10891                 - Implment NMDeviceInterface::deactivate.
10892                 - Remove activation_failure_handler and activation_success_handler
10893                   virtual methods. Each device which is interested in these events
10894                   can just listen on it's state changed signals.
10895
10896         * src/NetworkManagerPolicy.c:
10897                 - Move a bit more NMData usage to NMManager.
10898                 - Remove activation scheduling bits.
10899                 - Add listeners for wireless device's "network-added" and
10900                   "network-removed" signals.
10901                 - Listen device changed signals and deactivate currently activated
10902                   device when another device start activating (for now).
10903                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10904                   for calling this, the policy code knows exactly when this should happen,
10905                   by listening on events from NMManager and NMDevices.
10906
10907         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10908         Implement.
10909
10910         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10911         method on the specific device instead of going to through policy code
10912         and determining the device type by passed in AP's existance.
10913
10914         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10915         abstract NMDevice deactivation.
10916
10917 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10918
10919         * src/NetworkManager.c:
10920                 - Set up all the shiny new managers.
10921
10922         * src/NetworkManagerPolicy.c:
10923                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10924                   classes to call into policy code, make the policy code kind of like
10925                   a supervisor that monitors what's going on and drives the whole NM.
10926
10927         * src/nm-hal-manager.c: 
10928         * src/nm-hal-manager.h:
10929                 - Collect all libhal code scattered around NM to this one class.
10930                 - Listen libhal and NMManager events and add/remove devices to
10931                   NMManager.
10932
10933         * src/nm-manager.c:
10934         * src/nm-manager.h:
10935                 - Implment a replacement for NMData. NMData is now officially
10936                 deprecated.
10937
10938 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10939
10940         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10941         * src/supplicant-manager/nm-supplicant-interface.h
10942         * src/supplicant-manager/nm-supplicant-interface.c
10943         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10944         argument to boolean from enum.
10945
10946         Make NMDevice abstract class, remove almost all references to it's
10947         subclasses (the last place gets removed with new policy manager). Add
10948         NMDeviceInterface (which NMDevice implements) so that when we have
10949         NMDevice exported over DBUS, there's a common NMDevice interface which
10950         all instances have, plus there's a device specific interface for each
10951         specific type.
10952         Remove functions (nm_device_is_802_3_ethernet) and
10953         (nm_device_is_802_11_wireless). There are already standard GObject macros
10954         for type safe checks.
10955         Use the updated supplican manager API.
10956
10957         * src/nm-device-interface.h: 
10958         * src/nm-device-interface.c: 
10959         * src/nm-call-store.h: 
10960         * src/nm-call-store.c: Implement.
10961
10962         * src/supplicant-manager/nm-supplicant-interface.c:
10963         * src/supplicant-manager/nm-supplicant-interface.h:
10964         * src/supplicant-manager/nm-supplicant-manager.c:
10965         * src/supplicant-manager/nm-supplicant-manager.h:
10966                 - Remove all private data type references from public header files.
10967                 - Remove all references to other NM classes, this class is just a
10968                   proxy between wpa_supplicant and NM so it doesn't have to know
10969                   any internals.
10970                 - Convert to dbus-glib bindings.
10971                 - Type safe checks for public methods' arguments.
10972                 - Store pending DBUS call ids to NMCallStore.
10973
10974         * src/supplicant-manager/nm-supplicant-config.c:
10975                 - Store config values in a GHashTable instead of GSList.
10976
10977         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10978
10979         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10980         singleton now.
10981
10982         * src/nm-device.c: Use the new DHCP manager API.
10983
10984         * src/nm-activation-request.c:
10985         * src/nm-activation-request.h:
10986                 - Remove all dhcp related properties and methods.
10987
10988         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10989
10990         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10991
10992         * src/dhcp-manager/nm-dhcp-manager.c:
10993         * src/dhcp-manager/nm-dhcp-manager.h:
10994                 - Convert it to GObject since we need to signal state changes.
10995                 - Remove all references to other NM classes, this class is one
10996                   of the lowest classes in our hierarchy.
10997                 - One less class to use NMActRequest.
10998                 - Make it singleton, one less user of NMData.
10999                 - Remove a couple of sleep() calls.
11000                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
11001                   One less class to use the NM's custom tailored signal handlig.
11002
11003         * Makefile.am: Generate marshallers, add them to build.
11004
11005 2007-02-02  Dan Williams  <dcbw@redhat.com>
11006
11007         * configure.in
11008           gnome/Makefile.am
11009           nm-applet.desktop
11010           Makefile.am
11011                 - Remove last bits referencing gnome applet
11012
11013 2007-02-02  Dan Williams  <dcbw@redhat.com>
11014
11015         * src/vpn-manager/nm-vpn-service.c
11016                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11017                         and NBNS server addresses
11018
11019 2007-02-02  Tambet Ingo  <tambet@ximian.com>
11020
11021         * src/nm-dbus-manager.c:
11022         * src/nm-dbus-manager.h:
11023                 - Convert all internal DBUS code to use dbus-glib bindings.
11024                 - Remove GObject properties, we don't need them here.
11025                 - Don't explicitly set things to NULL after freeing, glib is
11026                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
11027                 - Make public API argument checks type safe.
11028                 - Remove unnecessary (and wrong) cast to GObject for the first
11029                   argument to g_signal_* calls - The first argument is a gpointer.
11030                 - Export DBusGConnection to other cool classes that (are going to)
11031                   use dbus-glib.
11032
11033 2007-01-26  Dan Williams  <dcbw@redhat.com>
11034
11035         * libnm-util/dbus-dict-helpers.c
11036           libnm-util/dbus-dict-helpers.h
11037                 - Coordinate style with wpa_supplicant version to minimize diff
11038                 - Add uint32 array support
11039                 - (nmu_dbus_dict_append_uint32_array): new function
11040                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11041                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11042                         version; allow adding string array elements individually
11043
11044         * test/libnm-util/test-dbus-dict-helpers.c
11045                 - Test uint32 arrays
11046
11047 2007-01-27  Jürg Billeter  <j@bitron.ch>
11048
11049         * src/backends/NetworkManagerPaldo.c
11050                 - (nm_system_update_dns): clear nscd hosts cache
11051
11052 2007-01-04  Dan Williams  <dcbw@redhat.com>
11053
11054         Threading removal related cleanups:
11055
11056         - Use the glib default main context.  Remove the device main context
11057                 member from NMDevice, and the main_context member from NMData.  Change
11058                 all the idle and timeout scheduler functions to use plain
11059                 g_idle_add() and g_timeout_add().
11060
11061         - As a side-effect of the first change, nm_dbus_manager_get() no longer
11062                 takes an argument; fix that up too.
11063
11064         - Remove all locking, which is useless since we no longer use threads.  For
11065                 example, nm_get_device_by_iface_locked() has been removed.  The global
11066                 device list lock, the AP List lock, and all static locks in
11067                 NetworkManagerPolicy.c have been removed.  The locking utility functions
11068                 in NetworkManagerUtils.c have also been removed.
11069
11070         - Other cleanups in spacing and code style
11071
11072 2007-01-01  Dan Williams  <dcbw@redhat.com>
11073
11074         Found by Bill Moss:
11075
11076         * src/supplicant-manager/nm-supplicant-interface.c
11077                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11078                         the supplicant interface wasn't already disconnected.  Always
11079                         call removeNetwork and disconnect unless the supplicant interface
11080                         is in the DISCONNECTED or INACTIVE state.
11081
11082 2006-12-28  Dan Williams  <dcbw@redhat.com>
11083
11084         Use a single thread for everything.  With the move to wpa_supplicant
11085         and communication over D-Bus, there's no reason for multiple threads.
11086         Almost all of the blocking code has been removed, with one exception in
11087         the DHCP manager and a few in the VPN manager.  This commit removes the
11088         per-device worker thread and fixes activation cancellation in the absence
11089         of threads.  Further removal of thread-related code would be removing
11090         any locking code (like the device list lock) and simplification of logic
11091         around areas of code or data structures that are currently locked.
11092
11093         * autoip.c
11094           dhcp-manager/nm-dhcp-manager.c 
11095           nm-device-802-11-wireless.c
11096           nm-device-802-3-ethernet.c
11097           nm-device.c
11098           nm-device.h
11099                 - Remove usage of multiple threads
11100
11101 2006-12-19  Dan Williams  <dcbw@redhat.com>
11102
11103         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11104         plus a few other patches from wpa_supplicant bugzilla.
11105
11106         * src/Makefile.am
11107           src/NetworkManagerPolicy.c
11108           src/NetworkManagerUtils.c
11109           src/NetworkManagerUtils.h
11110           src/nm-ap-security-leap.c
11111           src/nm-ap-security-wep.c
11112           src/nm-ap-security-wpa-eap.c
11113           src/nm-ap-security-wpa-psk.c
11114           src/nm-ap-security.c
11115           src/nm-ap-security.h
11116           src/nm-device-802-11-wireless.c
11117           src/nm-device-802-11-wireless.h
11118           src/supplicant-manager/nm-supplicant-config.c
11119           src/supplicant-manager/nm-supplicant-config.h
11120           src/supplicant-manager/nm-supplicant-interface.c
11121           src/supplicant-manager/nm-supplicant-interface.h
11122           src/supplicant-manager/nm-supplicant-marshal.list
11123           src/supplicant-manager/nm-supplicant-settings-verify.c
11124           src/supplicant-manager/nm-supplicant-settings-verify.h
11125                 - Move all connection management and association handling to
11126                         wpa_supplicant over dbus, rather than spawning a private copy
11127
11128 2006-12-19  Dan Williams  <dcbw@redhat.com>
11129
11130         * src/NetworkManagerPolicy.c
11131                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11132                         better locking of the device change check handler ID.  Incorrect
11133                         locking was causing lost device change requests
11134
11135 2006-12-18  Dan Williams  <dcbw@redhat.com>
11136
11137         * libnm-util/dbus-dict-helpers.c
11138                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11139                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
11140                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
11141
11142 2006-12-18  Dan Williams  <dcbw@redhat.com>
11143
11144         * gnome/libnm_glib/libnm_glib.c
11145                 - Change dbus_connection_close() -> dbus_connection_unref()
11146
11147 2006-12-11  Dan Williams  <dcbw@redhat.com>
11148
11149         * src/supplicant-manager/nm-supplicant-interface.c
11150                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11151                         wpa_supplicant interface state
11152                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11153                         state before transitioning to READY state
11154
11155 2006-12-04  Dan Williams  <dcbw@redhat.com>
11156
11157         * src/nm-device-802-11-wireless.c
11158                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11159                         odd length of ESSID returned from ieee80211 stack-based drivers
11160
11161 2006-12-04  Dan Williams  <dcbw@redhat.com>
11162
11163         * src/nm-device-802-11-wireless.c
11164                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11165                         IE handling blocks that cause mis-parsing of the IE
11166
11167 2006-12-04  Dan Williams  <dcbw@redhat.com>
11168
11169         * src/nm-device-802-11-wireless.c
11170                 - (init_supplicant_interface): new function; pull supplicant interface
11171                         setup code out into standalone function since it must be called from
11172                         two different places
11173                 - (real_init): sup_mgr is now in private object data; get and track
11174                         the supplicant manager object over the NMDevice subclass' lifetime
11175                         and register a signal handler for its state signals; only try to
11176                         initialize the supplicant interface if the supplicant manager is in
11177                         the IDLE state (and therefore is ready for requests)
11178                 - (request_wireless_scan): reschedule the scan request if (a) there is
11179                         no supplicant interface yet (meaning wpa_supplicant isn't running
11180                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11181                         for requests yet
11182                 - (supplicant_iface_connection_state_cb): new function; stub for
11183                         handling supplicant interface connection state signals
11184                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11185                         comes and goes
11186                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11187                         supplicant manager object that's being tracked starting with this
11188                         commit
11189
11190 2006-12-04  Dan Williams  <dcbw@redhat.com>
11191
11192         * src/supplicant-manager/nm-supplicant-interface.c
11193                 - (nm_supplicant_interface_set_property): track signal handler ID
11194                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11195
11196 2006-12-04  Dan Williams  <dcbw@redhat.com>
11197
11198         * src/supplicant-manager/nm-supplicant-interface.[ch]
11199                 - (nm_supplicant_interface_get_state): new function
11200
11201 2006-12-04  Dan Williams  <dcbw@redhat.com>
11202
11203         * src/supplicant-manager/nm-supplicant-interface.c
11204                 - (bssid_properties_cb): don't treat DBus errors as valid
11205                         scanned AP messages
11206
11207 2006-12-04  Dan Williams  <dcbw@redhat.com>
11208
11209         * src/supplicant-manager/nm-supplicant-interface.[ch]
11210                 - (nm_supplicant_interface_get_connection_state): new function
11211                 - define new supplicant connection states
11212                 - send a signal when the supplicant connection state changes
11213
11214 2006-12-03  Dan Williams  <dcbw@redhat.com>
11215
11216         * src/supplicant-manager/Makefile.am
11217           src/supplicant-manager/nm-supplicant-connection.h
11218           src/supplicant-manager/nm-supplicant-connection.c
11219           src/supplicant-manager/nm-supplicant-config.h
11220           src/supplicant-manager/nm-supplicant-config.c
11221           src/supplicant-manager/nm-supplicant-types.h
11222           src/supplicant-manager/nm-supplicant-interface.h
11223           src/supplicant-manager/nm-supplicant-interface.c
11224                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11225
11226 2006-12-03  Dan Williams  <dcbw@redhat.com>
11227
11228         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11229
11230         * po/POTFILES.in
11231           po/POTFILES.skip
11232                 - Move VPN-related translatables to .skip
11233
11234         * vpn-daemons/pptp/po/POTFILES.in
11235                 - Update with new translatables
11236
11237 2006-12-02  Dan Williams  <dcbw@redhat.com>
11238
11239         Patch from Christian Persch <chpe@gnome.org>
11240
11241         * gnome/applet/Makefile.am
11242           gnome/applet/applet-dbus-devices.c
11243           gnome/applet/applet-notifications.c
11244           gnome/applet/applet.c
11245           gnome/applet/applet.h
11246           gnome/applet/main.c
11247                 - Be a GtkStatusIcon on GTK+ >= 2.10
11248
11249 2006-12-02  Dan Williams  <dcbw@redhat.com>
11250
11251         * gnome/applet/applet.c
11252                 - (nma_update_info): fix two unecessary allocations
11253
11254 2006-12-02  Dan Williams  <dcbw@redhat.com>
11255
11256         Patch from Michael Biebl <biebl@teco.edu>
11257         * configure.in
11258           man/NetworkManager.1.in
11259           man/NetworkManagerDispatcher.1.in
11260           man/NetworkManager.8.in
11261           man/NetworkManagerDispatcher.8.in
11262                 - Add .SH NAME stanzas
11263                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11264
11265 2006-12-02  Dan Williams  <dcbw@redhat.com>
11266
11267         Patch from Christian Persch <chpe@gnome.org>
11268
11269         * configure.in
11270                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11271
11272 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11273
11274         Patch by Timo Hoenig <thoenig@suse.de>:
11275         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11276         DBUS-1.0.
11277
11278         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11279         we can't use the one from the main source directory.
11280
11281 2006-11-27  Dan Williams  <dcbw@redhat.com>
11282
11283         Patch from Christian Persch <chpe@gnome.org>
11284
11285         * gnome/applet/applet-dbus-devices.c
11286                 - (hal_info_product_cb): fix memleak; free duped string.
11287                         Gnome.org #379908
11288
11289 2006-11-27  Dan Williams  <dcbw@redhat.com>
11290
11291         Patch from Christian Persch <chpe@gnome.org>
11292
11293         * gnome/applet/menu-items.c
11294                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11295                         as gtk_progress_set_percentage is deprecated.  Should
11296                         work as far back as GTK+ 2.4.  Gnome.org #379780
11297
11298 2006-11-26  Dan Williams  <dcbw@redhat.com>
11299
11300         Scan using wpa_supplicant over DBus.
11301
11302         * src/nm-device-802-11-wireless.c
11303                 - remove wireless extensions netlink event handler bits
11304                         (wireless_event_helper, nm_device_802_11_wireless_event)
11305                 - remove wireless extensions scan event handler bits
11306                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11307                         hex2byte, hex2num, request_and_convert_scan_results,
11308                         free_process_scan_cb_data, scan_results_timeout,
11309                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11310                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11311                         and request scans from the supplicant interface rather than directly
11312                 - Move functionality of convert_scan_results() to cull_scan_list() and
11313                         supplicant_iface_scanned_ap_cb()
11314                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11315                         at the scan interval when the current scan has finished
11316                 - (supplicant_iface_state_cb): start scanning when the supplicant
11317                         interface enters the READY state, and stop scanning when it
11318                         enters the DOWN state
11319                 - (cull_scan_list): weed out old access points from the scan list
11320                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11321                         point into an NMAccessPoint and merge it into the device's scan list
11322
11323         * src/supplicant-manager/nm-supplicant-interface.c
11324           src/supplicant-manager/nm-supplicant-interface.h
11325                 - Add a new signal "scan-result" which is issued when the supplicant
11326                         notifies NM that a scan has completed
11327                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11328                         point found in the scan.  Called once for each access point that
11329                         the supplicant interface object receives from the supplicant as a
11330                         result of the "scanResults" method call
11331                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11332                         for the initial scan results
11333                 - (scan_request_cb): new function; send listeners the result
11334                         (success, error) of a wireless scan request
11335                 - (nm_supplicant_interface_request_scan): new function; ask the
11336                         supplicant to perform an immediate wireless scan
11337
11338 2006-11-25  Dan Williams  <dcbw@redhat.com>
11339
11340         * src/supplicant-manager/Makefile.am
11341                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11342                         add HAL cflags/includes and named-manager includes directory
11343
11344         * src/supplicant-manager/nm-supplicant-interface.h
11345                 - New state STARTING to handle transition from INIT to READY where
11346                         the addInterface pending call is still outstanding
11347
11348         * src/supplicant-manager/nm-supplicant-interface.c
11349                 - track pending calls differently since we may have more than one
11350                         going on at any given time
11351                 - request scan results from wpa_supplicant; but don't do it more often
11352                         than every 4 seconds.  Drivers that do background scanning
11353                         (like the 'ipw' drivers) send a continuous stream of scan completion
11354                         notifications, so we don't want to hammer the supplicant or dbus
11355                         with requests for all scan results every time we get a completion
11356                         notification.
11357
11358 2006-11-25  Dan Williams  <dcbw@redhat.com>
11359
11360         * src/supplicant-manager/nm-supplicant-types.h
11361                 - new file; move all supplicant manager object typedefs here for
11362                         #include sanity
11363
11364         * src/supplicant-manager/nm-supplicant-interface.c
11365           src/supplicant-manager/nm-supplicant-interface.h
11366                 - new file; an object that interfaces an NMDevice object to the
11367                         supplicant and handles signals from the supplicant.  This object
11368                         does all necessary DBus communication with wpa_supplicant.
11369
11370         * src/supplicant-manager/nm-supplicant-manager.c
11371           src/supplicant-manager/nm-supplicant-manager.h
11372                 - Actually do something.  Track the state of the wpa_supplicant service
11373                         and deal with its comings & goings.  Handle life events of
11374                         supplicant interfaces too.
11375                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11376
11377         * src/supplicant-manager/nm-supplicant-connection.h
11378                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11379
11380         * src/supplicant-manager/Makefile.am
11381                 - Add new files to build, and add libnm-util to includes
11382
11383         * src/nm-marshal.list
11384                 - New marshaler type: VOID:UINT,UINT
11385
11386         * src/nm-device-802-3-ethernet.c
11387                 - (real_init): grab a supplicant interface
11388                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11389                 - (supplicant_iface_state_cb): new function, stub for handling
11390                         supplicant interface state changes
11391
11392         * src/nm-device-802-11-wireless.c
11393                 - (real_init): grab a supplicant interface
11394                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11395                 - (supplicant_iface_state_cb): new function, stub for handling
11396                         supplicant interface state changes
11397
11398         * src/NetworkManager.c
11399                 - (main): create and keep the supplicant manager around for the lifetime
11400                         of NetworkManager
11401
11402         * src/Makefile.am
11403                 - Link to the supplicant manager sub-library and use the supplicant
11404                         manager includes
11405
11406 2006-11-25  Dan Williams  <dcbw@redhat.com>
11407
11408         Rework DBus manager signal handling to be more flexible.  Previously,
11409         only one signal handler could be registered for a particular interface.
11410         The DBus manager now reference counts DBus bus matches and allows multiple
11411         clients to register signal handlers for the same interface and sender.
11412
11413         * src/NetworkManager.c
11414                 - (main): track NMI signal handler ID and remove it when we quit
11415
11416         * src/NetworkManagerMain.h
11417                 - Keep track of NMI signal handler ID
11418
11419         * src/nm-dbus-manager.c
11420           src/nm-dbus-manager.h
11421                 - rework signal handling; each signal handler references one signal
11422                         match, but a signal match may be referenced by one or more
11423                         signal handlers.  Matches are refcounted and are destroyed when the
11424                         last signal handler that references the match is removed.  This is
11425                         necessary because two signal handlers may end up requiring the same
11426                         dbus bus match, so the match must live until the last signal handler
11427                         is destroyed (for example, with the wpa_supplicant network interface
11428                         dbus interface).
11429
11430         * src/dhcp-manager/nm-dhcp-manager.c
11431                 - (nm_dhcp_manager_new): track DHCP signal handler id
11432                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11433
11434         * src/vpn-manager/nm-vpn-service.c
11435                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11436                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11437
11438 2006-11-25  Dan Williams  <dcbw@redhat.com>
11439
11440         Suggested by Helmut Schaa <hschaa@suse.de>
11441
11442         * src/vpn-daemons/nm-vpn-service.c
11443                 - (supplicant_child_setup): new function
11444                 - (supplicant_exec): make child process use a new process group id
11445
11446         * src/nm-device-802-11-wireless.c
11447                 - (nm_vpn_service_child_setup): new function
11448                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11449                         process group id
11450
11451 2006-11-19  Dan Williams  <dcbw@redhat.com>
11452
11453         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11454         * gnome/vpn-properties/nm-vpn-properties.c
11455                 - clean up after renamed VPN connection
11456
11457 2006-11-19  Dan Williams  <dcbw@redhat.com>
11458
11459         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11460         * gnome/applet/applet-dbus-vpn.c
11461                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11462
11463         * gnome/vpn-properties/nm-vpn-properties.c
11464                 - (init_app): sort VPN connections
11465
11466 2006-11-09  Dan Williams  <dcbw@redhat.com>
11467
11468         * src/NetworkManagerAPList.c
11469                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11470                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11471                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11472                 broke hidden SSID matching.  Found by Bill Moss.
11473
11474 2006-10-25  Dan Williams  <dcbw@redhat.com>
11475
11476         * src/nm-dbus-nm.c
11477                 - (nm_dbus_nm_set_active_device): return an empty success message on
11478                         success, rather than falling through to the error case.
11479
11480 2006-10-25  Dan Williams  <dcbw@redhat.com>
11481
11482         * src/NetworkManagerUtils.c
11483                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11484                         "SCAN" command
11485
11486 2006-10-24  Dan Williams  <dcbw@redhat.com>
11487
11488         Reduce the number of times the Gnome applet wakes up, especially when
11489         it's doing absolutely nothing and is hidden.  Initial patch by
11490         Chris Aillon.
11491
11492         * gnome/applet/applet-dbus.c
11493                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11494                         kill the redraw timeout.  When NM starts up, start the redraw
11495                         timeout.  Also, if we get kicked off the bus for some reason,
11496                         start the reconnection timeout if one's not already running.
11497                 - (nma_dbus_init): better handling of error conditions, don't leak
11498                         a half-initialized dbus connection
11499                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11500                         the applet's data, just call nm_dbus_init_helper()
11501                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11502                         timeout that calls nma_dbus_connection_watcher()
11503                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11504                         reconnection timeout, and don't start the reconnection timeout
11505                         unconditionally anymore
11506
11507         * gnome/applet/applet-dbus.h
11508                 - Expose nma_start_dbus_connection_watch()
11509
11510         * gnome/applet/applet.c
11511                 - (nma_update_state): no longer static, called from applet-dbus.c for
11512                         immediate UI updates on certain events
11513                 - (nma_set_running): new function; take over setting applet->running,
11514                         when not running (ie, NM is not active), don't activate the redraw
11515                         timeout because we're not showing the applet anyway.  When we are
11516                         running (ie, NM is active), and only when we're running, start the
11517                         redraw timeout.
11518                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11519                         kill any reconnection timeout
11520                 - (nma_get_instance): move one-off dbus initialization code here since
11521                         nm_dbus_init_helper() gets called more than once, possibly by the
11522                         reconnection timeout function too.  And, when we start up, if we
11523                         can't get a connection to the bus, start the reconnection timeout.
11524                         But don't start the redraw timeout yet, only do that when we get
11525                         NM's state and find out if it's running or not.
11526
11527         * gnome/applet/applet.h
11528                 - Add the reconnection GSource ID
11529                 - Add prototypes for nma_set_running() and the no-longer-static
11530                         nma_update_state()
11531
11532 2006-10-24  Dan Williams  <dcbw@redhat.com>
11533
11534         * src/vpn-daemons/nm-dbus-vpnc.c
11535                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11536                         pending call tracker
11537                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11538                         pending call tracker; register one-vpn-connection update pending
11539                         call in pending call tracker
11540                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11541                         update pending call in pending call tracker
11542                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11543                         update pending call in pending call tracker; don't block waiting
11544                         for call to return
11545
11546 2006-10-19  Robert Love  <rml@novell.com>
11547
11548         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11549           refresh the cache.
11550
11551 2006-10-14  Dan Williams  <dcbw@redhat.com>
11552
11553         * src/dhcp-manager/nm-dhcp-manager.c
11554                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11555                 the dbus connection and the device object path rather than
11556                 constructing it inside both functions.  Saves a bit of memory
11557                 and clarifies a failure path.
11558                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11559                 and allocate device path here rather than each of the two
11560                 functions above.
11561
11562 2006-10-13  Dan Williams  <dcbw@redhat.com>
11563
11564         * src/NetworkManager.c
11565                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11566                 this somehow droppout in the refactor
11567
11568 2006-10-13  Dan Williams  <dcbw@redhat.com>
11569
11570         * Huge DBus refactor:
11571                 - Create a "DBus Manager" object which manages the connection and
11572                 sends signals on NameOwnerChanged and connection/disconnection events,
11573                 handles reconnection to the bus if NM gets kicked off, and abstracts
11574                 signal handling
11575                 - Remove DBusConnection members from places where they are no
11576                 longer needed due to the refactor, like the dbus-connection
11577                 property of the named manager, and from NMData
11578                 - Reformats a bunch of the code to gnome style
11579                 (8-space tabs, braces on same line as statement, 80-col width).
11580                 Consider it open season to reformat any bits to gnome style.
11581                 style that aren't already.
11582
11583 2006-10-13  Dan Williams  <dcbw@redhat.com>
11584
11585         * src/supplicant-manager/Makefile.am
11586                 - Add new files
11587
11588         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11589                 - Make it a minimal GObject
11590
11591         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11592                 - Verify settings destined for wpa_supplicant
11593
11594         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11595                 - Minimal GObject to track wpa_supplicant controlled device
11596                 connections
11597
11598 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11599
11600         * gnome/applet/applet.c: (nma_update_info),
11601         (nma_act_stage_to_pixbuf), (nma_update_state):
11602         Mark missing strings for translation. Fixes bug #343306.
11603
11604 2006-10-01  Dan Williams  <dcbw@redhat.com>
11605
11606         * src/vpn-manager/nm-vpn-manager.c
11607                 - (nm_vpn_manager_load_services): split and clean up
11608                 for readability and correctness.  Restrict VPN service
11609                 files to ending in ".name", as was meant from the
11610                 beginning (but not coded in).  Better error reporting.
11611
11612 2006-10-01  Dan Williams  <dcbw@redhat.com>
11613
11614         * utils/nm-utils.h
11615                 - Clean up formatting of debug/info/warning log messages
11616
11617 2006-09-27  Robert Love  <rml@novell.com>
11618
11619         Patch by Tambet Ingo <tambet@ximian.com>:
11620         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11621           actually work.
11622
11623 2006-09-07  Dan Williams <dcbw@redhat.com>
11624
11625         * test/Makefile.am
11626           test/libnm-util/Makefile.am
11627           test/nm-supplicant-test.c
11628                 - Add test program emulating the way NM drives wpa_supplicant
11629                 to help debug supplicant issues
11630
11631 2006-08-24  Dan Williams <dcbw@redhat.com>
11632
11633         * configure.in
11634           src/Makefile.am
11635           src/supplicant-manager/Makefile.am
11636           src/supplicant-manager/nm-supplicant-manager.c
11637           src/supplicant-manager/nm-supplicant-manager.h
11638                 - Add skeleton bits of the wpa_supplicant manager
11639
11640 2006-08-24  Dan Williams <dcbw@redhat.com>
11641
11642         Patch from Ed Catmur:
11643         * src/NetworkManagerUtils.c
11644                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11645                 if netmask is 0 (Gnome #352634)
11646
11647 2006-08-17  Robert Love  <rml@novell.com>
11648
11649         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11650           package is now DBUS-enabled and listens for the NM signals.
11651
11652 2006-08-14  Dan Williams  <dcbw@redhat.com>
11653
11654         * Patch from Christian Persch <chpe gnome org>
11655         * configure.in
11656           po/LINGUAS
11657           vpn-daemons/openvpn/po/LINGUAS
11658           vpn-daemons/openvpn/configure.in
11659           vpn-daemons/pptp/po/LINGUAS
11660           vpn-daemons/pptp/configure.in
11661           vpn-daemons/vpnc/po/LINGUAS
11662           vpn-daemons/vpnc/configure.in
11663                 - Convert to LINGUAS method so translators don't have to modify
11664                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11665                 0.35 or higher
11666
11667 2006-08-14  Dan Williams  <dcbw@redhat.com>
11668
11669         Patch from Alex Smith <alex.extreme2@gmail.com>
11670         * configure.in
11671           src/backends/Makefile.am
11672           src/backends/NetworkManagerFrugalware.c
11673                 - Add support for Frugalware
11674
11675 2006-08-13  Dan Williams  <dcbw@redhat.com>
11676
11677         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11678         * src/nm-device-802-11-wireless.c
11679                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11680                 Gnome #346875
11681
11682 2006-08-13  Dan Williams  <dcbw@redhat.com>
11683
11684         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11685         * src/nm-ap-security.c
11686           src/nm-ap-security.h
11687                 - Add authentication_required bits for subclasses to specify whether
11688                 or not real authentication is required for connections, i.e. whether
11689                 the AP rejects us when an encryption key is wrong or not.
11690
11691         * src/nm-ap-security-wep.c
11692           src/nm-ap-security-wpa-eap.c
11693           src/nm-ap-security-wpa-psk.c
11694           src/nm-ap-security-leap.c
11695                 - Implement authentication_required appropriately for each method
11696
11697         * src/nm-device-802-11-wireless.c
11698                 - Be smarter about when to request a key; for example, using a wrong key
11699                 in WEP shared key mode previously just timed out and did not request
11700                 a new key
11701
11702 2006-08-13  Dan Williams  <dcbw@redhat.com>
11703
11704         * gnome/libnm_glib/libnm_glib.c
11705                 - dbus_connection_disconnect() -> dbus_connection_close() for
11706                 dbus >= 0.90
11707
11708 2006-08-07  Dan Williams  <dcbw@redhat.com>
11709
11710         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11711         * src/NetworkManagerSystem.c
11712                 - Respect specified MTU.  Gnome #344967
11713
11714 2006-08-07  Dan Williams  <dcbw@redhat.com>
11715
11716         * src/vpn-manager/nm-vpn-service.c
11717                 - Simplify print_vpn_config() arguments
11718
11719         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11720         * src/vpn-manager/Makefile.am
11721           src/vpn-manager/nm-vpn-service.c
11722                 - Add new API for passing VPN config options as a dict. Gnome #344967
11723
11724 2006-08-06  Dan Williams  <dcbw@redhat.com>
11725
11726         * gnome/applet/applet-dbus-devices.c
11727           gnome/applet/applet-dbus-vpn.c
11728           gnome/applet/applet-dbus.c
11729           gnome/applet/applet-dbus.h
11730           src/nm-dbus-nmi.c
11731           utils/nm-utils.c
11732           utils/nm-utils.h
11733                 - Make pending call tracking code generic,
11734                 so we can use it in NM as well as the applet
11735
11736 2006-08-06  Dan Williams  <dcbw@redhat.com>
11737
11738         * src/nm-activation-request.c
11739                 - Refcount pending call objects
11740
11741 2006-08-06  Dan Williams  <dcbw@redhat.com>
11742
11743         Patch from Christan Chiesa <christanc@gmail.com>
11744         * configure.in
11745                 - Tell sha1.c to use bigendian mode on PPC
11746
11747 2006-08-04  Robert Love  <rml@novell.com>
11748
11749         Glib Memory Slices!
11750         * configure.in: Require glib 2.10 or later.
11751         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11752           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11753           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11754           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11755           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11756           Memory Slices are the greatest thing since bread slices.
11757         * src/NetworkManagerAP.c: Also, fix memory leak.
11758
11759 2006-08-01  Robert Love  <rml@novell.com>
11760
11761         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11762
11763 2006-07-31  Robert Love  <rml@novell.com>
11764
11765         * src/backends/interface_parser.c: Declarations must begin the block.
11766
11767 2006-07-24  Dan Williams  <dcbw@redhat.com>
11768
11769         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11770         * src/backends/Makefile.am
11771           src/backends/NetworkManagerArch.c
11772           src/backends/NetworkManagerDebian.c
11773           src/backends/NetworkManagerGeneric.c
11774           src/backends/NetworkManagerGeneric.h
11775           src/backends/NetworkManagerGentoo.c
11776           src/backends/NetworkManagerPaldo.c
11777           src/backends/NetworkManagerRedHat.c
11778           src/backends/NetworkManagerSlackware.c
11779           src/backends/NetworkManagerSuSE.c
11780                 - Genericize common backend functions
11781
11782 2006-07-18  Robert Love  <rml@novell.com>
11783
11784         * configure.in: Add "--with-notify" option to allow disabling of
11785           libnotify support.
11786
11787 2006-07-13  Dan Williams  <dcbw@redhat.com>
11788
11789         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11790         * gnome/applet/applet.glade
11791           gnome/applet/Makefile.am
11792           gnome/applet/nm-gconf-wso.c
11793           gnome/applet/nm-gconf-wso-leap.c
11794           gnome/applet/nm-gconf-wso-leap.h
11795           gnome/applet/wireless-security-manager.c
11796           gnome/applet/wso-leap.c
11797           gnome/applet/wso-leap.h
11798           include/NetworkManager.h
11799           libnm-util/dbus-helpers.c
11800           libnm-util/dbus-helpers.h
11801           src/Makefile.am
11802           src/NetworkManagerAP.c
11803           src/nm-ap-security.c
11804           src/nm-ap-security-leap.c
11805           src/nm-ap-security-leap.h
11806                 - Add LEAP authentication support
11807
11808 2006-07-13  Dan Williams  <dcbw@redhat.com>
11809
11810         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11811         * configure.in
11812           src/backends/NetworkManagerArch.c
11813           src/backends/NetworkManagerDebian.c
11814           src/backends/NetworkManagerGentoo.c
11815           src/backends/NetworkManagerPaldo.c
11816           src/backends/NetworkManagerRedHat.c
11817           src/backends/NetworkManagerSlackware.c
11818           src/backends/NetworkManagerSuSE.c
11819                 - Convert hardcoding of 'ip' path to configure-time
11820                         detected one
11821
11822 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11823
11824         * configure.in: added ru to ALL_LINGUAS
11825
11826 2006-07-10  Dan Williams  <dcbw@redhat.com>
11827
11828         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11829         * src/nm-device.c
11830                 - (real_act_stage3_ip_config_start): don't infinite loop when
11831                         dhcdbd isn't running (Gnome #346845)
11832
11833 2006-07-09  Dan Williams  <dcbw@redhat.com>
11834
11835         * gnome/applet/applet.c
11836                 - (nma_destroy): don't pass NULL to notify_notification_close
11837                         (RH #197917)
11838
11839 2006-07-09  Dan Williams  <dcbw@redhat.com>
11840
11841         * gnome/applet/applet.c
11842                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11843
11844 2006-07-04  Tor Krill  <tor@krill.nu>
11845
11846         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11847         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11848         (nm_system_restart_mdns_responder), (ArchReadConfig),
11849         (nm_system_device_get_system_config):
11850                 - Explicitly check for DHCP configuration
11851                 - Check if daemons are running before starting them
11852
11853 2006-06-25  Dan Williams  <dcbw@redhat.com>
11854
11855         * libnm-util/dbus-dict-helpers.[ch]
11856           test/libnm-util/test-dbus-dict-helpers.c
11857                 - Add string array support
11858
11859 2006-06-24  Dan Williams  <dcbw@redhat.com>
11860
11861         * src/dhcp-manager/nm-dhcp-manager.c
11862                 - (nm_dhcp_manager_process_signal): clean up spacing
11863
11864 2006-06-21  Dan Williams  <dcbw@redhat.com>
11865
11866         * src/nm-dbus-device.c
11867                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11868                         through dbus
11869
11870 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11871
11872         * configure.in: Added 'lv' to ALL_LINGUAS
11873
11874 2006-06-19  Dan Williams  <dcbw@redhat.com>
11875
11876         * src/NetworkManagerAP.c
11877                 - Clarify usage of user_created
11878
11879         * src/nm-ap-security-wep.c
11880           src/nm-ap-security-wpa-eap.c
11881           src/nm-ap-security-wpa-psk.c
11882           src/nm-ap-security.c
11883           src/nm-ap-security.h
11884                 - s/user_created/adhoc, because we really do mean adhoc
11885
11886         Patch from Bernard Blackham <bernard@blackham.com.au>
11887         * src/nm-device-802-11-wireless.c         
11888                 - (supplicant_send_network_config): instead of user_created,
11889                         use adhoc, and do AP_SCAN 2 for adhoc networks
11890
11891 2006-06-18  Robert Love  <rml@novell.com>
11892
11893         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11894           we have a value to set.  Gconf generates a warning if `val' is NULL.
11895         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11896           unless we actually received a valid private key file passphrase or
11897           password.  Otherwise, we don't know to later ask the applet to pull
11898           the key from the keyring.
11899
11900 2006-06-17  Dan Williams  <dcbw@redhat.com>
11901
11902         * libnm-util/dbus-dict-helpers.[ch]
11903           test/libnm-util/test-dbus-dict-helpers.c
11904                 - Fixes for zero-length byte arrays
11905                 - Replace return values of 0 with FALSE for clarity
11906                 - Test zero-length byte arrays
11907
11908 2006-06-17  Dan Williams  <dcbw@redhat.com>
11909
11910         * libnm-util/dbus-dict-helpers.[ch]
11911           test/libnm-util/test-dbus-dict-helpers.c
11912                 - Add helpers for byte arrays
11913                 - Rework bits of the testcase
11914
11915 2006-06-16  Dan Williams  <dcbw@redhat.com>
11916
11917         * libnm-util/Makefile.am
11918         * libnm-util/dbus-dict-helpers.[ch]
11919                 - Add some helpers to take the pain out of using dict types in
11920                         dbus.
11921
11922         * test/libnm-util/Makefile.am
11923         * test/libnm-util/test-dbus-dict-helpers.c
11924                 - Test cases for the dict helper functions
11925
11926 2006-06-15  Robert Love  <rml@novell.com>
11927
11928         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11929           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11930           if there is no key to pass.
11931         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11932           receiving a non-NULL key.
11933
11934 2006-06-14  Robert Love  <rml@novell.com>
11935
11936         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11937           copy the strings.
11938
11939
11940 2006-06-14  Dan Williams  <dcbw@redhat.com>
11941
11942         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11943         * src/nm-device-802-11-wireless.c
11944                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11945                         or ones where the driver is unknown
11946                 - (supplicant_exec): don't wait for supplicant startup here
11947                 - (supplicant_interface_init): finer grained polling for supplicant
11948                         startup
11949
11950 2006-06-13  Robert Love  <rml@novell.com>
11951
11952         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11953           if it is currently set to TRUE.  Otherwise, we will reset the value
11954           when we connect normally.
11955         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11956           the old BSSID is valid, too.  The recently added ESSID check may not be
11957           sufficient (we can remove it?).  What we really want to catch is the
11958           case of going from all-zeros to the BSSID of some other network, which
11959           happens on failure.
11960
11961 2006-06-09  Dan Williams  <dcbw@redhat.com>
11962
11963         * src/NetworkManagerSystem.[ch]
11964                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11965                         it was unused and pointless
11966                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11967                         fix for set_up_down_with_iface change
11968
11969         * src/vpn-manager/nm-vpn-connection.c
11970                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11971
11972         * src/backends/NetworkManagerPaldo.c
11973           src/backends/NetworkManagerRedHat.c
11974           src/backends/NetworkManagerSuSE.c
11975           src/backends/NetworkManagerArch.c
11976           src/backends/NetworkManagerDebian.c
11977           src/backends/NetworkManagerGentoo.c
11978                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11979                         appropriate
11980                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11981                         where appropriate
11982
11983 2006-06-09  Dan Williams  <dcbw@redhat.com>
11984
11985         Patch from Peter Jones:
11986         * src/nm-device-802-11-wireless.c
11987                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11988                         SSID hasn't changed from what we expect before automatically
11989                         updating the saved BSSID from a new AP
11990
11991 2006-06-08  Robert Love  <rml@novell.com>
11992
11993         Add 'fallback' support.  NetworkManager will attempt to brute-force
11994         connect to networks marked as fallback if there are no better wireless
11995         connections available.  This is useful as a method of last resort, to
11996         work around driver problems, and for use with hidden networks.
11997         * gnome/applet/applet-dbus-devices.c,
11998           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11999         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
12000           pass it on via DBUS.
12001         * gnome/applet/applet.c: No fallback by default.
12002         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
12003           Update other-network-dialog to add UI checkbox toggling fallback.
12004         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12005           propery from AP object.  Add "fallback" property to AP object.
12006         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12007         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12008         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12009           separate function.  Add get_best_fallback_ap() for returning an AP
12010           on which to attempt fallback.
12011         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12012         * test/nm-set-fallback: New file.  Sets a given network as fallback.
12013
12014 2006-06-07  Robert Love  <rml@novell.com>
12015
12016         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12017           checked that the return type was GCONF_VALUE_STRING, not the correct
12018           GCONF_VALUE_BOOL, and thus it never worked.
12019         * src/NetworkManagerAPList.c: Before concluding that two networks are
12020           identical based on their BSSID, make sure that the BSSID in question
12021           is actually valid.  Specifically, an empty or all zero BSSID does not
12022           cut it.
12023         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12024           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12025           similar invariant clean up.
12026
12027 2006-06-02  Robert Love  <rml@novell.com>
12028
12029         * gnome/applet/applet.c: Update copyright years.  Add Novell.
12030
12031 2006-05-28  Dan Williams  <dcbw@redhat.com>
12032
12033         * gnome/applet/applet.glade
12034           gnome/vpn-properties/nm-vpn-properties.glade
12035                 - Set window icons on dialogs  (Gnome.org #333420)
12036
12037 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
12038
12039         * gnome/vpn-properties/nm-vpn-properties.glade:
12040         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12041         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12042         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12043                 - Make the VPN properties pages prettier and more HIG
12044                   compliant. Gnome Bug #336913.
12045
12046 2006-05-28  Dan Williams  <dcbw@redhat.com>
12047
12048         Patch from Christian Persch <chpe@gnome.org>
12049         * gnome/vpn-properties/nm-vpn-properties.c
12050         * gnome/vpn-properties/nm-vpn-properties.glade
12051                 - HIG-ification love  (Gnome.org #336846)
12052
12053 2006-05-28  Dan Williams  <dcbw@redhat.com>
12054
12055         Patch from Christian Persch <chpe@gnome.org>
12056         * configure.in
12057           gnome/vpn-properties/nm-vpn-properties.c
12058                 - (main): Fix option parsing.  Gnome.org #336847
12059
12060 2006-05-28  Dan Williams  <dcbw@redhat.com>
12061
12062         * gnome/vpn-properties/nm-vpn-properties.c
12063                 - (find_vpn_ui_by_service_name): protect against NULL service names
12064                 - (update_edit_del_sensitivity): protect against NULL service names
12065                         Gnome.org #341306
12066
12067 2006-05-28  Dan Williams  <dcbw@redhat.com>
12068
12069         Patch from Chris Fuller <crf@grandecom.net>:
12070         * src/nm-device-802-11-wireless.c
12071                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12072                         don't dispose of wireless-specific stuff unless it is actually
12073                         initialized.  Gnome.org #341263
12074
12075 2006-05-28  Dan Williams  <dcbw@redhat.com>
12076
12077         * src/NetworkManagerPolicy.c
12078                 - (nm_policy_device_change_check): don't switch devices if the "best"
12079                         AP is essentially the same as the current activation request, but
12080                         the current activation request isn't done activating yet.  Fixes
12081                         multiple requests for keyring password on startup for Gnome applet.
12082                         Gnome.org #341297
12083
12084 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
12085
12086         * src/NetworkManager.c: use GOptions instead of getopt
12087         * configure.in: bump glib required version to >= 2.6 for GOption
12088           support
12089
12090 2006-05-25  Robert Love  <rml@novell.com>
12091
12092         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12093           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
12094           instead of dumping ifdef's throughout the code.
12095         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12096           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12097           use nm_ioctl_info() in lieu.
12098
12099 2006-05-25  Robert Love  <rml@novell.com>
12100
12101         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12102         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12103           not using gcrypt.  Otherwise, we get a linker error.
12104
12105 2006-05-25  Robert Love  <rml@novell.com>
12106
12107         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12108         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12109           configure flag to disable building of the GNOME-based applet.
12110
12111 2006-05-25  Robert Love  <rml@novell.com>
12112
12113         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12114           parameter from link, because it shadows a global variable with some
12115           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
12116           should never have exported to the entire system a common four letter
12117           word.  But we here at NetworkManager are team players.  Fixes
12118           GNOME bug #336532.
12119
12120 2006-05-25  Arangel Angov <ufo@linux.net.mk>
12121
12122         * configure.in: Added mk.po, Macedonian translation.
12123
12124 2006-05-24  Robert Love  <rml@novell.com>
12125
12126         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12127           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12128           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12129
12130 2006-05-24  Robert Love  <rml@novell.com>
12131
12132         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12133           libnm-util/Makefile.am, src/Makefile.am,
12134           vpn-daemons/openvpn/auth-dialog/Makefile.am,
12135           vpn-daemons/openvpn/properties/Makefile.am,
12136           vpn-daemons/pptp/auth-dialog/Makefile.am,
12137           vpn-daemons/pptp/properties/Makefile.am,
12138           vpn-daemons/vpnc/auth-dialog/Makefile.am,
12139           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12140           user passed for --datadir, if anything, when setting the GNOME locale
12141           directory.  It should be a function of the specified datadir and not
12142           the prefix.
12143
12144 2006-05-24  Robert Love  <rml@novell.com>
12145
12146         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12147           src/NetworkManager.c: Take care to call bindtextdomain with the
12148           location of msgid files.
12149         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12150           files.
12151
12152 2006-05-22  Robert Love  <rml@novell.com>
12153
12154         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12155           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12156           99% of the time there is a real problem with wireless, and a
12157           seemingly successful connection via Zeroconf just confuses the user.
12158           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12159
12160 2006-05-22  Robert Love  <rml@novell.com>
12161
12162         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12163           autofs on interface up if NIS is configured.  On interface down, do
12164           nothing.
12165
12166 2006-05-22  Robert Love  <rml@novell.com>
12167
12168         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12169           to avoid calling g_object_unref() on stale pointers on error in
12170           nma_icons_free().  This happens because we short-circuit loaded the
12171           icons on the first failure but then free all icons.  Normally we have
12172           no issue because the icons were zero'ed out malloc, but we have stale
12173           pointer data after nma_icon_theme_changed().
12174         * gnome/applet/main.c: Return error code if nma_new() failed.
12175
12176 2060-05-21  Dan Williams  <dcbw@redhat.com>
12177
12178         * initscript/NetworkManager.in
12179                 - Ensure both dhcdbd and named are started before NM
12180
12181 2006-05-21  Dan Williams  <dcbw@redhat.com>
12182
12183         * configure.in
12184                 - Bump version to 0.7 to signify we are in 0.7 development
12185
12186 2006-05-21  Dan Williams  <dcbw@redhat.com>
12187
12188         Patch from Adam Schreiber <sadam@clemson.edu>
12189         * gnome/vpn-properties/nm-vpn-properties.c
12190                 - (main): correct Gnome program name  (gnome.org #342498)
12191
12192 2006-05-21  Dan Williams  <dcbw@redhat.com>
12193
12194         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12195
12196         * src/NetworkManagerDbus.[ch]
12197                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12198                         clarify that function's argument should be an escaped dbus object
12199                         path, and look for path segment end before returning a match
12200         * src/nm-dbus-nm.c:
12201                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12202
12203 2006-05-17  Robert Love  <rml@novell.com>
12204
12205         Functionality to differentiate Ad-Hoc networks from infrastructure
12206         networks in the applet, by displaying a special icon:
12207         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12208         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12209         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12210           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12211           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12212           networks, encrypted or not.
12213         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12214           accessor functions to get and set the mode of a given network,
12215           wireless_network_get_mode() and wireless_network_set_mode().
12216
12217 2006-05-17  Robert Love  <rml@novell.com>
12218
12219         Functionality to automatically add BSSIDs to the allowed-MAC list as
12220         one roams from access point to access point on a given network:
12221         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12222           helper function to compare two ether_addr structures and return TRUE
12223           if they contain the same MAC address.
12224         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12225           prototype.
12226         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12227           stored with the current AP.  If the BSSID has indeed changed, we
12228           send it out to the applet, allowing the allowed-MAC list to grow
12229           automatically in response to roaming.
12230
12231 2006-05-16  Robert Love  <rml@novell.com>
12232
12233         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12234           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12235
12236 2006-05-13  Dan Williams  <dcbw@redhat.com>
12237
12238         * src/nm-device-802-3-ethernet.c
12239                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12240                         carrier detect (Debian bug #366373)
12241
12242 2006-05-11  Dan Williams  <dcbw@redhat.com>
12243
12244         Patch from Michael Biebl <biebl@teco.edu>
12245         * src/backends/NetworkManagerDebian.c
12246                 - Debian backend fixups
12247
12248 2006-05-10  Robert Love  <rml@novell.com>
12249
12250         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12251
12252 2006-05-09  Robert Love  <rml@novell.com>
12253
12254         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12255           private certificate passphrase, if any, in the GNOME Keyring.
12256         * libnm-utils/dbus-helpers.c: Update.
12257
12258 2006-05-05  Dan Williams  <dcbw@redhat.com>
12259
12260         * src/nm-device-802-11-wireless.c
12261                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12262                         nm_device_802_11_wireless_disable_encryption() since that's all
12263                         we use it for anymore; we don't ever set WEP keys ourselves.
12264                 - (real_deactivate_quickly): reset SSID and encryption keys
12265                 - (real_deactivate): move SSID and encryption key reset to
12266                         real_deactivate_quickly(), which gets run before us anyway
12267
12268 2006-05-05  Robert Love  <rml@novell.com>
12269
12270         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12271           root has a wacky default of its own (or, more common, a user has a
12272           bad umask and uses su/sudo to restart NetworkManager).  Anything
12273           other than 0022 does not do what we want with, for example,
12274           resolv.conf.  This problem is amplified by our judicious use of
12275           fopen(), which uses mode 0666 -- implying that the only way to get
12276           the permissions we want is with a umask of 0022.
12277
12278 2006-05-05  Dan Williams  <dcbw@redhat.com>
12279
12280         * gnome/libnm_glib/libnm_glib.c
12281                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12282                         to reconnect; instead wait a bit more with each reconnect attempt
12283                         up to a max of one minute.
12284
12285 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12286
12287         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12288           the WirelessNetwork structure using the proper function instead of
12289           just casting it directly to (const char *) (gnome.org #336991)
12290
12291 2006-05-03  Robert Love  <rml@novell.com>
12292
12293         * src/backends/NetworkManagerSuSE.c: Respect the variable
12294           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12295           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12296           to dynamically update /etc/resolv.conf.
12297
12298 2006-05-02  Peter Jones  <pjones@redhat.com>
12299
12300         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12301
12302 2006-05-02  Robert Love  <rml@novell.com>
12303
12304         Patch by Timo Hoenig;
12305         * tests/nm-online.c: Print pretty status indicator as timeout winds
12306           down.  Also fix possible race between DBUS startup and failure
12307           return.
12308
12309 2006-05-01  Robert Love  <rml@novell.com>
12310
12311         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12312           empty, too.
12313
12314 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12315
12316         * src/nm-device.c (discover_device_type): Actually use the hal
12317         device type instead of ioctl poking
12318
12319 2006-04-26  Robert Love  <rml@novell.com>
12320
12321         * tests/nm-online.c: New file.  Simple utility that returns exit status
12322           noting whether the connection is offline or online.  If offline on
12323           start, it waits 30 seconds (or a command-line given value) for an
12324           online signal.  If it times out, it again returns offline.  This is
12325           useful for scripts that want to wait for network connections.
12326
12327 2006-04-25  Robert Love  <rml@novell.com>
12328
12329         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12330           key mode (the authentication algorithm), e.g. open or shared, when we
12331           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12332           only shared was broken.  If the user specified a shared key, set it
12333           explicitly, otherwise let wpa_supplicant go with the default.
12334
12335 2006-04-24  Dan Williams  <dcbw@redhat.com>
12336
12337         * src/nm-device-802-11-wireless.c
12338                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12339
12340 2006-04-24  Dan Williams  <dcbw@redhat.com>
12341
12342         Commit the async scanning patch
12343
12344         * src/nm-device-802-11-wireless.c
12345                 - get rid of scan_mutex
12346                 - (wireless_event_helper): act on wireless scan events
12347                 - (real_start): schedule a pending scan
12348                 - (link_to_specific_ap): fake the link to the AP during a scan
12349                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12350                         strength during scans
12351                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12352                         nm_device_set_bitrate): unused with new scanning code, disable
12353                 - (nm_device_wireless_schedule_scan): removed
12354                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12355                 - (request_and_convert_scan_results): new function; retrieve scan
12356                         results from the driver and schedule the processing function
12357                 - (scan_results_timeout): timeout triggered when card doesn't send
12358                         a scan results wireless event during a certain interval
12359                 - (schedule_scan_results_timeout): new function; schedule the scan
12360                         results timeout
12361                 - (cancel_scan_results_timeout): new function; cancel the scan
12362                         results timeout
12363                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12364                         to do the scanning.  Otherwise, just request a scan but don't
12365                         grab results here; instead schedule a timeout for scan results and
12366                         let netlink notify us of scan completion events
12367                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12368                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12369                 - (supplicant_status_cb): ignore disconnect events while scanning
12370                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12371                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12372                         timeouts
12373                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12374
12375 2006-04-24  Dan Williams  <dcbw@redhat.com>
12376
12377         * gnome/applet/applet-dbus.c
12378                 - Disable the pending call debug stuff, seems under control now
12379
12380 2006-04-20  Robert Love  <rml@novell.com>
12381
12382         Fix bug where hidden ESSID's would not show up in the applet, even
12383         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12384         because nm_policy_device_list_update_from_allowed_list() would merge
12385         the data, putting a name to the hidden networks, but never notify NMI
12386         of the changes.  Simple fix is to invoke the function
12387         nm_dbus_signal_wireless_network_change() if we make a mapping.
12388         * src/NetworkManagerAPList.c: Call the function
12389           nm_dbus_signal_wireless_network_change() if we made a successful
12390           BSSID to ESSID mapping, notifying the applet of the "new" network.
12391         * src/NetworkManagerAPList.h: Update the prototypes for both
12392           nm_ap_list_copy_essids_by_address() and
12393           nm_ap_list_copy_one_essid_by_address().
12394
12395 2006-04-20  Robert Love  <rml@novell.com>
12396
12397         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12398           not set.  Just return zero.
12399
12400 2006-04-20  Robert Love  <rml@novell.com>
12401
12402         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12403           only one copy of nm-vpn-properties is running at a time via the 'ol
12404           X selection trick.  This prevents the user from opening two "VPN
12405           Connections" windows from within the applet, which leads to mass
12406           hysteria.
12407         * clipboard.c: New file, implementing simple X selection logic.
12408         * clipboard.h: New file.
12409         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12410
12411 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12412
12413         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12414         * configure.in
12415           initscript/Gentoo/Makefile.am
12416           initscript/Gentoo/NetworkManagerDispatcher.in
12417                 - New script
12418         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12419           Gentopia
12420
12421 2006-04-16  Dan Williams  <dcbw@redhat.com>
12422
12423         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12424         * configure.in
12425           initscript/Slackware/Makefile.am
12426           initscript/Slackware/rc.networkmanager-dispatcher.in
12427           initscript/Slackware/rc.networkmanager.in
12428                 - Update slackware initscripts
12429
12430 2006-04-10  Robert Love  <rml@novell.com>
12431
12432         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12433           the "delete_event" signal on the druid's parent window and handle it
12434           our way, lest using the WM to close the druid results in a series of
12435           bloody and ultimately lethal errors.
12436
12437 2006-04-10  Robert Love  <rml@novell.com>
12438
12439         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12440           'Back' too or else the 'Forward' option is initially disabled despite
12441           valid input.
12442
12443 2006-04-06  Robert Love  <rml@novell.com>
12444
12445         Fix bad but simple bug where an active modem connection did not update
12446         NM's connection state, breaking any app that did online/offline:
12447         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12448           represented whether a dial up connection is active, or not.
12449         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12450           to modem activation and deactivation.
12451         * src/NetworkManagerDbus.c: When asked our state, do not return
12452           disconnected if the modem is active.
12453
12454 2006-04-04  Robert Love  <rml@novell.com>
12455
12456         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12457           applet.  It just confuses the crap out of people and does not make a
12458           lot of sense, as the daemon still runs.
12459
12460 2006-04-02  Tor Krill  <tor@krill.nu>
12461
12462         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12463           in start of service.
12464         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12465           get Archlinux backend up to date.
12466
12467 2006-03-29  Robert Love  <rml@novell.com>
12468
12469         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12470         to add support for per-route MSS and improve support for per-interface
12471         MTU:
12472         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12473           optionally take an MSS parameter and set it for the given route.
12474           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12475           NMIP4Config's stored MSS, if any.
12476         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12477           the interface's MTU and the route's MSS, respectively.  Add functions
12478           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12479           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12480           MSS.
12481         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12482           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12483           nm_ip4_config_set_mss.
12484         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12485           VPN daemon.
12486         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12487           Change the retval of nm_system_get_mtu to guint32.
12488         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12489           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12490           servers can specify MTU's, we should set it here if the MTU was not
12491           provided.
12492
12493 2006-03-27  Jürg Billeter  <j@bitron.ch>
12494
12495         * configure.in:
12496         * initscript/Makefile.am:
12497         * initscript/paldo/Makefile.am:
12498         * initscript/paldo/NetworkManager.in:
12499         * initscript/paldo/NetworkManagerDispatcher.in:
12500         * src/backends/Makefile.am:
12501         * src/backends/NetworkManagerPaldo.c:
12502                 - Add paldo support
12503
12504 2006-03-27  Dan Williams  <dcbw@redhat.com>
12505
12506         Patch from Christian Persch <chpe@gnome.org>
12507         * gnome/applet/applet.glade
12508                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12509
12510 2006-03-27  Dan Williams  <dcbw@redhat.com>
12511
12512         Patch from Diffe <diffie@blazebox.homeip.net>
12513         * src/backends/NetworkManagerSlackware.c
12514                 - Don't restart howl, since it's been replaced by Avahi
12515                         in most distributions
12516
12517 2006-03-27  Dan Williams  <dcbw@redhat.com>
12518
12519         Patch from Tor Krill <bugzilla@krill.nu>
12520         * configure.in
12521           initscript/Makefile.am
12522           src/backends/Makefile.am
12523           src/backends/NetworkManagerArch.c
12524           initscript/Arch/Makefile.am
12525           initscript/Arch/networkmanager-dispatcher.in
12526           initscript/Arch/networkmanager.in
12527                 - Add Arch Linux support, fixes gnome.org #335147
12528
12529 2006-03-27  Dan Williams  <dcbw@redhat.com>
12530
12531         Patch from Diffe <diffie@blazebox.homeip.net>
12532      * initscript/Slackware/rc.networkmanager
12533         - update, fixed gnome.org #333368
12534
12535 2006-03-27  Robert Love  <rml@novell.com>
12536
12537         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12538           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12539
12540 2006-03-27  Robert Love  <rml@novell.com>
12541
12542         Patch by Jürg Billeter <j@bitron.ch>:
12543         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12544           systems.
12545         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12546           as we prefer glibc over kernel headers, if possible.
12547
12548 2006-03-27  Robert Love  <rml@novell.com>
12549
12550         Patch by Jon Escombe <list@dresco.co.uk>:
12551         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12552         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12553           fail, don't bail out.  We don't expect all of the various WPA-EAP
12554           values to be present.
12555         * src/nm-ap-security.c: We need to match all capabilities for each
12556           encryption type, not any one of them.
12557
12558 2006-03-27  Robert Love  <rml@novell.com>
12559
12560         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12561           restart, not reload, ypbind.  Unfortunately there is no superior
12562           solution.
12563
12564 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12565
12566         * gnome/applet/applet-notifications.c:
12567         When displaying a notification, make sure to get rid of the
12568         previous notification so as to not have competing bubbles,
12569         and stop leaking the old one.
12570
12571         * gnome/applet/applet.c:
12572         * gnome/applet/applet.h:
12573         Add a new 'notification' member to the applet, and zero it out
12574         and free it appropriately.
12575
12576 2006-03-23  Robert Love  <rml@novell.com>
12577
12578         Patch by j <j@bootlab.org>:
12579         * gnome/applet/applet.glade: Don't set the invisible_char property,
12580           which simply overrides the GTK default.  By and by, this behavior
12581           ought to be fixed in Glade.
12582
12583 2006-03-22  Robert Love  <rml@novell.com>
12584
12585         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12586
12587 2006-03-22  Robert Love  <rml@novell.com>
12588
12589         Bug fix by Timo Hoenig <thoenig@suse.de>:
12590         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12591           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12592           and the applet going AWOL.
12593
12594 2006-03-22  Robert Love  <rml@novell.com>
12595
12596         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12597           preprocessor define and use it instead of open-coded the DHCP
12598           timeout, which is currently 25 seconds, everywhere.
12599
12600 2006-03-22  Robert Love  <rml@novell.com>
12601
12602         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12603         key exchange via WPA, ostensibly providing good security without
12604         requiring hardware that supports full WPA.  Also, add UI elements to
12605         allow the user to select the pairwise & group cipher for WPA Enterprise
12606         networks, too:
12607         * gnome/applet/applet.glade: Update glade file.
12608         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12609           key type, too, to and from gconf.
12610         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12611           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12612           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12613           the capabilities match.
12614         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12615           prototype.
12616         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12617           serialize from UI to DBUS.
12618         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12619           one element.
12620         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12621           nmu_security_serialize_wpa_eap_with_cipher(), and
12622           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12623           serialize/deserialize the key type via DBUS as the new third DBUS
12624           parameter.
12625         * libnm-util/dbus-helpers.h: Update prototypes.
12626         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12627           too.  If the key type is WEP104, do Dynamic WEP, which means
12628           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12629           pairwise and group ciphers (fixes a FIXME).
12630
12631 2006-03-21  Robert Love  <rml@novell.com>
12632
12633         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12634           nm_system_get_mtu(), which returns a user-provided or system-mandated
12635           MTU value for a given device, if any, or zero if no such value
12636           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12637           if we have a provided value.
12638         * src/nm-device.c: Set the MTU of devices.
12639         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12640         * src/backends/NetworkManagerDebian.c,
12641           src/backends/NetworkManagerGentoo.c,
12642           src/backends/NetworkManagerRedHat.c,
12643           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12644
12645 2006-03-21  Robert Love  <rml@novell.com>
12646
12647         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12648           configuration file.
12649
12650 2006-03-17  Robert Love  <rml@novell.com>
12651
12652         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12653           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12654           it, in case it is not running in the first place.  We just want its
12655           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12656
12657 2006-03-15  Robert Love  <rml@novell.com>
12658
12659         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12660           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12661           label "WEP 40/128-bit" is inconsistent because the physical key size
12662           is 40 or 104-bits, to which a 24-bit initialisation vector is
12663           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12664           to read "40/104" or "64/128".  I do not care much which, but most
12665           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12666           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12667           WEP passphrase support only handles 128-bit keys, and any future
12668           64-bit passphrase support will require a new option (no way to auto-
12669           detect the target key size), explicitly label our passphrase support
12670           "WEP 128-bit Passphrase".
12671
12672 2006-03-15  Robert Love  <rml@novell.com>
12673
12674         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12675           the system init scripts (or some other mechanism) starting it (or a
12676           compatible DBUS service) before NetworkManager runs.  This means that
12677           distributions might need to update their init scripts.  This fixes
12678           possible races and is quite a bit cleaner.
12679         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12680           starting the NetworkManager daemon.
12681
12682
12683 2006-03-14  Robert Love  <rml@novell.com>
12684
12685         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12686           before adding anything.
12687
12688 2006-03-13  Robert Love  <rml@novell.com>
12689
12690         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12691           widgets, too, if they exist, in case the user hit the back button.
12692           Fixes a bug where the details page contains the widgets of multiple
12693           VPN modules (Novell bug #157048).
12694
12695 2006-03-13  Robert Love  <rml@novell.com>
12696
12697         Patch by Timo Hoenig <thoenig@suse.de>:
12698         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12699           daemon survive DBUS restarts, too.
12700
12701 2006-03-10  Robert Love  <rml@novell.com>
12702
12703         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12704           passphrase or key.
12705         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12706           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12707           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12708           in response to "toggled" signal on new toggle.
12709
12710 2006-03-10  Robert Love  <rml@novell.com>
12711
12712         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12713           serialization if strings are NULL, lest DBUS get angry.
12714
12715 2006-03-10  Robert Love  <rml@novell.com>
12716
12717         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12718
12719 2006-03-09  Robert Love  <rml@novell.com>
12720
12721         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12722           configurations.
12723
12724 2006-03-09  Dan Williams  <dcbw@redhat.com>
12725
12726         Track pending call requests in the applet, and report how many are
12727         outstanding, and how long each completed one takes.
12728         
12729         * gnome/applet/applet-dbus-devices.c
12730           gnome/applet/applet-dbus-vpn.c
12731                 - Track pending calls
12732
12733         * gnome/applet/applet-dbus.[ch]
12734                 - Remove some unused enums
12735                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12736                         new functions to track dbus pending calls and spit out some
12737                         statistics about them
12738
12739 2006-03-09  Robert Love  <rml@novell.com>
12740
12741         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12742           nm_ap_set_timestamp() take the second and micro-second parameters as
12743           direct arguments, which avoids both a dynamic memory allocation and a
12744           structure-to-structure copy!  Add a new interface, the aptly named
12745           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12746           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12747           the return from nm_ap_get_timestamp().  New users should use the new
12748           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12749           the extreme benefit to performance.
12750         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12751           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12752
12753 2006-03-08  Robert Love  <rml@novell.com>
12754
12755         * gnome/applet/applet.glade: Hide the password entry text with
12756           asterisks.
12757
12758 2006-03-08  Robert Love  <rml@novell.com>
12759
12760         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12761           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12762           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12763           a second argument, NMData.
12764         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12765         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12766           config files as trusted.
12767
12768 2006-03-06  Robert Love  <rml@novell.com>
12769
12770         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12771         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12772           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12773           Rivera, detect if the applet was auto-started.  If so, ask the user
12774           if he or she would like to stop automatically running the applet on
12775           login.  If so, disable autostart.
12776
12777 2006-03-06  Robert Love  <rml@novell.com>
12778
12779         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12780           directory in CFLAGS so developers can actually use NetworkManager.h.
12781
12782 2006-03-06  Robert Love  <rml@novell.com>
12783
12784         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12785           open-coded integer constants.  Add state_to_string() to map a given
12786           state to a textual description, and provide that when notifying of
12787           state change.
12788         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12789           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12790           this header directly, but it is currently not installed on most
12791           systems.
12792
12793 2006-03-05  Dan Williams  <dcbw@redhat.com>
12794
12795         Process netlink messages in device subclasses rather than in
12796         NetworkManager.c.  Also add support for recognizing Wireless Events.
12797         
12798         * configure.in
12799                 - Find GLIB_GENMARSHAL
12800
12801         * src/Makefile.am
12802                 - Since we're marshalling custom types for wireless event signals,
12803                         we get to create our own marshallers using GLIB_GENMARSHAL
12804
12805         * src/NetworkManager.c
12806                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12807                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12808                         cut down somewhat.  We no longer process signals here.
12809                 - (nm_data_new): create the netlink monitor here, and remove a
12810                         useless call to nm_policy_schedule_device_change_check()
12811                 - (nm_data_free): get rid of the netlink monitor here
12812                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12813                 - (main): don't create the netlink monitor here, let nm_data_new
12814                         do that.  Call nm_policy_schedule_device_change_check() right
12815                         before we jump to the mainloop to figure out which device
12816                         to use first
12817
12818         * src/NetworkManagerSystem.[ch]
12819                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12820                         convert back and forth from interface names to interface
12821                         indexes
12822
12823         * src/nm-device-802-11-wireless.c
12824                 - (real_init): connect to wireless-event signals from the netlink
12825                         monitor object
12826                 - (nm_device_802_11_wireless_event): new function, schedule handler
12827                         for wireless event signals from the netlink monitor object.  We
12828                         want the handler to run in the device's context
12829                 - (wireless_event_helper): handle wireless-event signals from netlink
12830                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12831                         signal handler
12832
12833         * src/nm-device-802-11-wireless.h
12834                 - remove unused prototype for nm_device_802_11_wireless_new
12835
12836         * src/nm-device-802-3-ethernet.c
12837                 - (real_init): new function; set up signal handlers for link events
12838                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12839                         handler for netlink link activated events on device's main loop
12840                 - (link_activated_helper): when we get a link activated event, set
12841                         the device's link to be active
12842                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12843                         handler for netlink link deactivated events on device's main loop
12844                 - (link_deactivated_helper): when we get a link deactivated event, set
12845                         the device's link to be inactive
12846                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12847                         dispose
12848
12849         * src/nm-device-802-3-ethernet.h
12850                 - remove unused prototype for nm_device_802_3_ethernet_new
12851
12852         * src/nm-device.[ch]
12853                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12854                         but locks the device list
12855                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12856
12857         * src/nm-netlink-monitor.[ch]
12858                 - (nm_netlink_monitor_class_install_signals): New signal
12859                         "wireless-event"
12860                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12861                         at the device list
12862                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12863
12864         * src/nm-marshal-main.c
12865                 - Include generated nm-marshal.c and nm-marshal.h
12866
12867         * src/nm-marshal.list
12868                 - List of custom marshal functions
12869
12870 2006-03-05  Dan Williams  <dcbw@redhat.com>
12871
12872         * gnome/applet/applet-notifications.h
12873                 - Protect prototype of nma_send_event_notification() because it
12874                         includes libnotify-specific types
12875                 - Include libnotify/libnotify.h too, since we technically need it
12876
12877         * gnome/applet/applet.c
12878                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12879                 - (nma_show_vpn_login_banner_dialog): add some error checking
12880
12881 2006-03-04  Dan Williams  <dcbw@redhat.com>
12882
12883         Clean up activation cancellation.  Should be a lot faster now.  Observed
12884         an issue with wireless devices between stage 2 and 3 of activation, where
12885         activation would be cancelled, but the device thread wouldn't notice until
12886         the supplicant association timed out.  Reorganize activation such that
12887         a cancellation handler gets immediately scheduled in the device's thread,
12888         and devices have a chance to perform any custom cleanup too.
12889
12890         * src/nm-device.[ch]
12891                 - (activation_cancel_handler): new device-type-specific function
12892                         for cleaning up device-type-specific stuff on cancellation
12893                 - (cancel_activation): removed
12894                 - (nm_device_activation_cancel): subsume functionality of
12895                         real_cancel_activation, but instead of doing anything, punt
12896                         operation to a handler that's run in device-thread context
12897                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12898                         a warning message
12899                 - (activation_handle_cancel_helper): cancellation handler run in
12900                         device-thread context, calls device-type-specific cancelation,
12901                         then tears down the activation request
12902                 - (real_activation_cancel_handler): generic cancellation handler,
12903                         deals with cancelling any in-process DHCP request
12904                 - (nm_device_activate_stage1_device_prepare,
12905                    nm_device_activate_stage2_device_config,
12906                    nm_device_activate_stage3_ip_config_start,
12907                    nm_device_activate_stage4_ip_config_get,
12908                    nm_device_activate_stage4_ip_config_timeout,
12909                    nm_device_activate_stage5_ip_commit): don't call
12910                         nm_device_schedule_activation_handle_cancel() any more, since
12911                         cancellation will have been already scheduled for us by
12912                         nm_device_activation_cancel().  Just exit the function and
12913                         assume that the cancel handler will be called next.
12914
12915         * src/nm-device-802-3-ethernet.c
12916                 - (real_act_stage2_config): remove; didn't do anything anyway
12917
12918         * src/nm-device-802-11-wireless.c
12919                 - (supplicant_status_cb): ensure we don't do anything if the activation
12920                         got cancelled
12921                 - (real_activation_cancel_handler): implement; cancel user key request
12922                         on activation cancellation
12923
12924 2006-03-04  Dan Williams  <dcbw@redhat.com>
12925
12926         * src/nm-device-802-11-wireless.c
12927                 - (supplicant_send_network_config): assume that drivers that don't
12928                         support WPA pretty much suck, and can't handle NM scanning
12929                         along with wpa_supplicant.
12930
12931 2006-03-03  Robert Love  <rml@novell.com>
12932
12933         * configure.in: Bump version to 0.6.0.
12934         * NEWS: Update.
12935
12936 2006-03-03  Robert Love  <rml@novell.com>
12937
12938         * configure.in: Require DBUS 0.60 or later.
12939
12940 2006-03-03  Dan Williams  <dcbw@redhat.com>
12941
12942         Fix a crash if an "Other wireless network" was chosen, failed, then
12943         chosen again from the applet's menu.  If the other network wasn't
12944         noticed in a scan, it wouldn't have any capabilities, but would still
12945         be listed because the user forced the network.  To fix this, we set
12946         sensible capabilities on the forced network, which will get overwritten
12947         with the correct ones if the network shows up later in a scan.
12948         
12949         * src/nm-ap-security.h
12950                 - Add a new "get_default_capabilities_func" member to the
12951                         NMAPSecurity class
12952
12953         * src/nm-ap-security.c
12954                 - (nm_ap_security_get_default_capabilities): new function
12955
12956         * src/nm-ap-security.c
12957           src/nm-ap-security-wep.c
12958           src/nm-ap-security-wpa-psk.c
12959           src/nm-ap-security-wpa-eap.c
12960                 - Implement get_default_capabilities_func() for all, which
12961                         uses the information contained in a specific NMAPSecurity
12962                         object to determine default AP capabilites necessary
12963                         to support that object
12964
12965         As a secondary measure, we now prune artificial access points that fail
12966         to be activated right away.  The thing failed, and we have no scan data for
12967         it, so it's pretty much useless since security information is only saved
12968         in the applets when a connection is successful.
12969
12970         * src/NetworkManagerAPList.c
12971                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12972                         not artificial.  If we see it, it's no longer a figment of the
12973                         user's imagination :)
12974
12975         * src/NetworkManagerPolicy.c
12976                 - (nm_policy_activation_failed): send along the failed AP if we
12977                         have it
12978
12979         * src/nm-device-802-11-wireless.c
12980                 - (real_activation_failure_handler): remove artificial APs from
12981                         the device list, because activation failed
12982
12983 2006-03-02  Robert Love  <rml@novell.com>
12984
12985         Add support for retrieving both the per-device speed and the
12986         per-network maximum supported rate.  Then change the getProperties
12987         DBUS API for both networks and devices to report this informaiton.
12988         Finally, display the information via both nm-applet and nm-tool:
12989         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12990           and set it.
12991         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12992           Information' dialog.
12993         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12994         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12995           network_device_get_speed() and network_device_set_speed() for
12996           retrieving and setting, respectively, a network device's current
12997           speed.
12998         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12999         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
13000           in the function nm_device_802_11_wireless_get_bitrate() -- it does
13001           not matter (yet) what the units are, because we only feed it its own
13002           output.  Implement SIOCGIRATE and set the per-network maximum
13003           supported rate during scanning.
13004         * src/nm-device-802-11-wireless.h: Export the function
13005           nm_device_802_11_wireless_get_bitrate().
13006         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13007           function nm_device_802_3_ethernet_get_speed() for returning an
13008           802.3's current speed, in Mb/s.
13009         * test/nm-tool.c: Display the per-device current speed, if available,
13010           and the per-network maximum rate.
13011
13012 2006-03-02  Dan Williams  <dcbw@redhat.com>
13013
13014         * src/nm-device-802-11-wireless.c
13015                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13016                         card when it gets initialized.  Since devices don't get added to
13017                         the scan list until they are initialized, this function wasn't
13018                         setting the intitial scan interval correctly, and was leaving
13019                         it at 0.  This caused cards to get many scan requests in a short
13020                         amount of time when they were initialized
13021
13022 2006-03-02  Robert Love  <rml@novell.com>
13023
13024         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13025           active device.  But do not do what we used to do and override the
13026           state, which caused the dreaded icon race of '05.
13027
13028 2006-03-02  Robert Love  <rml@novell.com>
13029
13030         Commit Dan's update of my previous commit:
13031         * src/nm-device-802-11-wireless.c: Always set the mode, because the
13032           set_mode() function itself does the check.  But do only set the
13033           frequency if in Ad-Hoc mode.
13034
13035 2006-03-02  Robert Love  <rml@novell.com>
13036
13037         Patch by Brian Magnuson <magnuson@rcn.com>:
13038         * src/nm-device-802-11-wireless.c: During scanning, only set the
13039           wireless mode to infrastructure if it is not currently in
13040           infrastructure mode.  For some driver, setting the mode is a costly
13041           operation, apparently.
13042
13043 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
13044
13045         * Makefile.am: use the correct dir for autostart mechanism.
13046
13047 2006-02-28  Dan Williams  <dcbw@redhat.com>
13048
13049         Patch from Brian Magnuson <magnuson@rcn.com>
13050         * gnome/applet/applet.c
13051                 - (nma_show_vpn_failure_dialog): fix errors left over from
13052                         libnotify support changes
13053
13054 2006-02-28  Dan Williams  <dcbw@redhat.com>
13055
13056         * src/vpn-manager/nm-vpn-act-request.[ch]
13057                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13058                         just one value
13059                 - (nm_vpn_act_request_is_failed): new function; return whether or
13060                         not the vpn activation request has failed
13061
13062         * src/vpn-manager/nm-vpn-manager.c 
13063                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13064                         daemon to kill the connection when the activation request fails.
13065                         Fixes issue where NM would get confused if the VPN activation
13066                         request timed out, and would not allow further VPN connections
13067                         on that service.
13068
13069 2006-02-28  Dan Williams  <dcbw@redhat.com>
13070
13071         * gnome/applet/applet.c
13072                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13073                         overlapping connection requests, disable all VPN menu items
13074                         but the active VPN connection
13075
13076 2006-02-28  Dan Williams  <dcbw@redhat.com>
13077
13078         * src/vpn-manager/nm-vpn-connection.c
13079                 - (nm_vpn_connection_set_parent_device): fix C&P error which
13080                         called g_object_unref() on the connection's parent device
13081                         when it should have been ref-ed instead.  Fixes crash with
13082                         repeated vpn connect requests
13083
13084 2006-02-28  Christopher Aillon  <caillon@redhat.com>
13085
13086         * gnome/applet/applet.glade:
13087         Mark a few strings non-translatable, since they shouldn't be.
13088
13089 2006-02-28  Dan Williams  <dcbw@redhat.com>
13090
13091         * src/vpn-manager/nm-vpn-service.c
13092                 - (nm_vpn_service_start_connection): if the vpn service daemon is
13093                         already running, don't blindly ask it to connect, but wait until
13094                         it's in the STOPPED state first.  Fixes an assertion when user
13095                         starts a second vpn connection without stopping the first.
13096                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13097                         dbus service exists before continuing with the connection
13098                         process, and reduce latency while waiting for it to become
13099                         available
13100                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13101                         waiting for the vpn service daemon to become available
13102                 - General log message cleanups; show progress via "Stage x of 4"
13103                         rather than not telling anyone how many stages there are
13104
13105 2006-02-28  Robert Love  <rml@novell.com>
13106
13107         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13108         * src/backends/NetworkManagerSuSE.c: Implement the interface
13109           nm_system_should_modify_resolv_conf() for SUSE.
13110         * src/backends/NetworkManagerDebian.c,
13111           src/backends/NetworkManagerGentoo.c,
13112           src/backends/NetworkManagerRedHat.c,
13113           src/backends/NetworkManagerSlackware.c: Add stub.
13114         * src/named-manager/Makefile.am: Grab includes from src.
13115         * src/named-manager/nm-named-manager.c: Allow backends to disable the
13116           automatic updating of resolv.conf.  This is useful for testing,
13117           broken static configurations, and administrator lock-down.
13118
13119 2006-02-28  Dan Williams  <dcbw@redhat.com>
13120
13121         * src/nm-device-802-11-wireless.c
13122                 - Move all the wpa_supplicant-related management stuff into its
13123                         own struct, just for oranization's sake
13124                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13125                         to a GIOChannel/GSource
13126                 - (supplicant_log_stdout): new function; grab output from the
13127                         wpa_supplicant stdout pipe and write it to our logs.
13128
13129 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13130
13131         * src/nm-device-802-11-wireless.c:
13132         Err, fix thinko in my previous commit.
13133
13134 2006-02-28  Robert Love  <rml@novell.com>
13135
13136         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13137
13138 2006-02-28  Robert Love  <rml@novell.com>
13139
13140         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13141           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13142           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13143           deserializers are responsible for freeing the returned DBUS strings.
13144
13145 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13146
13147         * src/nm-device-802-11-wireless.c:
13148         The scan list is being pruned prematurely.  We should prune after
13149         the device has gone MIA for three scans, not one.  Split out the
13150         interval to realtime seconds function to better serve this.
13151
13152 2006-02-27  Robert Love  <rml@novell.com>
13153
13154         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13155           Open the pid file O_TRUNC, so if it already exists we truncate it to
13156           zero length.  Also, be more verbose about warnings generated during
13157           writing out the pid file.  Finally, always write out the pid file if
13158           in daemon mode.  Use "--pid-file" to override the default.
13159
13160 2006-02-27  Robert Love  <rml@novell.com>
13161
13162         Patch by R. Vinay <rvinay@novell.com>:
13163         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13164           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13165           Novell bug #153628).
13166           
13167 2006-02-27  Robert Love  <rml@novell.com>
13168
13169         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13170           entry so user can hit <ENTER> after entering passphrase (Novell bug
13171           #153738).
13172
13173 2006-02-27  Dan Williams  <dcbw@redhat.com>
13174
13175         * gnome/applet/*
13176                 - Mass search/replace of:
13177                         nmwa -> nma
13178                         NMWirelessApplet -> NMApplet
13179                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13180                    (it ain't just for wireless anymore, ma!)
13181                 - Fix duplicate function name printing when using nm_warning
13182                 - wireless-applet.glade -> applet.glade
13183
13184 2006-02-27  Dan Williams  <dcbw@redhat.com>
13185
13186         * dispatcher-daemon/NetworkManagerDispatcher.c
13187                 - Accept --pid-file with a path to a pidfile, write it out on
13188                         startup, and delete it on shutdown
13189
13190         * src/NetworkManager.c
13191                 - Accept --pid-file with a path to a pidfile, write it out on
13192                         startup, and delete it on shutdown
13193                 - Move nm_print_usage() lower
13194
13195         * initscripts/RedHat/NetworkManager.in
13196                 - Use new --pid-file option
13197                 - Fix service stopping to wait a bit for NM to quit
13198
13199         * initscripts/RedHat/NetworkManagerDispatcher.in
13200                 - Use new --pid-file option
13201
13202 2006-02-26  Dan Williams  <dcbw@redhat.com>
13203
13204         * src/Makefile.am
13205                 - make and install nm-crash-logger
13206
13207         * src/nm-logging.[ch]
13208                 - New files; consolidate logging and crash handling
13209
13210         * src/nm-crash-logger.c
13211           src/gdb-cmd
13212                 - Standalong crashlogger for NM, grab a backtrace
13213                         using GDB
13214
13215         * src/NetworkManager.[ch]
13216                 - Remove signal handling and put it into nm-logging.c
13217
13218 2006-02-26  Dan Williams  <dcbw@redhat.com>
13219
13220         * configure.in
13221           gnome/applet/Makefile.am
13222                 - Conditionalize all the notify stuff
13223
13224         Merge most of Chris Aillon's notification patch:
13225         
13226         * gnome/applet/applet-notifications.[ch]
13227                 - New files; show a notification
13228         
13229         * gnome/applet/applet-dbus-devices.[ch]
13230                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13231                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13232                         new functions, do the right thing when a device change occurs
13233
13234         * gnome/applet/applet-dbus.c
13235                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13236                         signals, so we can handle them specially
13237
13238         * gnome/applet/applet.[ch]
13239                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13240                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13241                 - (nmwa_notify_state): remove
13242                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13243                         notification work is now done when the appropriate dbus signals
13244                         are received.
13245                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13246                         defer execution of the notification/dialog stuff.  That was an
13247                         artifact of the previous multi-threaded nature of the applet
13248                         and is now pointless.
13249                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13250                         no longer needed.  Function folded into applet-notifications.c
13251
13252         * src/NetworkManagerPolicy.c
13253                 - (nm_policy_activation_finish): send the AP along with the device
13254                         status change signal, if the connection is wireless.  Should
13255                         fix the race where applet would show a connection to "unknown"
13256
13257 2006-02-25  Robert Love  <rml@novell.com>
13258
13259         Add WPA Enterprise support:
13260         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13261           nm-gconf-wso-wpa-eap.h.
13262         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13263           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13264           serialization and deserialization.
13265         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13266           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13267           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13268         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13269           settings related to WPA Enterprise.
13270         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13271           instantiate WPA Enterprise wireless-security-option.
13272         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13273           Implement WPA Enterprise wireless-security-option object.
13274         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13275           defines.  Cleanup.
13276         * libnm-util/cipher-wpa-psk-hex.c,
13277           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13278         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13279           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13280           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13281           including the cipher to DBUS method, and
13282           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13283           to output.
13284         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13285           nm-ap-security-wpa-eap.h
13286         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13287           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13288         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13289           files.  Implement NMAPSecurityWPA_EAP object.
13290         * src/nm-ap-security-wpa-psk.c: Cleanup.
13291         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13292           an NMAPSecurityWPA_EAP object via the method
13293           nm_ap_security_wpa_eap_new_deserialize().
13294         * src/nm-dbus-nm.c: Cleanup.
13295         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13296           WPA Enterprise support.
13297
13298 2006-02-24  Robert Love  <rml@novell.com>
13299
13300         Patch from Timo Hoenig <thoenig@suse.de>:
13301         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13302
13303 2006-02-24  Robert Love  <rml@novell.com>
13304
13305         Patch from Dan Winship <danw@novell.com>:
13306         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13307           area to transparent.
13308
13309 2006-02-21  Dan Williams  <dcbw@redhat.com>
13310
13311         * gnome/applet/applet.[ch]
13312           gnome/applet/applet-dbus.c
13313                 - Implement notification support for VPN messages too
13314
13315 2006-02-21  Dan Williams  <dcbw@redhat.com>
13316
13317         * gnome/applet/applet-dbus-info.c
13318                 - Clean up warning messages to not double-print the function
13319
13320 2006-02-21  Dan Williams  <dcbw@redhat.com>
13321
13322         * gnome/applet/applet-compat.c
13323                 - (convert_one_entry): accept entries without a key_type and
13324                         convert them to unencrypted networks
13325
13326 2006-02-21  Dan Williams  <dcbw@redhat.com>
13327
13328         * gnome/libnm_glib/libnm_glib.c
13329                 - Use __func__ everywhere we can
13330                 - Code cleanups
13331                 - Use dbus pending calls rather than blocking
13332                 - Reduce busywaits for our thread to start and stop
13333                         (gnome.org #330562)
13334                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13335                         stomp on others using the default shared dbus connection.
13336                         Fixes #rh177546# and gnome.org #326572
13337
13338 2006-02-21  Dan Williams  <dcbw@redhat.com>
13339
13340         Patch from Rodney Dawes <dobey@novell.com>
13341         * configure.in
13342           gnome/applet/Makefile.am
13343           gnome/applet/applet.c
13344                 - Add libnotify support if '--enable-notify=yes' is passed
13345                   at configure time
13346
13347 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13348
13349         * configure.in (ALL_LINGUAS): ko added. (Korean)
13350
13351 2006-02-15  Robert Love  <rml@novell.com>
13352
13353         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13354           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13355           and WPA_SUPPLICANT_CONTROL_SOCKET.
13356         
13357 2006-02-15  Robert Love  <rml@novell.com>
13358
13359         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13360           information about what connection stage we are at, provide the total
13361           number of stages, e.g. "Stage 2 of 5", so users know how far along
13362           they are if they experience problems.
13363
13364 2006-02-15  Robert Love  <rml@novell.com>
13365
13366         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13367           define to $sysconfdir.
13368         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13369           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13370           type of VPN and then editing another results in a mangled dialog
13371           box containing the widgets from both VPNs (fixes Novell #150854).
13372           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13373
13374 2006-02-14  Robert Love  <rml@novell.com>
13375
13376         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13377           syslog's file descriptor.
13378
13379 2006-02-14  Robert Love  <rml@novell.com>
13380
13381         Fix bug around since the change to "deal with APs changing settings on
13382         us," checked in on the fifth of February in the year of the dog, 
13383         wherein connecting to non-broadcast encrypted networks always fails
13384         because nm_ap_get_encrypted() always returns FALSE, even when the user
13385         provided a key, because the newly-created fake AP does not have any
13386         capabilities set, which is a sypmtom of security settings not matching
13387         capabilities (Novell bug #150784):
13388         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13389           nm_ap_add_capabilities_from_security(), which sets the given AP's
13390           capabilities off the given security settings.  Also improve our
13391           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13392           NM_AUTH_CIPHER_AUTO.
13393         * src/nm-device-802-11-wireless.c: Call the function
13394           nm_ap_add_capabilities_from_security() to ensure that capabilities
13395           match newly updated security settings.
13396
13397 2006-02-14  Robert Love  <rml@novell.com>
13398
13399         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13400           error as a string, not an integer, if possible; do not print the
13401           function name twice; always give the interface, if possible; misc.
13402           cleanup.
13403
13404 2006-02-12  Dan Williams  <dcbw@redhat.com>
13405
13406         Patch from Tom Parker <palfrey@tevp.net>
13407         * src/NetworkManagerSystem.h
13408                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13409                         no longer used
13410
13411         * src/backends/NetworkManagerDebian.c
13412                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13413                         unused variables
13414
13415 2006-02-12  Dan Williams  <dcbw@redhat.com>
13416
13417         * vpn-daemons/openvpn/intltool-extract.in
13418           vpn-daemons/openvpn/intltool-merge.in
13419           vpn-daemons/openvpn/intltool-update.in
13420           vpn-daemons/pptp/intltool-extract.in
13421           vpn-daemons/pptp/intltool-merge.in
13422           vpn-daemons/pptp/intltool-update.in
13423                 - Remove from CVS, they should get created by intltoolize,
13424                         shouldn't they?
13425
13426 2006-02-12  Dan Williams  <dcbw@redhat.com>
13427
13428         * vpn-daemons/pptp/src/pppd/patchlevel.h
13429         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13430                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13431                         Makefile-defined VERSION
13432
13433 2006-02-09  Dan Williams  <dcbw@redhat.com>
13434
13435         Patch from: Vinay A R <rvinay@novell.com>
13436         * src/vpn-manager/nm-vpn-act-request.[ch]
13437                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13438                         IPSec VPNs require them for std gateway.
13439                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13440                         and 'user_routes_count'
13441                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13442                         defined routes  from NMVPNActRequest object, returns the string
13443                         array of routes.
13444
13445         * src/vpn-manager/nm-vpn-manager.[ch]
13446                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13447                         for 'user_routes' and 'user_routes_count'
13448         
13449         * src/vpn-manager/nm-dbus-vpn.c
13450                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13451                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13452         
13453         * src/vpn-manager/nm-vpn-service.c
13454                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13455                         the vpn daemon
13456
13457         Modifications by Dan:
13458         * src/vpn-manager/nm-vpn-service.c
13459                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13460                         arrays into dbus
13461
13462         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13463         * vpn-daemons/pptp/src/nm-pptp-service.c
13464         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13465                 - Grab user routes from dbus message
13466                 - Free all string arrays we got from dbus
13467
13468 2006-02-07  Robert Love  <rml@novell.com>
13469
13470         Patch by Stefan Seyfried <seife@suse.de>:
13471         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13472
13473 2006-02-06  Robert Love  <rml@novell.com>
13474
13475         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13476
13477 2006-02-06  Robert Love  <rml@novell.com>
13478
13479         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13480           test ">=" is never false.  If no newline is found, we loop forever.
13481           We can just check for ">" because the following if() will see the
13482           zero-th argument if the while() gets that far.
13483
13484 2006-02-05  Dan Williams  <dcbw@redhat.com>
13485
13486         Refine handling of non-broadcast networks.
13487
13488         * src/NetworkManagerAPList.c
13489                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13490                         property from scanned AP to the AP from the device list
13491
13492         * src/nm-device-802-11-wireless.c
13493                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13494                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13495                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13496                         networks since those don't have APs.
13497                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13498                         AP as non-SSID-broadcasting
13499                 - (process_scan_results): don't handle non-SSID-broadcasting here
13500
13501 2006-02-05  Dan Williams  <dcbw@redhat.com>
13502
13503         * src/nm-device-802-11-wireless.c
13504                 - (get_supplicant_timeout): new function; return
13505                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13506                         14 channels.  These are likely a/b/g cards, like Atheros, and
13507                         slow as hell to scan.
13508                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13509                         get_supplicant_timeout()
13510
13511 2006-02-05  Dan Williams  <dcbw@redhat.com>
13512
13513         * src/dhcp-manager/nm-dhcp-manager.c
13514                 - Loose a commit race with Robert; make sure size check
13515                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13516
13517 2006-02-05  Robert Love  <rml@novell.com>
13518
13519         Patch by Christoph Brill <chrisbrill@gmx.net>:
13520         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13521           with DHCP_SERVICE_NAME.
13522
13523 2006-02-05  Dan Williams  <dcbw@redhat.com>
13524
13525         Remove anything having to do with device_setup_func from the
13526         AP security objects, since it's no longer used.
13527
13528         * src/nm-ap-security.h
13529                 - Kill device_setup_func and nm_ap_security_device_setup()
13530
13531         * src/nm-ap-security-wep.c
13532           src/nm-ap-security-wpa-psk.c
13533                 - (real_device_setup): remove
13534
13535         * src/nm-ap-security.c
13536                 - (real_device_setup): remove
13537                 - (nm_ap_security_device_setup): remove
13538
13539         * src/nm-device-802-11-wireless.[ch]
13540                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13541                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13542                         and done by wpa_supplicant now anyway
13543
13544 2006-02-05  Dan Williams  <dcbw@redhat.com>
13545
13546         * src/nm-device-802-11-wireless.c
13547                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13548                         settings on us.  Previously NM would loop asking for the
13549                         key but getting the same one back.  Now, if the NMI-supplied
13550                         cipher doesn't overlap with the scanned AP capabilities,
13551                         we request a completely new key from the user.
13552
13553 2006-02-05  Dan Williams  <dcbw@redhat.com>
13554
13555         * src/NetworkManagerUtils.c
13556                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13557                         Handle newline killing better
13558
13559 2006-02-05  Dan Williams  <dcbw@redhat.com>
13560
13561         * gnome/applet/nm-gconf-wso.c
13562                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13563                         of unencrypted access point security info.
13564
13565 2006-02-03  Robert Love  <rml@novell.com>
13566
13567         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13568           user's encryption key, so we print the err_msg_cmd not the command,
13569           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13570           sense.
13571
13572 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13573
13574         * initscript/RedHat/NetworkManagerDispatcher.in:
13575         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13576         Patch from Dan Walsh <dwalsh@redhat.com>
13577
13578 2006-02-03  Robert Love  <rml@novell.com>
13579
13580         * dispatcher-daemon/NetworkManagerDispatcher.c,
13581           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13582           but use the sysconfdir.
13583
13584 2006-02-03  Robert Love  <rml@novell.com>
13585
13586         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13587           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13588           'char *'.
13589         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13590           nm_ip4_config_get_hostname() and
13591           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13592         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13593           leak g_strdup() result.
13594
13595 2006-02-03  Robert Love  <rml@novell.com>
13596
13597         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13598           broadcast == TRUE.  Also, copy broadcast and artificial properties
13599           from source network to destination in nm_ap_copy().
13600         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13601           since we now default new networks to non-hidden.
13602
13603 2006-02-03  Dan Williams  <dcbw@redhat.com>
13604
13605         * gnome/applet/main.c
13606                 - (main): change the NEVER->ALWAYS so we start at the
13607                         beginning of the session, if being session-managed
13608
13609 2006-02-03  Dan Williams  <dcbw@redhat.com>
13610
13611         * gnome/applet/main.c
13612                 - (main): in a variation on Robert's patch, change
13613                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13614                         he wants.
13615
13616 2006-02-02  Robert Love  <rml@novell.com>
13617
13618         * src/Makefile.am: If we aren't going to create the run directory at,
13619           uh, run-time, create it during install.  Then users just doing
13620           'make install' are cool, too.  While we are here, create the
13621           dispatcher.d directory, too.
13622         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13623           the exact run directory.
13624         * Makefile.am: Install nm-applet.desktop.
13625
13626 2006-02-02  Robert Love  <rml@novell.com>
13627
13628         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13629           structure, which denotes whether or not the AP is hidden.  This is a
13630           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13631           can show up in the scan list.  Add nm_ap_get_broadcast() and
13632           nm_ap_set_broadcast() accessor interfaces.
13633         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13634           nm_ap_set_broadcast().
13635         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13636           "getProperties" method, which denotes whether or not the given
13637           network is hidden.
13638         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13639           an artificial network.  Set broadcast to TRUE when scanning returns
13640           an ESSID and FALSE when not.
13641         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13642           from "getProperties" method on a network.  Possible TODO is to
13643           somehow display this.
13644         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13645
13646 2006-02-02  Dan Williams  <dcbw@redhat.com>
13647
13648         * src/nm-device-802-11-wireless.c
13649                 - (supplicant_interface_init): don't try to create
13650                         /var/run/NetworkManager, since that should be done by
13651                         the distro package.  Causes problems for stuff like SELinux
13652
13653 2006-02-02  Robert Love  <rml@novell.com>
13654
13655         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13656         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13657           Check for and handle empty string for iface.
13658
13659 2006-02-01  Robert Love  <rml@novell.com>
13660
13661         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13662           manpage.
13663
13664 2006-01-31  Dan Williams  <dcbw@redhat.com>
13665
13666         * nm-applet.desktop
13667                 - Add --sm-disable to Exec arguments, presuming that when
13668                         using autostart, we don't want session management
13669
13670 2006-01-31  Robert Love  <rml@novell.com>
13671
13672         * src/NetworkManagerAP.c: Add two new manufacturer default network
13673           names: linksys-a and linksys-g.  These are found (at least) on the
13674           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13675           own ESSID.
13676
13677 2006-01-31  Robert Love  <rml@novell.com>
13678
13679         * src/NetworkManagerAP.c: Optimize the function
13680           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13681           machine code.  This is the first in a series of code tweaks aiming to
13682           generate better machine code and make NetworkManager all the better.
13683           Just kidding.  Who has time to go through the assembly generated for
13684           every function?  I certainly don't.  I have a wife, a kid, a job,
13685           a mortgage, a mistress.  But this function was so bad, I was called
13686           to arms.  Like the book.
13687
13688 2006-01-31  Robert Love  <rml@novell.com>
13689
13690         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13691           AP is not broadcasting, to scan with probe request frames.  Required
13692           for non-broadcast networks.
13693
13694 2006-01-31  Robert Love  <rml@novell.com>
13695
13696         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13697           preprocessor define (still 20s).  Fix message text in nm_info()
13698           s/too too/took too/.
13699
13700 2006-01-30  Dan Williams  <dcbw@redhat.com>
13701
13702         * src/nm-device-802-11-wireless.c
13703                 - (supplicant_monitor_start): increase connect/auth timeout to
13704                         20 seconds from 10 seconds
13705
13706 2006-01-30  Dan Williams  <dcbw@redhat.com>
13707
13708         * src/Makefile.am
13709                 - Define LOCALSTATEDIR
13710
13711         * src/nm-device-802-11-wireless.c
13712                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13713                         socket where we want it to
13714
13715         * src/wpa_ctrl.[ch]
13716                 - (wpa_ctrl_open): accept location to put local control socket
13717
13718 2006-01-30  Robert Love  <rml@novell.com>
13719
13720         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13721           get_ip4_string() for "domain_name".
13722
13723 2006-01-30  Robert Love  <rml@novell.com>
13724
13725         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13726           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13727           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13728           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13729           support for "Automatic" pairwise and group cipher configuration by
13730           letting wpa_supplicant handle the details.  Add UI elements, new
13731           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13732           charm.  Note this does more than add a nice feature, it fixes a bug.
13733           Apparently, some people have AP's where the pairwise cipher does not
13734           match the group cipher.  Insane, but true.
13735
13736 2006-01-30  Dan Williams  <dcbw@redhat.com>
13737
13738         * gnome/applet/applet-dbus-devices.c
13739                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13740                         functions, grab device driver name from NetworkManager
13741                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13742
13743         * gnome/applet/applet.c
13744                 - (nmwa_update_info): show driver name in Connection Information
13745                         dialog
13746
13747         * gnome/applet/nm-device.[ch]
13748                 - (network_device_get_driver, network_device_set_driver): add
13749                         accessors for driver name
13750
13751         * gnome/applet/wireless-applet.glade
13752                 - Add line for driver name to Connection Information dialog
13753
13754         * src/nm-dbus-device.c
13755                 - (nm_dbus_device_get_driver): new function to return driver name
13756                 - (nm_dbus_device_methods): hook up driver name function to dbus
13757
13758         * test/nm-tool.c
13759                 - (get_driver_name): new function
13760                 - (detail_device): grab and show driver name
13761
13762 2006-01-30  Robert Love  <rml@novell.com>
13763
13764         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13765           does not parse the markup if it is not part of the format.
13766
13767 2006-01-30  Robert Love  <rml@novell.com>
13768
13769         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13770           FALSE, we have no security options for this dialog, so we throw up
13771           an error dialog instead of a broken passphrase dialog.  Fixes
13772           Novell #138404.
13773         * gnome/applet/wireless-security-manager.c,
13774           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13775           does not add any security options, not even NONE, print a warning
13776           and return FALSE.  This let's functions constructing a dialog bail
13777           out if the device's capabilities and the network's requirements have
13778           zero overlap.
13779
13780 2006-01-27  Robert Love  <rml@novell.com>
13781
13782         * configure.in: Require wpa_supplicant.  Detect location of binary and
13783           use it.  Override with "--with-wpa_supplicant=foo".
13784         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13785           path to wpa_supplicant but use the auto-detected or user-provided
13786           value from configure.
13787
13788 2006-01-27  Robert Love  <rml@novell.com>
13789
13790         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13791           but the DHCP server did not return a hostname, try to look up our
13792           name via DNS and set the system hostname to that.
13793
13794 2006-01-27  Dan Williams  <dcbw@redhat.com>
13795
13796         * src/backends/NetworkManagerRedHat.c
13797                 - Add NM_CONTROLLED system network script support for RH/Fedora
13798
13799 2006-01-27  Dan Williams  <dcbw@redhat.com>
13800
13801         * src/backends/NetworkManagerGentoo.c
13802                 - (nm_system_device_get_disabled): add missing function.
13803                         Gnome BZ #328780
13804
13805 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13806
13807         * configure.in: Added vi in ALL_LINGUAS line.
13808         
13809 2006-01-26  Robert Love  <rml@novell.com>
13810
13811         * src/Makefile.am, src/kernel-types.h: Now that two different source
13812           files are feeling the crack-addled leakage of kernel types such as
13813           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13814           types in user-space -- define a header and include it as needed.
13815         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13816         * src/nm-device-802-3-ethernet.h: Remove defines.
13817         * src/wpa.c: Remove defines and include kernel-types.h.
13818
13819 2006-01-26  Robert Love  <rml@novell.com>
13820
13821         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13822           work.
13823
13824 2006-01-26  Robert Love  <rml@novell.com>
13825
13826         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13827         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13828           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13829           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13830           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13831           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13832           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13833           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13834           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13835           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13836           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13837           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13838           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13839           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13840           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13841           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13842           Kill unused variables, labels, and static functions.  Don't pass
13843           string literals as the format string for printf-like functions.
13844
13845 2006-01-25  Dan Williams  <dcbw@redhat.com>
13846
13847         * gnome/applet/wireless-applet.glade
13848                 - Remove WPA2 Checkbox
13849
13850         * gnome/applet/wireless-security-manager.c
13851                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13852                         This means the Wireless Security menu now has two WPA options,
13853                         one for "WPA Personal" and one for "WPA2 Personal"
13854
13855         * gnome/applet/wso-wpa-psk.[ch]
13856                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13857                         'wpa2' argument to determine WPA version to use
13858                 - (append_dbus_params_func): pass stored WPA version to cipher
13859                         rather than using the (removed) checkbox
13860
13861 2006-01-24  Robert Love  <rml@novell.com>
13862
13863         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13864           before we g_strdup(), not the ultimate string.
13865
13866 2006-01-23  Dan Williams  <dcbw@redhat.com>
13867
13868         * src/NetworkManagerAP.[ch]
13869                 - (nm_ap_new_from_ap): copy original essid too
13870                 - (nm_ap_unref): free original essid
13871                 - (nm_ap_get_orig_essid): new function
13872                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13873                         but keep original essid around too
13874
13875         * src/nm-device-802-11-wireless.c
13876                 - (supplicant_send_network_config): send wpa_supplicant the
13877                         _original_ essid, and not as a string, but in hex.  Should
13878                         allow us to connect to more APs that use wierd character
13879                         encodings for their essids
13880
13881         * utils/nm-utils.[ch]
13882                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13883                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13884                         use the current locale as a hint for what encoding the essid
13885                         might be in.  Obviously not 100% accurate, but the idea here is
13886                         that if a user's locale is ex. ja_JP, they are more likely than
13887                         not to be in Japan, where access points will likely be in some
13888                         Japanese encoding.
13889
13890 2006-01-23  Dan Williams  <dcbw@redhat.com>
13891
13892         * libnm-util/cipher-private.h
13893           libnm-util/cipher.c
13894           libnm-util/cipher.h
13895                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13896
13897 2006-01-23  Robert Love  <rml@novell.com>
13898
13899         Patch by Timo Hoenig <thoenig@suse.de>:
13900         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13901           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13902           by DHCP and pass it to the backends, allowing distribution-specific
13903           behavior with respect to the DHCP-supplied hostname (if nothing else,
13904           some distributions might not want to set the hostname).
13905         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13906           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13907           Also update our NIS behavior.
13908         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13909           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13910           Add stub functions.
13911
13912 2006-01-23  Robert Love  <rml@novell.com>
13913
13914         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13915           gnome-session does autostart.  TODO: We need to install this to
13916           $prefix/share/autostart/.
13917
13918 2006-01-22  Dan Williams  <dcbw@redhat.com>
13919
13920         * src/NetworkManagerAP.[ch]
13921           src/nm-dbus-nmi.c
13922           src/nm-device-802-11-wireless.c         
13923                 - Make nm_ap_get_essid return "const char *"
13924
13925 2006-01-22  Dan Williams  <dcbw@redhat.com>
13926
13927         * src/NetworkManagerAP.[ch]
13928                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13929
13930         * src/NetworkManagerAPList.[ch]
13931                 - (nm_ap_list_diff): removed
13932                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13933                         deal with access points changing essids on us
13934
13935         * src/nm-device-802-11-wireless.c
13936                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13937                         src/NetworkManagerAPList.c
13938                 - (real_can_interrupt_activation): new function; allow interruption
13939                         of device activation if we are waiting for a network key
13940
13941         * src/NetworkManagerPolicy.c
13942                 - (nm_policy_device_change_check): allow interruption of currently
13943                         activating devices if the device allows it.  Previous behavior
13944                         would refuse to activate a just-plugged wired device if a
13945                         wireless device was waiting for a key.
13946
13947         * src/nm-device.[ch]
13948                 - (nm_device_can_interrupt_activation): new function; ask devices
13949                         whether their activation can be interrupted
13950
13951 2006-01-20  Robert Love  <rml@novell.com>
13952
13953         * Makefile.am, configure.in: Add new man subdirectory.
13954         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13955           man/Makefile.am: Add man pages for NetworkManager and its
13956           crime-solving bumbling buddy, NetworkManagerDispatcher.
13957         * man/.cvsignore: Add.
13958         * initscript/Debian/NetworkManager,
13959           initscript/Gentoo/NetworkManager.in,
13960           initscript/RedHat/NetworkManager.in,
13961           initscript/RedHat/NetworkManagerDispatcher.in,
13962           initscript/SUSE/networkmanager-dispatcher.in,
13963           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13964
13965 2006-01-20  Robert Love  <rml@novell.com>
13966
13967         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13968           instead of queuing.  This prevents the running of multiple NM
13969           daemons concurrently, which does not work whatsoever and results in
13970           neither daemon working correctly.  Also, we don't handle queuing and
13971           name-owner-changes, anyhow.
13972
13973 2006-01-20  Robert Love  <rml@novell.com>
13974
13975         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13976         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13977           to sbin, not bin.
13978
13979 2006-01-19  Robert Love  <rml@novell.com>
13980
13981         * configure.in: Require hal 0.5.0 or later.
13982
13983 2006-01-18  Robert Love  <rml@novell.com>
13984
13985         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13986           Allow backends to flag a device (in whatever distro-dependent way
13987           they so desire) as disabled.  NM will ignore any such device.
13988         * src/backends/NetworkManagerDebian.c,
13989           src/backends/NetworkManagerRedHat.c,
13990           src/backends/NetworkManagerSlackware.c: Add stub function
13991           nm_system_device_get_disabled() that always returns FALSE (enabled).
13992         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13993           SUSE-specific configuration structure.  Fill it in from the
13994           NM_CONTROLLED variable in the system networking scripts.  If this var
13995           exists and is "no", we ignore the device.
13996
13997 2006-01-17  Robert Love  <rml@novell.com>
13998
13999         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
14000           identical for NM.  For a full discussion, see the thread at
14001           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
14002
14003 2006-01-17  Dan Williams  <dcbw@redhat.com>
14004
14005         * src/nm-device.c
14006                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14007                         function.  Fixes crash when wired DHCP fails.
14008
14009 2006-01-16  Robert Love  <rml@novell.com>
14010
14011         * src/Makefile.am: Don't install NMLoadModules
14012         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14013           from src/ to test/ as no one uses it anymore.  Note that I would be
14014           fine with removing it altogether.
14015
14016 2006-01-16  Robert Love  <rml@novell.com>
14017
14018         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14019           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14020           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14021           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14022           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14023           src/nm-netlink-monitor.c: Don't miss any initializers on structure
14024           declarations, ever.
14025         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14026           NM_STATE_DISCONNECTED is zero).
14027
14028 2006-01-16  Robert Love  <rml@novell.com>
14029
14030         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
14031           uninitialized parameter and buffer overflow.  Novell #143496.
14032
14033 2006-01-16  Dan Williams  <dcbw@redhat.com>
14034
14035         Apply the PtP Address bits of a patch from Tim Niemueller
14036
14037         * src/nm-ip4-config.[ch]
14038                 - Add ip4_ptp_address member to object
14039                 - (nm_ip4_config_copy): copy ptp address too
14040                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14041                         new functions
14042                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14043                         rather than local tunnel ip address
14044
14045         * src/vpn-manager/nm-vpn-service.c
14046                 - (print_vpn_config): update for PtP address
14047                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14048                         DBusMessageIters in preparation for getting routes from the VPN
14049                         service daemons too
14050
14051         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14052                 - (send_config_info): update for PtP address, clean up code
14053                 - (main): update for PtP address, clean up code, fix typo
14054
14055         * vpn-daemons/openvpn/src/nm-openvpn-service.c
14056                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14057
14058         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14059                 - (pptp_ip_up): update for PtP address
14060
14061         * vpn-daemons/pptp/src/nm-pptp-service.c
14062                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14063
14064         * vpn-daemons/vpnc/src/nm-vpnc-service.c
14065                 - (print_vpn_config): update for PtP address
14066                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14067
14068 2006-01-16  Dan Williams  <dcbw@redhat.com>
14069
14070         * gnome/applet/applet.c
14071                 - (nmwa_add_networks_helper): don't indicate an active network
14072                         if NM is disconnected or asleep
14073
14074 2006-01-16  Dan Williams  <dcbw@redhat.com>
14075
14076         * src/NetworkManagerPolicy.c
14077                 - (nm_policy_device_change_check): switch devices if we lose the link
14078                         on an ethernet device. 
14079
14080 2006-01-16  Dan Williams  <dcbw@redhat.com>
14081
14082         * gnome/applet/wso-wpa-psk-hex.[ch]
14083                 - Renamed -> wso-wpa-psk.[ch]
14084
14085         * gnome/applet/wso-wpa-psk.[ch]
14086                 - New files
14087
14088         * gnome/applet/wso-wpa-psk-passphrase.[ch]
14089                 - Removed, rolled into wso-wpa-psk.[ch]
14090
14091         * gnome/applet/Makefile.am
14092                 - Updated for above changes
14093
14094         * gnome/applet/wireless-applet.glade
14095                 - Consolidate WPA-PSK options into one notebook
14096                         widget, and make dialogs invisible by default
14097                         to fix screen oddities
14098
14099         * gnome/applet/wireless-security-manager.c
14100                 - (wsm_set_capabilities): create the new wpa-psk widget rather
14101                         than both the old hex & passphrase ones
14102
14103 2006-01-16  Dan Williams  <dcbw@redhat.com>
14104
14105         * gnome/applet/other-network-dialog.c
14106                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14107
14108 2006-01-16  Dan Williams  <dcbw@redhat.com>
14109
14110         * gnome/applet/applet.c
14111                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14112                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14113                         prevention to realize window before trying to get server
14114                         time
14115
14116         * gnome/applet/other-network-dialog.c
14117                 - (nmwa_other_network_dialog_run): fix up focus-stealing
14118                         prevention to realize window before trying to get server
14119                         time
14120
14121         * gnome/applet/passphrase-dialog.c
14122                 - (nmi_passphrase_dialog_new): fix up focus-stealing
14123                         prevention to realize window before trying to get server
14124                         time
14125
14126 2006-01-16  Robert Love  <rml@novell.com>
14127
14128         Patch from Timo Hoenig  <thoenig@suse.de:
14129         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14130           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14131           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14132           libnm-util/dbus-helpers.h: add checks whether headers are used
14133           within a C++ build.
14134
14135 2006-01-16  Dan Williams  <dcbw@redhat.com>
14136
14137         * gnome/applet/wireless-security-option.c
14138                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14139
14140 2006-01-16  Dan Williams  <dcbw@redhat.com>
14141
14142         * libnm-util/cipher-wpa-psk-passphrase.c
14143                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14144                         be 8 - 63 characters inclusive
14145
14146 2006-01-16  Dan Williams  <dcbw@redhat.com>
14147
14148         * src/nm-dbus-nm.c
14149                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14150
14151 2006-01-13  Robert Love  <rml@novell.com>
14152
14153         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14154         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14155           modules that do not use an interface.
14156
14157 2006-01-13  Dan Williams  <dcbw@redhat.com>
14158
14159         * src/nm-device.c
14160           src/nm-device.h
14161                 - Allow subclasses to implement deactivate_quickly()
14162                 - (nm_device_deactivate_quickly): call subclass
14163                         deactivate_quickly() methods
14164                 - (nm_device_set_active_link): small cleanups, and don't
14165                         deactivate the device right away because we risk a deadlock
14166                         when called from device thread, waiting for the device
14167                         thread to cancel activation
14168
14169         * src/nm-device-802-11-wireless.c
14170                 - (real_deactivate_quickly): new function
14171                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14172                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14173                         so that we kill the supplicant when we sleep too
14174                 - (supplicant_interface_init): work around naive naming attempts of
14175                         wpa_ctrl when naming sockets
14176
14177 2006-01-13  Dan Williams  <dcbw@redhat.com>
14178
14179         * src/nm-device-802-11-wireless.c
14180                 - (supplicant_cleanup): delete old device control sockets too
14181                 - (supplicant_get_device_socket_path): new function to consolidate
14182                         locations that need a path to a device's control socket
14183
14184 2006-01-12  Robert Love  <rml@novell.com>
14185
14186         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14187           description so that the description is unique for each
14188           pair (device,provider).  Fixes Novell #142773.
14189
14190 2006-01-12  Dan Williams  <dcbw@redhat.com>
14191
14192         * src/nm-device-802-11-wireless.c
14193                 - (supplicant_exec): ensure GError is correctly initialized
14194                         Reported by Diego González (gnome.org #326708)
14195
14196 2006-01-11  Robert Love  <rml@novell.com>
14197
14198         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14199           define if_mii(), open code the same results, and do so without any
14200           type punning.
14201
14202 2006-01-11  Robert Love  <rml@novell.com>
14203
14204         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14205           that wso_foo_new() returned non-NULL.  Instead, only append the new
14206           wso to wsm->options if the wso is non-NULL.  The crux is that we
14207           assume that the relevant key types are implied by WEP and WPA as
14208           appropriate.  To be sure, they should be, but we should not expect
14209           drivers to not be oozing piles of wolf fecal matter.
14210
14211 2006-01-11  Robert Love  <rml@novell.com>
14212
14213         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14214         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14215           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14216           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14217           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14218           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14219           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14220         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14221           comparing values within DBL_EPSILON.  Also fix shadowed variable
14222           usage.
14223
14224 2006-01-11  Dan Williams  <dcbw@redhat.com>
14225
14226         Add options for WPA2 and WPA1+CCMP (AES).
14227
14228         * gnome/applet/wireless-applet.glade
14229                 - Add UI bits for WPA+CCMP
14230
14231         * gnome/applet/other-network-dialog.c
14232                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14233                         and don't allow creation of WPA2 Ad-Hoc networks since
14234                         wpa_supplicant doesn't support them
14235
14236         * gnome/applet/wireless-security-manager.c
14237                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14238                         on to the specific wireless security option being created
14239
14240         * gnome/applet/wireless-security-option.[ch]
14241                 - (wso_wpa_create_key_type_model): new utility function to create
14242                         the model required for WPA Key Type combo box
14243
14244         * gnome/applet/wso-private.h
14245           gnome/applet/wireless-security-option.h
14246                 - Move private function prototypes into wso-private.h
14247
14248         * gnome/applet/wso-wpa-psk-hex.[ch]
14249           gnome/applet/wso-wpa-psk-passphrase.[ch]
14250                 - (append_dbus_params_func): get WPA version from checkbox and pass
14251                         it to the dbus serialization helper
14252                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14253                         key type combo changes
14254                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14255                         model and options
14256
14257         * libnm-util/cipher-wpa-psk-hex.c
14258           libnm-util/cipher-wpa-psk-passphrase.c
14259                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14260                         new function; allow the cipher to be changed after object creation
14261
14262         * src/nm-ap-security-wpa-psk.c
14263                 - (set_description): Do WPA2 descriptions too
14264
14265         * src/nm-ap-security.c
14266                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14267
14268 2006-01-11  Robert Love  <rml@novell.com>
14269
14270         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14271           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14272           from the ifreq structure in lieu of an open coded solution.  Removes
14273           a life-threatening type-punning.
14274         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14275           types, ever, whatsoever, baby.
14276
14277 2006-01-11  Robert Love  <rml@novell.com>
14278
14279         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14280           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14281           assignments to applet->nm_state into a new nmwa_set_state() function
14282           for both cleanliness and to help debugging.
14283
14284 2006-01-10  Robert Love  <rml@novell.com>
14285
14286         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14287           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14288           seconds, exclusive.  That is, we want to sleep x seconds such that
14289           1 < x < 2.
14290
14291 2006-01-10  Robert Love  <rml@novell.com>
14292
14293         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14294           the attr fields according to the example in the email available at
14295           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14296           Conversely, we do have to free 'name', so we do so, fixing a leak.
14297
14298 2006-01-10  Robert Love  <rml@novell.com>
14299
14300         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14301           sure that we close the socket!
14302
14303 2006-01-10  Robert Love  <rml@novell.com>
14304
14305         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14306           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14307           src/nm-device.c: Fix a FIXME!  Reimplement the function
14308           nm_device_update_hw_address() in device subclass variants,
14309           nm_device_802_3_ethernet_set_address() and
14310           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14311           This fixes the existing bug where MAC addresses are all zeros.
14312
14313 2006-01-10  Robert Love  <rml@novell.com>
14314
14315         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14316           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14317           option to give users ability to globally disconnect and put NM to
14318           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14319           clean disconnect.
14320
14321 2006-01-09  Robert Love  <rml@novell.com>
14322
14323         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14324           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14325           User-space does not supply these types, so we have to define them
14326           ourselves.  The relevant kernel maintainer refused to accept a patch
14327           switching these headers to the proper C99 types.
14328
14329 2006-01-09  Dan Williams  <dcbw@redhat.com>
14330
14331         Apply Robert's 'tray icon redo' patch with fixes
14332         * gnome/applet/applet.c
14333           gnome/applet/applet.h
14334                 - Instead of using a menu bar + menu item, simulate menu
14335                         behavior using a popup menu.  Highlight the area around
14336                         the icon more like a menu too, by playing with the
14337                         applet's size requisition
14338
14339 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14340         * libnm-util/dbus-helpers.c
14341           libnm-util/dbus-helpers.h
14342                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14343                         to 'exception_namespace' (:namespace is a keyword in
14344                         C++)
14345
14346 2006-01-09  Dan Williams  <dcbw@redhat.com>
14347
14348         * src/NetworkManagerPolicy.c
14349                 - (nm_policy_device_change_check): don't autoswitch away from
14350                         Ad-Hoc networks, since there's really no concept of
14351                         "link"
14352
14353         * src/nm-dbus-nm.c
14354                 - (nm_dbus_nm_create_wireless_network): mark created networks
14355                         as Ad-Hoc networks
14356
14357         * src/nm-device-802-11-wireless.c
14358                 - (real_activation_success_handler): add user-created Ad-Hoc
14359                         networks to the device's scan list
14360
14361 2006-01-08  Dan Williams  <dcbw@redhat.com>
14362
14363         We now require a patch for wpa_supplicant to support Ad-Hoc
14364         networks:
14365           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14366
14367         * src/nm-device-802-11-wireless.c
14368                 - (supplicant_send_network_config): turn off wpa_supplicant's
14369                         scanning.  Fixes Ad-Hoc networks.
14370
14371 2006-01-08  Dan Williams  <dcbw@redhat.com>
14372
14373         * src/nm-ap-security.c
14374           src/nm-ap-security.h
14375                 - Add a user_created argument to the write_supplicant_config
14376                         functions
14377
14378         * src/nm-ap-security-wep.c
14379           src/nm-ap-security-wpa-psk.c
14380           src/nm-device-802-11-wireless.c
14381                 - Make Ad-Hoc mode somewhat work, at least write the
14382                         correct options to wpa_supplicant
14383
14384 2006-01-08  Dan Williams  <dcbw@redhat.com>
14385
14386         * src/nm-device-802-11-wireless.c
14387                 - Remove unused code from the old device activation path
14388
14389 2006-01-08  Dan Williams  <dcbw@redhat.com>
14390
14391         * libnm-util/dbus-helpers.c
14392                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14393                         dbus when key == NULL
14394
14395 2006-01-08  Dan Williams  <dcbw@redhat.com>
14396
14397         * gnome/applet/nm-gconf-wso-wpa-psk.c
14398                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14399                         correct arguments to nmu_security_deserialize_wpa_psk()
14400
14401         * src/nm-ap-security-wpa-psk.c
14402                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14403                         arguments to nmu_security_deserialize_wpa_psk()
14404
14405 2006-01-08  Dan Williams  <dcbw@redhat.com>
14406
14407         * gnome/applet/wso-wpa-psk-hex.c
14408           gnome/applet/wso-wpa-psk-passphrase.c
14409                 - Hook up the append_dbus_params_func() function
14410
14411 2006-01-08  Dan Williams  <dcbw@redhat.com>
14412
14413         * src/nm-device-802-11-wireless.c
14414                 - (get_wireless_capabilities): correctly detect driver WPA
14415                         capabilities
14416
14417 2006-01-08  Dan Williams  <dcbw@redhat.com>
14418
14419         * gnome/applet/Makefile.am
14420           gnome/applet/wso-wpa-psk-hex.c
14421           gnome/applet/wso-wpa-psk-hex.h
14422                 - New files, implement WPA-PSK Hex key input
14423
14424         * gnome/applet/wireless-applet.glade
14425                 - Change existing wpa-psk stuff to wpa-psk-hex
14426                 - Add new widgets for wpa-psk-passphrase
14427
14428         * gnome/applet/wireless-security-manager.c
14429                 - (wsm_set_capabilities): enable WPA options
14430
14431         * gnome/applet/wso-wpa-psk-passphrase.c
14432                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14433                         for WPA-PSK passphrase
14434
14435 2006-01-08  Dan Williams  <dcbw@redhat.com>
14436
14437         * include/NetworkManager.h
14438                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14439                         applet/info-daemons
14440
14441         * gnome/applet/passphrase-dialog.c
14442                 - Use the constant.  Fixes a bug where the arguments to
14443                         dbus_message_new_error() were incorrect
14444
14445         * src/nm-dbus-nmi.c
14446                 - Use the constant
14447
14448 2006-01-07  Dan Williams  <dcbw@redhat.com>
14449
14450         * src/nm-device-802-11-wireless.c
14451                 - Add a link timeout so we allow the supplicant time to
14452                         reassociate if it can, before we deactivate the card
14453                 - Fix up link status and link updating so things work better
14454
14455 2006-01-07  Dan Williams  <dcbw@redhat.com>
14456
14457         * src/nm-device-802-11-wireless.c
14458                 - Switch over to using wpa_supplicant
14459                 - Add a timeout of 10s for association of the supplicant
14460                 - Start the monitor callback of the supplicant
14461
14462 2006-01-07  Dan Williams  <dcbw@redhat.com>
14463
14464         * src/NetworkManagerUtils.c
14465                 - (nm_utils_supplicant_request,
14466                   nm_utils_supplicant_request_with_check):
14467                         pass correct buffer length to wpa_ctrl_request()
14468
14469 2006-01-07  Dan Williams  <dcbw@redhat.com>
14470
14471         * src/nm-device-private.h
14472           src/nm-device.c
14473                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14474                         this function available to subclasses
14475
14476 2006-01-06  Robert Love  <rml@novell.com>
14477
14478         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14479           user plugging in a network cable signals their preference for to
14480           switch, unless the user explicitly selected a wireless network and
14481           therefore signaled their preference for said wireless network over
14482           wired.  In other words, do exactly what makes sense.
14483
14484 2006-01-06  Robert Love  <rml@novell.com>
14485
14486         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14487           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14488           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14489           showing up in my greps.
14490
14491 2006-01-06  Robert Love  <rml@novell.com>
14492
14493         * gnome/applet/applet-dbus-devices.c,
14494           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14495           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14496           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14497           New Network' both failed in the non-encrypted case because we were
14498           not appending the security options to the DBUS message.  And
14499           'Connect to Other' was also failing in the encrypted case because
14500           we were not incrementing to the next DBUS parameter.  All fixed.
14501           Thanks to dcdw for some debugging help.
14502
14503 2006-01-06  Robert Love  <rml@novell.com>
14504
14505         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14506           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14507           hangup code and add per-device hangup.  Tie last commit into the
14508           GNOME applet.  TODO:  Save, understand, and respond to the state of
14509           each dialup device.
14510
14511 2006-01-06  Robert Love  <rml@novell.com>
14512
14513         Patch by Timo Hoenig <thoenig@suse.de>:
14514         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14515           hangup specific dialup devices.
14516         * src/backends/NetworkManagerDebian.c,
14517           src/backends/NetworkManagerGentoo.c,
14518           src/backends/NetworkManagerRedHat.c,
14519           src/backends/NetworkManagerSlackware.c: Add stub backend.
14520         * src/backends/NetworkManagerRedHat.c,
14521           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14522           hangup specific dialup devices.
14523
14524 2006-01-04  Robert Love  <rml@novell.com>
14525
14526         * gnome/applet/applet-dbus-devices.c,
14527           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14528           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14529           connections.
14530
14531 2006-01-04  Dan Williams  <dcbw@redhat.com>
14532
14533         First dump of wpa_supplicant-related code.  It's not hooked up to
14534         anything yet though.  Thanks to Kay Sievers for
14535         wpa_supplicant_wrapper.c, which formed the basis for this work,
14536         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14537
14538         * src/Makefile.am
14539           src/wpa_ctrl.[ch]
14540                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14541
14542         * src/NetworkManagerUtils.[ch]
14543                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14544                         Add convenience functions for talking to wpa_supplicant
14545
14546         * src/nm-ap-security.[ch]
14547           src/nm-ap-security-wep.c
14548           src/nm-ap-security-wpa-psk.[ch]
14549                 - Update and implement real_write_supplicant_config functions
14550                         in all security types
14551                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14552                         nm-ap-security-wpa-psk.c
14553
14554         * src/nm-device-802-11-wireless.c
14555                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14556                    wpa_supplicant_start, wpa_supplicant_interface_init,
14557                    wpa_supplicant_send_network_config): add functions to talk to
14558                         wpa_supplicant and write network config to it
14559
14560 2006-01-04  Robert Love  <rml@novell.com>
14561
14562         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14563           values so that distribution-backends can differentiate between the
14564           various types (modem, ISDN, et cetera) of dialup device that they
14565           support.
14566         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14567           needed.
14568
14569 2006-01-03  Dan Williams  <dcbw@redhat.com>
14570
14571         * src/NetworkManagerPolicy.c
14572           src/nm-device.[ch]
14573           src/nm-device-802-11-wireless.c
14574                 - Move wireless-specific activation failure and success code
14575                         into wireless device class
14576
14577 2006-01-03  Robert Love  <rml@novell.com>
14578
14579         Patch by Preggna S:
14580         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14581           IPsec does not require that a VPN client be bound to an interface,
14582           due to the use of the in-kernel IPSec bits.  So make the tunnel
14583           device optional.
14584
14585 2006-01-03  Dan Williams  <dcbw@redhat.com>
14586
14587         * src/NetworkManagerAP.c
14588                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14589                         the WPA IE specifies that WEP is supported
14590
14591         * src/nm-device-802-11-wireless.c
14592                 - (process_scan_results): don't mark an AP as supporting WEP
14593                         if there's already other encryption capability info
14594
14595 2006-01-03  Dan Williams  <dcbw@redhat.com>
14596
14597         * src/dhcp-manager/nm-dhcp-manager.c
14598                 - Recognize activation cancellation when waiting for DHCP
14599                         configuration from dhcdbd
14600                 - Ignore non-dhcdbd messages
14601
14602         * src/nm-device.c
14603                 - (real_act_stage3_ip_config_start): return to correct behavior
14604                         of letting the dhcp-manager notify us of failure or
14605                         success rather than incorrectly doing that ourselves
14606                 - (nm_device_activate_stage4_ip_config_get): deal with
14607                         activation cancellation a bit earlier
14608
14609 2006-01-03  Dan Williams  <dcbw@redhat.com>
14610
14611         * src/nm-device-802-11-wireless.c
14612           src/nm-device.[ch]
14613                 - Add hooks to subclasses for stage3_ip_config_start and
14614                         stage4_ip_config_timeout
14615
14616         * src/nm-device-802-3-ethernet.c
14617                 - (real_get_generic_capabilities): make devices NM-supported
14618                         by default
14619
14620 2006-01-03  Robert Love  <rml@novell.com>
14621
14622         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14623           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14624           latter cannot differentiate between error and the address -1; misc.
14625           clean up.
14626
14627 2006-01-03  Dan Williams  <dcbw@redhat.com>
14628
14629         * src/NetworkManager.c
14630                 - Move link-checking/probing into the device subclasses
14631                         themselves
14632
14633         * src/nm-device.[ch]
14634           src/nm-device-802-11-wireless.c
14635           src/nm-device-802-3-ethernet.c
14636                 - Do periodic link checking in device subclasses rather
14637                         than being triggered from NetworkManager.c
14638                 - discover_wireless_capabilities -> get_wireless_capabilities
14639                 - discover_generic_capabilities -> get_generic_capabilities
14640                 - Device subclass activation routines now return a value of type
14641                         NMActStageReturn to indicate what step to perform next
14642                 - Devices now override stage4_get_ip4_config if they choose
14643
14644 2006-01-01  Dan Williams  <dcbw@redhat.com>
14645
14646         * src/nm-device-802-11-wireless.c
14647                 - (real_init): don't chain up to parent init because we don't
14648                         need to do that anymore
14649
14650         * src/nm-device.c
14651                 - (discover_device_type): fix arguments to ioctl() to correctly
14652                         pass interface name
14653                 - (nm_device_new): consolidate generic device initialization into
14654                         nm_device_new()
14655                 - (real_init): remove, consolidated to nm_device_new()
14656                 - (nm_device_deactivate, real_deactivate): consolidate
14657
14658 2006-01-01  Dan Williams  <dcbw@redhat.com>
14659
14660         * src/nm-activation-request.c
14661                 - Change dhcp_state member of the NMActRequest structure
14662                         from guint8 to guint32
14663
14664         * src/dhcp-manager/nm-dhcp-manager.[ch]
14665                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14666                         than guint8 to match the dbus argument.  Turns out we were
14667                         overwriting memory since we were passing in only a guint8
14668
14669 2005-12-31  Dan Williams  <dcbw@redhat.com>
14670
14671         * refactor NMDevice into a GObject-based framework with separate
14672                 objects for wired and wireless.  The following files are no
14673                 longer used but should stick around for a bit so we don't
14674                 loose code through the cracks:
14675                         NetworkManagerDevice.c
14676                         NetworkManagerDevice.h
14677                         NetworkManagerWireless.c
14678                         NetworkManagerWireless.h
14679
14680         The intent here is to allow each device type to manage its own
14681         connection & activation life-cycle, ie to allow wireless devices
14682         to interface with wpa_supplicant, etc.  There's a fair bit of
14683         encapsulation breakage right now that should gradually get pulled
14684         back into each device, along with things like periodic property
14685         updates and link probing.
14686
14687 2005-12-29  Dan Williams  <dcbw@redhat.com>
14688
14689         * include/NetworkManager.h
14690                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14691                         between networks that don't have any encryption at all
14692
14693 2005-12-29  Dan Williams  <dcbw@redhat.com>
14694
14695         * test/test-common.c
14696           test/test-common.h
14697           test/Makefile.am
14698                 - Move to a test-common subdirectory
14699
14700         * test/libnm-util/test-ciphers.c
14701                 - Move test data to test-inputs.h
14702                 - Test WPA ciphers too
14703
14704         * test/libnm-util/test-dbus-helpers.c
14705                 - Test serialization/deserialization of ciphers
14706
14707 2005-12-29  Dan Williams  <dcbw@redhat.com>
14708
14709         * gnome/applet/applet-dbus-devices.c
14710                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14711                         in dbus calls to NM
14712                 - Set capabilities on WirelessNetwork objects
14713                 - Receive and save type-specific device capabilities too
14714
14715         * gnome/applet/applet-dbus-info.c
14716           gnome/applet/applet-dbus.c
14717                 - Passphrase dialog no longer a singleton; new instance gets created
14718                         on each request.  Updates to deal with that.
14719
14720         * gnome/applet/applet.c
14721                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14722                         than single 'encrypted' flag
14723                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14724                         menu items
14725                 - Passphrase dialog updates per above
14726
14727         * gnome/applet/menu-items.c
14728                 - (network_menu_item_update): use AP capabilities to determine
14729                         encryption
14730
14731         * gnome/applet/nm-device.[ch]
14732                 - Add accessors for type-specific device capabilities
14733
14734         * gnome/applet/other-network-dialog.c
14735                 - Rework to respect device capabilities.  i.e., if the device doesn't
14736                         support WPA, remove that option from the security dropdown
14737
14738         * gnome/applet/passphrase-dialog.c
14739                 - Massive rework so that a new instance is created each time
14740                         it's used, to support wireless network capabilities
14741
14742         * gnome/applet/wireless-network.[ch]
14743                 - Add accessors and members for wireless network capabilities
14744
14745         * gnome/applet/wireless-security-manager.[ch]
14746                 - (wsm_set_capabilities): called after creation to set which
14747                         security options get shown to the user
14748
14749 2005-12-29  Dan Williams  <dcbw@redhat.com>
14750
14751         * libnm-util/cipher-wpa-psk-passphrase.c
14752                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14753                         like other ciphers
14754
14755 2005-12-23  Dan Williams  <dcbw@redhat.com>
14756
14757         * gnome/applet/applet-dbus-info.c
14758                 - (nmi_dbus_get_key_for_network): if there's no entry in
14759                         GConf for a network, assume we want a new key
14760                 - (nmi_save_network_info): serialize wireless security info
14761                         into GConf so its saved
14762
14763         * src/nm-dbus-nm.c
14764                 - Fix warning as we may not be passed security info when
14765                         connecting to a wireless network
14766
14767 2005-12-23  Dan Williams  <dcbw@redhat.com>
14768
14769         * gnome/applet/applet-compat.c
14770                 - Fix bugs in GConf entry conversion
14771
14772         * gnome/applet/applet-dbus-info.c
14773                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14774                         list being zero-length
14775
14776         * libnm-util/cipher-*
14777           libnm-util/dbus-helpers.c
14778                 - All ciphers must now return hashed keys as UTF-8 valid
14779                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14780                         through dbus as strings too.
14781                 - Consolidate various functions that do bin->hex and hex->bin
14782                         conversion into cipher.c
14783
14784         * src/nm-ap-security-wep.c
14785           src/nm-ap-security-wpa-psk.c
14786                 - Handle NULL keys since we may not know keys right away
14787
14788         * src/nm-dbus-nmi.c
14789                 - (nm_dbus_get_network_data_cb): actually advance to the start
14790                         of the wireless security info before we try to deserialize it
14791
14792         * libnm-util/test-ciphers.c
14793                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14794
14795 2005-12-22  Dan Williams  <dcbw@redhat.com>
14796
14797         * gnome/applet/applet-compat.[ch]
14798                 - Convert old-format GConf and keyring entries
14799                         when the applet starts up.
14800
14801         * gnome/applet/applet.c
14802                 - (nmwa_get_instance): Call the conversion function
14803                         on startup before dbus is initialized
14804
14805 2005-12-22  Dan Williams  <dcbw@redhat.com>
14806
14807         * gnome/applet/applet-dbus-info.c
14808                 - Remove nmi_dbus_create_error_message() in favor of
14809                         nmu_create_dbus_error_message()
14810                 - (nmi_dbus_get_network_properties): Error message cleanups
14811                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14812                         gconf key rather than 'addresses', since they really are BSSIDs
14813                 - (nmi_dbus_get_network_properties): Dispose of the security
14814                         object when we're done with it
14815
14816 2005-12-21  Dan Williams  <dcbw@redhat.com>
14817
14818         * Consolidate the info-daemon's "updateNetworkInfo" and
14819                 "addNetworkAddress" calls into just "updateNetworkInfo"
14820
14821 2005-12-21  Dan Williams  <dcbw@redhat.com>
14822
14823         * Make connection after key retrieval work again
14824
14825 2005-12-21  Dan Williams  <dcbw@redhat.com>
14826
14827         * gnome/applet/nm-gconf-wso*
14828                 - Make the serialize functions return gboolean
14829                         rather than int
14830
14831         * gnome/applet/nm-gconf-wso.c
14832                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14833                         parent class handling so we don't segfault
14834
14835         * src/NetworkManagerAP.[ch]
14836                 - (nm_ap_get_capabilities): new function, return capabilities
14837                         now that something can use them
14838                 - (nm_ap_set_encrypted): assume that an access point supports
14839                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14840                         we even tell whether it just supports WEP40?
14841
14842         * src/NetworkManagerDevice.c
14843                 - (ap_need_key): resurrect and update for the New World Order
14844                 - (nm_device_wireless_get_activation_ap): if we're not given
14845                         security info to use, create some based on access point
14846                         capabilities
14847
14848         * src/nm-ap-security-wep.c
14849                 - (nm_ap_security_wep_new_from_ap): create a new object
14850                         based on a certain access point's capabilities
14851
14852         * src/nm-ap-security.c
14853                 - (nm_ap_security_new_from_ap): delegate creation of a new
14854                         object based on access point capabilities to a subclass
14855                 - (nm_ap_security_copy_properties): don't segfault if we
14856                         don't have a key yet
14857
14858         * src/nm-dbus-nm.c
14859                 - (nm_dbus_nm_set_active_device): provide more informative
14860                         output when errors occur.  Also construct security info
14861                         for a given access point if we weren't given any
14862
14863 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14864
14865         * configure.in: Added Lithuanian to ALL_LINGUAS.
14866
14867 2005-12-21  Dan Williams  <dcbw@redhat.com>
14868
14869         * test/libnm-util
14870                 - Add some testcases for WEP ciphers
14871
14872 2005-12-17  Dan Williams  <dcbw@redhat.com>
14873
14874         * Fix bugs
14875
14876 2005-12-17  Dan Williams  <dcbw@redhat.com>
14877
14878         * include/NetworkManager.h
14879                 - Finally kill NMEncKeyType
14880
14881         * gnome/applet/applet-dbus-info.c
14882                 - (nmi_save_network_info): convert to NMGConfWSO
14883
14884         * gnome/applet/nm-gconf-wso-*.c
14885                 - Implement gconf serialization functions
14886
14887         * src/NetworkManagerPolicy.c
14888                 - (nm_policy_activation_finish): fix up meaning of
14889                         automatic/user_requested
14890
14891 2005-12-17  Dan Williams  <dcbw@redhat.com>
14892
14893         * gnome/applet/*
14894                 - More applet cleanups
14895                 - Use the dbus-method-dispatcher
14896
14897         * libnm-util/dbus-method-dispatcher.[ch]
14898                 - Generalize the implementation from NM in
14899                         NetworkManagerUtils.c
14900
14901 2005-12-16  Dan Williams  <dcbw@redhat.com>
14902
14903         * gnome/applet/*
14904                 - Fix up the passphrase dialog to use all the
14905                         WirelessSecurityOption stuff (untested)
14906
14907 2005-12-16  Dan Williams  <dcbw@redhat.com>
14908
14909         * Move nm_gconf_get_*_helper() functions to separate files,
14910                 gconf-helpers.c & gconf-helpers.h
14911
14912         * New NMGConfWSO objects for managing the gconf side of things.
14913                 Eventually these should be merged with the
14914                 WirelessSecurityOption objects and a common base (that can
14915                 serialize/deserialize from dbus & gconf) should be
14916                 refactored out, but for now they are separate.
14917
14918 2005-12-16  Robert Love  <rml@novell.com>
14919
14920         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14921           binaries unless they exist (nm_spawn_process() emits a warning if
14922           asked to spawn a non-existant process).
14923
14924 2005-12-16  Dan Williams  <dcbw@redhat.com>
14925
14926         * gnome/applet/applet-dbus-info.c
14927                 - Clean up lots of gconf-related code
14928
14929 2005-12-16  Robert Love  <rml@novell.com>
14930
14931         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14932
14933 2005-12-16  Dan Williams  <dcbw@redhat.com>
14934
14935         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14936
14937         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14938                 bits still to be done)
14939
14940 2005-12-16  Dan Williams  <dcbw@redhat.com>
14941
14942         * Finally move info-daemon related stuff out of
14943                 NetworkManagerDbus.c to nm-dbus-nmi.c
14944
14945 2005-12-16  Dan Williams  <dcbw@redhat.com>
14946
14947         * Kill auth_method for access points, since that's now done
14948                 by NMAPSecurity objects
14949
14950         * Add a copy-constructor of sorts to NMAPSecurity
14951                 (how do you do this properly in glib???)
14952
14953 2005-12-15  Dan Williams  <dcbw@redhat.com>
14954
14955         * Exorcise encryption key hashing on APs
14956         * Use libnm-util's serialization/deserialization in both the
14957                 applet and NM
14958         * Random other stuff
14959
14960 2005-12-15  Robert Love  <rml@novell.com>
14961
14962         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14963           is being added to the icon naming spec, so let's use that (Tango CVS
14964           has the icon).  Because it is new, however, we fall back to the
14965           current "gnome-lockscreen" if the new icon is not around, thus
14966           behavior is the same.
14967         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14968           factory junk.
14969
14970 2005-12-15  Robert Love  <rml@novell.com>
14971
14972         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14973           well, help to give.  Couple other misc. bits.
14974
14975 2005-12-15  Dan Williams  <dcbw@redhat.com>
14976
14977         * libnm-util/dbus-helpers.[ch]
14978                 - Make this the one-stop-shop for serializing/deserializing
14979                         AP & connection security settings over dbus.  Both NM
14980                         and applets should use this to ensure consistent dbus
14981                         API going forwared.
14982
14983 2005-12-15  Robert Love  <rml@novell.com>
14984
14985         Patch by Timo Hoenig  <thoenig@suse.de>:
14986         * src/NetworkManagerDbus.c
14987                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14988                         if HAL jumps off the system bus.  Otherwise libdbus
14989                         (dbus_connection_dispatch) will try to run the filter
14990                         function of our libhal context which is already freed.
14991
14992 2005-12-15  Alexander Shopov  <ash@contact.bg>
14993
14994         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14995
14996 2005-12-14  Dan Williams  <dcbw@redhat.com>
14997
14998         * include/NetworkManager.h
14999           src/NetworkManagerWireless.c
15000                 - Rearrange 802.11 wireless-specific capabilities again
15001
15002         * src/Makefile.am
15003                 - Forgot to add wpa.c/wpa.h to the makefiles
15004
15005         * src/NetworkManagerAP.[ch]
15006                 - Implement access point capabilities and parse the
15007                         WPA/RSN IEs into the capability bitfield
15008                 - Switch the "encrypted" attribute to utilize the bitfield
15009                         and capabilities rather than being independent
15010
15011         * src/NetworkManagerDevice.c
15012                 - (nm_device_wireless_get_activation_ap): break it horribly
15013                         until we can push NMAPSecurity objects into access point
15014                         objects and through the activation chain
15015                 - Stuff WPA & RSN IEs into AP capabilities
15016
15017         * src/nm-dbus-nm.c
15018                 - Take a shot at actually making setActiveDevice work
15019
15020         * src/wpa.[ch]
15021                 - Make the API a bit saner
15022
15023 2005-12-14  Dan Williams  <dcbw@redhat.com>
15024
15025         * include/NetworkManager.h
15026                 - Add 802.11-specific capability for 802.1x key
15027                         management
15028
15029         * src/wpa.[ch]
15030                 - Pull in WPA IE and RSN IE parsing code from
15031                         wpa_supplicant so we can determine access point
15032                         capabilities
15033                 - Move WPA-related constants here from NetworkManagerAP.h
15034                         and NetworkManagerDevice.c
15035
15036         * src/NetworkManagerDevice.c
15037           src/NetworkManagerAP.[ch]
15038                 - Use WPA-related constants from wpa.h
15039
15040 2005-12-14  Dan Williams  <dcbw@redhat.com>
15041
15042         * include/NetworkManager.h
15043                 - Update and split 802.11 wireless-specific capabilities from
15044                         generic device capabilities
15045
15046         * src/NetworkManagerDevice.c
15047           src/NetworkManagerDevicePrivate.h
15048                 - (nm_device_wireless_discover_capabilities): Move 802.11
15049                         wireless-specific capability checks to
15050                         NetworkManagerWireless.c
15051                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15052                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15053
15054         * src/NetworkManagerWireless.[ch]
15055                 - (nm_802_11_wireless_discover_capabilities): Check extended
15056                         802.11 wireless-specific capabilities of the driver
15057
15058 2005-12-14  Robert Love  <rml@novell.com>
15059
15060         Patch from Stefan Scheler <sscheler@suse.de>:
15061         * src/NetworkManagerDevice.c: call backend code to activate and
15062           deactivate NIS.
15063         * src/NetworkManagerSystem.h: add new NIS interfaces.
15064         * src/backends/NetworkManagerDebian.c,
15065           src/backends/NetworkManagerGentoo.c,
15066           src/backends/NetworkManagerRedHat.c,
15067           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15068           support.
15069         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15070
15071 2005-12-14  Dan Williams  <dcbw@redhat.com>
15072
15073         * src/nm-ap-security*.[ch]
15074                 - Add AP security abstractions to NetworkManager
15075
15076         * src/nm-dbus-device.c
15077                 - Begin to parse new format dbus messages from the applet
15078                         and construct an AP security object from the message
15079
15080         * libnm-util/dbus-helpers.c
15081                 - Use message iters so we can append the key as a fixed
15082                         array of bytes, which actually works rather than
15083                         using dbus_message_append_args() as we were before
15084
15085 2005-12-14  Dan Williams  <dcbw@redhat.com>
15086
15087         * src/NetworkManagerDbus.c
15088           gnome/applet/applet-dbus.c
15089                 - Fix up dbus service replacement options.  The applet
15090                         should allow replacement, NM itself should not.
15091
15092 2005-12-13  Robert Love  <rml@novell.com>
15093
15094         * src/named-manager/nm-named-manager.c: Revert earlier commit.
15095           Instead, fail silently if config is NULL by not asserting and not
15096           returning FALSE.  Also, make sure we always fclose() the file.
15097
15098 2005-12-13  Robert Love  <rml@novell.com>
15099
15100         Patch by Stefan Scheler <sscheler@suse.de>:
15101         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
15102            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15103            via DHCP.  Still need the backends to commit the NIS domain name and
15104            and servers to yp.conf as needed.
15105
15106 2005-12-13  Robert Love  <rml@novell.com>
15107
15108         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15109           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15110
15111 2005-12-13  Robert Love  <rml@novell.com>
15112
15113         * src/named-manager/nm-named-manager.c: Don't unref the config until
15114           after we call rewrite_resolv_conf(), because get_last_default_domain()
15115           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
15116           `config != NULL' failed" assertion failures and "Could not commit DNS
15117           changes" warnings.
15118
15119 2005-12-12  Dan Williams  <dcbw@redhat.com>
15120
15121         * libnm-util/dbus-helpers.[ch]
15122           libnm-util/Makefile.am
15123                 - new helper calls to consolidate locations where
15124                         NM's setDevice method is called
15125
15126         * gnome/applet/applet-dbus-devices.c
15127           gnome/applet/wireless-security-option.c
15128           gnome/applet/wso-*
15129                 - Implement dbus message param append function for
15130                         all wireless security options
15131
15132 2005-12-12  Robert Love  <rml@novell.com>
15133
15134         * libnm-util/cipher-wep-passphrase.c,
15135           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15136           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15137           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15138           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15139           When handling keys, we don't care what the sign is.  The compiler
15140           guarantees us that we get our 8-bits, which is all we care about.
15141         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
15142
15143 2005-12-12  Dan Williams  <dcbw@redhat.com>
15144
15145         * gnome/applet/applet-dbus-devices.[ch]
15146           gnome/applet/applet.c
15147           gnome/applet/other-network-dialog.c
15148           gnome/applet/wireless-security-manager.[ch]
15149           gnome/applet/wireless-security-option.[ch]
15150           gnome/applet/wso-*
15151                 - Push the wireless security options further into the applet
15152
15153 2005-12-12  Robert Love  <rml@novell.com>
15154
15155         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15156           return any name servers.  That is perfectly valid.  (Novell #134369).
15157
15158 2005-12-11  Dan Williams  <dcbw@redhat.com>
15159
15160         * gnome/applet/wso-*
15161           gnome/applet/wireless-security-option.*
15162           gnome/applet/Makefile.am
15163                 - split each security option out so we can eventually
15164                         have each one build up their own dbus message
15165                         arguments to send to NM
15166
15167 2005-12-11  Dan Williams  <dcbw@redhat.com>
15168
15169         * Make validation of the key work correctly
15170
15171 2005-12-11  Dan Williams  <dcbw@redhat.com>
15172
15173         * Hook more bits of the Other Network Dialog up to the
15174                 wireless security manager stuff, and restructure
15175                 bits of the dialog so there's less code.
15176
15177 2005-12-10  Dan Williams  <dcbw@redhat.com>
15178
15179         * gnome/applet/Makefile.am
15180                 - Add libnm-util to includes
15181                 - Add libnm-util to link list
15182                 - Add wireless-security-common.* to compile list
15183
15184         * gnome/applet/other-network-dialog.c
15185                 - Convert to using the WirelessSecurityManager code and
15186                         widgets
15187
15188         * gnome/applet/passphrase-dialog.c
15189                 - Comment out references to stuff in the glade file that
15190                         cause runtime errors until it can be fixed up
15191                         to use the WirelessSecurityManager code
15192
15193         * gnome/applet/wireless-applet.glade
15194                 - Rename some widgets
15195                 - Add widgets for the WirelessSecurityManager code
15196                 - Remove passphrase-related stuff since that's now
15197                         handled by the WirelessSecurityManager code
15198
15199 2005-12-10  Dan Williams  <dcbw@redhat.com>
15200
15201         * gnome/applet/applet-dbus-devices.c
15202                 - Print out error message details for dbus pending call callbacks
15203                 - Move nmwa_dbus_update_devices() up
15204
15205         * gnome/applet/applet-dbus-vpn.c
15206                 - Print out error message details for dbus pending call callbacks
15207
15208 2005-12-10  Dan Williams  <dcbw@redhat.com>
15209
15210         * libnm-util/*
15211                 - More fixups
15212                 - Remove cipher-manager.* because we don't need it
15213                 - Forgot to add gnome-keyring-md5 files to compile list
15214
15215 2005-12-09  Dan Williams  <dcbw@redhat.com>
15216
15217         * libnm-util/*
15218           configure.in
15219           Makefile.am
15220                 - Add a utility library for clients of NetworkManager.  It's
15221                         only targetted at applets for the moment, and contains
15222                         a generalized 802.11 cipher framework for different
15223                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15224
15225 2005-12-09  Robert Love  <rml@novell.com>
15226
15227         * src/NetworkManagerDevice.c: handle error better in
15228           nm_device_set_mode().
15229
15230 2005-12-08  Robert Love  <rml@novell.com>
15231
15232         * include/NetworkManager.h: add WPA capabilities constants
15233         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15234           or WPA2 and add the capabilities bits as appropriate.
15235
15236 2005-12-08  Robert Love  <rml@novell.com>
15237
15238         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15239           NetworkManagerDispatcher.
15240         * configure.in, initscript/SUSE/.cvsignore,
15241           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15242           initscript.
15243
15244 2005-12-08  Robert Love  <rml@novell.com>
15245
15246         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15247
15248 2005-12-08  Robert Love  <rml@novell.com>
15249
15250         * src/NetworkManagerDevice.c: We want to fall back on and default to
15251           IW_MODE_AUTO, not -1, which is more in line with our previous
15252           behavior.  Otherwise, we try to set the wireless mode to -1 in
15253           nm_device_set_mode().
15254
15255 2005-12-07  Robert Love  <rml@novell.com>
15256
15257         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15258           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15259           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15260           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15261           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15262           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15263           zero.
15264
15265 2005-12-07  Robert Love  <rml@novell.com>
15266
15267         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15268           supplied IP is invalid, fall back to DHCP.
15269
15270 2005-12-07  Dan Williams  <dcbw@redhat.com>
15271
15272         * Convert NETWORK_MODE_* constants to IW_MODE_*
15273         * Make all the get_mode/set_mode functions take and return 'int'
15274         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15275
15276 2005-12-07  Robert Love  <rml@novell.com>
15277
15278         * src/NetworkManagerDevice.c: strncpy() buffer check.
15279         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15280
15281 2005-12-06  Dan Williams  <dcbw@redhat.com>
15282
15283         * gnome/applet/applet-dbus.c
15284                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15285
15286         * gnome/applet/applet-dbus-vpn.c
15287                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15288                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15289                         to TRUE here if stage was ACTIVATED
15290
15291 2005-12-06  Dan Williams  <dcbw@redhat.com>
15292
15293         * Change nm_device_is_* functions to better names:
15294                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15295                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15296
15297 2005-12-06  Dan Williams  <dcbw@redhat.com>
15298
15299         * Change naming of NMDeviceType to something more sensible:
15300                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15301                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15302                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15303
15304 2005-12-06  Dan Williams  <dcbw@redhat.com>
15305
15306         * Move NetworkManager.h -> include/NetworkManager.h
15307         * Split out VPN stuff into include/NetworkManagerVPN.h
15308         * Fix up makefiles to include new location
15309         * Fix up sources to include NetworkManagerVPN.h
15310
15311 2005-12-06  Dan Williams  <dcbw@redhat.com>
15312
15313         Various changes in the applet to move VPN connection "state" -> "stage",
15314         which it actually is.  I'd like to change the signal as well when we
15315         break compat in the near future.
15316
15317 2005-12-06  Dan Williams  <dcbw@redhat.com>
15318
15319         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15320         * initscript/Slackware/rc.networkmanager
15321                 - Cosmetic fix
15322
15323         * src/backends/NetworkManagerSlackware.c
15324                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15325                         interfaces
15326
15327 2005-12-05  Robert Love  <rml@novell.com>
15328
15329         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15330           to free, particularly here as it just barfs.
15331
15332 2005-12-05  Dan Williams  <dcbw@redhat.com>
15333
15334         * gnome/applet/applet-dbus.c
15335                 - Work with dbus 0.6 too
15336
15337 2005-12-03  Dan Williams  <dcbw@redhat.com>
15338
15339         * src/NetworkManagerUtils.[ch]
15340           src/nm-ip4-config.c
15341                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15342                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15343
15344 2005-12-01  Robert Love  <rml@novell.com>
15345
15346         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15347           need a NULL for the '...' parameter, too, to fill the so-called
15348           sentinel.
15349
15350 2005-12-01  Robert Love  <rml@novell.com>
15351
15352         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15353           interface is already gone, so don't call rtnl_link_change() to down
15354           it (which will segfault, anyhow).
15355
15356 2005-11-22  Robert Love  <rml@novell.com>
15357
15358         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15359           gateway is not set, just print a little note.  Configurations without
15360           gateways are valid.
15361
15362 2005-11-22  Robert Love  <rml@novell.com>
15363
15364         * README: update
15365
15366 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15367
15368         * configure.in: Added Finnish translation to ALL_LINGUAS
15369
15370 2005-11-14  Robert Love  <rml@novell.com>
15371
15372         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15373           Niemueller <tim@niemueller.de>.
15374
15375 2005-11-08  Dan Williams  <dcbw@redhat.com>
15376
15377         Patch from Bill Moss <bmoss@clemson.edu>
15378         * src/NetworkManagerDevice.c
15379                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15380                         of nm_policy_schedule_activation_finish() to prevent a
15381                         race condition that causes the link to be dropped
15382
15383 2005-11-08  Dan Williams  <dcbw@redhat.com>
15384
15385         Patch from Bill Moss <bmoss@clemson.edu>
15386         * src/NetworkManagerAPList.c
15387           src/NetworkManagerDevice.c
15388           src/NetworkManagerDbus.c
15389                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15390                         we get more readable ether/mac addresses
15391
15392 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15393
15394         * gnome/applet/main.c: Don't set the restart command.  This fixes
15395         the issue where the restart command was getting copies of all its
15396         arguments for each time the applet was restarted.
15397
15398 2005-11-02  Robert Love  <rml@novell.com>
15399
15400         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15401           if the widget state differs from our saved state.  This ensures we
15402           do not enter an endless loop of death and destruction.  Also, this
15403           guarantees us that we enforce the widget state.
15404
15405 2005-11-02  Robert Love  <rml@novell.com>
15406
15407         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15408         * gnome/applet/applet-dbus-devices.c: invoke the new function
15409           nmwa_enable_wireless_set_active() to ensure that the state of the
15410           'Enable Wireless' checkbox matches the daemon's state.  This is a
15411           concern because the daemon remembers the state.
15412
15413 2005-11-02  Robert Love  <rml@novell.com>
15414
15415         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15416           Enabled", as checkboxes should be actions/commands not positive
15417           statements, otherwise they are confusing in the unselected case.  See
15418           examples in GNOME HIG, Chapter 6.
15419
15420 2005-11-02  Robert Love  <rml@novell.com>
15421
15422         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15423           show a list of wireless networks or the wireless devices or the
15424           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15425           a bad bug: If wireless is disabled and the user picks a wireless
15426           network, NM will switch to the network, only to immediately switch
15427           back, as wireless is disabled.  This also reassures people that NM
15428           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15429
15430 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15431
15432         * gnome/applet/applet.c:
15433         * gnome/applet/applet.h:
15434         Partial backout of Dan's timeout animation patch.
15435         Timeout IDs cannot legally be 0, so revert the code in place to handle
15436         a timeout ID of 0 to denote the timeout isn't running.
15437
15438 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15439
15440         * src/NetworkManagerPolicy.c:
15441         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15442
15443 2005-10-28  Robert Love  <rml@novell.com>
15444
15445         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15446           "Import Saved Configuration..." to make it clear that importing is
15447           not the next step, but an option.  As an aside, a nice TODO would be
15448           to move Importing out of the vpn-specific dialog and into the main
15449           property editor, as Importing goes with Adding, but that will require
15450           some rearchitecting of the VPN stuff I suspect.
15451
15452 2005-10-27  Dan Williams  <dcbw@redhat.com>
15453
15454         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15455         we should replace most of the distro-specific backend code
15456         with libnl stuff.
15457
15458         Get it here:  http://people.suug.ch/~tgr/libnl/
15459
15460         * configure.in
15461           src/Makefile.am
15462                 - Add checks for libnl pkgconfig file
15463                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15464
15465         * src/NetworkManagerSystem.c
15466           src/nm-ip4-config.[ch]
15467                 - Use libnl rather than ioctl() for most things
15468                 - Remove unused functions
15469
15470 2005-10-27  Robert Love  <rml@novell.com>
15471
15472         * src/backends/NetworkManagerSuSE.c: fix warning message text
15473
15474 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15475
15476         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15477
15478 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15479
15480         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15481         project page <http://www.gnome.org/projects/NetworkManager/>
15482
15483 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15484
15485         * gnome/applet.c: Also use translator credits if we don't have
15486         the new GtkAboutDialog (older versions of GTK+)
15487
15488 2005-10-26  Robert Love  <rml@novell.com>
15489
15490         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15491           failure; correct usage text for "--no-daemon"
15492
15493 2005-10-25  Dan Williams  <dcbw@redhat.com>
15494
15495         * src/NetworkManagerDevice.c
15496                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15497                         no scan results
15498                 - (free_process_scan_cb_data): unref the device when freeing results
15499                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15500                         so we don't unref the device underneath ourselves
15501
15502 2005-10-25  Dan Williams  <dcbw@redhat.com>
15503
15504         * Back out 2005-10-24 commit from Tor Krill.  Patch
15505                 causes nameservers never to be removed from named.
15506
15507 2005-10-24  Dan Williams  <dcbw@redhat.com>
15508
15509         Clean up wireless scanning and wireless link probing.
15510
15511         * src/NetworkManagerDevice.c
15512                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15513                         just see if there's an activation request on the device, and check the
15514                         current link against the activation request access point's ESSID.
15515                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15516                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15517                         don't call process_scan_results() on zero-length data
15518                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15519                         15 seconds (from 10)
15520
15521 2005-10-24  Dan Williams  <dcbw@redhat.com>
15522
15523         Cleanup some applet stuff:
15524
15525         - Animation timeouts.  If NM died while the applet was animating,
15526                 the applet would not hide itself.  This is now fixed.
15527
15528         - Remove some dead code
15529
15530         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15531                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15532
15533         - Track animation timeout using a gboolean rather than the timeout's
15534                 ID, since timeout IDs can legally be 0.
15535
15536 2005-10-24  Dan Williams  <dcbw@redhat.com>
15537
15538         * src/backends/interface_parser.c
15539                 - Add void to function declarations that need it
15540                         to match patch from Engin AYDOGAN
15541
15542         * src/backends/interface_parser.h
15543                 - Remove unused prototype for ifparser_interfaces()
15544
15545         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15546         * src/backends/interface_parser.h:
15547                 - Compile fixes for gcc 4.0.2 (add void)
15548
15549 2005-10-24  Dan Williams  <dcbw@redhat.com>
15550
15551         Patch from Tor Krill <tor@krill.nu>
15552         * src/named-manager/nm-named-manager.c
15553                 - Write more than just the first nameserver to /etc/resolv.conf
15554                 - Write out valid /etc/resolv.conf on exit
15555
15556 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15557
15558         * gnome/applet/applet-dbus-vpn.c:
15559         Get rid of spurious newlines in debug console output
15560
15561 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15562
15563         * src/backends/NetworkManagerGentoo.c:
15564         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15565
15566 2005-10-20  Robert Love  <rml@novell.com>
15567
15568         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15569           direct comparison of floating point values, which is never correct.
15570           Also some misc. cleanup.
15571
15572 2005-10-19  Robert Love  <rml@novell.com>
15573
15574         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15575
15576 2005-10-19  Robert Love  <rml@novell.com>
15577
15578         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15579           sensitivity of the buttons.  Specificaly, do the right thing if
15580           there are no entries.
15581
15582 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15583
15584         * configure.in: Update check for adequate wireless-tools
15585         with an AC_TRY_COMPILE for the new symbols we use.
15586
15587 2005-10-19  Dan Williams  <dcbw@redhat.com>
15588
15589         * src/NetworkManagerDevice.c
15590                 - (process_scan_results): don't drop the last (or only)
15591                         access point we see
15592
15593 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15594
15595         * src/backends/NetworkManagerSlackware.c:
15596         Patch from Nico <lordllucifer@gmail.com>
15597                 - Update the Slackware backend.
15598
15599 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15600
15601         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15602         if we've got GLib 2.8.0
15603
15604 2005-10-18  Robert Love  <rml@novell.com>
15605
15606         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15607           function nm_schedule_state_change_signal_broadcast() when we
15608           deactivate a device, too.
15609
15610 2005-10-18  Robert Love  <rml@novell.com>
15611
15612         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15613           be used uninitialized.
15614
15615 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15616
15617         * test/libnm_glib_test.c: Test unregistering, too.
15618
15619 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15620
15621         * configure.in: Bump to 0.5.0
15622
15623 2005-10-17  Dan Williams  <dcbw@redhat.com>
15624
15625         * NetworkManager.h
15626                 - Remove WPA-related constants so they aren't part of the
15627                         upcoming release.
15628
15629 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15630
15631         * gnome/applet/applet.c:
15632         * gnome/applet/applet.h:
15633         Desensitize the 'Connection Information' menu item when there is
15634         no active connection.
15635
15636 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15637
15638         * gnome/libnm_glib/libnm_glib.c:
15639         Make libnm_glib_unregister_callback () actually unregister the callback
15640
15641 2005-10-17  Robert Love  <rml@novell.com>
15642
15643         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15644           two seconds -- tries is updated every 1/10 of a second, not every
15645           second..
15646
15647 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15648
15649         * gnome/applet/applet-dbus-info.c:
15650         Let D-BUS know that we haven't handled a message when we haven't.
15651
15652 2005-10-17  Robert Love  <rml@novell.com>
15653
15654         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15655           in order to remain 64-bit clean.
15656
15657 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15658
15659         * gnome/applet/applet-dbus-info.c:
15660         Find network encryption keys asynchronously
15661
15662 2005-10-17  Robert Love  <rml@novell.com>
15663
15664         * src/backends/NetworkManagerDebian.c,
15665           src/backends/NetworkManagerRedHat,
15666           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15667           comment delimiter.
15668
15669 2005-10-17  Robert Love  <rml@novell.com>
15670
15671         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15672           "/etc"
15673
15674 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15675
15676         * src/NetworkManagerDevice.c: (process_scan_results)
15677         Fix logic that checks to see whether we have an ESSID.
15678
15679 2005-10-15  Dan Williams  <dcbw@redhat.com>
15680
15681         Move scanning code into NetworkManager rather than use iwlib's
15682         iw_scan() function, so that we can figure out AP capabilities.
15683
15684         * NetworkManager.h
15685                 - Add AP capability bits
15686
15687         * src/NetworkManagerAP.[ch]
15688                 - Add capability field to NMAccessPoint structure
15689                 - Add WPA & RSN Information Element fields and accessor
15690                         functions to NMAccessPoint
15691
15692         * src/NetworkManagerDevice.c
15693                 - Remove usage of iw_scan
15694                 - Add scanning code to NetworkManager rather than use
15695                         iw_scan() from iwlib
15696
15697         * src/NetworkManagerUtils.[ch]
15698                 - (nm_dispose_scan_results): remove, unused
15699
15700 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15701
15702         * gnome/libnm_glib/libnm_glib.c:
15703         * gnome/libnm_glib/libnm_glib.h:
15704         Use guint instead of gint for callback IDs.
15705
15706 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15707
15708         * gnome/applet/applet.c:
15709         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15710         every 1000ms.  It will unconditionally call nmwa_update_state which
15711         kills the existing animation timeout and registers a new one with a
15712         callback to draw a new frame every 100ms.  There are 11 connecting
15713         icon frames, so the last 2 frames kept getting dropped.  Only reset
15714         the animation timeout if we aren't animating.
15715
15716 2005-10-11  Dan Williams  <dcbw@redhat.com>
15717
15718         * gnome/applet/applet-dbus-devices.c
15719                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15720                         We want to grab the product & vendor from net.physical_dev
15721                         rather than info.parent.
15722
15723 2005-10-11  Dan Williams  <dcbw@redhat.com>
15724
15725         * src/NetworkManagerDevice.c
15726                 - Use the driver's WE version for scanning rather than
15727                         the WE version NM was compiled with.  Fixes random
15728                         crashes in iw_scan () in iwlib.
15729
15730 2005-10-10  Dan Williams  <dcbw@redhat.com>
15731
15732         * Remove nm_system_load_device_modules() from backend files
15733                 and from NetworkManager.c
15734
15735 2005-10-10  Dan Williams  <dcbw@redhat.com>
15736
15737         * src/NetworkManagerPolicy.c
15738                 - Fix some bugs introduced by the capabilities patch
15739
15740 2005-10-10  Dan Williams  <dcbw@redhat.com>
15741
15742         * gnome/applet/applet-dbus-info.c
15743                 - (nmi_dbus_get_network_key): hide the menu when putting up
15744                         the keyring dialog.  (not sure if the code is right...)
15745
15746 2005-10-09  Dan Williams  <dcbw@redhat.com>
15747
15748         Patch from Bill Moss <bmoss@clemson.edu>
15749         * src/NetworkManagerDevice.c
15750                 - (nm_device_set_user_key_for_network): don't try to set auth
15751                         mode on the AP from the allowed list if it's NULL
15752
15753 2005-10-09  Dan Williams  <dcbw@redhat.com>
15754
15755         * Replace the "driver support level" stuff with capabilities.  The
15756                 capability field is a bitfield that is more flexible than the
15757                 old driver support level thing.  It's mostly so we can easily
15758                 figure out what supports WPA and what doesn't, but should be
15759                 quite useful later.
15760
15761 2005-10-09  Dan Williams  <dcbw@redhat.com>
15762
15763         * test/nmtest.c
15764                 - Removed
15765
15766         * test/nm-tool.c
15767           test/Makefile.am
15768                 - Added new "nm-tool" tool that gives quite a bit more
15769                         information
15770
15771 2005-10-07  Robert Love  <rml@novell.com>
15772
15773         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15774           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15775           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15776           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15777           appropriate
15778
15779 2005-10-07  Robert Love  <rml@novell.com>
15780
15781         * configure.in: Change our compile flags for the betterment of mankind.
15782           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15783           prototype is very bad on 64-bit platforms as types default to int but
15784           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15785           "-Wmissing-declarations" to warn if we define an exported function
15786           but fail to put it in a header.
15787
15788 2005-10-07  Robert Love  <rml@novell.com>
15789
15790         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15791           by the name nm_update_device_wireless_timeouts() and once tried,
15792           without success, to steal my pet turtle.
15793
15794 2005-10-07  Robert Love  <rml@novell.com>
15795
15796         * Cleanup prototypes: put some functions in header files and mark
15797           others as 'static' -- feel free to invert
15798         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15799           nm_vpn_manager_vpn_connection_list_copy()
15800         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15801           nm_vpn_service_get_dbus_connection()
15802         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15803           nm_vpn_manager_vpn_connection_list_copy()
15804         * src/vpn-manager/nm-vpn-service.c: make
15805           nm_vpn_service_act_request_failed() and
15806           nm_vpn_service_stage2_daemon_wait() static
15807         * src/vpn-manager/nm-vpn-service.h: add prototype for
15808           nm_vpn_service_get_dbus_connection()
15809
15810 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15811
15812         * gnome/applet/applet.c:
15813         * gnome/applet/applet.h:
15814         * gnome/applet/icons/Makefile.am:
15815         Convey information about the current connection stage in the
15816         icons themselves instead of creating a separate progress bar.
15817
15818 2005-10-04  Robert Love  <rml@novell.com>
15819
15820         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15821           convert an ether_addr structure's MAC into a string, because the
15822           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15823           versus 07:3B:04, while the former will not.
15824
15825 2005-10-04  Robert Love  <rml@novell.com>
15826
15827         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15828           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15829           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15830           default route in the 'Connection Information' dialog, send primary
15831           and secondary name servers in in "getProperties" DBUS method, add
15832           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15833           secondary domain name servers are crucial pieces of information
15834           that a user might need in debugging a network problem.
15835
15836 2005-10-04  Robert Love  <rml@novell.com>
15837
15838         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15839           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15840           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15841           default route in the 'Connection Information' dialog, send default
15842           route in "getProperties" DBUS method, add network_device_set_route(),
15843           and network_device_get_route().  The Gateway is a crucial piece of
15844           connection-related information that a user might need in debugging a
15845           network problem.
15846
15847 2005-10-03  Robert Love  <rml@novell.com>
15848
15849         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15850           NULL.
15851
15852 2005-10-02  Dan Williams  <dcbw@redhat.com>
15853
15854         * Shorten time taken to sleep by fastpathing bits of device deactivation
15855                 necessary for sleep.
15856
15857         * Fix issue where deactivating a device might deactivate the active
15858                 VPN connection, even if the VPN was not using the device.
15859
15860 2005-10-02  Dan Williams  <dcbw@redhat.com>
15861
15862         * gnome/applet/applet.c
15863                 - Adjust signal strength -> icon mapping values slightly
15864                         (so that 51% signal doesn't show a 75% icon) by adding
15865                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15866                         shows 50% icon, etc.
15867
15868 2005-09-29  Robert Love  <rml@novell.com>
15869
15870         * src/NetworkManager.c: removed unused variable.
15871
15872 2005-09-28  Dan Williams  <dcbw@redhat.com>
15873
15874         Support for named + DBus, using Red Hat DBus patches for named.  You
15875         can find those patches here, with "dbus" in the patch's filename:
15876
15877                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15878
15879         Don't forget the named dbus service file either.
15880
15881         Instead of writing a config file and spawing a named process, NM will
15882         use an already-running dbus-enabled named if it finds one.  NM will
15883         update named's forwarder configuration on the fly using dbus.
15884
15885         If there is no dbus-enabled named running, NM will automatically fall
15886         back to writing the most-recent DNS server information to /etc/resolv.conf
15887         and calling nm_system_update_dns() to kick the system's resolver.
15888
15889         Accordingly, all named-related configure-time options have been removed.
15890
15891 2005-09-26  Robert Love  <rml@novell.com>
15892
15893         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15894           ISDN support!
15895         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15896           bug in error path if "ASKPASSWORD" is "no".
15897
15898 2005-09-26  Robert Love  <rml@novell.com>
15899
15900         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15901           comment in /etc/resolv.conf -- ';' is not.
15902
15903 2005-09-19  Dan Williams  <dcbw@redhat.com>
15904
15905         * src/backends/NetworkManagerRedHat.c:
15906         * src/backends/NetworkManagerDebian.c:
15907         * src/backends/NetworkManagerSlackware.c:
15908         * src/backends/NetworkManagerGentoo.c:
15909         * src/backends/NetworkManagerSUSE.c:
15910         Fix invocations of "/sbin/ip address" to use short form instead
15911
15912 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15913
15914         * src/nm-dbus-device.c: Don't assert when getting
15915         addresses of a not yet connected interface.
15916
15917         * gnome/applet/applet.c: Free icons if loading fails.
15918         Use translator-credits so translators can make themselves known.
15919
15920 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15921
15922         * src/NetworkManagerAP.c:
15923         * src/NetworkManagerAP.h:
15924         * src/NetworkManagerDevice.c:
15925         Set a blacklist for certain common manufacturer default ESSIDs:
15926         APs with these ESSIDs are extremely likely to be completely
15927         different networks: connecting to one should not make NM
15928         auto-connect to every other AP with the same default ESSID.
15929
15930 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15931
15932         * gnome/applet/wireless-applet.glade:
15933         The passphrase entry should also activate the default
15934
15935         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15936
15937         * gnome/applet/applet-dbus-devices.c:
15938         * gnome/applet/applet.c:
15939         * gnome/applet/nm-device.c:
15940         * gnome/applet/nm-device.h:
15941         * src/NetworkManagerUtils.c:
15942         * src/NetworkManagerUtils.h:
15943         * src/nm-dbus-device.c:
15944         I've got a fever, and the only cure for it is less ioctl.
15945         Make NM push IP data rather than make the applet open a socket
15946         to the device.
15947
15948 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15949
15950         * gnome/applet/applet.c:
15951         * gnome/applet/applet-dbus-devices.c:
15952         * gnome/applet/applet-dbus-info.c:
15953         * gnome/applet/passphrase-dialog.c:
15954         * gnome/libnm_glib/libnm_glib.c:
15955         * gnome/vpn-properties/nm-vpn-properties.c:
15956         * src/autoip.c:
15957         * src/backends/NetworkManagerRedHat.c:
15958         * src/named-manager/nm-named-manager.c:
15959         * src/NetworkManagerAPList.c:
15960         * src/NetworkManager.c:
15961         * src/NetworkManagerDbus.c:
15962         * src/NetworkManagerDevice.c:
15963         * src/NetworkManagerPolicy.c:
15964         * src/NetworkManagerSystem.c:
15965         * src/nm-dbus-device.c:
15966         * src/nm-dbus-nm.c:
15967         * src/vpn-manager/nm-vpn-manager.c:
15968         * src/vpn-manager/nm-vpn-service.c:
15969         * test/libnm_glib_test.c:
15970         * test/nminfotest.c:
15971         * test/nmtestdevices.c:
15972         Fix a bunch of 'unused variable' compiler warnings
15973
15974         * NetworkManager.h:
15975         * gnome/applet/applet-dbus-info.c:
15976         * gnome/applet/applet-dbus-info.h:
15977         * gnome/applet/applet.c:
15978         * gnome/applet/applet.h:
15979         * src/NetworkManager.c:
15980         * src/NetworkManagerDbus.c:
15981         * src/NetworkManagerDbus.h:
15982         * src/NetworkManagerDevice.c:
15983         * src/NetworkManagerDevice.h:
15984         * src/NetworkManagerMain.h:
15985         * src/NetworkManagerWireless.c:
15986         * src/NetworkManagerWireless.h:
15987         * src/nm-dbus-nm.c:
15988         Make NetworkManager be smart about how frequently to scan
15989         based on its current state.  Remove the UI for choosing when
15990         to scan.  Scanning still may disabled completely by the user
15991         via the "Wireless Enabled" menu item.
15992
15993 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15994
15995         * gnome/applet/applet.c:
15996         Also overlay the vpn connecting icons onto the wired icon,
15997         when appropriate.
15998
15999         * gnome/vpn-properties/nm-vpn-properties.glade:
16000         Clean up a few strings to use better grammar and proper casing.
16001
16002 2005-09-08  Christopher Aillon  <caillon@redhat.com>
16003
16004         * gnome/applet/vpn-connection.c:
16005         * gnome/applet/vpn-connection.h:
16006         Add nmwa_vpn_connection_is_activating ()
16007
16008         * gnome/applet/applet.c:
16009         * gnome/applet/applet.h:
16010         * gnome/applet/icons/nm-vpn-connecting*.png:
16011         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16012         the user know something's happening between clicking the VPN item and it
16013         actually being connected.
16014
16015 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16016
16017         * gnome/applet/applet-dbus-info.c: need to free attributes in the
16018         failure case as well.
16019
16020 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
16021
16022         * gnome/panel/eggtrayicon.[ch]:
16023         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16024
16025 2005-09-07  Dan Williams  <dcbw@redhat.com>
16026
16027         Patch from Bill Moss <bmoss@clemson.edu>
16028         * src/applet-dbus.c
16029                 - (nmwa_dbus_filter): strip whitespace from beginning
16030                         and end of VPN login banner
16031
16032 2005-09-07  Dan Williams  <dcbw@redhat.com>
16033
16034         * The great VPN Manager rewrite of 2005
16035
16036 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16037
16038         * gnome/applet/menu-items.c:
16039         * gnome/applet/nm-device.c:
16040         * gnome/applet/wireless-network.c:
16041         * gnome/libnm_glib/libnm_glib.c:
16042         * src/NetworkManagerDbusUtils.c:
16043         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16044         g_malloc0 doesn't return NULL
16045
16046 2005-09-06  Dan Williams  <dcbw@redhat.com>
16047
16048         Patch from Tomislav Vujec <tvujec@redhat.com>
16049         * src/NetworkManagerDevice.c
16050                 - (nm_get_device_by_udi): don't return a device when we
16051                         actually didn't find what we were looking for
16052
16053 2005-09-06  Christopher Aillon  <caillon@redhat.com>
16054
16055         * gnome/applet/applet-dbus-devices.c:
16056         * gnome/applet/applet-dbus-devices.h:
16057         * gnome/applet/applet-dbus.c:
16058         * src/NetworkManagerDbus.c:
16059         * src/NetworkManagerDbus.h:
16060         * src/NetworkManagerDevice.c:
16061         * src/nm-dbus-device.c:
16062         Make NM push updates about active device strength when it changes,
16063         rather than having the applet poll every 2s.
16064
16065 2005-09-05  Christopher Aillon  <caillon@redhat.com>
16066
16067         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16068         network_device_set_strength
16069
16070 2005-09-04  Dan Williams  <dcbw@redhat.com>
16071
16072         Patch from Bill Nottingham <notting@redhat.com>
16073         * src/NetworkManagerDevice.c
16074                 - (nm_device_activation_cancel): reset the quit_activation flag
16075
16076 2005-09-04  Dan Williams  <dcbw@redhat.com>
16077
16078         * src/nm-activation-request.c
16079                 - (nm_act_request_unref): actually free the structure,
16080                         which we didn't seem to be doing before
16081
16082 2005-09-04  Dan Williams  <dcbw@redhat.com>
16083
16084         Patch from John Palmieri <johnp@redhat.com>
16085         * gnome/applet/applet-dbus-devices.c
16086                 - Fix up unreffing of DBusMessage objects
16087
16088 2005-09-04  Dan Williams  <dcbw@redhat.com>
16089
16090         Patch from John Palmieri <johnp@redhat.com>
16091         * gnome/applet/nm-device.c
16092                 - (nm_device_unref): clear network_device's memory _before_ freeing it
16093
16094 2005-09-02  Christopher Aillon  <caillon@redhat.com>
16095
16096         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16097
16098 2005-09-02  Bill Nottingham  <notting@redhat.com>
16099
16100         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16101
16102 2005-09-01  Dan Williams  <dcbw@redhat.com>
16103
16104         * src/NetworkManager.c
16105                 - (nm_remove_device_from_list): rename to nm_remove_device
16106                 - (nm_hal_device_removed): call nm_remove_device()
16107
16108         * src/NetworkManagerDevice.c
16109                 - Change the NMWirelessScanCB member 'reschedule' which
16110                         wasn't used to 'force' to indicate that we need to
16111                         force a scan when adding a device
16112
16113         * src/nm-dbus-nm.c
16114                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16115                         from the device list
16116                 - (nm_dbus_nm_wake): Re-add all devices to the device list
16117
16118 2005-09-01  Robert Love  <rml@novell.com>
16119
16120         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16121           and the check "!iface" in the error case is probably never true.
16122
16123 2005-09-01  Dan Williams  <dcbw@redhat.com>
16124
16125         Patch from Bill Nottingham <notting@redhat.com>
16126         * src/backends/NetworkManagerRedHat.c
16127                 - Add initial dialup support to Red Hat/Fedora backend
16128
16129 2005-09-01  Dan Williams  <dcbw@redhat.com>
16130
16131         * gnome/applet/applet-dbus-devices.c
16132                 - Sort both wireless networks and devices again, which got
16133                         broken when removing threading
16134
16135 2005-09-01  Christopher Aillon  <caillon@redhat.com>
16136
16137         * gnome/applet/applet.c:
16138         Only show the "Stop/Start All Wireless Devices" menuitem
16139         if we actually have wireless devices.
16140
16141         * gnome/applet/applet-dbus-info.c:
16142         * gnome/applet/applet.c:
16143         * gnome/applet/other-network-dialog.c:
16144         * gnome/applet/vpn-password-dialog.c:
16145         Drop the gtk_dialog_run () calls in favor of connecting to
16146         "response" signals, needed now that the applet is not threaded.
16147
16148 2005-08-31  Dan Williams  <dcbw@redhat.com>
16149
16150         Patch from Bill Moss <bmoss@clemson.edu>
16151         * src/NetworkManagerDevice.c
16152                 - (nm_device_wireless_scan): fix scan timeout values
16153
16154 2005-08-30  Dan Williams  <dcbw@redhat.com>
16155
16156         * gnome/applet/wireless-applet.glade
16157                 - HIG-ify the Other Wireless Networks dialog a bit more
16158                 - Fix some potential segfaults in the info dialog
16159
16160 2005-08-30  Dan Williams  <dcbw@redhat.com>
16161
16162         * gnome/applet/applet-dbus-devices.c
16163                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16164
16165 2005-08-30  Dan Williams  <dcbw@redhat.com>
16166
16167         * gnome/applet/applet-dbus.[ch]
16168                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16169                         they weren't being used anyway
16170
16171 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16172
16173         * test/nmtestdevices.c: (print_usage), (main):
16174         Check the number of arguments, and fix a typo
16175
16176 2005-08-29  Dan Williams  <dcbw@redhat.com>
16177
16178         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16179         * gnome/applet/applet.c
16180                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16181
16182 2005-08-29  Dan Williams  <dcbw@redhat.com>
16183
16184         * gnome/applet/*
16185                 - Don't use threads any more.  Anything that blocks
16186                         (like gtk_dialog_run()) will  have to get fixed up which
16187                         should happen quickly.  We really only had threads to make
16188                         the animation smooth, and when everything got converted over
16189                         to DBus Pending Calls, the need for threads kind of went away
16190
16191 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16192
16193         * gnome/applet/applet.c: Draw VPN connections as radio items
16194         since we don't yet support multiple VPNs.
16195         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16196         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16197
16198 2005-08-29  Dan Williams  <dcbw@redhat.com>
16199
16200         Patch from j@bootlab.org
16201         - Make --without-named work
16202         - Make --with-dhcdbd work correctly
16203
16204 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16205
16206         * configure.in: Added "ca" to ALL_LINGUAS.
16207
16208 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16209
16210         * Fix up VPN state handling between the applet and NetworkManager,
16211                 so that the applet doesn't show a VPN as connected when one
16212                 really is not
16213                         - The applet no longer has a pointer to the active VPN's
16214                                 name, but tracks each VPNs state individually
16215                         - NM no longer has a "getActiveVPNConnection" method
16216                         - NM no longer broadcasts the "VPNConnectionChange" signal
16217                         - NM now broadcasts a "VPNConnectionStateChange" signal
16218                                 whenever the state of a VPN changes
16219
16220 2005-08-26  Dan Williams <dcbw@redhat.com>
16221
16222         * gnome/applet/applet-dbus-devices.c
16223           gnome/applet/applet-dbus-vpn.c
16224                 - Remove calls to dbus_pending_call_ref() because we already
16225                         "own" the pending call
16226                 - Remove calls to dbus_pending_call_get_completed() because
16227                         when we are in the callback, the pending call is completed
16228                         by definition
16229
16230 2005-08-22  Dan Williams <dcbw@redhat.com>
16231
16232         Patch by Bill Moss <bmoss@clemson.edu>
16233         * src/dhcp-manager/nm-dhcp-manager.c
16234                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16235                         some time to send out a RELEASE if they like
16236
16237 2005-08-22  Dan Williams <dcbw@redhat.com>
16238
16239         Noticed by Bill Moss <bmoss@clemson.edu>
16240         * src/NetworkManagerDbus.c
16241                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16242                         instead of just cancelling its activation
16243
16244         * src/NetworkManagerDevice.c
16245                 - (nm_device_deactivate): some small cleanups
16246                 - (nm_device_set_user_key_for_network): deactivate the device
16247                         instead of just cancelling its activation
16248
16249 2005-08-22  Dan Williams <dcbw@redhat.com>
16250
16251         Noticed by Bill Moss <bmoss@clemson.edu>
16252         * src/NetworkManagerDevice.c
16253                 - (nm_device_wireless_scan): fix scan timeout, we were
16254                         waiting way too long for scans to complete
16255
16256 2005-08-22  Dan Williams <dcbw@redhat.com>
16257
16258         Patch from j@bootlab.org:
16259         * src/backends/NetworkManagerDebian.c
16260                 - Make the Debian backend work for static IP again
16261
16262 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16263
16264         * gnome/applet/other-network-dialog.c:
16265         The "Create New Network" and "Connect to Other Network"
16266         dialogs share alot of code, but shouldn't share a window
16267         title.  Give them different ones.
16268
16269         * gnome/applet/wireless-applet.glade:
16270         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16271         Some more minor UI tweaks.
16272
16273 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16274
16275         * gnome/applet/other-network-dialog.c:
16276         * gnome/applet/wireless-applet.glade:
16277         Also need mnemonic widgets, and underline enabled.
16278
16279 2005-08-19  Dan Williams <dcbw@redhat.com>
16280
16281         * vpn-daemons/vpnc/nm-vpnc-service.c
16282                 - (vpnc_watch_cb): remove no-longer-relevant comment
16283                 - (write_config_option): new function, helper to write
16284                         config options to vpnc's stdin
16285                 - (nm_vpnc_config_write): use the new helper, make the
16286                         code shorter
16287
16288 2005-08-19  Christopher Aillon <caillon@redhat.com>
16289
16290         * gnome/applet/passphrase-dialog.c:
16291         * gnome/applet/wireless-applet.glade:
16292         Make the passphrase dialog response based, and treat
16293         responses other than OK (such as Esc, [X]) as a cancel.
16294
16295 2005-08-18  Christopher Aillon <caillon@redhat.com>
16296
16297         * initscript/Gentoo/NetworkManager:
16298         * initscript/RedHat/NetworkManager:
16299         * initscript/RedHat/NetworkManagerDispatcher:
16300         * initscript/SUSE/networkmanager:
16301         CVS remove these in place of .in replacements
16302
16303         * configure.in:
16304         * initscript/Gentoo/NetworkManager.in:
16305         * initscript/RedHat/NetworkManager.in:
16306         * initscript/RedHat/NetworkManagerDispatcher.in:
16307         * initscript/SUSE/networkmanager.in:
16308         These scripts now are generated so they work still when
16309         NM is built using a bindir other than /usr/bin
16310
16311 2005-08-18  Dan Williams <dcbw@redhat.com>
16312
16313         * gnome/applet/main.c
16314                 - Revert previous change for --no-session since
16315                         --sm-disable does the same thing
16316
16317 2005-08-18  Dan Williams <dcbw@redhat.com>
16318
16319         * gnome/applet/applet-dbus-info.c
16320                 - (nmi_dbus_create_error_message): new function
16321                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16322                         functions.  Also don't check for both device _and_ network before
16323                         asking for a user's key, because we may not have gotten all our
16324                         networks back from NM quite yet (due to the dbus pending calls
16325                         coming in later).  Fixes a hang in NM/nm-applet.
16326
16327         * src/NetworkManagerDbus.c
16328                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16329                         slightly more sane manner, even though we are still broken for
16330                         certain other error conditions.
16331                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16332                         to the info-daemon too
16333
16334         * src/NetworkManagerDevice.c
16335                 - Fix some debug messages to be info messages instead
16336
16337 2005-08-18  Dan Williams <dcbw@redhat.com>
16338
16339         * gnome/applet/main.c
16340                 - Add new "--no-session" parameter that disables applet
16341                         session management, ie for testing
16342
16343 2005-08-18  Christopher Aillon <caillon@redhat.com>
16344
16345         * gnome/applet/other-network-dialog.c:
16346         * gnome/applet/wireless-applet.glade: More mnemonics
16347
16348 2005-08-17  Robert Love  <rml@novell.com>
16349
16350         * initscript/SUSE/networkmanager: update
16351
16352 2005-08-17  Dan Williams  <dcbw@redhat.com>
16353
16354         * Tag NM_0_4_1_RELEASE
16355
16356 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16357
16358         * gnome/applet/applet.c: More translatable string cleanup
16359
16360
16361 2005-08-17  Dan Williams  <dcbw@redhat.com>
16362
16363         * gnome/applet/applet-dbus-info.c
16364                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16365                         from the dbus message, which tells us to unconditionally
16366                         ask the user for a new key.  Otherwise, we pull the key from
16367                         the keyring and return it.  If we fail to get the key from the
16368                         keyring, we ask the user for a new key.
16369                 - (nmi_dbus_get_network_key): new function to grab the key for
16370                         an essid from the keyring.
16371                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16372                         Also, don't return any key in the dbus message.
16373
16374         * src/NetworkManagerDbus.[ch]
16375                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16376                         indicate that we unconditionally want a new key.  This function
16377                         is now also used to get keys from the info-daemon which are
16378                         pre-stored, not just for asking the user for a new key.  The
16379                         "new_key" parameter indicates whether or not we wish to ask the
16380                         user for a new key.
16381                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16382                         info-daemon in the return message, so use NULL instead.  The
16383                         key will be filled in at connect time by calling
16384                         nm_dbus_get_user_key_for_network()
16385
16386         * src/NetworkManagerDevice.c
16387                 - (nm_device_wireless_configure): update for "new_key" param to
16388                         nm_dbus_get_user_key_for_network().  We initially set new_key
16389                         to FALSE to see if we have a stored key in the info-daemon, but
16390                         if the connection is unsuccessful at this stage we request a
16391                         new one
16392
16393 2005-08-17  Dan Williams  <dcbw@redhat.com>
16394
16395         * gnome/applet/icons/nm-no-connection.png
16396           gnome/applet/icons/nm-device-wired.png
16397                 - Use Diana's new RJ45 connector icons
16398
16399 2005-08-17  Dan Williams  <dcbw@redhat.com>
16400
16401         * src/NetworkManagerPolicy.c
16402                 - (nm_policy_device_change_check): clarify switching rules if
16403                         both new and old devices are valid; mainly, don't switch
16404                         away from user-requested wireless connection back to a wired
16405                         one
16406
16407 2005-08-17  Dan Williams  <dcbw@redhat.com>
16408
16409         * gnome/applet/Makefile.am
16410                 - Relocate the applet to /usr/bin since it is no longer
16411                         executed by anything, but directly by the user
16412
16413 2005-08-17  Dan Williams  <dcbw@redhat.com>
16414
16415         Patch from Bill Moss <bmoss@clemson.edu>
16416
16417         * gnome/applet/applet-dbus-info.[ch]
16418                 - (nmi_save_network_info): save timestamp for network if it
16419                         was a change requested by the user
16420                 - (nmi_dbus_update_network_info): get user_requested from dbus
16421                         message and pass to nmi_save_network_info()
16422
16423         * gnome/applet/applet.c
16424                 - (nmwa_update_network_timestamp): remove
16425                 - (nmwa_menu_item_activate): don't set timestamp on networks
16426                         here, only after a successful connect in nmi_save_network_info()
16427
16428         * src/NetworkManagerDbus.[ch]
16429                 - (nm_dbus_update_network_info): pass user_requested into the 
16430                         dbus message
16431
16432         * src/NetworkManagerPolicy.c
16433                 - (nm_policy_activation_finish): pass user_requested to
16434                         nm_dbus_update_network_info()
16435
16436 2005-08-16  Robert Love  <rml@novell.com>
16437
16438         * gnome/applet/applet.c: Better "Dial Up" menu item.
16439
16440 2005-08-16  Robert Love  <rml@novell.com>
16441
16442         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16443           "Connection Information" menu item.
16444
16445 2005-08-16  Dan Williams  <dcbw@redhat.com>
16446
16447         Patch from j@bootlab.org
16448         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16449
16450         * configure.in: allow specifying the path to dhcdbd
16451
16452 2005-08-16  Robert Love  <rml@novell.com>
16453
16454         Patch from j@bootlab.org
16455         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16456           src/backends/interface_parser.h: Debian dialup support.
16457
16458 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16459
16460         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16461         * gnome/applet/applet.c: Add some mnemonics for VPNC
16462
16463         * vpn-daemons/.cvsignore: fix this up a little bit
16464
16465 2005-08-16  Robert Love  <rml@novell.com>
16466
16467         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16468           support.
16469
16470 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16471
16472         * gnome/applet/applet.c: Split markup out of translatable strings
16473         and clean up logic a little bit.  (fixes #309012)
16474
16475 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16476
16477         * gnome/vpn-properties/nm-vpn-properties.c:
16478         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16479         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16480         Makeshift fix to remove newlines from translatable strings.
16481         Note that we now return an allocated string, so callers of
16482         get_confirmation_details () must now call g_free () on the
16483         result. (fixes #309033).
16484
16485 2005-08-12  Robert Love  <rml@novell.com>
16486
16487         * gnome/applet/applet-dbus.c: remove newlines from translatable
16488           strings--not needed here anyway. (fix b.g.o #309011)
16489         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16490
16491 2005-08-11  Robert Love  <rml@novell.com>
16492
16493         * gnome/applet/applet.c: mark string as translatable.
16494
16495 2005-08-11  Robert Love  <rml@novell.com>
16496
16497         * initscript/SUSE/networkmanager: update.
16498
16499 2005-08-11  Dan Williams  <dcbw@redhat.com>
16500
16501         * src/nm-dhcp-manager.c
16502                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16503                         an gateway returned from DHCP, try to use the address of the DHCP
16504                         server as the gateway instead.  Found by Ralf Ertzinger.
16505
16506 2005-08-10  Robert Love  <rml@novell.com>
16507
16508         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16509           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16510
16511 2005-08-10  Dan Williams  <dcbw@redhat.com>
16512
16513         Patch from Bill Moss <bmoss@clemson.edu>
16514         * Consolidate writes of access point information updates to the info daemon
16515                 so that we only do it when the connection to the access point was
16516                 successful.  Also consolidates updates to GConf in the Gnome applet.
16517
16518         * src/nm-netlink-monitor.c
16519                 - Silence compile warning when calling g_object_new()
16520
16521 2005-08-08  Dan Williams  <dcbw@redhat.com>
16522
16523         Patch from Steev <steev@steev.net>:
16524         * src/backends/NetworkManagerGentoo.c
16525                 - Stub new dialup backend functions
16526
16527 2005-08-08  Dan Williams  <dcbw@redhat.com>
16528
16529         Patch from Colin Slater:
16530         * src/backends/NetworkManagerGentoo.c
16531                 - (nm_system_update_dns): Fix exit status check for restarting
16532                         nscd
16533
16534 2005-08-05  Robert Love  <rml@novell.com>
16535
16536         * NetworkManager.h,
16537           gnome/applet/applet-dbus-devices.c,
16538           gnome/applet/applet-dbus-devices.h,
16539           gnome/applet/applet-dbus.c,
16540           gnome/applet/applet.c,
16541           gnome/applet/applet.h,
16542           src/NetworkManager.c,
16543           src/NetworkManagerMain.h,
16544           src/NetworkManagerSystem.h,
16545           src/backends/NetworkManagerRedHat.c,
16546           src/backends/NetworkManagerSuSE.c,
16547           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16548
16549 2005-08-05  Robert Love  <rml@novell.com>
16550
16551         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16552           machine's hostname to make adhoc creation idiot-proof.
16553
16554 2005-08-04  Robert Love  <rml@novell.com>
16555
16556         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16557           freed.
16558
16559 2005-08-04  Dan Williams  <dcbw@redhat.com>
16560
16561         * gnome/applet/applet-dbus-info.c
16562           gnome/applet/applet-dbus-info.h
16563                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16564                         to store key, key type, and auth method rather than just auth method
16565                 - (nmi_dbus_update_network_info): new function
16566                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16567
16568         * gnome/applet/passphrase-dialog.c
16569                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16570                         of saving the info ourselves
16571
16572         * gnome/libnm_glib/libnm_glib.c
16573                 - Remove the stupid version check for dbus
16574
16575         * src/NetworkManagerAP.c
16576           src/NetworkManagerAP.h
16577                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16578
16579         * src/NetworkManagerDbus.c
16580           src/NetworkManagerDbus.h
16581                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16582                         more than just the auth method
16583
16584         * src/NetworkManagerDevice.c
16585                 - Update network info at the appropriate times
16586
16587 2005-07-29  Ray Strode  <rstrode@redhat.com>
16588
16589         * src/NetworkManager.c (nm_info_handler): don't use input as format
16590         string (Spotted by Ian Jackson).
16591
16592 2005-07-27  Dan Williams  <dcbw@redhat.com>
16593
16594         * src/nm-dbus-nm.c
16595           src/nm-dbus-net.c
16596                 - Random cleanups of spacing
16597
16598         * gnome/applet/applet.h
16599           gnome/applet/other-network-dialog.c
16600           gnome/applet/passphrase-dialog.c
16601                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16602
16603         Patch from Bill Moss:
16604                 - Make Other Wireless Networks work again with encryption keys
16605
16606 2005-07-26  Dan Williams  <dcbw@redhat.com>
16607
16608         Patch from Steev <steev@steev.net>:
16609         * src/backends/NetworkManagerGentoo.c
16610           src/backends/Makefile.am
16611                 - Fix up Gentoo backend
16612
16613 2005-07-26  Robert Love  <rml@novell.com>
16614
16615         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16616
16617 2005-07-25  Robert Love  <rml@novell.com>
16618
16619         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16620           in the same group as the wireless networks, since they are all
16621           mutually exclusive.
16622
16623 2005-07-24  Ray Strode  <rstrode@redhat.com>
16624
16625         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16626         remove unneeded NULL arg from g_object_new().  Any
16627         warnings caused by not having the extra NULL are just a
16628         result of a bug in glib 2.7.0 - 2.7.2.
16629
16630 2005-07-22  Robert Love  <rml@novell.com>
16631
16632         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16633
16634 2005-07-22  Robert Love  <rml@novell.com>
16635
16636         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16637           parameters (gcc 4.0.2 warning fix).
16638
16639 2005-07-18  Robert Love  <rml@novell.com>
16640
16641         Suggested by Aaron Bockover (abockover@novell.com)
16642         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16643           s/Ascii/ASCII
16644         * gnome/applet/passphrase-dialog.c: ditto
16645         * gnome/applet/wireless-applet.glade: ditto
16646
16647 2005-07-13  Dan Williams  <dcbw@redhat.com>
16648
16649         Patch from Ray Strode <halfline@gmail.com>
16650         * vpn-daemons/vpnc/nm-vpnc-service.c
16651                 - Don't let vpnc daemonize, fixes some races with PID file reading
16652
16653 2005-07-13  Dan Williams  <dcbw@redhat.com>
16654
16655         Patch from Ray Strode <halfline@gmail.com>
16656         * Random cleanups for strict CFLAGS
16657
16658 2005-07-07  Dan Williams  <dcbw@redhat.com>
16659
16660         Patch from Derek Atkins <warlord@MIT.EDU>
16661         * src/nm-dbus-net.c:
16662                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16663
16664 2005-07-07  Dan Williams  <dcbw@redhat.com>
16665
16666         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16667         * src/backends/NetworkManagerGentoo.c
16668                 - Gentoo backend Static IP nameserver fixes
16669                 - General Gentoo backend goodness
16670
16671 2005-07-07  Dan Williams  <dcbw@redhat.com>
16672
16673         Patch from Bastien Nocera:
16674         * gnome/applet/applet.c
16675                 - Fix up error reporting when icons or glade files are missing
16676
16677 2005-07-07  Robert Love  <rml@novell.com>
16678
16679         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16680           are not any VPN connections above it.
16681
16682 2005-07-07  Robert Love  <rml@novell.com>
16683
16684         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16685
16686 2005-07-05  Robert Love  <rml@novell.com>
16687
16688         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16689           zero.
16690
16691 2005-07-05  Robert Love  <rml@novell.com>
16692
16693         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16694           on wired or unencrypted wireless.
16695
16696 2005-07-01  Robert Love  <rml@novell.com>
16697
16698         * src/NetworkManagerSystem.c: Print the error via strerror().
16699
16700 2005-06-30  Robert Love  <rml@novell.com>
16701
16702         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16703           then exit if the glade file is not found.  currently the application
16704           just hangs.
16705
16706 2005-06-30  Robert Love  <rml@novell.com>
16707
16708         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16709           explicitly up all interfaces on wake from sleep.
16710
16711 2005-06-30  Robert Love  <rml@novell.com>
16712
16713         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16714           with information about the currently active connection.
16715         * gnome/applet/applet.h: (ditto)
16716         * gnome/applet/wireless-applet.glade: (ditto), new file
16717
16718 2005-06-30  Robert Love  <rml@novell.com>
16719
16720         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16721         * src/nm-dbus-nm.c: print when we sleep and wake up.
16722         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16723         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16724           in /sbin unless D-BUS is, folks).
16725         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16726
16727 2005-06-27  Robert Love  <rml@novell.com>
16728
16729         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16730           case.
16731
16732 2005-06-27  Robert Love  <rml@novell.com>
16733
16734         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16735           items radios.
16736
16737 2005-06-26  Robert Love  <rml@novell.com>
16738
16739         * src/NetworkManagerDevice.c: be specific about which device in
16740           nm_info() message.
16741
16742 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16743
16744         * src/nm-netlink-monitor.c: correct spelling error.
16745
16746 2005-06-23  Robert Love  <rml@novell.com>
16747
16748         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16749         * gnome/applet/passphrase-dialog.c: more of that keyring!
16750
16751 2005-06-23  Robert Love  <rml@novell.com>
16752
16753         * configure.in: remove extraneous GNOMEKEYRING directives.
16754         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16755         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16756         * gnome/applet/passphrase-dialog.c: whitespace.
16757
16758 2005-06-23  Robert Love  <rml@novell.com>
16759
16760         * src/NetworkManagerDevice.c: division in assignment was flipped.
16761
16762 2005-06-23  David Zeuthen  <david@fubar.dk>
16763
16764         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16765         signal to the child to indicate that we got what we wanted when we
16766         see two new-lines right after each other.
16767         (nmwa_vpn_request_password): Pass a structure with several members
16768         instead of just the passwords
16769
16770 2005-06-23  Dan Williams <dcbw@redhat.com>
16771
16772         * src/NetworkManager.c
16773           src/NetworkManagerMain.h
16774                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16775                 - (nm_hal_init): new function, init libhal context then add devices
16776                 - (nm_hal_deinit): new function, clean up libhal context
16777                 - (nm_data_free): Move Hal cleanup here
16778                 - (main): check whether Hal is running, and if so, get a list of
16779                         network devices from it
16780
16781         * src/NetworkManagerDbus.c
16782                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16783                         and when it appears, get a list of network devices from it.  If
16784                         Hal goes away, clean up the libhal context
16785
16786 2005-06-22  Robert Love  <rml@novell.com>
16787
16788         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16789           permissions of scripts before executing.
16790
16791 2005-06-21  Robert Love  <rml@novell.com>
16792
16793         * initscript/SUSE/networkmanager: update.
16794         * src/backends/NetworkManagerSuSE.c: cleanup.
16795
16796 2005-06-21  Robert Love <rml@novell.com>
16797
16798         * gnome/applet/applet.c: use menu mnemonics.
16799         * gnome/applet/menu-items.c: (ditto)
16800
16801 2005-06-21  Robert Love  <rml@novell.com>
16802
16803         * applet/applet-dbus-devices.c: mark non-static functions static.
16804         * applet/applet-dbus-vpn.c: (ditto)
16805         * applet/applet.c: (ditto)
16806         * applet/nm-device.h: (ditto)
16807         * applet/other-network-dialog.c: (ditto)
16808         * applet/passphrase-dialog.c: (ditto)
16809         * NetworkManager.c: (ditto)
16810         * NetworkManagerDbus.c: (ditto)
16811         * NetworkManagerDevice.c: (ditto)
16812         * NetworkManagerPolicy.c: (ditto)
16813         * NetworkManagerUtils.c: (ditto)
16814         * NetworkManagerWireless.c: (ditto)
16815         * NetworkManagerWireless.h: (ditto)
16816         * nm-netlink-monitor.c: (ditto)
16817         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16818         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16819         * autoip.c: include autoip.h.
16820         * autoip.h: new file.  define get_autoip().
16821         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16822         * NetworkManagerDbus.h: remove duplicate definitions.
16823
16824 2005-06-20  Robert Love  <rml@novell.com>
16825
16826         * Makefile.am: Add missing intltool-foo.in generated files to
16827           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16828           with the start of stuff to cleanup on 'distclea'.
16829         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16830           stuff right and 'distcheck' works.
16831         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16832           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16833           Makefile.am for each.  And systray/Makefile needs to be redone.
16834
16835 2005-06-19  Dan Williams <dcbw@redhat.com>
16836
16837         * src/NetworkManagerDevice.c
16838         - (nm_device_wireless_process_scan_results): scan every 20s when
16839           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16840
16841 2005-06-19  Dan Williams <dcbw@redhat.com>
16842
16843         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16844
16845 2005-06-18  Ray Strode <rstrode@redhat.com>
16846
16847         * src/nm-netlink-monitor.c 
16848         (nm_netlink_monitor_event_handler): check for the presence
16849         of either error condition not both. 
16850         
16851         (nm_netlink_monitor_error_handler): emit error signal if
16852         error occurs.
16853
16854         (nm_netlink_monitor_event_handler),
16855         (nm_netlink_monitor_error_handler),
16856         (nm_netlink_monitor_disconnect_handler): if an 
16857         assertion fails disconnect the event handler to prevent 
16858         infinite loops.
16859
16860         * src/nm-netlink-monitor.h: add new error condition
16861         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16862
16863 2005-06-18  Ray Strode <rstrode@redhat.com>
16864
16865         * src/nm-netlink-monitor.c 
16866         (nm_netlink_monitor_event_handler): remove bogus < 0
16867         check on unsigned value and return early if the kernel
16868         didn't send any bytes.
16869
16870 2005-06-17  Robert Love  <rml@novell.com>
16871
16872         * initscript/SUSE/networkmanager: Change the Provides and default
16873         run levels
16874
16875 2005-06-16  Dan Williams <dcbw@redhat.com>
16876
16877         Patch from Robert Love:
16878         * gnome/applet/applet.c
16879                 - Beautify some applet menu item names
16880
16881 2005-06-17  David Zeuthen  <davidz@redhat.com>
16882
16883         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16884         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16885         Also add new methods can_export, import_file and export.
16886
16887         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16888         to the main UI
16889
16890         * gnome/vpn-properties/nm-vpn-properties.c:
16891         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16892         nm-vpn-ui-interface.h.
16893         (update_edit_del_sensitivity): Also update "Export" sensitivity
16894         (add_vpn_connection): Also add new SVC_NAME column
16895         (import_settings): New function
16896         (retrieve_data_from_selected_connection): New function
16897         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16898         this function
16899         (export_cb): New function
16900         (init_app): Also setup the "export" widget
16901         (main): Support the --import-service and --import-file commandline
16902         arguments
16903
16904         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16905         D-BUS 0.34
16906
16907 2005-06-16  Dan Williams <dcbw@redhat.com>
16908
16909         Patch from Robert Love:
16910         * gnome/applet/menu-items.c
16911                 - (network_menu_item_new): pass -1 as wireless network
16912                         menu items height size request rather than ascent / 2
16913
16914 2005-06-16  Dan Williams <dcbw@redhat.com>
16915
16916         * Clean up wording in Wireless Scan Methods menu items and constants
16917
16918 2005-06-16  Robert Love  <rml@novell.com>
16919
16920         * po/POTFILES.in
16921                 - remove gtkcell* files
16922
16923 2005-06-15  Dan Williams <dcbw@redhat.com>
16924
16925         Patch from Robert Love: make the applet stetic
16926
16927         * gnome/applet/Makefile.am
16928                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16929
16930         * gnome/applet/gtkcellview.h
16931           gnome/applet/gtkcellview.c
16932           gnome/applet/gtkcellrendererprogress.h
16933           gnome/applet/gtkcellrendererprogress.c
16934                 - Removed
16935
16936         * gnome/applet/menu-items.c
16937                 - Progress bars are 5:1 size ratio
16938                 - Use GTK progress bars rather than internal ones
16939
16940 2005-06-15  Dan Williams <dcbw@redhat.com>
16941
16942         Patch from Robert Love:
16943         * initscript/SUSE/networkmanager
16944                 - Fix typo
16945
16946 2005-06-15  Dan Williams <dcbw@redhat.com>
16947
16948         * src/backends/NetworkManagerSuSE.c
16949           src/backends/NetworkManagerRedHat.c
16950           src/backends/NetworkManagerDebian.c
16951                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16952
16953 2005-06-15  Dan Williams <dcbw@redhat.com>
16954
16955         * src/backends/NetworkManagerDebian.c
16956                 - Add nm_system_device_get_use_dhcp() to debian backend
16957
16958         Patch from Kay Sievers:
16959         * src/backends/NetworkManagerSuSE.c
16960                 - Update debian backend for static IP nameservers
16961
16962         * src/NetworkManagerDevice.c
16963                 - Actually set the device to use static IP or DHCP rather
16964                         than always DHCP
16965
16966 2005-06-15  Dan Williams <dcbw@redhat.com>
16967
16968         Patch from Thom May:
16969         * src/backends/NetworkManagerDebian.c
16970                 - Update debian backend for static IP nameservers
16971
16972 2005-06-15  Dan Williams <dcbw@redhat.com>
16973
16974         Patches from Robert Love:
16975         * gnome/applet/wireless-applet.glade
16976                 - Tighten up wording
16977
16978         * src/NetworkManagerDevice.c
16979                 - Remove misplaced ';'
16980
16981         * configure.in
16982           initscript/Makefile.am
16983           initscript/SUSE/Makefile.am
16984           initscript/SUSE/networkmanager
16985                 - Add SUSE initscript
16986
16987 2005-06-12  David Zeuthen  <davidz@redhat.com>
16988
16989         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16990
16991         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16992
16993         * gnome/vpn-properties/nm-vpn-properties.c: New file
16994
16995         * gnome/vpn-properties/Makefile.am: New file
16996
16997         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16998         array of passwords
16999
17000         * src/vpn-manager/nm-vpn-manager.c
17001         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
17002         instead of just a single one
17003
17004         * src/vpn-manager/nm-dbus-vpn.c:
17005         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17006         here
17007         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17008
17009         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
17010         Change the interface here to give a list of passwords. Also, don't
17011         require username, but do require service
17012
17013         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17014         the binary for the auth-dialog and use that instead of putting up a
17015         dialog asking for a single password
17016
17017         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17018         however do remember the service
17019
17020         * gnome/applet/main.c (main): Setup i18n
17021
17022         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17023         connection to '%s'" to the tooltip if we are connected using VPN
17024         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17025         key to determine whether we the auth-dialog needs to
17026         reprompt. Also cope with the fact that the auth-dialog now returns
17027         an array of passwords.
17028         (nmwa_menu_configure_vpn_item_activate): New handler for
17029         "Configure VPN..." menu item
17030         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17031         (is_vpn_available): New function to determine if we got any
17032         NM-compatible VPN software installed
17033         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17034         items only if we have NM-compatible VPN software installed
17035         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17036         logic for detecting when VPN connections are removed
17037
17038         * gnome/applet/applet-dbus.h: Removed the prototypes for 
17039         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17040         since these are defined elsewhere
17041
17042         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17043         function used to keep track of whether the last attempt succeded
17044         (nmwa_dbus_filter): Update last_attempt according to whether the
17045         VPN connection could be established or not
17046
17047         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
17048         Change prototype to take an array of passwords, not just a single
17049         password
17050
17051         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17052         update service, not user
17053         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17054         dbus_active_vpn_name is not NULL before using it
17055         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17056         string array instead of assuming a single password
17057
17058         * gnome/applet/applet-dbus-info.c:
17059         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17060         user name; don't read from gconf
17061
17062         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
17063         VPN_NAME_FILES_DIR
17064
17065         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17066
17067         * configure.in: Add checks for gmodule-2.0.
17068         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17069         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17070         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
17071         for details
17072
17073         * vpn-daemons/Makefile.am: Removed
17074
17075         * vpn-daemons/README: New file to describe extensions points for VPN
17076         software
17077
17078 2005-06-10  Dan Williams <dcbw@redhat.com>
17079
17080         * src/backends/NetworkManagerRedHat.c
17081                 - (get_current_profile_name): new function, grab current network profile name from
17082                         /etc/sysconfig/network
17083                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17084                         update an IP4 Config structure's settings from it
17085                 - (nm_system_device_get_system_config): if we're using static IP on this device,
17086                         get DNS info from current network profile
17087
17088 2005-06-09  Dan Williams <dcbw@redhat.com>
17089
17090         Patch from Robert Love:
17091         * src/NetworkManagerDevice.c
17092           src/NetworkManagerUtils.c
17093                 - 64-bit build fixes
17094
17095 2005-06-09  Dan Williams <dcbw@redhat.com>
17096
17097         Patch from Kay Sievers and Robert Love:
17098         * configure.in
17099           src/backends/Makefile.am
17100           src/backends/NetworkManagerSuSE.c
17101                 - Add SuSE support
17102
17103 2005-06-09  Dan Williams <dcbw@redhat.com>
17104
17105         * NetworkManager.h
17106                 - Add NMWirelessScanMethod enum for scan methods
17107
17108         * gnome/applet/applet-dbus-devices.c
17109                 - (nmwa_dbus_update_scanning_enabled_cb): remove
17110                 - (nmwa_dbus_update_scanning_enabled): remove
17111                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17112                         since it got removed
17113                 - (nmwa_dbus_enable_scanning): remove
17114
17115         * gnome/applet/applet-dbus-info.c
17116                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17117                         update the wireless scanning method from NMI
17118                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17119                         method value to NetworkManager
17120                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17121
17122         * gnome/applet/applet-dbus-info.h
17123                 - Add prototype for nmi_dbus_signal_update_scan_method
17124
17125         * gnome/applet/applet.c
17126                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17127                         Wireless Scanning menu based on current wireless scan method
17128                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17129                         signal for Wireless Scanning menu items, tell NetworkManager the new method
17130                         and update our menu items to make sure the right one is checked
17131                 - (nmwa_set_scanning_enabled_cb): remove
17132                 - (nmwa_context_menu_update): remove references to pause_scanning_item
17133                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17134                         Scanning menu item
17135                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17136                         from GConf
17137                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17138                         so we get notified of preference values too
17139                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17140
17141         * gnome/applet/applet.h
17142                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17143                 - Add wireless scan method member to applet data
17144                 - Remove pause_scanning_item, add Wireless Scanning submenu
17145
17146         * src/NetworkManager.c
17147                 - (nm_data_new): default to NM_SCAN_METHOD_ON
17148                 - (main): grab scanning method from NMI if we can
17149
17150         * src/NetworkManagerDbus.c
17151                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17152                         nm_dbus_update_wireless_scan_method()
17153                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17154                         from NMI
17155                 - (nm_dbus_nmi_is_running): redundant function, removed
17156                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17157                         when NMI comes back
17158
17159         * src/NetworkManagerDevice.c
17160                 - (nm_device_is_activated): return TRUE if the device is activated
17161                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17162                         and we are activated
17163
17164         * src/nm-dbus-nm.c
17165                 - (nm_dbus_nm_set_scanning_enabled): removed
17166                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17167                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17168
17169 2005-06-09  Dan Williams <dcbw@redhat.com>
17170
17171         * NetworkManager.h
17172           src/vpn-manager/nm-vpn-service.c
17173                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17174
17175 2005-05-27  Dan Williams <dcbw@redhat.com>
17176
17177         * vpn-daemons/vpnc/nm-vpnc-service.c
17178                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17179                         Should fix the bug where the VPN connection terminates the first time.
17180
17181 2005-05-20  Dan Williams <dcbw@redhat.com>
17182
17183         * NetworkManager.h
17184                 - Differentiate VPN config signals between bad VPN config options
17185                         and bad IP config
17186
17187         * gnome/applet/applet-dbus-info.h
17188                 - Add prototypes for wireless network and vpn connection update functions
17189
17190         * gnome/applet/applet-dbus.c
17191                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17192
17193         * gnome/applet/applet.c
17194                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17195                         error signals
17196                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17197                         propogation to NetworkManager
17198                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17199                         notify propogation to NetworkManager
17200
17201         * src/NetworkManagerDbus.c
17202                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17203                         are updating so a network can be removed from it if necessary
17204
17205         * src/vpn-manager/nm-vpn-manager.c
17206                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17207
17208         * vpn-daemons/vpnc/nm-vpnc-service.c
17209                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17210                 - (nm_vpnc_dbus_signal_launch_failed): remove
17211                 - (nm_vpnc_dbus_signal_connect_failed): remove
17212                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17213                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17214                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17215                         for new generalized error signal function, remove config file stuff
17216                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17217                         we can write configuration options to it
17218                 - (nm_vpnc_config_file_generate): removed
17219                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17220                 - (nm_vpnc_config_options_validate): validate the config options we receive
17221                         from NetworkManager to block potential exploits
17222                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17223                         starting vpnc
17224                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17225                         to NetworkManager
17226
17227 2005-05-16  Dan Williams  <dcbw@redhat.com>
17228
17229         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17230                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17231                         is not "connect"
17232
17233 2005-05-16  Dan Williams  <dcbw@redhat.com>
17234
17235         Patch from Tomislav Vujec <tvujec@redhat.com>
17236         * gnome/applet/applet-dbus-info.c
17237                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17238                         GConf and pass them to NetworkManager.  New key is 'routes' under
17239                         the VPN connection, and should be a string list
17240
17241         * src/NetworkManagerSystem.c
17242                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17243                         set them on the device when we set the rest of the VPN config.  Ensure
17244                         they are in the correct format since they are passed directly to the
17245                         command line.
17246
17247         * src/backends/NetworkManagerRedHat.c
17248           src/backends/NetworkManagerDebian.c
17249                 - (nm_system_device_add_route_via_device_with_iface): new function
17250
17251         * src/vpn-manager/nm-dbus-vpn.c
17252                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17253
17254         * src/vpn-manager/nm-vpn-manager.c
17255                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17256                         them into the IP4 config functions
17257
17258 2005-05-15  Dan Williams  <dcbw@redhat.com>
17259
17260         From Filip Miletic:
17261         * po/sr.po
17262           po/sr@Latn.po
17263           configure.in
17264                 - Serbian translation added
17265
17266 2005-05-15  Dan Williams  <dcbw@redhat.com>
17267
17268         * dispatcher-daemon/NetworkManagerDispatcher.c
17269                 - (main): sync arguments with NetworkManager and the applet, now use
17270                         "--no-daemon" rather than "daemon=no"
17271                 - (nmd_print_usage): Fix script path in usage message
17272
17273 2005-05-15  Dan Williams  <dcbw@redhat.com>
17274
17275         * src/NetworkManagerDevice.[ch]
17276           src/NetworkManagerPolicy.c
17277           src/NetworkManager.c
17278           src/nm-dbus-nm.c
17279                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17280                         longer send the DeviceNoLongerActive signal unconditionally, but only
17281                         when the device is actually active.
17282
17283         * dispatcher-daemon/NetworkManagerDispatcher.c
17284                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17285                         and simplify the logic
17286                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17287                         we free it later on
17288
17289         * initscript/RedHat/Makefile.am
17290           initscript/RedHat/NetworkManagerDispatcher
17291                 - Add initscript for NetworkManagerDispatcher
17292
17293
17294         Patch from Bill Moss:
17295         * dispatcher-daemon/NetworkManagerDispatcher.c
17296                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17297
17298         * src/NetworkManagerDbus.c
17299                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17300                         and DeviceNowActive gets signaled, then the device has a new IP address
17301                         anyway.  There's no need for a separate signal.
17302
17303         * src/NetworkManagerDevice.c
17304                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17305
17306         * src/NetworkManagerPolicy.c
17307                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17308                         activates successfully.  This kind of went missing when I reworked the
17309                         activation code.
17310
17311 2005-05-15  Dan Williams  <dcbw@redhat.com>
17312
17313         * configure.in
17314                 - Check for dhcdbd and error if its not found
17315
17316         * src/dhcp-manager/Makefile.am
17317           src/dhcp-manager/nm-dhcp-manager.c
17318                 - Use path to dhcdbd that configure found
17319
17320 2005-05-14  Dan Williams  <dcbw@redhat.com>
17321
17322         * gnome/applet/nm-device.c
17323                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17324                         sort wireless networks alphabetically
17325
17326         * gnome/applet/applet-dbus-devices.c
17327                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17328                         before copying them over to the GUI
17329
17330 2005-05-14  Dan Williams  <dcbw@redhat.com>
17331
17332         * src/NetworkManager.c
17333                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17334                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17335                         the device list, as does nm_get_active_device() which is called from
17336                         nm_vpn_manager_deactivate_vpn_connection().
17337
17338 2005-05-14  Dan Williams  <dcbw@redhat.com>
17339
17340         * NetworkManager.h
17341                 - Add signals for VPN Launch and Connect failures
17342
17343         * gnome/applet/applet-dbus.c
17344                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17345
17346         * gnome/applet/applet.c
17347                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17348                         function to handle all VPN failure messages
17349                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17350                         function to hanlde all VPN failure  messages
17351                 - (show_warning_dialog): work around focus-stealing prevention
17352
17353         * gnome/applet/other-network-dialog.c
17354           gnome/applet/passphrase-dialog.c
17355                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17356                         problem where it never enabled for ASCII Key and Hex Key types
17357
17358         * gnome/applet/wireless-applet.glade
17359                 - Add window title to Other Wireless Network Dialog
17360
17361         * src/vpn-manager/nm-dbus-vpn.c
17362                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17363                         function to handle all VPN failure messages
17364
17365         * src/vpn-manager/nm-vpn-manager.c
17366                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17367
17368         * vpn-daemons/vpnc/nm-vpnc-service.c
17369                 - (nm_vpnc_dbus_signal_launch_failed): new function
17370                 - (nm_vpnc_dbus_signal_connect_failed): new function
17371                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17372                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17373                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17374                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17375
17376 2005-05-11  Dan Williams  <dcbw@redhat.com>
17377
17378         * vpn-daemons/vpnc/nm-vpnc-service.c
17379                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17380                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17381                         file exists before trying to write it out.
17382
17383 2005-05-10  Dan Williams  <dcbw@redhat.com>
17384
17385     * gnome/applet/applet-dbus-device.c
17386         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17387             prevented just entering ESSID and leaving key and key type up to
17388             NetworkManager (which should have them already cached)
17389
17390 2005-05-08  Dan Williams  <dcbw@redhat.com>
17391
17392         * src/NetworkManagerPolicy.c
17393                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17394                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17395                         fix a situation where NM is told to terminate and the device stops activation,
17396                         but the main thread isn't aware of that because it would never have run
17397                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17398                         had already quit.
17399
17400         * src/NetworkManagerDevice.c
17401                 - (nm_device_probe_wired_link_state): cosmetic fixes
17402                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17403                         we've failed to activate or been canceled.
17404                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17405
17406 2005-05-08  Dan Williams  <dcbw@redhat.com>
17407
17408         * src/NetworkManagerWireless.c
17409                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17410                         value of WEXT quality structures, and add a debug message when we cannot
17411                         determine any quality % at all
17412
17413 2005-05-08  Dan Williams  <dcbw@redhat.com>
17414
17415         * src/dhcp-manager/nm-dhcp-manager.c
17416                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17417                         it goes down.
17418
17419 2005-05-06  Dan Williams  <dcbw@redhat.com>
17420
17421         * gnome/applet/applet-dbus-device.c
17422           gnome/applet/applet-dbus-info.c
17423           gnome/applet/applet-dbus.c
17424           gnome/applet/applet.c
17425           gnome/applet/applet.h
17426                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17427
17428         * gnome/applet/applet-dbus.c
17429                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17430                         so we notice when wired device's carriers come back on.  Should
17431                         fix issue with wired devices being grayed out even if the cable
17432                         is in, for devices that support carrier detection.
17433
17434         * gnome/applet/applet.c
17435                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17436                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17437                         tooltip message
17438                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17439                         Fix situation where applet wouldn't respond to menu selections
17440
17441         * src/NetworkManager.c
17442           src/NetworkManagerDevice.c
17443           src/NetworkManagerDbus.c
17444           src/NetworkManagerDbus.h
17445                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17446
17447         * src/NetworkManagerDbus.c
17448                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17449                         Remove, no longer used or relevant
17450                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17451                 - (nm_dbus_schedule_device_status_change_signal): add
17452
17453         * src/NetworkManagerDevice.c
17454                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17455                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17456                         ie don't deactivate them unless explicitly told to by the user.  Also send
17457                         CARRIER_OFF / CARRIER_ON signals when link changes
17458                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17459                         Don't print error message when device is no longer around
17460                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17461                         not just during activation
17462
17463         * src/NetworkManagerPolicy.c
17464                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17465                         auto-device-selection.
17466                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17467
17468         * src/NetworkManagerSystem.c
17469                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17470                         is no longer present (Bill Moss)
17471
17472         * src/backends/shvar.c
17473                 - (svOpenFile): Open read-only to make SELinux happy
17474
17475         * src/backends/NetworkManagerRedHat.c
17476                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17477                         the path to the ifcfg-* files
17478
17479 2005-05-05  Dan Williams  <dcbw@redhat.com>
17480
17481         * Expose activation stages to NetworkManager clients, like the applet
17482         * Add Diana's progress icons to the applet, cued off NM activation stage
17483         * Use more descriptive tooltips, cued off NM activation stage
17484
17485 2005-05-05  Ray Strode  <rstrode@redhat.com>
17486
17487         * src/nm-netlink-monitor.c:
17488                 - Use clear_event_source instead of g_nullify_pointer() again.
17489
17490 2005-05-05  Dan Williams  <dcbw@redhat.com>
17491
17492         * gnome/applet/main.c
17493                 - Fix session management so the applet is actually managed now
17494
17495         * gnome/applet/passphrase-dialog.c
17496                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17497
17498 2005-05-05  Dan Williams  <dcbw@redhat.com>
17499
17500         Patch from Bill Moss:
17501         * gnome/libnm_glib/libnm_glib.c
17502                 - Fix for dbus-0.33
17503
17504 2005-05-05  Dan Williams  <dcbw@redhat.com>
17505
17506         Suggestion from Bill Moss:
17507         * src/NetworkManagerSystem.c
17508                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17509
17510
17511         * src/NetworkManager.c
17512                 - (nm_data_free): move destruction of the various managers after
17513                         release of device list, because deactivating and freeing a device
17514                         requires at least the named manager
17515                 - (nm_poll_and_update_wireless_link_state):
17516                   (nm_device_link_activated):
17517                   (nm_device_link_deactivated):
17518                         don't grab the device list lock when actually updating device
17519                         link status or strength, since nm_device_set_link_active()
17520                         needs to call nm_get_active_device(), which also locks the device list.
17521
17522         * src/NetworkManagerDevice.c
17523                 - (nm_device_set_link_active): if a device's link switches from off->on,
17524                         and it's wired, and the active device is wireless (or there is no
17525                         active device), activate the new device whose link just came on
17526                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17527                         my only calling the link to the current ap "failed" when more than 2
17528                         consecutive link checks have failed
17529
17530 2005-05-04  Dan Williams  <dcbw@redhat.com>
17531
17532         * src/NetworkManagerDevice.c
17533                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17534                         but let link_to_specific_ap() do the locking where it needs
17535
17536         Patch from Bill Moss:
17537         * src/NetworkManagerSystem.c
17538                 - Set MTU of VPN devices to 1412
17539
17540 2005-05-04  Dan Williams  <dcbw@redhat.com>
17541
17542         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17543
17544         * Fix some holes in device activation and retaining the currently connected
17545                 access point
17546
17547 2005-05-03  Dan Williams  <dcbw@redhat.com>
17548
17549         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17550           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17551           means you need dhcdbd, which you can get here (get the latest one):
17552
17553                 http://people.redhat.com/jvdias/dhcdbd/
17554
17555           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17556           interface as dhcdbd.
17557
17558         * Rewrite device activation to facilitate the new DHCP infrastructure and
17559           future improvements.  Its now "activation request" based, ie there is a single
17560           activation request composed of the device, access point, and other info which
17561           follows the entire activation process.  There are 5 stages of the activation
17562           process which correspond to:
17563
17564                 1) Device preparation
17565                 2) Device configuration (bring it up, set ESSID/Key/etc)
17566                 3) IP Config Start (fire off DHCP if we're using it)
17567                 4) IP Config Get (grab config from DHCP or static config files)
17568                 5) IP Config Commit (set device's IP address, DNS, etc)
17569
17570           Note that there is no longer a "scanning" step, since the access point must
17571           be known _before_ activation starts.  If the access point drops out or does
17572           not exist for some reason, the entire activation process fails and must be
17573           restarted for a different access point or device.
17574
17575         Patch from Bill Moss:
17576         * gnome/applet/applet.c
17577                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17578
17579 2005-04-27  Dan Williams  <dcbw@redhat.com>
17580
17581         * gnome/applet/applet-dbus-vpn.c
17582           gnome/applet/applet.c
17583           gnome/applet/applet.h
17584                 - Fix up active VPN handling so that we reliably know when a VPN
17585                         connection has been deactivated
17586
17587         * src/vpn-manager/nm-vpn-manager.c
17588                 - Remove duplicate VPNConnectionChange signal
17589
17590 2005-04-27  Dan Williams  <dcbw@redhat.com>
17591
17592         Patch from Peter Jones:
17593         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17594
17595         Patch from Bill Moss:
17596         * src/NetworkManagerSystem.c
17597                 - Fix checking of return value from ioctl()
17598
17599 2005-04-27  Dan Williams  <dcbw@redhat.com>
17600
17601         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17602         * Warn and exit if icons cannot be found
17603
17604 2005-04-27  Dan Williams  <dcbw@redhat.com>
17605
17606         Patch from Tom Parker:
17607         * Update debian backend
17608
17609 2005-04-27  Dan Williams  <dcbw@redhat.com>
17610
17611         * Merge the applet and the info-daemon, and move the converged
17612                 applet under gnome/applet
17613         * Move libnm_glib to gnome/libnm_glib
17614         * Convert most dbus calls between the applet, info-daemon, and NM
17615                 into async calls
17616         * Fix a few things valgrind noticed
17617         * Make NM broadcast state more reliably
17618
17619 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17620
17621         * configure.in: Added ne in ALL_LINGUAS
17622
17623 2005-04-15  Dan Williams  <dcbw@redhat.com>
17624
17625         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17626                 code for dbus 0.2x versions
17627
17628 2005-04-15  Dan Williams  <dcbw@redhat.com>
17629
17630         Patches from Tom Parker:
17631         - Fix memleaks
17632         - Join with worker thread rather than polling for its exit
17633
17634         Patch from Bill Moss:
17635         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17636
17637 2005-04-15  Dan Williams  <dcbw@redhat.com>
17638
17639         - Fixes to pass 'make distcheck'
17640
17641 2005-04-15  Dan Williams  <dcbw@redhat.com>
17642
17643         Initial VPN Support
17644                 - supports 'vpnc'
17645                 - reworks device IP configuration, backend files have changed and will need
17646                         to be updated for all distributions.  I will try to do what I can for
17647                         them, but I cannot test them.
17648
17649         - Move named directory to src/named-manager
17650         - Make backends directory self-contained
17651
17652 2005-04-06  Dan Williams  <dcbw@redhat.com>
17653
17654         Add debug code for socket/file descriptor leaks.  We register every socket
17655         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17656         list of sockets that we forgot to close on shutdown.  This also consolidates
17657         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17658
17659 2005-04-06  Dan Williams  <dcbw@redhat.com>
17660
17661         * dhcpcd/dhcpcd.c
17662                 - (dhcp_interface_free): fix a file descriptor leak that may have
17663                         caused network drivers to not unload due to refcounts > 0
17664
17665 2005-04-04  Dan Williams  <dcbw@redhat.com>
17666
17667         * panel-applet/NMWirelessAppletDbus.c
17668                 - (nmwa_dbus_call_nm_method): remove some commented code
17669
17670         * src/NetworkManagerAPList.[ch]
17671                 - (nm_ap_list_remove_ap_by_essid): new function
17672
17673         * src/NetworkManagerDevice.c
17674                 - (nm_device_wireless_force_use): remove access points from the ignore list
17675                         when the user forces them
17676
17677         * src/nm-dbus-device.c
17678                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17679
17680 2005-04-04  Dan Williams  <dcbw@redhat.com>
17681
17682         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17683
17684 2005-04-04  Dan Williams  <dcbw@redhat.com>
17685
17686         * src/NetworkManagerDevice.c:
17687                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17688                         of only erroring after the second consecutive scan times out.  Also
17689                         don't exit when the card requires more time than we can give it, just
17690                         log the event and continue.
17691
17692 2005-04-01  Steve Murphy  <murf@e-tools.com>
17693
17694         * configure.in: Added "rw" to ALL_LINGUAS.
17695
17696 2005-04-01  Dan Williams <dcbw@redhat.com>
17697
17698         Perform scans during device activation, if needed.  Both activation 
17699         and scans run in the same GMainContext.  Therefore, if an access point
17700         is not found by the time the device starts activation, it will not
17701         be available until after activation.  We now try to scan during
17702         activation (in nm_wa_test) every 15s so that all available access
17703         points are more likely to be found and available for the activation
17704         procedure.
17705
17706         Also change nm_wireless_link_state_handle() to only update the "best"
17707         AP if we are not forcing a device and if we are not about to change
17708         state.  This attempts to work around a race when forcing a device,
17709         where the forced AP would get cleared out too soon by the link state
17710         checking timeout in the main thread, and the activation attempt with
17711         that AP would fail.
17712
17713 2005-04-01  Dan Williams <dcbw@redhat.com>
17714
17715         * po/POTFILES.in
17716                 - Update with new translatables
17717
17718 2005-03-31  Dan Williams <dcbw@redhat.com>
17719
17720         * panel-applet/NMWirelessAppletDbus.c
17721                 - Fix device names now that hal has changed device parenting for
17722                         network devices.
17723
17724 2005-03-31  Dan Williams <dcbw@redhat.com>
17725
17726         Tighten up handling of wireless devices that don't support wireless
17727         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17728         hadn't been doing pseudo-scanning for a while either and would just
17729         spin waiting for an access point.  They are now manual devices where
17730         the user must choose the access point from the menu every time.  All
17731         "allowed" access points are listed in the applet's menu regardless
17732         of whether or not they can be seen by the card, since it can't scan
17733         anyway.
17734
17735         * src/NetworkManager.c
17736                 - (nm_wireless_link_state_handle): new function, but only update
17737                         the "best" ap for non-scanning devices when its not activating,
17738                         and when no device is being forced on the card
17739                 - (nm_link_state_monitor): split wireless link state handling out
17740                         into separate function
17741
17742         * src/NetworkManagerDevice.c
17743                 - (nm_device_copy_allowed_to_dev_list): new function
17744                 - (nm_device_new): populate non-scanning cards' AP lists with
17745                         access points from the "allowed" list
17746                 - (nm_device_new): don't start a scanning timeout for devices that
17747                         can't scan
17748                 - (nm_device_activation_schedule_finish): new parameter, should be
17749                         the AP that failed to be connected to, pass it on to the
17750                         activation finish function in NetworkManagerPolicy.c
17751                 - (nm_device_activate_wireless): don't ever try to get a new AP
17752                         for non-scanning devices, just fail.  The user must choose
17753                         a new access point manually.
17754                 - (nm_device_activate): grab the AP that failed connection and
17755                         pass it on
17756                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17757                         a link to it, user must manually choose a new one
17758                 - (nm_device_do_pseudo_scan): remove function
17759                 - (nm_device_wireless_process_scan_results): remove bits for non-
17760                         scanning cards since they never get here
17761                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17762                         and fake the scan list for test devices a bit earlier
17763
17764         * src/NetworkManagerPolicy.c
17765                 - (nm_policy_activation_finish): use the failed_ap that we get
17766                         passed rather than getting the best_ap from the card, which
17767                         may have changed since we were scheduled
17768                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17769                         update their scan list directly from the allowed list when
17770                         we get updates to the allowed list from NetworkManagerInfo
17771
17772         * src/NetworkManagerPolicy.h
17773                 - New member for failed access point in NMActivationResult
17774
17775   -------------------------------------
17776
17777         Driver Notification patch: notifies the user when their driver
17778                 sucks.  Gives them the option to ignore further insertions
17779                 of the card that has the sucky driver.
17780
17781         * NetworkManager.h
17782                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17783                         enum and replace it with NO_CARRIER_DETECT and
17784                         NO_WIRELESS_SCAN
17785
17786         * panel-applet/NMWirelessApplet.[ch]
17787                 - Merge essid.glade -> wireless-applet.glade
17788                 - Implement the "Your driver sucks" notification dialog
17789
17790         * panel-applet/NMWirelessAppletDbus.c
17791                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17792                 - Grab hardware address for each device from NM too
17793                 - Check whether the driver for each device sucks or not whenever
17794                         a new device is noticed
17795
17796         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17797                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17798
17799         * src/NetworkManager.c
17800                 - Fix a double-unref on device removal
17801
17802         * src/NetworkManagerUtils.c
17803                 - Set appropriate driver support level on a device that doesn't
17804                         support scanning or carrier detection
17805
17806         * src/nm-dbus-device.c
17807                 - New "getHWAddress" dbus method on devices
17808                 - getSupportsCarrierDetect -> getDriverSupportLevel
17809
17810 2005-03-31  Dan Williams <dcbw@redhat.com>
17811
17812         * src/NetworkManagerDevice.c
17813                 - (nm_device_wireless_scan): Fix leak of scan results in some
17814                         instances
17815
17816 2005-03-29  Dan Williams <dcbw@redhat.com>
17817
17818         * src/NetworkManager.c
17819                 - (nm_poll_and_update_wireless_link_state): make code less indented
17820
17821         Patch from Bill Moss:
17822         * src/NetworkManager.c
17823                 - (nm_device_update_link_state): Update signal strength on wireless
17824                         devices every time we update link state too.
17825
17826 2005-03-29  Dan Williams <dcbw@redhat.com>
17827
17828         * src/NetworkManagerDevice.c
17829                 - (nm_device_set_essid): Work around Orinoco cards which need
17830                         extra time after setting the ESSID
17831
17832 2005-03-29  Dan Williams <dcbw@redhat.com>
17833
17834         * src/NetworkManagerDevice.c
17835                 - Merge one more bit of Peter Jones' completion patch
17836
17837 2005-03-29  Dan Williams <dcbw@redhat.com>
17838
17839         * src/NetworkManagerDevice.c
17840                 - (nm_device_force_use): Fix possible segfault
17841
17842 2005-03-29  Dan Williams <dcbw@redhat.com>
17843
17844         * src/NetworkManagerDevice.c
17845                 - Use iw_get_ext() where we should rather than iw_set_ext()
17846
17847 2005-03-29  Dan Williams <dcbw@redhat.com>
17848
17849         * src/NetworkManagerDevice.c
17850                 - (nm_device_set_up_down): remove check for unsupported devices
17851                         that caused NM to not bring devices up when they were
17852                         added to the device list.
17853
17854 2005-03-28  Dan Williams <dcbw@redhat.com>
17855
17856         * src/NetworkManagerDevice.c
17857                 - (mdio_read): Fix two bugs that caused all devices to fail
17858                         the MII carrier detection support checks
17859
17860 2005-03-26  Dan Williams <dcbw@redhat.com>
17861
17862         * src/NetworkManagerDevice.c
17863                 - (nm_device_wireless_scan): Remove duplicated scanning code
17864
17865 2005-03-25  Dan Williams <dcbw@redhat.com>
17866
17867         * panel-applet/NMWirelessApplet.c
17868                 - (nmwa_about_cb): Add some more contributors
17869                 - (nmwa_update_state): show the applet when there's no connection
17870                 - Enable the "Stop/Resume all wireless devices" option in the
17871                         context menu
17872                 - New "no connection" icon
17873
17874         * src/NetworkManager.c
17875                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17876                         wireless is disabled or we're asleep
17877
17878         * src/NetworkManagerDHCP.c
17879                 - Remove trailing "\n" on debug messages
17880
17881         * src/NetworkManagerDbus.c
17882                 - (nm_dbus_network_status_from_data): new state "asleep"
17883
17884         * src/NetworkManagerDevice.c
17885                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17886                         latency and wait times for most operations
17887                 - (nm_device_wireless_scan): Don't scan when asleep
17888
17889         * src/NetworkManagerPolicy.c
17890                 - (nm_policy_get_best_device): return no device when asleep
17891                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17892                         for all wireless devices on update, not just active device
17893
17894         * src/NetworkManagerUtils.c
17895                 - Merge Peter Jones' "completion" patch
17896
17897         * src/nm-dbus-nm.c
17898                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17899                         we're told to disable them
17900                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17901
17902         * utils/nm-utils.h
17903                 - New variants of the warn/info/error/debug print functions that can take
17904                         variables rather than static strings
17905
17906 2005-03-24  Dan Williams <dcbw@redhat.com>
17907
17908         * src/NetworkManagerUtils.c
17909                 - (nm_get_device_driver_name): driver names are now on the parents of
17910                         "Network Interface" objects, so look for them there
17911
17912 2005-03-24  Dan Williams <dcbw@redhat.com>
17913
17914         * test/nmtest.c
17915                 - Escape some forgotten object paths before we shove them through dbus
17916
17917 2005-03-24  Dan Williams <dcbw@redhat.com>
17918
17919         * dhcpcd/dhcpcd.[ch]
17920           src/NetworkManagerDHCP.c
17921                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17922                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17923
17924         * src/NetworkManagerDbus.c
17925                 - spacing cleanups
17926
17927         * src/nm-dbus-dhcp.c
17928                 - Make the API suck less.  There is now only 1 type of each function,
17929                         ie only "getInteger" and no longer also "getIntegerv".  All types
17930                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17931                         that will never have more than 1 element.  This should simplify
17932                         things greatly.
17933
17934         * test/nm-dhcp-opt-test.c
17935                 - Make the tool not segfault
17936                 - adapt to new DHCP Options API
17937
17938 2005-03-22  Dan Williams <dcbw@redhat.com>
17939
17940         * src/NetworkManager.c
17941                 - (nm_wired_link_deactivated): actually ignore netlink events from
17942                         wireless devices.
17943
17944 2005-03-22  Dan Williams <dcbw@redhat.com>
17945
17946         * src/NetworkManager.c
17947                 - (nm_wired_link_activated): actually ignore netlink events from
17948                         wireless devices.
17949
17950 2005-03-17  Dan Williams <dcbw@redhat.com>
17951
17952         Patch from Tom Parker:
17953         * src/nm-netlink-monitor.c
17954                 - Include unistd.h
17955         * info-daemon/NetworkManagerInfoDbus.c
17956                 - (nmi_dbus_update_network_auth_method): free GConf values
17957
17958         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17959         * src/NetworkManagerDevice.c
17960                 - (nm_device_set_wireless_config): wait for successful
17961                         association longer for some cards (Atheros a/b/g)
17962
17963 2005-03-15  Ray Strode  <rstrode@redhat.com>
17964
17965         * src/NetworkManager.c:
17966         (sigterm_pipe_handler):
17967         remove bogus FIXME
17968
17969 2005-03-15  Ray Strode  <rstrode@redhat.com>
17970
17971         * src/NetworkManagerDbus.c:
17972         Fix some sign weirdness that gcc4 doesn't like,
17973         and add a header file so PPC can hopefully find
17974         SIGTRAP
17975
17976 2005-03-14  Ray Strode  <rstrode@redhat.com>
17977         
17978         Fourth (probably working) cut at porting to
17979         dbus 0.30 api and new hal. This cut adds
17980         some new logging macros to make debugging
17981         easier.
17982
17983         * dispatcher-daemon/NetworkManagerDispatcher.c:
17984         * info-daemon/NetworkmanagerInfo.c:
17985         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17986         * info-daemon/NetworkManagerInfoVPN.c:
17987         * src/NetworkManager.c:
17988         * src/NetworkManagerAP.c:
17989         * src/NetworkManagerAPList.c:
17990         * src/NetworkManagerDHCP.c:
17991         * src/NetworkManagerDbus.c:
17992         * src/NetworkManagerDevice.c:
17993         * src/NetworkManagerPolicy.c:
17994         * src/NetworkManagerSystem.c:
17995         * src/NetworkManagerUtils.c:
17996         * src/NetworkManagerWireless.c:
17997         * src/autoip.c:
17998         * src/nm-dbus-nm.c:
17999         * src/backends/NetworkManagerDebian.c:
18000         * src/backends/NetworkManagerGentoo.c:
18001         * src/backends/NetworkManagerRedHat.c:
18002         * src/backends/NetworkManagerSlackware.c:
18003         use new logging macros.
18004
18005         * dispatcher-daemon/NetworkManagerDispatcher.c:
18006         (nmd_dbus_filter): s/dbus_free/g_free/
18007
18008         * info-daemon/Makefile.am: link in utils library.
18009         * info-daemon/NetworkmanagerInfo.c: use new logging 
18010         macros.
18011         (nmi_dbus_get_network): don't assume enumerations
18012         are 32-bit.
18013         (nmi_dbus_nmi_message_handler): don't free what 
18014         doesn't belong to us.
18015
18016         * libnm_glib/libnm_glib.c:
18017         (libnm_glib_get_nm_status): 
18018         (libnm_glib_init): don't free what doesn't
18019         belong to us.
18020         (libnm_glib_dbus): strdup result, so it doesn't get
18021         lost when message is unref'd.
18022
18023         * panel-applet/NMWirelessAppletDbus.c:
18024         (nmwa_dbus_update_devices): s/dbus_free/g_free/
18025
18026         * src/NetworkManager.c:
18027         (nm_monitor_wired_link_state): request initial status 
18028         dump of all cards when we start up, instead of relying
18029         on /sys/.../carrier.
18030         (nm_info_handler), (nm_set_up_log_handlers): 
18031         log handlers to specify what syslog priorites 
18032         the logging macros default to.
18033
18034         * src/NetworkManagerAPList.c: 
18035         (nm_ap_list_populate_from_nmi):
18036         s/dbus_free_string_array/g_strfreev/
18037
18038         * src/NetworkManagerDbus.c:
18039         (nm_dbus_get_network_object):
18040         validate d-bus message argument types.
18041         Advance message iterator after reading argument,
18042         prepend instead of append to GSList.
18043
18044         * src/NetworkManagerDevice.c:
18045         (nm_device_probe_wired_link_status):
18046         remove redundant /sys in /sys path. remove wrong
18047         contents == NULL means has carrier assumption.
18048
18049         * src/nm-netlink-monitor.c 
18050         (nm_netlink_monitor_request_status): implement
18051         function to ask kernel to dump interface link
18052         status over netlink socket.
18053
18054         * test/*.c: s/dbus_free/g_free/
18055
18056         * utils/nm-utils.h:
18057         (nm_print_backtrace): new macro to print backtrace.
18058         (nm_get_timestamp): new macro to get sub-second precise
18059         unix timestamp.
18060         (nm_info), (nm_debug), (nm_warning), (nm_error):
18061         new logging functions. nm_info just prints,
18062         nm_debug includes timestamp and function,
18063         nm_warning includes function, nm_error includes
18064         backtrace and sigtrap.
18065
18066 2005-03-11  Ray Strode  <rstrode@redhat.com>
18067
18068         Third (unfinished, partially working) cut at porting to 
18069         dbus 0.30 api and new hal.
18070
18071         * info-daemon/NetworkManagerInfoDbus.c:
18072                 don't free null arrays.
18073
18074         * panel-applet/NMWirelessAppletDbus.c: 
18075         * src/nm-dbus-device.c:
18076         * src/nm-dbus-net.c: 
18077         * src/NetworkManagerDbus.c: more 
18078         STRING -> OBJECT_PATH fun
18079         * src/NetworkManagerDevice.c:
18080         * src/NetworkManagerDevice.h:
18081         (rename nm_device_get_link_active): rename to 
18082         nm_device_has_active_link
18083         (nm_device_wireless_link_active): rename to
18084         nm_device_probe_wireless_link_state
18085         (nm_device_wired_link_active): rename to
18086         nm_device_probe_wired_link_state.  Rewrite to
18087         use carrier file since hal doesn't maintain
18088         link state anymore.
18089         (nm_device_update_link_active): rename to
18090         nm_device_update_link_state
18091         * src/NetworkManagerPolicy.c 
18092           (nm_policy_activation_finish): check for NULL
18093           MAC address.
18094
18095         * src/Makefile.am:
18096         * src/NetworkManagerMain.h: 
18097         * src/NetworkManager.c:
18098         * src/nm-netlink-monitor.c:
18099         * src/nm-netlink-monitor.h: New class to support
18100         monitoring wired ethernet link status, since HAL
18101         doesn't export that information anymore.
18102
18103 2005-03-09  Ray Strode  <rstrode@redhat.com>
18104
18105         Second (unfinished, unworking) cut at porting to 
18106         dbus 0.30 api.
18107
18108         * dispatcher-daemon/NetworkManagerDispatcher.c:
18109         * info-daemon/NetworkManagerInfoDbus.c:
18110         * panel-applet/NMWirelessAppletDbus.c:
18111         * src/NetworkManagerDbusUtils.c:
18112         * src/NetworkManagerDbusUtils.h:
18113         * src/nm-dbus-device.c:
18114         * src/nm-dbus-nm.c:
18115         * test/nmtest.c: support dbus "object path" type
18116
18117         * configure.in: 
18118         * Makefile.am:
18119         * info-daemon/Makefile.am:
18120         * libnm_glib/Makefile.am:
18121         * panel-applet/Makefile.am:
18122         * dispatcher-daemon/Makefile.am
18123         * src/Makefile.am:
18124         * test/Makefile.am:
18125         * utils/Makefile.am: 
18126         * utils/nm-utils.c: 
18127         * utils/nm-utils.h: new utils static lib
18128
18129 2005-03-07  Ray Strode  <rstrode@redhat.com>
18130
18131         * info-daemon/NetworkManagerInfoDbus.c:
18132         * libnm_glib/libnm_glib.c:
18133         * panel-applet/NMWirelessAppletDbus.c:
18134         * src/NetworkManager.c:
18135         * src/NetworkManagerDbus.c:
18136         * src/NetworkManagerDevice.c:
18137         * src/NetworkManagerUtils.c:
18138         * src/nm-dbus-device.c:
18139         * src/nm-dbus-dhcp.c:
18140         * src/nm-dbus-net.c:
18141         * src/nm-dbus-nm.c:
18142         * test/nminfotest.c:
18143         First (unfinished, unworking) cut at porting to dbus 0.30 api.
18144
18145 2005-03-04  Dan Williams  <dcbw@redhat.com>
18146
18147         * configure.in
18148                 - Mark HEAD as 0.4
18149
18150 2005-03-04  Dan Williams  <dcbw@redhat.com>
18151
18152         Patch from Peter Jones:
18153         - Make stuff work with gcc 4.0
18154
18155 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18156
18157         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18158
18159 2005-02-27  Jim Huang  <jserv@kaffe.org>
18160
18161         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18162
18163 2005-02-27  Dan Williams  <dcbw@redhat.com>
18164
18165         Patch from Bill Moss:
18166         * panel-applet/NMWirelessAppletDbus.c
18167                 - Make sure strength for current access point is up-to-date when we
18168                         update the gui data model
18169
18170 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18171
18172         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18173
18174 2005-02-27  Dan Williams  <dcbw@redhat.com>
18175
18176         * src/backends/NetworkManagerRedHat.c
18177                 - (nm_system_init): Kill any dhclient processes lying around as well
18178                         as stopping 'nifd' if its already been started.  NetworkManager
18179                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18180
18181 2005-02-27  Dan Williams  <dcbw@redhat.com>
18182
18183         * panel-applet/NMWirelessApplet.c
18184                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18185                         dbus data model, not the GUI data model twice.
18186
18187 2005-02-27  Dan Williams  <dcbw@redhat.com>
18188
18189         * panel-applet/NMWirelessApplet.[ch]
18190           panel-applet/NMWirelessAppletDbus.[ch]
18191                 - Move to incremental network updates.  Instead of blowing away our list
18192                         of devices every time we get a signal from NetworkManager, we now
18193                         incrementally add/remove networks when NetworkManager notifies us that
18194                         a new network has appeared or disappered.  Strength updates now happen
18195                         on-the-fly for each access point as well.  There are now two copies of
18196                         data from NetworkManager: one for the dbus side, and one for the gui side.
18197                         When the dbus side data is modified, it is copied over to the gui side
18198                         so we don't have to hold the data_mutex for long periods of time (and
18199                         therefore block animation of the applet's icon).
18200                 - Clean up some memleaks too
18201
18202         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18203                 - Minor code beautification
18204
18205         * src/NetworkManagerAPList.c
18206                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18207                         completely new and whether or not an existing one's strength was updated.
18208                         Try to fix multiple access points and signal strength by using the highest
18209                         signal strength in each scan for any given ESSID.
18210
18211         * src/NetworkManagerDbus.[ch]
18212                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18213                         wireless networks; now we have only WirelessNetworkUpdate which includes
18214                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18215                 - Kill usage of DbusMessageIter
18216
18217         * src/NetworkManagerDevice.c
18218                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18219                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18220                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18221                         currently associated with from the network list.
18222                 - Update for new signals during scan, send out Appeared, Disappeared, or
18223                         StrengthChanged when necessary.
18224
18225 2005-02-25  Dan Williams  <dcbw@redhat.com>
18226
18227         * README
18228                 - Line break the README
18229
18230 2005-02-25  Dan Williams  <dcbw@redhat.com>
18231
18232         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18233                 - Remove usage of gtk_window_set_default_size()
18234
18235         * panel-applet/essid.glade
18236                 - Stick default size here
18237                 - Add in random crap that current glade wants to add in now
18238
18239 2005-02-25  Dan Williams  <dcbw@redhat.com>
18240
18241         * src/backends/NetworkManagerRedHat.c
18242                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18243                         and that we actually tell nscd to reload the hosts cache when it changes
18244
18245 2005-02-25  Dan Williams  <dcbw@redhat.com>
18246
18247         * info-daemon/NetworkManagerInfoDbus.c
18248                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18249
18250         * test/nminfotest.c
18251                 - Whack usage of DbusMessageIter
18252                 - Clean up DbusError and DbusMessage handling and freeing
18253                 - Remove unused unregister handler
18254
18255         * test/nmtest.c
18256                 - Whack usage of DbusMessageIter
18257
18258         * test/nmtestdevices.c
18259                 - Whack usage of DbusMessageIter
18260
18261 2005-02-25  Dan Williams  <dcbw@redhat.com>
18262
18263         * NetworkManager.h
18264                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18265                         signal
18266
18267 2005-02-25  Dan Williams  <dcbw@redhat.com>
18268
18269         * named/nm-named-manager.c
18270                 - Ensure that pid and watch variables for child named process get cleared out
18271                         when the child goes away.
18272
18273 2005-02-22  Dan Williams  <dcbw@redhat.com>
18274
18275         * src/NetworkManagerPolicy.c
18276                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18277                         and NULL out data->active_device so that we have to choose another one.
18278                         This may make NetworkManager keep attempting to connect to a wired network
18279                         if it fails, but if it keeps failing the wired network has more problems than
18280                         just NetworkManager.
18281
18282         * src/backends/NetworkManagerRedHat.c
18283                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18284                         is already running
18285
18286         * named/nm-named-manager.c
18287                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18288                         named so that the distro can flush whatever name service caching
18289                         daemon it uses
18290
18291 2005-02-21  Dan Williams  <dcbw@redhat.com>
18292
18293         * src/NetworkManagerDHCP.[ch]
18294                 - (nm_device_dhcp_remove_timeouts): new function
18295
18296         * src/NetworkManagerDevice.c
18297                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18298                         remove the DHCP timeouts.
18299
18300 2005-02-21  Dan Williams  <dcbw@redhat.com>
18301
18302         * panel-applet/NMWirelessApplet.[ch]
18303           panel-applet/menu-info.[ch]
18304                 - Give the panel applet some major love: menu items are no longer
18305                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18306                         This allows the applet to actually reflect theme changes correctly,
18307                         since themeing of subclassed items in GTK _sucks_.
18308
18309 2005-02-18  Dan Williams  <dcbw@redhat.com>
18310
18311         * libnm_glib/libnm_glib.[ch]
18312           test/libnm_glib_test.c
18313                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18314                         and its data, and doesn't have to free the callback data anymore
18315
18316 2005-02-18  Dan Williams  <dcbw@redhat.com>
18317
18318         * panel-applet/NMWirelessApplet.c
18319                 - Revert 2005-02-18 William Jon McCann fix for standard
18320                         copyright string until it passes 'make distcheck'.
18321                         With standard copyright string, xgettext complains
18322                         about "Non-ASCII string at ...".
18323
18324 2005-02-18  Dan Williams  <dcbw@redhat.com>
18325
18326         * panel-applet/essid.glade
18327           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18328                 - Correct spelling of "adaptor"->"adapter"
18329
18330 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18331
18332         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18333         (nmwa_about_cb): Use standard copyright string.  Update comment
18334         text to reflect that it is a notification area applet.  Remove
18335         leading newline in authors list.
18336         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18337         instead of on parent menu item activation.  Fixes #167550.
18338
18339 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18340
18341         * panel-applet/essid.glade: Capitalize items as per HIG.
18342           Fixes #167632
18343
18344 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18345
18346         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18347         files for GTK 2.4 or lower, since now public in GTK 2.6.
18348
18349         * panel-applet/essid.glade: Don't specify window size.
18350         
18351 2005-02-17  Dan Williams  <dcbw@redhat.com>
18352
18353         Caught by Bill Moss:
18354         * dhcpcd/client.c
18355                 - Time remaining for DHCP transaction calculation was incorrectly
18356                         inside a #ifdef DEBUG
18357
18358 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18359
18360         * configure.in: Added fr (French) to ALL_LINGUAS.
18361
18362 2005-02-14  Dan Williams  <dcbw@redhat.com>
18363
18364         * src/NetworkManagerDHCP.c
18365                 - (set_domain_searches): Fix free of invalid pointer
18366
18367 2005-02-14  Dan Williams  <dcbw@redhat.com>
18368
18369         Patch from Peter Jones:
18370         * dhcpcd/client.c
18371                 - Ensure we return RET_DHCP_CEASED everywhere we should
18372         * dhcpcd/udpipgen.c
18373                 - Use faster TOS for IP packets
18374                 - Don't set ip_id since we're UDP
18375
18376         Patch from Tomislav Vujec:
18377         * src/nm-dbus-dhcp.c
18378           test/nm-dhcp-opt-test.c
18379                 - Clean up warnings to enable cvs tree compilation.
18380
18381 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18382
18383         * configure.in
18384           po/hr.po
18385                 - Add the Croatian locale.
18386
18387 2005-02-14  Colin Walters  <walters@verbum.org>
18388
18389         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18390         list of domains to search.
18391         
18392         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18393
18394 2005-02-13  Dan Williams  <dcbw@redhat.com>
18395
18396         * dhcpcd/client.c
18397                 - Debug output cleanups of DHCP option printing and parsing.
18398
18399 2005-02-13  Dan Williams  <dcbw@redhat.com>
18400
18401         Patch from Dan Reed:  DHCP options D-BUS API
18402                 Exposes the DHCP options that a device receives to clients over D-BUS.
18403
18404         * configure.in
18405                 - A few cleanups
18406
18407         * dhcpcd/client.h
18408                 - Correct names, option length, and types for DHCP options
18409
18410         * dhcpcd/dhcpcd.[ch]
18411                 - Clarify function names that access DHCP options & data
18412
18413         * src/NetworkManagerDHCP.c
18414                 - Use new DHCP data access functions
18415
18416         * src/NetworkManagerDbus.c
18417                 - Message handler for DHCP functions
18418
18419         * src/nm-dbus-dhcp.[ch] (new)
18420                 - DHCP dbus methods
18421
18422         * test/nm-dhcp-opt-test.c
18423                 - Test DHCP D-BUS API and return all present DHCP options
18424
18425 2005-02-12  Dan Williams  <dcbw@redhat.com>
18426
18427         * test/Makefile.am
18428           test/nmclienttest.c
18429           test/nmtest.c
18430                 - Move nmclienttest.c -> nmtest.c
18431
18432 2005-02-12  Dan Williams  <dcbw@redhat.com>
18433
18434         * dhcpcd/buildmsg.c
18435                 - Pad DHCP packets until they are at least 300 bytes in size.
18436
18437 2005-02-11  Dan Williams  <dcbw@redhat.com>
18438
18439         * dhcpcd/client.c
18440                 - (dhcp_init): only print out client ID and class ID if they are specified
18441
18442         * src/NetworkManagerDbus.[ch]
18443           src/nm-dbus-nm.[ch]
18444           src/nm-dbus-device.[ch]
18445           src/nm-dbus-net.[ch]
18446                 - Move NM, Device, and Net functions to separate files and use the
18447                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18448                         method dispatching
18449
18450         * src/NetworkManagerDbusUtils.c
18451                 - Add new validate_method called before each dispatch (if present)
18452                         that can validate the method call
18453
18454         * src/NetworkManagerWireless.c
18455                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18456                         levels never to be evaluated
18457
18458         Patch from j@bootlab.org
18459         * src/NetworkManagerDevice.c
18460                 - Add typedef for "u64"
18461
18462         * src/backends/NetworkManagerDebian.c
18463                 - Copy in Dave Woodhouse's fixes for IPv6
18464
18465 2005-02-11  Dan Williams  <dcbw@redhat.com>
18466
18467         Patch from Dave Woodhouse for IPv6:
18468         * src/NetworkManagerUtils.c
18469                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18470                         and multicast addresses
18471
18472         * src/NetworkManagerDevice.c
18473                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18474                         after bringing up a card.
18475
18476 2005-02-10  Dan Williams  <dcbw@redhat.com>
18477
18478         Patch from Dave Woodhouse:
18479         * src/NetworkManagerSystem.h
18480           src/backends/NetworkManagerDebian.c
18481           src/backends/NetworkManagerGentoo.c
18482           src/backends/NetworkManagerSlackware.c
18483                 - New nm_system_device_add_ip6_link_address() function to add link-local
18484                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18485
18486         * src/backends/NetworkManagerRedHat.c
18487                 - (nm_system_device_add_ip6_link_address): implement
18488                 - (nm_system_device_flush_addresses): revert to previous behavior of
18489                         flushing all addresses
18490
18491 2005-02-10  Dan Williams  <dcbw@redhat.com>
18492
18493         Patch from Tom Parker:
18494         * src/NetworkManagerDevice.c
18495                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18496                         mii.h headers are broken, and instead use our own typedefs
18497
18498 2005-02-10  Dan Williams  <dcbw@redhat.com>
18499
18500         * dhcpcd/buildmsg.c
18501                 - (fill_host_and_class_id): only fill in client and class IDs if
18502                         they are set by callers.
18503
18504         * dhcpcd/client.c
18505                 - (class_id_setup): don't autogenerate a class ID, only use one
18506                         we're given, if any.
18507                 - (client_id_setup): don't autogenerate a client ID, only use one
18508                         we're given, if any.
18509
18510         * dhcpcd/dhcpcd.c
18511                 - (dhcp_interface_init): ensure that client options are correctly
18512                         NULL terminated
18513
18514         * src/NetworkManagerDHCP.c
18515                 - (nm_device_dhcp_request): pass hostname to dhcp library
18516
18517 2005-02-10  Dan Williams  <dcbw@redhat.com>
18518
18519         * dhcpcd/client.c
18520                 - #rh147661# Don't send kernel version in DHCP requests
18521
18522         * src/NetworkManagerSystem.h
18523           src/backends/NetworkManagerDebian.c
18524           src/backends/NetworkManagerGentoo.c
18525           src/backends/NetworkManagerRedHat.c
18526           src/backends/NetworkManagerSlackware.c
18527                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18528                         functions, they are no longer used anyway
18529
18530         * src/backends/NetworkManagerRedHat.c
18531                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18532                         addresses in an attempt to keep IPv6 local-scope addresses around
18533
18534 2005-02-10  Dan Williams  <dcbw@redhat.com>
18535
18536         * src/NetworkManager.c
18537                 - (nm_create_device_and_add_to_list): change the add message slightly
18538
18539         * src/NetworkManagerUtils.c
18540                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18541                         Return driver name to calling function
18542                 - (nm_get_driver_support_level): print out the driver a device is using
18543                         during the support check
18544
18545         Patch from Dave Woodhouse:
18546         * dhcpcd/udpipgen.c
18547                 - (in_cksum): copy last byte of odd-sized packets into a
18548                         'u_short' rather than a 'u_char', should fix wrong checksums
18549                         on big-endian platforms
18550
18551 2005-02-09  Dan Williams  <dcbw@redhat.com>
18552
18553         * Clean up usage of GSList objects and looping through their members
18554         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18555                 now.
18556         * Fix problem where even if scanning was turned off, card would still
18557                 cycle through frequencies.
18558
18559 2005-02-08  Dan Williams  <dcbw@redhat.com>
18560
18561         * panel-applet/NMWirelessApplet.c
18562                 - Fix for gtk 2.4
18563
18564 2005-02-08  Dan Williams  <dcbw@redhat.com>
18565
18566         Patch from Bill Moss
18567         * panel-applet/NMWirelessApplet.c
18568                 - Restore correct ESSID in tooltips
18569
18570 2005-02-07  Dan Williams  <dcbw@redhat.com>
18571
18572         * panel-applet/NMWirelessApplet.[ch]
18573                 - Add a context menu that contains:
18574                         Pause/Resume Wireless Scanning
18575                         Stop/Start All Wireless Devices
18576                         About...
18577                 - Grab active device strength off active device,
18578                         not its network
18579
18580         * panel-applet/NMWirelessAppletDbus.[ch]
18581                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18582                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18583                 - Update active device strength every 2 seconds, not every 1 second
18584
18585         * panel-applet/menu-info.c
18586                 - Only disable wired devices in the menu when they support carrier detection,
18587                         and don't currently have a link.  Non-carrier-detect devices will always
18588                         remain choosable
18589
18590         * src/Makefile.am
18591           src/NetworkManagerDbusUtils.[ch]
18592                 - Add new new dbus utils sources
18593
18594         * src/NetworkManager.c
18595                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18596                         with the boolean parameter
18597                 - Set scanning_enabled & wireless_enabled to TRUE
18598
18599         * src/NetworkManagerDbus.c
18600                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18601                 - Implement scanning & wireless enable/disable calls
18602                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18603
18604         * src/NetworkManagerDevice.c
18605                 - New link detection stuff again...
18606                         o  Create device's mainloop earlier (but don't run it earlier)
18607                         o  Hook up new carrier-detect support stuff
18608                         o  Add in the ethtool & mii support detection code
18609                 - Don't scan if scanning is disabled
18610
18611         * src/NetworkManagerPolicy.c
18612                 - Never automatically choose a device that doesn't support carrier detection
18613                 - Don't automatically choose a wireless device if wireless is disabled
18614
18615 2005-02-07  Dan Williams  <dcbw@redhat.com>
18616
18617         * libnm_glib/libnm_glib.c
18618                 - Small cleanup in element list iteration
18619
18620 2005-02-07  Dan Williams  <dcbw@redhat.com>
18621
18622         * src/NetworkManagerWireless.c
18623                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18624                         to be in line with the WEXT quality specification
18625
18626 2005-02-02  Dan Williams  <dcbw@redhat.com>
18627
18628         Patch from Nathan Fredrickson <nathan@silverorange.com>
18629         * Fix up compile for deprecation of libgnomeui
18630                 - Switch to <glib/gi18n.h> from <libintl.h>
18631                 - Remove <libgnomeui/libgnomeui.h> includes
18632                 - Use gtk_window_set_default_icon_from_file() rather than
18633                         gnome_window_set_default_icon_from_file()
18634
18635         * named/nm-named-manager.c
18636                 - (generate_named_conf): Fix return-nothing in non-void
18637                         function
18638
18639 2005-02-02  Dan Williams  <dcbw@redhat.com>
18640
18641         * Clean up unused variables and the like
18642
18643 2005-02-02  Dan Williams  <dcbw@redhat.com>
18644
18645         * src/NetworkManagerAPList.c
18646                 - (nm_ap_list_merge_scanned_ap): merge strength too
18647
18648         * src/NetworkManagerUtils.c
18649                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18650                         of locking issues by printing out prettier information than g_mutex_lock
18651                 - Print out names of mutexes registered with nm_register_mutex_desc()
18652                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18653                         us to seemingly block here for too long
18654
18655         * src/NetworkManager.c
18656           src/NetworkManagerAPList.c
18657           src/NetworkManagerDevice.c
18658                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18659                         so we get better debug information printed
18660
18661         * src/NetworkManagerDbus.c
18662                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18663                         since it sometimes has locking side effects
18664                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18665                         from 10s
18666                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18667                         we don't need a switch.  This gets called often enough that we can't block
18668                         until the scan mutex is acquired, because we'll block on device activation
18669                         and a few other things, which hangs main thread for too long.
18670
18671         * src/NetworkManagerPolicy.c
18672                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18673                         nm_device_need_ap_switch() will be called               
18674
18675 2005-02-02  Dan Williams  <dcbw@redhat.com>
18676
18677         * panel-applet/NMWirelessApplet.c
18678                 - Display name of wireless network we are connecting to or connected to
18679                         in the tooltip of the applet
18680
18681 2005-02-02  Dan Williams  <dcbw@redhat.com>
18682
18683         * src/NetworkManagerDHCP.c
18684                 - Hopefully fix double-default-route problem by cleaning up the default
18685                         route added by DHCP code right before the DHCP transaction begins
18686
18687 2005-02-02  Dan Williams  <dcbw@redhat.com>
18688
18689         * named/nm-named-manager.c
18690                 - Write out valid resolv.conf when we exit
18691
18692 2005-02-01  Dan Williams  <dcbw@redhat.com>
18693
18694         Patch from Colin Walters:
18695         * named/nm-named-manager.c
18696                 - Make multi-domain search options work
18697
18698 2005-01-31  Dan Williams  <dcbw@redhat.com>
18699
18700         * info-daemon/NetworkManagerInfoDbus.c
18701                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18702
18703         * src/NetworkManagerDevice.c
18704                 - (nm_device_new): Don't store the entire range struct, use only what we need
18705                         (which is currently avg_quality, max_quality, and frequencies).  Also
18706                         zero device structure when we've free'd it to maybe expose errors down
18707                         the line.
18708                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18709                         quality data from the card since quality will be useless during a scan.
18710                         Call updated wireless qual-to-percent function with values stored in
18711                         nm_device_new() earlier.
18712                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18713                         nm_device_get_bad_crypt_packets())
18714                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18715                         nm_device_new()
18716                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18717                         list if available.  Problem was this: when the WEP key is wrong, NM will
18718                         try OS then SK modes, and then get stuck in SK mode after that.  This
18719                         should reset it.
18720                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18721                         function
18722
18723         * src/NetworkManagerWireless.c
18724                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18725                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18726                         if that's all present, otherwise fall back to signal-to-noise ratios.
18727
18728 2005-01-29  Dan Williams  <dcbw@redhat.com>
18729
18730         * initscript/RedHat/NetworkManager
18731                 - Don't spit out sysctl stuff to console
18732
18733         * libnm_glib/libnm_glib.c
18734                 - (libnm_glib_init): call dbus_g_thread_init()
18735
18736         * panel-applet/NMWirelessAppletDbus.c
18737                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18738
18739         * src/NetworkManager.c
18740                 - (main): call dbus_g_thread_init()
18741
18742         * src/NetworkManagerAPList.c
18743                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18744                         so we can actually see what's there in a normal syslog
18745
18746         * src/NetworkManagerDevice.c
18747                 - (nm_device_activate_wireless): print out the "waiting for access point"
18748                         message only once, then say what access point we actually got after
18749                         the wait.
18750                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18751                         function, wait until the scan is done.  Scans may change the ESSID of
18752                         the card, making this function think we need to switch access points
18753                 - (nm_device_wireless_process_scan_results): for artificial access points
18754                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18755                         prevents collisions with the scanning code, which may change the card's
18756                         ESSID and cause the access point to get dropped from the device's AP
18757                         list.  Also increase the keep-around time to 2m from 60s since the max
18758                         scan interval could be 60s in some cases.
18759
18760         * src/NetworkManagerPolicy.c
18761                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18762                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18763                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18764                         between NM and NMI.
18765
18766 2005-01-27  Dan Williams  <dcbw@redhat.com>
18767
18768         * info-daemon/NetworkManagerInfoDbus.c
18769                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18770                         GConf, make a minimal entry for it (essid & timestamp)
18771
18772         * src/NetworkManagerAPList.c
18773                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18774                         NetworkManagerInfo isn't running
18775
18776         * src/NetworkManagerDbus.[ch]
18777                 - (nm_dbus_nmi_is_running): new function
18778
18779         * src/NetworkManagerDevice.c
18780                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18781                         address to garbage.
18782
18783         * src/NetworkManagerPolicy.c
18784                 - (nm_policy_activation_finish): On successful activation, make sure
18785                         the "best" AP has a MAC address, and don't tell NMI to add the
18786                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18787                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18788                         access point after refreshing our allowed list if it doesn't already
18789                         have a "best" access point.
18790
18791 2005-01-25  Dan Williams  <dcbw@redhat.com>
18792
18793         * panel-applet/NMWirelessAppletDbus.c
18794                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18795                         so we check for NM_DBUS_SERVICE rather than not for it
18796
18797         * libnm_glib/libnm_glib.c
18798                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18799                         ServiceOwnerChanged signal
18800
18801 2005-01-25  Dan Williams  <dcbw@redhat.com>
18802
18803         * configure.in
18804                 - Check DBUS version in configure, and set the C macros
18805                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18806
18807         * info-daemon/NetworkManagerInfoDbus.c
18808                 - Remove #if 0-d section of code that quit NMI if NM went away.
18809
18810         * panel-applet/NMWirelessAppletDbus.c
18811                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18812
18813         * src/NetworkManager.c
18814           src/NetworkManagerMain.h
18815           src/NetworkManagerDbus.c
18816                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18817                 - Make updating of our Allowed Wireless Network lists from NMI
18818                         an idle function in the main thread now, with a high priority.
18819
18820 2005-01-24  Dan Williams  <dcbw@redhat.com>
18821
18822         * panel-applet/gtkcellview.[ch]
18823           panel-applet/menu-info.c
18824                 - Fix GTK version checks to be <= rather than <
18825
18826         * test/Makefile.am
18827                 - Include the libtool archive of libnm_glib rather than
18828                         trying to pull in the .so
18829
18830 2005-01-24  Dan Williams  <dcbw@redhat.com>
18831
18832         * src/NetworkManagerDevice.c
18833           src/NetworkManagerDevicePrivate.h
18834                 - Block nm_device_new() until our device's worker thread has had a
18835                         chance to start up.  Fixes a race between main thread and worker
18836                         thread starting that caused activation requests to get lost.
18837
18838 2005-01-24  Dan Williams  <dcbw@redhat.com>
18839
18840         * initscript/RedHat/NetworkManager
18841                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18842                         to add the NM startup script at priority 50, which was
18843                         way too early
18844
18845 2005-01-24  Colin Walters  <walters@redhat.com>
18846
18847         * named/named.conf: Use any port for query source instead of
18848         restricting to port 53.
18849
18850 2005-01-24  Dan Williams  <dcbw@redhat.com>
18851
18852         * initscript/RedHat/NetworkManager
18853                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18854                         to add the NM startup script at priority 50, which was
18855                         way too early
18856
18857 2005-01-24  Dan Williams  <dcbw@redhat.com>
18858
18859         Patch from Tom Parker <palfrey@tevp.net>
18860         * Fix up compile warnings & errors in the wireless applet
18861
18862 2005-01-24  Dan Williams  <dcbw@redhat.com>
18863
18864         * panel-applet/NMWirelessApplet.c
18865                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18866
18867 2005-01-24  Dan Williams  <dcbw@redhat.com>
18868
18869         * panel-applet/gtkcellview.[ch]
18870                 - Only compile these files for GTK 2.4 or lower, since 
18871                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18872                         when choosing "Other Wireless Networks" from the panel
18873                         applet menu
18874
18875 2005-01-21  Dan Williams  <dcbw@redhat.com>
18876
18877         * src/NetworkManager.c
18878                 - Daemonize earlier so that glib doesn't get confused (?)
18879
18880 2005-01-21  Dan Williams  <dcbw@redhat.com>
18881
18882         * panel-applet/NMWirelessApplet.[ch]
18883           panel-applet/NMWirelessAppletDbus.c
18884           panel-applet/menu-info.c
18885           src/NetworkManagerDevice.c
18886                 - Disable wired devices in the menu when they have no link.
18887
18888 2005-01-21  Dan Williams  <dcbw@redhat.com>
18889
18890         * Cache last-known-good wireless authentication method in
18891                 NetworkManagerInfo, and use that method first during
18892                 wireless device activation.  Should speed up devices that
18893                 need Shared Key authentication method since Open System is
18894                 now the default.
18895
18896         * Remove the hack to not do full activation on wired connections
18897                 that are active when we launch, it causes too many problems
18898                 with name resolution and was a hack in the first place.
18899
18900         * Re-work wireless device activation again somewhat to have a
18901                 clearer chain of events and to use last-known-good
18902                 authentication method of the access point.  Also provide
18903                 better status throughout activation to ensure the applet
18904                 can tell the user exactly what's going on.
18905
18906         * Remove the "find wireless network" code and now simply attempt
18907                 to activate with that access point.  This reduces the delay
18908                 between selecting "Other wireless Network" and actually
18909                 connecting to that network.
18910
18911         * Correctly stop the device's worker thread when its removed.
18912
18913 2005-01-21  Dan Williams  <dcbw@redhat.com>
18914
18915         * dhcpcd/client.c
18916                 - Clean up some of the debug messages
18917
18918 2005-01-21  Dan Williams  <dcbw@redhat.com>
18919
18920         * Add new icons, more frames of animation
18921         * Remove some hacks to get the panel applet to display correct
18922                 status, an NM update will soon follow that will fix the
18923                 real issue.
18924
18925 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18926
18927         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18928         the first include for working i18n. Also, don't include it in .h files
18929         * panel-applet/NMWirelessApplet.h: Same
18930         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18931         * panel-applet/menu-info.c: Same
18932
18933 2005-01-18  Dan Williams <dcbw@redhat.com>
18934
18935         * dhcpcd/client.c
18936                 - Remove some debug messages
18937                 - Wrap others in #ifdef DEBUG/#endif
18938
18939         * src/NetworkManager.c
18940                 - Remove some debug messages
18941                 - Clarify some debug messages
18942                 - Remove code related to old single-thread wireless scanning
18943
18944         * src/NetworkManagerAP.[ch]
18945                 - New AP property "last_seen" to track how recently an AP was
18946                         found in a scan
18947                 - Start using 'const' more in function arguments
18948
18949         * src/NetworkManagerAPList.[ch]
18950                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18951                         of an AP found in an AP list from a source AP, or if not found
18952                         in the list add the source AP
18953                 - (nm_ap_list_combine): remove, no longer needed
18954
18955         * src/NetworkManagerDevice.c
18956                 - Each device now has a "worker" thread from start to end of its life.
18957                         Scanning for wireless devices now happens in that thread,
18958                         not in a single "wireless scanning thread" for all devices as
18959                         previously.  Activation consists of adding an idle handler to the
18960                         thread's main loop/context, which gets run at the next available
18961                         opportunity.
18962                 - Wireless scanning is also simplified, there is now only one list of
18963                         access points per wireless device, and APs older than 60s are
18964                         removed from the list.  Previously, we kept results for the last
18965                         3 scans and merged whole lists, which was complicated.
18966                 - Cleaned up activation debug messages.
18967                 - Wireless activation and access-point search routines now use Open System
18968                         authentication before trying Shared Key.
18969                 - Removed some code in nm_device_update_best_ap() that could cause cards
18970                         to loose their link to the access point.
18971                 - Scanning now uses a backoff algorithm, where the inverval becomes
18972                         progressively longer between scans when the list of scanned access
18973                         points doesn't change.  A change will revert to the shortest scan
18974                         interval (20s).
18975
18976         * src/NetworkManagerWireless.[ch]
18977                 - Remove code related to old single-thread wireless scanning
18978
18979 2005-01-18  Colin Walters  <walters@redhat.com>
18980
18981         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18982         of older nameservers.
18983
18984 2005-01-18  Colin Walters  <walters@redhat.com>
18985
18986         * named/nm-named-manager.c (generate_named_conf): Many fixes
18987         to config file generation.
18988         (safer_kill): Remove, was too much trouble for little gain.
18989         (nm_named_manager_start): Run named as NM_NAMED_USER.
18990
18991         * configure.in: Add option --with-named-user.
18992
18993 2005-01-14  Colin Walters  <walters@redhat.com>
18994
18995         Patch from ed@catmur.co.uk (Ed Catmur)
18996
18997         * named/nm-named-manager.c: Add "context" property.
18998         Use it to add child watch source in specific GMainContext.
18999
19000         * src/NetworkManager.c (nm_data_new): Initialize
19001         named with correct main context.  Start named only
19002         after forking.
19003
19004 2005-01-14  Colin Walters  <walters@redhat.com>
19005
19006         * named/nm-named-manager.c (generate_named_conf): Write config
19007         and pid files into NM_NAMED_DATA_DIR; this allows things to
19008         work better with FC3 named SELinux policy.  Also fix up silly
19009         format error.
19010
19011         * configure.in: Add --with-named-dir option.
19012
19013 2005-01-14  Colin Walters  <walters@redhat.com>
19014
19015         * configure.in: Make named support require passing --with-named.
19016
19017         * named/nm-named-manager.c: Support writing resolv.conf directly
19018         without running named.
19019
19020 2005-01-13  Dan Williams <dcbw@redhat.com>
19021
19022         * named/nm-named-manager.c
19023                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19024
19025         * src/NetworkManagerDevice.c
19026                 - Rework wireless link detection code to be more reliable
19027
19028 2005-01-12  Dan Williams <dcbw@redhat.com>
19029
19030         * initscripts/RedHat/NetworkManager
19031                 - Change initial level to "-" rather than "345" so that
19032                         we don't activate ourselves by default on install
19033
19034 2005-01-12  Dan Williams <dcbw@redhat.com>
19035
19036         * libnm_glib/
19037                 - Client library for applications using glib
19038
19039         * configure.in
19040           various Makefiles
19041                 - Split NM_CFLAGS and NM_LIBS into separate variables
19042                         like DBUS_*, HAL_* and GLIB_*
19043
19044         * src/NetworkManager.c
19045           src/NetworkManagerMain.h
19046                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19047                         broadcast a status changed signal over DBUS from the main thread.
19048                         Still unused anywhere for the moment.
19049
19050         Patch from j@bootlab.org
19051         * panel_applet/NMWirelessAppletDbus.c
19052           src/NetworkManagerDbus.c
19053                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19054                         for the "getMode" method call
19055
19056 2005-01-10  Dan Williams <dcbw@redhat.com>
19057
19058         * src/NetworkManagerDevice.c
19059                 - Minor fixups & corrections to "auto" frequency mode, make it
19060                         less chatty with syslog
19061
19062 2005-01-10  Dan Williams <dcbw@redhat.com>
19063
19064         * src/NetworkManagerDevice.c
19065                 - Implement "auto" frequency/channel support, since cards like Atheros
19066                         can't use other frequencies at all when you've told it to use a
19067                         specific one, even for scanning.
19068                 - Grab the scan mutex around places where we can't tolerate wireless
19069                         settings changing underneath us, like nm_device_wireless_network_exists()
19070                         and nm_device_activate_wireless()
19071
19072         * src/NetworkManagerWireless.c
19073                 - Back scan interval off to 20s instead of 14s
19074
19075 2005-01-09  Dan Williams <dcbw@redhat.com>
19076
19077         * src/NetworkManagerDevice.c
19078                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19079                         already set.  Stops some drivers like Atmel from continually
19080                         reloading the firmware, which they do upon every configuration
19081                         change.
19082
19083 2005-01-09  Dan Williams <dcbw@redhat.com>
19084
19085         * dhcpcd/client.c
19086                 - Use correct timeout value
19087
19088         * info-daemon/NetworkManagerInfoDbus.c
19089           src/NetworkManagerDbus.c
19090                 - Consolidate communication between NM and NMI by doing only 1 dbus
19091                         method call to get Wireless Network info from NMI instead of 6
19092
19093         * src/NetworkManager.c
19094                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19095                         when we didn't have an AP to use, we'd wait for one forever without
19096                         quitting
19097
19098         * src/NetworkManagerDevice.c
19099                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19100                         activation, dhcp might not have started yet but we don't quit activation
19101                         before starting it, so the quit signal gets lost
19102
19103 2005-01-07  Dan Williams <dcbw@redhat.com>
19104
19105         * dhcpcd/client.c
19106                 - Rework the DHCP client code to be much less chatty when
19107                         it receives non-DHCP UDP packets during the DHCP run
19108                         (reported by and preliminary patches from Bill Moss)
19109
19110         * Move wireless scanning to a separate thread.  This thread forwards the
19111                 results to the main thread when done where they are integrated into
19112                 the device's access point lists.  This keeps the main thread (which
19113                 does all the DBUS communication) from being blocked for long periods
19114                 of time by wireless scanning.
19115
19116         * Make state modification an idle routine in the main loop, and trigger
19117                 state changes rather than polling for them.
19118
19119         * src/backends/NetworkManagerGentoo.c
19120                 - Fix up invalid C90 code (reported by Christoph Ruessler)
19121
19122         * src/NetworkManagerDevice.c
19123                 - Revert IPv6 patch for wired devices from 2004-12-22 for
19124                         router advertisements, causing problems and infinite loop
19125                         during "best" device determination due to link going up/down
19126                         (reported by Bill Moss)
19127
19128         Apply patch from Peter Jones
19129         * src/NetworkManagerDevice.c
19130                 - Shortcut for link-checking for ipw2x00 cards
19131                 - Split out association check into separate routine
19132
19133 2004-01-05  Colin Walters  <walters@redhat.com>
19134
19135         * named/named.conf: Add PID_FILE.
19136
19137         * named/nm-named-manager.c: Always generate a pid
19138         file, since older BIND versions don't support
19139         "pid-file none".
19140
19141 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
19142
19143         * configure.in (ALL_LINGUAS): Added ja (Japanese).
19144
19145 2004-12-22  Dan Williams <dcbw@redhat.com>
19146
19147         * src/NetworkManagerDevice.c
19148                 - Silently fail when setting bitrate doesn't work
19149
19150
19151         Patches from j@bootlab.org:
19152         * src/backends/NetworkManagerDebian
19153                 - Update backend to match functionality in RedHat backend
19154         * src/NetworkManagerDevice.c
19155                 - Take down then bring up wired devices after connection so
19156                 they send out ipv6 router advertisements
19157
19158 2004-12-21  Colin Walters  <walters@verbum.org>
19159
19160         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19161         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19162
19163 2004-12-21  Colin Walters  <walters@redhat.com>
19164
19165         * configure.in: Correct named detection.
19166
19167 2004-12-21  Colin Walters  <walters@redhat.com>
19168
19169         * src/NetworkManager.c (nm_data_new): Initialize named.
19170         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19171         the mainloop when these signals are received.
19172         (nm_data_free): Unref named.
19173         (sigterm_handler, sigterm_pipe_handler): New functions for
19174         exiting mainloop.
19175         
19176         * src/NetworkManagerMain.h (NMData): Add signal handling and
19177         nameserver bits.
19178
19179         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19180         unref.
19181
19182         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19183         set nameservers from DHCP response data.
19184         (set_domain_search): Set domain search from DHCP response.
19185         (nm_device_dhcp_configure): Invoke them.
19186
19187         * src/NetworkManagerSystem.c
19188         (nm_system_device_update_resolv_conf): Delete.  Deleting
19189         code is totally sweet.
19190
19191         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19192
19193         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19194         implements an object which controls a nameserver.  Currently
19195         uses bind 9.
19196
19197         * configure.in: Check for named.
19198
19199         * Makefile.am (SUBDIRS): Add named dir.
19200
19201         * named/named.conf: New template config file.
19202
19203 2004-12-20  Colin Walters  <walters@redhat.com>
19204
19205         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19206         instead of '='.
19207
19208 2004-12-17  Dan Williams  <dcbw@redhat.com>
19209
19210         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19211                 link-local addresses instead of doing DHCP.
19212
19213         * In the panel applet, there's a new "Create new Wireless Network..." item
19214
19215         * The panel applet also sticks around now even if NetworkManager dies, but
19216                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19217                 a bug, I'll fix that later.
19218
19219         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19220                 lookups after a switch rather than actually doing them.
19221
19222         * Clean up some of those warnings in nm_ap_list_* functions
19223
19224         * Delay between scans changed to 15s instead of 10s
19225
19226 2004-12-15  Dan Williams  <dcbw@redhat.com>
19227
19228         Patch from Tom Parker
19229         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19230                 address
19231
19232         * Longer pause after setting ESSID on cards that support a larger number
19233                 of channels to give the card time to find the right channel
19234
19235         * Add system hook to restart mDNSResponder (or whatever the local implementation
19236                 of Multicast DNS is) when we activate interfaces
19237
19238 2004-12-15  Dan Williams  <dcbw@redhat.com>
19239
19240         * Rework the DHCP code again to revert to sending full ethernet frames
19241                 rather then relying on the kernel to do the right thing with our
19242                 packets.
19243
19244 2004-12-06  Dan Williams  <dcbw@redhat.com>
19245
19246         * dhcpcd/client.c
19247                 - Fix some minor errors in dhcp_handle_transaction() that caused
19248                         unexpected early timeouts of DHCP transactions
19249
19250         * dhcpcd/client.h
19251                 - DHCP retransmit time from 4s -> 5s
19252
19253 2004-12-05  Dan Williams  <dcbw@redhat.com>
19254
19255         * Major rework of the DHCP code, taking some cues from pump.  We don't
19256                 write raw Ethernet packets anymore, which simplifies the code quite
19257                 a bit.  The new code should be more robust, not hang in recvfrom()
19258                 as much, and generally work better.  This also means that we need
19259                 to force HAL/dbus to use a created GMainContext rather than the
19260                 default context, since having the DHCP renew/rebind thread using
19261                 its own GMainContext seemed to give dbus a fit.  There is also more
19262                 debugging information printed from the DHCP loop to help with future
19263                 problems.
19264
19265         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19266                 assume that the default gateway should be the DHCP server.
19267
19268         Patch from Matthew Schick <matt oss-institute org>
19269         * src/backends/NetworkManagerGentoo.c
19270                 - Fix compilation error due to missing "ip4_broadcast"
19271
19272 2004-12-03  Dan Williams  <dcbw@redhat.com>
19273
19274         * initscript/Makefile.am
19275         * initscript/Debian/NetworkManager
19276         * initscript/Gentoo/NetworkManager
19277         * initscript/RedHat/NetworkManager
19278         * initscript/NMLaunchHelper.c
19279                 - Remove NMLaunchHelper, if you need to wait until the network
19280                         comes up, use the dead code from CVS.
19281
19282 2004-12-01  Colin Walters  <walters@redhat.com>
19283         
19284         * configure.in: Suck in gcc warnings code from Rhythmbox,
19285         but use fewer default flags, and in particular add -Wno-unused,
19286         since the codebase has a lot of unused variables.
19287
19288         * test/nmtestdevices.c (create_device): 
19289         * test/nminfotest.c (get_network_string_property) 
19290         (get_networks_of_type): 
19291         * test/nmclienttest.c (main): 
19292         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19293         * initscript/NMLaunchHelper.c (get_nm_status): 
19294         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19295         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19296         Fix declarations after statements.
19297
19298 2004-12-01  Colin Walters  <walters@redhat.com>
19299
19300         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19301         (nmi_dbus_get_vpn_userpass): New method.
19302         (nmi_dbus_nmi_message_handler): Invoke it.
19303
19304         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19305
19306         * info-daemon/NetworkManagerInfoVPN.h,
19307         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19308         to requests for VPN passwords.
19309
19310         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19311
19312 2004-12-01  Colin Walters  <walters@redhat.com>
19313
19314         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19315         includes.
19316
19317 2004-12-01  Colin Walters  <walters@redhat.com>
19318
19319         * panel-applet/NMWirelessAppletDbus.c
19320         (nmwa_dbus_update_active_device_strength): Fix missing
19321         return value.
19322
19323 2004-12-01  Colin Walters  <walters@redhat.com>
19324
19325         * panel-applet/NMWirelessApplet.c: Add missing include.
19326
19327 2004-12-01  Colin Walters  <walters@redhat.com>
19328
19329         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19330         Remove useless CLAMP (); the value is unsigned, and the case tests
19331         qual->qual < 100, so the value must always be between 0 and 100.
19332
19333 2004-12-01  Colin Walters  <walters@redhat.com>
19334
19335         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19336
19337 2004-11-22  Colin Walters  <walters@verbum.org>
19338
19339         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19340         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19341         which is essentially a noop since nscd caches hosts on disk too.
19342         
19343 2004-11-22  Colin Walters  <walters@redhat.com>
19344
19345         * src/Makefile.am (NetworkManager_SOURCES): Add
19346         NetworkManagerDevicePrivate.h.
19347
19348 2004-11-22  Dan Williams <dcbw@redhat.com>
19349
19350         * src/NetworkManagerDevicePrivate.h
19351                 - Split out the NMDevice struct to a different file so that stuff like
19352                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19353
19354         * dhcpcd/client.c
19355                 - fprintf->syslog
19356                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19357                         need to cancel the dhcp request during the send and recv
19358
19359         * dhcpcd/client.h
19360                 - Move the DHCP option enum to dhcpcd.h
19361
19362         * src/NetworkManagerDHCP.c
19363                 - Split out the actual IP/netmask/etc setting code
19364                 - New Renew/Rebind functions
19365                 - New timer setup function for renew/rebind operations
19366
19367         * src/NetworkManagerDevice.c
19368                 - For device activation, if we are using DHCP then keep the activation thread
19369                         alive until device deactivation.  We need to renew/rebind the DHCP address
19370                         after the T1 (renew) and T2 (rebind) times have expired.
19371                 - Increase some timeouts after bringing wireless cards up/down
19372
19373 2004-11-17  Dan Williams <dcbw@redhat.com>
19374
19375         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19376                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19377                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19378                 show known access points that don't broadcast their ESSID in the menus without
19379                 any user intervention whatsoever.
19380
19381         * info-daemon/NetworkManagerInfoDbus.c
19382                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19383                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19384
19385         * src/NetworkManagerAP.[ch]
19386                 - Add a "user_addresses" data member to the NMAccessPoint structure
19387                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19388                         the user_addresses data member
19389
19390         * src/NetworkManagerAPList.c
19391                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19392                         the AP's reported address
19393                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19394
19395         * src/NetworkManagerDHCP.c
19396                 - Increase DHCP timeout from 25s -> 30s
19397
19398         * src/NetworkManagerDbus.[ch]
19399                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19400                         user addresses
19401
19402         * src/NetworkManagerDevice.c
19403                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19404                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19405                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19406                         So, we take the card down to clear it out.
19407                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19408                         too, since that's where the user_addresses are
19409
19410         * src/NetworkManagerPolicy.c
19411                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19412                         that wireless networks' user_addresses list upon successful activation
19413
19414 2004-11-16  Dan Williams <dcbw@redhat.com>
19415
19416         * src/NetworkManagerDevice.[ch]
19417                 - (nm_device_clear_activation_fail): new function
19418
19419         * src/NetworkManagerPolicy.c
19420                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19421                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19422
19423 2004-11-16  Dan Williams <dcbw@redhat.com>
19424
19425         * src/NetworkManagerDevice.c
19426                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19427                         leak the structure, better updating of now_scanning status
19428                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19429
19430 2004-11-15  Dan Williams <dcbw@redhat.com>
19431
19432         Major rework of link detection code.  We now use DHCP
19433         as part of the link detection which proves to be much more robust,
19434         and also supports Open System authentication for wireless networks.
19435
19436         We no longer use external DHCP client programs.  Instead, we use 
19437         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19438         which was written by:
19439                 Yoichi Hariguchi <yoichi@fore.com>
19440                 Sergei Viznyuk <sv@phystech.com>
19441                 http://www.phystech.com/download/
19442         It resides in the "dhcpcd" directory and was refactored into a general
19443         purpose DHCP client library by me.
19444
19445         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19446         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19447
19448 2004-11-15  Dan Williams <dcbw@redhat.com>
19449
19450         Patch from Tom Parker <palfrey@tevp.net>:
19451
19452         * src/NetworkManagerDevice.c
19453                 - Less output to console when no access
19454                         points are found during a scan
19455
19456 2004-11-15  Dan Williams <dcbw@redhat.com>
19457
19458         Patch from Tom Parker <palfrey@tevp.net>:
19459
19460         * src/backends/interface_parser.c
19461                 - Use g_strdup ()
19462                 - Check for inp == NULL
19463                 - use syslog ()
19464
19465 2004-11-13  Colin Walters  <walters@redhat.com>
19466
19467         Patch from Tom Parker <palfrey@tevp.net>:
19468
19469         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19470         
19471         * src/backends/NetworkManagerRedHat.c: Switch to
19472         including shvar.h instead of shvar.c.
19473
19474         * src/backends/NetworkManagerDebian.c: Don't include
19475         interface_parser.c in source file.
19476
19477         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19478         and interface_parser.[ch].
19479         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19480         Include shvar.c and shvar.h here.
19481         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19482         interface_parser.c and interface_parser.h here.
19483
19484 2004-11-12  Colin Walters  <walters@redhat.com>
19485
19486         * configure.in: Strip out TARGET_DISTRO and
19487         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19488         conditionals.
19489
19490         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19491         (libnmbackend_la_SOURCES): Use Automake conditionals
19492         to add distro-specific files.
19493
19494         * initscript/Makefile.am (SUBDIRS): Update to
19495         use conditionals.
19496
19497 2004-11-12  Colin Walters  <walters@redhat.com>
19498
19499         Patches from j bootlab org
19500
19501         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19502         Add interface_parser.[ch].
19503
19504         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19505         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19506
19507 2004-11-12  Colin Walters  <walters@redhat.com>
19508
19509         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19510         call to nmi_dbus_is_running too, not necessary anymore.
19511         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19512         pick up exit().
19513
19514 2004-11-11  Colin Walters  <walters@verbum.org>
19515
19516         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19517         Delete.
19518         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19519         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19520         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19521         This avoids a race condition that made it pretty easily
19522         possible to get two NetworkManagerInfo daemons running.
19523
19524 2004-11-11  Colin Walters  <walters@verbum.org>
19525         
19526         * src/NetworkManager.c (main): Use daemon(3).
19527
19528         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19529
19530         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19531
19532 2004-11-10 Dan Williams <dcbw@redhat.com>
19533
19534         Patches from j bootlab org
19535         * src/NetworkManagerDevice.c
19536                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19537                         whether the card has a link or not, some cards are slow
19538                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19539
19540         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19541                 - Disable the "Login" button on the passphrase dialog until the user
19542                         enters a valid passphrase or key
19543
19544         Patches from Tom Parker <palfrey tevp net>
19545         * src/backends/NetworkManagerDebian.c
19546                 - Add static IP support to the debian backend
19547
19548         * src/backends/interface_parser.[ch]
19549                 - Parse debian interface config files
19550
19551 2004-11-08 Dan Williams <dcbw@redhat.com>
19552
19553         * src/NetworkManagerDevice.c
19554                 - Some random fprintf->syslog conversions
19555                 - (nm_device_wireless_network_exists): double-check for network
19556                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19557
19558         * src/NetworkManagerWireless.[ch]
19559                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19560                         so that the binary->ascii conversion works (if unsigned, the bitshift
19561                         will fill with zeros, which is what's required).  Also mask bitshift
19562                         result with 0xF for futher assurance.
19563
19564 2004-11-06 Dan Williams <dcbw@redhat.com>
19565
19566         * src/NetworkManagerUtils.c
19567                 - (nm_get_wireless_driver_support_level): default to
19568                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19569                         flip this when changing from whitelist->blacklist of
19570                         wireless drivers
19571
19572 2004-11-05 Dan Williams <dcbw@redhat.com>
19573
19574         Patch from Robert Paskowitz:
19575         * src/backends/NetworkManagerGentoo.c
19576                 - Update static IP config code
19577
19578 2004-11-05 Dan Williams <dcbw@redhat.com>
19579
19580         * info-daemon/NetworkManagerInfoDbus.c
19581           src/NetworkManagerDbus.[ch]
19582           src/NetworkManagerDevice.c
19583                 - Keep track of the # of attempts to get the WEP key
19584                         from the user and pass that along to the info daemon
19585
19586 2004-11-05 Dan Williams <dcbw@redhat.com>
19587
19588         * src/NetworkManagerUtils.c
19589                 - Blacklist wireless cards rather than whitelisting them.
19590                 - Grab driver name from HAL rather than trying to find it
19591                         ourselves.
19592
19593 2004-11-03 Dan Williams <dcbw@redhat.com>
19594
19595         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19596                 - Disable OK button until valid data is entered
19597                         for encryption stuff too
19598
19599         * panel-applet/NMWirelessApplet.c
19600                 - Report card strength for current AP if the card
19601                         doesn't report strength data for scanned access
19602                         points
19603
19604         * src/NetworkManagerDevice.c
19605                 - Smooth out cards reported quality, Atmel card was
19606                         intermittently reporting no quality data but soon
19607                         recovers
19608
19609         * src/NetworkManagerWireless.c
19610                 - Better quality data percentage calculation.  Atmel
19611                         cards (mine at least) seem to report the quality
19612                         in percentage format already, so honor that
19613
19614         Patch from <j@bootlab.org>
19615         * NetworkManager.h
19616           info-daemon/NetworkManagerInfoPassphraseDialog.c
19617           info-daemon/passphrase.glade
19618           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19619           panel-applet/essid.glade
19620           src/NetworkManagerAP.c
19621           src/NetworkManagerDevice.c
19622           src/NetworkManagerWireless.[ch]
19623                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19624
19625 2004-11-03 Dan Williams <dcbw@redhat.com>
19626
19627         * src/NetworkManagerDevice.[ch]
19628                 - (nm_device_set_enc_key): Add parameter to set Authentication
19629                         Mode (Open System, Shared Key, or None).  We're still using
19630                         Shared Key for now though.
19631
19632 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19633
19634         * panel-applet/menu-info.c: change from bold text to light
19635         colored, may cause problems with some themes, i've tested a lot
19636         and they seem fine. 
19637
19638         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19639
19640 2004-11-01  Colin Walters  <walters@verbum.org>
19641
19642         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19643         (nm_wireless_128bit_key_from_passphrase): Add const.
19644
19645         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19646         (nm_ap_set_enc_key_source): Add const.
19647         
19648 2004-11-01  Colin Walters  <walters@verbum.org>
19649
19650         * .cvsignore: Update.
19651
19652 2004-10-29 Dan Williams <dcbw@redhat.com>
19653
19654         * src/NetworkManagerDevice.c
19655                 - (nm_device_wireless_network_exists): Actually use the encryption
19656                         key we got from the applet when attempting to find a wireless network
19657                 - Don't bring devices down so much since on some cards it triggers
19658                         firmware hotplugs each time
19659
19660         * src/NetworkManagerDbus.c
19661                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19662                         from the caller
19663
19664 2004-10-29 Dan Williams <dcbw@redhat.com>
19665
19666         * src/NetworkManager.c
19667                 - (nm_hal_device_property_modified): unlock a locked active
19668                         wireless device when a wired connection gets a link.
19669                         (Means you'll switch to wired whenever you plug in no
19670                         matter what).
19671
19672 2004-10-29 Dan Williams <dcbw@redhat.com>
19673
19674         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19675                 - New files, implement the "Other wireless network" dialog
19676
19677         * panel-applet/NMWirelessApplet.c
19678                 - Move "other wireless network" dialog to separate file
19679
19680         * panel-applet/NMWirelessAppletDbus.[ch]
19681                 - Take key and key_type paramaters for the set_device function
19682
19683         * panel-applet/essid.glade
19684                 - Add UI bits for encryption settings
19685
19686         * src/NetworkManagerDbus.c
19687                 - Retrieve key and key_type params for "setActiveDevice" method call
19688                         and pass them on
19689                 - unref AP returned from nm_device_get_best_ap() when needed
19690
19691         * src/NetworkManagerDevice.c
19692                 - (nm_device_get_best_ap): ref the ap before returning it
19693                 - unref AP returned from nm_device_get_best_ap() when needed
19694                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19695                         need to call nm_device_get_best_ap() here, it was pretty much
19696                         redundant anyway
19697                 - (AP_NEED_KEY): break second link check condition out into separate
19698                         function, and fix segfault when ap->enc_key_source was NULL
19699                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19700                         pass them along to nm_device_wireless_network_exists().  If the
19701                         network does exist, set the passed-in key+key_type on the AP
19702
19703         * src/NetworkManagerPolicy.c
19704                 - unref AP returned from nm_device_get_best_ap() when needed
19705
19706 2004-10-28 Dan Williams <dcbw@redhat.com>
19707
19708         * src/NetworkManagerUtils.c
19709                 - (nm_spawn_process): Fix a potential dereference of NULL
19710
19711         Patches from Peter Jones:
19712
19713         * src/NetworkManagerDevice.c
19714                 - (nm_device_test_wireless_extensions): Better check for
19715                         wireless devices
19716
19717         * src/NetworkManagerUtils.c
19718                 - (nm_spawn_process): Pass in valid stdout and stderr so
19719                         executed programs don't randomly SIGPIPE and fail
19720                 - (nm_get_wired_driver_support_level): quash hal warning
19721                         when checking for USB ethernet device
19722
19723 2004-10-27 Dan Williams <dcbw@redhat.com>
19724
19725         * info-daemon/NetworkManagerInfo.c
19726           info-daemon/NetworkManagerInfoDbus.c
19727           info-daemon/NetworkManagerInfoPassphraseDialog.c
19728           panel-applet/NMWirelessApplet.c
19729                 - Properly escape gconf keys
19730
19731         * src/NetworkManager.c
19732                 - remove unused variables
19733
19734         * src/NetworkManagerAP.c
19735                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19736                         refcount since it got set in nm_ap_new()
19737
19738         * src/NetworkManagerAPList.c
19739                 - (nm_ap_list_combine): Give up ownership of newly created
19740                         access points to the ap list, fixes memleak
19741
19742         * src/NetworkManagerDevice.c
19743                 - Remove cached_ap_list4 member since its not really needed
19744                 - (nm_device_wireless_network_exists): Try to get correct
19745                         encryption status of a found AP if its already in our
19746                         device list
19747                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19748                         memory allocs/deallocs a bit clearer and shorter-lived
19749
19750 2004-10-26 Ray Strode <rstrode@redhat.com>
19751
19752         * panel-applet/NMWirelessApplet.c:
19753           (custom_essid_item_selected):  kill some compiler
19754         warnings 
19755
19756 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19757
19758         * info-daemon/NetworkManagerInfoDbus.c
19759                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19760                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19761
19762 2004-10-23 Dan Williams <dcbw@redhat.com>
19763
19764         * info-daemon/NetworkManagerInfoDbus.c
19765                 - Trap the "DeviceActivationFailed" signal
19766
19767         * docs/NetworkManager DBUS API.txt
19768                 - Add "DeviceActivationFailed" signal
19769
19770         * panel-applet/NMWirelessAppletDbus.c
19771                 - Quash the "NetworkManager service not available" message
19772
19773         * src/NetworkManagerDbus.[ch]
19774                 - Add the "DeviceActivationFailed" signal
19775
19776         * src/NetworkManagerDevice.c
19777                 - Add support for activation_failed flag
19778                 - Fix deadlock where activation thread didn't clean itself up, making
19779                         main thread still believe it was alive forever (didn't reset activation
19780                         flags like activating, just_activated, etc when IP configuration
19781                         failed)
19782
19783         * src/NetworkManagerPolicy.c
19784                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19785                         for wireless networks, try to fall back to some other access point
19786
19787 2004-10-23 Dan Williams <dcbw@redhat.com>
19788
19789         * panel-applet/NMWirelessApplet.[ch]
19790                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19791                         to the applet object, so we can get tooltips
19792                 - Add tooltips (RH #136866)
19793
19794         * src/NetworkManagerDevice.c
19795                 - When trying to find a wireless network, try to connect with encryption
19796                         turned on first, so that we can more accurately detect whether or not
19797                         we need to use encryption for the actual association later on
19798
19799 2004-10-21 Dan Williams <dcbw@redhat.com>
19800
19801         * Add some support for telling NetworkManagerInfo to tell the user
19802                 that they are using a device that's not fully supported
19803
19804         * Fix some assertions in debug messages due to null access point args
19805
19806 2004-10-21 Dan Williams <dcbw@redhat.com>
19807
19808         * src/NetworkManagerDevice.c
19809                 - Don't try to activate/bring up/down unsupported
19810                         devices
19811
19812         * src/NetworkManagerUtils.c
19813                 - Fix case of PCI ID checks for driver support levels
19814
19815 2004-10-21 Dan Williams <dcbw@redhat.com>
19816
19817         * NetworkManager.h
19818                 - New file, now contains commonly used structures and bits
19819                         for the dbus API of NetworkManager
19820
19821         * Makefile.am
19822                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19823
19824         * src/NetworkManager.h
19825                 - Rename -> src/NetworkManagerMain.c
19826
19827         * Various fixups all around to use NetworkManager.h and new
19828                 src/NetworkManagerMain.h, remove redundant bits that got
19829                 moved into NetworkManager.h
19830
19831         * src/NetworkManagerDevice.[ch]
19832           src/NetworkManagerUtils.[ch]
19833           src/NetworkManagerPolicy.c
19834           src/NetworkManagerDbus.c
19835                 - Whitelist wireless drivers, and blacklist some wired
19836                         drivers.  Also blacklist cipsec and ethernet-over-usb
19837                         devices at this time (RH #135722, RH #135648)
19838                 - Don't leak unsupported devices out over dbus, or allow
19839                         them to be set as the active device.  Skip over them
19840                         during automatic device picking
19841
19842         * test/nmclienttest.c
19843                 - Clean up the dbus code a lot
19844
19845 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19846
19847         * configure.in: post release bump.
19848
19849 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19850
19851         * configure.in:
19852         * NEWS: Released NetworkManager-0.3.1
19853
19854 2004-10-18 Dan Williams <dcbw@redhat.com>
19855
19856         Patches from Thom May:
19857         * test/nmtestdevices.c
19858                 - Include <string.h>
19859         * src/backends/NetworkManagerDebian.c:
19860                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19861                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19862                         Move to using g_strdup_printf rather than arbitrary buffers
19863                 - (nm_system_device_setup_static_ip4_config) Implement function.
19864                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19865
19866 2004-10-17 Dan Williams <dcbw@redhat.com>
19867
19868         * info-daemon/NetworkManagerInfoDbus.c
19869                 - Display name of network in the "network not found" dialog
19870
19871         * panel-applet/NMWirelessAppletDbus.c
19872                 - (nmwa_dbus_call_nm_method): new function replaces all other
19873                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19874                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19875                         consolidated into nmwa_dbus_get_object_name()
19876
19877 2004-10-15 Dan Williams <dcbw@redhat.com>
19878
19879         * src/NetworkManagerDbus.c
19880           info-daemon/NetworkManagerInfoDbus.c
19881                 - Display an error dialog when the user tries to use an
19882                         "Other wireless network" that's not found.
19883
19884 2004-10-15 Dan Williams <dcbw@redhat.com>
19885
19886         * panel-applet/NMWirelessApplet.[ch]
19887                 - Fix up corner cases in applet state, making it
19888                         look more responsive.  Change state to "connecting" when
19889                         the user is forcing a device too.
19890
19891 2004-10-15 Dan Williams <dcbw@redhat.com>
19892
19893         * src/NetworkManagerAPList.c
19894                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19895
19896         * src/NetworkManagerDbus.c
19897                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19898
19899         * src/NetworkManagerDevice.c
19900                 - Disown APs after the device's AP list takes ownership
19901
19902 2004-10-15 Dan Williams <dcbw@redhat.com>
19903
19904         * panel-applet/NMWirelessApplet.c
19905                 - Update our applet state from the GUI thread
19906
19907         * panel-applet/NMWirelessAppletDbus.c
19908                 - Greatly simplify the locking to make the GUI thread
19909                         smoother.  Update a private copy of the device list
19910                         and active device and only when done talking to
19911                         NetworkManager turn it over to the GUI thread.
19912
19913 2004-10-15 Dan Williams <dcbw@redhat.com>
19914
19915         * src/NetworkManagerAP.[ch]
19916                 - Add "artificial" get/set functions, set for APs that
19917                         aren't discovered as part of a scan but instead
19918                         discovered by force-setting the ESSID
19919
19920         * src/NetworkManagerDevice.[ch]
19921                 - (nm_device_wireless_network_exists): pass back whether
19922                         or not the discovered AP was encrypted.  Also, try
19923                         falling back to encrypted mode on the card if unencrypted
19924                         association doesn't work
19925                 - (nm_device_find_and_use_essid): If the network requested
19926                         did in fact exists, but it wasn't in our scan list, add
19927                         an "artificial" entry for it.  Some Cisco cards don't
19928                         see non-ESSID-broadcasting APs in their scan but can still
19929                         associate with them if you know the ESSID, this works around
19930                         that behavior
19931                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19932                         to scan if the card is currently associated with that AP
19933
19934 2004-10-15 Dan Williams <dcbw@redhat.com>
19935
19936         ---- We have a website ----
19937         http://people.redhat.com/dcbw/NetworkManager
19938
19939         Patch from Robert Paskowitz:
19940         * src/NetworkManager.c
19941                 - (main): Make sure we are run as root
19942         * src/NetworkManagerDevice.c
19943                 - Fix type in ad-hoc setting function
19944
19945         Patch from Thom May:
19946         * src/backends/NetworkManagerDebian.c
19947                 - Make Debian backend compile again
19948
19949 2004-10-14 Dan Williams <dcbw@redhat.com>
19950
19951         * Tagged NetworkManager-0_3
19952
19953 2004-10-14 Dan Williams <dcbw@redhat.com>
19954
19955         Patch from Robert Paskowitz:
19956         * NEWS
19957           src/NetworkManagerDevice.[ch]
19958           src/backends/NetworkManagerDebian.c
19959           src/backends/NetworkManagerGentoo.c
19960           src/backends/NetworkManagerRedHat.c
19961           src/backends/NetworkManagerSlackware.c
19962                 - Add support for grabbing and using a broadcast address
19963                         from system config files
19964                 - Some Gentoo backend fixes for grabbing network config
19965                 - Fix LOG_WARN->LOG_WARNING
19966
19967 2004-10-14 Dan Williams <dcbw@redhat.com>
19968
19969         * NEWS: a few small fixes in the credits
19970
19971 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19972
19973         * NEWS: prep for release.
19974
19975 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19976
19977         * panel-applet/NMWirelessAppletDbus.c
19978         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19979
19980 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19981
19982         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19983         applet->state == APPLET_STATE_NO_NM animation.
19984
19985         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19986         set the text correctly.
19987
19988 2004-10-14 Dan Williams <dcbw@redhat.com>
19989
19990         * src/NetworkManager.c
19991                 - Only accept and manager 802.3 and 802.11 devices
19992
19993         * src/NetworkManagerDbus.[ch]
19994                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19995                         logic into NetworkManagerDevice.c
19996                 - (nm_dbus_network_status_from_data): new function
19997                 - (nm_dbus_signal_network_status_change): new function, unused for now
19998                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19999
20000         * src/NetworkManagerDevice.[ch]
20001                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
20002                         a random ESSID.
20003
20004 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20005
20006         * info-daemon/NetworkManagerInfo.c 
20007                 - (main): Added session management
20008
20009 2004-10-14 Dan Williams <dcbw@redhat.com>
20010
20011         * panel-applet/NMWirelessAppletDbus.[ch]
20012                 - Expose network_device_[un]ref()
20013                 - Expose wireless_network_[un]ref()
20014                 - (wireless_network_new_with_essid): new function, create and return
20015                         a wireless network with a particular essid
20016
20017         * panel-applet/NMWirelessApplet.c
20018                 - Hook up the "other network" dialog to do something
20019
20020 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
20021
20022         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
20023         doesn't work yet, but it looks okay.
20024
20025         * panel-applet/icons/*png: Resize to 22x22 and install in the
20026         right place.
20027
20028 2004-10-13 Dan Williams <dcbw@redhat.com>
20029
20030         * panel-applet/NMWirelessApplet.c
20031                 - Add function to print out applet_state in a readable
20032                         manner
20033
20034         * src/NetworkManager.c
20035                 - (main): Don't segfault when nm_dbus_init() fails, we had
20036                         a left-over call to hal_shutdown() into which we passed NULL
20037
20038         * src/NetworkManagerAP.c
20039                 - (nm_ap_set_essid): Allow NULL essids
20040
20041         * src/NetworkManagerAPList.[ch]
20042                 - More use of nm_ap_list_[un]lock ()
20043                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20044                         network/essid, just return nothing.  Also skip over NULL
20045                         essid access points in the list when searching
20046                 - (nm_ap_list_get_ap_by_address): new function
20047                 - (nm_ap_list_update_network): set the access point's key source to
20048                         NULL when the key returned from NetworkManagerInfo is NULL or
20049                         of 0 length
20050                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20051                         copy timestamp over too
20052                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20053                         find the correct ESSID for a blank-essid access point by searching
20054                         through another list and matching access point MAC addresses
20055                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20056
20057         * src/NetworkManagerDbus.c
20058                 - (nm_dbus_nm_set_active_device): deal with random networks the user
20059                         may specify.  This is mainly for access points that don't
20060                         broadcast their essid.  So if the user tells us to associate with
20061                         some random ESSID that's not in our access point list, we find
20062                         out if the access point does in fact exist (by attempting association
20063                         and then matching that access point's MAC address with the essid the
20064                         user gave us) and then we switch to it.
20065                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20066                         to the returned list of networks for the "getNetworks" method
20067
20068         * src/NetworkManagerDevice.[ch]
20069                 - Extra debugging info for link detection
20070                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20071                         based on MAC address
20072                 - (nm_device_get_path_for_ap): ignore blank-essid access points
20073                 - (nm_device_wireless_network_exists): new function, find out whether
20074                         a random ESSID exists by attempting to associate with it
20075                 - (nm_device_do_normal_scan): allow blank-essid access points in our
20076                         device list as long as they have an AP MAC address we can use.
20077                         Also send WirelessNetwork[Dis]Appeared signals for non-active
20078                         devices too.  Lets the applet update more frequently.
20079
20080         * src/backends/NetworkManagerGentoo.c
20081                 - Patch from: Robert Paskowitz
20082                         - Update backend code for Gentoo
20083                         - Implement nm_system_device_update_config_info ()
20084
20085         * test/nmclienttest.c
20086                 - (set_network_device): new function, takes a command-line argument
20087                         and tells NetworkManager to use that wireless network
20088
20089 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20090
20091         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20092         if the notification icon crashes 5 times within 5 seconds of each respawn 
20093
20094 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
20095
20096         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20097         g_print.
20098
20099 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
20100
20101         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20102
20103         * panel-applet/NMWirelessApplet.c: (animation_timeout),
20104         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20105         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20106         Change the name of the icons.
20107
20108         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20109         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20110         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20111         (nm_menu_wireless_expose_event): Really bad hack to get the style
20112         to draw in the right color.
20113
20114 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20115
20116         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
20117         Notification if it crashes
20118
20119 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
20120
20121         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
20122         (nmwa_dbus_get_string): remove unused functions
20123
20124         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20125         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20126         remove unused functions
20127
20128         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20129
20130 2004-10-12 Dan Williams <dcbw@redhat.com>
20131
20132         * panel-applet/NMWirelessAppletDbus.c
20133                 - New functions:
20134                         wireless_network_new
20135                         wireless_network_copy
20136                         network_device_new
20137                         network_device_copy
20138
20139         * src/NetworkManagerDevice.[ch]
20140                 - New functions:
20141                         nm_device_set_mode_managed
20142                         nm_device_set_mode_adhoc
20143                 - Use these functions where appropriate
20144                 - When creating a new wireless device, force the card
20145                         to managed/Infrastructure mode as soon as possible
20146
20147 2004-10-12 Dan Williams <dcbw@redhat.com>
20148
20149         * src/NetworkManagerDevice.c
20150                 - Force wireless cards into Infrastructure mode before we use them
20151
20152 2004-10-12 Dan Williams <dcbw@redhat.com>
20153
20154         * TODO
20155                 - Remove bit about static IP address support
20156
20157         * src/NetworkManagerUtils.c
20158                 - (nm_spawn_process): Add some error reporting
20159
20160         * src/NetworkManagerDevice.c
20161                 - (nm_device_activation_configure_ip): hook up to the static config
20162                         routines in the backends
20163
20164         * src/backends/NetworkManagerRedHat.c
20165                 - (nm_system_device_update_config_info): use shvar.c routines to
20166                         parse the config file iformation, not our own
20167                 - (nm_system_device_setup_static_ip4_config): new function, based
20168                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20169                         with a static IP address and gateway
20170
20171         * src/backends/shvar.[ch]
20172                 - Parser (filched from initscripts package) for ifcfg-* files
20173
20174         * src/backends/NetworkManagerSystem.h
20175           src/backends/NetworkManagerGentoo.c
20176           src/backends/NetworkManagerDebian.c
20177           src/backends/NetworkManagerSlackware.c
20178                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20179
20180 2004-10-11 Dan Williams <dcbw@redhat.com>
20181
20182         * TODO
20183                 - Remove bit about more robust AP diffing since I just implemented it
20184
20185 2004-10-11 Dan Williams <dcbw@redhat.com>
20186
20187         * src/NetworkManagerAP.c
20188                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20189                         enough RAM to allocate new AP structures, but return NULL instead
20190
20191         * src/NetworkManagerAPList.[ch]
20192                 - (nm_ap_list_is_empty): new function
20193                 - (nm_ap_list_combine): new function, combine two access point lists
20194                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20195                         into another
20196
20197         * src/NetworkManagerDevice.[ch]
20198                 - Rename some functions to be clearer:
20199                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20200                         nm_device_just_activated     -> nm_device_is_just_activated
20201                         nm_device_activating         -> nm_device_is_activating
20202                         nm_device_now_scanning       -> nm_device_is_scanning
20203                 - Cache the last 4 scans so that the access point list is more stable.
20204                         We combine the lastest two scans and use that as the AP list,
20205                         and diff that combined list against the combination of the earliest
20206                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20207
20208 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20209
20210         * info-daemon/NWManagerInfo.h
20211                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20212
20213         * info-daemon/NWManagerInfoDbus.c
20214                 - (shutdown_callback): new function
20215                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20216                         if NetworkManager goes away.  Kill the timeout
20217                         if NetworkManager restarts before the 30 seconds
20218                         are up.
20219                 - (nmi_dbus_service_init): 
20220                         - call gtk_main_quit if NetworkManager is not running
20221                         - add filters to monitor dbus service creations and
20222                                 deletions
20223         
20224 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20225
20226         * panel-applet/NMWirelessApplet.c
20227                 - (nmwa_update_state): Hide notification icon if we are only
20228                         showing one wired card and no wireless interfaces 
20229                         (Red Hat Bug #134895)
20230
20231         * panel-applet/NMWirelessAppletDbus.c
20232                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20233
20234         * info-daemon/NWManagerInfo.c
20235                 - (main): Terminated the notification_icon_cmd array with a NULL
20236
20237 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20238
20239         * configure.in (ALL_LINGUAS): Added de (German).
20240
20241 2004-10-08 Dan Williams <dcbw@redaht.com>
20242
20243         * src/NetworkManagerDevice.c
20244                 - Be a bit more robust about link checking, ie make sure that
20245                         the WEP key we were given actually has some data in it
20246
20247 2004-10-08 Dan Williams <dcbw@redhat.com>
20248
20249         * info-daemon/NetworkManagerInfo.c (main):
20250                 - Initialize GError object to NULL
20251
20252 2004-10-08 Dan Williams <dcbw@redhat.com>
20253
20254         * panel-applet/NMWirelessAppletDbus.c
20255                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20256
20257 2004-10-08 Dan Williams <dcbw@redhat.com>
20258
20259         * info-daemon/NetworkManagerInfo.[ch]
20260           info-dameon/NetworkManagerInfoDbus.[ch]
20261           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20262                 - Preserve original label text in the passphrase dialog so that
20263                         it actually gets updated with the new network name the next
20264                         time around.  Previously, we were overwriting it so you'd get
20265                         the wrong network name to enter a key for
20266                 - Add a "Key Type" combo to the passphrase dialog, user selects
20267                         encryption key type now, type is stored in GConf too
20268                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20269
20270         * src/NetworkManagerAP.[ch]
20271                 - Remove all the encyption method magic.  It's now set by the user
20272                         and NetworkManager retrieves the type of encryption key from
20273                         NetworkManagerInfo
20274
20275         * src/NetworkManagerAPList.[ch]
20276           src/NetworkManagerDbus.[ch]
20277                 - Adjust to new way of setting encryption key and method
20278                 - Pull encryption method down from NMI along with key
20279
20280         * src/NetworkManagerDevice.[ch]
20281                 - Removed encryption method fallback magic as the method is now
20282                         determined by the user.  This greatly simplifies the connection
20283                         logic.
20284                 - More robust connection/link logic.  Besides removing the encryption
20285                         method fallback magic, check whether or not the card is receiving
20286                         invalidly encrypted packets, which usually indicates that we have
20287                         a bad WEP key set.
20288                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20289
20290         * test/nminfotest.c
20291                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20292
20293 2004-10-07 Dan Williams <dcbw@redhat.com>
20294
20295         * info-daemon/NetworkManagerInfo.conf
20296                 - Allow root user to run NMI too
20297
20298 2004-10-06 Dan Williams <dcbw@redhat.com>
20299
20300         * src/NetworkManagerDevice.[ch]
20301           src/NetworkManagerDbus.c
20302           doc/NetworkManager DBUS API.txt
20303                 - Add a new status tag "scanning", which is set when there
20304                         is no active network connection, but NetworkManager is
20305                         looking for an access point to associate with
20306
20307         * panel-applet/main.c
20308                 - Cast the applet appropriately for gtk_widget_show_all ()
20309
20310 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20311
20312         * panel-applet/eggtrayicon.[ch]:
20313         * panel-applet/main.c: Add missing file
20314
20315 2004-10-04 Dan Williams <dcbw@redhat.com>
20316
20317         * src/NetworkManagerDevice.[ch]
20318                 - Add a slightly more robust method of determining if the WEP key
20319                         is correct or not, by checking the WEP-discarded packet count
20320                         on the card
20321
20322         * info-daemon/NetworkManagerInfo.c
20323                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20324                         un-escape values we pull out rather than escaping them
20325
20326 2004-10-03  Marcel Telka  <marcel@telka.sk>
20327
20328         * configure.in (ALL_LINGUAS): Added sk.
20329
20330 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20331
20332         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20333         and feel.  We should be back to working, and have a good, clean
20334         look.
20335
20336 2004-09-30 Dan Williams <dcbw@redhat.com>
20337
20338         * info-daemon/NetworkManagerInfo.c
20339           info-daemon/NetworkManagerInfoDbus.c
20340           test/nminfotest.c
20341                 - Escape ESSIDs in gconf
20342
20343         * src/NetworkManagerDevice.c
20344                 - Fix pseudo-scanning to use netowrk list from info daemon
20345
20346 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20347
20348         * configure.in: Add a temporary --enable-notification-icon.  This
20349         will prolly go away.
20350
20351         * info-daemon/Makefile.am:
20352         * info-daemon/NetworkManagerInfo.c:
20353         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20354
20355         * panel-applet/Makefile.am:
20356         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20357         * panel-applet/NMWirelessApplet.h:
20358
20359 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20360
20361         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20362         before 'select custom ESSID'.
20363
20364         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20365         fully complete, but syncing in prep for merge.
20366
20367         * panel-applet/icons/*png: New images
20368
20369 2004-09-28 Dan Williams <dcbw@redhat.com>
20370
20371         * src/NetworkManager.c
20372           src/NetworkManagerDevice.c
20373           src/NetworkManagerPolicy.c
20374                 - Don't blow away an active wired connection on startup
20375
20376 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20377
20378         Changes from J5
20379         
20380         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20381
20382         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20383         syslog output
20384
20385 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20386
20387         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20388         have a wireless card.
20389
20390 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20391
20392         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20393         Also, get the right device strings.
20394
20395 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20396
20397         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20398         the logic to make this right.
20399
20400         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20401         devices so that wired networks are always first.
20402
20403 2004-09-22    <clarkbw@cvs.gnome.org>
20404
20405         * initscript/Debian/.cvsignore:
20406         * initscript/Slackware/.cvsignore:
20407         Added new cvsignores for Makefile, Makefile.in
20408         
20409         * test/.cvsignore:
20410         Added nmtestdevices
20411         
20412         * src/NetworkManagerDevice.c: 
20413         * src/NetworkManager.c: 
20414         Updated the wireless/wired HAL device strings from net.ethernet to
20415         net.80203 or net.80211 depending on wired or wireless respectively
20416         
20417         * examples/python/NetworkManager.py: 
20418         s/Quality/Strength/
20419
20420         * examples/python/systray/network_tray.py:
20421         Lots of little changes and fixes.  been rotting for a while so I
20422         figured I'd finally sync them all with CVS
20423
20424 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20425
20426         * configure.in: Add graphics
20427
20428         * panel-applet/Makefile.am: Add graphics
20429
20430         * panel-applet/icons/*: Add graphics
20431
20432         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20433         the icons fully lined up.
20434
20435         * panel-applet/menu-info.c: 
20436         * panel-applet/menu-info.h: Add another menu type.
20437
20438 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20439
20440         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20441
20442         * panel-applet/menu-item.[ch]: Wireless menu item.
20443
20444 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20445
20446         * info-daemon/NetworkManagerInfo.conf
20447                 - Created a more robust security policy for the DBus service
20448                         - everything is denied by default
20449                         - root can own and send to the service
20450                         - users logged in at the console can send to the service
20451
20452 2004-09-13  Dan Williams <dcbw@redhat.com>
20453
20454         * src/NetworkManagerDevice.c
20455                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20456                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20457                         the latter
20458
20459 2004-09-13  Dan Williams <dcbw@redhat.com>
20460
20461         * TODO: fix typo
20462
20463         * docs/NetworkManager DBUS API.txt
20464                 - Update for new signal strength changes
20465
20466         * panel-applet/NMWirelessApplet.c
20467                 - Make panel icon show strength of the current connection
20468                 - Cleanups and memleak fixes
20469
20470         * panel-applet/NMWirelessApplet.h
20471                 - Add data members for signal strength on devices and networks
20472
20473         * panel-applet/NMWirelessAppletDbus.c
20474                 - Free more DBusErrors
20475                 - Update for new signal strength changes
20476                 - Make devices and networks more like real objects, use ref/unref methods
20477                 - Actually unlock the mutex when updating the active device
20478
20479         * src/NetworkManagerAP.c
20480                 - Change AP functions and data members from "quality"->"strength"
20481
20482         * src/NetworkManagerDbus.c
20483                 - Kill "getMaxQuality" and "getQuality" methods
20484                 - Add "getStrength" methods for Networks and Devices
20485
20486         * src/NetworkManagerDevice.[ch]
20487                 - Add accessors for device strength
20488                 - Add functions to update strength for a device.  Note that not all drivers
20489                         actually support signal strength for scanned access points (Atmel drivers
20490                         being one)
20491                 - Calculate signal strength for each AP during scan
20492
20493         * src/NetworkManagerWireless.[ch]
20494                 - Add function to return signal strength % from a device and a raw quality struct
20495
20496         * test/nmclienttest.c
20497                 - Update for new signal strength changes
20498
20499 2004-09-11  Dan Williams <dcbw@redhat.com>
20500
20501         * src/NetworkManager.c
20502                 - Fix race condition between initscripts and NM on card insertion
20503                         which could cause a card to keep an IP address and routes around
20504                         even when it was not the active device
20505
20506         * src/NetworkManagerDbus.c
20507                 - Fix compile errors, free more DBusErrors
20508
20509 2004-09-11  Dan Williams <dcbw@redhat.com>
20510
20511         * docs/NetworkManager DBUS API.txt
20512                 - Add an explanation of NM's API
20513
20514         * src/NetworkManagerDbus.c
20515                 - Free some more DBusErrors if needed
20516
20517 2004-09-11  Dan Williams <dcbw@redhat.com>
20518
20519         * panel-applet/NMWirelessApplet.c
20520           panel-applet/NMWirelessAppletDbus.c
20521                 - Start using NetworkDevice/WirelessNetwork structures in more places
20522                 - Update for unified device/network forcing in NetworkManager
20523
20524         * src/NetworkManager.c
20525                 - some code consolidation
20526
20527         * src/NetworkManagerDbus.c
20528                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20529                         or two arguments:  the first is the NM ID of the device to switch to,
20530                         and the second (optional) argument is the ESSID of a wireless network
20531                         to use as well.
20532                 - Get rid of "setNetwork" method due to above change
20533
20534         * src/NetworkManagerDevice.c
20535                 - (nm_device_new): perform scan and update best AP on device creation
20536                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20537                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20538                         spin waiting for cancellation to finish before returning
20539
20540         * src/NetworkManagerPolicy.c
20541                 - Changes here clarify the situations in which a device switch occurs, and 
20542                         make sure to keep using a forced device and network if the user gives
20543                         us one
20544                 - Remove old unused code
20545
20546 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20547
20548         * configure.in: Added Danish (da) to ALL_LINGUAS.
20549
20550 2004-09-09  Dan Williams <dcbw@redhat.com>
20551
20552         * panel-applet/NMWirelessAppletDbus.c
20553                 - Pull fresh devices and networks from NM when wireless networks
20554                         change.  Provides faster feedback of a forced wireless network
20555
20556         * src/NetworkManagerDbus.c
20557                 - Return error when "getMaxQuality" is called on a wired device
20558                 - Make best_ap freezing actually work again, and signal cancellation
20559                         of activation if there's already a device activation when the user
20560                         freezes the best_ap
20561
20562         * src/NetworkManagerDevice.c
20563                 - Don't clear out the best_ap for wireless devices when the link goes
20564                         down, that's done elsewhere
20565                 - Kill any dhcp daemons when cancelling device activation since they
20566                         may be stuck waiting for a DHCP address, and since we're cancelling
20567                         activation we don't care about that anymore
20568
20569         * src/NetworkManagerPolicy.c
20570                 - Make sure to unref the device we ref earlier (we refed it to make sure
20571                         it stuck around during device activation and such)
20572                 - If we were going to change the best device, but its activating currently
20573                         (and therefore the change didn't occur due to the check earlier)
20574                         we mark the state changed to we come back to it later when device
20575                         activation has canceled and its no longer activating
20576
20577         * src/backends/NetworkManagerRedHat.c
20578                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20579
20580 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20581
20582         * info-daemon/passphrase.glade: 
20583         set passphrase input to activates_default : True
20584
20585         * examples/python/systray/network_tray.py
20586         (network_tray.sort_networks):
20587
20588         Added support for having wireless always scanning
20589
20590 2004-09-09  Dan Williams <dcbw@redhat.com>
20591
20592         NOTE: this commit changes the behavior of wireless devices in
20593         NetworkManager.  They are now up all the time, scanning all
20594         the time.  Only the active device has an IP address and routing
20595         information set up however.  Also, NetworkManager will no longer
20596         opportunistically switch wireless networks when a better one
20597         comes in range, it will remain associated with one wireless network
20598         until that one drops out.
20599
20600         * panel-applet/NMWirelessApplet.c
20601           panel-applet/NMWirelessAppletDbus.c
20602                 - List all wireless cards and their respective networks
20603
20604         * src/NMLoadModules
20605                 - Use full path to /sbin/ip
20606
20607         * src/NetworkManager.c
20608                 - Keep wireless devices up all the time so they can scan
20609
20610         * src/NetworkManagerDbus.c
20611                 - On a WirelessNetworkUpdate signal from NMI, don't update
20612                         the "best" AP
20613
20614         * src/NetworkManagerDevice.c
20615                 - (nm_device_set_link_active): clear out the best ap for
20616                         wireless devices when the link is set to FALSE
20617                 - Scan on all wireless cards, all the time
20618                 - (nm_device_activation_worker): split out the wireless card
20619                         link-waiting code to a separate function
20620                 - Keep wireless cards up even if device activation fails
20621                 - Don't update the "best" ap as much
20622
20623         * src/NetworkManagerPolicy.c
20624                 - Don't update the best ap when checking if its frozen,
20625                         let link checking clear out a frozen best ap for us
20626
20627         * src/NetworkManagerWireless.c
20628                 - Scan on all wireless cards, all the time
20629
20630 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20631
20632         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20633
20634 2004-09-09  Ankit Patel <ankit@redhat.com>
20635
20636         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20637
20638 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20639
20640         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20641
20642 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20643
20644         * examples/python/NetworkManager.py: 
20645         added CONNECTED, CONNECTING, and DISCONNECTED states
20646         added methods to return number of devices of a single type
20647
20648         * examples/python/systray/network_tray.py: 
20649         did some tweaks to get the menu looking near what it is supposed
20650         to look like.  Also did a Airo card hack to make it show the
20651         correct AP quality
20652
20653 2004-09-08  Dan Williams <dcbw@redhat.com>
20654
20655         * panel-applet/no-networkmanager.png
20656           panel-applet/Makefile.am
20657           panel-applet/NMWirelessApplet.c
20658                 - Add a "NetworkManager not running" icon and use it
20659                 - Use new consolidated GConf keys rather than Preferred/Trusted
20660
20661         * TODO: update
20662
20663         * info-daemon/NetworkManagerInfo.c
20664           info-daemon/NetworkManagerInfoDbus.[ch]
20665           info-daemon/NetworkManagerInfoPassphraseDialog.c
20666                 - There are now no longer two separate lists of wireless networks,
20667                         but one list where each network is "trusted" or not trusted
20668                 - Add a "getNetworkTrusted" dbus method
20669                 - "WirelessNetworkUpdate" signal now sent rather than
20670                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20671                 - Start freeing some dbus errors (not completed yet)
20672
20673         * info-daemon/passphrase.glade
20674                 - Remove the "don't show" hints for pager and taskbar
20675                 - Add a title since its going to be in the taskbar
20676
20677         * src/NetworkManager.[ch]
20678           src/NetworkManagerAPList.[ch]
20679                 - There are now no longer two separate lists of wireless networks,
20680                         but one list where each network is "trusted" or not trusted
20681
20682         * src/NetworkManagerAP.[ch]
20683                 - Add get/set "trusted" accessors and data bit
20684
20685         * src/NetworkManagerDbus.[ch]
20686                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20687                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20688
20689         * src/NetworkManagerDevice.[ch]
20690                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20691                 - (nm_device_new): Get device config from backend when initializing devices
20692                 - (nm_device_activation_worker): Split out device configuration on
20693                         activation to deal with static/dynamic IP differences, and try encryption
20694                         fallbacks on a device if the encryption method for the best AP is not good
20695                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20696                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20697
20698         * src/NetworkManagerWireless.c
20699                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20700
20701         * src/backends/NetworkManagerRedHat.c
20702           src/backends/NetworkManagerSystem.h
20703                 - (nm_system_device_update_config_info): Add function to get device configuration
20704                         from system data in ifcfg-* files
20705
20706         * src/backends/NetworkManagerDebian.c
20707           src/backends/NetworkManagerGentoo.c
20708           src/backends/NetworkManagerSlackware.c
20709                 - Add stub functions for getting device configuration
20710
20711 2004-09-07  Dan Williams <dcbw@redhat.com>
20712
20713         * src/backends/NetworkManagerRedhat.c
20714           src/backends/NetworkManagerSlackware.c
20715                 - Use full path to /sbin/ip everywhere
20716
20717 2004-09-07  Dan Williams <dcbw@redhat.com>
20718
20719         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20720
20721         * configure.in
20722           initscript/Makefile.am
20723           initscript/Slackware/Makfile.am
20724           initscript/Slackware/rc.networkmanager
20725           src/Makefile.am
20726           src/backends/NetworkManagerSlackware.c
20727                 - Add Slackware support
20728
20729 2004-09-07  Dan Williams <dcbw@redhat.com>
20730
20731         Patches below from:
20732                 <j@bootlab.org>
20733                 Mark Roach <mrroach@okmaybe.com>
20734                 Thom May <thom@debian.org>
20735
20736         * configure.in
20737           initscript/Debian/NetworkManager
20738           initscript/Debian/Makefile.am
20739                 - Initscript for Debian
20740
20741         * src/backends/NetworkManagerDebian.c
20742                 - Add missing system init function to allow compilation
20743                         on Debian
20744
20745 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20746
20747         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20748
20749 2004-09-03  Akagic Amila <bono@linux.org.ba>
20750
20751         * configure.in: Added 'bs' to ALL_LINGUAS.
20752
20753 2004-09-02  Colin Walters  <walters@verbum.org>
20754
20755         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20756         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20757         g_strdup_printf instead of arbitrarily sized buffers.
20758
20759 2004-09-01  Colin Walters  <walters@verbum.org>
20760
20761         * NetworkManager.pc.in: New file.
20762
20763         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20764
20765 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20766         
20767         * configure.in: Punjabi(pa) is added to po/.
20768
20769 2004-08-31  Dan Williams <dcbw@redhat.com>
20770
20771         * Remove 'debug' extern global from all files since we now
20772                 use syslog()
20773
20774         * src/NetworkManager.[ch]
20775                 - Break out routine that get the net.interface property from HAL,
20776                         removing that logic from nm_create_device_and_add_to_list()
20777                 - (nm_create_device_and_add_to_list): make this a bit more general so
20778                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20779                         the create of test devices.
20780                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20781                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20782                         which makes NetworkManager listen for dbus commands to create test
20783                         devices, which have no backing hardware.  Use when you're on a plane
20784                         for example, and/or forgot your wireless card at home.  Test devices
20785                         _cannot_ be created unless NM is started with --enable-test-devices.
20786
20787         * src/NetworkManagerDbus.[ch]
20788                 - New "getLinkActive" method for devices
20789                 - New "setLinkActive" method for devices (only works on test devices)
20790                 - New "createTestDevice" method on NetworkManager object to create a test
20791                         device of a specified type (ie wired, wireless).  UDI is created from
20792                         scratch, as is the interface name.  Only works when NM is started with
20793                         --enable-test-devices switch.
20794                 - New "removeTestDevice" method on NetworkManager object which removes a
20795                         test device.  Only works when NM is started with --enable-test-devices
20796
20797         * src/NetworkManagerDevice.[ch]
20798                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20799                         whether a device is a test device or not, and what its link status is.
20800                 - Deal with test devices in most functions.  For those that work directly on hardware
20801                         special-case test devices.
20802                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20803                         command-line.
20804                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20805                         checking to separate functions to facilitate test device link checking.
20806                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20807                         don't make a distinction between System Authentication and Encryption
20808                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20809                         on the card.  We don't deal with Shared Key auth yet.
20810                 - (nm_device_activation_worker): split the activation cancel check logic out into
20811                         a separate routine nm_device_activation_cancel_if_needed()
20812                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20813                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20814                         a list of fake access points that they can "see"
20815                 - (nm_device_is_test_device): return whether or not a device is a test device
20816
20817         * src/NetworkManagerPolicy.c
20818                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20819                         previously if you "locked"/forced NM to use a wireless device but then
20820                         selected a wireless network for NM to use, it would switch to a wired device.
20821                         So, if the active device is wireless and it has a "forced" best AP, use it
20822                         if the "forced" best AP is still valid
20823                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20824                         there were no usable network devices, or the last one was removed
20825
20826         * src/backends/NetworkManager*.c
20827                 - Deal with test devices, mostly just return success for operations like getting
20828                         a DHCP address
20829
20830         * test/nmtestdevices.c
20831                 - Test tool to create/remove/link-switch test devices
20832
20833 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20834
20835         * examples/python/NetworkManager.py: 
20836         added convience functions has_wired_device and has_wireless_device
20837
20838         * examples/python/systray/network_tray.py: 
20839         cleaned up a bunch of cruft, added support for listing wireless
20840         networks just like the real applet.  This is probably all I'm
20841         going to work on this applet from now on.
20842         TODO: add support for actually changing networks and devices
20843
20844         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20845         changed "nm.networks" into a dict from a list so I can store all
20846         the cool information about networks in there
20847
20848         * examples/python/systray/network_tray.py: 
20849         Added nice message when you try to run without running make first
20850
20851         * examples/python/NetworkManager.py: 
20852         Bug fixes to the code so we get all the device information
20853         that we need in get_device()
20854         
20855         * examples/python/NMTester.py: 
20856         Fixed _print_device_list to print_device_list
20857
20858 2004-08-29  Seth Nickell  <seth@gnome.org>
20859
20860         * configure.in:
20861
20862         Actually properly setup the Debian backend in configure.
20863         
20864 2004-08-29  Colin Walters  <walters@verbum.org>
20865
20866         * test/nminfotest.c: Include string.h and stdlib.h.
20867         (get_network_string_property, get_networks_of_type): Return NULL.
20868
20869         * test/nmclienttest.c (get_device_name, get_active_device): Return
20870         NULL.
20871
20872         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20873         use strlen, fgets always NULL-terminates the string.
20874
20875         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20876         dbus_message_get_member): Remove /* in comment.
20877
20878         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20879
20880         * src/NetworkManager.c (quit): Unused, delete.
20881         (nm_data_free): Cast arg to GFunc.
20882
20883         * panel-applet/NMWirelessAppletDbus.c: Need to include
20884         string.h, and dbus-glib-lowlevel.h (the latter is needed
20885         for dbus_connection_setup_with_g_main at present).
20886         (nmwa_dbus_update_wireless_network_list): Parenthesize
20887         assignment in conditional.
20888         (nmwa_dbus_worker): Return NULL.
20889
20890         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20891         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20892         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20893         (nmwa_populate_menu): Return NULL on failure, instead of just
20894         return;
20895
20896         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20897
20898         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20899         variables.
20900
20901         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20902         delete.
20903         
20904 2004-08-29  Colin Walters  <walters@verbum.org>
20905
20906         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20907         a GTimeVal instead of time_t.  This is easier to work with,
20908         since time_t may be a long or double, we don't know.
20909
20910         * src/NetworkManagerDbus.h: Update prototype.
20911         
20912         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20913         instead of time_t.
20914         (nm_ap_get_timestamp): Update to return GTimeVal.
20915         (nm_ap_set_timestamp): Update to take GTimeVal.
20916         
20917         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20918         to handle GTimeVal.
20919
20920         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20921         GTimeVal change.
20922         (nm_ap_list_print_members): Fix warnings in printf format.
20923
20924 2004-08-29  Colin Walters  <walters@verbum.org>
20925         
20926         * panel-applet/NMWirelessApplet.c: Include config.h.
20927
20928 2004-08-29  Colin Walters  <walters@verbum.org>
20929
20930         * configure.in: Generate config.h.
20931
20932         * configure.in: Dump dependency on OpenSSL; we can't
20933         use it since this package is GPL:
20934         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20935         Instead, check for libgcrypt, use it if available,
20936         otherwise use included MD5 code.
20937
20938         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20939         Suck in from gnome-keyring, munge a bit.
20940         
20941         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20942         gnome-keyring-md5.h gnome-keyring-md5.c.
20943         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20944
20945         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20946         libgcrypt or included gnome-keyring md5 bits.
20947         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20948
20949 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20950
20951         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20952
20953 2004-08-27  Bryan Clark  <bclark@redhat.com>
20954
20955         * examples/python/systray/Makefile: 
20956
20957         Updated the clean section
20958         
20959         * examples/python/systray/trayiconmodule.c: 
20960         * examples/python/systray/trayicon.override: 
20961         * examples/python/systray/network_tray.py: 
20962         * examples/python/systray/eggtrayicon.h: 
20963         * examples/python/systray/eggtrayicon.c: 
20964         * examples/python/systray/Makefile: 
20965         * examples/python/README: 
20966         * examples/python/NetworkManager.py: 
20967         * examples/python/NMTester.py: 
20968
20969         Initial commit of these python example files
20970
20971 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20972
20973         * panel-applet/NMWirelessApplet.c
20974                 - Make current device bold
20975                 - Show more user-friendly device name if we got one from hal
20976
20977         * panel-applet/NMWirelessAppletDbus.c
20978                 - Grab "info.product" key from hal for network devices
20979                 - Cache the current active device
20980
20981 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20982
20983         * configure.in: Added en_CA to ALL_LINGUAS.
20984
20985 2004-08-27  Christian Rose  <menthos@menthos.com>
20986
20987         * configure.in: Added "sv" to ALL_LINGUAS.
20988
20989 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20990
20991         * Tag NetworkManager-0.2
20992
20993 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20994
20995         * initscripts/Makefile.am
20996         * configure.in: Make pass distcheck
20997
20998         * po/ChangeLog: added
20999
21000 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21001
21002         * panel-applet/NMWirelessApplet.c
21003                 - Remove debugging code
21004                 - Enable device switching from menus
21005
21006         * panel-applet/NMWirelessAppletDbus.[ch]
21007                 - Method for asking NM to switch devices
21008
21009         * src/NetworkManagerDevice.c
21010                 - Set dev->activating earlier, avoids race between
21011                         the dbus signal of "DeviceActivating" and setting
21012                         dev->activating (which is what NM's "status" method call
21013                         looks at)
21014
21015 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21016
21017         * panel-applet/NMWirelessApplet.[ch]
21018                 - Rework menu code to add devices to menu, and to show
21019                         signal strength for each access point.  Code cleanups
21020                         too.
21021
21022         * panel-applet/NMWirelessAppletDbus.c
21023                 - Grab network devices from NetworkManager too
21024                 - Grab quality information from NM for wireless networks
21025
21026         * src/NetworkManagerDbus.[ch]
21027                 - Add dbus methods for getting the HAL UDI from a device and
21028                         for getting its base quality, if its wireless
21029                 - Consolidate some functions (wireless network notifications,
21030                         device notifications)
21031                 - Add method for requesting NM to use a particular device
21032
21033         * src/NetworkManager.c
21034                 - Change for function consolidations from NetworkManagerDbus.c
21035                 - Implement active device locking and user-requested devices
21036                         (ie, tell NM to use a particular device instead of the one
21037                         it autochose)
21038
21039         * src/NetworkManagerDevice.c
21040                 - Add method for getting the base quality of a device, if its
21041                         wireless
21042                 - Grab device base quailty info from iwlib during scans
21043
21044         * src/NetworkManagerPolicy.c
21045                 - Use a user-requested device rather than the auto-chosen device
21046                         if we are told to
21047
21048 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
21049
21050         * Makefile.am: add po as a supdir
21051
21052         * autogen.sh: use gnome-autogen.sh
21053
21054         * initscript/Gentoo/.cvsignore:
21055         * initscript/RedHat/.cvsignore: Shut up cvs
21056
21057         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21058
21059         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21060         (nmwa_fill): Use gettext.
21061
21062         * configure.in: add gettext support
21063         * po/.cvsignore:
21064         * po/NetworkManager.pot:
21065         * po/POTFILES.in:
21066
21067 2004-08-26  Seth Nickell  <seth@gnome.org>
21068
21069         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21070         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21071         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21072         (nmwa_dispose_menu_items), (nmwa_populate_menu),
21073         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21074         * panel-applet/NMWirelessApplet.h:
21075
21076         Use a menu bar instead of a button for the main clickable
21077         thingy.
21078         
21079 2004-08-25  Dan Williams <dcbw@redhat.com>
21080
21081         * src/NetworkManagerDevice.c
21082                 - (nm_device_set_enc_key): always set device to "open" mode instead of
21083                         turning encryption off, because the Cisco driver doesn't associate
21084                         with WEP-enabled access points unless we are in "open"
21085
21086 2004-08-25  Dan Williams <dcbw@redhat.com>
21087
21088         * src/NetworkManagerWireless.c
21089                 - Don't try to defererence blank passphrases
21090
21091 2004-08-25  Dan Williams <dcbw@redhat.com>
21092
21093         * panel-applet/NMWirelessApplet.c
21094                 - Rebuild the menu whenever a user clicks
21095
21096 2004-08-25  Dan Williams <dcbw@redhat.com>
21097
21098         * panel-applet/NMWirelessApplet.c
21099                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21100                         when NM isn't around or when its not connected
21101
21102         * src/NetworkManagerDevice.c
21103                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21104                         canceled.
21105
21106 2004-08-25  Dan Williams <dcbw@redhat.com>
21107
21108         * panel-applet/NMWirelessAppletDbus.c
21109                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21110                         for getting encryption, and don't stop on "val" once we've gotten it
21111                         from NetworkManager.  Short form:  encryption should now show up.
21112
21113 2004-08-25  Dan Williams <dcbw@redhat.com>
21114
21115         * panel-applet/NMWirelessApplet.c
21116                 - Set ESSID on a gconf trusted network too when force-setting the wireless
21117                         network to associate with
21118
21119 2004-08-25  Dan Williams <dcbw@redhat.com>
21120
21121         * panel-applet/*
21122                 - Rework the panel applet to do all DBUS communication in a separate
21123                         thread
21124
21125 2004-08-25  Dan Williams <dcbw@redhat.com>
21126
21127         * info-daemon/NetworkManagerInfo.[ch]
21128                 - Remove "get_next_priority" function
21129
21130         * info-daemon/NetworkManagerInfoDbus.[ch]
21131                 - Convert "priority" functions to "timestamp"
21132
21133 2004-08-25  Dan Williams <dcbw@redhat.com>
21134
21135         * src/NetworkManagerAP.[ch]
21136                 - Add a "enc_method_good" member and accessors to an Access Point
21137                         to signal when we've found the correct encryption method
21138                         for an access point
21139                 - Add a "timestamp" member and accessors, remove "priority" member
21140                         and accessors (use timestamps instead)
21141                 - Rename "wep_key"->"enc_key"
21142                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21143                         for a specified encryption method using the access points
21144                         source encryption key/passphrase
21145
21146         * src/NetworkManagerAPList.c
21147                 - When updating a network with dbus, grab timestamp now instead of
21148                         priority
21149
21150         * src/NetworkManagerDBus.[ch]
21151                 - Add signal for "DeviceActivating"
21152                 - Switch priority->timestamp
21153
21154         * src/NetworkManagerDevice.c
21155                 - Change references of "wep_key" -> "enc_key" or "key"
21156                 - Signal DeviceActivating when starting activation
21157                 - When activating a wireless device, if the access point we are connecting
21158                         to is encrypted, and we have a source key, try to generate a mangled
21159                         key and use that (ie, generate real WEP key from a passphrase)
21160                 - Rework device activation to fallback to other encryption methods if
21161                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21162                         first, then if that doesn't work fall back to direct hex key).
21163                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21164                         priority.  We now prefer the latest access point used, rather than using
21165                         a priority scheme
21166                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21167                         points we've just discovered, and merge in correct info from the global
21168                         access point lists
21169
21170 2004-08-25  Seth Nickell  <seth@gnome.org>
21171
21172         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21173         Debian support.
21174         
21175         * src/Makefile.am:
21176         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21177         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21178         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21179         (nm_system_delete_default_route),
21180         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21181         (nm_system_load_device_modules):
21182
21183 2004-08-24  Dan Willemsen <dan@willemsen.us>
21184
21185         * src/NetworkManager.c
21186           src/backends/NetworkManagerGentoo.c
21187           src/backends/NetworkManagerRedHat.c
21188           src/backends/NetworkManagerSystem.h
21189                 - Implement preliminary Gentoo support, adding a
21190                         nm_system_init function to the backend specification
21191
21192         * configure.in
21193                 - Distribution auto-detection, lowercase any user-fed
21194                         distribution names
21195
21196         * initscript/.cvsignore
21197           initscript/Makefile.am
21198           initscript/RedHat/Makefile.am
21199           initscript/RedHat/NetworkManager
21200           initscript/Gentoo/Makefile.am
21201           initscript/Gentoo/NetworkManager
21202                 - Refactored initscript code separately for each
21203                         distribution
21204
21205 2004-08-23  Dan Williams <dcbw@redhat.com>
21206
21207         * configure.in
21208           src/Makefile.am
21209           src/NetworkManagerDevice.c
21210           src/NetworkManager.c
21211           src/NetworkManagerUtils.[ch]
21212           src/backends/NetworkManagerSystem.h
21213           src/backends/NetworkManagerRedHat.c
21214           src/backends/NetworkManagerGentoo.c
21215                 - Refactor system-specific code into separate backends for
21216                         each distribution
21217
21218 2004-08-23  Dan Willemsen <dan@willemsen.us>
21219
21220         * dispatcher-daemon/NetworkManagerDispatcher.c
21221           info-daemon/NetworkManagerInfo.[ch]
21222           info-daemon/NetworkManagerInfoDbus.c
21223           info-daemon/NetworkManagerInfoPassphraseDialog.c
21224           src/NetworkManager.c
21225           src/NetworkManagerAP.c
21226           src/NetworkManagerAPList.c
21227           src/NetworkManagerDbus.c
21228           src/NetworkManagerDevice.c
21229           src/NetworkManagerPolicy.c
21230           src/NetworkManagerUtils.[ch]
21231           src/NetworkManagerWireless.c
21232                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21233
21234         * src/NetworkManager.c
21235                 - Fixed usage wording for --no-daemon
21236
21237 2004-08-23  Dan Williams <dcbw@redhat.com>
21238
21239         * panel-applet/NMWirelessApplet.c
21240                 - Update our state every second to get more responsive panel icon
21241                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21242                         was causing our marching ants status blips to never move when
21243                         looking for a wireless network
21244
21245         * src/NetworkManagerDevice.c
21246                 - (nm_device_activation_begin): return if activation has already begun
21247                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21248                         trusted/preferred network into the device's access point when the
21249                         scan list is processed
21250
21251 2004-08-23  Dan Williams <dcbw@redhat.com>
21252
21253         * initscript/NetworkManager
21254                 - Use NMLaunchHelper rather than sleeping
21255
21256         * initscript/NMLaunchHelper.c
21257           Makefile.am
21258                 - Add helper program that exits only when NM activates a device,
21259                         or 10 seconds have passed, whichever happens first.  This
21260                         stops the boot processes until we have a network connection,
21261                         which NM can't do because it daemonizes and brings the connection
21262                         up in the background.  Allows stuff like NFS to not die.
21263
21264 2004-08-20  Dan Williams <dcbw@redhat.com>
21265
21266         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21267                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21268                         for a network, set the essid as well since it may not exist yet
21269                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21270                         since WEP keys/passphrases are long and prone to entry-error
21271
21272         * panel-applet/Makefile.am
21273           panel-applet/wired.png
21274                 - Add (pulled from system-config-network temporarily)
21275
21276         * panel-applet/NMWirelessApplet.[ch]
21277                 - Show wired picture when a wired connection is used
21278                 - Rename wireless icon enums, adding WIRELESS
21279
21280         * src/NetworkManagerDevice.c
21281                 - (nm_device_activate_wireless): unset encryption before bringing
21282                         down the card and setting the essid
21283                 - (nm_device_activatin_worker): request a key from the user if the
21284                         AP we are connecting to is encrypted but we don't have a key
21285                         for it yet
21286                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21287                         strcmp() that prevented a user-entered key from actually getting
21288                         used
21289
21290 2004-08-16  Dan Williams <dcbw@redhat.com>
21291
21292         * initscript/NetworkManager
21293                 - Check for /sbin/ip
21294                 - Do sysctl magic that network service does
21295                 - sleep 4s after start to allow network time to come up [hack]
21296
21297         * src/Makefile.am
21298           src/NMLoadModules
21299                 - Load all network device kernel modules (hal doesn't know devices
21300                         are ethernet until the module is loaded, and therefore we don't know)
21301
21302         * src/NetworkManager.c
21303                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21304                         network devices, and bring up the loopback device explicitly
21305
21306         * src/NetworkManagerUtils.[ch]
21307                 - (nm_enable_loopback): new function
21308
21309 2004-08-13  Dan Williams <dcbw@redhat.com>
21310
21311         * configure.in
21312           panel-applet/Makefile.am
21313                 - Fix up cleanfiles and server_DATA/server_in_files
21314
21315         * README
21316                 - Update with some comments on theory of operation
21317
21318         * CONTRIBUTING
21319           Makefile.am
21320                 - Add CONTRIBUTING
21321
21322 2004-08-12  Dan Williams <dcbw@redhat.com>
21323
21324         * info-daemon/passphrase.glade
21325                 - Set window title to " "
21326
21327         * panel-applet/Makefile.am
21328           panel-applet/keyring.png
21329                 - Deliver to correct place
21330
21331         * panel-applet/NMWirelessApplet.[ch]
21332                 - Add comments
21333                 - Remove applet->have_active_device as its no longer used
21334                 - (nmwa_load_theme): load keyring.png too
21335                 - (error_dialog): remove
21336                 - (show_warning_dialog): subsume functionality of error dialog too
21337                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21338                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21339                         the networks menu
21340                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21341                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21342                         and when we get broadcasts of changed wireless access points only, not when the
21343                         user clicks on the button to display the menu (too long of a wait)
21344                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21345                         networks that are encrypted
21346                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21347                         menu item with g_object_set_data()
21348
21349         * panel-applet/NMWirelessAppletDbus.[ch]
21350                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21351                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21352                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21353                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21354                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21355                         activation/deactivation signals and rebuild the menu when they happen
21356
21357         * src/NetworkManager.c
21358                 - (main): use new nm_spawn_process() rather than system()
21359
21360         * src/NetworkManagerDbus.c
21361                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21362                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21363                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21364                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21365                         to freeze the best_ap.
21366
21367         * src/NetworkManagerDevice.[ch]
21368                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21369                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21370                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21371                         ap list
21372
21373         * src/NetworkManagerUtils.[ch]
21374                 - (nm_spawn_process): add replacement for system() usage
21375
21376 2004-08-11  Dan Williams <dcbw@redhat.com>
21377
21378         * panel-applet/NMWirelessApplet.[ch]
21379                 - Fix up copyright and credits to include Bastien and Eskil,
21380                         who created the gnome-applets wireless applet, from whose
21381                         skeleton this one was created
21382                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21383                         pixmap to draw is computed during nmwa_update_state()
21384                 - Applet now shows itself all the time due to panel packing issues
21385                         which caused the applet to previously never come back after hiding.
21386                         When a wired device is the active device, the applet shows "not connected"
21387
21388         * panel-applet/NMWirelessAppletDbus.[ch]
21389                 - Clean up error messages and show what function they are from
21390                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21391                 - Add new device type getters, and a status getter
21392
21393         * src/NetworkManagerDbus.c
21394                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21395                         network is actually in the device's ap list
21396                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21397
21398         * src/NetworkManagerDevice.c
21399                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21400                         card
21401
21402         * test/nmclienttest.c
21403                 - Report status of NetworkManager too
21404
21405 2004-08-11  Dan Williams <dcbw@redhat.com>
21406
21407         * info-daemon/NetworkManagerInfo.c:
21408                 - (main): clean up Seth's code style
21409
21410         * info-daemon/NetworkManagerInfoDbus.c:
21411                 - Use the more aptly-named path/service/interface constants from NetworkManager
21412                 - Don't return empty strings ("") as object paths ever, instead return errors
21413
21414         * panel-applet/NMWirelessApplet.c:
21415                 - Clean up Seth's code style
21416
21417         * src/NetworkManager.[ch]
21418                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21419                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21420
21421         * src/NetworkManagerAPList.[ch]
21422                 - Move Iter struct right above the iter functions to preserve opacity
21423                 - (nm_ap_list_remove_ap): implement
21424                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21425                         remove AP if NetworkManagerInfo doesn't know anything about it
21426                 - (nm_ap_list_diff): user NMAPList iterators
21427                 - (nm_ap_list_print_members): implement debugging function
21428
21429         * src/NetworkManagerDbus.[ch]
21430                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21431                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21432                         and move the actual key setting stuff into NetworkManagerDevice.c
21433                 - (nm_dbus_get_network_priority): return -1 now on errors
21434                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21435                         get lost, and force the active device to update its "best" ap when AP lists change
21436                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21437                         method call due to pending_device member removal
21438
21439         * src/NetworkManagerDevice.[ch]
21440                 - Move NMDevice structure to the top
21441                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21442                 - Remove Pending Action stuff from everywhere
21443                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21444                         activation for us.  This thread blocks until all conditions for activation have
21445                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21446                         then setup up the interface and runs dhclient.  We have to do this because there
21447                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21448                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21449                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21450                         can tell nm_device_activation_worker() that we've got a key
21451                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21452                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21453                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21454                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21455
21456         * src/NetworkManagerPolicy.c
21457                 - Remove anything to do with pending_device
21458                 - Adjust device activation to deal with activation-in-worker-thread
21459
21460         * src/NetworkManagerUtils.c
21461                 - Clean up locking debugging a bit
21462
21463         * src/NetworkManagerWireless.[ch]
21464                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21465                         was badly named and is better as a device function
21466
21467         * panel-applet/.cvsignore: add
21468
21469 2004-08-09  Seth Nickell  <seth@gnome.org>
21470
21471         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21472         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21473         (nmwa_new):
21474         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21475
21476         Don't load the menus until clicked on (also removes a call outside
21477         normal code paths at first load).
21478
21479         Hide applet when NM is not present.
21480         
21481         Improve printf debugging stuff.
21482         
21483 2004-08-09  Dan Williams <dcbw@redhat.com>
21484
21485         * dispatcher-daemon/NetworkManagerDispatcher.c:
21486                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21487                 - Use constants for NetworkManager interface, service, and path
21488
21489 2004-08-09  Dan Williams <dcbw@redhat.com>
21490
21491         * src/NetworkManagerDbus.c:
21492                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21493                         instead return an error message
21494                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21495                         on a wired device.  Also never return an empty object path, instead return an error message
21496
21497 2004-08-06  Seth Nickell  <seth@gnome.org>
21498
21499         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21500
21501         Check the error code when getting a connection.
21502         
21503         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21504
21505         Check if the NM service exists when initializing (rather than
21506         assuming it does not).
21507         
21508         * src/NetworkManagerDbus.c: (nm_dbus_init):
21509
21510         Don't acquire the well-known service name until we have
21511         registered object/path handlers and can actually receive
21512         calls.
21513         
21514 2004-08-06  Dan Williams <dcbw@redhat.com>
21515
21516         * panel-applet/*
21517                 - Add panel applet
21518
21519         * src/NetworkManagerPolicy.c
21520           src/NetworkManager.c
21521                 - Get access point lists from NetworkManagerInfo on-demand,
21522                         and look for ServiceCreate/ServiceDeleted signals to see when
21523                         we should query NMI for lists
21524         * src/NetworkManagerAPList.c
21525                 - Make sure to init the list's mutex
21526                 - Convert traversals of the list over to the list iter functions
21527
21528         * src/NetworkManagerDbus.[ch]
21529                 - Use more aptly-named path/service/interface constants
21530                 - Treat both active and pending devices the same for "getActiveDevice"
21531                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21532
21533         * src/NetworkManagerDevice.c
21534                 - Honor "ignored" network list when picking best ap to use
21535
21536 2004-08-06  Seth Nickell  <seth@gnome.org>
21537
21538         * aclocal.m4:
21539
21540         Autogenerated, remove from CVS.
21541         
21542         * autogen.sh:
21543
21544         Don't hardcode automake version.
21545         
21546         * configure.in:
21547         * info-daemon/Makefile.am:
21548         * info-daemon/NetworkManagerInfo.c: (main):
21549
21550         Use GnomeProgram et al. for doing session management.
21551         Use popt stuff for argument parsing rather than doing
21552         it manugally.
21553         
21554 2004-08-05  Dan Williams <dcbw@redhat.com>
21555
21556         * test/nminfotest.c
21557                 - Update to new NMI dbus API, check different network types
21558
21559         * info-daemon/NetworkManagerInfoDbus.c
21560                 - Update to new NM dbus API, ie network type sent in query message
21561
21562 2004-08-05  Dan Williams <dcbw@redhat.com>
21563
21564         * An assload of changes
21565
21566 2004-08-02  Dan Williams <dcbw@redhat.com>
21567
21568         * TODO
21569                 - new task: proper logging support
21570
21571         * info-daemon/NetworkManagerInfo.c
21572                 - Correct spelling of "canceled"
21573                 - Correct casting of objects for g_signal_connect()
21574
21575         * info-daemon/NetworkManagerInfoDbus.c
21576                 - Add defines for NetworkManager namespace and object path, and use them
21577                 - Add filter function to trap new signals from NetworkManager:
21578                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21579
21580         * info-daemon/passphrase.glade
21581                 - Change name of "ok" button to "Login to Network..."
21582                 - Mark invisible
21583
21584         * src/NetworkManager.c
21585                 - Code and debug message cleanups
21586                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21587                 - (nm_add_initial_devices) Check returned string array of devices
21588                         and don't try to add devices if array is NULL
21589                 - (main) Initialize libhal a bit later, make code a bit clearer
21590
21591         * src/NetworkManagerAP.[ch]
21592                 - New accessor and data member "matched": used to speed up AP list
21593                         diffing
21594                 - New accessor and data member "enc_method": will be used during key
21595                         fallback to cache which passphrase->key conversion actually works
21596                         so we don't have to do it every time
21597
21598         * src/NetworkManagerAPList.[ch]
21599                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21600                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21601                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21602                         dbus in response to those differences
21603
21604         * src/NetworkManagerDbus.[ch]
21605                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21606                         make an object path for that access point (NOTE that we don't yet check to
21607                         make sure that access point is actually in the device's AP list yet)
21608                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21609                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21610                         New: signal appearance/disappearance of wireless networks
21611                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21612                         key entry
21613
21614         * src/NetworkManagerDevice.[ch]
21615                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21616                 - (nm_device_ap_list_get) New: return the AP list (static function)
21617                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21618                         new one resulting from the scan with the old one
21619
21620         * src/NetworkManagerWireless.c
21621                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21622
21623         * test/nminfotest.c
21624                 - #define object paths and namespaces and use the #defines rather than static strings
21625                 - Test out user-key functionality of NetworkManagerInfo too
21626
21627 2004-07-29  Dan Williams <dcbw@redhat.com>
21628
21629         * info-daemon/NetworkManagerInfoDbus.c
21630           src/NetworkManagerDbus.c
21631                 - Update to current DBus (ie don't use decomposed paths when registering
21632                         object paths/fallbacks)
21633
21634 2004-07-27  Dan Williams <dcbw@redhat.com>
21635
21636         * Remove various Makefile.in files
21637
21638         * TODO
21639                 - Add some more items
21640
21641         * configure.in
21642                 - Add checks for OpenSSL/md5 headers and libs
21643
21644         * src/Makefile.am
21645                 - Use OpenSSL CFLAGS
21646
21647         * src/NetworkManagerAP.[ch]
21648                 - Remove 'stamp' functions, replace with 'invalid' functions
21649                         to support user cancelling WEP key entry
21650
21651         * src/NetworkManagerDbus.c
21652                 - Remove 'stamp' return functions
21653                 - Treat returned user key as a passphrase and convert to a WEP key,
21654                         but don't actually use the WEP key yet.  We use the returned user
21655                         key as a hexadecimal WEP key until we can figure out a UI for
21656                         passphrase-vs-hex key
21657
21658         * src/NetworkManagerWireless.[ch]
21659                 - Add passphrase-to-128bit-key function
21660
21661 2004-07-27  Dan Williams <dcbw@redhat.com>
21662
21663         * TODO
21664                 - Add a couple of items
21665
21666 2004-07-27  Dan Williams <dcbw@redhat.com>
21667
21668         * info-daemon/NetworkManagerInfo.c
21669                 - Update allowed network's GConf key when user enters a WEP key explicitly
21670
21671         * info-daemon/NetworkManagerDbus.c
21672                 - Fix some comments
21673                 - nmi_dbus_get_allowed_networks(): kill warning
21674
21675 2004-07-27  Dan Williams <dcbw@redhat.com>
21676
21677         * initscript/Makefile.in
21678                 - Remove
21679
21680         * initscript/Makefile.am
21681                 - Add correct rules to install the init.d initscript
21682
21683         * info-daemon/NetworkManagerInfoDbus.c
21684                 - Remove debug fprintf
21685
21686         * src/NetworkManagerDbus.[ch]
21687                 - Remove debug fprintfs
21688                 - Add macros for NetworkManagerInfo object path/namespace
21689                 - Use said macros instead of constant strings
21690
21691 2004-07-27  Dan Williams <dcbw@redhat.com>
21692
21693         * initscript/.cvsignore
21694                 - Add
21695
21696         * info-daemon/Makefile.am
21697                 - Install .glade files and keyring.png
21698                 - Fix stupid omission of a \ that caused half the flags not to be
21699                         passed to gcc
21700
21701         * info-daemon/NetworkManagerInfo.c
21702                 - gtk_signal_connect->g_signal_connect
21703                 - Alert NetworkManagerInfo to new glade file location
21704
21705 2004-07-27  Dan Williams <dcbw@redhat.com>
21706
21707         * test/nmclienttest.c
21708           test/nminfotest.c
21709                 - Add missing <dbus/dbus.h> headers
21710                 - Add GPL message at top
21711
21712 2004-07-27  Dan Williams <dcbw@redhat.com>
21713
21714         * src/NetworkManagerAPList.[ch]
21715           src/Makefile.am
21716                 - Add.  Deal with allowed network list additions, deletions, and updates
21717
21718         * dispatcher-daemon/NetworkManagerDispatcher.c
21719                 - Add missing <dbus/dbus.h> header
21720
21721         * info-daemon/NetworkManagerInfo.[ch]
21722                 - Add missing <dbus/dbus.h> header
21723                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21724                         network change
21725                 - Better error checking
21726
21727         * info-daemon/NetworkManagerInfoDbus.[ch]
21728                 - Add missing <dbus/dbus.h> header
21729                 - Convert to using dbus_message_append_args/dbus_message_get_args
21730                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21731                         that an allowed network changed.  We don't want to signal on individual
21732                         keys _inside_ an allowed network really, just want NM to query the info
21733                         daemon for updated info on all keys.
21734                 - Better error checking
21735
21736         * src/NetworkManager.[ch]
21737                 - Add missing <dbus/dbus.h> header
21738                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21739                 - Zero out NMData structure on free
21740                 - No longer use a thread for allowed_ap_list updating, instead its now done
21741                         through dbus queries against NetworkManagerInfo
21742                 - Populate allowed_ap_list initially before adding existing network devices
21743                         to the device list, so wireless devices can get their "best" AP
21744
21745         * src/NetworkManagerDbus.[ch]
21746                 - Convert to using dbus_message_append_args/dbus_message_get_args
21747                 - Better error checking
21748                 - Implement Allowed Network info functions to request allowed network
21749                         info from NetworkManagerInfo
21750                 - Implement the filter function to process signals from NetworkManagerInfo
21751                         about changing allowed networks
21752
21753         * src/NetworkManagerDevice.c
21754                 - Fix file descriptor leak in nm_device_update_ip4_address()
21755
21756 2004-07-27  Dan Williams <dcbw@redhat.com>
21757
21758         * .cvsignore
21759           src/.cvsignore
21760           test/.cvsignore
21761           dispatcher-daemon/.cvsignore
21762           info-daemon/.cvsignore
21763                 - Add .cvsignore files to reduce noise when diffing
21764
21765 2004-07-24  Dan Williams <dcbw@redhat.com>
21766
21767         * src/NetworkManager.[ch]
21768           src/NetworkManagerDbus.[ch]
21769           src/NetworkManagerDevice.[ch]
21770           src/NetworkManagerPolicy.c
21771           src/NetworkManagerWireless.[ch]
21772                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21773                 - Pass the NMData application data structure through all calls
21774                         that need it so we can get rid of nm_get_global_data()
21775                 - Change deallocation of the allowed_ap_list GSList in preparation
21776                         for not completely clearing it every time we get an update,
21777                         but instead getting incremental updates via GConf/dbus
21778
21779 2004-07-22  Dan Williams <dcbw@redhat.com>
21780
21781         * configure.in
21782                 - Add checks for GConf libs & headers & flags
21783
21784         * info-daemon/Makefile.am
21785                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21786
21787         * info-daemon/NetworkManagerInfo.[ch]
21788                 - Don't use gquarks for data storage, just use normal data storage
21789                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21790
21791         * info-daemon/NetworkManagerDbus.[ch]
21792                 - Add method call for getting allowed networks
21793                 - Add method calls for getting an allowed network's essid, priority, and key
21794                 - Hook the method calls up to GConf
21795                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21796                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21797                 
21798         * src/NetworkManagerDbus.[ch]
21799                 - Switch for enumeration of networks to using essid instead
21800
21801         * test/Makefile.am
21802           test/nminfotest.c
21803                 - Add test program for NetworkManagerInfo
21804
21805 2004-07-19  Dan Williams <dcbw@redhat.com>
21806
21807         * src/NetworkManagerDbus.c
21808                 - Switch from indexed device paths to names.  Less code, more efficient.
21809                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21810
21811 2004-07-19  Dan Williams <dcbw@redhat.com>
21812
21813         * dispatcher-daemon/NetworkManagerDispatcher.c
21814                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21815
21816 2004-07-19  Dan Williams <dcbw@redhat.com>
21817
21818         * Makefile.am
21819                 - Add info-daemon directory
21820
21821         * configure.in
21822                 - Check for glade libs and headers
21823                 - Add info-daemon directory
21824
21825         * src/NetworkManagerAP.c
21826                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21827                         copied over to the new AP.
21828
21829         * src/NetworkManagerDbus.c
21830           src/NetworkManagerDbus.h
21831                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21832                 - Remove nm_dbus_signal_need_key_for_network()
21833                 - Add disabled code for asynchronous user wep key callbacks
21834                 - Add functions for getting, setting, and cancelling user key operations
21835                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21836                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21837
21838         * src/NetworkManagerDevice.c
21839           src/NetworkManagerDevice.h
21840                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21841                         logic is in device activation now
21842                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21843                         key is wrong) trigger get-user-key pending action
21844                 - Implement get-user-key pending action stuff, tie to dbus messages
21845                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21846                 - Add nm_device_ap_list_get_ap_by_essid()
21847                 - Instead of copying "best" access points, ref them instead so that the key we set
21848                         sticks around
21849
21850         * src/NetworkManagerPolicy.c
21851                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21852                 - Don't cancel pending actions on a device if its the same device as last iteration
21853                 - Only promote pending_device->active_device if activation was successfull
21854
21855         * src/Makefile.am
21856                 - Rename nmclienttest->nmtest
21857
21858         * info-daemon/Makefile.am
21859           info-daemon/NetworkManagerInfo.c
21860           info-daemon/NetworkManagerInfo.h
21861           info-daemon/NetworkManagerInfoDbus.c
21862           info-daemon/NetworkManagerInfoDbus.h
21863           info-daemon/passphrase.glade
21864           info-daemon/NetworkManagerInfo.conf
21865           info-daemon/keyring.png
21866                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21867                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21868                         lists to NetworkManager by proxying user's GConf
21869           
21870
21871 2004-07-15  Dan Williams <dcbw@redhat.com>
21872
21873         * src/Makefile.am
21874                 - Turn on warnings
21875
21876         * src/NetworkManager.c
21877                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21878                         that doing the deactivation ourselves
21879                 - Cancel an pending actions on a device if its being removed
21880                 - Break up link state checking a bit, make non-active wireless cards
21881                         deactivated to save power
21882                 - Remove unused variables
21883
21884         * src/NetworkManager.h
21885                 - Add support for "pending" device
21886
21887         * src/NetworkManagerAP.h
21888           src/NetworkManagerAP.c
21889                 - Add support for determining whether and AP has encryption enabled or not
21890                 - AP address is now "struct ether_addr" rather than a string
21891
21892         * src/NetworkManagerDbus.h
21893           src/NetworkManagerDbus.c
21894                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21895                 - Changes for AP address from struct ether_addr->string
21896
21897         * src/NetworkManagerDevice.h
21898           src/NetworkManagerDevice.c
21899                 - Remove unused variables, fix warnings
21900                 - Add support for Pending Actions (things that block a device from being "active"
21901                         until they are completed).
21902                 - First pending action:  Get a WEP key from the user
21903                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21904                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21905                 - Update wireless link checking to try to determine if the AP we are associated
21906                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21907                         trigger the GetUserKey pending action on the device
21908                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21909                         up in that case, otherwise we can't scan or link-check on it
21910                 - Add IP address change notifications at appropriate points (still needs some work)
21911                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21912
21913         * src/NetworkManagerPolicy.h
21914           src/NetworkManagerPolicy.c
21915                 - Split out "best" access point determiniation into separate function
21916                 - Make device activation 2-stage:  first the device is pending, then
21917                         in the next iteration through it becomes "active" unless it has
21918                         pending actions
21919
21920         * src/NetworkManagerUtils.h
21921           src/NetworkManagerUtils.c
21922                 - Clean up unused variables and warnings
21923                 - Wrap our debug macros in {} to prevent possible confusion
21924
21925         * src/NetworkManagerWireless.c
21926                 - Forgot to return current best priority, which lead to last available AP always
21927                         being chosen no matter what its priority was.  Corrected.
21928
21929 2004-07-15  Dan Williams <dcbw@redhat.com>
21930
21931         * dispatcher-daemon/Makefile.am
21932                 - Turn on warnings
21933
21934         * dispatcher-daemon/NetworkManagerDispatcher.c
21935                 - Remove unused variables due to warnings
21936                 - Fix some comments
21937                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21938
21939 2004-07-06  Dan Williams <dcbw@redhat.com>
21940
21941         * src/NetworkManager.c
21942                 - Add IPv4 address update for active device during link state check
21943                 - Don't allow wireless cards to be powered up when they are not the
21944                         active device
21945
21946         * src/NetworkManagerDbus.c
21947           src/NetworkManagerDbus.h
21948                 - Add DBUS IPv4 address change signal
21949                 - Add DBUS IPv4 address get method for devices
21950
21951         * src/NetworkManagerDevice.c
21952                 - Make setting the WEP key actually work
21953                 - Move IP address get/set/update stuff here, per-device
21954                 - Power down/bring down wireless device when deactivated
21955                 - For scanning wireless devices, if first scan returned ENODATA, try again
21956
21957         * src/NetworkManagerPolicy.c
21958                 - Only set the WEP key for an allowed access point if there is one.
21959                         We were setting it to be blank if one wasn't specified.
21960
21961         * src/NetworkManagerUtils.h
21962           src/NetworkManagerUtils.c
21963                 - Move the IP address stuff to NetworkManagerDevice.c
21964
21965         * dispatcher-daemon/NetworkManagerDispatcher.c
21966                 - Add device IPv4 address change notification stuff
21967
21968 2004-07-05  Dan Williams <dcbw@redhat.com>
21969
21970         * dispatcher-daemon/NetworkManagerDispatcher.c
21971                 - A bit more descriptive state message
21972                 - Don't segfault when reading directory
21973
21974         * src/NetworkManager.h
21975                 - Remove NMData desired_ap member, its now
21976                         per-device rather than global
21977
21978         * src/NetworkManager.c
21979                 - Remove references to desired_ap
21980                 - Move the allowed AP list refresh stuff into a thread
21981
21982         * src/NetworkManagerDevice.c
21983           src/NetworkManagerDevice.h
21984                 - Each wireless device now has a "best ap"
21985                 - Make device activate/deactivate functions per-device
21986                 - Make wireless scanning per-device
21987                 - Add IPv4 address discover functions, stub IPv6 ones
21988                 - Move ethernet address validation functions to NetworkManagerUtils.c
21989                 - Add wireless access point accessor function
21990                 - Get/Set functions for "best ap"
21991
21992         * src/NetworkManagerPolicy.c
21993                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21994                 - Deal with per-device "best ap" rather than data->desired_apa
21995                 - Implement allowed access point worker thread
21996                 - Add nm_policy_essid_is_allowed() function
21997
21998         * src/NetworkManagerUtils.c
21999           src/NetworkManagerUtils.h
22000                 - Add nm_ethernet_address_is_valid() function
22001                 - Add IPv4/IPv6 address get functions
22002
22003         * src/NetworkManagerWireless.c
22004           src/NetworkManagerWireless.h
22005                 - Move scanning stuff into NetworkManagerDevice.c, per-device
22006
22007 2004-06-29  Dan Williams <dcbw@redhat.com>
22008
22009         * dispatcher-daemon/NetworkManagerDispatcher.c
22010                 - Implement script callout functionality
22011
22012 2004-06-24  Dan Williams <dcbw@redhat.com>
22013
22014         * NetworkManager.c
22015             - Spacing cleanups
22016             - Flush device routes and ip addresses when added to the device list
22017
22018         * NetworkManagerDbus.c
22019             - Spacing cleanups
22020             - Add missing returns in the two signal functions
22021         
22022         * NetworkManagerPolicy.c
22023             - Spacing and variable cleanups
22024
22025 2004-06-24  Dan Williams <dcbw@redhat.com>
22026
22027         * Makefile.am
22028           Makefile.in
22029           configure.in
22030           dispatcher-daemon/Makefile.am
22031           dispatcher-daemon/Makefile.in
22032           dispatcher-daemon/NetworkManagerDispatcher.c
22033             - Add a daemon that receives signals from NetworkManager
22034                         and will (eventually) call scripts in /etc/somewhere
22035                         when devices go up or down.
22036         
22037         * NetworkManager.c
22038             - Spacing cleanups
22039             - Flush device routes and ip addresses when added to the device list
22040
22041         * NetworkManagerDbus.c
22042             - Spacing cleanups
22043             - Add missing returns in the two signal functions
22044         
22045         * NetworkManagerPolicy.c
22046             - Spacing and variable cleanups
22047             - Rename nm_policy_switch_interface->nm_policy_switch_device
22048             - nm_policy_switch_device():
22049                                 Use kill (pid) instead of system ("kill <pid>")
22050             - nm_state_modification_monitor():
22051                                 Add wireless essid to output of debug statements
22052                                 Correct typo in device compare to switch or not (should be !=)
22053                                 Don't sleep after sending "no longer active" signal, was useless
22054
22055 2004-06-24  Dan Williams <dcbw@redhat.com>
22056
22057         * Initial import