2008-11-21 Tambet Ingo <tambet@gmail.com>
[NetworkManager.git] / ChangeLog
1 2008-11-21  Tambet Ingo  <tambet@gmail.com>
2
3         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
4         plugin compile again.
5
6 2008-11-20  Dan Williams  <dcbw@redhat.com>
7
8         Patch from Tambet Ingo <tambet@gmail.com>
9
10         * libnm-util/nm-setting.c
11           libnm-util/nm-setting.h
12                 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
13                         all the GParamSpec flags of the property
14
15         * system-settings/plugins/keyfile/nm-keyfile-connection.c
16           system-settings/plugins/keyfile/reader.c
17           system-settings/plugins/keyfile/writer.c
18                 - Update for NMSettingValueIterFn change
19
20 2008-11-20  Dan Williams  <dcbw@redhat.com>
21
22         * libnm-util/nm-utils.c
23           libnm-util/nm-utils.h
24                 - More documentation updates
25
26 2008-11-20  Dan Williams  <dcbw@redhat.com>
27
28         * libnm-util/libnm-util.ver
29           libnm-util/nm-utils.c
30           libnm-util/nm-utils.h
31           libnm-util/nm-utils-private.h
32           libnm-util/nm-connection.c
33                 - (nm_utils_register_value_transformations): make private, called
34                         from NMConnection registration anyway
35
36 2008-11-20  Dan Williams  <dcbw@redhat.com>
37
38         * libnm-util/Makefile.am
39           libnm-util/nm-utils-private.h
40                 - New header for internal utils private functions
41
42         * libnm-util/libnm-util.ver
43           libnm-util/nm-utils.c
44           libnm-util/nm-utils.h
45                 - Document some functions
46                 - (nm_utils_string_in_list, nm_utils_string_list_contains,
47                    nm_utils_string_slist_validate): un-export, only used within
48                         libnm-util or of limited use in general, and very easy to
49                         re-implement by apps if needed
50
51         * libnm-util/nm-setting-8021x.c
52           libnm-util/nm-setting-wired.c
53           libnm-util/nm-setting-wireless-security.c
54           libnm-util/nm-setting-wireless.c
55                 - Update for private nm_utils_string_* functions
56
57 2008-11-20  Dan Williams  <dcbw@redhat.com>
58
59         * libnm-util/libnm-util.ver
60           libnm-util/nm-setting.c
61           libnm-util/nm-setting.h
62                 - Add NMSetting errors
63                 - (nm_setting_update_secrets): return errors
64
65         * libnm-util/nm-connection.c
66           libnm-util/nm-connection.h
67                 - (nm_connection_update_secrets): return errors
68
69         * libnm-util/nm-setting-vpn.c
70           src/nm-activation-request.c
71           src/vpn-manager/nm-vpn-connection.c
72                 - Handle update secrets errors
73
74 2008-11-20  Dan Williams  <dcbw@redhat.com>
75
76         * libnm-util/nm-setting.c
77           libnm-util/nm-setting.h
78           libnm-util/libnm-util.ver
79                 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
80                         consistent with nm_connection_new_from_hash()
81
82         * src/nm-activation-request.c
83           libnm-util/nm-connection.c
84                 - Handle rename
85
86 2008-11-19  Dan Williams  <dcbw@redhat.com>
87
88         * configure.in
89           Makefile.am
90           docs/libnm-util/Makefile.am
91           docs/libnm-util/libnm-util.types
92                 - Start to document libnm-util
93
94 2008-11-19  Dan Williams  <dcbw@redhat.com>
95
96         * libnm-util/nm-connection.h
97           libnm-util/nm-connection.c
98                 - Document public functions
99
100 2008-11-19  Dan Williams  <dcbw@redhat.com>
101
102         * libnm-util/nm-setting.h
103           libnm-util/nm-setting.c
104           src/nm-device.c
105           src/nm-manager.c
106           system-settings/plugins/ifcfg-fedora/plugin.c
107                 - Prefix compare flag defines with NM_SETTING_
108
109 2008-11-19  Dan Williams  <dcbw@redhat.com>
110
111         * libnm-util/nm-connection.c
112           libnm-util/nm-connection.h
113                 - (nm_connection_replace_settings): take a GError
114
115         * libnm-glib/nm-settings.c
116           libnm-glib/nm-dbus-connection.c
117           src/nm-manager.c
118           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
119           system-settings/plugins/keyfile/nm-keyfile-connection.c
120           system-settings/plugins/keyfile/plugin.c
121                 - Handle, or don't handle, errors from nm_connection_replace_settings()
122
123 2008-11-19  Dan Williams  <dcbw@redhat.com>
124
125         * libnm-util/libnm-util.ver
126           libnm-util/nm-connection.c
127                 - (nm_setting_register, nm_setting_unregister): unexport; they are
128                         private and don't have a use outside libnm-util
129
130 2008-11-17  Dan Williams  <dcbw@redhat.com>
131
132         * src/nm-hso-gsm-device.c
133                 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
134                         devices
135
136 2008-11-17  Dan Williams  <dcbw@redhat.com>
137
138         * system-settings/plugins/ifcfg-fedora/reader.c
139                 - (read_mac_address): clean up
140                 - (make_wireless_setting): pass NULL array to read_mac_address() like it
141                         expects
142
143         * system-settings/plugins/ifcfg-fedora/plugin.c
144                 - (read_one_connection): don't segfault on NULL errors
145
146 2008-11-14  Dan Williams  <dcbw@redhat.com>
147
148         * Tag 0.7.0-rc2
149
150 2008-11-14  Dan Williams  <dcbw@redhat.com>
151
152         Handle gateways on different subnets
153
154         * src/NetworkManagerSystem.c
155                 - (add_ip4_route_to_gateway): gateway route should be link scope and
156                         a host route
157                 - (replace_default_ip4_route): use a destination address too; gateway
158                         address should be /0; don't leak the gateway route object
159
160 2008-11-14  Dan Williams  <dcbw@redhat.com>
161
162         * libnm-glib/libnm_glib.ver
163           libnm-glib/nm-dbus-settings-system.c
164           libnm-glib/nm-dbus-settings-system.h
165                 - Add libnm-glib bits for CanModify
166
167 2008-11-14  Dan Williams  <dcbw@redhat.com>
168
169         * introspection/nm-settings-system.xml
170           system-settings/src/dbus-settings.c
171           system-settings/src/dbus-settings.h
172                 - Add a "CanModify" property to indicate if any plugins support
173                         connection modification
174
175 2008-11-14  Dan Williams  <dcbw@redhat.com>
176
177         Relicense libnm-glib to LGPLv2+ with agreement from contributors
178
179 2008-11-14  Dan Williams  <dcbw@redhat.com>
180
181         * vpn-manager/nm-vpn-connection.c
182                 - (plugin_state_changed): clear VPN secrets on error to ensure they
183                         are always requested from the settings service (rh #429287)
184
185 2008-11-13  Dan Williams  <dcbw@redhat.com>
186
187         * libnm-util/crypto.c
188                 - (crypto_get_private_key_data): fix bad initial arg type checking
189                         from pkcs#12 patch
190
191 2008-11-13  Dan Williams  <dcbw@redhat.com>
192
193         Add support for PKCS#12 private keys (bgo #558982)
194
195         * libnm-util/crypto.c
196           libnm-util/crypto.h
197                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
198                         take a GByteArray instead of a filename
199                 - (file_to_g_byte_array): handle private key files too
200                 - (decrypt_key): take a GByteArray rather than data + len
201                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
202                         one function that takes a filename, and one that takes raw data;
203                         detect pkcs#12 files as well
204                 - (crypto_load_and_verify_certificate): detect file type
205                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
206                         functions
207
208         * libnm-util/crypto_gnutls.c
209                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
210                         whereby tail padding was incorrectly handled, leading to erroneous
211                         successes when trying to decrypt the data
212                 - (crypto_verify_cert): rework somewhat
213                 - (crypto_verify_pkcs12): validate pkcs#12 keys
214
215         * libnm-util/crypto_nss.c
216                 - (crypto_init): enable various pkcs#12 ciphers
217                 - (crypto_decrypt): take a GByteArray rather than data + len
218                 - (crypto_verify_cert): clean up
219                 - (crypto_verify_pkcs12): validate pkcs#12 keys
220
221         * libnm-util/test-crypto.c
222                 - Handle pkcs#12 keys
223
224         * libnm-util/nm-setting-8021x.c
225           libnm-util/nm-setting-8021x.h
226           libnm-util/libnm-util.ver
227                 - Add two new properties, 'private-key-password' and
228                         'phase2-private-key-password', to be used in conjunction with
229                         pkcs#12 keys
230                 - (nm_setting_802_1x_set_ca_cert_from_file,
231                    nm_setting_802_1x_set_client_cert_from_file,
232                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
233                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
234                         type
235                 - (nm_setting_802_1x_get_private_key_password,
236                    nm_setting_802_1x_get_phase2_private_key_password): return private
237                         key passwords
238                 - (nm_setting_802_1x_set_private_key_from_file,
239                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
240                         key from a file, and update the private key password at the same time
241                 - (nm_setting_802_1x_get_private_key_type,
242                    nm_setting_802_1x_get_phase2_private_key_type): return the private
243                         key type
244
245         * src/supplicant-manager/nm-supplicant-settings-verify.c
246                 - Whitelist private key passwords
247
248         * src/supplicant-manager/nm-supplicant-config.c
249                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
250                         add the private key password to the supplicant config, but do not
251                         add the client certificate (as required by wpa_supplicant)
252
253 2008-11-12  Tambet Ingo  <tambet@gmail.com>
254
255         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
256         (add_secrets): Don't add empty secrets to the secrets hash table.
257
258 2008-11-07  Dan Williams  <dcbw@redhat.com>
259
260         * libnm-util/nm-setting-wireless.c
261                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
262                         that cased this function to return garbage, breaking hidden AP
263                         detection
264
265 2008-11-07  Dan Williams  <dcbw@redhat.com>
266
267         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
268
269         * src/NetworkManagerSystem.c
270           src/NetworkManagerSystem.h
271                 - (nm_system_device_set_ip4_route): return the route that was added
272                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
273                         public, clean up, and return the route that was added
274                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
275                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
276                         flags to allow only certain attributes of the NMIP4Config to be
277                         applied
278
279         * src/nm-device.c
280                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
281                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
282                         what's really changed between the old and new configs; don't export
283                         the new IP4 config on failure; always send the DNS info to the
284                         named manager
285
286         * src/vpn-manager/nm-vpn-connection.c
287                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
288                         parent device's IP4Config and re-add the VPN gateway route when it
289                         changes
290                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
291                         nm_system_apply_ip4_config() no longer does) and cache it for later
292                 - (connection_state_changed): move cleanup code to its own function
293                 - (vpn_cleanup): delete any previously added VPN gateway route; and
294                         re-apply the parent device's addresses and routes using
295                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
296
297 2008-11-07  Dan Williams  <dcbw@redhat.com>
298
299         * src/nm-ip4-config.c
300           src/nm-ip4-config.h
301                 - (nm_ip4_config_diff): new function; return the difference between two
302                         IP4 configs
303                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
304
305 2008-11-05  Dan Williams  <dcbw@redhat.com>
306
307         * nm-ip4-config.c
308           nm-ip4-config.h
309                 - (nm_ip4_config_compare): compare two IP4 configs
310
311 2008-11-05  Dan Williams  <dcbw@redhat.com>
312
313         * src/NetworkManagerPolicy.c
314                 - (update_etc_hosts): only add newline if not the last line of the file
315                         (Jonathan Miner)
316
317 2008-11-05  Dan Williams  <dcbw@redhat.com>
318
319         * src/dhcp-manager/nm-dhcp-dhclient.c
320                 - (get_leasefile_for_iface): move lease files back to where dhclient
321                         puts them
322
323 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
324
325         * initscripts/Debian/NetworkManager
326                 - Update to what Debian is actually using
327
328 2008-11-05  Tambet Ingo  <tambet@gmail.com>
329
330         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
331
332 2008-11-03  Dan Williams  <dcbw@redhat.com>
333
334         * system-settings/src/main.c
335                 - (add_default_dhcp_connection): make the fallback connection read-only
336
337         * libnm-glib/nm-settings.c
338           libnm-glib/nm-settings.h
339                 - Add detailed errors
340                 - (impl_exported_connection_update, impl_exported_connection_delete):
341                         return an error if the connection is read-only
342
343         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
344           system-settings/plugins/keyfile/nm-keyfile-connection.c
345           system-settings/src/main.c
346                 - Use more detailed errors
347
348         * system-settings/src/nm-system-config-error.c
349           system-settings/src/nm-system-config-error.h
350           system-settings/src/dbus-settings.c
351                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
352                         NM_SETTINGS_ERROR_INVALID_CONNECTION
353
354 2008-11-02  Dan Williams  <dcbw@redhat.com>
355
356         * Add license headers to everything in src/
357
358 2008-11-02  Dan Williams  <dcbw@redhat.com>
359
360         * Tag 0.7.0-rc1
361
362 2008-11-02  Dan Williams  <dcbw@redhat.com>
363
364         * src/NetworkManagerAP.c
365                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
366                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
367                         secrets when connecting to an encrypted network failed
368
369 2008-10-30  Dan Williams  <dcbw@redhat.com>
370
371         * libnm-util/libnm-util.ver
372           libnm-util/nm-setting-ip6-config.c
373           libnm-util/nm-setting-ip6-config.h
374           libnm-util/Makefile.am
375                 - Make properties private and add accessor functions
376                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
377
378         * libnm-util/nm-connection.c
379           libnm-util/nm-utils.c
380           libnm-util/nm-utils.h
381                 - Ignore IPv6 stuff for now
382
383 2008-10-30  Dan Williams  <dcbw@redhat.com>
384
385         * libnm-util/libnm-util.ver
386           libnm-util/nm-setting-8021x.c
387           libnm-util/nm-setting-8021x.h
388                 - Make properties private and add accessor functions
389
390         * src/supplicant-manager/nm-supplicant-config.c
391           system-settings/plugins/ifcfg-suse/parser.c
392                 - Use 802.1x setting accessors
393
394 2008-10-30  Dan Williams  <dcbw@redhat.com>
395
396         * libnm-util/libnm-util.ver
397           libnm-util/nm-setting-wireless-security.c
398           libnm-util/nm-setting-wireless-security.h
399                 - Make properties private and add accessor functions
400
401         * libnm-util/nm-setting-wireless.c
402           src/NetworkManagerAP.c
403           src/nm-device-wifi.c
404           src/supplicant-manager/nm-supplicant-config.c
405           system-settings/plugins/ifcfg-fedora/reader.c
406           system-settings/plugins/ifcfg-suse/parser.c
407                 - Use wireless security accessors
408
409 2008-10-30  Dan Williams  <dcbw@redhat.com>
410
411         * src/nm-device-ethernet.c
412           src/nm-device-wifi.c
413           src/nm-device.c
414           src/ppp-manager/nm-ppp-manager.c
415                 - Harmonize return checking of ioctl
416
417         * system-settings/plugins/ifcfg-fedora/reader.c
418                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
419
420 2008-10-30  Dan Williams  <dcbw@redhat.com>
421
422         * src/ppp-manager/nm-ppp-manager.c
423                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
424                         ppp_generic module to create it (bgo #533064)
425
426 2008-10-30  Dan Williams  <dcbw@redhat.com>
427
428         Patch from Alexander Sack <asac@canonical.com>
429
430         Fix "ppp connections don't honour ip4 connection settings"
431
432         * src/nm-device-ethernet.c
433                 - (real_act_stage4_get_ip4_config): merge ip4config settings
434                         with results from ppp manager
435
436         * src/nm-serial-device.c
437                 - (real_act_stage4_get_ip4_config): merge ip4config settings
438                         with results from ppp manager
439
440 2008-10-29  Dan Williams  <dcbw@redhat.com>
441
442         * libnm-util/libnm-util.ver
443           libnm-util/nm-setting-ip4-config.c
444           libnm-util/nm-setting-ip4-config.h
445                 - Make properties private and add accessor functions
446
447         * callouts/nm-dispatcher-action.c
448           libnm-glib/libnm-glib-test.c
449           libnm-util/nm-utils.c
450           src/NetworkManagerPolicy.c
451           src/NetworkManagerSystem.c
452           src/NetworkManagerUtils.c
453           src/dhcp-manager/nm-dhcp-dhclient.c
454           src/dhcp-manager/nm-dhcp-manager.c
455           src/dnsmasq-manager/nm-dnsmasq-manager.c
456           src/nm-device-wifi.c
457           src/nm-device.c
458           src/nm-hso-gsm-device.c
459           src/nm-ip4-config.c
460           src/nm-ip4-config.h
461           src/ppp-manager/nm-ppp-manager.c
462           src/vpn-manager/nm-vpn-connection.c
463           system-settings/plugins/ifcfg-fedora/reader.c
464           system-settings/plugins/ifcfg-suse/parser.c
465           system-settings/plugins/ifcfg-suse/plugin.c
466           system-settings/plugins/ifupdown/parser.c
467           test/nm-tool.c
468           vpn-daemons/vpnc/properties/nm-vpnc.c
469                 - Use IP4 accessor functions
470
471 2008-10-29  Tambet Ingo  <tambet@gmail.com>
472
473         Half of it by Dan Williams <dcbw@redhat.com>
474
475         * libnm-util/libnm-util.ver
476         libnm-util/nm-setting-vpn.c
477         libnm-util/nm-setting-vpn.h
478                 - Make properties private and add accessor functions.
479
480         * src/vpn-manager/nm-vpn-connection.c
481         src/vpn-manager/nm-vpn-manager.c
482         system-settings/plugins/keyfile/reader.c
483         vpn-daemons/openvpn/properties/auth-helpers.c
484         vpn-daemons/openvpn/properties/import-export.c
485         vpn-daemons/openvpn/properties/nm-openvpn.c
486         vpn-daemons/openvpn/src/nm-openvpn-service.c
487         vpn-daemons/pptp/auth-dialog/main.c
488         vpn-daemons/pptp/properties/advanced-dialog.c
489         vpn-daemons/pptp/properties/nm-pptp.c
490         vpn-daemons/pptp/src/nm-pptp-service.c
491         vpn-daemons/vpnc/properties/nm-vpnc.c
492         vpn-daemons/vpnc/src/nm-vpnc-service.c
493                 - Use VPN setting accessors.
494
495 2008-10-28  Dan Williams  <dcbw@redhat.com>
496
497         Patch from Tambet Ingo <tambet@gmail.com>
498
499         * libnm-util/libnm-util.ver
500           libnm-util/nm-setting-wireless.c
501           libnm-util/nm-setting-wireless.h
502                 - Make properties private and add accessor functions
503
504         * src/NetworkManagerAP.c
505           src/nm-device-wifi.c
506           src/nm-manager.c
507           src/supplicant-manager/nm-supplicant-config.c
508           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
509           system-settings/plugins/ifcfg-fedora/reader.c
510           system-settings/plugins/ifcfg-suse/parser.c
511           system-settings/plugins/ifupdown/parser.c
512                 - Use wireless setting accessors
513
514 2008-10-27  Dan Williams  <dcbw@redhat.com>
515
516         Patch from Tambet Ingo <tambet@gmail.com>
517
518         * libnm-util/libnm-util.ver
519           libnm-util/nm-setting-ppp.c
520           libnm-util/nm-setting-ppp.h
521                 - Make properties private and add accessor functions
522
523         * src/ppp-manager/nm-ppp-manager.c
524                 - Use ppp setting accessors
525
526 2008-10-27  Dan Williams  <dcbw@redhat.com>
527
528         Patch from Tambet Ingo <tambet@gmail.com>
529
530         * libnm-util/nm-setting.h
531           libnm-util/nm-setting.c
532                 - Make properties private and add accessor functions
533
534         * libnm-util/nm-connection.c
535           libnm-util/nm-setting-8021x.c
536           libnm-util/nm-setting-cdma.c
537           libnm-util/nm-setting-connection.c
538           libnm-util/nm-setting-gsm.c
539           libnm-util/nm-setting-ip4-config.c
540           libnm-util/nm-setting-ip6-config.c
541           libnm-util/nm-setting-ppp.c
542           libnm-util/nm-setting-pppoe.c
543           libnm-util/nm-setting-serial.c
544           libnm-util/nm-setting-template.c
545           libnm-util/nm-setting-vpn.c
546           libnm-util/nm-setting-wired.c
547           libnm-util/nm-setting-wireless-security.c
548           libnm-util/nm-setting-wireless.c
549           system-settings/plugins/keyfile/reader.c
550           system-settings/plugins/keyfile/writer.c
551                 - Use setting accessors
552
553 2008-10-27  Dan Williams  <dcbw@redhat.com>
554
555         * libnm-util/libnm-util.ver
556           libnm-util/nm-setting-connection.c
557           libnm-util/nm-setting-connection.h
558                 - Add a 'read-only' property that indicates the connection cannot be
559                         modified
560
561         * system-settings/plugins/ifcfg-fedora/reader.c
562           system-settings/plugins/ifcfg-suse/parser.c
563           system-settings/plugins/ifupdown/parser.c
564                 - These plugins are read-only at the moment
565
566         * system-settings/plugins/keyfile/reader.c
567           system-settings/plugins/keyfile/writer.c
568                 - Read-only shouldn't get saved out to files or read in from them
569
570 2008-10-27  Tambet Ingo  <tambet@gmail.com>
571
572         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
573         correct speed reporting for fast devices (kernel >= 2.6.27).
574
575 2008-10-26  Dan Williams  <dcbw@redhat.com>
576
577         Attempt to compensate for modems that don't enable full AT parsing before
578         the PIN has been entered.
579
580         * src/nm-gsm-device.c
581                 - (init_modem): accept different init strings
582                 - (init_done): try different init strings on failure
583                 - (check_pin_done): on PIN success, do full modem init
584
585 2008-10-26  Dan Williams  <dcbw@redhat.com>
586
587         Patch from Tambet Ingo <tambet@gmail.com>
588
589         * libnm-util/libnm-util.ver
590           libnm-util/nm-setting-connection.c
591           libnm-util/nm-setting-connection.h
592                 - Make properties private and add accessor functions
593
594         * src/NetworkManagerPolicy.c
595           src/nm-cdma-device.c
596           src/nm-device-ethernet.c
597           src/nm-device-interface.c
598           src/nm-device-wifi.c
599           src/nm-gsm-device.c
600           src/nm-manager.c
601           src/ppp-manager/nm-ppp-manager.c
602           src/vpn-manager/nm-vpn-connection.c
603           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
604           system-settings/plugins/ifcfg-fedora/plugin.c
605           system-settings/plugins/ifcfg-fedora/reader.c
606           system-settings/plugins/ifcfg-suse/parser.c
607           system-settings/plugins/ifupdown/parser.c
608           system-settings/plugins/keyfile/nm-keyfile-connection.c
609           system-settings/plugins/keyfile/plugin.c
610           system-settings/plugins/keyfile/writer.c
611           system-settings/src/main.c
612                 - Use those accessors
613
614 2008-10-26  Dan Williams  <dcbw@redhat.com>
615
616         Patch from Tambet Ingo <tambet@gmail.com>
617
618         * libnm-util/libnm-util.ver
619           libnm-util/nm-setting-gsm.c
620           libnm-util/nm-setting-gsm.h
621                 - Make properties private and add accessor functions
622
623         * src/nm-gsm-device.c
624           src/nm-hso-gsm-device.c
625           src/ppp-manager/nm-ppp-manager.c
626                 - Use those accessors
627
628 2008-10-26  Dan Williams  <dcbw@redhat.com>
629
630         Patch from Tambet Ingo <tambet@gmail.com>
631
632         * libnm-util/libnm-util.ver
633           libnm-util/nm-setting-cdma.c
634           libnm-util/nm-setting-cdma.h
635                 - Make properties private and add accessor functions
636
637         * src/nm-cdma-device.c
638           src/ppp-manager/nm-ppp-manager.c
639                 - Use those accessors
640
641 2008-10-26  Dan Williams  <dcbw@redhat.com>
642
643         Patch from Tambet Ingo <tambet@gmail.com>
644
645         * libnm-util/libnm-util.ver
646           libnm-util/nm-setting-pppoe.c
647           libnm-util/nm-setting-pppoe.h
648                 - Make properties private and add accessor functions
649
650         * src/nm-device-ethernet.c
651           src/ppp-manager/nm-ppp-manager.c
652                 - Use those accessors
653
654 2008-10-26  Dan Williams  <dcbw@redhat.com>
655
656         Patch from Tambet Ingo <tambet@gmail.com>
657
658         * libnm-util/libnm-util.ver
659           libnm-util/nm-setting-wired.c
660           libnm-util/nm-setting-wired.h
661                 - Make properties private and add accessor functions
662
663         * src/nm-device-ethernet.c
664           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
665           system-settings/plugins/ifcfg-suse/parser.c
666           system-settings/src/main.c
667                 - Use those accessors
668
669 2008-10-26  Dan Williams  <dcbw@redhat.com>
670
671         Patch from Tambet Ingo <tambet@gmail.com>
672
673         * libnm-util/libnm-util.ver
674           libnm-util/nm-setting-serial.c
675           libnm-util/nm-setting-serial.h
676           src/nm-serial-device.c
677                 - Make properties private and use accessors instead
678
679 2008-10-26  Dan Williams  <dcbw@redhat.com>
680
681         * src/supplicant-manager/nm-supplicant-interface.c
682           src/supplicant-manager/nm-supplicant-interface.h
683           src/supplicant-manager/nm-supplicant-manager.c
684           src/supplicant-manager/nm-supplicant-manager.h
685                 - Add state-to-string conversion functions
686
687         * src/nm-device-wifi.c
688           src/nm-device-ethernet.c
689                 - Normalize state info logging and use strings instead of numbers
690
691 2008-10-26  Dan Williams  <dcbw@redhat.com>
692
693         * src/NetworkManagerPolicy.c
694                 - (update_routing_and_dns): ignore host routes when determining whether
695                         a VPN connection should own the default route (bgo #552594)
696
697 2008-10-24  Dan Williams  <dcbw@redhat.com>
698
699         * src/nm-gsm-device.c
700                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
701
702 2008-10-23  Dan Williams  <dcbw@redhat.com>
703
704         * src/ppp-manager/nm-ppp-manager.c
705                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
706                         add really important stuff to the command line to ensure that NM
707                         overrides /etc/ppp/options (bgo #556781)
708
709 2008-10-22  Dan Williams  <dcbw@redhat.com>
710
711         * src/NetworkManagerSystem.c
712           src/nm-device.c
713                 - Use the device's IP interface where appropriate (Per Hallsmark)
714
715 2008-10-22  Dan Williams  <dcbw@redhat.com>
716
717         * src/nm-gsm-device.c
718                 - (schedule_automatic_registration_again): use a short timeout here
719                         instead of an idle handler to avoid using too much CPU polling for
720                         something we should be waiting a bit for anyway
721
722 2008-10-22  Dan Williams  <dcbw@redhat.com>
723
724         * include/NetworkManager.h
725           introspection/nm-device.xml
726                 - Add device state change reason for carrier changes
727
728         * src/nm-device-ethernet.c
729                 - (set_carrier): use the carrier change reason when changing device
730                         state in response to carrier changes
731
732 2008-10-21  Dan Williams  <dcbw@redhat.com>
733
734         * src/NetworkManagerPolicy.c
735                 - (update_etc_hosts): don't leak errors, and ensure that
736                         g_file_set_contents() gets a valid error placeholder (rh #461933)
737
738 2008-10-21  Dan Williams  <dcbw@redhat.com>
739
740         * src/nm-manager.c
741                 - (free_get_settings_info): don't use the DBusGProxy which could be
742                         disposed of by the time the function is called
743                 - (internal_new_connection_cb): save connection scope
744                 - (connection_get_settings_cb): don't replace a connection unless it's
745                         actually different from the existing one; fixes an issue where
746                         killing the settings service wouldn't deactivate an active connection
747                         provided by that settings service, because it was using a connection
748                         that had already been replaced in the system or user hash
749
750 2008-10-21  Dan Williams  <dcbw@redhat.com>
751
752         * src/NetworkManager.c
753                 - (main): keep the DHCP manager around since it's a singleton; fixes
754                         a use-after-free exposed by r4196 since the DHCP manager singleton
755                         variable isn't cleared when the DHCP manager object is finalized
756
757 2008-10-20  Dan Williams  <dcbw@redhat.com>
758
759         * libnm-util/nm-setting-wireless-security.c
760                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
761
762 2008-10-20  Dan Williams  <dcbw@redhat.com>
763
764         * src/supplicant-manager/nm-supplicant-config.c
765                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
766
767 2008-10-20  Dan Williams  <dcbw@redhat.com>
768
769         * src/dhcp-manager/nm-dhcp-manager.c
770                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
771                         manager object already refs it once
772                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
773                         also get cleaned up by nm_dhcp_device_destroy() to prevent
774                         double-frees
775
776 2008-10-20  Dan Williams  <dcbw@redhat.com>
777
778         * src/nm-manager.c
779                 - (initial_get_connections): use private dbus manager, don't keep
780                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
781                         manager object.
782
783 2008-10-18  Dan Williams  <dcbw@redhat.com>
784
785         * libnm-glib/nm-settings.c
786           libnm-glib/nm-settings.h
787                 - Rename the "get_secrets" virtual function "service_get_secrets" to
788                         clarify when it's used; NMExportedConnetion is a base-class for both
789                         the client and service side, which is sort of confusing, and
790                         get_secrets only makes sense on the service side.
791
792         * libnm-glib/nm-dbus-connection.c
793                 - (get_secrets): remove, unused, and clients need to do extra work to
794                         get secrets anyway since the call can block on the remote side
795
796         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
797           system-settings/plugins/keyfile/nm-keyfile-connection.c
798                 - Fix up for get_secrets -> service_get_secrets
799
800 2008-10-16  Dan Williams  <dcbw@redhat.com>
801
802         * src/nm-device-wifi.c
803                 - (constructor): correctly determine encryption capabilities
804
805 2008-10-15  Dan Williams  <dcbw@redhat.com>
806
807         * src/nm-device-wifi.c
808                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
809                         (Johannes Berg)
810
811 2008-10-15  Dan Williams  <dcbw@redhat.com>
812
813         * src/NetworkManagerSystem.c
814                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
815                         if the ip4_dest is in a smaller subnet contained within a subnet
816                         the machine is currently on, the destination is in the same subnet
817                 - (nm_system_device_set_ip4_route): move subnet checks to callers
818                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
819                         subnet as the parent device, and if so, don't add the direct
820                         host route via the parent device's gateway (bgo #481620)
821                 - (nm_system_apply_ip4_config): check whether the route to be added
822                         is contained within a subnet the device is already on
823
824 2008-10-11  Dan Williams  <dcbw@redhat.com>
825
826         * include/NetworkManager.h
827           introspection/nm-device.xml
828           include/NetworkManagerVPN.h
829                 - Add a few more state reasons for the device deactivated state
830
831         * src/nm-device-interface.c
832           src/nm-device-interface.h
833                 - (nm_device_interface_deactivate): add a 'reason' argument
834
835         * src/nm-device.c
836           src/nm-device.h
837                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
838                 - (nm_device_state_changed): pass the state change reason to
839                         nm_device_take_down()
840                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
841                         to the state change function
842
843         * src/nm-manager.c
844           src/nm-manager.h
845                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
846                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
847                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
848                         something reasonable along to VPN deactivation
849
850         * src/vpn-manager/nm-vpn-manager.c
851           src/vpn-manager/nm-vpn-manager.h
852                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
853                         pass that along to nm_vpn_connection_disconnect()
854
855 2008-10-11  Dan Williams  <dcbw@redhat.com>
856
857         * src/nm-device-wifi.c
858                 - (can_scan): remove old madwifi hack for not scanning while connected
859
860 2008-10-11  Dan Williams  <dcbw@redhat.com>
861
862         Add support for VPN subnet gateways (bgo #549196)
863
864         * include/NetworkManager.h
865                 - Add key for internal VPN subnet gateway
866
867         * src/vpn-manager/nm-vpn-connection.c
868                 - (ip_address_to_string): return a const from a static buffer so we
869                         don't leak a lot of strings
870                 - (print_vpn_config): print internal VPN gateway as well
871                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
872                         VPN service too
873                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
874
875         * src/NetworkManagerSystem.c
876           src/NetworkManagerSystem.h
877                 - (nm_system_device_replace_default_ip4_route): split into two, one for
878                         VPN connections and one for normal devices
879                 - (replace_default_ip4_route): break out route stuff into its own function
880                 - (nm_system_replace_default_ip4_route_vpn,
881                    nm_system_replace_default_ip4_route): simplify by having two cases,
882                         one for VPNs and one for normal devices
883
884         * src/NetworkManagerPolicy.c
885                 - (update_routing_and_dns): simplify, use split default route replacement
886                         functions
887
888 2008-10-10  Dan Williams  <dcbw@redhat.com>
889
890         Rework default route handling to consolidate decisions in the policy,
891         and to take active VPN connections into account when changing the default
892         route (bgo #545912)
893
894         * src/NetworkManager.c
895                 - (main): pass the vpn_manager to the policy so it knows about active
896                         VPN connections; clean up the named manager which wasn't done before
897
898         * src/NetworkManagerPolicy.c
899           src/NetworkManagerPolicy.h
900                 - (nm_policy_new): get a clue about the vpn_manager
901                 - (update_default_route): remove, fold into update_routing_and_dns()
902                 - (update_routing_and_dns): handle active VPN connections too; an
903                         active VPN connection becomes the default route if it does not have
904                         server-specified or user-specified custom routes.  Otherwise, the
905                         best active device gets the default route
906                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
907                    nm_policy_destroy): track VPN connection activation and deactivation
908                         and update the default route when appropriate
909
910         * src/NetworkManagerSystem.c
911           src/NetworkManagerSystem.h
912                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
913                         in the VPN connection itself
914                 - (nm_system_vpn_device_set_from_ip4_config,
915                    nm_system_device_set_from_ip4_config): merge together to make
916                         nm_system_apply_ip4_config()
917                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
918                         via the parent device
919                 - (nm_system_apply_ip4_config): simplify
920                 - (add_ip4_route_to_gateway): new function; add a direct route to the
921                         gateway if needed
922                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
923                         route stuff out into add_ip4_route_to_gateway() for clarity
924
925         * src/nm-device.c
926                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
927
928         * src/vpn-manager/nm-vpn-connection.c
929           src/vpn-manager/nm-vpn-connection.h
930                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
931                    nm_vpn_connection_get_parent_device): add
932                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
933                         device explicit
934                 - (connection_state_changed): update the named manager now that
935                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
936                         useful on errors
937
938         * src/vpn-manager/nm-vpn-manager.c
939           src/vpn-manager/nm-vpn-manager.h
940                 - Add a 'connection-activated' signal
941                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
942                         policy to find out about active VPN connections
943
944 2008-10-10  Tambet Ingo  <tambet@gmail.com>
945
946         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
947         a daemon to prevent NM logging spew on console on startup and shutdown (due
948         to dependency loop between NM and syslog).
949
950 2008-10-10  Alexander Sack  <asac@ubuntu.com>
951
952         Implement managed mode. We bind devices configured in /etc/network/interfaces
953         to their connections by updating wired/wireless setting with the
954         mac address of the device.
955
956         * system-settings/plugins/ifupdown/plugin.c
957                 - (get_net_address_for_udi): implement function to retrieve MAC
958                         address of udi from hal in GByteArray format
959                 - (bind_device_to_connection): bind mac address of device to
960                         wired/wireless system connection
961                 - (hal_device_added_cb): call bind_device_to_connection for
962                         system connections with a matching interface.name
963                 - (hal_device_added_cb): ensure that all code paths
964                         properly free the "iface" string.
965
966 2008-10-10  Alexander Sack  <asac@ubuntu.com>
967
968         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
969         mode of the ifupdown system config plugin.
970
971         * system-settings/plugins/ifupdown/plugin.c
972                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
973                         private unmanage_well_known state field accordingly
974
975 2008-10-10  Alexander Sack  <asac@ubuntu.com>
976
977         Implement unmanaged mode that will prevent all devices in the
978         well_known_udis set from being touched by NetworkManager
979
980         * system-settings/plugins/ifupdown/plugin.c
981                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
982                         unmanage_well_known field used to turn on/off unmanaged
983                         mode
984                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
985                         signal when well_known_udis get added/removed
986                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
987                         if we are in unmanaged mode
988
989 2008-10-10  Alexander Sack  <asac@ubuntu.com>
990
991         Add support to track network devices that have a configuration
992         with a matching interface.name in /etc/network/interfaces
993
994         * system-settings/plugins/ifupdown/plugin.c
995                 - (typedef struct SCPluginIfupdownPrivate): add hash table
996                         to track |well_known_udis|
997                 - (get_iface_for_udi): helper function to get interface.name
998                         for a udi
999                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1000                         that add and remove devices to and from the well_known_udis
1001                         set depending on whether their |interface.name| matches
1002                         any interface definition in /etc/network/interfaces
1003                 - (SCPluginIfupdown_init): connect callbacks from above with
1004                         hal_mgr and setup well_known_udis hashtable
1005                 - (GObject__dispose): destroy well_known_udis hashtable
1006                 - (hal_device_added_cb2): implement wrapper callback with GFunc
1007                         signature. user_data is supposed to be a triple (hal_mgr,
1008                         config and devtype)
1009                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1010                         startup and call hal_device_added_cb2
1011
1012 2008-10-10  Alexander Sack  <asac@ubuntu.com>
1013
1014         Remove implementation for not used NMSystemConfigInterface callback functions
1015         in ifupdown plugin
1016
1017         * system-settings/plugins/ifupdown/plugin.c
1018                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1019                 - (SCPluginIfupdown_connection_added): removed
1020
1021 2008-10-08  Dan Williams  <dcbw@redhat.com>
1022
1023         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1024
1025         * src/NetworkManagerUtils.c
1026                 - (nm_utils_call_dispatcher): add a 'hostname' action
1027
1028         * src/NetworkManagerPolicy.c
1029                 - (set_system_hostname): dispatch hostname changes
1030
1031         * callouts/nm-dispatcher-action.c
1032                 - (nm_dispatcher_action): handle 'hostname' actions
1033
1034 2008-10-08  Dan Williams  <dcbw@redhat.com>
1035
1036         * src/NetworkManagerSystem.c
1037                 - (find_route): ref the route so it doesn't get destroyed when the cache
1038                         is cleared
1039                 - (nm_system_device_set_priority): unref the route here after it's done
1040                         being used
1041
1042 2008-10-08  Dan Williams  <dcbw@redhat.com>
1043
1044         * src/nm-serial-device.c
1045                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1046
1047 2008-10-08  Tambet Ingo  <tambet@gmail.com>
1048
1049         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1050         connection with new settings before saving it.
1051
1052 2008-10-06  Dan Williams  <dcbw@redhat.com>
1053
1054         * src/nm-ip4-config.c
1055           src/nm-ip4-config.h
1056                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1057
1058         * src/nm-device-interface.c
1059                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1060                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1061                         by using '/' for the object path
1062
1063         * src/nm-device.c
1064                 - (src/nm-device.c): marshal missing/unexported ip4-config through
1065                         dbus as '/' since dbus-glib can't handle NULL objects nor can
1066                         dbus handle NULL object paths
1067
1068 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1069
1070         Implement system hostname support for debian/ubuntu
1071
1072         * system-settings/plugins/ifupdown/plugin.c
1073                 - (GObject__get_property): extend announced capabilities; add
1074                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1075                 - (GObject__set_property,write_system_hostname): implement
1076                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1077                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1078                    update_system_hostname, get_hostname):
1079                         implement hostname property that watches and
1080                         parses /etc/hostname
1081
1082 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1083
1084         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1085           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1086           system-settings/plugins/ifcfg-fedora/Makefile.am
1087           system-settings/src/nm-inotify-helper.c
1088           system-settings/src/nm-inotify-helper.h
1089           src/Makefile.am
1090                 - Move ifcfg-fedora inotify helpers to the system settings service so
1091                         they are available to all plugins
1092
1093 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1094
1095         Implement support for wep-tx-keyidx in ifupdown system
1096         config plugin.
1097
1098         * system-settings/plugins/ifupdown/parser.c
1099                 - (update_wireless_security_setting_from_if_block): introduce
1100                         free_type_mapping func table; rename a few local
1101                         variables to improve readability; add wpa security mapping
1102                         for wep-tx-keyidx property
1103                 - (string_to_gpointerint): new function used for the auto_type_mapping
1104                         of new wep-tx-keyidx property
1105                 - (slist_free_all): free func used for mapped slist types
1106
1107 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1108
1109         * system-settings/src/main.c:
1110                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1111                         always used as the hash key; fixes a crash when removing wired
1112                         devices
1113
1114 2008-10-02  Dan Williams  <dcbw@redhat.com>
1115
1116         * src/nm-gsm-device.c
1117                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1118                         pass the required GSM secret along via user_data rather than keeping
1119                         it around in the private data where it sometimes didn't get cleared
1120                 - (real_get_ppp_name): implement using the GSM username
1121
1122 2008-10-02  Dan Williams  <dcbw@redhat.com>
1123
1124         * src/ppp-manager/nm-ppp-manager.c
1125           src/ppp-manager/nm-ppp-manager.h
1126                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1127                         the settings daemon for completely new ones
1128                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1129                         local PPP peer name; allow PPP debuging by launching NM with
1130                         the environment variable NM_PPP_DEBUG defined
1131                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1132                         create_pppd_cmd_line()
1133
1134         * src/nm-serial-device.c
1135           src/nm-serial-device.h
1136                 - New 'get_ppp_name' function for subclasses to implement to return the
1137                         local PPP peer name
1138                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1139                         and pass that name to the PPP manager
1140
1141         * src/nm-device-ethernet.c
1142                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1143                         the local peer name
1144
1145         * src/nm-cdma-device.c
1146                 - (real_get_ppp_name): implement using the CDMA username
1147
1148 2008-10-02  Dan Williams  <dcbw@redhat.com>
1149
1150         Patch from Alexander Sack <asac ubuntu com>
1151
1152         * system-settings/plugins/ifupdown/parser.c
1153                 - Implement more graceful ip4 config parsing for cases where
1154                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1155                   by using default values
1156
1157 2008-10-02  Dan Williams  <dcbw@redhat.com>
1158
1159         * src/NetworkManagerPolicy.c
1160                 - (device_state_changed): when marking a connection invalid, clear its
1161                         secrets too so that fresh secrets get requested the next time
1162
1163 2008-10-01  Dan Williams  <dcbw@redhat.com>
1164
1165         * system-settings/src/dbus-settings.c
1166                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1167                         a fallback if no plugin provides a hostname
1168                 - (get_property): fall back to cached hostname if no plugin provides
1169                         a hostname
1170
1171 2008-10-01  Dan Williams  <dcbw@redhat.com>
1172
1173         Fix setting value comparison issue that caused some settings to look the
1174         same when they were really different (rh #464417)
1175
1176         * libnm-util/nm-param-spec-specialized.c
1177                 - (type_is_fixed_size): return fundamental size of the fixed type too
1178                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1179                         in the comparison so that the _entire_ fixed type collection gets
1180                         compared rather than just the first 'len1' bytes
1181
1182 2008-09-30  Dan Williams  <dcbw@redhat.com>
1183
1184         * src/NetworkManagerPolicy.c
1185                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1186                         idle handler could have already run and freed the LookupThread
1187                         structure
1188
1189 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1190
1191         * src/nm-device.c (nm_device_get_priority): Implement.
1192         (nm_device_set_ip4_config): Send the device priority to system ip4 
1193         config setter.
1194
1195         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1196         Add priority argument and if it's >= 0, set the priority of the network
1197         route added automatically by netlink (or kernel?).
1198         (nm_system_device_set_priority): Implement.
1199
1200         * src/NetworkManagerPolicy.c (get_best_device): Use 
1201         nm_device_get_priority() instead of home-grown version. Revert the
1202         meaning, best priority is the lowest one.
1203
1204 2008-09-29  Dan Williams  <dcbw@redhat.com>
1205
1206         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1207         when it returns EAGAIN (rh #362421)
1208
1209         * src/nm-device-wifi.c
1210                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1211                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1212
1213 2008-09-28  Dan Williams  <dcbw@redhat.com>
1214
1215         * src/nm-serial-device.c
1216           src/nm-serial-device.h
1217                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1218                         cleaned at the right times when subclasses close the serial port too
1219                 - (nm_serial_device_send_command): use a default send delay; don't
1220                         spin forever on EAGAIN
1221                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1222                         remove, no longer used
1223                 - (find_response): return the matched response if any
1224                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1225                         while doing so
1226                 - (wait_for_reply_done): pass the matched response to the callback
1227                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1228                         handling
1229                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1230                         const since they never get modified
1231                 - (cleanup_device): split out common cleanup stuff to a new function
1232                 - (real_deactivate_quickly, finalize): use cleanup_device()
1233
1234         * src/nm-gsm-device.c
1235                 - (modem_get_reply): remove, unused
1236                 - (set_apn): give the card a bit more time to respond
1237                 - (manual_registration_again, schedule_manual_registration_again,
1238                    manual_registration_response, manual_registration): handle manual
1239                         registration timeouts better by retrying registration a few times
1240                         because cards are a bit slow after CFUN=1
1241                 - (automatic_registration_get_network, get_network_response): use
1242                         modem_wait_for_reply() because it interacts better with the serial
1243                         buffer and does more intelligent matching; need to wait for 'OK'
1244                         rather than just matching terminators
1245                 - (schedule_automatic_registration_again,
1246                    automatic_registration_response, automatic_registration): retry
1247                         registration a few times on timeout or "searching" because cards
1248                         take a bit to find a network after being powered up with CFUN=1
1249                 - (power_up_response, power_up, init_full_done, enter_pin,
1250                    check_pin_done): power up the card with CFUN=1 before trying to
1251                         register with the network
1252                 - (init_modem_full, init_modem): use more standard 3G init strings
1253
1254         * src/nm-hso-gsm-device.c
1255                 - (modem_get_reply): remove, unused
1256                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1257                         modem_wait_for_reply() to match actual responses instead of single
1258                         termination characters; it doesn't leave stuff in the serial buffer
1259                         that might confuse later calls
1260                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1261                         to ensure that the call is really disconnected and not leave extra
1262                         stuff in the serial buffer
1263
1264         * src/nm-cdma-device.c
1265                 - (power_up_response, power_up, init_done): try Sierra-style modem
1266                         power up before attempting to connect
1267
1268 2008-09-27  Dan Williams  <dcbw@redhat.com>
1269
1270         * libnm-util/nm-setting-gsm.c
1271                 - (verify): verify GSM network ID
1272
1273 2008-09-25  Dan Williams  <dcbw@redhat.com>
1274
1275         * libnm-util/nm-setting-gsm.c
1276           libnm-util/nm-setting-gsm.h
1277                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1278                         technology terms (bgo #551361)
1279
1280 2008-09-25  Dan Williams  <dcbw@redhat.com>
1281
1282         Fix bgo #549401 (inspired by patch from Alexander Sack)
1283
1284         * src/nm-device-ethernet.c
1285                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1286                 - (remove_supplicant_interface_error_handler): remove the supplicant
1287                         error idle callback too
1288                 - (supplicant_interface_release): rename from supplicant_interface_clean
1289                         to match nm-device-wifi.c; clean up supplicant interface-related
1290                         state tasks when the supplicant interface is disposed of
1291                 - (schedule_state_handler): add scheduled tasks to a list so they can
1292                         be cleaned up later
1293                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1294                    supplicant_iface_connection_state_cb_handler): use
1295                         finish_supplicant_task() to clean up each completed task
1296                 - (supplicant_iface_connection_error_cb_handler,
1297                    supplicant_connection_timeout_cb): clear source id when the task is
1298                         complete
1299                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1300                         later cleanup
1301                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1302                         tasks
1303
1304         * src/nm-device-wifi.c
1305                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1306                 - (remove_supplicant_interface_error_handler): remove the supplicant
1307                         error idle callback too
1308                 - (supplicant_interface_release): clean up supplicant interface-related
1309                         state tasks when the supplicant interface is disposed of
1310                 - (schedule_state_handler): add scheduled tasks to a list so they can
1311                         be cleaned up later
1312                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1313                    supplicant_iface_connection_state_cb_handler): use
1314                         finish_supplicant_task() to clean up each completed task
1315                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1316                         the task is complete
1317                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1318                         later cleanup
1319                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1320
1321 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1322
1323         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1324         method and get/set hostname property.
1325
1326 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1327
1328         * src/supplicant-manager/nm-supplicant-interface.c
1329         (nm_supplicant_interface_disconnect): Don't increment the reference 
1330         count when disconnecting. The problem is on shutdown, when the replies
1331         to these commands do not arrive before NM exits, resulting on never
1332         calling supplicant interface's dispose(), which removes the interface
1333         from supplicant.
1334
1335 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1336
1337         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1338         all the public function arguments.
1339
1340 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1341
1342         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1343         "Failure" signal from VPN plugins, store the failure reason, and
1344         use it when the state is changed to failure.
1345
1346         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1347         description.
1348
1349         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1350         reason to the end of the list to not break the API.
1351         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1352         so it can be shared by plugins and daemon.
1353
1354 2008-09-18  Dan Williams  <dcbw@redhat.com>
1355
1356         Patch from Alexander Sack <asac@ubuntu.com>
1357
1358         * configure.in
1359           system-settings/plugins/Makefile.am
1360           system-settings/plugins/ifupdown/Makefile.am
1361           system-settings/plugins/ifupdown/interface_parser.c
1362           system-settings/plugins/ifupdown/interface_parser.h
1363           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1364           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1365           system-settings/plugins/ifupdown/parser.c
1366           system-settings/plugins/ifupdown/parser.h
1367           system-settings/plugins/ifupdown/plugin.c
1368           system-settings/plugins/ifupdown/plugin.h
1369                 - Implement a Debian/Ubuntu legacy network configuration plugin
1370                         (gnome.org #551941)
1371
1372 2008-09-18  Dan Williams  <dcbw@redhat.com>
1373
1374         Implement support for honoring configured and automatic hostnames, and for
1375         setting the configured hostname.
1376
1377         * introspection/nm-ip4-config.xml
1378           src/nm-ip4-config.c
1379           src/nm-ip4-config.h
1380           src/dhcp-manager/nm-dhcp-manager.c
1381                 - Remove useless hostname property; it's not really part of the IPv4
1382                         config
1383
1384         * introspection/nm-settings-system.xml
1385           libnm-glib/nm-dbus-settings-system.c
1386           libnm-glib/nm-dbus-settings-system.h
1387                 - Add SetHostname() call to system settings D-Bus interface
1388                 - Add Hostname property to system settings D-Bus interface
1389                 - (nm_dbus_settings_system_save_hostname,
1390                    nm_dbus_settings_system_get_hostname): implement
1391
1392         * src/nm-device.c
1393           src/nm-device.h
1394                 - (nm_device_get_dhcp4_config): implement
1395
1396         * src/nm-manager.c
1397           src/nm-manager.h
1398                 - Fetch and track system settings service hostname changes, and proxy
1399                         the changes via a GObject property of the manager
1400
1401         * system-settings/src/nm-system-config-interface.c
1402           system-settings/src/nm-system-config-interface.h
1403                 - Replace nm_system_config_interface_supports_add() with a capabilities
1404                         bitfield
1405
1406         * system-settings/src/nm-system-config-error.c
1407           system-settings/src/nm-system-config-error.h
1408                 - Add additional errors
1409
1410         * system-settings/src/dbus-settings.c
1411           system-settings/src/dbus-settings.h
1412                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1413                         property; first plugin returning a hostname wins
1414                 - (impl_settings_add_connection): use plugin capabilities instead of
1415                         nm_system_config_interface_supports_add()
1416                 - (impl_settings_save_hostname): implement hostname saving
1417
1418         * src/NetworkManagerPolicy.c
1419                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1420                    lookup_thread_die): implement an asynchronous hostname lookup thread
1421                         which given an IPv4 address tries to look up the hostname for that
1422                         address with reverse DNS
1423                 - (get_best_device): split out best device code from
1424                         update_routing_and_dns()
1425                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1426                         to preserve the 127.0.0.1 reverse mapping that so many things require
1427                 - (set_system_hostname): set a given hostname
1428                 - (update_system_hostname): implement hostname policy; a configured
1429                         hostname (from the system settings service) is used if available,
1430                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1431                         If there was no automatically determined hostname, reverse DNS of
1432                         the best device's IP address will be used, and as a last resort the
1433                         hostname 'localhost.localdomain' is set.
1434                 - (update_routing_and_dns): use get_best_device(); update the system
1435                         hostname when the network config changes
1436                 - (hostname_changed): update system hostname if the system settings
1437                         service signals a hostname change
1438                 - (nm_policy_new): list for system settings service hostname changes
1439                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1440                         gets told to die
1441
1442         * system-settings/plugins/keyfile/plugin.c
1443           system-settings/plugins/ifcfg-suse/plugin.c
1444                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1445                         capabilities properties
1446
1447         * system-settings/plugins/ifcfg-fedora/shvar.c
1448                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1449                         writes out /etc/sysconfig/network now
1450
1451         * system-settings/plugins/ifcfg-fedora/plugin.c
1452                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1453                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1454                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1455                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1456                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1457                         hostname get/set and capabilities get
1458
1459 2008-09-18  Dan Williams  <dcbw@redhat.com>
1460
1461         * libnm-util/nm-setting-wireless.c
1462                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1463                         group ciphers if the wireless-security setting explicitly specified
1464                         them, effectively making the default be "all ciphers"  (idea from
1465                         Alexander Sack)
1466
1467 2008-09-15  Dan Williams  <dcbw@redhat.com>
1468
1469         Patch from Alexander Sack <asac@ubuntu.com>
1470
1471         * src/named-manager/nm-named-manager.c
1472                 - (dispatch_resolvconf): respect resolvconf exit code
1473
1474 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1475
1476         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1477         again. Add some debugging.
1478
1479 2008-09-11  Dan Williams  <dcbw@redhat.com>
1480
1481         * system-settings/plugins/keyfile/plugin.c
1482                 - (update_connection_settings): update connection manually, since
1483                         nm_exported_connection_update() does authentication
1484                 - (dir_changed): update_connection_settings() doesn't need to return
1485                         an error
1486
1487 2008-09-09  Dan Williams  <dcbw@redhat.com>
1488
1489         * libnm-glib/nm-vpn-plugin-ui-interface.c
1490           libnm-glib/nm-vpn-plugin-ui-interface.h
1491           libnm-glib/libnm_glib_vpn.ver
1492                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1493                         should clean up resources related to the connection (like keyring
1494                         secrets)
1495                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1496                         should save user-scope secrets (like to the keyring)
1497
1498 2008-09-08  Dan Williams  <dcbw@redhat.com>
1499
1500         Patch from Alexander Sack <asac@ubuntu.com>
1501
1502         * libnm-util/crypto_gnutls.c
1503           libnm-util/crypto_nss.c
1504                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1505
1506         * libnm-util/nm-utils.c
1507           libnm-util/nm-utils.h
1508           libnm-util/libnm-util.ver
1509                 - (nm_utils_init): initialize libnm-util
1510                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1511
1512         * libnm-util/nm-setting-8021x.c
1513                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1514
1515 2008-09-05  Dan Williams  <dcbw@redhat.com>
1516
1517         Patch from Roy Marples <roy@marples.name> and others
1518
1519         * configure.in
1520           src/named-manager/nm-named-manager.c
1521                 - Add support for resolvconf; use --with-resolvconf at configure time
1522                         to enable it
1523
1524 2008-09-05  Dan Williams  <dcbw@redhat.com>
1525
1526         * libnm-util/crypto_nss.c
1527           libnm-util/crypto_gnutls.c
1528           libnm-util/crypto.h
1529                 - (crypto_init): return error when init fails
1530
1531 2008-09-05  Dan Williams  <dcbw@redhat.com>
1532
1533         * libnm-glib/nm-device-wifi.c
1534                 - (access_point_removed_proxy): clean up the active access point too
1535                         just in case the active ap changed signal didn't come through yet
1536                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1537
1538 2008-09-05  Dan Williams  <dcbw@redhat.com>
1539
1540         * libnm-glib/nm-client.c
1541                 - (constructor): get initial state after we know whether NM is running
1542                         or not
1543
1544 2008-09-05  Dan Williams  <dcbw@redhat.com>
1545
1546         * libnm-glib/nm-ip4-config.c
1547           libnm-glib/nm-dhcp4-config.c
1548                 - (finalize): clean up the DBusGProxy
1549
1550 2008-09-04  Dan Williams  <dcbw@redhat.com>
1551
1552         * src/nm-ip4-config.c
1553           src/nm-ip4-config.h
1554                 - (nm_ip4_config_new): don't export over D-Bus here
1555                 - (nm_ip4_config_export): new function; export the config over D-Bus
1556                 - (nm_ip4_config_is_exported): new function
1557
1558         * src/nm-device.c
1559                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1560                         objects by balancing the IP4Config constructor; the device holds
1561                         a reference to the IP4Config already
1562                 - (nm_device_set_ip4_config): export the IP4Config when needed
1563
1564 2008-09-04  Dan Williams  <dcbw@redhat.com>
1565
1566         * src/supplicant-manager/nm-supplicant-settings-verify.c
1567                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1568
1569 2008-09-04  Dan Williams  <dcbw@redhat.com>
1570
1571         * libnm-util/nm-setting-vpn.c
1572           libnm-util/nm-setting-vpn.h
1573                 - Split VPN secrets from VPN data so that settings services can actually
1574                         figure out that they are secrets and store them accordingly
1575
1576         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1577           system-settings/plugins/keyfile/reader.c
1578           system-settings/plugins/keyfile/reader.h
1579           system-settings/plugins/keyfile/writer.c
1580                 - Store VPN secrets separately from VPN data so that they can be fetched
1581                         on demand
1582                 - Implement the get_secrets() call so that (a) secrets don't leak out
1583                         to unprivileged callers, and (b) secrets can be sent to privileged
1584                         callers when needed
1585
1586         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1587                 - Handle split VPN secrets
1588
1589 2008-08-27  Dan Williams  <dcbw@redhat.com>
1590
1591         * system-settings/plugins/ifcfg-fedora/reader.c
1592                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1593
1594 2008-08-27  Dan Williams  <dcbw@redhat.com>
1595
1596         Ensure zombie children get cleaned up.  To get notifications when children
1597         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1598         that requires calling waitpid() yourself if you've removed the child watch
1599         handler before the process has actually died, which NM needs to do in a few
1600         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1601         cleans up after the child when required.  Should fix problems trying to
1602         activate mobile broadband connections after a previous failure.
1603
1604         * src/dhcp-manager/nm-dhcp-dhclient.c
1605           src/dhcp-manager/nm-dhcp-dhcpcd.c
1606                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1607
1608         * src/dhcp-manager/nm-dhcp-manager.c
1609                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1610                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1611                         block on child quitting, since the non-blocking functionality was
1612                         never actually used
1613
1614         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1615                 - (dm_watch_cb): child is already reaped here
1616                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1617
1618         * src/nm-device.c
1619                 - (aipd_cleanup): block until child is dead
1620
1621         * src/named-manager/nm-named-manager.c
1622                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1623                         event bothering to watch the child
1624
1625         * src/ppp-manager/nm-ppp-manager.c
1626                 - (ppp_watch_cb): child is already reaped here
1627                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1628
1629         * src/vpn-manager/nm-vpn-service.c
1630                 - (vpn_service_watch_cb): child is already reaped here
1631                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1632                         status of the child is actually tracked
1633                 - (ensure_killed, finalize): block until child is dead
1634
1635 2008-08-26  Dan Williams  <dcbw@redhat.com>
1636
1637         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1638                 - (update): Update filename of the connection if the connection id
1639                         was changed
1640
1641         * system-settings/plugins/keyfile/plugin.c
1642                 - (dir_changed): first pass at handling connection renames correctly
1643
1644         * system-settings/plugins/keyfile/writer.c
1645           system-settings/plugins/keyfile/writer.h
1646                 - (write_connection): replace '/' with '*' when writing out the filename
1647                         from the connection id
1648
1649 2008-08-26  Dan Williams  <dcbw@redhat.com>
1650
1651         Add connection UUIDs, since connection names can be changed, and since
1652         old-style connection IDs could change over the life of the connection.  The
1653         UUID should be assigned at connection creation time, be stable for a given
1654         connection, and should be unique among all connections for a given settings
1655         service.
1656
1657         * configure.in
1658           libnm-util/Makefile.am
1659                 - Require libuuid
1660
1661         * introspection/nm-exported-connection.xml
1662                 - Remove "GetID" method
1663
1664         * libnm-glib/nm-dbus-connection.c
1665           libnm-glib/nm-settings.c
1666           libnm-glib/nm-settings.h
1667                 - Remove id-related stuff
1668
1669         * libnm-util/nm-utils.c
1670           libnm-util/nm-utils.h
1671           libnm-util/libnm-util.ver
1672                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1673                         utility functions to generate UUIDs
1674
1675         * libnm-util/nm-setting-connection.c
1676           libnm-util/nm-setting-connection.h
1677                 - Add 'uuid' member to the connection setting
1678                 - (verify): require valid 'uuid' for a valid connection
1679
1680         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1681           system-settings/plugins/ifcfg-fedora/reader.c
1682           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1683           system-settings/plugins/ifcfg-suse/parser.c
1684           system-settings/plugins/keyfile/nm-keyfile-connection.c
1685           system-settings/src/main.c
1686                 - Remove id-related stuff
1687                 - Give connections UUIDs where needed
1688
1689 2008-08-25  Dan Williams  <dcbw@redhat.com>
1690
1691         * libnm-util/crypto_gnutls.c
1692           libnm-util/crypto_nss.c
1693                 - (crypto_init, crypto_deinit): refcount init/deinit
1694                 - (crypto_md5_hash): allow NULL salt
1695
1696 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1697
1698         * libnm-glib/Makefile.am
1699           libnm-util/Makefile.am
1700           libnm-glib/libnm_glib.ver
1701           libnm-glib/libnm_glib_vpn.ver
1702           libnm-util/libnm-util.ver
1703                 - Use linker version scripts to control the list of exported 
1704                 symbols. List each exported symbol explicitely.
1705         * libnm-util/Makefile.am
1706                 - Fix compilation of the test-crypto binary. The crypto
1707                 functions are no longer part of the libnm-util API. Add 
1708                 crypto_*.c to test_crypto_SOURCES and link against the correct
1709                 crypto libraries.
1710
1711 2008-08-19  Dan Williams  <dcbw@redhat.com>
1712
1713         * configure.in
1714           test/Makefile.am
1715                 - Don't build test/test-common
1716                 - Remove unused stuff
1717
1718         * test/nm-set-fallback
1719           test/nmtestdevices.c
1720           test/test-common/.cvsignore
1721           test/test-common/Makefile.am
1722           test/test-common/test-common.c
1723           test/test-common/test-common.h
1724                 - delete
1725
1726 2008-08-18  Dan Williams  <dcbw@redhat.com>
1727
1728         * libnm-util/nm-utils.c
1729           libnm-util/nm-utils.h
1730                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1731                         export anything that needs to be converted with this function
1732
1733         * src/dhcp-manager/nm-dhcp-manager.c
1734                 - (garray_to_string): convert a byte array to a UTF-8 string with
1735                         minimal validation; the DHCP client sends it in ASCII anyway
1736                 - (get_option, copy_option): use garray_to_string()
1737
1738 2008-08-18  Dan Williams  <dcbw@redhat.com>
1739
1740         * include/NetworkManager.h
1741           introspection/nm-device.xml
1742                 - Add a "missing firmware" device state reason
1743
1744         * src/NetworkManagerSystem.c
1745           src/NetworkManagerSystem.h
1746                 - (nm_system_device_set_up_down): add a no_firmware argument
1747                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1748                         IFF_UP is ENOENT, that almost always means missing firmware
1749
1750         * src/backends/NetworkManagerGeneric.c
1751           src/nm-device-ethernet.c
1752           src/nm-device-private.h
1753           src/nm-device-wifi.c
1754           src/nm-device.c
1755           src/nm-device.h
1756           src/nm-hso-gsm-device.c
1757           src/vpn-manager/nm-vpn-connection.c
1758                 - Pass no_firmware along; check it where appropriate
1759
1760 2008-08-18  Dan Williams  <dcbw@redhat.com>
1761
1762         Patch from Robert Buchholz <rbu@gentoo.org>
1763
1764         * autogen.sh
1765           configure.in
1766                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1767                         1003.1-1988, allowing for file names longer than 99 characters
1768
1769 2008-08-17  Dan Williams  <dcbw@redhat.com>
1770
1771         * include/NetworkManager.h
1772           introspection/nm-device.xml
1773           src/nm-gsm-device.c
1774                 - Finer-grained GSM registration failure error codes
1775
1776 2008-08-17  Dan Williams  <dcbw@redhat.com>
1777
1778         * callouts/Makefile.am
1779           src/Makefile.am
1780                 - Move dispatcher directory creation to callouts/Makefile.am
1781
1782         * system-settings/plugins/keyfile/Makefile.am
1783                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1784
1785 2008-08-15  Dan Williams  <dcbw@redhat.com>
1786
1787         Do connection sharing in a cleaner manner; all required iptables rules
1788         are now stored in the activation request and pertain only to the device
1789         which is being shared to other computers. (rh #458625)
1790
1791         * src/nm-activation-request.c
1792           src/nm-activation-request.h
1793                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1794                         the activation request which will get torn down automatically when
1795                         the activation request dies
1796                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1797                         is started, and tear them down when sharing is stopped
1798
1799         * src/nm-device.c
1800                 - (start_sharing): start up sharing by doing the required iptables magic
1801                 - (share_init): poke the right bits of the kernel and load the right
1802                         modules for NAT
1803                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1804                         connection if it's a 'shared' connection
1805
1806         * src/NetworkManagerPolicy.c
1807                 - Remove all sharing stuff; done in the device code itself
1808
1809 2008-08-15  Dan Williams  <dcbw@redhat.com>
1810
1811         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1812                 - (create_dm_cmd_line): send the right router address
1813
1814 2008-08-15  Dan Williams  <dcbw@redhat.com>
1815
1816         * src/ppp-manager/nm-ppp-manager.c
1817                 - (pppd_timed_out): ensure timeouts fail the connection
1818
1819 2008-08-14  Dan Williams  <dcbw@redhat.com>
1820
1821         * src/nm-properties-changed-signal.c
1822           src/nm-properties-changed-signal.h
1823                 - Add a property spec flag for "don't export this property" in
1824                         property changed signals
1825
1826         * src/nm-hso-gsm-device.c
1827           src/nm-gsm-device.c
1828           src/nm-cdma-device.c
1829                 - Don't export monitor interface or netdev interface properties
1830
1831 2008-08-14  Dan Williams  <dcbw@redhat.com>
1832
1833         * src/NetworkManagerPolicy.c
1834                 - (update_routing_and_dns): 'hso' devices can be default even if they
1835                         don't have a gateway
1836
1837 2008-08-14  Dan Williams  <dcbw@redhat.com>
1838
1839         * src/nm-device.c
1840                 - (nm_device_deactivate_quickly): tear down activation request after
1841                         calling device-specific deactivation
1842
1843         * src/nm-hso-gsm-device.c
1844                 - (real_deactivate_quickly): terminate connection when deactivating
1845
1846 2008-08-14  Dan Williams  <dcbw@redhat.com>
1847
1848         * src/nm-activation-request.h
1849                 - Add HSO secrets caller
1850
1851         * src/nm-gsm-device.c
1852           src/nm-gsm-device.h
1853                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1854                         something to the callback function
1855                 - (set_apn, set_apn_done): call class dial function, not a static one
1856                 - (nm_gsm_device_class_init): add a class 'dial' function
1857
1858         * src/nm-hal-manager.c
1859                 - (get_hso_netdev): find the hso-driven hardware's net device
1860                 - (modem_device_creator): recognize hso-driven hardware and create the
1861                         right type of device object for it
1862
1863         * src/Makefile.am
1864           src/nm-hso-gsm-device.c
1865           src/nm-hso-gsm-device.h
1866                 - Implement support for devices driven by the 'hso' driver as a subclass
1867                         of NMGsmDevice
1868
1869 2008-08-14  Dan Williams  <dcbw@redhat.com>
1870
1871         * src/NetworkManagerSystem.c
1872                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1873                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1874                         success if the operation really was successful
1875
1876 2008-08-14  Dan Williams  <dcbw@redhat.com>
1877
1878         * src/nm-netlink-monitor.c
1879           src/nm-netlink-monitor.h
1880           src/nm-device-ethernet.c
1881                 - (nm_netlink_monitor_request_status): return an error on failure
1882                 - (constructor): don't segfault on missing error
1883
1884 2008-08-13  Dan Williams  <dcbw@redhat.com>
1885
1886         * callouts/nm-dispatcher-action.c
1887                 - Add IP4 config info to script environment
1888
1889 2008-08-12  Dan Williams  <dcbw@redhat.com>
1890
1891         * src/nm-device.c
1892                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1893                         that want to use DHCP hostnames should use dispatcher scripts
1894                         for that
1895
1896         * src/NetworkManagerSystem.h
1897           src/backends/NetworkManagerArch.c
1898           src/backends/NetworkManagerDebian.c
1899           src/backends/NetworkManagerFrugalware.c
1900           src/backends/NetworkManagerGeneric.c
1901           src/backends/NetworkManagerGeneric.h
1902           src/backends/NetworkManagerGentoo.c
1903           src/backends/NetworkManagerMandriva.c
1904           src/backends/NetworkManagerPaldo.c
1905           src/backends/NetworkManagerRedHat.c
1906           src/backends/NetworkManagerSlackware.c
1907           src/backends/NetworkManagerSuSE.c
1908                 - Remove nm_system_set_hostname(), no longer used
1909           
1910         * src/backends/Makefile.am
1911           src/backends/shvar.c
1912           src/backends/shvar.h
1913                 - Remove shvar.*; no longer used
1914
1915 2008-08-12  Dan Williams  <dcbw@redhat.com>
1916
1917         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1918         hostname is updated at runtime.  Distros or users who want hostname updates
1919         can use dispatcher scripts to update the hostname if they need it.
1920
1921 2008-08-12  Dan Williams  <dcbw@redhat.com>
1922
1923         * introspection/nm-settings-system.xml
1924           system-settings/src/dbus-settings.c
1925           system-settings/src/dbus-settings.h
1926                 - Add a 'Hostname' property (rw) which represents the configured
1927                         hostname and domain of the system, if any
1928
1929         * system-settings/src/nm-system-config-error.c
1930           system-settings/src/nm-system-config-error.h
1931           system-settings/src/nm-system-config-interface.c
1932           system-settings/src/nm-system-config-interface.h
1933                 - Add a 'hostname' property to the plugin interface
1934                 - Add a method to send updated hostname to plugins to save in their
1935                         backing configuration store
1936
1937         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1938           system-settings/plugins/keyfile/plugin.c
1939           system-settings/plugins/keyfile/writer.c
1940           system-settings/plugins/keyfile/writer.h
1941           system-settings/plugins/ifcfg-suse/plugin.c
1942                 - Add minimal hostname support
1943
1944         * system-settings/plugins/ifcfg-fedora/plugin.c
1945                 - Add support for updating system hostname in /etc/sysconfig/network
1946
1947 2008-08-12  Dan Williams  <dcbw@redhat.com>
1948
1949         * system-settings/plugins/ifcfg-fedora/shvar.c
1950           system-settings/plugins/ifcfg-fedora/shvar.c
1951                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1952
1953 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1954
1955         * Makefile.am: Fix distcheck.
1956
1957 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1958
1959         * libnm-glib/*.c. Document some more.
1960
1961 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1962
1963         Start documenting libnm-glib public API using gtk-doc.
1964
1965         * libnm-glib/nm-serial-device.c: 
1966         * libnm-glib/nm-object.c: 
1967         * libnm-glib/nm-gsm-device.c: 
1968         * libnm-glib/nm-device.c: 
1969         * libnm-glib/nm-device-wifi.c: 
1970         * libnm-glib/nm-device-ethernet.c: 
1971         * libnm-glib/nm-client.c: 
1972         * libnm-glib/nm-cdma-device.c: Document the public API.
1973
1974         * docs/libnm-glib/libnm-glib.types: Implement.
1975
1976         * docs/libnm-glib/Makefile.am: Implement.
1977
1978         * autogen.sh: 
1979         * configure.in: 
1980         * Makefile.am: Add gtk-doc support.
1981
1982 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1983
1984         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1985
1986         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1987         the composite result of all the IP4 configurations and call a distro
1988         specific update_resolv_conf().
1989         (update_resolv_conf): Implement one for directly writing to 
1990         /etc/resolv.conf and one for opensuse to call netconfig.
1991
1992 2008-08-11  Dan Williams  <dcbw@redhat.com>
1993
1994         * src/ppp-manager/nm-ppp-manager.c
1995                 - (impl_ppp_manager_need_secrets): pass interface as required
1996
1997 2008-08-11  Dan Williams  <dcbw@redhat.com>
1998
1999         Merge the vpn-properties setting with the vpn setting since it was pointless
2000         to keep both of them around.  Convert the vpn 'data' hash table to a hash
2001         of string:string (instead of string:variant) so that system settings plugins
2002         can have an easier time dealing with the arbitrary key/value pairs.
2003
2004 2008-08-11  Dan Williams  <dcbw@redhat.com>
2005
2006         * libnm-util/nm-utils.c
2007                 - (nm_utils_register_value_transformations): add value transform for
2008                         a hash table of string:string
2009
2010 2008-08-10  Dan Williams  <dcbw@redhat.com>
2011
2012         * libnm-glib/nm-vpn-plugin.c
2013                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2014                         an idle handler so the Connect reply gets delivered before the
2015                         stop StateChanged signal
2016
2017 2008-08-10  Dan Williams  <dcbw@redhat.com>
2018
2019         * src/nm-ip4-config.c
2020                 - (get_property): use common ip4 address/route conversion functions
2021                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2022                         copy the new route here, not take ownership
2023
2024 2008-08-08  Tambet Ingo  <tambet@gmail.com>
2025
2026         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2027         Update the IP4 setting's method name.
2028
2029 2008-08-07  Dan Williams  <dcbw@redhat.com>
2030
2031         * introspection/nm-ip4-config.xml
2032           libnm-glib/libnm-glib-test.c
2033           libnm-glib/nm-ip4-config.c
2034           libnm-glib/nm-ip4-config.h
2035           src/NetworkManagerSystem.h
2036           src/backends/NetworkManagerArch.c
2037           src/backends/NetworkManagerDebian.c
2038           src/backends/NetworkManagerFrugalware.c
2039           src/backends/NetworkManagerGeneric.c
2040           src/backends/NetworkManagerGeneric.h
2041           src/backends/NetworkManagerGentoo.c
2042           src/backends/NetworkManagerMandriva.c
2043           src/backends/NetworkManagerPaldo.c
2044           src/backends/NetworkManagerRedHat.c
2045           src/backends/NetworkManagerSlackware.c
2046           src/backends/NetworkManagerSuSE.c
2047           src/dhcp-manager/nm-dhcp-manager.c
2048           src/nm-device.c
2049           src/nm-ip4-config.c
2050           src/nm-ip4-config.h
2051                 - Remove NIS logic; should be done from dispatcher scripts instead
2052
2053 2008-08-07  Dan Williams  <dcbw@redhat.com>
2054
2055         * src/dhcp-manager/nm-dhcp-manager.c
2056                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2057                         mis-handling of DHCP responses that returned more than one router
2058                         (found by Grant Williamson)
2059
2060 2008-08-07  Dan Williams  <dcbw@redhat.com>
2061
2062         * callouts/nm-dispatcher-action.c
2063                 - (nm_dispatcher_action): grab device path and create the device; pass
2064                         the device's DHCP4 config to script caller
2065                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2066                         scripts
2067
2068         * libnm-glib/nm-dhcp4-config.c
2069           libnm-glib/nm-dhcp4-config.h
2070                 - (nm_dhcp4_config_get_options): expose
2071                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2072
2073 2008-08-07  Dan Williams  <dcbw@redhat.com>
2074
2075         * include/NetworkManager.h
2076                 - Add the DHCP4Config D-Bus interface
2077
2078         * libnm-glib/Makefile.am
2079           libnm-glib/nm-dhcp4-config.c
2080           libnm-glib/nm-dhcp4-config.h
2081                 - Handle DHCP4 config objects exported by NM over D-Bus
2082
2083         * libnm-glib/nm-device.c
2084           libnm-glib/nm-device.h
2085                 - Add a 'dhcp4-config' property
2086
2087         * libnm-glib/libnm-glib-test.c
2088                 - Print out DHCP4 config for devices
2089                 - Fix some crashes when no connections are active
2090
2091         * src/nm-device-interface.c
2092           src/nm-device.c
2093           src/nm-dhcp4-config.c
2094           src/nm-dhcp4-config.h
2095                 - Treat dhcp4-config object as an object path at the D-Bus interface so
2096                         that when it doesn't exist we can proxy it as "/" which dbus-glib
2097                         doesn't let us do when the property type is G_TYPE_OBJECT
2098
2099 2008-08-07  Dan Williams  <dcbw@redhat.com>
2100
2101         * src/NetworkManager.c
2102           src/NetworkManagerSystem.h
2103           src/backends/NetworkManagerArch.c
2104           src/backends/NetworkManagerDebian.c
2105           src/backends/NetworkManagerFrugalware.c
2106           src/backends/NetworkManagerGeneric.c
2107           src/backends/NetworkManagerGeneric.h
2108           src/backends/NetworkManagerGentoo.c
2109           src/backends/NetworkManagerMandriva.c
2110           src/backends/NetworkManagerPaldo.c
2111           src/backends/NetworkManagerRedHat.c
2112           src/backends/NetworkManagerSlackware.c
2113           src/backends/NetworkManagerSuSE.c
2114                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2115
2116 2008-08-06  Dan Williams  <dcbw@redhat.com>
2117
2118         * libnm-glib/nm-ip4-config.c
2119           libnm-glib/nm-ip4-config.h
2120                 - Add 'routes' property
2121
2122         * libnm-util/nm-setting-vpn.c
2123           libnm-util/nm-setting-vpn.h
2124                 - Remove 'routes' property
2125
2126         * libnm-util/nm-setting-ip4-config.c
2127           libnm-util/nm-setting-ip4-config.h
2128                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2129                 - Add 'ignore-auto-routes' property
2130                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
2131                         accomodate route metrics
2132                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2133
2134         * libnm-util/nm-utils.c
2135           libnm-util/nm-utils.h
2136                 - Add helpers for marshalling IP4 routes
2137
2138         * src/NetworkManagerUtils.c
2139                 - (nm_utils_merge_ip4_config): handle property renames and new route
2140                         structure
2141
2142         * src/NetworkManagerSystem.c
2143                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2144                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
2145
2146         * src/dhcp-manager/nm-dhcp-manager.c
2147                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2148
2149         * system-settings/plugins/ifcfg-fedora/reader.c
2150           system-settings/plugins/ifcfg-fedora/writer.c
2151                 - Handle routes separately from addresses now that routes have a different
2152                         format
2153
2154         * introspection/nm-ip4-config.xml
2155           src/nm-ip4-config.c
2156           src/nm-ip4-config.h
2157                 - Rename internal routing functions
2158                 - 'static-routes' renamed to 'routes'
2159
2160 2008-08-04  Dan Williams  <dcbw@redhat.com>
2161
2162         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2163
2164         * src/NetworkManager.c
2165           src/nm-manager.c
2166           src/nm-manager.h
2167                 - More explicitly make the NMManager a singleton
2168
2169 2008-08-04  Dan Williams  <dcbw@redhat.com>
2170
2171         * libnm-util/nm-connection.c
2172           libnm-util/nm-connection.h
2173                 - (nm_connection_verify): return error on missing 'connection' setting
2174                         (found by Sjoerd Simons)
2175
2176 2008-08-04  Dan Williams  <dcbw@redhat.com>
2177
2178         Handle multiple concurrent PPP connections.
2179
2180         * src/ppp-manager/nm-ppp-manager.c
2181           src/ppp-manager/nm-ppp-manager.h
2182                 - (constructor): only PPP Manager request bus name once; each
2183                         NMPPPManager object gets a unique object path
2184                 - (nm_ppp_manager_class_init, get_property, set_property,
2185                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2186                         at construct time
2187                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2188                         remove timeout until PPP manager gets an IP4 config
2189                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2190                         the plugin can call back to this specific PPP manager instance
2191
2192         * src/nm-device-ethernet.c
2193           src/nm-serial-device.c
2194                 - Pass parent device in nm_ppp_manager_new()
2195
2196         * src/nm-gsm-device.c
2197           src/nm-cdma-device.c
2198                 - (device_state_changed): don't close serial device on NEED_AUTH
2199                         state changed, that's not a failure case like the rest are
2200
2201         * src/ppp-manager/nm-pppd-plugin.c
2202                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2203                         binds one interface to any pppd process, thus the correct index
2204                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2205                         problems; try harder to get a peer address in spite of pppd
2206                 - (plugin_init): use 'ipparam' as the object path back to our specific
2207                         PPP manager instance
2208
2209 2008-08-04  Dan Williams  <dcbw@redhat.com>
2210
2211         * src/ppp-manager/nm-ppp-manager.c
2212                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2213                         since the GSM and CDMA settings now implement need_secrets, we can
2214                         rely on them to do the right thing.  Where secrets are not required,
2215                         just pass empty strings back to the pppd plugin.
2216                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2217                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2218                         on successful IP4 config receipt
2219
2220 2008-08-04  Dan Williams  <dcbw@redhat.com>
2221
2222         * libnm-util/nm-setting-cdma.c
2223           libnm-util/nm-setting-gsm.c
2224                 - (verify): validate username & password if they exist
2225                 - (need_secrets): if username given, require a password too
2226
2227 2008-08-04  Dan Williams  <dcbw@redhat.com>
2228
2229         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2230                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2231                         manpage says about --listen-address without --interface
2232                         (bgo #546033)
2233
2234 2008-08-01  Dan Williams  <dcbw@redhat.com>
2235
2236         * libnm-glib/nm-device.c
2237                 - (proxy_get_string): util function for querying a HAL property
2238                 - (get_ancestor_device): split out from get_product_and_vendor()
2239                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2240                         from PCI devices by querying subsys properties
2241                 - (nm_device_update_description): simplify
2242
2243 2008-08-01  Dan Williams  <dcbw@redhat.com>
2244
2245         * libnm-util/nm-setting-ip4-config.c
2246           libnm-util/nm-setting-ip4-config.h
2247                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2248                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2249                         settings, and they don't necessarily use DHCP.
2250
2251         * src/NetworkManagerPolicy.c
2252           src/nm-device.c
2253           system-settings/plugins/ifcfg-fedora/reader.c
2254           system-settings/plugins/ifcfg-suse/parser.c
2255                 - Fixup for method changes
2256
2257 2008-07-31  Dan Williams  <dcbw@redhat.com>
2258
2259         * src/nm-activation-request.c
2260           src/vpn-manager/nm-vpn-connection.c
2261                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2262                         itself should be attached to the activation request or the VPN
2263                         connection, not the NMConnection object, since the call is not
2264                         expected to live as long as the NMConnection itself
2265
2266 2008-07-31  Dan Williams  <dcbw@redhat.com>
2267
2268         * src/nm-device-wifi.c
2269                 - (real_act_stage2_config): fix issue where association would continue
2270                         even though secrets were needed; 'goto out' was in wrong scope and
2271                         result of handle_auth_or_fail() should have been dumped directly to
2272                         'ret' to ensure that the association was postponed until secrets
2273                         are available
2274
2275 2008-07-31  Dan Williams  <dcbw@redhat.com>
2276
2277         * system-settings/plugins/ifcfg-fedora/plugin.c
2278           system-settings/plugins/ifcfg-fedora/reader.c
2279                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2280                         valid NM connection
2281
2282 2008-07-29  Dan Williams  <dcbw@redhat.com>
2283
2284         * src/nm-gsm-device.c
2285                 - (automatic_registration_response, automatic_registration): recognize
2286                         denied registration and reorder responses
2287
2288 2008-07-29  Dan Williams  <dcbw@redhat.com>
2289
2290         * src/nm-serial-device.c
2291                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2292                         time(2) is used for current time, which returns seconds, we shouldn't
2293                         be multiplying by 1000.
2294
2295 2008-07-28  Dan Williams  <dcbw@redhat.com>
2296
2297         Patch from Fabrice Bellet <fabrice@bellet.info>
2298
2299         * src/NetworkManagerSystem.c
2300                 - (route_in_same_subnet): mask addresses and compare them so that the
2301                         function actually does what it says it's going to do (rh #456685)
2302
2303 2008-07-27  Dan Williams  <dcbw@redhat.com>
2304
2305         * libnm-util/nm-setting-ip6-config.c
2306                 - (set_property): add missing break that caused routes to be overwritten
2307                         with addresses
2308
2309         * libnm-util/nm-setting-ip6-config.c
2310                 - (verify): validate routes and return GError everywhere on invalid setting
2311                 - (finalize): don't leak routes
2312                 - (set_property): add missing break that caused routes to be overwritten
2313                         with addresses
2314
2315 2008-07-27  Dan Williams  <dcbw@redhat.com>
2316
2317         * libnm-util/*
2318                 - Relicense to LGPLv2+
2319
2320 2008-07-27  Dan Williams  <dcbw@redhat.com>
2321
2322         * system-settings/plugins/ifcfg-fedora/reader.c
2323                 - (make_ip4_setting): fix parsing automatic configs
2324
2325 2008-07-27  Dan Williams  <dcbw@redhat.com>
2326
2327         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2328           src/nm-device.c
2329           src/ppp-manager/nm-ppp-manager.c
2330                 - Ensure child process gets reaped.  The child watch function may be
2331                         removed from the mainloop before the child gets killed, so we have
2332                         to make sure the child is reaped when it's told to die intentionally
2333
2334 2008-07-27  Dan Williams  <dcbw@redhat.com>
2335
2336         Patch from Roy Marples <roy@marples.name>
2337
2338         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2339                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2340
2341 2008-07-27  Dan Williams  <dcbw@redhat.com>
2342
2343         * src/nm-gsm-device.c
2344                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2345                         Huawei devices turn echo back on after CPIN (rh #456770)
2346
2347 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2348
2349         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2350         format argument to g_set_error() call.
2351
2352         * src/backends/interface_parser.[ch]: Remove.
2353
2354         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2355
2356 2008-07-21  Dan Williams  <dcbw@redhat.com>
2357
2358         * src/ppp-manager/nm-ppp-manager.c
2359                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2360                         to prevent pppd from picking up some random local address from an
2361                         interface that doesn't have anything to do with the one we're
2362                         interested in (rh #455348)
2363
2364 2008-07-17  Dan Williams  <dcbw@redhat.com>
2365
2366         * libnm-util/nm-utils.c
2367                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2368                         by locale
2369                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2370                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2371
2372 2008-07-17  Dan Williams  <dcbw@redhat.com>
2373
2374         * introspection/Makefile.am
2375           introspection/nm-device.xml
2376           introspection/nm-dhcp4-config.xml
2377                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2378                         itself
2379         * src/nm-device-interface.c
2380           src/nm-device-interface.h
2381                 - Add the DHCP4Config property
2382
2383         * src/nm-device.c
2384                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2385                         D-Bus clients when it changes
2386
2387         * src/nm-dhcp4-config.c
2388           src/nm-dhcp4-config.h
2389                 - Simple object to store DHCP4 options, export them over D-Bus, and
2390                         notify when they change
2391
2392         * src/dhcp-manager/nm-dhcp-manager.c
2393           src/dhcp-manager/nm-dhcp-manager.h
2394                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2395                         filter server-returned DHCP options into an NMDHCP4Config object
2396
2397 2008-07-16  Dan Williams  <dcbw@redhat.com>
2398
2399         * introspection/nm-device.xml
2400                 - Add device state reasons
2401
2402 2008-07-16  Dan Williams  <dcbw@redhat.com>
2403
2404         Patch from Roy Marples <roy@marples.name>
2405
2406         * configure.in
2407                 - Add --with-dhcp-client option
2408
2409         * src/dhcp-manager/Makefile.am
2410                 - pass DHCP_CLIENT_PATH on compile line
2411
2412         * src/dhcp-manager/nm-dhcp-manager.c
2413           src/dhcp-manager/nm-dhcp-manager.h
2414                 - Genericize for both dhcpcd and dhclient
2415
2416         * src/dhcp-manager/nm-dhcp-dhclient.c
2417                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2418
2419         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2420                 - Implement support for dhcpcd too
2421
2422 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2423
2424         * system-settings/src/nm-system-config-interface.c 
2425         (nm_system_config_interface_supports_add): Implement.
2426         (nm_system_config_interface_add_connection): Return a boolean to notify
2427         of errors.
2428
2429         * system-settings/src/nm-polkit-helpers.c: 
2430         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2431         a separate file.
2432
2433         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2434         Return an error when none of the plugins support add or if addition
2435         failed for some reason.
2436
2437         * system-settings/src/nm-system-config-error.h: 
2438         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2439         here from nm-polkit-helpers.[ch].
2440
2441         * system-settings/src/Makefile.am: Build new files.
2442
2443         * system-settings/plugins/keyfile/reader.c 
2444         (read_array_of_array_of_uint): Make it more general so that it would
2445         work for routes as well.
2446
2447         * system-settings/plugins/keyfile/writer.c
2448         (write_array_of_array_of_uint): Ditto.
2449         Fix the netmask/prefix writing.
2450
2451         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2452         boolean to notify errors.
2453
2454         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2455         Return more specific error.
2456         (delete): Ditto.
2457
2458 2008-07-11  Dan Williams  <dcbw@redhat.com>
2459
2460         Modify the NMDevice::state-changed signal to include the previous state
2461         and reason. Enables the applet to provide more information why device
2462         activation failed.
2463
2464 2008-07-09  Dan Williams  <dcbw@redhat.com>
2465
2466         * callouts/Makefile.am
2467           callouts/nm-avahi-autoipd-action.c
2468           callouts/nm-avahi-autoipd.conf
2469                 - avahi-autoipd callout to send options back to NM
2470
2471         * src/autoip.c
2472           src/autoip.h
2473                 - remove
2474
2475         * src/nm-device.c
2476           src/nm-device-private.h
2477           src/nm-manager.c
2478                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2479                         old custom stuff
2480
2481 2008-07-07  Dan Williams  <dcbw@redhat.com>
2482
2483         * system-settings/plugins/ifcfg-fedora/reader.c
2484                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2485                         handle PREFIX too; clean up
2486
2487 2008-07-07  Dan Williams  <dcbw@redhat.com>
2488
2489         Convert to using IPv4 prefixes instead of netmasks.
2490
2491 2008-07-03  Dan Williams  <dcbw@redhat.com>
2492
2493         * libnm-util/nm-setting-ip4-config.c
2494           libnm-util/nm-setting-ip4-config.h
2495                 - Add properties for DHCP Client Identifier and DHCP Hostname
2496
2497         * src/dhcp-manager/nm-dhcp-manager.c
2498           src/dhcp-manager/nm-dhcp-manager.h
2499                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2500                         setting as an argument to pass on to the dhclient config file
2501                         creation function
2502                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2503                         DHCP is torn down
2504                 - (dhclient_run): punt config file handling to create_dhclient_config()
2505                 - (create_dhclient_config): create an interface-specific dhclient
2506                         config file since there may need to be interface-specific options
2507                         passed to dhclient
2508                 - (merge_dhclient_config): merge normal distro dhclient config file and
2509                         add options from the connection
2510                 - (nm_dhcp_device_new): generate the interface specific dhclient
2511                         config file path once
2512                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2513                         dhclient config file path
2514
2515         * src/nm-device.c
2516                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2517                         DHCP manager when starting DHCP
2518
2519 2008-07-02  Dan Williams  <dcbw@redhat.com>
2520
2521         * libnm-util/nm-setting-8021x.c
2522                 - (verify): allow forcing the PEAP label to 0
2523
2524 2008-07-02  Dan Williams  <dcbw@redhat.com>
2525
2526         * introspection/nm-active-connection.xml
2527           introspection/nm-vpn-connection.xml
2528           libnm-glib/nm-active-connection.c
2529           src/nm-activation-request.c
2530           src/nm-active-connection.h
2531           src/vpn-manager/nm-vpn-connection.c
2532                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2533                         and libnm-glib API since sharing didn't get implemented that way
2534
2535 2008-07-02  Dan Williams  <dcbw@redhat.com>
2536
2537         * src/nm-device-wifi.c
2538                 - (can_scan): don't scan when a shared connection is activated since
2539                         that makes drivers mad (causing disconnects); also NM doesn't need
2540                         to hedge against disconnects by keeping up-to-date network topology
2541                         because the connection originates from the local machine, and thus
2542                         there should be no disconnects
2543
2544 2008-07-01  Dan Williams  <dcbw@redhat.com>
2545
2546         Fix mobile broadband username/password issues.  NM was never requesting
2547         mobile broadband secrets, nor was it passing back the username and password
2548         if it had them.
2549
2550         * marshallers/nm-marshal.list
2551                 - Add some new types for activation request objects
2552
2553         * src/nm-activation-request.c
2554           src/nm-activation-request.h
2555                 - (get_secrets_cb): pass the caller type in the signal
2556                 - (nm_act_request_request_connection_secrets): take a caller type, so
2557                         that GetSecrets() reply handlers know who asked for the secrets in
2558                         the first place; use secret hints too so the settings service can
2559                         figure out exactly what NM wants (ie, PIN or the PPP password)
2560
2561         * src/ppp-manager/nm-ppp-manager.c
2562           src/ppp-manager/nm-ppp-manager.h
2563                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2564                         detect needed secrets when the secret could be blank, like GSM/CDMA
2565                         passwords.  So always ask for secrets, and send a hint as to what
2566                         secret we really want.
2567                 - (nm_ppp_manager_update_secrets): make function more generic by making
2568                         the device specific class figure out the username and password, and
2569                         accept an error argument to return back over D-Bus
2570
2571         * src/nm-device-wifi.c
2572                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2573                         nm_act_request_request_connection_secrets()
2574                 - (real_connection_secrets_updated): update for 'caller' changes
2575
2576         * src/nm-device.c
2577           src/nm-device.h
2578                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2579                         for 'caller' changes
2580
2581         * src/nm-device-ethernet.c
2582                 - (real_connection_secrets_updated): update for 'caller' changes and
2583                         move logic for getting PPPoE username and password here before
2584                         calling nm_ppp_manager_update_secrets()
2585                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2586                         nm_act_request_request_connection_secrets()
2587
2588         * src/nm-cdma-device.c
2589                 - (real_connection_secrets_updated): pass username and password back
2590                         to the PPP manager when required
2591
2592         * src/nm-gsm-device.c
2593                 - (enter_pin): send the required secret name to the settings service
2594                 - (real_connection_secrets_updated): pass username and password back
2595                         to the PPP manager when required
2596
2597 2008-06-30  Dan Williams  <dcbw@redhat.com>
2598
2599         * src/nm-device-wifi.c
2600                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2601
2602 2008-06-30  Dan Williams  <dcbw@redhat.com>
2603
2604         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2605         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2606         priv->supplicant.iface.  When either condition is false, the device should
2607         transition back to UNAVAILABLE because it cannot be used.
2608
2609         * src/nm-device-wifi.c
2610                 - (constructor): cleanup; connect to supplicant manager here since the
2611                         supplicant manager is always around
2612                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2613                         ensure the supplicant manager is in the IDLE state
2614                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2615                         cancel any pending scans too
2616                 - (real_bring_up): don't set up the supplicnat interface here, because
2617                         we need the supplicant interface at times when the device may not
2618                         be "up"
2619                 - (real_take_down): just remove the periodic source
2620                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2621                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2622                         do anything if there's no supplicant interface
2623                 - (cleanup_association_attempt): cleanup
2624                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2625                         the interface enters the READY state; transition to UNAVAILABLE
2626                         state when the interface goes down because the device can't be used
2627                         without a supplicant interface
2628                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2629                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2630                         acquire the supplicant interface and transition to DISCONNECTED
2631                         if the radio isn't killed
2632                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2633                 - (state_changed_cb): release any existing supplicant interface; if the
2634                         radio is enabled then try to acquire a new supplicant interface;
2635                         if the radio is enabled and a supplicant interface has been acquired,
2636                         we can transition to DISCONNECTED
2637                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2638                         don't enable the radio, because HAL probably lied to us about the
2639                         killswitch being off.  If bringing the hardware up worked, then
2640                         try to grab a supplicant interface, and if that was successful,
2641                         transition to DISCONNECTED
2642
2643 2008-06-30  Dan Williams  <dcbw@redhat.com>
2644
2645         * src/supplicant-manager/nm-supplicant-interface.c
2646                 - (request_scan_results, nm_supplicant_interface_dispose,
2647                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2648                         the id of the timeout, not a GSource
2649
2650 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2651
2652         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2653         bunch of typoes introduced by "Patch from David Cantrell 
2654         <dcantrell@redhat.com> and me".
2655
2656 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2657
2658         * src/nm-serial-device.c: 
2659         * src/nm-gsm-device.c: 
2660         * src/nm-cdma-device.c: Move the pending call handling to a common location
2661         in serial device. Handle setting device state to failed in one place as well.
2662
2663 2008-06-29  Dan Williams <dcbw@redhat.com>
2664
2665         * src/nm-hal-manager.c
2666                 - Rework killswitch handling to query killswitch status immediately
2667                         when the first killswitch is added, so that rfkill state is
2668                         known as early as possible
2669                 - Also treat failure of GetPower() as rfkill when the dbus method
2670                         call times out (but not when the HAL callout returns an error)
2671
2672 2008-06-26  Dan Williams <dcbw@redhat.com>
2673
2674         Patch from David Cantrell <dcantrell@redhat.com> and me
2675
2676         * include/nm-dbus-glib-types.h
2677                 - Add IP6 address types
2678
2679         * libnm-util/Makefile.am
2680           libnm-util/nm-setting-ip6-config.c
2681           libnm-util/nm-setting-ip6-config.h
2682                 - Add IP6 settings object
2683
2684         * libnm-util/nm-connection.c
2685                 - (register_default_settings): register ip6 settings object
2686
2687         * libnm-util/nm-utils.c
2688           libnm-util/nm-utils.h
2689                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2690                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2691                         ip6 address conversion functions
2692         
2693 2008-06-26  Dan Williams <dcbw@redhat.com>
2694
2695         Patch from David Cantrell <dcantrell@redhat.com>
2696         
2697         * Use inet_ntop() and inet_pton() everwhere and check for errors
2698
2699 2008-06-26  Dan Williams <dcbw@redhat.com>
2700
2701         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2702
2703 2008-06-26  Dan Williams <dcbw@redhat.com>
2704
2705         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2706
2707         * src/nm-device-wifi.c
2708                 - (link_timeout_cb): don't ignore disconnects due to scanning
2709                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2710                         a longer timeout when scanning; avoids case where supplicant can't
2711                         find the AP and just keeps scanning forever but isn't connected
2712
2713 2008-06-26  Dan Williams <dcbw@redhat.com>
2714
2715         Patch from Michael Biebl <biebl@debian.org>
2716
2717         * Clean up build system stuff
2718
2719 2008-06-23  Christian Persch  <chpe@gnome.org>
2720
2721         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2722         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2723         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2724         (impl_get_object):
2725         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2726         (impl_get_object):
2727         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2728         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2729         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2730         (impl_get_object):
2731         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2732         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2733         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2734         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2735         * vpn-daemons/pptp/properties/vpnui_opt.c:
2736         (vpnui_opt_connect_signals):
2737         * vpn-daemons/pptp/properties/vpnui_opt.h:
2738         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2739         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2740         deprecated gtk type macros. Bug #539325.
2741
2742 2008-06-20  Dan Williams  <dcbw@redhat.com>
2743
2744         * libnm-glib/nm-vpn-plugin-ui-interface.c
2745           libnm-glib/nm-vpn-plugin-ui-interface.h
2746                 - 'validity-changed' -> 'changed' to work better with the connection
2747                         editor.  Plugin UI widgets should emit 'changed' whenever their
2748                         UI values change in a meaningful way.
2749                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2750                         update_connection member now returns validity of the UI widget
2751
2752 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2753
2754         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2755
2756 2008-06-17  Dan Williams  <dcbw@redhat.com>
2757
2758         * libnm-glib/nm-vpn-plugin-ui-interface.c
2759           libnm-glib/nm-vpn-plugin-ui-interface.h
2760                 - Add "desc" property for longer descriptions of the VPN plugin
2761
2762 2008-06-16  Dan Williams  <dcbw@redhat.com>
2763
2764         * configure.in
2765           libnm-glib/libnm_glib_vpn.pc.in
2766                 - add a .pc file for libnm_glib_vpn
2767
2768         * libnm-glib/nm-vpn-plugin-ui-interface.c
2769           libnm-glib/nm-vpn-plugin-ui-interface.h
2770                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2771                         rework it substantially
2772
2773 2008-06-12  Dan Williams  <dcbw@redhat.com>
2774
2775         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2776         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2777         returns a descriptive GError when verification fails.
2778
2779 2008-06-11  Dan Williams  <dcbw@redhat.com>
2780
2781         Patch from Tambet Ingo <tambet@gmail.com>
2782
2783         * libnm-util/nm-setting-gsm.c
2784                 - (verify): validate APN
2785
2786         * src/nm-gsm-device.c
2787                 - (manual_registration_done): start setting APN if needed
2788                 - (set_apn, set_apn_done): set the APN
2789                 - (do_dial): use the APN when dialing
2790
2791 2008-06-11  Dan Williams  <dcbw@redhat.com>
2792
2793         * src/NetworkManagerSystem.c
2794                 - (nm_system_device_set_ip4_route,
2795                    nm_system_device_replace_default_ip4_route): check for the right
2796                         return value from rtnl_route_add() to know when to add a gateway
2797                         route (from Tambet)
2798
2799 2008-06-11  Dan Williams  <dcbw@redhat.com>
2800
2801         * src/NetworkManagerPolicy.c
2802                 - do_ipt_cmd -> do_cmd
2803                 - (sharing_init): use do_cmd() instead of system()
2804
2805 2008-06-10  Dan Williams  <dcbw@redhat.com>
2806
2807         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2808         and use "wifi" everwhere instead.
2809
2810 2008-06-10  Dan Williams  <dcbw@redhat.com>
2811
2812         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2813
2814 2008-06-10  Dan Williams  <dcbw@redhat.com>
2815
2816         Patch from Tambet Ingo <tambet@gmail.com>
2817
2818         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2819                 changes.
2820
2821         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2822                 a signal to emit these changes over dbus.
2823
2824         * src/Makefile.am: Genereate nm-serial-device-glue.
2825
2826         * libnm-glib/nm-serial-device.[ch]: Implement.
2827
2828         * libnm-glib/nm-cdma-device.[ch]
2829           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2830
2831         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2832
2833         * introspection/nm-device-serial.xml: Implement.
2834
2835         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2836
2837         * introspection/Makefile.am: Add nm-device-serial.xml.
2838
2839         * include/NetworkManager.h: Add a DBus interface for serial device.
2840
2841 2008-06-10  Dan Williams  <dcbw@redhat.com>
2842
2843         * configure.in
2844                 - Add TARGET_* define to config.h to distinguish distros
2845
2846         * src/dhcp-manager/nm-dhcp-manager.c
2847                 - (dhclient_run): use distro-specific path for dhclient config file
2848
2849 2008-06-09  Dan Williams  <dcbw@redhat.com>
2850
2851         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2852           src/dnsmasq-manager/nm-dnsmasq-manager.h
2853                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2854                         calculate the addresses passed to dnsmasq instead of hard-coding
2855                         them
2856
2857         * src/nm-device.c
2858                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2859                         IP addresses for shared connections to guard against shared
2860                         connection address collisions
2861                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2862                         error conditions
2863                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2864                         the dnsmasq manager
2865
2866 2008-06-09  Dan Williams  <dcbw@redhat.com>
2867
2868         * src/NetworkManagerPolicy.c
2869                 - (update_routing_and_dns): set the default connection _after_ unsetting
2870                         default on all non-default connections so that two connections can
2871                         never be default at the same time
2872                 - (device_state_changed): start and stop connection sharing when
2873                         needed
2874                 - (active_connection_default_changed): restart or stop sharing when
2875                         the default connection changes to keep shared connections always
2876                         NAT-ed through the default connection
2877                 - (check_sharing): handle activation/deactivation of shared connections
2878                 - (sharing_restart): atom-bomb approach to connection sharing until we
2879                         can use libnl; reinit all sharing when the default connection or
2880                         shared connections change
2881                 - (sharing_init, sharing_stop): evil functions that init and deinit
2882                         iptables
2883
2884 2008-06-09  Dan Williams  <dcbw@redhat.com>
2885
2886         * src/nm-activation-request.c
2887           src/nm-activation-request.h
2888                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2889                    nm_act_request_get_device): new functions to facilitate connection
2890                         sharing
2891
2892 2008-06-09  Dan Williams  <dcbw@redhat.com>
2893
2894         * src/nm-device.c
2895                 - (clear_act_request): unset the 'default' property of the activation
2896                         request when clearing it to ensure the property changed signal gets
2897                         delivered and handled
2898
2899 2008-06-09  Dan Williams  <dcbw@redhat.com>
2900
2901         * libnm-glib/nm-device-802-11-wireless.c
2902                 - (access_point_removed_proxy): actually unref the AP after removing
2903                         it from the device's AP list.  Fixes refcounting bug for APs that
2904                         caused them to get mixed up in the applet's menu.
2905
2906 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2907
2908         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2909         (nm_dhcp_device_destroy): Destroy the device options hash table.
2910
2911 2008-06-06  Dan Williams <dcbw@redhat.com>
2912
2913         * system-settings/src/nm-polkit-helpers.c
2914                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2915                         unref the context if the initialization fails; also avoid spew when
2916                         the error isn't set
2917
2918 2008-06-06  Dan Williams <dcbw@redhat.com>
2919
2920         Patch from Tambet Ingo  <tambet@gmail.com>
2921
2922         * src/NetworkManagerSystem.c
2923           src/NetworkManagerSystem.h
2924                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2925                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2926                 - (nm_system_device_set_ip4_route): clean up
2927                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2928
2929         * src/nm-device.c
2930                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2931
2932         * src/vpn-manager/nm-vpn-connection.c
2933                 - (ip_address_to_string): new function
2934                 - (print_vpn_config): use ip_address_to_string
2935                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2936                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2937
2938         * include/NetworkManagerVPN.h
2939                 - Add 'routes' key
2940
2941 2008-06-05  Dan Williams <dcbw@redhat.com>
2942
2943         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2944
2945         * test/nm-tool.c
2946                 - Show which device is the default device
2947
2948 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2949
2950         Fix memory leaks.
2951
2952         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2953         Free data returned from dbus method call.
2954
2955         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2956         dbus_g_method_get_sender() returns a duplicated string, free it 
2957         when done.
2958         (check_polkit_privileges): Looks like policykit sometimes returns
2959         error and non-null return value, don't leak errors in that case.
2960
2961         * system-settings/src/main.c (find_plugin): Don't leak existing 
2962         plugin names.
2963         (load_stuff): Don't leak device list and list items.
2964         (have_connection_for_device): Don't leak connection list.
2965
2966         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2967         Free the data received from g_keyfile_get_*.
2968
2969         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2970         the key when the security object is updated.
2971
2972         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2973         Free data returned from dbus method call.
2974         (iface_state_cb): Ditto.
2975         (add_network_cb): Ditto.
2976         (nm_supplicant_interface_add_cb): Don't make another copy of already
2977         duplicated object path.
2978         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2979         when done.
2980
2981         * src/supplicant-manager/nm-supplicant-config.c 
2982         (ADD_STRING_LIST_VAL): Fix a memory leak.
2983
2984         * src/nm-manager.c (free_get_settings_info): Free the allocated
2985         memory slice.
2986         (list_connections_cb): Free data returned from dbus method call.
2987         (system_settings_get_unmanaged_devices_cb): Ditto.
2988
2989         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2990
2991         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2992         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2993         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2994         of the GList.
2995
2996         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2997         arguments after the object is created.
2998
2999 2008-06-04  Dan Williams <dcbw@redhat.com>
3000
3001         * libnm-util/Makefile.am
3002                 - Don't distribute nm-param-spec-specialized.h
3003
3004 2008-06-02  Tambet Ingo  <tambet@gmail.com>
3005
3006         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3007
3008         * src/nm-ip4-config.[ch]: Store the static routes as a list of
3009         NMIP4Address, update the getters and setters.
3010
3011         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3012         Use the updated NMIP4Config routes api.
3013
3014         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3015         static routes as well.
3016
3017         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3018         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3019         routes api.
3020
3021 2008-05-30  Dan Williams <dcbw@redhat.com>
3022
3023         * src/named-manager/nm-named-manager.c
3024           src/named-manager/nm-named-manager.h
3025                 - Remove stale/obsolete bits for controlling bind over DBus
3026
3027 2008-05-29  Dan Williams <dcbw@redhat.com>
3028
3029         * src/dnsmasq-manager/nm-dnsmasq-manager.c
3030           src/dnsmasq-manager/nm-dnsmasq-manager.h
3031                 - (nm_dnsmasq_manager_new): move iface argument here
3032                 - (constructor): remove, not needed
3033                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3034                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3035
3036         * src/nm-device.c
3037                 - (real_act_stage4_get_ip4_config,
3038                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3039                         changes
3040
3041 2008-05-29  Dan Williams <dcbw@redhat.com>
3042
3043         * src/nm-device.c
3044                 - (dnsmasq_state_changed_cb): new function; fail the connection if
3045                         something happens to dnsmasq
3046                 - (nm_device_new_ip4_shared_config): new function; create a new
3047                         ip4-config for shared connections.  Shared connections always use a
3048                         fixed static IP address.
3049                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3050                         autoip connections by actually using the returned ip4-config and
3051                         not leaking it
3052                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3053                         connections
3054                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3055                         if its active
3056
3057 2008-05-29  Dan Williams <dcbw@redhat.com>
3058
3059         * src/nm-device-802-11-wireless.c
3060                 - (real_get_best_auto_connection): auto-activate 'shared' method
3061                         connections too
3062
3063 2008-05-29  Dan Williams <dcbw@redhat.com>
3064
3065         * libnm-util/nm-setting-ip4-config.c
3066           libnm-util/nm-setting-ip4-config.h
3067                 - Add a 'shared' method to indicate that this connection should be
3068                         brought up with a DHCP and proxy DNS server to facilitate
3069                         connection sharing.
3070                 - (verify): 'shared' method doesn't allow DNS or searches either
3071
3072 2008-05-29  Dan Williams <dcbw@redhat.com>
3073
3074         * configure.in
3075           src/Makefile.am
3076           src/dnsmasq-manager/Makefile.am
3077           src/dnsmasq-manager/nm-dnsmasq-manager.c
3078           src/dnsmasq-manager/nm-dnsmasq-manager.h
3079                 - Add a dnsmasq daemon manager to facilitate connection sharing
3080
3081 2008-05-29  Dan Williams <dcbw@redhat.com>
3082
3083         * src/nm-device-private.h
3084                 - Remove unused prototypes and clean up
3085
3086         * src/nm-device.c
3087                 - Remove anything related to system_config_data, which is no longer used
3088                 - (nm_device_new_ip4_autoip_config): make static
3089
3090 2008-05-29  Tambet Ingo  <tambet@gmail.com>
3091
3092         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3093         (file_changed): Fix a bug where suse system settings plugin didn't
3094         update the connections automatically when the files changed.
3095
3096 2008-05-28  Dan Williams  <dcbw@redhat.com>
3097
3098         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3099
3100 2008-05-28  Dan Williams  <dcbw@redhat.com>
3101
3102         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3103
3104         * src/NetworkManagerSystem.c
3105                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3106                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3107                         was causing -EINVAL errors since the libnl code actually does flush
3108                         the routes on VPN interfaces now
3109
3110         * src/backends/NetworkManagerArch.c
3111           src/backends/NetworkManagerDebian.c
3112           src/backends/NetworkManagerFrugalware.c
3113           src/backends/NetworkManagerGeneric.c
3114           src/backends/NetworkManagerGentoo.c
3115           src/backends/NetworkManagerMandriva.c
3116           src/backends/NetworkManagerPaldo.c
3117           src/backends/NetworkManagerRedHat.c
3118           src/backends/NetworkManagerSlackware.c
3119           src/backends/NetworkManagerSuSE.c
3120                 - (nm_system_device_flush_ip4_routes,
3121                    nm_system_device_flush_ip4_routes_with_iface): remove
3122
3123 2008-05-28  Dan Williams  <dcbw@redhat.com>
3124
3125         * libnm-util/nm-setting-wireless.c
3126           libnm-util/nm-setting-wireless.h
3127                 - (set_property, get_property, nm_setting_wireless_class_init): add the
3128                         'adhoc-create' property, which when TRUE indicates that NM should
3129                         create this connection as an adhoc wifi network if it's not found
3130                         as an adhoc network during scanning.  Can be used to auto-create
3131                         adhoc networks when used in combination with autoconnect.
3132
3133 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3134
3135         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3136
3137         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3138         checked, it doesn't work on some devices.
3139
3140 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3141
3142         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
3143         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3144
3145         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3146         Use inet_aton() everywhere to improve error detection.
3147         Don't fall back to 'dhcp_server_identifier' if the gateway is not
3148         provided.
3149
3150 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3151
3152         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3153         Fix a typo.
3154
3155 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3156
3157         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3158         reference counting issue.
3159
3160 2008-05-23  Dan Williams  <dcbw@redhat.com>
3161
3162         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3163
3164         * src/backends/NetworkManagerGeneric.c
3165                 - (nm_generic_enable_loopback): use libnl
3166
3167 2008-05-23  Dan Williams  <dcbw@redhat.com>
3168
3169         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3170
3171         * src/NetworkManagerSystem.h
3172           src/backends/NetworkManagerArch.c
3173           src/backends/NetworkManagerDebian.c
3174           src/backends/NetworkManagerFrugalware.c
3175           src/backends/NetworkManagerGentoo.c
3176           src/backends/NetworkManagerMandriva.c
3177           src/backends/NetworkManagerPaldo.c
3178           src/backends/NetworkManagerRedHat.c
3179           src/backends/NetworkManagerSlackware.c
3180           src/backends/NetworkManagerSuSE.c
3181                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3182                    nm_system_flush_arp_cache): remove, unused
3183
3184         * src/backends/NetworkManagerGeneric.c
3185           src/backends/NetworkManagerGeneric.h
3186                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3187                    nm_generic_flush_arp_cache): remove, unused
3188
3189 2008-05-23  Dan Williams  <dcbw@redhat.com>
3190
3191         * system-settings/plugins/ifcfg-fedora/reader.c
3192                 - (make_ip4_setting): honor PEERDNS setting
3193
3194 2008-05-23  Dan Williams  <dcbw@redhat.com>
3195
3196         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3197
3198         * src/NetworkManagerSystem.c
3199                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3200                         libnl
3201
3202         * src/backends/NetworkManagerArch.c
3203           src/backends/NetworkManagerDebian.c
3204           src/backends/NetworkManagerFrugalware.c
3205           src/backends/NetworkManagerGentoo.c
3206           src/backends/NetworkManagerMandriva.c
3207           src/backends/NetworkManagerPaldo.c
3208           src/backends/NetworkManagerRedHat.c
3209           src/backends/NetworkManagerSlackware.c
3210           src/backends/NetworkManagerSuSE.c
3211                 - (nm_system_device_flush_ip4_addresses,
3212                    nm_system_device_flush_ip4_addresses_with_iface): remove
3213
3214         * src/backends/NetworkManagerGeneric.c
3215                 - (nm_generic_device_flush_ip4_addresses,
3216                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3217
3218 2008-05-23  Dan Williams  <dcbw@redhat.com>
3219
3220         * src/supplicant-manager/nm-supplicant-settings-verify.c
3221                 - Switch 'bssid' from bytes to keyword type
3222                 - (validate_type_keyword): allow NULL keyword lists
3223
3224         * src/supplicant-manager/nm-supplicant-config.c
3225                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3226                         a byte array to string form, which is what the supplicant expects
3227
3228 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3229
3230         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3231         information received from DHCP.
3232
3233         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3234         to make it possible to ignore the DNS information (both servers and 
3235         searches) returned by DHCP server.
3236
3237         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3238         name servers and searches if "ignore_dhcp_dns" is set.
3239
3240         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3241         (nm_ip4_config_reset_searches): Implement.
3242
3243 2008-05-22  Dan Williams  <dcbw@redhat.com>
3244
3245         Remove anything mDNS related.  This is better done from a distro-specific
3246         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3247         avahi, since avahi can handle interface changes just fine using netlink.
3248
3249         * configure.in
3250                 - Remove --with-mdns-provider
3251
3252         * src/NetworkManagerPolicy.c
3253                 - (global_state_changed): don't restart the mdns provider
3254
3255         * src/NetworkManagerSystem.h
3256           src/backends/NetworkManagerArch.c
3257           src/backends/NetworkManagerDebian.c
3258           src/backends/NetworkManagerFrugalware.c
3259           src/backends/NetworkManagerGentoo.c
3260           src/backends/NetworkManagerMandriva.c
3261           src/backends/NetworkManagerPaldo.c
3262           src/backends/NetworkManagerRedHat.c
3263           src/backends/NetworkManagerSlackware.c
3264           src/backends/NetworkManagerSuSE.c
3265                 - (nm_system_restart_mdns_responder): remove
3266
3267         * src/backends/NetworkManagerGeneric.c
3268           src/backends/NetworkManagerGeneric.h
3269                 - (nm_generic_restart_mdns_responder): remove
3270
3271 2008-05-22  Dan Williams  <dcbw@redhat.com>
3272
3273         * configure.in
3274                 - clean up crypto options; just use --with-crypto=nss or
3275                         --with-crypto=gnutls
3276
3277 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3278
3279         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3280         anymore, do it right away.
3281
3282 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3283
3284         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3285         serial device open when we're not connecting or connected.
3286
3287         * src/nm-cdma-device.c (device_state_changed): Ditto.
3288
3289 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3290
3291         Don't remove all devices on waking up, sync with HAL.
3292
3293         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3294         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3295         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3296
3297 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3298
3299         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3300         If the default gateway is unreachable, add a route to gateway and try
3301         again.
3302
3303 2008-05-20  Dan Williams  <dcbw@redhat.com>
3304
3305         * system-settings/plugins/ifcfg-fedora/reader.c
3306                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3307
3308 2008-05-19  Dan Williams  <dcbw@redhat.com>
3309
3310         * system-settings/plugins/ifcfg-fedora/reader.c
3311                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3312                         if the ifcfg doesn't specify one (rh #446527)
3313
3314 2008-05-19  Dan Williams  <dcbw@redhat.com>
3315
3316         Make the system settings service exit when the bus goes away.  Since it's
3317         a bus-activated service, it's lifetime is limited to the bus that activated
3318         it (rh #444976).
3319
3320         * system-settings/src/Makefile.am
3321           system-settings/src/nm-system-config-hal-manager-private.h
3322                 - Remove nm-system-config-hal-manager-private.h
3323
3324         * system-settings/src/nm-system-config-hal-manager.c
3325                 - (nm_system_config_hal_manager_reinit_dbus,
3326                    nm_system_config_hal_manager_deinit_dbus): remove
3327
3328         * system-settings/src/main.c
3329                 - (dbus_reconnect): remove
3330                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3331                 - (destroy_cb): just quit when the bus goes away
3332                 - (start_dbus_service, dbus_init): simplify
3333                 - (main): destroy the wired devices hash table after destroying
3334                         the HAL manager so we don't have to disconnect signals from the
3335                         HAL manager
3336
3337 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3338
3339         Move crypto functions from nm-applet to libnm-util.
3340
3341         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3342         (nm_setting_802_1x_set_client_cert)
3343         (nm_setting_802_1x_set_phase2_ca_cert)
3344         (nm_setting_802_1x_set_phase2_client_cert)
3345         (nm_setting_802_1x_set_private_key)
3346         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3347         file (or private key and it's password), read the certificate data.
3348
3349         * libnm-util/crypto_nss.c: 
3350         * libnm-util/crypto_gnutls.c: 
3351         * libnm-util/crypto.[ch]: Move here from nm-applet.
3352
3353         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3354
3355         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3356         Imlement WPA-EAP configuration reading from sysconfig.
3357
3358 2008-05-16  Dan Williams  <dcbw@redhat.com>
3359
3360         * src/nm-device-802-11-wireless.c
3361                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3362                         wireless
3363
3364 2008-05-14  Dan Williams  <dcbw@redhat.com>
3365
3366         Fix Linus' bug in rh #134886
3367
3368         * src/nm-device-802-3-ethernet.c
3369                 - (constructor): request initial carrier state
3370
3371         * src/nm-netlink-monitor.c
3372                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3373                         signals after refilling the link cache.  Because the refill is a 
3374                         synchronous operation, the normal message hander won't get called
3375                         since libnl has already consumed the messages.
3376                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3377
3378 2008-05-14  Dan Williams  <dcbw@redhat.com>
3379
3380         * src/NetworkManagerSystem.c
3381                 - (nm_system_device_is_up_with_iface): clean up
3382
3383 2008-05-13  Dan Williams  <dcbw@redhat.com>
3384
3385         Fix refcounting issues over sleep/wake when a VPN connection was active that
3386         caused NM to try registering an object path for a device upon wake that was
3387         the same as an already registered object path.
3388
3389         * src/nm-device.c
3390                 - (nm_device_take_down): properly handle cases where the device is
3391                         no longer active but was just active, and therefore must be
3392                         deactivated.  When a device moves to unmanaged mode, this function
3393                         previously would not deactivate the device, because the state was
3394                         already unmanaged by the time this function was called.
3395
3396         * src/vpn-manager/nm-vpn-connection.c
3397                 - (device_state_changed): properly handle multiple devices states in
3398                         which the device is now deactivated.  Code previously didn't handle
3399                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3400                         UNMANAGED states.
3401
3402 2008-05-13  Dan Williams  <dcbw@redhat.com>
3403
3404         * src/nm-device-private.h
3405           src/nm-device.c
3406                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3407
3408         * src/nm-device-802-11-wireless.c
3409                 - (nm_device_802_11_wireless_set_enabled): take devices up
3410                         and down as appropriate for the rfkill state
3411
3412 2008-05-13  Dan Williams  <dcbw@redhat.com>
3413
3414         * marshallers/nm-marshal.list
3415                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3416
3417         * system-settings/plugins/ifcfg-fedora/Makefile.am
3418           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3419           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3420                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3421                         events.  Solely for use watching ifcfg files to pick up changes
3422                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3423
3424         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3425                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3426                         file contents change
3427                 - (finalize): clean up inotify watches
3428                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3429                         and the connection ifcfg for changes on their hardlinks
3430                 - (files_changed_cb): proxy the changed signal back out to listeners
3431
3432         * system-settings/plugins/ifcfg-fedora/plugin.c
3433                 - (dir_changed): 
3434                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3435                         changes
3436                 - (read_one_connection): connect to change signals on the new connection
3437                 - (dir_changed, connection_changed_handler,
3438                    handle_connection_remove_or_new): break out connection change
3439                         handling and connection new/remove handling so it can be used from
3440                         both the GFileMonitor callback and the NMIfcfgConnection changed
3441                         signals
3442
3443         * system-settings/plugins/ifcfg-fedora/reader.c
3444           system-settings/plugins/ifcfg-fedora/reader.h
3445                 - (connection_from_file): return the keyfile path the connection would use
3446
3447 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3448
3449         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3450         single PolKitContext which is shared by all. PolKitContext::unref leaks
3451         just about everything, including all open file descriptiors and results
3452         in 99% cpu usage when data arrives to any of the fds that don't belong
3453         to any context anymore.
3454
3455 2008-05-12  Dan Williams  <dcbw@redhat.com>
3456
3457         * gfilemonitor/glocaldirectorymonitor.c
3458           gfilemonitor/glocaldirectorymonitor.h
3459                 - (g_local_directory_monitor_constructor): actually subscribe to the
3460                         watch
3461                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3462
3463         * gfilemonitor/glocalfilemonitor.c
3464           gfilemonitor/glocalfilemonitor.h
3465                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3466                 - (_g_local_file_monitor_new): ensure that inotify is started up
3467
3468 2008-05-11  Dan Williams  <dcbw@redhat.com>
3469
3470         * configure.in
3471                 - record PolicyKit version
3472
3473         * system-settings/src/nm-polkit-helpers.c
3474                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3475                         with PolicyKit <= 0.6
3476
3477 2008-05-11  Dan Williams  <dcbw@redhat.com>
3478
3479         Update Fedora system-settings plugin to support latest API and use
3480         GFileMonitor rather than home-rolled inotify code.
3481
3482         * system-settings/plugins/ifcfg-fedora/Makefile.am
3483           system-settings/plugins/ifcfg-fedora/common.h
3484           system-settings/plugins/ifcfg-fedora/plugin.c
3485                 - Update to latest system settings plugin API; use GIO instead of
3486                         custom inotify code; use NMIfcfgConnection objects instead of
3487                         ConnectionData structures tacked onto NMConnection objects
3488
3489         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3490           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3491                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3492                         connections
3493
3494         * system-settings/plugins/ifcfg-fedora/reader.c
3495           system-settings/plugins/ifcfg-fedora/reader.h
3496                 - Move ifcfg parsing bits here from parser.c
3497
3498         * system-settings/plugins/ifcfg-fedora/parser.c
3499           system-settings/plugins/ifcfg-fedora/parser.h
3500                 - Remove; most code moved to reader.c
3501
3502 2008-05-11  Dan Williams  <dcbw@redhat.com>
3503
3504         * configure.in
3505           Makefile.am
3506           gfilemonitor/*
3507                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3508                         implementation, so that the same change monitoring code can be used
3509                         on systems without glib-2.14 (like Fedora 8)
3510
3511         * system-settings/plugins/keyfile/Makefile.am
3512           system-settings/plugins/keyfile/plugin.c
3513           system-settings/plugins/ifcfg-suse/Makefile.am
3514           system-settings/plugins/ifcfg-suse/plugin.c
3515                 - Use private gfilemonitor code if GIO is not present
3516
3517 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3518
3519         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3520         NMExportedConnection's 'update' and 'delete' and return error with
3521         descriptive message.
3522
3523 2008-05-08  Dan Williams  <dcbw@redhat.com>
3524
3525         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3526
3527         * src/nm-gsm-device.c
3528           src/nm-cdma-device.c
3529                 - (real_get_best_auto_connection): implement; allow autoconnection
3530                         to GSM & CDMA devices
3531
3532 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3533
3534         Use PolicyKit to authorize the system settings' AddConnection method
3535         and the system settings connections' Update and Delete methods.
3536         
3537         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3538         (impl_exported_connection_delete, nm_exported_connection_update)
3539         (nm_exported_connection_delete): Return boolean and fill GError
3540         to notify the callers of the reasons why it might have failed.
3541
3542         * libnm-glib/nm-dbus-settings-system.c
3543         (nm_dbus_settings_system_add_connection): Return the error from dbus
3544         call so that the callers can see why it failed.
3545
3546         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3547         signatures.
3548
3549         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3550
3551         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3552         abstract base class that checks PolicyKit permissions.
3553
3554         * system-settings/src/dbus-settings.c:
3555         (impl_settings_add_connection): Check the policy before carring out
3556         the request.
3557
3558         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3559         Inherit from NMSysconfigConnection, check the policies before
3560         allowing updating or removing.
3561
3562         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3563         Inherit from NMSysconfigConnection.
3564
3565         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3566         "Delete" methods with async flag so that the implementations can get
3567         access to DBusGMethodInvocation.
3568
3569         * system-settings/src/dbus-settings.c 
3570         (settings_add_connection_check_privileges): Implement.
3571         (impl_settings_add_connection): Check the privileges before adding a new
3572         connection. Improve error reporting.
3573
3574         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3575         async so that the implementation can access DBusGMethodInvocation.
3576
3577         * configure.in: Check for PolicyKit.
3578
3579         * policy/org.freedesktop.network-manager-settings.system.policy: 
3580         New file.
3581
3582         * policy/Makefile.am: Install the policy file.
3583
3584         * configure.in: Add 'policy' subdir.
3585
3586 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3587
3588         Rewrite the suse system settings plugin.
3589
3590         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3591
3592         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3593
3594         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3595
3596         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3597
3598         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3599
3600         * system-settings/src/main.c (load_plugins): Improve error reporting.
3601
3602         * system-settings/src/sha1.[ch] Add.
3603
3604         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3605
3606 2008-05-07  Dan Williams  <dcbw@redhat.com>
3607
3608         * system-settings/plugins/keyfile/reader.c
3609                 - (read_one_setting_value): handle IP address items separately
3610                 - (read_array_of_uint): read IPv4 DNS option as a string array
3611                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3612                         array
3613
3614         * system-settings/plugins/keyfile/writer.c
3615                 - (write_setting_value): handle IP address items separately
3616                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3617                         not an array of uint, so that it's user-editable
3618                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3619                         arrays, so they are user-editable
3620
3621 2008-05-07  Dan Williams  <dcbw@redhat.com>
3622
3623         * system-settings/plugins/keyfile/Makefile.am
3624                 - Change location of the keyfile plugin settings to
3625                         /etc/NetworkManager/system-connections
3626
3627 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3628
3629         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3630
3631         * system-settings/plugins/keyfile/plugin.c: Work with
3632         NMKeyfileConnections.
3633
3634         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3635         Plugins are supposed to return NMExportedConnections now and handle the
3636         updated(), removed(), and GetSecrets().
3637         Store the internal list of connections in hash table to make it easier
3638         to find duplicates.
3639
3640 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3641
3642         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3643         for multiple IP addresses.
3644
3645 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3646
3647         Patch from André Lemos.
3648
3649         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3650         corruption.
3651
3652 2008-05-06  Dan Williams  <dcbw@redhat.com>
3653
3654         * src/dhcp-manager/nm-dhcp-manager.c
3655                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3656                         NMIP4Config to support multiple IP addresses
3657
3658         * src/NetworkManagerUtils.c
3659                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3660
3661         * src/nm-ip4-config.c
3662           src/nm-ip4-config.h
3663                 - Store a list of IPv4 address/netmask/gateway tuples
3664                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3665                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3666                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3667                    nm_ip4_config_set_address): remove
3668                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3669                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3670                         new functions; handle multiple IPv4 addresses
3671
3672         * src/nm-device.c
3673           src/ppp-manager/nm-ppp-manager.c
3674           src/vpn-manager/nm-vpn-connection.c
3675           src/NetworkManagerPolicy.c
3676           test/nm-tool.c
3677           libnm-glib/libnm-glib-test.c
3678                 - update for changes to NMIP4Config for multiple IPv4 addresses
3679
3680         * src/NetworkManagerSystem.c
3681                 - (nm_system_device_set_ip4_route): don't add the route if any address
3682                         is on the same subnet as the destination
3683                 - (check_one_address): ignore the exact match, just match family and
3684                         interface index
3685                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3686                         an interface
3687                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3688                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3689
3690         * introspection/nm-ip4-config.xml
3691                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3692                 - Add 'addresses' property which is an array of (uuu) tuples of
3693                         address/netmask/gateway
3694
3695         * libnm-util/nm-setting-ip4-config.c
3696                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3697
3698         * libnm-glib/nm-ip4-config.c
3699           libnm-glib/nm-ip4-config.h
3700                 - Handle D-Bus interface changes to support multiple IP addresses
3701
3702 2008-05-06  Dan Williams  <dcbw@redhat.com>
3703
3704         * libnm-util/nm-utils.c
3705           libnm-util/nm-utils.h
3706                 - (nm_utils_ip4_addresses_from_gvalue,
3707                    nm_utils_ip4_addresses_to_gvalue): new functions
3708
3709 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3710
3711         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3712         the returned connection paths.
3713
3714 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3715
3716         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3717         "PropertiesChanged" signal signature.
3718
3719         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3720         defined in nm-dbus-glib-types.h.
3721         Don't register the connection on dbus, we're a proxy class to 
3722         communicate with an already registered connection over dbus.
3723
3724 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3725
3726         Implement new subclasses of NMSettings and NMExportedConnection to make
3727         it easier for the applet to access and modify system settings.
3728
3729         * libnm-glib/nm-dbus-connection.[ch]:
3730         * libnm-glib/nm-dbus-settings.[ch]:
3731         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3732
3733         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3734         bindings and glue.
3735
3736         * include/NetworkManager.h: Define the system settings DBus interface.
3737
3738 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3739
3740         Implement additional C API for exported connections to make them identical
3741         with the DBus API. Change the (list_connections) virtual function to be
3742         more usable from C - instead of requiring implementers to return a GPtrArray
3743         of dbus paths, return a list of connections.
3744
3745         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3746         (nm_settings_list_connections):
3747         (nm_exported_connection_new):
3748         (nm_exported_connection_update):
3749         (nm_exported_connection_delete): Implement.
3750
3751         (impl_settings_list_connections):
3752         (impl_exported_connection_update):
3753         (impl_exported_connection_delete): Use the new public functions to make 
3754         sure the C and dbus interfaces stay in sync.
3755
3756         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3757         connections.
3758
3759 2008-05-02  Dan Williams  <dcbw@redhat.com>
3760
3761         * system-settings/plugins/ifcfg-fedora/plugin.c
3762                 - (dispose): use right unref call on the DBusGConnection
3763
3764 2008-05-02  Dan Williams  <dcbw@redhat.com>
3765
3766         * src/nm-serial-device.c
3767                 - (find_terminator): don't compare the whole line, just the size of the
3768                         terminator, since some modems put stuff after the terminator, like
3769                         "CONNECT 9600"
3770
3771 2008-05-01  Dan Williams  <dcbw@redhat.com>
3772
3773         Patch from Michael Biebl <biebl@debian.org>
3774
3775         * callouts/Makefile.am
3776           callouts/org.freedesktop.nm_dispatcher.service.in
3777           system-settings/src/Makefile.am
3778           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3779                 - use the right install location for dbus-activated stuff
3780
3781 2008-04-30  Dan Williams  <dcbw@redhat.com>
3782
3783         * src/nm-gsm-device.c
3784                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3785                         PIN or PUK
3786
3787 2008-04-30  Dan Williams  <dcbw@redhat.com>
3788
3789         * src/nm-manager.c
3790                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3791
3792 2008-04-30  Dan Williams  <dcbw@redhat.com>
3793
3794         * src/nm-device-802-3-ethernet.c
3795           src/nm-device-802-11-wireless.c
3796                 - (real_is_up): return true instead of chaining up to unimplemented
3797                         parent method
3798
3799 2008-04-30  Dan Williams  <dcbw@redhat.com>
3800
3801         * src/NetworkManagerSystem.c
3802           src/NetworkManagerSystem.h
3803                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3804                         functions to check device flags for IFF_UP
3805
3806         * src/nm-serial-device.c
3807                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3808                         implement is_up
3809
3810         * src/nm-device-802-3-ethernet.c
3811           src/nm-device-802-11-wireless.c
3812                 - (real_hw_is_up): call nm_system_device_is_up()
3813
3814         * src/nm-device.c
3815                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3816                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3817                         does not implement
3818
3819 2008-04-29  Dan Williams  <dcbw@redhat.com>
3820
3821         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3822
3823         * marshallers/nm-marshal.list
3824                 - Add marshaller
3825
3826         * src/NetworkManager.c
3827                 - (main): let the NMManager handle the NMHalManager
3828
3829         * src/nm-hal-manager.c
3830           src/nm-hal-manager.h
3831                 - convert to a GObject, and emit singals when stuff changes.  Let the
3832                         NMManager handle the signals, instead of the NMHalManager calling
3833                         into the NMManager.  
3834
3835         * src/nm-manager.c
3836           src/nm-manager.h
3837                 - (remove_one_device): consolidate device removals here
3838                 - (dispose): use remove_one_device()
3839                 - (nm_manager_get_device_by_udi): make static
3840                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3841                         manager for devices at startup or wakeup time
3842                 - (nm_manager_new): create and monitor the HAL manager
3843                 - (hal_manager_udi_added_cb): new function; do what
3844                         nm_manager_add_device() used to do when signalled by the hal manager
3845                 - (hal_manager_udi_removed_cb): new function; do what
3846                         nm_manager_remove_device() used to do when signalled by the hal
3847                         manager
3848                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3849                         hal manager
3850                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3851                         in our device list that aren't known to HAL
3852                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3853                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3854                         commits ago
3855                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3856                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3857                    nm_manager_wireless_hardware_enabled,
3858                    nm_manager_set_wireless_hardware_enabled): remove, unused
3859
3860 2008-04-28  Dan Williams  <dcbw@redhat.com>
3861
3862         Fix the device up/down ambiguities.  Up/down state used to be a
3863         conglomeration of hardware state (IFF_UP) and any device-specific things
3864         (supplicant, periodic timers, etc) that the device used to indicate
3865         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3866         reason, then the device specific stuff wouldn't get run, and the device
3867         would be stuck.
3868
3869         * src/nm-device.c
3870           src/nm-device.h
3871                 - Create hw_is_up, hw_bring_up, and hw_take_down
3872                 - Rename bring_down -> take_down
3873                 - (real_hw_is_up): check interface flags for IFF_UP
3874                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3875                 - (nm_device_is_up): make static; only used locally
3876                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3877                         if the device is already up; if the device isn't up, bring it up
3878                 - (nm_device_hw_take_down): just take down hardware
3879                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3880                 - (nm_device_take_down): always deactivate device when called; always
3881                         try to take hardware down too
3882                 - (nm_device_state_changed): take device down when entering unmanaged
3883                         state from a higher state
3884
3885         * src/nm-device-802-11-wireless.c
3886                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3887                         check IFF_UP really
3888                 - (real_take_down, supplicant_iface_state_cb_handler, 
3889                    supplicant_iface_connection_state_cb_handler,
3890                    supplicant_mgr_state_cb_handler): fix some messages
3891
3892         * src/nm-device-802-3-ethernet.c
3893                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3894                         check IFF_UP really
3895
3896 2008-04-28  Dan Williams  <dcbw@redhat.com>
3897
3898         * src/nm-manager.c
3899           src/nm-manager.h
3900                 - (nm_manager_error_get_type): add new error
3901                 - (nm_manager_remove_device): don't bother taking down the device here,
3902                         the state change from unmanaging the device will do it
3903                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3904                         uses it; when going to sleep, just unmanage the device instead of
3905                         taking it down, because stuff will cleaned up correctly when the
3906                         device gets unmanaged
3907
3908 2008-04-28  Dan Williams  <dcbw@redhat.com>
3909
3910         * src/nm-hal-manager.c
3911                 - (add_initial_devices): convert to a GSourceFunc prototype
3912                 - (nm_manager_state_changed): when coming out of sleep, punt the
3913                         device re-addition to an idle handler to let D-Bus events go out
3914                         first, fixing a potential dbus-glib assert if the old device was
3915                         not yet disposed (due to references held while emitting the D-Bus
3916                         signals) but the new device was found, because the mainloop didn't
3917                         run between signal emission and add_initial_devices()
3918
3919 2008-04-27  Dan Williams  <dcbw@redhat.com>
3920
3921         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3922
3923         * initscript/paldo/NetworkManager.in
3924           initscript/SUSE/networkmanager.in
3925                 - Remove last bits of dhcdbd
3926
3927 2008-04-27  Dan Williams  <dcbw@redhat.com>
3928
3929         * src/nm-device-802-11-wireless.c
3930                 - (link_timeout_cb): don't ask for secrets when disconnected during
3931                         association/authentication phase, drivers are still just too crappy
3932
3933 2008-04-27  Dan Williams  <dcbw@redhat.com>
3934
3935         * Makefile.am
3936           configure.in
3937           dispatcher-daemon/Makefile.am
3938           dispatcher-daemon/NetworkManagerDispatcher.c
3939           initscript/Arch/Makefile.am
3940           initscript/Arch/networkmanager-dispatcher.in
3941           initscript/Gentoo/Makefile.am
3942           initscript/Gentoo/NetworkManagerDispatcher.in
3943           initscript/Mandriva/Makefile.am
3944           initscript/Mandriva/networkmanagerdispatcher.in
3945           initscript/RedHat/Makefile.am
3946           initscript/RedHat/NetworkManagerDispatcher.in
3947           initscript/SUSE/Makefile.am
3948           initscript/SUSE/networkmanager-dispatcher.in
3949           initscript/Slackware/Makefile.am
3950           initscript/Slackware/rc.networkmanager-dispatcher.in
3951           initscript/paldo/Makefile.am
3952           initscript/paldo/NetworkManagerDispatcher.in
3953           man/Makefile.am
3954           man/NetworkManagerDispatcher.8.in
3955                 - Remove the dispatcher daemon
3956
3957 2008-04-27  Dan Williams  <dcbw@redhat.com>
3958
3959         * callouts/Makefile.am
3960           callouts/nm-dispatcher-action.c
3961           callouts/nm-dispatcher-action.h
3962           callouts/nm-dispatcher.conf
3963           callouts/nm-dispatcher.xml
3964           callouts/org.freedesktop.nm_dispatcher.service
3965                 - Re-implement the dispatcher as a system-bus activated service that
3966                         NM calls on-demand, rather than an always running daemon
3967
3968         * src/Makefile.am
3969                 - Add callouts dir to includes to pick up dispatcher defines
3970
3971         * src/nm-device.c
3972                 - (nm_device_state_changed): call dispatcher on device activated/
3973                         deactivated
3974
3975         * src/vpn-manager/nm-vpn-connection.c
3976                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3977                         go up and down
3978
3979         * src/NetworkManagerUtils.c
3980           src/NetworkManagerUtils.h
3981                 - (nm_utils_call_dispatcher): helper to call dispatcher
3982
3983 2008-04-27  Dan Williams  <dcbw@redhat.com>
3984
3985         * src/NetworkManagerUtils.c
3986           src/NetworkManagerUtils.h
3987                 - remove unneeded includes
3988                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3989                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3990                    nm_timeval_cmp, nm_timeval_add): remove, unused
3991                 - clean up formatting
3992                 - (nm_spawn_process): de-uglify
3993
3994         * src/nm-device-802-11-wireless.c
3995                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3996
3997 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3998
3999         * initscript/Gentoo/NetworkManager.in:
4000                 Fix for starting the daemon.
4001
4002 2008-04-25  Dan Williams  <dcbw@redhat.com>
4003
4004         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4005
4006         * src/NetworkManagerSystem.c
4007                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4008
4009 2008-04-25  Dan Williams  <dcbw@redhat.com>
4010
4011         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4012
4013         * src/NetworkManagerSystem.c
4014                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4015                         implementation of nm_system_device_replace_default_route()
4016
4017         * src/NetworkManagerPolicy.c
4018                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4019
4020         * src/backends/NetworkManagerArch.c
4021           src/backends/NetworkManagerDebian.c
4022           src/backends/NetworkManagerFrugalware.c
4023           src/backends/NetworkManagerGeneric.c
4024           src/backends/NetworkManagerGeneric.h
4025           src/backends/NetworkManagerGentoo.c
4026           src/backends/NetworkManagerMandriva.c
4027           src/backends/NetworkManagerPaldo.c
4028           src/backends/NetworkManagerRedHat.c
4029           src/backends/NetworkManagerSlackware.c
4030           src/backends/NetworkManagerSuSE.c
4031                 - (nm_system_device_replace_default_route): remove
4032
4033 2008-04-25  Dan Williams  <dcbw@redhat.com>
4034
4035         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4036
4037         * src/NetworkManagerSystem.c
4038                 - (validate_ip4_route): remove; use nl_addr_parse() instead
4039                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4040                         replace nm_system_device_add_route_via_device_with_iface() in the
4041                         backends
4042
4043         * src/backends/NetworkManagerArch.c
4044           src/backends/NetworkManagerDebian.c
4045           src/backends/NetworkManagerFrugalware.c
4046           src/backends/NetworkManagerGeneric.c
4047           src/backends/NetworkManagerGeneric.h
4048           src/backends/NetworkManagerGentoo.c
4049           src/backends/NetworkManagerMandriva.c
4050           src/backends/NetworkManagerPaldo.c
4051           src/backends/NetworkManagerRedHat.c
4052           src/backends/NetworkManagerSlackware.c
4053           src/backends/NetworkManagerSuSE.c
4054                 - Remove nm_system_device_add_route_via_device_with_iface()
4055
4056 2008-04-25  Dan Williams  <dcbw@redhat.com>
4057
4058         * system-settings/plugins/ifcfg-fedora/parser.c
4059                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4060
4061 2008-04-24  Dan Williams  <dcbw@redhat.com>
4062
4063         * dispatcher-daemon/NetworkManagerDispatcher.c
4064                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4065
4066 2008-04-24  Dan Williams  <dcbw@redhat.com>
4067
4068         * initscript/RedHat/NetworkManager.in
4069           initscript/RedHat/NetworkManagerDispatcher.in
4070                 - Be active at runlevel 2
4071                 - Adjust priorities earlier
4072
4073 2008-04-22  Dan Williams  <dcbw@redhat.com>
4074
4075         * src/NetworkManagerPolicy.c
4076                 - (update_routing_and_dns): when checking for a gateway, look at the
4077                         composite IP4 config, not the connection's ip4-config setting, which
4078                         doesn't include DHCP-returned information
4079
4080 2008-04-22  Tambet Ingo  <tambet@gmail.com>
4081
4082         Implement GKeyFile system settings plugin.
4083         Implement writing system settings (currently supported only by GKeyFile plugin).
4084
4085         * system-settings/src/main.c: 
4086         * system-settings/src/dbus-settings.c: Move the communication with plugins
4087         from main.c to dbus-settings.c. Makes it possible to talk to all registered
4088         plugins for adding/updating/removing connections.
4089
4090         * system-settings/src/nm-system-config-interface.c
4091         (nm_system_config_interface_add_connection): Implement
4092         (nm_system_config_interface_update_connection): Implement.
4093         (nm_system_config_interface_remove_connection): Implement.
4094
4095         * system-settings/plugins/keyfile/Makefile.am:
4096         * system-settings/plugins/keyfile/plugin.[ch]:
4097         * system-settings/plugins/keyfile/writer.[ch]:
4098         * system-settings/plugins/keyfile/reader.[ch]: Implement.
4099
4100         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4101
4102         * configure.in: Generate GKeyFile Makefile.
4103
4104         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4105         corruption, need to duplicate the returned string.
4106         (impl_exported_connection_update): Implement.
4107         (impl_exported_connection_delete): Implement.
4108
4109         * introspection/nm-settings-system.xml: Add "AddConnection" method.
4110
4111         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4112
4113 2008-04-22  Dan Williams  <dcbw@redhat.com>
4114
4115         Patch from Charles R. Anderson (cra@wpi.edu)
4116
4117         * src/NetworkManagerPolicy.c
4118                 - (update_routing_and_dns): don't select devices without a gateway
4119                         as having the default route (rh #437338)
4120
4121 2008-04-21  Dan Williams  <dcbw@redhat.com>
4122
4123         * src/nm-activation-request.c
4124           src/nm-activation-request.h
4125                 - (dispose): ensure to disconnect from the device's state-changed signal
4126                         when appropriate so the signal doesn't get handled by an already
4127                         disposed NMActRequest
4128                 - (device_state_changed): update is_default here too just to make sure
4129                         default is only True when the child device is activated
4130                 - (nm_act_request_set_default): new function
4131
4132         * src/NetworkManagerPolicy.c
4133                 - (update_routing_and_dns): set 'default' on the active connection which
4134                         has the default route and DNS
4135
4136 2008-04-21  Dan Williams  <dcbw@redhat.com>
4137
4138         * src/NetworkManagerPolicy.c
4139                 - (device_state_changed): update routing and DNS when a device goes
4140                         into unmanaged or unavailable states too (like rfkill or carrier loss)
4141
4142 2008-04-21  Dan Williams  <dcbw@redhat.com>
4143
4144         * include/NetworkManager.h
4145                 - Add NMActiveConnectionState enum
4146
4147         * introspection/nm-active-connection.xml
4148           introspection/nm-vpn-connection.xml
4149                 - Add 'State' property for overall active connection state
4150                 - Add 'Default' property, when True means this active connection
4151                         has the default route
4152                 - Add PropertyChanged signals so changes actually go out over the bus
4153
4154         * src/nm-active-connection.h
4155                 - Add defines for State & Default properties
4156
4157         * src/nm-activation-request.c
4158                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4159                         signal to determine active connection state
4160
4161         * src/vpn-manager/nm-vpn-connection.c
4162           src/vpn-manager/nm-vpn-connection.h
4163           src/vpn-manager/nm-vpn-manager.c
4164           src/vpn-manager/nm-vpn-service.c
4165                 - Rename old 'state' to 'vpn-state'
4166                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4167                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4168                         'vpn-state-changed' signal
4169
4170         * libnm-glib/nm-active-connection.c
4171           libnm-glib/nm-active-connection.h
4172                 - Add new 'state' and 'default' properties and accessors
4173
4174         * libnm-glib/nm-vpn-connection.c
4175           libnm-glib/nm-vpn-connection.h
4176                 - Rename old 'state' property to 'vpn-state'
4177                 - Add new 'state' and 'default' properties and accessors
4178
4179 2008-04-21  Dan Williams  <dcbw@redhat.com>
4180
4181         * src/nm-ip4-config.c
4182                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4183                         not specified (rh #443474)
4184
4185 2008-04-20  Dan Williams  <dcbw@redhat.com>
4186
4187         * src/NetworkManagerUtils.c
4188           src/NetworkManagerUtils.h
4189                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4190                         NMSettingIP4Config to an NMIP4Config object
4191
4192         * src/nm-device.c
4193                 - (merge_ip4_config): move to NetworkManagerUtils.c
4194
4195         * src/vpn-manager/nm-vpn-connection.c
4196                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4197                         too
4198
4199 2008-04-18  Dan Williams  <dcbw@redhat.com>
4200
4201         * libnm-util/nm-setting-ppp.c
4202           libnm-util/nm-setting-ppp.h
4203                 - Add 'no-vj-comp' option for TCP header compression
4204                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4205                         uint32
4206
4207 2008-04-18  Dan Williams  <dcbw@redhat.com>
4208
4209         * libnm-util/nm-setting-ppp.c
4210           libnm-util/nm-setting-ppp.h
4211           src/ppp-manager/nm-ppp-manager.c
4212                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4213
4214 2008-04-18  Dan Williams  <dcbw@redhat.com>
4215
4216         * libnm-util/nm-setting-ppp.c
4217           libnm-util/nm-setting-ppp.h
4218           src/ppp-manager/nm-ppp-manager.c
4219                 - Remove the 'usepeerdns' option and always request DNS servers from
4220                         the PPP server; the connection chooses to use/override/ignore the
4221                         DNS servers returned from the PPP server
4222
4223 2008-04-18  Dan Williams  <dcbw@redhat.com>
4224
4225         * libnm-util/nm-setting-ppp.c
4226           libnm-util/nm-setting-ppp.h
4227           src/ppp-manager/nm-ppp-manager.c
4228                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4229                         it seems to have been an erroneous addition to the PPTP plugin in
4230                         the first place (from which the ppp-manager is derived)
4231
4232 2008-04-17  Dan Williams  <dcbw@redhat.com>
4233
4234         * libnm-util/nm-setting-pppoe.c
4235                 - (verify): require a PPP setting too
4236
4237         * src/ppp-manager/nm-ppp-manager.c
4238                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4239                         segfaulting
4240
4241 2008-04-17  Dan Williams  <dcbw@redhat.com>
4242
4243         * src/nm-device.c
4244                 - (nm_device_state_changed): do deactivation and and promotion to
4245                         unavailable here, so that the device gets cleaned up before the
4246                         manager runs and starts emitting signals; do the
4247                         FAILED->DISCONNECTED transition from an idle handler rather than
4248                         immediately to guard against recursion
4249                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4250                         FAILED->DISCONNECTED handler if it's scheduled
4251
4252 2008-04-17  Dan Williams  <dcbw@redhat.com>
4253
4254         * src/nm-device-802-11-wireless.c
4255                 - (state_changed_cb): clear AP list when device transitions to
4256                         unavailable or unmanaged
4257                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4258                         since this is already done in device_cleanup()
4259                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4260                         isn't available or managed
4261                 - (device_cleanup): use remove_all_aps()
4262                 - (remove_all_aps): consolidate code removing all APs
4263
4264 2008-04-17  Dan Williams  <dcbw@redhat.com>
4265
4266         * src/nm-serial-device.c
4267           src/nm-serial-device.h
4268                 - (wait_for_reply_got_data): break input into lines, and search each
4269                         line for responses _and_ terminator strings; also make sure that
4270                         the read loop doesn't continue after the timeout is supposed to fire
4271                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4272
4273         * src/nm-gsm-device.c
4274           src/nm-cdma-device.c
4275                 - Send terminators to nm_serial_device_wait_for_reply()
4276
4277 2008-04-16  Dan Williams  <dcbw@redhat.com>
4278
4279         Patch from 陈鑫 <znscnchen@gmail.com>
4280
4281         * src/ppp-manager/nm-pppd-plugin.c
4282                 - (get_credentials): return correct value for success; handle case where
4283                         pppd just does some checking but doesn't want a password
4284                 - (plugin_init): make CHAP work too
4285
4286 2008-04-16  Dan Williams  <dcbw@redhat.com>
4287
4288         Patch from 陈鑫 <znscnchen@gmail.com>
4289
4290         * src/ppp-manager/nm-ppp-manager.c
4291                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4292
4293 2008-04-16  Dan Williams  <dcbw@redhat.com>
4294
4295         Patch from 陈鑫 <znscnchen@gmail.com>
4296
4297         * src/nm-device-802-3-ethernet.c
4298                 - (real_deactivate_quickly): clear the IP interface name on
4299                         deactivation, otherwise the wrong interface might get used later
4300                         for routing and IP management
4301
4302 2008-04-15  Dan Williams  <dcbw@redhat.com>
4303
4304         * libnm-glib/nm-device.c
4305                 - (get_product_and_vendor): handle serial devices correctly
4306                 - (nm_device_update_description): pass device to get_product_and_vendor()
4307
4308 2008-04-15  Dan Williams  <dcbw@redhat.com>
4309
4310         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4311
4312         * src/NetworkManagerSystem.h
4313           src/backends/NetworkManagerArch.c
4314           src/backends/NetworkManagerDebian.c
4315           src/backends/NetworkManagerFrugalware.c
4316           src/backends/NetworkManagerGeneric.c
4317           src/backends/NetworkManagerGeneric.h
4318           src/backends/NetworkManagerGentoo.c
4319           src/backends/NetworkManagerMandriva.c
4320           src/backends/NetworkManagerPaldo.c
4321           src/backends/NetworkManagerRedHat.c
4322           src/backends/NetworkManagerSlackware.c
4323           src/backends/NetworkManagerSuSE.c
4324           src/nm-device.c
4325                 - (nm_generic_device_add_ip6_link_address,
4326                    nm_system_device_add_ip6_link_address): remove
4327
4328 2008-04-15  Dan Williams  <dcbw@redhat.com>
4329
4330         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4331
4332         * src/backends/NetworkManagerArch.c
4333           src/backends/NetworkManagerDebian.c
4334           src/backends/NetworkManagerFrugalware.c
4335           src/backends/NetworkManagerGeneric.c
4336           src/backends/NetworkManagerGeneric.h
4337           src/backends/NetworkManagerGentoo.c
4338           src/backends/NetworkManagerMandriva.c
4339           src/backends/NetworkManagerPaldo.c
4340           src/backends/NetworkManagerRedHat.c
4341           src/backends/NetworkManagerSlackware.c
4342           src/backends/NetworkManagerSuSE.c
4343           src/NetworkManagerSystem.h
4344                 - flush_routes -> flush_ip4_routes
4345                 - flush_addresses -> flush_ip4_addresses
4346
4347         * src/NetworkManagerSystem.c
4348           src/nm-device.c
4349           src/vpn-manager/nm-vpn-connection.c
4350                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4351
4352 2008-04-15  Dan Williams  <dcbw@redhat.com>
4353
4354         Remove exposure of wireless-tools mode types in the API.
4355
4356         * include/NetworkManager.h
4357                 - Define NM80211Mode enum
4358
4359         * introspection/generic-types.xml
4360                 - Describe NM_802_11_MODE enum
4361                 - Remove IW_MODE_* enum
4362
4363         * introspection/nm-access-point.xml
4364           libnm-glib/nm-access-point.c
4365           libnm-glib/nm-access-point.h
4366                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4367
4368         * introspection/nm-device-802-11-wireless.xml
4369           libnm-glib/nm-device-802-11-wireless.c
4370           libnm-glib/nm-device-802-11-wireless.h
4371                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4372
4373         * libnm-util/nm-setting-wireless.c
4374           src/NetworkManagerAP.c
4375           src/NetworkManagerAP.h
4376           src/nm-device-802-11-wireless.c
4377           src/nm-device-802-11-wireless.h
4378           test/nm-tool.c
4379                 - Use NM80211Mode not IW_MODE_*
4380
4381 2008-04-15  Dan Williams  <dcbw@redhat.com>
4382
4383         Enhance nm-online based on a patch from Bill Nottingham.
4384
4385         * test/nm-online.c
4386                 - Add a '-q' option
4387                 - Add help messages and option summary
4388                 - Add long-format options
4389                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4390
4391 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4392
4393         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4394
4395         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4396
4397 2008-04-15  Dan Williams  <dcbw@redhat.com>
4398
4399         * nm-setting-ip4-config.c
4400                 - (ip4_addresses_from_gvalue): handle NULL address array
4401
4402         * nm-setting-8021x.c
4403                 - (verify_tls, verify_ttls): warn on failed verification
4404
4405 2008-04-10  Dan Williams  <dcbw@redhat.com>
4406
4407         * src/nm-gsm-device.c
4408                 - (automatic_registration): accept "+CREG: 0,0"
4409                 - (automatic_registration_response): fail on "+CREG: 0,0"
4410
4411 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4412
4413         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4414
4415 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4416
4417         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4418         Make it compile again by commenting out broken code that at first didn't work and
4419         now didn't compile either.
4420
4421 2008-04-08  Dan Williams  <dcbw@redhat.com>
4422
4423         * libnm-glib/nm-object-cache.c
4424           libnm-glib/nm-settings.c
4425           src/dhcp-manager/nm-dhcp-manager.c
4426           system-settings/plugins/ifcfg-fedora/plugin.c
4427           system-settings/plugins/ifcfg-suse/plugin.c
4428           system-settings/src/nm-system-config-hal-manager.c
4429           libnm-util/nm-utils.c
4430                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4431                         not threadsafe anyway
4432
4433 2008-04-08  Dan Williams  <dcbw@redhat.com>
4434
4435         * system-settings/src/main.c
4436                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4437                         callbacks take a device type too
4438
4439 2008-04-08  Dan Williams  <dcbw@redhat.com>
4440
4441         The system settings service will now create a new default DHCP connection
4442         for wired devices that have no existing applicable connection.
4443
4444         * system-settings/src/nm-system-config-hal-manager.c
4445           system-settings/src/nm-system-config-hal-manager.h
4446                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4447
4448         * system-settings/src/dbus-settings.c
4449           system-settings/src/dbus-settings.h
4450                 - (nm_sysconfig_settings_get_connections): new function
4451                 - (nm_sysconfig_settings_is_device_managed): new function
4452
4453         * system-settings/src/main.c
4454                 - (load_stuff): check for wired devices that need a default connection
4455                 - (get_details_for_udi): get interface and MAC address from HAL
4456                 - (add_default_dhcp_connection): add a default connection for a wired
4457                         device if needed
4458                 - (device_added_cb, device_removed_cb): do the right thing with
4459                         wired devices and their default connections on HAL device events
4460
4461 2008-04-07  Dan Williams  <dcbw@redhat.com>
4462
4463         * libnm-glib/nm-device.c
4464           libnm-glib/nm-device.h
4465                 - Proxy the 'managed' property
4466
4467 2008-04-07  Dan Williams  <dcbw@redhat.com>
4468
4469         * src/nm-gsm-device.c
4470           src/nm-cdma-device.c
4471                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4472                         handler to transition to DISCONNECTED
4473
4474 2008-04-07  Dan Williams  <dcbw@redhat.com>
4475
4476         Patch from Bill Nottingham
4477
4478         * dispatcher-daemon/NetworkManagerDispatcher.c
4479                 - ignore backup/packaging crufy (rh #440143)
4480
4481 2008-04-07  Dan Williams  <dcbw@redhat.com>
4482
4483         * include/NetworkManager.h
4484                 - Remove the DOWN and CANCELLED device states
4485                 - Add UNMANAGED and UNAVAILABLE device states
4486                 - Document the device states
4487
4488         * introspection/nm-device.xml
4489           src/nm-device-interface.c
4490           src/nm-device-interface.h
4491                 - Add the 'managed' property
4492
4493         * test/nm-tool.c
4494                 - (detail_device): print out device state
4495
4496         * src/NetworkManagerSystem.h
4497           src/backends/NetworkManagerArch.c
4498           src/backends/NetworkManagerDebian.c
4499           src/backends/NetworkManagerFrugalware.c
4500           src/backends/NetworkManagerGentoo.c
4501           src/backends/NetworkManagerMandriva.c
4502           src/backends/NetworkManagerPaldo.c
4503           src/backends/NetworkManagerRedHat.c
4504           src/backends/NetworkManagerSlackware.c
4505           src/backends/NetworkManagerSuSE.c
4506                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4507                    nm_system_device_free_system_config): remove; they were unused and
4508                         their functionality should be re-implemented in each distro's
4509                         system settings service plugin 
4510
4511         * src/nm-gsm-device.c
4512           src/nm-gsm-device.h
4513           src/nm-cdma-device.c
4514           src/nm-cdma-device.h
4515                 - (*_new): take the 'managed' argument
4516
4517         * src/nm-device.c
4518                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4519                 - (nm_device_init): start in unmanaged state, not disconnected
4520                 - (constructor): don't start device until the system settings service
4521                         has had a chance to figure out if the device is managed or not
4522                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4523                         don't set device state here, let callers handle that as appropriate
4524                 - (nm_device_dispose): don't touch the device if it's not managed
4525                 - (set_property, get_property, nm_device_class_init): implement the
4526                         'managed' property
4527                 - (nm_device_state_changed): bring the device up if its now managed,
4528                         and deactivate it if it used to be active
4529                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4530                         with the managed state
4531
4532         * src/nm-hal-manager.c
4533                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4534                         take initial managed state and pass it along to device constructors
4535                 - (create_device_and_add_to_list): get managed state and pass to
4536                         type creators
4537
4538         * src/nm-device-802-11-wireless.c
4539                 - (real_can_activate): fold in most of
4540                         nm_device_802_11_wireless_can_activate()
4541                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4542                 - (link_timeout_cb): instead of deactivating, change device state and
4543                         let the device state handler to it
4544                 - (real_update_hw_address): clean up
4545                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4546                         handler to transition to DISCONNECTED if the device isn't rfkilled
4547
4548         * src/nm-device-802-3-ethernet.c
4549                 - (set_carrier): move above callers and get rid of prototype
4550                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4551                         idle handler to transition to DISCONNECTED if the device has a
4552                         carrier
4553                 - (real_update_hw_address): clean up
4554                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4555                         deactivation directly as deactivation doesn't change state anymore
4556
4557         * src/NetworkManagerPolicy.c
4558                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4559                         the NMManager and wireless devices work that out themselves now
4560                 - (device_state_changed): change to a switch and update for new device
4561                         states
4562                 - (device_carrier_changed): remove; device handles this now through
4563                         state changes
4564                 - (device_added): don't care about carrier any more; the initial
4565                         activation check will happen when the device transitions to
4566                         DISCONNECTED
4567
4568         * src/nm-manager.c
4569                 - (dispose): clear unmanaged devices
4570                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4571                         the managed property on each device when needed
4572                 - (system_settings_properties_changed_cb): handle signals from the
4573                         system settings service
4574                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4575                         getting the unmanaged device list method call
4576                 - (query_unmanaged_devices): ask the system settings service for its
4577                         list of unmanaged devices
4578                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4579                         devices
4580                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4581                         devices directly and let them handle the necessary state transitions
4582                 - (manager_device_state_changed): update for new device states
4583                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4584                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4585                 - (nm_manager_activate_connection): return error if the device is
4586                         unmanaged
4587                 - (nm_manager_sleep): handle new device states correctly; don't change
4588                         the state of unavailable/unmanaged devices
4589
4590         * libnm-glib/nm-device-802-11-wireless.c
4591                 - (state_changed_cb): update for new device states
4592
4593 2008-04-07  Dan Williams  <dcbw@redhat.com>
4594
4595         * marshallers/nm-marshal.list
4596                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4597
4598 2008-04-07  Dan Williams  <dcbw@redhat.com>
4599
4600         * system-settings/src/main.c
4601                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4602                         plugins to the dbus settings object
4603                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4604                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4605                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4606                 - (main): switch default logging to syslog with a 'debug' option to
4607                         output to console; start up the HAL manager
4608
4609 2008-04-07  Dan Williams  <dcbw@redhat.com>
4610
4611         * introspection/nm-settings-system.xml
4612           introspection/Makefile.am
4613                 - Define the unmanaged devices interface for the system settings service
4614
4615         * system-settings/src/nm-system-config-hal-manager.c
4616           system-settings/src/nm-system-config-hal-manager.h
4617           system-settings/src/nm-system-config-hal-manager-private.h
4618           system-settings/src/Makefile.am
4619                 - Add a lightweight HAL manager object for tracking network devices for
4620                         the purpose of determining unmanaged devices and which devices need
4621                         the default DHCP connections
4622
4623         * system-settings/src/nm-system-config-interface.c
4624           system-settings/src/nm-system-config-interface.h
4625                 - (nm_system_config_interface_init): add the HAL manager as an argument
4626                 - (nm_system_config_interface_get_unmanaged_devices): implement
4627                 - Define 'unmanaged-devices-changed' signal
4628
4629         * system-settings/src/dbus-settings.c
4630           system-settings/src/dbus-settings.h
4631                 - Implement the unmanaged devices interface; some cleanups
4632
4633         * system-settings/plugins/ifcfg-suse/plugin.c
4634                 - Fixup for plugin interface changes
4635
4636         * system-settings/plugins/ifcfg-fedora/plugin.c
4637                 - (get_ether_device_udi): new function; find the device that has
4638                         a specified MAC address and return its UDI
4639                 - (get_udi_for_connection): new function; try to find the specific
4640                         device a connection is locked to, if any
4641                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4642                         response to HAL events
4643                 - (get_unmanaged_devices): new function; return unmanaged device list
4644                 - (build_one_connection): set the connection's locked device, if any
4645                 - (write_auto_wired_connection): remove
4646                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4647                 - (handle_connection_changed): alert listeners that the unmanaged device
4648                         list has changed
4649                 - (init): fixup for plugin interface changes, implement unmanaged devices
4650
4651         * system-settings/plugins/ifcfg-fedora/parser.c
4652           system-settings/plugins/ifcfg-fedora/parser.h
4653                 - (connection_data_free): clean up connection UDI
4654
4655 2008-04-07  Dan Williams  <dcbw@redhat.com>
4656
4657         * system-settings/plugins/ifcfg-fedora/parser.c
4658                 - (make_ip4_setting): fix parsing of DNS servers
4659
4660 2008-04-05  Dan Williams  <dcbw@redhat.com>
4661
4662         * Makefile.am
4663           configure.in
4664           marshallers/Makefile.am
4665           marshallers/nm-marshal-main.c
4666           marshallers/nm-marshal.list
4667                 - Consolidate marshallers
4668
4669         * libnm-glib/nm-marshal-main.c
4670           libnm-glib/nm-marshal.list
4671           src/marshallers/Makefile.am
4672           src/marshallers/nm-marshal-main.c
4673           src/marshallers/nm-marshal.list
4674                 - Remove
4675
4676         * libnm-glib/Makefile.am
4677           src/Makefile.am
4678           src/dhcp-manager/Makefile.am
4679           src/ppp-manager/Makefile.am
4680           src/supplicant-manager/Makefile.am
4681           src/vpn-manager/Makefile.am
4682                 - Use consolidated marshallers
4683
4684 2008-04-04  Dan Williams  <dcbw@redhat.com>
4685
4686         * src/nm-hal-manager.c
4687           src/nm-hal-manager.h
4688                 - (hal_init): don't look for hardware here
4689                 - (nm_hal_manager_start): new function; look for hardware here instead,
4690                         which can be done at a later time than hal_init()
4691
4692         * src/NetworkManager.c
4693                 - (main): start HAL manager after entering the main loop
4694
4695 2008-04-03  Dan Williams  <dcbw@redhat.com>
4696
4697         * libnm-glib/nm-settings.c
4698           libnm-glib/nm-settings.h
4699             - (nm_exported_connection_get_id): new function
4700                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4701
4702 2008-04-02  Dan Williams  <dcbw@redhat.com>
4703
4704         * src/nm-device-interface.c
4705           src/nm-device-interface.h
4706           src/nm-device.c
4707           src/nm-device.h
4708                 - Rename check_connection_conflicts() to check_connection_compatible()
4709
4710         * src/nm-device-802-11-wireless.c
4711                 - (real_check_connection_conflicts): remove
4712                 - (real_check_connection_compatible): implement; match MAC address
4713
4714         * src/nm-device-802-3-ethernet.c
4715                 - (real_check_connection_conflicts): remove
4716                 - (real_check_connection_compatible): implement; match MAC address
4717                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4718
4719         * src/nm-manager.c
4720                 - (check_connection_allowed): remove; unused until PolicyKit integration
4721                 - (internal_activate_device): check whether the connection is compatible
4722                         with the device before trying to activate it
4723
4724 2008-04-02  Dan Williams  <dcbw@redhat.com>
4725
4726         * system-settings/plugins/ifcfg-fedora/parser.c
4727                 - (read_mac_address): new function; read in MAC address and stuff it
4728                         into the connection
4729                 - (add_one_wep_key): remove debug spew
4730                 - (make_wireless_security_setting): validate the default TX key; don't
4731                         add the wireless-security setting if the connection doesn't need
4732                         security; don't leak the keys shvarFile on error cases
4733                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4734                         address
4735
4736 2008-04-02  Dan Williams  <dcbw@redhat.com>
4737
4738         * libnm-util/nm-setting-connection.c
4739           libnm-util/nm-setting-connection.h
4740                 - (set_property, get_property, nm_setting_connection_class_init): remove
4741                         the 'lockdown' property; it's functionality will be replaced by
4742                         PolicyKit instead
4743
4744 2008-04-01  Dan Williams  <dcbw@redhat.com>
4745
4746         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4747
4748         * configure.in
4749           initscript/Makefile.am
4750           initscript/Mandriva/Makefile.am
4751           initscript/Mandriva/networkmanager.in
4752           initscript/Mandriva/networkmanagerdispatcher.in
4753           src/backends/Makefile.am
4754           src/backends/NetworkManagerMandriva.c
4755           system-settings/plugins/Makefile.am
4756                 - Add Mandriva support
4757
4758 2008-03-31  Dan Williams  <dcbw@redhat.com>
4759
4760         * src/vpn-manager/nm-vpn-service.c
4761                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4762                         errors can be passed back to the caller; also no longer scheduled
4763                         as an idle handler, but called directly; and bump up VPN service
4764                         spawn timeout, 2s is really short
4765                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4766                         but call it directly so that errors are reported on return from
4767                         ActivateConnection() and don't get lost.  If scheduled as an idle
4768                         handler, clients don't have the time to query NM for the new VPN
4769                         connection's properties before the VPN connection is torn down again
4770                         if the service couldn't be launched, and therefore launch errors
4771                         get lost.
4772
4773 2008-03-31  Dan Williams  <dcbw@redhat.com>
4774
4775         * src/vpn-manager/nm-vpn-connection.c
4776                 - (device_state_changed): send correct state on device failure too
4777                 - (plugin_state_changed): failed state means unexpected disconnection,
4778                         thus if the service goes away while the VPN connection is activated
4779                         that's a failure too
4780
4781 2008-03-31  Dan Williams  <dcbw@redhat.com>
4782
4783         * src/vpn-manager/nm-vpn-manager.c
4784           src/vpn-manager/nm-vpn-manager.h
4785                 - Make VPNManager errors more available; add a service-start-failed error
4786
4787 2008-03-31  Dan Williams  <dcbw@redhat.com>
4788
4789         * libnm-glib/nm-client.c
4790           libnm-glib/nm-client.h
4791                 - (activate_cb): pass the new active connection to callback; fix
4792                         message when no callback is specified
4793
4794 2008-03-30  Dan Williams  <dcbw@redhat.com>
4795
4796         * libnm-util/nm-setting-wireless-security.c
4797                 - (need_secrets): only require key0 if the transmit key index is also
4798                         0
4799                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4800
4801 2008-03-29  Dan Williams  <dcbw@redhat.com>
4802
4803         * libnm-util/nm-setting-8021x.c
4804           libnm-util/nm-setting-ip4-config.c
4805           libnm-util/nm-setting-vpn-properties.c
4806           libnm-util/nm-setting-vpn.c
4807           libnm-util/nm-setting-wireless-security.c
4808           libnm-util/nm-setting-wireless.c
4809           libnm-util/nm-utils.c
4810           src/dhcp-manager/nm-dhcp-manager.c
4811           src/nm-activation-request.c
4812           src/nm-ip4-config.c
4813           src/nm-manager.c
4814           src/nm-properties-changed-signal.c
4815           src/ppp-manager/nm-pppd-plugin.c
4816           src/supplicant-manager/nm-supplicant-interface.c
4817           src/vpn-manager/nm-vpn-connection.c
4818                 - consistently use nm-dbus-glib-types.h
4819
4820 2008-03-29  Dan Williams  <dcbw@redhat.com>
4821
4822         * src/vpn-manager/nm-vpn-connection.c
4823                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4824                         not string
4825
4826         * src/nm-activation-request.c
4827                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4828                         not string
4829
4830 2008-03-29  Dan Williams  <dcbw@redhat.com>
4831
4832         * libnm-glib/nm-device-802-11-wireless.c
4833                 - (access_point_added_proxy): create new APs if not found
4834
4835 2008-03-29  Dan Williams  <dcbw@redhat.com>
4836
4837         * libnm-glib/nm-client.c
4838                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4839                         before freeing them
4840
4841 2008-03-29  Dan Williams  <dcbw@redhat.com>
4842
4843         * system-settings/plugins/ifcfg-fedora/parser.c
4844                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4845                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4846
4847 2008-03-29  Dan Williams  <dcbw@redhat.com>
4848
4849         * system-settings/plugins/ifcfg-fedora/parser.c
4850                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4851
4852 2008-03-27  Dan Williams  <dcbw@redhat.com>
4853
4854         * nm-object.c
4855                 - (nm_object_queue_notify): don't notify multiple times for the same
4856                         property
4857
4858         * nm-object-private.h
4859                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4860                         if it has zero elements
4861
4862         * nm-ip4-config.c
4863                 - (finalize): use g_ptr_array_foreach() when freeing domains
4864                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4865
4866         * nm-active-connection.c
4867                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4868
4869         * nm-device-802-11-wireless.c
4870           nm-device-802-11-wireless.h
4871                 - (nm_device_802_11_wireless_get_access_points): return const; use
4872                         handle_ptr_array_return()
4873
4874         * nm-types.c
4875                 - (nm_object_array_demarshal): always create an array, even of length
4876                         zero, to distinguish between "NM returned no items" and "haven't
4877                         asked NM yet"
4878
4879         * nm-client.c
4880                 - (dispose): free active connections too
4881                 - (proxy_name_owner_changed): free active connections too when NM goes
4882                         away
4883                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4884                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4885
4886 2008-03-26  Dan Williams  <dcbw@redhat.com>
4887
4888         Rework VPN connection handling for a more consistent D-Bus API.  The
4889         VPNManager object has been removed, and active VPN connections are now the
4890         same as any other active connection.  The Manager object's ActivateConnection
4891         and DeactivateConnection methods are used to start and stop a VPN connection,
4892         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4893         When activating a VPN connection, pass the path of the active connection
4894         to which the VPN connection is tied in the 'specific_object' argument.
4895
4896         Consequently, the libnm-glib API has been reworked to match this arrangement,
4897         with the VPNManager object removed, and the NMVPNConnection objects now
4898         being subclasses of NMActiveConnection.
4899
4900 2008-03-25  Dan Williams  <dcbw@redhat.com>
4901
4902         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4903
4904         * initscript/Arch/networkmanager.in
4905           initscript/Arch/networkmanager-dispatcher.in
4906                 - Updates for Arch Linux (gnome.org #523701)
4907
4908 2008-03-25  Dan Williams  <dcbw@redhat.com>
4909
4910         * libnm-glib/nm-ip4-config.c
4911           libnm-glib/nm-active-connection.c
4912           libnm-glib/nm-access-point.c
4913                 - Use nm_object_queue_notify() instead of g_object_notify()
4914
4915         * libnm-glib/nm-device.c
4916                 - (demarshal_ip4_config): distinguish between successful but missing
4917                         ip4-config request, and unsuccessful and missing ip4-config request
4918                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4919                         path
4920                 - Use nm_object_queue_notify() instead of g_object_notify()
4921
4922         * libnm-glib/nm-device-802-11-wireless.c
4923                 - (demarshal_active_ap): distinguish between successfull but missing
4924                         active-ap request, and unsuccessful and missing active-ap request
4925                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4926                         code
4927                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4928                         for the NMClient to notify the device that wireless is disabled,
4929                         and therefore to clear the AP list and active AP
4930                 - Use nm_object_queue_notify() instead of g_object_notify()
4931
4932         * libnm-glib/nm-client.c
4933                 - (poke_wireless_devices_with_rf_status): new function
4934                 - (update_wireless_status): notify wireless devices of the rfkill status
4935                         so they can clean up if needed
4936                 - Use nm_object_queue_notify() instead of g_object_notify()
4937
4938 2008-03-25  Dan Williams  <dcbw@redhat.com>
4939
4940         * libnm-glib/nm-object.c
4941           libnm-glib/nm-object-private.h
4942                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4943                         signals to an idle handler
4944                 - (nm_object_get_property): add a timeout to the D-Bus method call
4945
4946 2008-03-25  Dan Williams  <dcbw@redhat.com>
4947
4948         * introspection/nm-device-cdma.xml
4949           introspection/nm-device-gsm.xml
4950           introspection/Makefile.am
4951           introspection/all.xml
4952                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4953
4954         * src/nm-gsm-device.h
4955           src/nm-gsm-device.c
4956           src/nm-cdma-device.h
4957           src/nm-cdma-device.c
4958           src/Makefile.am
4959                 - Implement PropertiesChanged signals
4960
4961         * libnm-glib/nm-cdma-device.c
4962           libnm-glib/nm-cdma-device.c
4963                 - Attach to PropertiesChanged signals
4964
4965 2008-03-24  Dan Williams  <dcbw@redhat.com>
4966
4967         * libnm-glib/nm-client.c
4968                 - (client_device_added_proxy): add new devices to the internal device
4969                         list so they appear to clients
4970
4971 2008-03-24  Dan Williams  <dcbw@redhat.com>
4972
4973         Massive fixup of libnm-glib to:
4974         a) have all objects (with the exception of VPN) cache their properties and
4975                 update them asynchronously on PropertiesChanged signals from NM
4976         b) return internal const data for most attributes/properties instead of
4977                 allocated values that the caller must free
4978         c) cache wrapped objects such that a given D-Bus path will always map to the
4979                 same GObject returned by libnm-glib
4980         d) remove a few signals and move them to GObject property notifications
4981         e) match recent NM D-Bus API changes for activation/deactivation
4982         f) remove some private functions from libnm-glib headers
4983
4984 2008-03-20  Dan Williams  <dcbw@redhat.com>
4985
4986         * src/nm-manager.c
4987                 - (nm_manager_update_state, manager_device_state_changed,
4988                    nm_manager_activate_device, connection_added_default_handler,
4989                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4990                         queue PropertyChanged singals when the active connections change
4991
4992 2008-03-20  Dan Williams  <dcbw@redhat.com>
4993
4994         * introspection/nm-manager.xml
4995           introspection/nm-manager-client.xml
4996                 - (ActivateConnection): return the object path of the active connection
4997                         on success
4998                 - (GetActiveConnections): remove
4999                 - (DeactivateConnection): new function; deactivate a currently active
5000                         connection
5001                 - Add an ActiveConnections property which returns an array of
5002                         active connection object paths
5003
5004         * introspection/nm-device.xml
5005                 - (Deactivate): remove
5006
5007         * introspection/all.xml
5008                 - Add ActiveConnection introspection
5009
5010         * introspection/nm-active-connection.xml
5011                 - Add the ActiveConnection object
5012
5013         * include/NetworkManager.h
5014                 - Add the Connection.Active D-Bus interface
5015
5016         * src/nm-device-interface.c
5017                 - (impl_device_deactivate): remove
5018
5019         * src/nm-activation-request.c
5020           src/nm-activation-request.c
5021           src/Makefile.am
5022                 - Implement the Connection.Active D-Bus interface
5023
5024         * src/nm-manager.c
5025                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5026                 - (nm_manager_activate_device): return the active connection path
5027                 - (connection_added_default_handler, impl_manager_activate_connection):
5028                         return the active connection to the caller
5029                 - (add_one_connection_element, impl_manager_get_active_connections):
5030                         remove
5031                 - (impl_manager_deactivate_connection): new function; deactivate an
5032                         active connection
5033
5034         * libnm-glib/nm-device.c
5035           libnm-glib/nm-device.h
5036                 - Remove Deactivate() function
5037
5038 2008-03-19  Dan Williams  <dcbw@redhat.com>
5039
5040         * introspection/nm-manager.xml
5041           introspection/nm-manager-client.xml
5042                 - Rename the ActivateDevice method to ActivateConnection to better
5043                         reflect it's usage; it's arguments get reordered a bit too
5044                 - Convert GetActiveConnections method return from a struct to a dict
5045
5046         * include/NetworkManager.h
5047                 - Define the dict keys for return value of GetActiveConnections
5048
5049         * src/nm-manager.c
5050                 - impl_manager_activate_device -> impl_manager_activate_connection
5051                 - (add_one_connection_element): return a populated hash table, not
5052                         a structure
5053
5054         * libnm-glib/nm-client.c
5055           libnm-glib/nm-client.h
5056                 - nm_client_activate_device -> nm_client_activate_connection
5057                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5058                 - (nm_client_get_active_connections): return a GSList of GHashTables,
5059                         instead of the custom structures.  Each element of the returned list
5060                         must be freed with nm_client_free_active_connections_element()
5061
5062 2008-03-18  Dan Williams  <dcbw@redhat.com>
5063
5064         * system-settings/plugins/ifcfg-fedora/parser.c
5065           system-settings/plugins/ifcfg-fedora/parser.h
5066           system-settings/plugins/ifcfg-fedora/plugin.c
5067                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5068                         profiles.  DNS servers and searches must now be stored in the ifcfg
5069                         files themselves
5070
5071 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5072
5073         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5074         print out username and password, it's supposed to be a secret.
5075
5076         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
5077         request and set the device state accordingly.
5078
5079 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5080
5081         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5082
5083         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5084
5085 2008-03-18  Dan Williams  <dcbw@redhat.com>
5086
5087         * src/vpn-manager/nm-vpn-connection.c
5088                 - (get_secrets_cb): handle new GetSecrets return format
5089
5090 2008-03-18  Dan Williams  <dcbw@redhat.com>
5091
5092         Adapt system settings service for split 802.1x.
5093
5094         * system-settings/src/nm-system-config-interface.h
5095                 - clarify return value of get_secrets()
5096
5097         * system-settings/src/dbus-settings.c
5098                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5099                 - (check_for_secrets): check if there actually secrets returned by a
5100                         plugin
5101                 - (exported_connection_get_secrets): just return the plugin-returned
5102                         hash of settings' secrets if it looks valid
5103
5104         * system-settings/plugins/ifcfg-fedora/plugin.c
5105                 - (get_secrets): add split secrets with correct format to reply hash
5106
5107         * system-settings/plugins/ifcfg-fedora/parser.c
5108           system-settings/plugins/ifcfg-fedora/parser.h
5109                 - (copy_one_cdata_secret, connection_data_copy_secrets,
5110                    connection_data_free, connection_data_add): keep secrets for
5111                         different settings in different hashes
5112
5113 2008-03-17  Tambet Ingo  <tambet@gmail.com>
5114
5115         Clean up activating device deactivation.
5116
5117         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5118         should be done whether the device activation gets cancelled or the device
5119         is just getting deactivated.
5120         (nm_device_activation_cancel): Remove.
5121         (nm_device_deactivate_quickly): Handle the case where device is activating.
5122
5123         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5124         It does the exact same thing as real_deactivate_quickly().
5125
5126 2008-03-17  Dan Williams  <dcbw@redhat.com>
5127
5128         Split the 802.1x bits out of the wireless-security setting so they are
5129         generalized enough for wired 802.1x to use too.
5130
5131         * introspection/nm-exported-connection.xml
5132                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5133                         of just a hash of the secrets for one setting
5134
5135         * libnm-util/nm-setting-wireless-security.c
5136           libnm-util/nm-setting-wireless-security.h
5137                 - Remove 802.1x-specific stuff
5138                 - Added leap-username and leap-password properties for old-school LEAP
5139
5140         * src/nm-device.c
5141           src/nm-device.h
5142                 - (connection_secrets_updated_cb): take a list of updated settings names,
5143                         not just one
5144
5145         * src/supplicant-manager/nm-supplicant-config.c
5146           src/supplicant-manager/nm-supplicant-config.h
5147                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5148                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5149                         to nm_supplicant_config_add_setting_8021x()
5150                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5151                         the supplicant config
5152
5153         * src/nm-device-802-11-wireless.c
5154                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5155                 - (real_connection_secrets_updated): take a list of updated settings
5156                         names, not just one
5157
5158         * src/nm-device-802-3-ethernet.c
5159           src/nm-cdma-device.c
5160           src/nm-gsm-device.c
5161                 - (real_connection_secrets_updated_cb): take a list of updated settings
5162                         names, not just one
5163
5164         * src/nm-activation-request.c
5165           src/nm-activation-request.h
5166                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5167                         now passes a list of updated settings names, not just one
5168                 - (update_one_setting): new function; handle one updated setting
5169                 - (get_secrets_cb): handle multiple settings returned from the
5170                         settings service; have to be careful of ordering here as there are
5171                         some dependencies between settings (ex. wireless-security and 802.1x
5172                         in some cases)
5173
5174         * src/marshallers/nm-marshal.list
5175                 - new marshaller for connection-secrets-updated signal
5176
5177         * libnm-util/nm-setting-8021x.c
5178                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5179                         methods
5180                 - (verify): a valid 'eap' property is now required
5181
5182         * libnm-util/nm-connection.c
5183                 - (register_default_settings): add priorities to settings; there are
5184                         some dependencies between settings, and during the need_secrets
5185                         calls this priority needs to be respected.  For example, only the
5186                         wireless-security setting knows whether or not the connection is
5187                         going to use 802.1x or now, so it must be asked for secrets before
5188                         any existing 802.1x setting is
5189                 - (nm_connection_lookup_setting_type): expose
5190
5191         * libnm-util/nm-setting-wireless.c
5192                 - (verify): should verify even if all_settings is NULL; otherwise won't
5193                         catch the case where there is missing security
5194
5195         * libnm-util/nm-setting-wireless-security.c
5196                 - Remove everything to do with 802.1x
5197                 - Add old-school LEAP specific properties for username and password
5198                 - (need_secrets): rework LEAP secrets checking
5199                 - (verify): rework for LEAP and 802.1x verification
5200
5201 2008-03-17  Dan Williams  <dcbw@redhat.com>
5202
5203         * src/NetworkManagerPolicy.c
5204                 - (auto_activate_device): always remove the current activation check
5205                         from the pending activation list, otherwise when the policy gets
5206                         destroyed on NM exit it will attempt to free the already freed
5207                         activation check
5208
5209 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5210
5211         * src/backends/NetworkManagerSlackware.c 
5212         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5213
5214         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5215
5216 2008-03-14  Dan Williams  <dcbw@redhat.com>
5217
5218         * src/nm-manager.c
5219                 - (nm_device_interface_get_iface): g_object_get() will return an
5220                         allocated value, so this function must not return const
5221                 - (nm_device_interface_activate): free returned iface
5222
5223 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5224
5225         * libnm-util/Makefile.am: Add new files to build.
5226
5227         * libnm-util/nm-connection.c: Register NMSetting8021x.
5228
5229         * libnm-util/nm-setting-8021x.c
5230         * libnm-util/nm-setting-8021x.h: Implement.
5231
5232 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5233
5234         * libnm-util/Makefile.am: Add new files to build.
5235
5236         * libnm-util/nm-connection.c: Register NMSetting8021x.
5237
5238         * libnm-util/nm-setting-8021x.c
5239         * libnm-util/nm-setting-8021x.h: Implement.
5240
5241 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5242
5243         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5244         data.
5245
5246 2008-03-14  Dan Williams  <dcbw@redhat.com>
5247
5248         * include/wireless-helper.h
5249           include/Makefile.am
5250                 - One place for all the junk needed for #including wireless.h
5251
5252         * test/nm-tool.c
5253           src/NetworkManagerAP.c
5254           src/wpa.c
5255           src/Makefile.am
5256           libnm-util/nm-utils.c
5257           libnm-util/nm-setting-wireless.c
5258           libnm-glib/nm-device-802-11-wireless.c
5259           libnm-glib/nm-access-point.c
5260           libnm-glib/libnm-glib-test.c
5261                 - include wireless-helper.h, not iwlib.h
5262
5263         * configure.in
5264                 - Don't need libiw really, just need to check for wireless.h
5265
5266         * src/kernel-types.h
5267                 - Remove; used types moved into wpa.c
5268
5269         * src/nm-device-802-11-wireless.c
5270                 - (nm_device_802_11_wireless_update_signal_strength,
5271                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5272                    nm_device_802_11_wireless_set_mode,
5273                    nm_device_802_11_wireless_get_frequency,
5274                    nm_device_802_11_wireless_get_ssid,
5275                    nm_device_802_11_wireless_set_ssid,
5276                    nm_device_802_11_wireless_get_bitrate,
5277                    nm_device_802_11_wireless_get_bssid,
5278                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5279                         instead of iwlib functions
5280
5281 2008-03-14  Dan Williams  <dcbw@redhat.com>
5282
5283         * src/ppp-manager/nm-ppp-manager.c
5284                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5285                         should only take the DBusGMethodInvocation argument, not user/pass
5286                         too.  With dbus-glib, async functions only take 2 C arguments since
5287                         the real dbus method arguments get passed back with
5288                         dbus_g_method_return()
5289
5290 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5291
5292         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5293         Adapt the changes of NMSettingIP4Config.
5294
5295 2008-03-13  Dan Williams  <dcbw@redhat.com>
5296
5297         * src/NetworkManagerUtils.c
5298           src/NetworkManagerUtils.h
5299                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5300
5301         * src/NetworkManagerAP.c
5302           src/nm-device-802-11-wireless.c
5303           src/nm-device-802-3-ethernet.c
5304                 - s/iw_ether_ntop/nm_ether_ntop/g
5305
5306 2008-03-13  Dan Williams  <dcbw@redhat.com>
5307
5308         * src/NetworkManagerPolicy.c
5309                 - (update_routing_and_dns): never set the default route through an
5310                         IPv4LL addressed device
5311
5312 2008-03-13  Dan Williams  <dcbw@redhat.com>
5313
5314         * NetworkManagerUtils.c
5315           NetworkManagerUtils.h
5316                 - Remove NMSock stuff
5317                 - Remove the completion stuff
5318
5319         * nm-device.c
5320           nm-device.h
5321           NetworkManager.c
5322           NetworkManagerSystem.c
5323           autoip.c
5324           nm-device-802-11-wireless.c
5325           nm-device-802-3-ethernet.c
5326                 - Remove NMSock and completion stuff
5327                 - Remove nm_ioctl_info()
5328
5329 2008-03-12  Dan Williams  <dcbw@redhat.com>
5330
5331         * src/nm-device.c
5332                 - (merge_ip4_config): avoid duplicates
5333
5334 2008-03-12  Dan Williams  <dcbw@redhat.com>
5335
5336         * libnm-util/nm-setting-ip4-config.c
5337           libnm-util/nm-setting-ip4-config.h
5338                 - Remove 'manual' and 'autoip' properties
5339                 - Add 'method' property
5340                 - (verify): fix verification with 'method'
5341                 - (finalize): free 'method'
5342                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5343                         up for 'method'
5344
5345         * src/nm-device.c
5346                 - (real_act_stage3_ip_config_start): check IP4Config method
5347                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5348                         the future
5349                 - (merge_ip4_config): IP settings are valid with DHCP too
5350                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5351                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5352
5353         * src/nm-device-802-11-wireless.c
5354                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5355                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5356                         only on demand
5357
5358         * system-settings/plugins/ifcfg-fedora/parser.c
5359           system-settings/plugins/ifcfg-suse/parser.c
5360                 - (make_ip4_setting): fix up for 'method'
5361
5362 2008-03-12  Dan Williams  <dcbw@redhat.com>
5363
5364         * system-settings/plugins/ifcfg-fedora/parser.c
5365           system-settings/plugins/ifcfg-fedora/parser.h
5366                 - (get_ifcfg_name): ignore more file suffixes
5367                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5368
5369 2008-03-12  Dan Williams  <dcbw@redhat.com>
5370
5371         * configure.in
5372                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5373
5374 2008-03-12  Dan Williams  <dcbw@redhat.com>
5375
5376         * system-settings/plugins/ifcfg-fedora/plugin.c
5377                 - (write_auto_wired_connection): new function; write out an auto
5378                         wired connection file since the applet isn't doing it any more
5379                 - (reload_all_connections): write out the auto wired connection file
5380                         if there aren't any wired connections already
5381                 - (init): don't leak a GError
5382
5383 2008-03-12  Dan Williams  <dcbw@redhat.com>
5384
5385         * src/nm-device-interface.c
5386                 - (nm_device_interface_activate): print the ID of the connection
5387                         that's about to be activated
5388
5389 2008-03-12  Dan Williams  <dcbw@redhat.com>
5390
5391         Harmonize the 802.11 bitrate API
5392
5393         * introspection/nm-access-point.xml
5394                 - 'Rate' -> 'MaxBitrate'; clarify units
5395
5396         * introspection/nm-device-802-11-wireless.xml
5397                 - Clarify units of 'Bitrate'
5398
5399         * src/NetworkManagerAP.c
5400           src/NetworkManagerAP.h
5401                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5402                         property to 'max-bitrate'
5403                 - (foreach_property_cb): convert rate to Kb/s
5404
5405         * src/nm-device-802-11-wireless.c
5406                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5407
5408         * libnm-glib/nm-access-point.c
5409           libnm-glib/nm-access-point.h
5410                 - 'rate' -> 'max-bitrate'
5411
5412         * test/nm-tool.c
5413           libnm-glib/libnm-glib-test.c
5414                 - Fix up for these changes
5415
5416 2008-03-12  Dan Williams  <dcbw@redhat.com>
5417
5418         * src/nm-device.c
5419                 - (nm_device_set_ip4_config): don't send property notifications when
5420                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5421                         which dbus-glib can't parse because the value is NULL, which isn't
5422                         a legal object path.  Setting the IP4 config to NULL is only
5423                         valid when deactivating a device anyway, so the device state change
5424                         will alert listeners that the ip4 config is invalid.
5425
5426 2008-03-12  Dan Williams  <dcbw@redhat.com>
5427
5428         * src/nm-properties-changed-signal.c
5429                 - (add_to_string): better handling of NULL objects
5430
5431 2008-03-12  Dan Williams  <dcbw@redhat.com>
5432
5433         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5434         convert the libnm-glib NMDevice8023Ethernet to cached properties
5435
5436         * introspection/nm-device-802-3-ethernet.xml
5437                 - New 'Carrier' property
5438                 - New 'PropertiesChanged' signal
5439
5440         * introspection/nm-device.xml
5441                 - Remove 'Carrier' property
5442                 - Remove 'CarrierChanged' signal
5443
5444         * src/nm-device-interface.c
5445           src/nm-device-interface.h
5446                 - (nm_device_interface_init): remove 'carrier' property and
5447                         'carrier-changed' signal
5448
5449         * src/nm-device.c
5450           src/nm-device.h
5451                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5452                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5453                         the link here; wired device will handle that
5454                 - (handle_dhcp_lease_change): don't bother updating link here
5455                 - (get_property, nm_device_class_init): remove carrier property
5456
5457         * src/nm-device-802-11-wireless.c
5458                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5459                         real_update_link(); wireless devices don't use carrier at all
5460                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5461                    supplicant_iface_connection_state_cb_handler,
5462                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5463
5464         * src/nm-device-802-3-ethernet.c
5465           src/nm-device-802-3-ethernet.h
5466                 - (nm_device_802_3_ethernet_carrier_on,
5467                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5468                         instead of nm_device_set_carrier()
5469                 - (device_state_changed): update link from sysfs on activation;
5470                         replaces real_update_link()
5471                 - (real_update_link): remove, replaced by device_state_changed()
5472                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5473                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5474                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5475                         new get_carrier function
5476                 - (get_property): add 'carrier' property
5477                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5478                         hook into property-changed signal helper
5479
5480         * src/NetworkManagerPolicy.c
5481                 - (device_carrier_changed): will only ever be called with a wired device
5482                 - (device_added): only hook up to carrier-changed for wired devices
5483
5484         * libnm-glib/nm-device.c
5485           libnm-glib/nm-device.h
5486                 - (constructor, nm_device_class_init): remove carrier-changed signal
5487                 - (device_carrier_changed_proxy): remove; unused
5488                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5489
5490         * libnm-glib/nm-device-802-3-ethernet.c
5491           libnm-glib/nm-device-802-3-ethernet.h
5492                 - Convert to cached properties like AP and Wireless objects
5493                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5494                         instead of a 'char *', return value should not be freed
5495                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5496                 - (constructor): hook into properties-changed helper
5497                 - (set_property, get_property): new functions
5498                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5499
5500         * test/nm-tool.c
5501                 - (detail_device): strdup the wired hardware address too since it's
5502                         cached now
5503
5504         * libnm-glib/libnm-glib-test.c
5505                 - (dump_wired): strdup the wired hardware address too since it's
5506                         cached now
5507
5508 2008-03-12  Dan Williams  <dcbw@redhat.com>
5509
5510         * libnm-util/nm-setting-ip4-config.c
5511           libnm-util/nm-setting-ip4-config.h
5512                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5513                         the 'autoip' property from the spec
5514
5515 2008-03-11  Dan Williams  <dcbw@redhat.com>
5516
5517         * src/backends/NetworkManagerGeneric.c
5518           src/backends/NetworkManagerGeneric.h
5519                 - (nm_generic_device_get_use_dhcp): remove
5520
5521 2008-03-11  Dan Williams  <dcbw@redhat.com>
5522
5523         * src/nm-device.c
5524                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5525                         already in nm_device_set_ip4_config()
5526                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5527                         due to a DHCP rebind fails
5528                 - (nm_device_set_ip4_config): send property notifications when the
5529                         ip4 config changes
5530                 - (get_property): only report IP4Config property during valid states
5531
5532         * src/NetworkManagerPolicy.c
5533                 - (update_routing_and_dns): ignore devices that don't have an ip4
5534                         config; add parameter 'force_update' to allow callers to specify
5535                         that changes should be made even if the default device doesn't change
5536                 - (device_ip4_config_changed): update DNS and routing when the device's
5537                         IP4Config changes, like for DHCP updates
5538                 - (device_added): listen for ip4-config property changes
5539
5540 2008-03-11  Dan Williams  <dcbw@redhat.com>
5541
5542         Fix address handling as a result of DHCP rebind/renew/reboot.
5543
5544         * src/NetworkManagerSystem.c
5545                 - (check_one_address): delete an address if it doesn't match a given
5546                         one for the same interface
5547                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5548                         be smarter about flushing addresses (only flush ones that don't
5549                         match the one we're about to apply)
5550
5551         * src/backends/NetworkManagerDebian.c
5552           src/backends/NetworkManagerSuSE.c
5553           src/backends/NetworkManagerArch.c
5554           src/backends/NetworkManagerSlackware.c
5555           src/backends/NetworkManagerRedHat.c
5556           src/backends/NetworkManagerPaldo.c
5557           src/backends/NetworkManagerFrugalware.c
5558           src/backends/NetworkManagerGentoo.c
5559                 - (nm_system_delete_default_route): remove
5560
5561         * src/backends/NetworkManagerGeneric.c
5562           src/backends/NetworkManagerGeneric.h
5563                 - (nm_generic_enable_loopback): fix the loopback device label
5564                 - (nm_generic_delete_default_route): remove; no longer used
5565
5566 2008-03-11  Dan Williams  <dcbw@redhat.com>
5567
5568         * src/nm-device-interface.h
5569                 - Delimit property name words with '-', otherwise g_object_notify()
5570                         doesn't work the way we expect
5571
5572 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5573
5574         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5575
5576 2008-03-11  Dan Williams  <dcbw@redhat.com>
5577
5578         * src/NetworkManagerPolicy.c
5579                 - (update_routing_and_dns): don't change anything if the default device
5580                         hasn't changed; print something out when switching the default route
5581                         and DNS
5582
5583 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5584
5585         Implement PPPoE.
5586
5587         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5588         setting. Use "nic-$eth".
5589
5590         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5591         the device is activating here to fix a race condition.
5592
5593         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5594
5595         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5596         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5597         (nm_ppp_manager_start): Take activation request instead of connection, we might
5598         need it for asking secrets.
5599         (nm_ppp_manager_update_secrets): Implement.
5600
5601         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5602         ppp manager start. It might be needed for asking secrets.
5603
5604         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5605         (ppp_state_changed): Handle pppd daemon disappearing.
5606         (pppoe_stage2_config): Send activation request to ppp manager start.
5607
5608         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5609
5610         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5611         username and password.
5612         
5613 2008-03-10  Dan Williams  <dcbw@redhat.com>
5614
5615         * src/nm-device.c
5616                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5617                         response to a DHCP lease change
5618                 - (dhcp_state_changed): handle DHCP lease changes while activated
5619                 - (nm_device_set_ip4_config): remove a previously set named config
5620                         when setting an ip4 config
5621
5622 2008-03-10  Dan Williams  <dcbw@redhat.com>
5623
5624         * src/nm-serial-device.c
5625                 - (nm_serial_device_send_command): report errno on error
5626                 - (get_reply_got_data): limit the size of the overall buffer
5627                 - (wait_for_reply_info_destroy): destroy result string
5628                 - (wait_for_reply_got_data): append received data to an overall buffer
5629                         until timeout, filled buffer, or error instead of keeping a per-call
5630                         buffer.  Some devices send data slowly enough that this function
5631                         gets called multiple times for the same command stream.
5632                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5633                         wait_for_reply_got_data() here
5634
5635 2008-03-10  Dan Williams  <dcbw@redhat.com>
5636
5637         * src/nm-cdma-device.c
5638                 - (do_dial, init_modem): handle errors from
5639                         nm_serial_device_send_command_string()
5640
5641         * src/nm-gsm-device.c
5642                 - (do_dial, manual_registration, automatic_registration_get_network,
5643                    automatic_registration, enter_pin, check_pin, init_modem): handle
5644                         errors from nm_serial_device_send_command_string()
5645
5646 2008-03-10  Dan Williams  <dcbw@redhat.com>
5647
5648         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5649
5650         * src/named-manager/nm-named-manager.c
5651                 - (compute_searches): prefer searches before domains
5652                 - (compute_domain): new function
5653                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5654                 - (merge_one_ip4_config): if there are no searches in the source config,
5655                         merge domains of the source config into the target config
5656                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5657
5658 2008-03-10  Dan Williams  <dcbw@redhat.com>
5659
5660         * src/nm-serial-device.c
5661                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5662                 - (wait_for_reply_got_data): try to handle slower serial devices where
5663                         the reply is broken up into multiple reads by concatenating replies
5664                         together until either an error is received or the search string is
5665                         found
5666
5667 2008-03-10  Dan Williams  <dcbw@redhat.com>
5668
5669         * src/nm-device.c
5670                 - (nm_device_bring_down): deactivate the device if it's activating too,
5671                         not just if it's already activated.  This makes sure that everything
5672                         from an association attempt is cleaned up (like DHCP for example)
5673
5674 2008-03-10  Dan Williams  <dcbw@redhat.com>
5675
5676         * src/nm-serial-device.c
5677                 - (config_fd): report error from TCSETA
5678                 - (nm_serial_device_open): fail when config_fd() fails
5679
5680 2008-03-10  Dan Williams  <dcbw@redhat.com>
5681
5682         * src/nm-ip4-config.c
5683                 - (nm_ip4_config_init): allocate searches list
5684                 - (finalize): free searches list
5685
5686 2008-03-09  Dan Williams  <dcbw@redhat.com>
5687
5688         Patch from Bas Zoetekouw <bas@debian.org>
5689
5690         * src/dhcp-manager/nm-dhcp-manager.c
5691                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5692
5693 2008-03-09  Dan Williams  <dcbw@redhat.com>
5694
5695         Patch from Bas Zoetekouw <bas@debian.org>
5696
5697         * src/nm-ip4-config.c
5698           src/nm-ip4-config.h
5699                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5700                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5701                         domains.  'searches' is the correct way to store multiple search
5702                         domains, whereas 'domains' is really just supposed to store one
5703                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5704                         search domains to the client.
5705                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5706
5707 2008-03-09  Dan Williams  <dcbw@redhat.com>
5708
5709         * src/dhcp-manager/nm-dhcp-manager.c
5710                 - (dhclient_run): send interface-specific config files to dhclient
5711
5712 2008-03-07  Dan Williams  <dcbw@redhat.com>
5713
5714         * system-settings/plugins/ifcfg-fedora/parser.c
5715                 - (is_wireless_device): new function; test a device for wireless
5716                         extensions
5717                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5718                         test the device for wireless extensions to determine the type
5719
5720 2008-03-07  Dan Williams  <dcbw@redhat.com>
5721
5722         Change manager's StateChange signal to StateChanged for consistency.
5723
5724         * introspection/nm-manager.xml
5725                 - Add 'StateChanged' signal
5726                 - Move 'StateChange' down to the deprecated section
5727
5728         * src/nm-hal-manager.c
5729                 - (nm_hal_manager_new): connect to 'state-changed' instead
5730
5731         * src/NetworkManagerPolicy.c
5732                 - (nm_policy_new): connect to 'state-changed' instead
5733
5734         * src/nm-manager.c
5735           src/nm-manager.h
5736                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5737                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5738                         of 'state-change'
5739
5740         * libnm-glib/nm-client.c
5741           libnm-glib/nm-client.h
5742                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5743                         track and proxy 'state-changed' instead of 'state-change'
5744
5745 2008-03-07  Dan Williams  <dcbw@redhat.com>
5746
5747         First pass of multiple active device support.  Expect bugs.
5748
5749         * src/nm-ip4-config.c
5750           src/nm-ip4-config.h
5751                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5752                         there are better ways to do this in the named manager
5753
5754         * src/nm-device.c
5755           src/nm-device.h
5756                 - (nm_device_can_activate): return whether the device can activate a
5757                         connection right now; taking into account things like carrier state
5758                         and rfkill state
5759                 - (nm_device_get_best_auto_connection): renamed from
5760                         nm_device_get_best_connection
5761                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5762                         device subclasses themselves, so that each device can override the
5763                         MTU from it's NMSetting subclass if needed
5764                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5765                         in NetworkManagerSystem.c, not here
5766
5767         * src/named-manager/nm-named-manager.c
5768           src/named-manager/nm-named-manager.h
5769                 - (nm_named_manager_name_owner_changed,
5770                    nm_named_manager_dbus_connection_changed): fix for changes to
5771                         rewrite_resolv_conf()
5772                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5773                         from parameter list
5774                 - (merge_one_ip4_config): new function; merge ip4 configs together
5775                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5776                         ip4 configs; the VPN config takes precedence, then the best
5777                         device config, then the rest of the configs
5778                 - (get_domain_for_config): take the NMNamedManager as an argument
5779                         to check whether the config is the VPN config
5780                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5781                         attribute from ip4 configs
5782                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5783                 - (remove_ip4_config_from_named): fix for changes to
5784                         get_domain_for_config()
5785                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5786                         based on its type; callers must pass in the type now
5787                 - (get_last_default_domain): remove, unused
5788                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5789
5790         * src/nm-device-802-11-wireless.c
5791                 - (real_can_activate): new function
5792                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5793                 - (real_act_stage4_get_ip4_config): handle MTU override
5794
5795         * src/nm-device-802-3-ethernet.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): new function; handle MTU override
5799
5800         * src/vpn-manager/nm-vpn-connection.c
5801                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5802                         attribute on the ip4 config
5803
5804         * src/NetworkManagerPolicy.c
5805                 - (nm_policy_auto_get_best_device): remove
5806                 - (nm_policy_device_change_check): remove
5807                 - (update_default_route): new function; set the default route via
5808                         the specified device
5809                 - (get_device_priority): new function; return the priority number of
5810                         a device type WRT which one should have the default route.  Order is
5811                         (highest to lowest)  wired, wireless, GSM, CDMA.
5812                 - (update_routing_and_dns): new function; determine which device should
5813                         have the default route, then update the routing table and DNS
5814                 - (maybe_auto_activate_device): new function; if a device is now
5815                         available for activation, find out what connection it would like to
5816                         activate and do it
5817                 - (schedule_activate_check): new function; if a device can be activated
5818                         now, schedule the activation.  Each device may have only one
5819                         pending activation at a given time.
5820                 - (device_state_changed): if activation was canceled, try again,
5821                         possibly with another connection; if the device was activated,
5822                         update routing and DNS; if the device was deactivated, try again
5823                         with another connection
5824                 - (device_carrier_changed): if there is no carrier, deactivate the
5825                         device; otherwise schedule an activation check for the device
5826                 - (wireless_networks_changed): schedule an activation check for the
5827                         device
5828                 - (device_added): keep track of the signal handler IDs so they can
5829                         be removed when the device goes away
5830                 - (device_removed): remove any signal handlers that might be attached
5831                         to the device; update routing and DNS
5832                 - (schedule_activate_all): new function
5833                 - (connections_added, connection_added, connection_updated): when
5834                         connections change, schedule all devices for an activation check
5835                 - (connection_removed): when a device is deactivated because its
5836                         connection was removed, schedule another activation check for it
5837                 - (nm_policy_destroy): destroy pending activations and disconnect
5838                         all device signal handlers
5839
5840         * src/nm-manager.c
5841                 - (nm_manager_activate_device): if the device was already actived,
5842                         deactivate it
5843                 - (deactivate_old_device): remove
5844                 - (connection_added_default_handler, impl_manager_activate_device):
5845                         don't deactivate other devices when activating this one
5846
5847         * src/backends/NetworkManagerGentoo.c
5848           src/backends/NetworkManagerFrugalware.c
5849           src/backends/NetworkManagerPaldo.c
5850           src/backends/NetworkManagerRedHat.c
5851           src/backends/NetworkManagerSlackware.c
5852           src/backends/NetworkManagerArch.c
5853           src/backends/NetworkManagerSuSE.c
5854           src/backends/NetworkManagerDebian.c
5855                 - (nm_system_get_mtu): remove; MTU should be provided through the
5856                         distro's system settings service plugin instead
5857                 - (nm_system_device_add_default_route_via_device): remove
5858                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5859                 - (nm_system_device_replace_default_route): new function; call
5860                         generic implementation
5861
5862         * src/backends/NetworkManagerGeneric.c
5863           src/backends/NetworkManagerGeneric.h
5864                 - (nm_generic_device_add_default_route_via_device,
5865                    nm_generic_device_add_default_route_via_device_with_iface): remove
5866                 - (nm_generic_device_replace_default_route): replace the default route
5867                         with the given route via some gateway
5868
5869         * src/NetworkManagerSystem.c
5870           src/NetworkManagerSystem.h
5871                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5872                         to routing and DNS; but set the MTU here
5873                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5874                         ip_iface of the active device; use the standard MTU setting function
5875                 - (nm_system_set_mtu): remove
5876                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5877
5878 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5879
5880         Rework the interaction between ppp manager and pppd plugin. Register a well
5881         known DBUS service in manager and let the plugin call it's methods instead
5882         of listening plugin's signals.
5883
5884         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5885         of emitting signals.
5886
5887         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5888
5889         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5890
5891         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5892         nm_ppp_manager_start().
5893
5894         * introspection/nm-ppp-manager.xml: New file.
5895
5896         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5897         the case correctly where driver is trying to send -1 for the speed, which gets
5898         casted to u16 and thus is always > 0.
5899
5900 2008-03-07  Dan Williams  <dcbw@redhat.com>
5901
5902         * src/nm-hal-manager.c
5903                 - (nm_get_device_driver_name): use net.originating_device first, fall
5904                         back to physical device.  HAL has deprecated physical_device.
5905
5906         * libnm-glib/nm-device.c
5907                 - (get_product_and_vendor): use net.originating_device first, fall
5908                         back to physical device.  HAL has deprecated physical_device.
5909                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5910
5911 2008-03-07  Dan Williams  <dcbw@redhat.com>
5912
5913         * src/nm-netlink.c
5914                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5915                         last commit; fix that
5916                 - (get_link_cache): print error string
5917
5918 2008-03-07  Dan Williams  <dcbw@redhat.com>
5919
5920         * src/nm-netlink.c
5921                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5922                         don't need this hack any more (Benoit Boissinot)
5923
5924 2008-03-06  Dan Williams  <dcbw@redhat.com>
5925
5926         * autogen.sh
5927                 - Die gnome-common, die
5928
5929 2008-03-04  Dan Williams  <dcbw@redhat.com>
5930
5931         Patch from Michael Biebl <biebl@debian.org>
5932
5933         * NetworkManager.pc.in
5934                 - doesn't actually depend on dbus-1
5935
5936         * libnm-util/nm-utils.h
5937                 - remove unused #include <dbus/dbus.h>
5938
5939         * libnm-glib/libnm_glib.pc.in
5940                 - depends on glib and dbus-glib
5941
5942 2008-03-02  Dan Williams  <dcbw@redhat.com>
5943
5944         * src/NetworkManagerPolicy.c
5945                 - s/device_state_changed_idle_id/update_state_id/
5946
5947 2008-03-02  Dan Williams  <dcbw@redhat.com>
5948
5949         * src/nm-device.c
5950           src/nm-device.h
5951           src/nm-device-802-11-wireless.c
5952           src/nm-device-802-3-ethernet.c
5953           src/NetworkManagerPolicy.c
5954                 - s/link_active/carrier
5955                 - nm_device_set_active_link() -> nm_device_set_carrier()
5956                 - nm_device_has_active_link() -> nm_device_get_carrier()
5957
5958 2008-03-02  Dan Williams  <dcbw@redhat.com>
5959
5960         * system-settings/plugins/ifcfg-fedora/parser.c
5961                 - (make_wireless_setting): fail connection creation on missing SSID
5962
5963 2008-02-29  Dan Williams  <dcbw@redhat.com>
5964
5965         * src/NetworkManagerPolicy.c
5966                 - (nm_policy_device_change_check): ensure that a previously active
5967                         device with a system connection has a link before denying a switch
5968                         to a user connection
5969
5970 2008-02-29  Dan Williams  <dcbw@redhat.com>
5971
5972         * src/nm-device-802-11-wireless.c
5973                 - (link_timeout_cb): try again if scanning; deactivate the device when
5974                         activated if the link dies
5975                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5976                         15 seconds
5977
5978 2008-02-29  Dan Williams  <dcbw@redhat.com>
5979
5980         * src/nm-device-802-11-wireless.c
5981           src/nm-device-802-11-wireless.h
5982                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5983                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5984                 - (device_cleanup): reset the scan interval lower when the device
5985                         deactivates
5986                 - (can_scan): base decision mostly off device state, not supplicant
5987                         interface state since the supplicant interface state isn't a
5988                         great indicator of whether the device is active or not
5989                 - (request_wireless_scan): clean up; schedule the next scan here
5990                 - (schedule_scan): only back the scan interval off if a new scan
5991                         actually gets scheduled; and make scan intervals tighter when the
5992                         device is disconnected
5993                 - (supplicant_iface_state_cb_handler): fold in the bits of
5994                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5995                         interval to minimum
5996                 - (activation_success_handler): reset scan interval to something
5997                         reasonable 
5998
5999 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
6000
6001         reviewed by: Steev <steev@steev.net>
6002
6003         * configure.in:
6004         * src/backends/NetworkManagerGentoo.c:
6005         (nm_system_restart_mdns_responder):
6006                 Howl is no longer a supported mDNS provider
6007
6008 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6009
6010         Get rid of a bunch of unused distro specific functions.
6011
6012 2008-02-28  Tambet Ingo  <tambet@gmail.com>
6013
6014         Implement suse plugin for system settings daemon.
6015
6016         * system-settings/plugins/ifcfg-suse/*: Implement.
6017
6018         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6019         suse.
6020
6021         * configure.in: Check (without failing) for gio.
6022         Create ifcfg-suse plugin's Makefile.
6023
6024 2008-02-20  Dan Williams  <dcbw@redhat.com>
6025
6026         * libnm-util/nm-connection.c
6027           libnm-util/nm-connection.h
6028                 - (nm_connection_compare): accept compare flags and pass them to the
6029                         setting compare function
6030
6031         * libnm-util/nm-setting.c
6032           libnm-util/nm-setting.h
6033                 - (nm_setting_compare): accept compare flags; ignore properties that are
6034                         marked fuzzy
6035
6036         * libnm-util/nm-setting-connection.c
6037           libnm-util/nm-setting-wireless.c
6038           libnm-util/nm-setting-ppp.c
6039           libnm-util/nm-setting-wired.c
6040                 - Mark some setting properties as ignorable when doing a fuzzy compare
6041
6042         * src/nm-device.c
6043                 - (device_activation_precheck): use exact compare
6044
6045 2008-02-20  Dan Williams  <dcbw@redhat.com>
6046
6047         * src/NetworkManagerPolicy.c
6048                 - (nm_policy_device_change_check): get scope off the connection, not
6049                         using the manager helper
6050
6051         * src/nm-manager.c
6052           src/nm-manager.h
6053                 - (get_scope_for_proxy): rename from get_type_for_proxy()
6054                 - (connection_get_settings_cb): set scope and path on connection, not
6055                         using GObject data items
6056                 - (get_connection_for_proxy): don't need to return path, since that
6057                         can be gotten from the connection
6058                 - (get_connection_for_proxy): get path off the connection, not from
6059                         parameters
6060                 - (connection_removed_cb, connection_updated_cb): don't need to get
6061                         path from get_connection_for_proxy(); get scope off the connection
6062                         instead of using GObject data items
6063                 - (connection_added_default_handler, add_one_connection_element): use
6064                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6065                 - (nm_manager_get_connection_dbus_path): remove
6066                 - (nm_manager_get_connection_scope): remove
6067
6068 2008-02-20  Dan Williams  <dcbw@redhat.com>
6069
6070         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6071                 on confusing names
6072
6073         * Add 'path' and 'scope' properties to NMConnection since both NM and the
6074                 applet were having to hack this in anyway.  Remove the 'path' stuff from
6075                 NMExportedConnection
6076
6077         * Internally rename NMConnectionType -> NMConnectionScope
6078
6079         * Provide default implementations of the 'get_id' and 'get_settings' methods
6080                 of NMExportedConnection
6081
6082 2008-02-15  Dan Williams  <dcbw@redhat.com>
6083
6084         * src/nm-device-802-11-wireless.c
6085                 - (device_cleanup): release the AP list here too so that the AP list
6086                         doesn't survive across suspend/resume and up/down.  There is some
6087                         room for optimization, for example blow the list away when the card
6088                         brought back up, but only if the device has only been down for a
6089                         minute or more.
6090
6091 2008-02-15  Dan Williams  <dcbw@redhat.com>
6092
6093         * src/nm-hal-manager.c
6094                 - (modem_device_creator): recognize new HAL modem capabilities
6095
6096 2008-02-12  Dan Williams  <dcbw@redhat.com>
6097
6098         * system-settings/plugins/ifcfg-fedora/plugin.c
6099                 - (watch_path): handle IN_DELETE_SELF too
6100                 - (handle_connection_changed): notify when removing a connection
6101                 - (stuff_changed): don't warn on unknown inotify watches; handle the
6102                         case of a file moving out of the profile directory
6103
6104 2008-02-12  Dan Williams  <dcbw@redhat.com>
6105
6106         * system-settings/plugins/ifcfg-fedora/parser.c
6107                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6108
6109 2008-02-12  Dan Williams  <dcbw@redhat.com>
6110
6111         * libnm-util/nm-utils.c
6112                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6113                         just any empty array
6114
6115 2008-02-12  Dan Williams  <dcbw@redhat.com>
6116
6117         * system-settings/src/nm-system-config-interface.c
6118           system-settings/src/nm-system-config-interface.h
6119                 - (load_connections): get_connections() should now return an allocated
6120                         GSList that the system settings service will free
6121
6122         * system-settings/plugins/ifcfg-fedora/plugin.c
6123           system-settings/plugins/ifcfg-fedora/parser.h
6124           system-settings/plugins/ifcfg-fedora/parser.c
6125                 - Fix up inotify issues; handle keys-* files, handle new files appearing
6126                         in the profile directory, handle resolv.conf file changes
6127
6128 2008-02-10  Dan Williams  <dcbw@redhat.com>
6129
6130         * src/nm-device-802-3-ethernet.c
6131                 - (real_bring_up): save the supplicant interface state signal id
6132                 - (real_bring_down): disconnect from the supplicant interface state
6133                         signal
6134
6135 2008-02-07  Dan Williams  <dcbw@redhat.com>
6136
6137         * initscript/RedHat/NetworkManager.in
6138           initscript/RedHat/NetworkManagerDispatcher.in
6139                 - Add new-style LSB init headers
6140
6141 2008-02-07  Dan Williams  <dcbw@redhat.com>
6142
6143         * system-settings/src/dbus-settings.c
6144           system-settings/src/dbus-settings.h
6145                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6146                         table of secrets
6147                 - (connection_settings_get_secrets): consolidate error returns into
6148                         one place; use the new get_secrets() plugin interface function to
6149                         get secrets from the plugin itself rather than using GObject data
6150                         magic
6151
6152         * system-settings/src/main.c
6153                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6154                    load_connections): keep a private list of the plugin-returned
6155                         connections, don't use the plugin's GSList
6156
6157         * system-settings/plugins/ifcfg-fedora/plugin.c
6158                 - (watch_path): watch the path, not the filename (duh)
6159                 - (reload_all_connections): use the direct hash/equal functions; the
6160                         ones for int aren't appropriate here
6161                 - (get_secrets, system_config_interface_init): implement the
6162                         get_secrets() function
6163                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6164                         now in the connection's ConnectionData instead of being a GObject
6165                         data property
6166                 - (handle_profile_item_changed): ifcfg file path is now in the
6167                         connection's ConnectionData instead of being a GObject data property;
6168                         be sure to copy secrets over from the new connection to the existing
6169                         connection when updating the connection's settings
6170                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6171                         file descriptor
6172
6173         * system-settings/plugins/ifcfg-fedora/parser.c
6174           system-settings/plugins/ifcfg-fedora/parser.h
6175                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6176                    connection_data_copy_secrets, connection_data_free,
6177                    connection_data_add): new functions; connection data manipulation
6178                 - (make_wireless_security_setting): stuff secrets into the
6179                         connection data, not as GObject data items; make sure to close
6180                         the keys ifcfg file
6181                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6182                         connection data to the connection
6183
6184 2008-02-07  Dan Williams  <dcbw@redhat.com>
6185
6186         * system-settings/src/nm-system-config-interface.c
6187           system-settings/src/nm-system-config-interface.h
6188                 - Add a get_secrets() interface function to retrieve secrets for a
6189                         specific setting of a specific connection.  Document the interface
6190                         a bit more too.
6191
6192 2008-02-07  Dan Williams  <dcbw@redhat.com>
6193
6194         * src/nm-device-802-11-wireless.c
6195                 - (handle_auth_or_fail): new function; consolidate device activation
6196                         failure check after a certain number of failures getting secrets
6197                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6198                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6199                         the connection if secrets were requested more than a few times
6200                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6201                         tries here; otherwise they are cleared before the IP configure
6202                         timeout, which happens with open system WEP when key is wrong
6203                 - (activation_success_handler): clear wireless secrets tries here too
6204
6205 2008-02-07  Dan Williams  <dcbw@redhat.com>
6206
6207         * src/NetworkManagerPolicy.c
6208                 - (connection_updated): clear invalid tag when connection gets updated
6209                         to allow that connection to be tried again
6210                 - (nm_policy_new): save signal ids so they can be disconnected when
6211                         the policy is destroyed
6212                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6213                         and disconnect all signals from the manager object so that none
6214                         of the policy functions gets called after the policy is destroyed
6215
6216 2008-02-06  Dan Williams  <dcbw@redhat.com>
6217
6218         * src/nm-manager.c
6219                 - (finalize): remove devices a bit earlier; clean up system settings
6220                         poke
6221                 - (nm_manager_name_owner_changed): clean up system settings poke when
6222                         the service appears, and try to restart it if it fails
6223                 - (poke_system_settings_daemon_cb): try to get the system settings
6224                         service started through D-Bus service activation
6225                 - (initial_get_connections): start the system settings daemon if it's
6226                         not already running
6227
6228 2008-02-05  Dan Williams  <dcbw@redhat.com>
6229
6230         * src/supplicant-manager/nm-supplicant-config.c
6231                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6232                         broadcast networks too
6233
6234 2008-02-04  Dan Williams  <dcbw@redhat.com>
6235
6236         * system-settings/plugins/ifcfg-fedora/parser.c
6237                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6238                         need key_mgmt set too
6239                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6240                         .bak files; ensure that an error is set whenever NULL gets returned
6241
6242 2008-02-04  Dan Williams  <dcbw@redhat.com>
6243
6244         * system-settings/src/Makefile.am
6245                 - Install D-Bus service activation file for the system settings
6246                         service
6247
6248         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6249                 - D-Bus service activation file for system settings service
6250
6251 2008-02-04  Dan Williams  <dcbw@redhat.com>
6252
6253         * system-settings/src/main.c
6254                 - (parse_config_file): parse a config file
6255                 - (main): accept --config option and read plugins from config file
6256
6257 2008-02-04  Dan Williams  <dcbw@redhat.com>
6258
6259         * system-settings/plugins/ifcfg-fedora/plugin.c
6260                 - Change reported name to 'ifcfg-fedora'
6261                 - Use IFCFG_PLUGIN_NAME
6262
6263         * system-settings/plugins/ifcfg-fedora/plugin.c
6264                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6265
6266 2008-02-04  Dan Williams  <dcbw@redhat.com>
6267
6268         * system-settings/plugins/ifcfg-fedora/parser.c
6269                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6270                 - (make_connection_setting): use get_ifcfg_name()
6271                 - (make_wireless_security_setting): handle shadow key files
6272                 - (get_one_wep_key): treat empty string as NULL
6273
6274 2008-02-04  Dan Williams  <dcbw@redhat.com>
6275
6276         * src/supplicant-manager/nm-supplicant-manager.c
6277                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6278                         glib automatically reschedule
6279                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6280                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6281                         the supplicant
6282
6283 2008-02-01  Dan Williams  <dcbw@redhat.com>
6284
6285         * src/NetworkManagerPolicy.c
6286                 - (device_state_changed): schedule a change check when a device gets
6287                         deactivated so something happens if you disconnect GSM/CDMA
6288
6289 2008-01-31  Dan Williams  <dcbw@redhat.com>
6290
6291         * src/nm-device-802-11-wireless.h
6292           src/nm-device-802-11-wireless.c
6293                 - (ap_list_get_ap_by_ssid, is_associated,
6294                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6295                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6296                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6297                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6298                         function
6299
6300 2008-01-30  Dan Williams  <dcbw@redhat.com>
6301
6302         * system-settings/plugins/ifcfg
6303         * system-settings/plugins/ifcfg-fedora
6304                 - Move the ifcfg plugin to ifcfg-fedora
6305
6306 2008-01-24  Dan Williams  <dcbw@redhat.com>
6307
6308         * libnm-glib/nm-device-802-11-wireless.c
6309                 - (get_access_point): move the "/" check here; check for invalid path
6310                         too
6311                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6312                         to get_access_point()
6313                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6314                         to send signals for non-existent access points
6315
6316 2008-01-24  Dan Williams  <dcbw@redhat.com>
6317
6318         * libnm-glib/nm-device-802-11-wireless.c
6319                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6320
6321 2008-01-23  Dan Williams  <dcbw@redhat.com>
6322
6323         * libnm-glib/libnm_glib.c
6324                 - (libnm_glib_init): make thread joinable
6325                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6326
6327 2008-01-23  Dan Williams  <dcbw@redhat.com>
6328
6329         * test/libnm_glib_test.c
6330                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6331                 - (main): set up signal handlers; call libnm_glib_shutdown
6332
6333 2008-01-21  Dan Williams  <dcbw@redhat.com>
6334
6335         * include/NetworkManager.h
6336                 - Add CDMA mobile broadband card device type
6337
6338         * src/nm-hal-manager.c
6339                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6340                         must now be tagged with 'cdma' or 'gsm' capability
6341
6342         * src/nm-cdma-device.c
6343           src/nm-cdma-device.h
6344           src/Makefile.am
6345                 - Add the CDMA mobile broadband card device class
6346
6347         * libnm-util/nm-connection.c
6348                 - (register_default_settings): add NMSettingCdma
6349
6350         * libnm-util/nm-setting-cdma.c
6351           libnm-util/nm-setting-cdma.h
6352           libnm-util/Makefile.am
6353                 - Add the CDMA mobile broadband card setting class
6354
6355         * libnm-glib/nm-cdma-device.c
6356           libnm-glib/nm-cdma-device.h
6357           libnm-glib/Makefile.am
6358                 - Add the CDMA mobile broadband card GLib proxy class
6359
6360         * libnm-glib/nm-client.c
6361                 - (get_device): handle CDMA devices too
6362
6363 2008-01-21  Dan Williams  <dcbw@redhat.com>
6364
6365         * src/ppp-manager/nm-ppp-manager.c
6366                 - (ip4_config_get): set peer address too
6367
6368         * src/ppp-manager/nm-pppd-plugin.c
6369                 - (nm_ip_up): try harder to get the peer's address
6370
6371         * src/NetworkManagerSystem.c
6372                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6373                         address, use that too.  Otherwise, some PPP connections won't work.
6374
6375 2008-01-19  Dan Williams  <dcbw@redhat.com>
6376
6377         * src/NetworkManagerPolicy.c
6378                 - (nm_policy_device_change_check): system connections override user
6379                         connections; don't activate a user connection if there's a currently
6380                         active system connection, and new, better system connections always
6381                         interrupt user connections
6382
6383 2008-01-19  Dan Williams  <dcbw@redhat.com>
6384
6385         * src/nm-manager.h
6386                 - (nm_manager_get_connection_type): new function
6387
6388 2008-01-19  Dan Williams  <dcbw@redhat.com>
6389
6390         * src/nm-device-802-11-wireless.c
6391                 - (real_get_best_connection): collapse find_best_connection() into this
6392                         function
6393
6394 2008-01-19  Dan Williams  <dcbw@redhat.com>
6395
6396         * src/nm-device-802-3-ethernet.c
6397                 - (real_get_best_connection): collapse find_best_connection() into this
6398                         function
6399
6400 2008-01-18  Dan Williams  <dcbw@redhat.com>
6401
6402         * src/nm-device-802-3-ethernet.c
6403                 - (find_best_connection): check MAC address too
6404                 - (real_get_best_connection): let autoconnect=True connections activate
6405                         for devices that don't have carrier detection
6406
6407         * src/nm-device-802-11-wireless.c
6408                 - (find_best_connection): check MAC address too
6409
6410 2008-01-18  Dan Williams  <dcbw@redhat.com>
6411
6412         * system-settings/plugins/ifcfg/parser.c
6413                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6414
6415 2008-01-17  Dan Williams  <dcbw@redhat.com>
6416
6417         * src/nm-device-802-3-ethernet.c
6418                 - (nm_device_802_3_ethernet_carrier_on,
6419                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6420                         carrier events that might come in for devices that don't support
6421                         carrier detect
6422
6423 2008-01-17  Dan Williams  <dcbw@redhat.com>
6424
6425         * src/nm-device-interface.c
6426                 - (nm_device_interface_check_connection_conflicts): need to actually
6427                         get the interface, not cast to the object
6428
6429         * src/nm-device.c
6430                 - (nm_device_check_connection_conflicts): need to get the device class,
6431                         not cast the device to the device class
6432
6433 2008-01-17  Dan Williams  <dcbw@redhat.com>
6434
6435         * src/nm-device-802-11-wireless.c
6436                 - (real_check_connection_conflicts): ignore connections that aren't
6437                         wireless connections
6438
6439 2008-01-17  Dan Williams  <dcbw@redhat.com>
6440
6441         * src/NetworkManagerPolicy.c
6442                 - (nm_policy_device_change_check): clear change check idle here
6443                 - (device_change_check_done): remove
6444                 - (schedule_change_check): simplify
6445
6446 2008-01-17  Dan Williams  <dcbw@redhat.com>
6447
6448         * src/nm-manager.c
6449                 - (check_connection_allowed): take an NMDeviceInterface instead of
6450                         an NMDevice object as an argument
6451                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6452                         check_connection_allowed()
6453
6454 2008-01-13  Dan Williams  <dcbw@redhat.com>
6455
6456         * libnm-glib/nm-device-802-11-wireless.c
6457                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6458
6459 2008-01-12  Dan Williams  <dcbw@redhat.com>
6460
6461         * src/nm-device-802-11-wireless.c
6462                 - (activation_success_handler): if a match was found in the scan list
6463                         and that match is a hidden AP, update that AP's SSID
6464
6465 2008-01-11  Dan Williams  <dcbw@redhat.com>
6466
6467         * src/NetworkManagerAP.c
6468                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6469
6470         * src/nm-device-802-11-wireless.c
6471                 - (get_active_ap): do two passes over the scan list if the caller
6472                         requests that hidden APs get matched too; during the second pass
6473                         when matching hidden APs, ignore the SSID since hidden APs in the
6474                         scan list don't have an SSID yet
6475                 - (periodic_update): move some checks to
6476                         nm_device_802_11_periodic_update() because not all callers need them
6477                 - (nm_device_802_11_periodic_update): move some checks here from
6478                         perodic_update()
6479                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6480                         matching on incoming scan results, because the fake AP's flags
6481                         might be slightly different (yet still compatible) with the incoming
6482                         scan result's flags and they might actually be the same AP; update
6483                         the rate on merged APs too
6484                 - (activation_success_handler): update the frequency of the fake AP
6485                         on successful connection; match hidden APs too since if the
6486                         current AP is fake, there might already be a scan result in the
6487                         scan list for the desired AP, just without it's SSID filled in yet
6488
6489 2008-01-10  Dan Williams  <dcbw@redhat.com>
6490
6491         * src/NetworkManagerAP.c
6492                 - (foreach_property_cb): catch more hidden SSID formats
6493
6494 2008-01-10  Dan Williams  <dcbw@redhat.com>
6495
6496         Fix gnome.org #464215.  Requires the kernel patch titled
6497         "Introduce WEXT scan capabilities" but will handle the patch not being
6498         present, you'll just continue to have problems with hidden SSIDs when
6499         using mac80211-based drivers.
6500
6501         * src/supplicant-manager/nm-supplicant-config.h
6502           src/supplicant-manager/nm-supplicant-config.c
6503                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6504                         whether the driver supports SSID scans or not.  If it does, and if
6505                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6506
6507         * src/nm-device-802-11-wireless.c
6508                 - (constructor): check whether or not the driver supports SSID scans
6509                 - (build_supplicant_config): pass driver SSID scan capability when
6510                         building the wireless bits of the supplicant config
6511
6512 2008-01-09  Dan Williams  <dcbw@redhat.com>
6513
6514         * src/nm-device.c
6515           src/nm-device.h
6516                 - (device_activation_precheck, check_connection_complete): remove this
6517                         virtual function; incomplete connections should be invalid by
6518                         definition, complete-ness should be checked in the setting's
6519                         verify function
6520
6521         * src/nm-serial-device.c
6522           src/nm-gsm-device.c
6523                 - (real_check_connection_complete): remove
6524
6525         * libnm-util/nm-setting-serial.c
6526                 - (verify): new function; ensure there is a PPP setting too
6527
6528         * libnm-util/nm-setting-gsm.c
6529                 - (verify): ensure there is a serial setting too
6530
6531 2008-01-06  Dan Williams  <dcbw@redhat.com>
6532
6533         * src/dhcp-manager/nm-dhcp-manager.c
6534                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6535                         (gnome.org #332953)
6536
6537 2008-01-04  Dan Williams  <dcbw@redhat.com>
6538
6539         * src/named-manager/nm-named-manager.c
6540                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6541                         nameservers if the secondary config doesn't have any
6542                         (gnome.org #346833)
6543
6544 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6545
6546         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6547         with G_PARAM_CONSTRUCT so that they get the default values.
6548
6549         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6550         the monitoring device and prints out the output for now. Or more precicely, doesn't
6551         do absolutely anything right now since the montoring device argument is never set.
6552
6553         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6554         requires it's own knob to turn it on.
6555         (config_fd): Add NMSettingSerial to the arguments list.
6556         (nm_serial_device_open): Ditto.
6557         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6558         (nm_serial_device_get_io_channel): Implement.
6559
6560         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6561         a new reference every time (and forgetting to release it sometimes) is a pain and
6562         it's not like NMManager could work without dbus.
6563         (nm_manager_add_device): Register the added device on dbus here.
6564
6565         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6566         device.
6567
6568         * src/nm-device.c (constructor): Don't export the device here, instead export
6569         it when it's added to the NMManager's device list.
6570
6571 2007-12-31  Dan Williams  <dcbw@redhat.com>
6572
6573         * src/nm-device-interface.c
6574           src/nm-device-interface.h
6575                 - (nm_device_interface_check_connection_conflicts): new function
6576
6577         * src/nm-device.c
6578           src/nm-device.h
6579                 - (nm_device_check_connection_conflicts): new function
6580                 - (device_activation_precheck): don't require subclasses to implement
6581                         check_connection_complete()
6582                 - check_connection() -> check_connection_complete()
6583
6584         * src/nm-device-802-11-wireless.c
6585                 - (real_check_connection): remove; unused
6586                 - (real_check_connection_conflicts): implement, handle lockdown for
6587                         system connections
6588
6589         * src/nm-device-802-3-ethernet.c
6590                 - (real_check_connection): remove; unused
6591
6592         * src/nm-manager.c
6593                 - (check_connection_allowed): new function
6594                 - (nm_manager_activate_device): ensure the connection being requested
6595                         is allowed to be activated
6596
6597         * src/nm-serial-device.c
6598           src/nm-gsm-device.c
6599                 - real_check_connection() -> real_check_connection_complete()
6600
6601 2007-12-27  Dan Williams  <dcbw@redhat.com>
6602
6603         * src/nm-device-interface.c
6604           src/nm-device-interface.h
6605                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6606                         normalize and expand errors
6607                 - (nm_device_interface_init): register errors so they can be marshalled
6608                         through dbus-glib
6609                 - (nm_device_interface_activate): ensure that failure of activation
6610                         returns an error
6611
6612         * src/nm-device.c
6613           src/nm-device.h
6614                 - (device_activation_precheck): implementations of check_connection()
6615                         now take a GError and must fill it in if the check fails.  Return
6616                         more descriptive error if the requested connection is already
6617                         activating
6618                 - (nm_device_activate): actually try to return descriptive errors on
6619                         failures
6620
6621         * src/nm-device-802-11-wireless.c
6622           src/nm-device-802-3-ethernet.c
6623           src/nm-serial-device.c
6624           src/nm-gsm-device.c
6625                 - (real_check_connection): return more descriptive errors on failure
6626
6627         * src/NetworkManagerPolicy.c
6628                 - (nm_policy_device_change_check): print activation errors in the logs
6629
6630         * src/nm-manager.c
6631                 - (nm_manager_error_quark, nm_manager_error_get_type,
6632                    nm_manager_class_init): new errors
6633                 - (nm_manager_activate_device): handle errors
6634                 - (nm_manager_error_new): removed
6635                 - (wait_for_connection_expired, connection_added_default_handler,
6636                    impl_manager_activate_device): better error handling
6637
6638 2007-12-27  Dan Williams  <dcbw@redhat.com>
6639
6640         Fixes gnome.org #466954
6641
6642         * src/supplicant-manager/nm-supplicant-settings-verify.c
6643                 - Allow 'frequency' network property
6644
6645         * src/supplicant-manager/nm-supplicant-config.c
6646           src/supplicant-manager/nm-supplicant-config.h
6647                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6648                         for callers to specify the frequency an Ad-Hoc network should operate
6649                         on.  Some drivers require this to successfully create an Ad-Hoc
6650                         network.
6651
6652         * src/nm-device-802-11-wireless.c
6653                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6654                         guint32 value in MHz
6655                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6656                         iw_freq_to_uint32()
6657                 - (find_supported_frequency): new function; find a free supported
6658                         frequency for a user-created Ad-Hoc network
6659                 - (build_supplicant_config): if no frequency was specified for a user-
6660                         created Ad-Hoc network, find a free one to use
6661                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6662                         a specific object as user-created
6663
6664 2007-12-27  Dan Williams  <dcbw@redhat.com>
6665
6666         * libnm-util/nm-utils.c
6667           libnm-util/nm-utils.h
6668                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6669                         for adhoc networks
6670
6671 2007-12-24  Dan Williams  <dcbw@redhat.com>
6672
6673         * libnm-util/nm-setting-wireless.c
6674                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6675                         185, 187, 188, 192, and 196
6676
6677 2007-12-24  Dan Williams  <dcbw@redhat.com>
6678
6679         * src/nm-device-802-11-wireless.c
6680                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6681                         a channel # instead of a frequency
6682
6683 2007-12-24  Dan Williams  <dcbw@redhat.com>
6684
6685         * src/NetworkManagerAP.c
6686           src/NetworkManagerAP.h
6687                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6688                 - (freq_to_channel): handle split band tables
6689                 - (channel_to_freq): handle split band tables, take a band argument
6690
6691 2007-12-24  Dan Williams  <dcbw@redhat.com>
6692
6693         * libnm-util/nm-setting-connection.h
6694           libnm-util/nm-setting-connection.c
6695                 - Add 'lockdown' member
6696
6697 2007-12-22  Dan Williams  <dcbw@redhat.com>
6698
6699         * libnm-util/nm-setting-wireless.c
6700                 - (nm_setting_wireless_class_init): add missing 'rate' property
6701                         specification
6702
6703 2007-12-18  Dan Williams  <dcbw@redhat.com>
6704
6705         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6706
6707         * src/nm-netlink-monitor.c
6708           src/nm-netlink-monitor.h
6709                 - Remove handrolled netlink, use libnl instead
6710
6711         * src/nm-device-802-3-ethernet.c
6712                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6713                    nm_device_802_3_ethernet_carrier_on): use new names
6714
6715 2007-12-17  Dan Williams  <dcbw@redhat.com>
6716
6717         * configure.in
6718                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6719                         and fixes memory leaks)
6720
6721         * src/nm-netlink.c
6722                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6723                         automatically handle the netlink PID
6724
6725 2007-12-17  Dan Williams  <dcbw@redhat.com>
6726
6727         Patch from Michael Biebl <biebl@debian.org>
6728
6729         * configure.in
6730           src/ppp-manager/Makefile.am
6731                 - fix up install dir of pppd plugin
6732                 - clean up configure.in a bit
6733
6734 2007-12-12  Dan Williams  <dcbw@redhat.com>
6735
6736         * system-settings/src/nm-system-settings.conf
6737                 - Allow non-root clients (like the applet) to read settings
6738
6739 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6740
6741         * Replace all occurences of 'UMTS' with 'GSM'.
6742
6743 2007-12-07  Dan Williams  <dcbw@redhat.com>
6744
6745         * src/nm-serial-device.c
6746                 - (real_is_up): serial devices are always "up"
6747
6748 2007-12-07  Dan Williams  <dcbw@redhat.com>
6749
6750         * src/nm-netlink.c
6751           src/NetworkManagerSystem.c
6752                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6753                         twice (gnome.org #491047)
6754                 - Make more robust against allocation-related failures should they occur
6755
6756 2007-12-07  Dan Williams  <dcbw@redhat.com>
6757
6758         Noticed by Christian Persch <chpe@gnome.org>
6759
6760         Always chain up to parent object in dispose and finalize handlers.
6761                 (gnome.org #433112)
6762
6763 2007-12-07  Dan Williams  <dcbw@redhat.com>
6764
6765         * src/nm-device-802-11-wireless.c
6766                 - Wrap #include of linux/mii.h to fix redefined structures due to
6767                         incorrect kernel headers (gnome.org #350061)
6768
6769 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6770
6771         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6772         before doing anything else.
6773         (init_modem): Move modem initialization here.
6774
6775         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6776         (nm_serial_device_flash): Implement.
6777
6778         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6779         changes signal is "StateChanged" and not "Status".
6780         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6781
6782 2007-12-06  Dan Williams  <dcbw@redhat.com>
6783
6784         * src/supplicant-manager/nm-supplicant-config.c
6785                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6786                         to only send some options when they make sense; also send phase2
6787                         option to the supplicant (possible fix for rh #399631)
6788
6789 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6790
6791         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6792         arguments: This whole file shouldn't really know anything about NMDevices, it
6793         should deal only with device interfaces. Devices might have different ifaces for
6794         different stuff and this place shouldn't know anything about it.
6795
6796         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6797         (global_state_changed): Implement. In the current NM it's not really important,
6798         but will be required in the case of multiple active devices. (Or even better,
6799         if stuff like that gets moved out from NM).
6800
6801         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6802         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6803         instead.
6804
6805         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6806         devices like serial devices (ttyS0 and ppp0 for example).
6807         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6808         set.
6809         (nm_device_set_ip_iface): Implement.
6810         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6811         after setting ip4_config from here ...
6812         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6813         than this function should call nm_system_device_set_from_ip4_config() because no
6814         other code has enough information on which arguments to use. So instead, other code
6815         could just set the new ip4 config using this function and everyone is happy.
6816
6817         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6818         if we happen to get deactivated while something is pending.
6819         (automatic_registration): Handle the response that indicates pending network
6820         registration and wait until the pending registration is done.
6821         (real_deactivate_quickly): If there's a pending operation, cancel it.
6822
6823         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6824         (real_deactivate_quickly): ... and remove it when it's down.
6825         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6826         it if needed.
6827         (nm_serial_device_wait_for_reply): Ditto.
6828
6829 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6830
6831         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6832         (get_network_done): Remove newline, nm_info() does it already.
6833         (real_act_stage1_prepare): Turn the modem echo off.
6834
6835         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6836         device, set the route to the device interface. This is a hack.
6837
6838         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6839         return, no need for a new-line.
6840         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6841         Change the device iface here (ugh).
6842         (real_act_stage4_get_ip4_config): Implement.
6843         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6844         Restore the device iface.
6845
6846         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6847         device is not wired or wireless (eg, automatically upped) device.
6848
6849         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6850         it isn't.
6851         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6852
6853         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6854         before calling it's is_device_fn().
6855
6856 2007-12-05  Dan Williams  <dcbw@redhat.com>
6857
6858         * libnm-util/nm-utils.c
6859                 - (nm_utils_register_value_transformations,
6860                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6861                         GHashTables of GValues too
6862
6863 2007-12-04  Dan Williams  <dcbw@redhat.com>
6864
6865         * initscript/RedHat/NetworkManager.in
6866                 - No longer start named; it's D-Bus interface is going away
6867
6868 2007-12-04  Dan Williams  <dcbw@redhat.com>
6869
6870         Patch from Michael Biebl <biebl@debian.org>
6871
6872         * system-settings/plugins/ifcfg/Makefile.am
6873           system-settings/src/main.c
6874           system-settings/src/Makefile.am
6875                 - Put system settings plugins in NM plugins dir
6876
6877         * src/ppp-manager/Makefile.am
6878           src/ppp-manager/nm-ppp-manager.c
6879                 - Move pppd plugin to NM plugins dir
6880
6881 2007-12-04  Dan Williams  <dcbw@redhat.com>
6882
6883         * libnm-util/nm-setting-vpn-properties.h
6884                 - Clarify usage of the 'data' member of the setting
6885
6886         * libnm-util/nm-setting-vpn-properties.c
6887                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6888                 - (set_property): just remove all the settings; don't recreate the has
6889                 - (update_one_secret): don't need to create the hash table here since
6890                         it should always be present
6891
6892 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6893
6894         Implement PIN and PUK requesting.
6895
6896         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6897         (enter_pin): Handle PIN and PUK requests.
6898         (real_act_stage1_prepare): Clear the secret type.
6899         (real_connection_secrets_updated): Implement this class method to get
6900         notified when new secrets arrive.
6901         (nm_umts_device_class_init): Add private data back to the umts device class
6902         to store the required secret type.
6903
6904 2007-12-01  Dan Williams  <dcbw@redhat.com>
6905
6906         * system-settings/plugins/ifcfg/parser.c
6907                 - (parser_parse_file): don't try to verify NULL connections
6908
6909 2007-12-01  Dan Williams  <dcbw@redhat.com>
6910
6911         * system-settings/src/main.c
6912                 - (load_connections, add_connection_to_settings): actually export
6913                         plugin-provided connections over D-Bus so NM can get them
6914
6915 2007-12-01  Dan Williams  <dcbw@redhat.com>
6916
6917         * system-settings/plugins/ifcfg/parser.c
6918           system-settings/plugins/ifcfg/parser.h
6919           system-settings/plugins/ifcfg/plugin.c
6920                 - Hook up more inotify bits (untested)
6921
6922 2007-11-29  Dan Williams  <dcbw@redhat.com>
6923
6924         * system-settings/src/nm-system-config-interface.h
6925           system-settings/src/nm-system-config-interface.c
6926                 - (nm_system_config_interface_init,
6927                    nm_system_config_interface_get_connections): add
6928
6929         * system-settings/src/main.c
6930                 - (load_plugins, load_connections, main): use a GSList for plugins
6931                         to ensure priority ordering
6932
6933         * system-settings/plugins/ifcfg/parser.c
6934                 - (ifcfg_error_quark): move to plugin.c, and rename
6935
6936         * system-settings/plugins/ifcfg/plugin.h
6937           system-settings/plugins/ifcfg/plugin.c
6938                 - (ifcfg_plugin_error_quark): move here from parser.c
6939                 - rework connection loading and initialization
6940                 - Add preliminary inotify support for network profile config file
6941
6942 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6943
6944         Merge the beginnings of the new GSM card support.
6945
6946         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6947         ppp watch source before killing pppd - If this happens from g_object_unref()
6948         then the ppp manager is already destroyed by the time the watch callback runs.
6949
6950         * src/nm-hal-manager.c: Add a device_type_name string to the device
6951         creators, so that we can print a nice human readable string when a
6952         device is added.
6953
6954         * src/nm-umts-device.c (automatic_registration_get_network): Query
6955         for the activated network, not much is done with the result thought.
6956
6957         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6958         (ppp_ip4_config): Change the device state to activated here for now.
6959         (real_check_connection): Make sure the connection includes ppp setting.
6960
6961         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6962
6963         * libnm-glib/Makefile.am: Add the new files to build.
6964
6965         * libnm-glib/nm-umts-device.c: 
6966         * libnm-glib/nm-umts-device.h: Implement.
6967
6968 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6969
6970         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6971         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6972
6973         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6974         the timeout source - this function is only called when the timeout source has
6975         been removed.
6976         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6977         to be big enough to contain the terminating zero element as well.
6978         The timeout argument is meant to be in seconds now.
6979         (real_deactivate_quickly): Implement.
6980
6981         * src/NetworkManager.conf: Allow root to own 
6982         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6983
6984         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6985         (not unsigned ints).
6986
6987         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6988         small issue with parity bounds - capital letters have lower ascii codes
6989         than lower case letters.
6990
6991         * libnm-util/nm-connection.c (register_default_settings): Register serial
6992         and umts settings.
6993
6994 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6995
6996         Remove the "index" property from devices as not all device types have this.
6997
6998         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6999
7000         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7001         (wired_device_creator): Get the device interface from hal to create the device.
7002         (wireless_device_creator): Ditto.
7003
7004         * src/nm-device.c (nm_device_init): Remove the index member.
7005         (constructor): Remove the checks for index property, make interface property
7006         a require constructor property.
7007         Use the HAL udi for DBus path for devices.
7008         (nm_device_get_index): Remove.
7009         (set_property): Remove index handling.
7010         (get_property): Ditto.
7011         (nm_device_get_dbus_path): Remove.
7012
7013         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7014         property.
7015
7016         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7017         Access the device index through it's interface.
7018         (nm_device_802_3_ethernet_link_deactivated): Ditto.
7019         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7020         index argument. Add interface argument.
7021
7022         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7023         the useless test_dev argument. Remove index argument. Add interface arugment.
7024
7025         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7026         device index through interface.
7027         (nm_system_set_mtu): Ditto.
7028
7029         * introspection/nm-device.xml: Remove the "Index" property.
7030
7031 2007-11-21  Tambet Ingo  <tambet@gmail.com>
7032
7033         * src/nm-serial-device.c: 
7034         * src/nm-serial-device.c: 
7035         * src/nm-umts-device.c:
7036         * src/nm-umts-device.h: Implement.
7037
7038         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
7039         allocated by libhal.
7040         (modem_device_creator): Implement.
7041         (register_built_in_creators): Register the modem creator.
7042
7043         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
7044         Remove the unused test_dev argument.
7045
7046         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7047
7048         * src/Makefile.am: Add new files to build.
7049         Link in ppp-manager.
7050
7051         * libnm-util/nm-setting-umts.c: 
7052         * libnm-util/nm-setting-umts.h: 
7053         * libnm-util/nm-setting-serial.c: 
7054         * libnm-util/nm-setting-serial.h: Implement.
7055
7056         * libnm-util/Makefile.am: Add new files to build.
7057
7058 2007-11-28  Dan Williams  <dcbw@redhat.com>
7059
7060         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7061
7062         Support DHCP-provided static routes.
7063
7064         * src/nm-ip4-config.h
7065           src/nm-ip4-config.c
7066                 - Add get/set functions for static routes
7067
7068         * src/dhcp-manager/nm-dhcp-manager.c
7069                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7070                         DHCP response
7071
7072         * src/NetworkManagerSystem.c
7073                 - (nm_system_device_set_from_ip4_config): set any static routes on the
7074                         interface when applying the IP4Config
7075
7076 2007-11-28  Dan Williams  <dcbw@redhat.com>
7077
7078         * src/nm-device-802-11-wireless.c
7079                 - (real_act_stage1_prepare): mark APs created for hidden networks
7080                         as non-broadcasting
7081
7082 2007-11-27  Dan Williams  <dcbw@redhat.com>
7083
7084         * system-settings/src/nm-system-config-interface.h
7085                 - Note how to store secrets on NMSetting objects
7086
7087         * system-settings/src/dbus-settings.c
7088                 - (connection_settings_get_secrets): implement
7089
7090 2007-11-27  Dan Williams  <dcbw@redhat.com>
7091
7092         * system-settings/plugins/ifcfg/Makefile.am
7093           system-settings/plugins/ifcfg/parser.c
7094           system-settings/plugins/ifcfg/parser.h
7095           system-settings/plugins/ifcfg/plugin.c
7096                 - Parse wireless connections too
7097
7098         * system-settings/src/dbus-settings.c
7099           system-settings/src/dbus-settings.h
7100           system-settings/src/main.c
7101                 - Handle connection update/removal if the plugin supports it
7102
7103 2007-11-27  Dan Williams  <dcbw@redhat.com>
7104
7105         * src/nm-dbus-manager.h
7106           src/nm-hal-manager.c
7107                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7108                         do it for them
7109
7110         * src/Makefile.am
7111           src/NetworkManagerDbusUtils.c
7112           src/NetworkManagerDbusUtils.h
7113                 - Remove these two source files; they are unused
7114
7115 2007-11-27  Dan Williams  <dcbw@redhat.com>
7116
7117         * src/vpn-manager/nm-vpn-manager.c
7118                 - (impl_vpn_manager_connect): fix system settings check (found by
7119                         James M. Leddy)
7120
7121 2007-11-26  Dan Williams  <dcbw@redhat.com>
7122
7123         * Fix warnings so everything compiles with --enable-more-warnings
7124
7125 2007-11-25  Dan Williams  <dcbw@redhat.com>
7126
7127         * system-settings/*
7128                 - Rework structure and code to use GModule-loaded plugins and a plugin
7129                         interface that plugins export to the system settings service
7130
7131 2007-11-21  Dan Williams  <dcbw@redhat.com>
7132
7133         * system-settings/*
7134                 - Add Soren's system settings service.  Needs work for distros other
7135                         than Fedora; the backends from NM should mostly migrate to here
7136                         and be converted to GObjects
7137
7138 2007-11-21  Dan Williams  <dcbw@redhat.com>
7139
7140         * libnm-util/nm-setting-vpn-properties.c
7141                 - (set_property): must deep-copy the given settings hash, otherwise
7142                         double-free errors occur when the setting is disposed of
7143
7144 2007-11-21  Dan Williams  <dcbw@redhat.com>
7145
7146         * src/vpn-manager/nm-vpn-act-request.h
7147           src/vpn-manager/nm-vpn-act-request.c
7148                 - Remove; unused
7149
7150 2007-11-20  Dan Williams  <dcbw@redhat.com>
7151
7152         * libnm-util/nm-utils.c
7153                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7154                    nm_utils_convert_ip4_addr_struct_array_to_string,
7155                    nm_utils_register_value_transformations): print out the readable
7156                         values of more types of properties of NMSettings subclasses
7157
7158 2007-11-20  Dan Williams  <dcbw@redhat.com>
7159
7160         * libnm-util/nm-setting-ip4-config.c
7161                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7162                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7163                         marshal GValueArrays inside collections, so switch to types that it
7164                         can actually marshal/demarshal
7165
7166 2007-11-16  Dan Williams  <dcbw@redhat.com>
7167
7168         * libnm-util/nm-setting-wireless-security.c
7169                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7170                         minimal verification of EAP methods too
7171                 - (verify): verify phase1 eap methods too
7172
7173 2007-11-15  Dan Williams  <dcbw@redhat.com>
7174
7175         * libnm-glib/nm-device.h
7176           libnm-glib/nm-device.c
7177                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7178                         const char *
7179
7180 2007-11-15  Dan Williams  <dcbw@redhat.com>
7181
7182         * libnm-glib/nm-device.c
7183                 - (get_product_and_vendor): don't try to free things that should be
7184                         freed
7185
7186 2007-11-15  Dan Williams  <dcbw@redhat.com>
7187
7188         * src/NetworkManagerUtils.c
7189                 - (nm_ethernet_address_is_valid): unbreak previous fix
7190
7191 2007-11-15  Dan Williams  <dcbw@redhat.com>
7192
7193         * src/supplicant-manager/nm-supplicant-config.c
7194                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7195                         options
7196
7197 2007-11-15  Dan Williams  <dcbw@redhat.com>
7198
7199         * src/NetworkManagerUtils.c
7200                 - (nm_ethernet_address_is_valid): fix style, clarify
7201                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7202
7203         * src/nm-device-802-11-wireless.c
7204                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7205                 - (nm_device_802_11_wireless_get_ssid,
7206                    nm_device_802_11_wireless_get_bssid,
7207                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7208                         before calling the ioctl; fixes valgrind-reported jump depends on
7209                         uninitialized value errors
7210
7211 2007-11-15  Dan Williams  <dcbw@redhat.com>
7212
7213         * libnm-util/nm-setting.c
7214                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7215                         unecessary to serialize 'name'
7216
7217         * src/nm-activation-request.c
7218                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7219                         the GetSecrets call
7220
7221 2007-11-15  Dan Williams  <dcbw@redhat.com>
7222
7223         * libnm-util/nm-setting-connection.h
7224           libnm-util/nm-setting-connection.c
7225                 - Rename the 'name' property to 'id', because it conflicted with the
7226                         NMSetting superclass' 'name' property.
7227
7228         * libnm-util/nm-setting.c
7229                 - (nm_setting_to_hash): serialize the 'name' property
7230                 - (one_property_cb): ignore 'name' on deserialization of a connection
7231
7232         * src/nm-device-802-11-wireless.c
7233           src/vpn-manager/nm-vpn-connection.c
7234           src/NetworkManagerPolicy.c
7235                 - Fix up for NMSettingConnection 'name'->'id' changes
7236
7237 2007-11-13  Dan Williams  <dcbw@redhat.com>
7238
7239         * libnm-glib/nm-device-802-11-wireless.h
7240           libnm-glib/nm-device-802-11-wireless.c
7241                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7242
7243         * test/nm-tool.c
7244           libnm-glib/libnm-glib-test.c
7245                 - Fixes for above change
7246
7247 2007-11-12  Dan Williams  <dcbw@redhat.com>
7248
7249         * src/supplicant-manager/nm-supplicant-settings-verify.c
7250                 - Allow fragment_size option
7251
7252         * src/supplicant-manager/nm-supplicant-settings-verify.c
7253                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7254                         EAP fragment size than the default to help some TLS connections
7255
7256 2007-11-12  Dan Williams  <dcbw@redhat.com>
7257
7258         Make certs actually work.  The private key is now a secret, and should be
7259         decrypted when requested by NM.  The private key and phase2 private key
7260         passwords are no longer interesting to NM because they should be used by
7261         the settings service to decrypt the private key itself before passing it
7262         to NM, and hence have been removed as fields.
7263
7264         * libnm-util/nm-setting-wireless-security.h
7265           libnm-util/nm-setting-wireless-security.c
7266                 - Remove private-key-passwd and phase2-private-key-passwd from
7267                         properties
7268                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7269                    need_secrets): use property #defines instead strings to keep things
7270                         consistent
7271                 - (need_secrets_tls): if a client certificate is present but no
7272                         private key, request the private key
7273                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7274                         remove private key password stuff, mark private keys as secret
7275
7276         * src/supplicant-manager/nm-supplicant-settings-verify.c
7277                 - Remove private_key_passwd and private_key2_passwd from opt_table
7278
7279 2007-11-09  Dan Williams  <dcbw@redhat.com>
7280
7281         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7282         Since the vpn-properties are managed and known by the VPN daemons themselves,
7283         libnm-util doesn't know what's secret and what's in the setting's 'data'
7284         member.
7285
7286         * libnm-util/nm-setting.h
7287           libnm-util/nm-setting.c
7288                 - Add the ability for subclasses to override update_one_secret
7289
7290         * libnm-util/nm-setting-vpn-properties.c
7291                 - Override update_one_secret and just copy the values into the
7292                         internal table
7293
7294 2007-11-09  Dan Williams  <dcbw@redhat.com>
7295
7296         * libnm-glib/nm-settings.h
7297           libnm-glib/nm-settings.c
7298                 - (nm_settings_new_error): remove
7299                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7300                         clients should use g_set_error() with NM_SETTINGS_ERROR
7301
7302 2007-11-09  Dan Williams  <dcbw@redhat.com>
7303
7304         * src/supplicant-manager/nm-supplicant-config.c
7305                 - (nm_supplicant_config_add_setting_wireless_security): private key
7306                         passwords are never sent to wpa_supplicant, because the supplicant
7307                         should never be reading random files from the disk.  Clients like
7308                         the applet are required to decrypt the private keys and send NM
7309                         the decrypted blobs.
7310
7311 2007-11-08  Dan Williams  <dcbw@redhat.com>
7312
7313         * libnm-util/nm-setting-wireless-security.h
7314           libnm-util/nm-setting-wireless-security.c
7315                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7316                         members to 802-11-wireless-security structure.  This should be used
7317                         to indicate that the values in private-key and phase2-private-key
7318                         are already decrypted by the user agent, and that no
7319                         private-key-passwd or phase2-private-key-passwd should be expected.
7320                         It is not meant to be a stored configuration value, but meant to
7321                         be set when the conneciton is sent to NM over dbus.
7322
7323 2007-11-08  Dan Williams  <dcbw@redhat.com>
7324
7325         * libnm-util/nm-connection.h
7326           libnm-util/nm-connection.c
7327                 - (nm_connection_need_secrets): add argument to return hints
7328
7329         * src/nm-device-802-11-wireless.c
7330                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7331                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7332                         nm_connection_need_secrets() change
7333
7334 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7335
7336         Rework NMSetting structures: Move each setting to it's own file.
7337         Convert to GObject. Remove home grown setting types and use GTypes.
7338         Use GObject property introspection for hash conversion, enumerating
7339         properties, etc.
7340
7341         * libnm-util/nm-setting-connection.[ch]
7342         * libnm-util/nm-setting-ip4-config.[ch]
7343         * libnm-util/nm-setting-ppp.[ch]
7344         * libnm-util/nm-setting-vpn.[ch]
7345         * libnm-util/nm-setting-vpn-properties.[ch]
7346         * libnm-util/nm-setting-wired.[ch]
7347         * libnm-util/nm-setting-wireless.[ch]
7348         * libnm-util/nm-setting-wireless-security.[ch]
7349
7350         New files, each containing a setting.
7351
7352         * libnm-util/nm-setting-template.[ch]: A template for creating new
7353         settings. To use it, just replace 'template' with the new setting
7354         name, and you're half-way done.
7355
7356         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7357         introspection instead of internal types and tables.
7358
7359         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7360
7361         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7362         GValue types defined by dbus-glib for composed types like collections,
7363         structures and maps.
7364
7365         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7366         a setting from connection takes the setting type now. Also, since
7367         the settings are in multiple files, include relevant settings.
7368
7369 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7370
7371         * configure.in:
7372         * src/backends/NetworkManagerGentoo.c:
7373         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7374         providers in Gentoo.
7375
7376 2007-10-31  Dan Williams  <dcbw@redhat.com>
7377
7378         * libnm-util/nm-connection.c
7379                 - (gvalue_to_string): handle UINT32 arrays
7380
7381 2007-10-31  Dan Williams  <dcbw@redhat.com>
7382
7383         * libnm-glib/nm-device.h
7384           libnm-glib/nm-device.c
7385                 - (nm_device_get_description): remove
7386                 - (nm_device_get_product, nm_device_get_vendor): add
7387                 - (nm_device_update_description): new function (private); walk HAL
7388                         devices to get product and vendor IDs for a specific device
7389
7390 2007-10-31  Dan Williams  <dcbw@redhat.com>
7391
7392         * src/nm-device-802-11-wireless.c
7393                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7394
7395 2007-10-29  Dan Williams  <dcbw@redhat.com>
7396
7397         * src/nm-hal-manager.c
7398                 - (device_added, device_new_capability): ignore device additions while
7399                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7400                         kernel module is unloaded and reloaded and recognized by NM again.
7401
7402 2007-10-26  Dan Williams  <dcbw@redhat.com>
7403
7404         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7405
7406         * src/NetworkManagerAP.c
7407           src/NetworkManagerAP.h
7408           libnm-glib/nm-access-point.c
7409           libnm-glib/nm-access-point.h
7410                 - Make 'rate' property a guint32 to better match with WEXT and
7411                         wpa_supplicant and to allow representation of higher bitrates
7412
7413         * src/nm-device-802-11-wireless.c
7414           introspection/nm-device-802-11-wireless.xml
7415           libnm-glib/nm-device-802-11-wireless.c
7416           libnm-glib/nm-device-802-11-wireless.h
7417                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7418
7419         * src/nm-device-802-3-ethernet.c
7420           src/nm-device-802-3-ethernet.h
7421           introspection/nm-device-802-3-ethernet.xml
7422           libnm-glib/nm-device-802-3-ethernet.c
7423           libnm-glib/nm-device-802-3-ethernet.h
7424                 - Make 'speed' property a guint32 to match other speed/rate types
7425                 - Make nm_device_802_3_ethernet_get_speed() static
7426
7427         * test/nm-tool.c
7428                 - Update for the changes above
7429
7430 2007-10-26  Dan Williams  <dcbw@redhat.com>
7431
7432         * src/named-manager/nm-named-manager.c
7433                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7434                     not calling fclose() twice on some error conditions
7435
7436 2007-10-26  Dan Williams  <dcbw@redhat.com>
7437
7438         * src/nm-activation-request.c
7439                 - (dispose): clean up indentation; get the right DBusGProxy object to
7440                         cancel the GetSecrets pending call on.  Need to use the Secrets
7441                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7442                         pending call doesn't get canceled, and pressing Cancel in the
7443                         applet's password dialog could cause get_secrets_cb() to be called
7444                         after the activation request has already been destroyed
7445
7446 2007-10-24  Dan Williams  <dcbw@redhat.com>
7447
7448         * src/supplicant-manager/nm-supplicant-config.c
7449                 - (nm_supplicant_config_add_blob): pass blob data and length for
7450                         verification
7451                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7452
7453 2007-10-24  Dan Williams  <dcbw@redhat.com>
7454
7455         * src/supplicant-manager/nm-supplicant-settings-verify.c
7456                 - (opt_table): max length for certificates should be 65536
7457
7458 2007-10-24  Dan Williams  <dcbw@redhat.com>
7459
7460         * src/supplicant-manager/nm-supplicant-interface.c
7461                 - (blob_free): correctly free blob data after use
7462                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7463
7464 2007-10-24  Dan Williams  <dcbw@redhat.com>
7465
7466         * libnm-util/nm-setting.c
7467                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7468                         EAP method need secrets
7469
7470 2007-10-24  Dan Williams  <dcbw@redhat.com>
7471
7472         * src/backends/NetworkManagerRedHat.c
7473                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7474
7475 2007-10-23  Dan Williams  <dcbw@redhat.com>
7476
7477         * libnm-util/nm-setting.c
7478           libnm-util/nm-setting.c
7479                 - (nm_setting_compare): implement
7480                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7481                    compare_one_hash_gvalue): compare the contents of a setting
7482
7483         * libnm-util/nm-connection.c
7484                 - (nm_connection_compare): implement
7485
7486 2007-10-23  Dan Williams  <dcbw@redhat.com>
7487
7488         * src/nm-activation-request.c
7489                 - (get_secrets_cb): handle getting a setting back that is more than
7490                         just secrets (ie, user changed auth or EAP method or something)
7491
7492 2007-10-23  Dan Williams  <dcbw@redhat.com>
7493
7494         * libnm-util/nm-setting.c
7495           libnm-util/nm-setting.h
7496                 - (nm_setting_verify): new function; verify one setting
7497                 - (nm_settings_verify_all): rename from nm_settings_verify()
7498                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7499                         all_settings
7500
7501         * libnm-util/nm-connection.c
7502                 - (nm_connection_replace_settings, nm_connection_verify,
7503                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7504
7505 2007-10-23  Dan Williams  <dcbw@redhat.com>
7506
7507         * src/nm-device-802-11-wireless.c
7508                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7509                         desired behavior
7510
7511 2007-10-23  Dan Williams  <dcbw@redhat.com>
7512
7513         * src/supplicant-manager/nm-supplicant-settings-verify.c
7514                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7515                         nm-settings.c
7516
7517 2007-10-23  Dan Williams  <dcbw@redhat.com>
7518
7519         * src/nm-device-802-11-wireless.c
7520                 - (real_act_stage2_config): after the first association failure,
7521                         if the connection still needs secrets ask the user for them
7522                         explicitly.  After the fourth association failure due to bad
7523                         secrets, fail the connection entirely.  Handles the GetSecrets
7524                         loop that NM gets into when the provided secrets don't match up
7525                         with the connection details.
7526
7527 2007-10-23  Dan Williams  <dcbw@redhat.com>
7528
7529         * src/supplicant-manager/nm-supplicant-config.c
7530                 - (nm_supplicant_config_add_setting_wireless_security): only add
7531                         WPA-specific options when WPA is in use
7532
7533 2007-10-23  Dan Williams  <dcbw@redhat.com>
7534
7535         * src/supplicant-manager/nm-supplicant-config.c
7536                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7537                         secret doesn't need to be unhexified
7538
7539 2007-10-23  Dan Williams  <dcbw@redhat.com>
7540
7541         * libnm-util/nm-setting.c
7542                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7543                         before trying to do something with it
7544
7545 2007-10-23  Dan Williams  <dcbw@redhat.com>
7546
7547         * src/nm-device-802-11-wireless.c
7548                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7549
7550 2007-10-23  Dan Williams  <dcbw@redhat.com>
7551
7552         * src/nm-device-802-11-wireless.c
7553                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7554                         non-SSID-broadcasting APs
7555
7556 2007-10-23  Dan Williams  <dcbw@redhat.com>
7557
7558         * src/NetworkManagerAP.c
7559                 - (match_cipher, security_compatible): remove
7560                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7561                         libnm-util instead
7562
7563 2007-10-23  Dan Williams  <dcbw@redhat.com>
7564
7565         * libnm-util/nm-utils.c
7566           libnm-util/nm-utils.h
7567                 - (nm_utils_ap_security_compatible): common function for checking
7568                         whether a specific AP is compatible with an NMConnection
7569
7570 2007-10-23  Dan Williams  <dcbw@redhat.com>
7571
7572         * libnm-util/nm-setting.c
7573                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7574                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7575                    need_secrets_password, setting_wireless_security_verify): fix
7576                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7577                         secrets logic for each supported EAP method
7578
7579 2007-10-23  Dan Williams  <dcbw@redhat.com>
7580
7581         * src/supplicant-manager/nm-supplicant-config.c
7582                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7583                         config option name, should be "private_key2_passwd"
7584
7585 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7586
7587         Implement support for static IP addresses, additional/overridden DNS and
7588         DNS domain search lists.
7589
7590         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7591         (ip4_addresses_to_gvalue): Implement.
7592         (convert_array_to_byte_array): Implement.
7593         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7594         NM_S_TYPE_IP4_ADDRESSES.
7595         (nm_setting_hash): Ditto.
7596         (default_setting_clear_secrets): Add a default case for the switch: IP address
7597         shouldn't be secret, ever.
7598         (setting_ip4_config_verify): Update, requires addresses in case of manual
7599         configurations.
7600         (setting_ip4_config_destroy): Free stuff.
7601
7602         * src/nm-device.c (merge_ip4_config): Implement.
7603         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7604
7605 2007-10-22  Dan Williams  <dcbw@redhat.com>
7606
7607         * libnm-util/nm-setting.c
7608                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7609                         pairwise cipher options for Dynamic WEP
7610
7611 2007-10-21  Dan Williams  <dcbw@redhat.com>
7612
7613         * src/NetworkManagerAP.c
7614           src/NetworkManagerAP.h
7615                 - Rename 'articifical' -> 'fake' since that's what they are until
7616                         noticed in scans
7617                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7618                         from the attributes in an NMConnection object
7619                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7620                         WPA Enterprise
7621                 - (nm_ap_match_in_list): find a matching AP in a scan list
7622
7623         * src/nm-device-802-11-wireless.c
7624                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7625                         AP when searching the scan list; match on frequency and mode too
7626                 - (nm_device_802_11_wireless_get_frequency): implement
7627                 - (merge_scanned_ap): replace duplicate matching logic with
7628                         nm_ap_match_in_list()
7629                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7630                         the user is trying to connect to a hidden network that is not yet
7631                         known from the scan list
7632                 - (activation_success_handler): now that the card knows the AP's BSSID,
7633                         there may already be a scanned AP in the scan list that is what
7634                         we really wanted to connect to, but didn't know at the time.  Use
7635                         that instead of the 'fake' AP created at activation start and get
7636                         rid of the 'fake' AP 
7637                 - (cull_scan_list): don't remove fake APs
7638
7639 2007-10-21  Dan Williams  <dcbw@redhat.com>
7640
7641         * src/nm-activation-request.h
7642           src/nm-activation-request.c
7643                 - (nm_act_request_set_specific_object): new function; allow setting the
7644                         specific object if one isn't set yet
7645
7646 2007-10-20  Dan Williams  <dcbw@redhat.com>
7647
7648         * src/supplicant-manager/nm-supplicant-config.h
7649           src/supplicant-manager/nm-supplicant-config.c
7650                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7651                         table to store blobs
7652                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7653                         blob hash table
7654                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7655                 - (nm_supplicant_config_add_setting_wireless_security): handle
7656                         options that use certificates (ie, blobs)
7657
7658         * src/nm-device-802-11-wireless.c
7659                 - (build_supplicant_config): pass a UID (just use the connection path)
7660                         to the supplicant config as now required
7661
7662         * src/supplicant-manager/nm-supplicant-interface.c
7663                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7664                         there are any blobs to send to wpa_supplicant, send those first
7665                         before sending the network configuration
7666
7667 2007-10-19  Dan Williams  <dcbw@redhat.com>
7668
7669         Split the GetSecrets() call off to a separate D-Bus interface so that it
7670         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7671         should be able to call GetSecrets().
7672
7673         * include/NetworkManager.h
7674                 - Define the connection secrets D-Bus interface
7675
7676         * src/vpn-manager/nm-vpn-connection.c
7677                 - (clear_need_auth): get the right proxy object for the connection
7678                         secrets interface
7679                 - (get_connection_secrets): use the connection secrets proxy; send
7680                         empty hints in get secrets request
7681
7682         * src/nm-activation-request.c
7683                 - (nm_act_request_request_connection_secrets): use the connection
7684                         secrets proxy; send empty hints in get secrets request
7685
7686         * src/nm-manager.c
7687           src/nm-manager.h
7688                 - (connection_get_settings_cb): set the connection secrets proxy on
7689                         the connection object too
7690                 - (internal_new_connection_cb): create the connection secrets proxy
7691
7692         * introspection/nm-settings-connection.xml
7693                 - Define Connection.Secrets interface and move GetSecrets there
7694                 - Add a 'hints' argument to GetSecrets
7695
7696         * libnm-glib/nm-settings.c
7697           libnm-glib/nm-settings.h
7698                 - (impl_connection_settings_get_secrets): add 'hints' argument
7699
7700 2007-10-19  Dan Williams  <dcbw@redhat.com>
7701
7702         * src/nm-device.c
7703                 - (constructor): add message about what path a device is exported as
7704                         to help in debugging rh #339011
7705
7706 2007-10-17  Dan Williams  <dcbw@redhat.com>
7707
7708         * libnm-util/nm-utils.h
7709           libnm-util/nm-utils.c
7710                 - (nm_utils_security_valid): common function to help find the intersection
7711                         of capabilities of devices and (optionally) access points
7712
7713 2007-10-17  Dan Williams  <dcbw@redhat.com>
7714
7715         * src/nm-device-802-11-wireless.c
7716                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7717                         don't get erroneously cleared
7718
7719 2007-10-17  Dan Williams  <dcbw@redhat.com>
7720
7721         * src/nm-manager.h
7722           src/nm-manager.c
7723           src/nm-hal-manager.c
7724                 - (device_removed, finalize, nm_manager_remove_device,
7725                    nm_manager_sleep): add a 'deactivate' argument to 
7726                    nm_manager_remove_device() to fully deactivate devices when necessary
7727                    (ie, always except when waking up)
7728
7729 2007-10-16  Dan Williams  <dcbw@redhat.com>
7730
7731         * libnm-util/nm-setting.c
7732                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7733                         also isn't valid phase2 autheap method
7734
7735 2007-10-16  Dan Williams  <dcbw@redhat.com>
7736
7737         * libnm-glib/nm-client.c
7738                 - (update_wireless_status): consolidate updates of wireless status
7739                 - (constructor): use update_wireless_status()
7740                 - (manager_running): set wireless status off when NM goes away; requery
7741                         the wireless status when NM comes back
7742
7743 2007-10-16  Dan Williams  <dcbw@redhat.com>
7744
7745         * libnm-glib/nm-client.c
7746                 - (nm_client_activate_device): actually use the fixed-up specific
7747                         object path
7748
7749 2007-10-16  Dan Williams  <dcbw@redhat.com>
7750
7751         * src/nm-hal-manager.c
7752                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7753                         killswitch error messages once
7754
7755 2007-10-16  Dan Williams  <dcbw@redhat.com>
7756
7757         * src/nm-manager.c
7758                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7759                         if it's disabled in hardware; don't touch network devices while
7760                         NM is asleep
7761
7762 2007-10-16  Dan Williams  <dcbw@redhat.com>
7763
7764         * libnm-util/nm-client.c
7765                 - (nm_client_activate_device): convert NULL specific_object to "/",
7766                         which is used in place of NULL
7767
7768         * src/nm-manager.c
7769                 - (impl_manager_activate_device): convert "/" specific_object back into
7770                         NULL
7771
7772 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7773
7774         Implement a generic NMSetting creator from setting name.
7775         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7776         add a virtual function 'populate_fn'.
7777
7778         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7779         (register_default_creators): Register setting creators instead of functions
7780         that create and then populate.
7781         (parse_one_setting): Use the common setting creator and then setting specific
7782         poplulation function.
7783
7784         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7785         they all looked exactly the same.
7786         Add a 'populate_fn' virtual function to NMSetting.
7787         Use default virtual functions in case they are not overriden.
7788         (nm_setting_populate_from_hash): Implement.
7789
7790         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7791         name, use a defined string.
7792         (real_act_stage4_get_ip4_config): Ditto.
7793
7794 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7795
7796         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7797         HAL is int, not uint.
7798
7799 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7800
7801         Implement killswitch polling through HAL.
7802
7803         * src/nm-manager.c: Add wireless hardware status property. Add 
7804         'properties-changed' signal for changes in wireless and wireless hardware
7805         state changes.
7806
7807         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7808         and update NMManager's wireless hardware state when it has changed.
7809         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7810         already does that.
7811
7812         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7813         values of wireless state and wireless hardware state. Listen for the
7814         'properties-changed' signals, update the cached values and emit notify.
7815
7816         * include/NetworkManager.h: Fix a typo in a comment.
7817
7818 2007-10-14  Dan Williams  <dcbw@redhat.com>
7819
7820         * libnm-util/nm-setting.c
7821                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7822
7823 2007-10-13  Dan Williams  <dcbw@redhat.com>
7824
7825         * libnm-util/nm-setting.h
7826           libnm-util/nm-setting.c
7827           src/supplicant-manager/nm-supplicant-config.c
7828                 - Make the 'proto' field of the 802-11-wireless-security field a
7829                         string list
7830
7831 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7832
7833         Rework the "properties-changed" signal listening implementation.
7834         Add a generic implementation to NMObject class that listens for
7835         the signal and calls property setters of the target NMObject.
7836
7837         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7838
7839         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7840         code to the end of file so that all the static functions are available
7841         without extra declarations.
7842         Remove the "properties-changed" signal handling and use the framework from
7843         NMObject.
7844         Implement property setters for properties that change with 
7845         "properties-changed" signal.
7846
7847         * libnm-glib/nm-access-point.c: Ditto.
7848
7849 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7850
7851         Rework the "properties-changed" signal implementation.
7852         In classes that need to use it, just emit "GObject::notify" and the new
7853         framework takes care of the rest to make the signal available on dbus.
7854         The framework queues the notifications and tries to send as many together
7855         in one signal as possible.
7856
7857         * src/nm-properties-changed-signal.c:
7858         * src/nm-properties-changed-signal.h: Implement.
7859
7860         * src/Makefile.am: Add new files to build.
7861
7862         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7863         signal.
7864
7865         * src/nm-device-802-11-wireless.c: Ditto.
7866
7867 2007-10-10  Dan Williams  <dcbw@redhat.com>
7868
7869         * src/nm-manager.c
7870                 - (wait_for_connection_expired): ensure info is valid
7871                 - (connection_added_default_handler): Should only remove pending
7872                         connection info when the manager has the connection that it's
7873                         waiting for.  Fixes segfault in wait_for_connection_info().  
7874
7875 2007-10-10  Dan Williams  <dcbw@redhat.com>
7876
7877         * libnm-util/nm-setting.c
7878           libnm-util/nm-setting.h
7879                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7880                         can use if they choose.  Should be filled in by the settings service
7881                         on-the-fly with the currently logged in user's username
7882
7883 2007-10-10  Dan Williams  <dcbw@redhat.com>
7884
7885         * src/nm-device-802-11-wireless.c
7886                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7887                         as such, because even if the manager fills in the SSID, NM still
7888                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7889                         its SSID
7890
7891 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7892
7893         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7894         code that used NM's own version of dbus signal handling and custom dictionary
7895         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7896         and we get to maintain over 2000 lines less code.
7897
7898         * libnm-util/dbus-dict-helpers.c:
7899         * libnm-util/dbus-dict-helpers.h: Remove.
7900
7901         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7902
7903         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7904
7905         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7906         handlers.
7907
7908         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7909
7910         * configure.in: Remove test/libnm-util/Makefile creation.
7911
7912         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7913
7914         * test/libnm-util/: Remove the whole directory.
7915
7916 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7917
7918         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7919         device_state_changed_idle_id variable or it would contain some random value and the
7920         schedule_change_check calls would not do anything.
7921
7922 2007-10-09  Dan Williams  <dcbw@redhat.com>
7923
7924         * src/nm-device-802-11-wireless.c
7925                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7926                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7927                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7928                         merging of non-SSID-broadcasting APs
7929
7930 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7931
7932         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7933         "guint8 *" since it's usually used with GByteArray->data.
7934         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7935
7936 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7937
7938         * src/NetworkManagerUtils.c
7939         (nm_utils_is_empty_ssid):
7940         (nm_utils_escape_ssid):
7941         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7942         lot of places, so they belong to libnm-utils instead.
7943
7944         Now with 100% less compiler warnings:
7945
7946         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7947         (nm_dbus_unescape_object_path): Ditto.
7948         (nm_utils_ssid_to_utf8): Ditto.
7949         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7950         (nm_utils_escape_ssid): Ditto.
7951         (nm_utils_same_ssid): Ditto.
7952
7953         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7954         (add_one_connection_element): Remove an unused variable.
7955         (impl_manager_get_active_connections): Ditto.
7956
7957         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7958         variable.
7959
7960         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7961         from the previous commit.
7962
7963         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7964         (real_act_stage1_prepare): Ditto.
7965         (activation_success_handler): Ditto.
7966         (get_property): Ditto.
7967
7968         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7969         variable.
7970
7971         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7972         it's always set.
7973
7974         * src/supplicant-manager/nm-supplicant-config.c 
7975         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7976         to expected "char *".
7977         (nm_supplicant_config_add_setting_wireless): Ditto.
7978         (nm_supplicant_config_remove_option): Remove, not used.
7979
7980         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7981         not double.
7982         (test_wireless_enabled): Ifdef out unused function.
7983         (device_deactivate): Ditto.
7984         (device_state_changed): Ditto.
7985         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7986         (nm_utils_escape_ssid): Ditto.
7987
7988         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7989         (nm_utils_is_empty_ssid): Ditto.
7990
7991         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7992         unused variable.
7993
7994         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7995         (setting_vpn_properties_update_secrets): Ditto.
7996         (int_to_gvalue): Ifdef out for now, not used.
7997         (byte_to_gvalue): Ditto.
7998
7999         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
8000         Unused, remove.
8001
8002 2007-10-08  Tambet Ingo  <tambet@gmail.com>
8003
8004         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8005         about dbus manager, not named manager.
8006         Make sure hal_manager and dbus_mgr are created before trying to unreference.
8007
8008         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8009         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8010         However, the same signal is emitted when we destroy it and there's 
8011         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8012
8013         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8014         releasing the DBusGConnection, since proxy needs a conneciton.
8015         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8016
8017 2007-10-08  Dan Williams  <dcbw@redhat.com>
8018
8019         * src/NetworkManager.c
8020                 - (main): error on unknown command-line options
8021
8022 2007-10-08  Dan Williams  <dcbw@redhat.com>
8023
8024         Reimplement the invalid connection list.  Don't try to re-activate a
8025         connection that just failed or was canceled.
8026
8027         * src/nm-device.c
8028                 - (connection_secrets_failed_cb): fail device activation, don't just
8029                         deactivate the device.  Listeners have to know about the failure.
8030
8031         * src/NetworkManagerPolicy.c
8032                 - (nm_policy_auto_get_best_device): exclude invalid connections from
8033                         the connection list given to a device's get_best_connection()
8034                         method
8035                 - (device_state_changed): tag failed connections as invalid; clear the
8036                         tag from successful connections
8037
8038 2007-10-08  Dan Williams  <dcbw@redhat.com>
8039
8040         Fix problems with interrupted activation.  Previously, choosing an AP
8041         from the menu, then choosing another one before the first connection was
8042         successful wouldn't deactivate the device before starting the new connection
8043         on that same device.
8044
8045         * src/NetworkManagerPolicy.c
8046                 - (deactivate_old_device, device_state_changed, state_changed,
8047                    nm_policy_new): wrong place to deactivate old devices
8048
8049         * src/nm-manager.c
8050                 - (pending_connection_info_destroy, finalize,
8051                    wait_for_connection_expired): decouple destruction of the pending
8052                         connection info from the manager device
8053                 - (connection_added_default_handler): deactivate any active or
8054                         activating device before starting a new activation
8055                 - (impl_manager_activate_device): deactivate any active or activating
8056                         device before starting a new activation; be sure not to leak
8057                         pending connection info if a new activation request arrives but
8058                         there's already a pending one in-process
8059
8060 2007-10-08  Dan Williams  <dcbw@redhat.com>
8061
8062         * src/NetworkManagerAP.h
8063           src/NetworkManagerAP.c
8064                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
8065                         should handle default SSIDs and whether or not to autoconnect
8066                         to them
8067
8068 2007-10-08  Dan Williams  <dcbw@redhat.com>
8069
8070         * src/NetworkManagerPolicy.c
8071                 - (nm_policy_device_change_check): print out connection name where
8072                         possible
8073
8074 2007-10-08  Dan Williams  <dcbw@redhat.com>
8075
8076         * src/nm-device-802-11-wireless.c
8077           src/nm-device-802-11-wireless.h
8078                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8079                         'hidden-ap-found' signal (for internal use only) that allows the
8080                         NMManager to fill in the AP's SSID if a connection has that AP's
8081                         BSSID in its seen-bssids list
8082
8083         * src/nm-manager.c
8084                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8085                         wireless device's hidden-ap-found signal and fill in the APs SSID
8086                         if possible
8087
8088 2007-10-07  Dan Williams  <dcbw@redhat.com>
8089
8090         * src/nm-manager.c
8091           src/nm-manager.h
8092                 - Add a 'connections-added' signal to batch together updates of large
8093                         numbers of connections, like when reading from a settings service
8094                         the first time.  Otherwise, the policy would just activate the first
8095                         suitable connection it saw rather than waiting for the full list
8096                         to arrive.
8097                 - (nm_manager_class_init): register new signal
8098                 - (get_type_for_proxy, connection_get_settings_cb,
8099                    get_connection_for_proxy): centralize places where a proxy's setting
8100                         service is determined
8101                 - (free_get_settings_info): if the call being freed is the last call
8102                         in a pending call group, fire off the connections-added signal
8103                 - (internal_new_connection_cb): add call to a pending call group if
8104                         requested
8105                 - (list_connections_cb): always create a call group here, because this
8106                         call results in a batch of new connections
8107                 - (initial_get_connections): start getting system connections first
8108                 - (nm_manager_connections_destroy, emit_removed): actually emit the
8109                         removed signal when destroying connections
8110
8111         * src/NetworkManagerPolicy.c
8112                 - (nm_policy_new, connections_added): handle connections-added signal
8113                         from the manager
8114
8115 2007-10-06  Dan Williams  <dcbw@redhat.com>
8116
8117         * src/nm-device-802-11-wireless.c
8118                 - (constructor): fix leaked socket
8119
8120 2007-10-06  Dan Williams  <dcbw@redhat.com>
8121
8122         * src/NetworkManagerPolicy.c
8123                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
8124                         connection in the list returned by nm_manager_get_connections() is
8125                         reffed, but they weren't getting unreffed before returning
8126
8127 2007-10-06  Dan Williams  <dcbw@redhat.com>
8128
8129         * src/nm-manager.c
8130                 - (connections_to_slist): sort connections first on autoconnect, then
8131                         on timestamp
8132
8133 2007-10-06  Dan Williams  <dcbw@redhat.com>
8134
8135         * libnm-util/nm-connection.c
8136                 - (gvalue_to_string): handle UINT64
8137
8138 2007-10-06  Dan Williams  <dcbw@redhat.com>
8139
8140         * src/NetworkManagerPolicy.c
8141                 - (connection_updated, nm_policy_new): recheck state when a connection
8142                         gets updated
8143
8144 2007-10-06  Dan Williams  <dcbw@redhat.com>
8145
8146         * src/nm-manager.c
8147           src/nm-manager.h
8148                 - (nm_manager_get_connection_dbus_path): make static
8149                 - (nm_manager_update_connections): remove; unused
8150                 - Add a connection-updated signal
8151                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8152                         handle connection object updates
8153
8154 2007-10-06  Dan Williams  <dcbw@redhat.com>
8155
8156         * src/NetworkManagerPolicy.c
8157                 - (connection_removed): deactivate removed connections
8158
8159 2007-10-06  Dan Williams  <dcbw@redhat.com>
8160
8161         * libnm-util/nm-connection.c
8162           libnm-util/nm-connection.h
8163                 - (nm_connection_replace_settings): new function
8164
8165 2007-10-06  Dan Williams  <dcbw@redhat.com>
8166
8167         * libnm-glib/nm-device-802-11-wireless.c
8168                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8169                         on error when getting the active access point over D-Bus from NM
8170
8171 2007-10-05  Dan Williams  <dcbw@redhat.com>
8172
8173         * libnm-util/nm-setting.c
8174                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8175                         to the NMSettingWireless table; it's now a string array not an array
8176                         of byte arrays
8177
8178 2007-10-05  Dan Williams  <dcbw@redhat.com>
8179
8180         * libnm-glib/nm-device-802-11-wireless.c
8181                 - Cache properties and update cached properties on D-Bus signals from NM
8182
8183 2007-10-05  Dan Williams  <dcbw@redhat.com>
8184
8185         * src/nm-device-802-11-wireless.c
8186                 - (set_current_ap): consolidate current_ap handling code into one place
8187                         to ensure that PropertiesChanged signals are emitted in all cases
8188                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8189                    nm_device_802_11_wireless_dispose): use set_current_ap()
8190
8191 2007-10-05  Dan Williams  <dcbw@redhat.com>
8192
8193         * libnm-glib/nm-access-point.c
8194           libnm-glib/nm-access-point.h
8195                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8196                         because the value is cached internally now.  Callers should not
8197                         free the internal value.
8198                 - Make signal name defines private
8199
8200         * test/nm-tool.c
8201           libnm-glib/libnm-glib-test.c
8202                 - Don't free value returned from nm_access_point_get_hw_address()
8203
8204 2007-10-04  Dan Williams  <dcbw@redhat.com>
8205
8206         * introspection/nm-device-802-11-wireless.xml
8207           src/nm-device-802-11-wireless.h
8208           src/nm-device-802-11-wireless.c
8209                 - Add a PropertiesChanged signal for wireless device
8210                 - Store currently associated access point
8211                 - (periodic_update): generalize; update rate here too and emit the
8212                         correct PropertiesChanged signal when stuff changes
8213                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8214                    real_activation_cancel_handler): clear current_ap when device is
8215                         deactivated
8216                 - (link_to_specific_ap, get_ap_blacklisted,
8217                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8218                         code
8219                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8220                         outside this file
8221                 - (real_set_hw_address): emit property changed signal if the card's
8222                         MAC address changes
8223                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8224                         the card is supposed to be connecting to
8225                 - (activation_success_handler): send out property updates on successful
8226                         activation
8227                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8228                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8229                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8230                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8231                         is now boxed; add PropertiesChanged signal
8232
8233 2007-10-04  Dan Williams  <dcbw@redhat.com>
8234
8235         * libnm-util/nm-connection.c
8236           libnm-util/nm-connection.h
8237                 - (nm_connection_verify): new function
8238
8239 2007-10-04  Dan Williams  <dcbw@redhat.com>
8240
8241         * libnm-util/nm-setting.c
8242                 - (nm_settings_verify): use #defines when possible rather than strings
8243                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8244                 - (setting_vpn_verify): tighter validity check on 'service_type'
8245
8246 2007-10-04  Dan Williams  <dcbw@redhat.com>
8247
8248         * libnm-glib/nm-settings.c
8249                 - (nm_connection_settings_class_init): provide correct type for argument
8250                         to the Updated signal so that dbus-glib knows how to marshal it
8251
8252 2007-10-03  Dan Williams  <dcbw@redhat.com>
8253
8254         * src/nm-device-802-3-ethernet.c
8255                 - (real_get_best_connection): don't create automatic connections
8256                         internally; clients should provide a setting that applies to
8257                         the device with 'autoconnect: True'.  Problem was that these
8258                         internally auto-created connections don't have a proxy or service
8259                         name becuase they weren't created by a settings daemon, and therefore
8260                         clients have no idea what to do with them.
8261
8262 2007-10-03  Dan Williams  <dcbw@redhat.com>
8263
8264         * src/nm-device-802-11-wireless.c
8265           src/nm-device-802-11-wireless.h
8266           introspection/nm-device-802-11-wireless.xml
8267                 - GetActiveNetworks -> GetAccessPoints
8268                 - ActiveNetwork -> ActiveAccessPoint
8269                 - NetworkAdded -> AccessPointAdded
8270                 - NetowrkRemoved -> AccessPointRemoved
8271
8272         * libnm-glib/nm-device-802-11-wireless.c
8273           libnm-glib/nm-device-802-11-wireless.h
8274                 - network-added signal -> access-point-added
8275                 - network-removed signal -> access-point-removed
8276                 - nm_device_802_11_wireless_get_active_network() ->
8277                         nm_device_802_11_wireless_get_active_access_point()
8278                 - nm_device_802_11_wireless_get_network_by_path() ->
8279                         nm_device_802_11_wireless_get_access_point_by_path()
8280                 - nm_device_802_11_wireless_get_networks() ->
8281                         nm_device_802_11_wireless_get_access_points()
8282
8283         * libnm-glib/libnm-glib-test.c
8284           test/nm-tool.c
8285           src/NetworkManagerPolicy.c
8286                 - Fixups for Network -> AccessPoint
8287
8288 2007-10-03  Dan Williams  <dcbw@redhat.com>
8289
8290         Add a GetActiveConnections() method on the Manager object.
8291
8292         * src/nm-manager.c
8293           src/nm-manager.h
8294           introspection/nm-manager.xml
8295                 - (connection_get_settings_cb): keep connection type around too
8296                 - (impl_manager_get_active_connections, add_one_connection_element):
8297                         implement; returns all active connections and what devices they
8298                         apply to
8299
8300         * libnm-glib/nm-client.c
8301           libnm-glib/nm-client.h
8302           introspection/nm-manager-client.xml
8303                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8304                         by the caller; free here to avoid memory leak
8305                 - (nm_client_get_active_connections): implement; return the list of
8306                         active connections
8307                 - (nm_client_free_active_connection_element): implement; free an element
8308                         of the GSList returned by nm_client_get_active_connections()
8309
8310 2007-10-03  Dan Williams  <dcbw@redhat.com>
8311
8312         * src/nm-device-802-11-wireless.c
8313                 - (nm_device_802_11_wireless_update_bssid): remove
8314                 - (get_active_ap): new function; find the AP in the scan list which
8315                         matches the current BSSID and SSID of the wireless device
8316                 - (nm_device_802_11_periodic_update): get current AP using
8317                         get_active_ap() and print AP roam messages
8318
8319 2007-10-01  Dan Williams  <dcbw@redhat.com>
8320
8321         * libnm-util/nm-setting.h
8322                 - Add a 'timestamp' option to NMSettingConnection
8323                 - Add a UINT64 type
8324
8325         * libnm-util/nm-setting.c
8326                 - (uint64_to_gvalue): new function
8327                 - (nm_setting_populate_from_hash, nm_setting_hash,
8328                    default_setting_clear_secrets): handle UINT64 type
8329                 - con_table: add 'timestamp' member
8330
8331 2007-10-01  Dan Williams  <dcbw@redhat.com>
8332
8333         * src/nm-manager.c
8334                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8335                         value when the connection can be activated immediately
8336
8337 2007-10-01  Dan Williams  <dcbw@redhat.com>
8338
8339         * libnm-glib/nm-device.c
8340                 - (nm_device_class_init): actually tell glib about the carrier-changed
8341                         signal
8342
8343 2007-10-01  Dan Williams  <dcbw@redhat.com>
8344
8345         * configure.in
8346           src/marshallers/Makefile.am
8347           src/marshallers/nm-marshal.list
8348           src/marshallers/nm-marshal-main.c
8349                 - Consolidate glib marshallers into one place
8350
8351         * src/dhcp-manager/Makefile.am
8352           src/dhcp-manager/nm-dhcp-manager.c
8353           src/supplicant-manager/Makefile.am
8354           src/supplicant-manager/nm-supplicant-manager.c
8355           src/supplicant-manager/nm-supplicant-interface.c
8356           src/ppp-manager/Makefile.am
8357           src/ppp-manager/nm-ppp-manager.c
8358           src/vpn-manager/Makefile.am
8359           src/vpn-manager/nm-vpn-connection.c
8360           src/Makefile.am
8361                 - Use consolidated marshallers
8362
8363         * src/dhcp-manager/nm-dhcp-marshal.list
8364           src/dhcp-manager/nm-dhcp-marshal-main.c
8365           src/supplicant-manager/nm-supplicant-marshal-main.c
8366           src/supplicant-manager/nm-supplicant-marshal.list
8367           src/nm-marshal-main.c
8368           src/nm-marshal.list
8369           src/ppp-manager/nm-ppp-marshal-main.c
8370           src/ppp-manager/nm-ppp-marshal.list
8371           src/vpn-manager/nm-vpn-marshal-main.c
8372           src/vpn-manager/nm-vpn-marshal.list
8373                 - Remove
8374
8375 2007-10-01  Dan Williams  <dcbw@redhat.com>
8376
8377         * include/NetworkManagerVPN.h
8378                 - define VPN connection state change reason codes
8379
8380         * src/vpn-manager/Makefile.am
8381           src/vpn-manager/nm-vpn-marshal.list
8382           src/vpn-manager/nm-vpn-marshal-main.c
8383                 - Add marshallers for StateChanged signal
8384
8385         * introspection/nm-vpn-connection.xml
8386                 - New Banner property
8387                 - StateChanged signal now includes a 'reason' argument
8388
8389         * src/vpn-manager/nm-vpn-connection.c
8390           src/vpn-manager/nm-vpn-connection.h
8391                 - Add a "Banner" property that contains the returned VPN server login
8392                         banner (if any); valid only in the ACTIVATED state
8393                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8394                         a 'reason' argument and emits that reason along with the
8395                         state-changed signal
8396                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8397                 - (nm_vpn_connection_ip4_config_get): save banner for later
8398                 - (nm_vpn_connection_get_banner, get_property,
8399                    nm_vpn_connection_class_init): implement Banner property
8400
8401         * src/vpn-manager/nm-vpn-service.c
8402                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8403                         connection list because elements may get added/removed from it
8404                         while iterating over the list
8405                 - (connection_state_changed): signal now includes the 'reason' argument
8406
8407         * libnm-glib/nm-vpn-connection.c
8408           libnm-glib/nm-vpn-connection.h
8409                 - (nm_vpn_connection_get_banner): new function
8410                 - (state_changed_proxy): handle reason argument
8411
8412 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8413
8414         * src/nm-manager.c:
8415         * src/nm-manager.h:
8416         Implement device activation through NMManager.
8417         Implement "pending device activation" here - If the connection isn't found,
8418         we try to wait for up to 5 seconds for the connection to be provided.
8419         Add NMConnectionType argument to "connection-added" and "connection-removed"
8420         signals.
8421         (nm_manager_get): Remove. Finally.
8422
8423         * src/nm-activation-request.c: 
8424         * src/nm-activation-request.h: 
8425         Remove all the deferred activation code.
8426
8427         * src/nm-device.c: Remove all the deferred activation code. Once the device
8428         activation is started, it's started. Update the activation virtual function
8429         signature.
8430
8431         * src/nm-device-interface.c:
8432         * src/nm-device-interface.h:
8433         Device activation now takes only NMActRequest argument.
8434         Don't expose device activation directly on dbus, it's supposed to go through
8435         NMManager now.
8436
8437         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8438         a bit more compact.
8439         Use the new device activation methods through NMManager.
8440
8441         * introspection/nm-manager-client.xml: 
8442         * introspection/nm-manager.xml: 
8443         * libnm-glib/nm-client.c:
8444         * libnm-glib/nm-client.h:
8445         Add device activation method.
8446         
8447         * libnm-glib/nm-device.c: 
8448         * libnm-glib/nm-device.h: 
8449         * introspection/nm-device.xml: 
8450         Remove device activation method. It's done through NMManager now.
8451
8452         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8453         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8454
8455 2007-09-28  Dan Williams  <dcbw@redhat.com>
8456
8457         * libnm-glib/nm-vpn-connection.c
8458                 - (nm_vpn_connection_get_state): try to update state if the current
8459                         state is UNKNOWN
8460
8461 2007-09-27  Dan Williams  <dcbw@redhat.com>
8462
8463         Patch from Bill Nottingham
8464
8465         * src/supplicant-manager/nm-supplicant-config.c
8466                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8467                         data to the supplicant
8468
8469 2007-09-27  Dan Williams  <dcbw@redhat.com>
8470
8471         * src/NetworkManagerSystem.c
8472                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8473                         and all address manipulation here should be happening on the
8474                         _VPN_ device, not the active device
8475
8476 2007-09-26  Dan Williams  <dcbw@redhat.com>
8477
8478         * src/nm-manager.c
8479           src/nm-manager.h
8480           src/nm-activation-request.c
8481           src/nm-activation-request.h
8482                 - Move the GetSecrets stuff out of the NMManager instance because it
8483                         doesn't really need to be there and complicates things
8484
8485         * src/nm-device.c
8486                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8487                         connection-secrets-failed signal and deactivate the device if
8488                         the GetSecrets call fails
8489
8490         * src/nm-device-802-11-wireless.c
8491                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8492                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8493                         secrets and give correct hints about whether new secrets should be
8494                         asked for by the client or not
8495
8496 2007-09-26  Dan Williams  <dcbw@redhat.com>
8497
8498         * src/vpn-manager/nm-vpn-connection.c
8499                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8500                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8501                         to the secrets-updated signal of the NMConnection since updating
8502                         the secrets is done within the scope of the NMVPNConnection object
8503                         already
8504                 - (get_connection_secrets): fix an uninialized variable usage error
8505
8506 2007-09-26  Dan Williams  <dcbw@redhat.com>
8507
8508         * libnm-util/nm-setting.c
8509                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8510                         actually get updated when the user enters them
8511
8512 2007-09-26  Dan Williams  <dcbw@redhat.com>
8513
8514         * libnm-glib/nm-vpn-plugin.c
8515                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8516
8517 2007-09-26  Dan Williams  <dcbw@redhat.com>
8518
8519         * include/NetworkManagerVPN.h
8520                 - Add a NEED_AUTH state
8521
8522         * src/vpn-manager/nm-vpn-connection.c
8523                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8524                         the connection needs secrets, and if so, then ask the settings
8525                         service to fill in the secrets.  Then start the connection.
8526
8527 2007-09-26  Dan Williams  <dcbw@redhat.com>
8528
8529         * src/vpn-manager/nm-vpn-manager.c
8530                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8531
8532 2007-09-26  Dan Williams  <dcbw@redhat.com>
8533
8534         * introspection/nm-vpn-plugin.xml
8535           libnm-glib/nm-vpn-plugin.c
8536           libnm-glib/nm-vpn-plugin.h
8537                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8538                         the name of the NMSetting in an NMConnection that may require
8539                         secrets specific to that VPN plugin
8540
8541 2007-09-26  Dan Williams  <dcbw@redhat.com>
8542
8543         * src/nm-manager.c
8544           src/nm-manager.h
8545                 - (nm_manager_get_connection_secrets): make static, unused outside
8546                         the file
8547                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8548
8549 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8550
8551         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8552         method.
8553         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8554         unreference the connection.
8555
8556         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8557         passing properties hash and routes string list, pass NMConnection (in hashed form).
8558
8559         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8560         as GSList, no need to copy stuff around anymore.
8561         (nm_vpn_connection_activate): Update the plugin activation method.
8562
8563         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8564         routes argument to GSList.
8565
8566 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8567
8568         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8569         state and try to get the secrets.
8570
8571         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8572         connections from NMManager and let the device to choose the best from the list.
8573         Since the connection list is sorted by system ones first and user ones later,
8574         the devices still prefer system connections like they did before.
8575         (deactivate_old_device): Implement. When a device starts activation, we have a
8576         policy (for now at least) to deactivate any other device that might be either
8577         active or still activating.
8578
8579         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8580         It's set on construction, there will be no other way to access it.
8581
8582         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8583         device events and drive the device, not the other way around.
8584
8585         * src/nm-device-802-3-ethernet.c: Ditto.
8586
8587         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8588         sent along, pass it on to virtual functions.
8589
8590         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8591         for now, but should really be public instead of nm_device_get_iface() since iface
8592         is a property of the DeviceInterface, not Device.
8593         (impl_device_activate): Don't touch NMManager!
8594
8595 2007-09-26  Jürg Billeter  <j@bitron.ch>
8596
8597         * initscript/paldo/NetworkManager.in:
8598         * initscript/paldo/NetworkManagerDispatcher.in:
8599         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8600         (nm_system_flush_loopback_routes): update paldo backend
8601
8602 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8603
8604         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8605         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8606         which means none of the devices get brought down properly, which in turn leaves
8607         DHCP client running.
8608
8609         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8610         (supplicant_connection_timeout_cb): Ditto.
8611
8612 2007-09-25  Dan Williams  <dcbw@redhat.com>
8613
8614         * src/nm-device.c
8615                 - (device_activation_go): small hack to work around race when
8616                         activating deferred connections; should solve this in a better way
8617
8618 2007-09-25  Dan Williams  <dcbw@redhat.com>
8619
8620         * introspection/nm-device.xml
8621           libnm-glib/nm-device.c
8622           libnm-glib/nm-device.h
8623                 - Add 'Carrier' property to exported NMDevice objects
8624
8625         * src/nm-device-interface.h
8626           src/nm-device-interface.c
8627           src/nm-device.c
8628                 - Add a 'carrier' property to internal NMDevice objects
8629
8630 2007-09-25  Dan Williams  <dcbw@redhat.com>
8631
8632         * src/nm-device-802-11-wireless.c
8633                 - (ap_auth_enforced): also return the encryption status of the AP so
8634                         that callers can differentiate easily between unencrypted APs
8635                         and encrypted ones, in addition to whether the AP has an
8636                         authenticator
8637                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8638                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8639                         previously would request secrets from unencrypted APs at times
8640
8641 2007-09-25  Dan Williams  <dcbw@redhat.com>
8642
8643         * src/nm-manager.c
8644                 - (nm_manager_update_state): new function; updates state and emits
8645                         appropriate signals ensuring a state-change signal for the same state
8646                         never gets emitted twice in a row.
8647                 - (manager_device_state_changed): handle more device state to get a
8648                         better picture of the overall NM state
8649
8650 2007-09-25  Dan Williams  <dcbw@redhat.com>
8651
8652         * libnm-glib/nm-settings.c
8653           libnm-glib/nm-settings.h
8654                 - (new_error -> nm_settings_new_error): make public so that subclasses
8655                         can use the same error domain.  Also pass a valid error code to
8656                         g_error_new_literal() so that libdbus doesn't assert when converting
8657                         the GError into a DBusError
8658                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8659                    impl_connection_settings_get_settings,
8660                    impl_connection_settings_get_secrets): use new error creator
8661                         function
8662
8663 2007-09-25  Dan Williams  <dcbw@redhat.com>
8664
8665         * src/NetworkManager.c
8666                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8667
8668 2007-09-25  Dan Williams  <dcbw@redhat.com>
8669
8670         * src/supplicant-manager/nm-supplicant-manager.c
8671                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8672                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8673                    nm_supplicant_manager_startup): when the supplicant isn't running,
8674                         try to start it periodically via system bus activation.  Fixes
8675                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8676                         for the supplicant to come back
8677
8678 2007-09-25  Dan Williams  <dcbw@redhat.com>
8679
8680         Ensure that old activation requests are forgotten about; previously
8681         hitting Cancel in the password dialog would deactivate whatever device
8682         that password was requested for, even if that wasn't the currently
8683         activating connection.
8684
8685         * src/nm-manager.c
8686           src/nm-manager.h
8687                 - (nm_manager_get_connection_secrets): track the pending call
8688                         object so it can be canceled later if needed
8689                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8690                         GetSecrets call for a particular connection
8691
8692         * src/nm-activation-request.c
8693                 - (dispose): cancel any outstanding GetSecrets calls on the
8694                         connection
8695
8696 2007-09-25  Dan Williams  <dcbw@redhat.com>
8697
8698         * src/NetworkManagerPolicy.c
8699                 - (nm_policy_device_change_check): handle devices that have a
8700                         deferred activation.  These devices are not really active _yet_,
8701                         but need to be treated as such here.  Don't interrupt them
8702                         automatically.
8703
8704         * src/nm-device-interface.c
8705                 - (impl_device_activate): handle devices that have a deferred activation
8706                         like activating or active devices.  When multiple active devices
8707                         get committed, the device shouldn't be deactivated until the
8708                         connection details are available to avoid DoS and such.  Currently,
8709                         any active, activating, or deferred activation device is deactivated
8710                         here before starting the new activation request.
8711
8712 2007-09-25  Dan Williams  <dcbw@redhat.com>
8713
8714         Properly re-query secrets from the settings daemon when stuff fails.
8715
8716         * src/nm-device-802-11-wireless.c
8717                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8718                         between Shared Key and Open System auth modes
8719                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8720                    real_act_stage4_ip_config_timeout): clear existing secrets and
8721                         request new ones when something fails due to a suspected wrong key
8722                 - (real_act_stage2_config): fix for new request_new argument to
8723                         nm_manager_get_connection_secrets()
8724
8725         * src/nm-manager.c
8726           src/nm-manager.h
8727                 - (nm_manager_get_connection_secrets): return error status; pass
8728                         new request_new argument on to the settings daemon
8729
8730         * introspection/nm-settings-connection.xml
8731                 - New 'request_new' argument to the GetSecrets call that hints to the
8732                         settings daemon to ask the user for completely new secrets
8733
8734         * libnm-glib/nm-settings.c
8735           libnm-glib/nm-settings.h
8736                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8737                         argument
8738
8739 2007-09-25  Dan Williams  <dcbw@redhat.com>
8740
8741         * libnm-util/nm-connection.c
8742           libnm-util/nm-connection.h
8743                 - (nm_connection_clear_secrets): new function; clear secrets out of
8744                         each NMSetting in an NMConnection
8745
8746         * libnm-util/nm-setting.h
8747           libnm-util/nm-setting.c
8748                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8749                         secrets out of an NMSetting
8750                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8751                    nm_setting_wired_new, nm_setting_wireless_new,
8752                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8753                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8754                         to default handler default_setting_clear_secrets()
8755
8756 2007-09-25  Dan Williams  <dcbw@redhat.com>
8757
8758         * src/nm-activation-request.c
8759           src/nm-activation-request.h
8760                 - (nm_act_request_is_deferred): new function
8761
8762 2007-09-24  Dan Williams  <dcbw@redhat.com>
8763
8764         * src/nm-device-802-11-wireless.c
8765                 - (activation_success_handler): update signal strength immediately
8766                         after activation
8767
8768 2007-09-24  Dan Williams  <dcbw@redhat.com>
8769
8770         * libnm-util/nm-setting.c
8771                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8772
8773 2007-09-24  Dan Williams  <dcbw@redhat.com>
8774
8775         * src/NetworkManagerPolicy.c
8776                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8777                         device by deactivating it because it doesn't have a "best connection".
8778                         Since autoconnect=False connections aren't automatically chosen,
8779                         NM would interrupt activation of such a connection because it
8780                         would never be "best" due to autoconnect=False.
8781
8782 2007-09-24  Dan Williams  <dcbw@redhat.com>
8783
8784         * src/nm-manager.c
8785                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8786                         actually has some time to enter a key before the GetSecrets call
8787                         times out
8788
8789 2007-09-24  Dan Williams  <dcbw@redhat.com>
8790
8791         * introspection/nm-manager.xml
8792           src/nm-manager.c
8793                 - (impl_manager_legacy_state): fix 'state' method call return value
8794
8795 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8796
8797         * test/Makefile.am: Install nm-tool
8798
8799 2007-09-24  Dan Williams  <dcbw@redhat.com>
8800
8801         Patch from Ross Burton <ross@burtonini.com>
8802
8803         * test/nm-tool.c
8804           callouts/nm-dhcp-client-action.c
8805           src/nm-netlink.c
8806           src/vpn-manager/nm-vpn-connection.c
8807           libnm-glib/libnm-glib-test.c
8808                 - warning fixes
8809
8810 2007-09-24  Dan Williams  <dcbw@redhat.com>
8811
8812         * libnm-util/nm-utils.h
8813           libnm-util/nm-utils.c
8814                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8815                         remove, unused
8816
8817 2007-09-23  Dan Williams  <dcbw@redhat.com>
8818
8819         * vpn-daemons/vpnc/properties/nm-vpnc.c
8820                 - Update for new VPN properties API bits; instead of passing around
8821                         a lot of random things, everything goes into the NMConnection
8822                         object.
8823
8824 2007-09-23  Dan Williams  <dcbw@redhat.com>
8825
8826         * libnm-util/nm-setting.c
8827                 - Correctly dispose of settings objects if creating them from a hash
8828                         table fails
8829
8830 2007-09-23  Dan Williams  <dcbw@redhat.com>
8831
8832         * libnm-util/nm-setting.c
8833                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8834                         the hash table in a standard manner.  Clients of libnm-util should
8835                         only call g_hash_table_remove_all(), never destroy the hash table
8836                         and recreate it.
8837
8838 2007-09-22  Dan Williams  <dcbw@redhat.com>
8839
8840         * src/nm-device-802-11-wireless.c
8841                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8842                         real reason to do it so often, and reduces wakeups for clients.
8843
8844 2007-09-21  Dan Williams  <dcbw@redhat.com>
8845
8846         * src/nm-device-802-11-wireless.c
8847                 - (build_supplicant_config): wpa_supplicant requires the option
8848                         key_mgmt=NONE for unencrypted networks
8849                 - (real_act_stage2_config): clarify log message on activation
8850
8851 2007-09-21  Dan Williams  <dcbw@redhat.com>
8852
8853         * test/nm-supplicant-test.c
8854           test/Makefile.am
8855                 - Remove supplicant test binary; no longer applicable
8856
8857 2007-09-21  Dan Williams  <dcbw@redhat.com>
8858
8859         * src/supplicant-manager/nm-supplicant-manager.c
8860                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8861                         activate it on the system bus
8862
8863 2007-09-20  Dan Williams  <dcbw@redhat.com>
8864
8865         * initscript/RedHat/NetworkManager.in
8866                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8867
8868 2007-09-20  Dan Williams  <dcbw@redhat.com>
8869
8870         * src/nm-device.c
8871                 - (nm_device_is_activating): work around a race between auto-activation
8872                         and the user activating the same device that is being auto-activated
8873
8874 2007-09-20  Dan Williams  <dcbw@redhat.com>
8875
8876         * src/nm-device-interface.c
8877                 - (impl_device_activate): until multiple active device support lands,
8878                         ensure only one device can be active at a time
8879
8880 2007-09-20  Dan Williams  <dcbw@redhat.com>
8881
8882         * src/supplicant-manager/nm-supplicant-config.c
8883           src/supplicant-manager/nm-supplicant-config.h
8884                 - (nm_supplicant_config_add_option): hide secrets from system logs
8885
8886 2007-09-20  Dan Williams  <dcbw@redhat.com>
8887
8888         * src/NetworkManagerPolicy.c
8889                 - (nm_policy_device_change_check): re-enable the wireless device change
8890                         checking code; insted of checking for SSIDs, check for the same
8891                         connection instead
8892
8893 2007-09-20  Dan Williams  <dcbw@redhat.com>
8894
8895         * src/nm-device-802-11-wireless.c
8896                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8897                         composite link state when determining when to start the disconnection
8898                         timer; that link state is already based on the supplicant interface's
8899                         status which is exactly what's already being examined, plus the link
8900                         state is a conglomeration of various things that we don't want here
8901
8902 2007-09-20  Dan Williams  <dcbw@redhat.com>
8903
8904         * libnm-glib/nm-access-point.c
8905                 - (handle_property_changed): strength is a UCHAR
8906
8907 2007-09-20  Dan Williams  <dcbw@redhat.com>
8908
8909         * src/supplicant-manager/nm-supplicant-config.c
8910                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8911                         string list keywords too since that's what wpa_supplicant wants
8912
8913 2007-09-20  Dan Williams  <dcbw@redhat.com>
8914
8915         * libnm-util/nm-setting.c
8916                 - (convert_strv_to_slist): dupe the values in the list because since
8917                         the list is a boxed value, it'll get destroyed when it's container
8918                         (like a hash table or whatever) gets destroyed
8919
8920 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8921
8922         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8923         GSList.
8924
8925         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8926
8927         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8928         just use (g_object_set_data_full).
8929
8930         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8931         that NMSettingVPN->routes is a GSList, convert it to char **.
8932         (nm_vpn_connection_ip4_config_get): Free routes when done.
8933         (nm_vpn_connection_activate): Ditto.
8934
8935         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8936         (real_act_stage2_config): Use defined setting names.
8937
8938 2007-09-20  Dan Williams  <dcbw@redhat.com>
8939
8940         * src/nm-device-802-11-wireless.c
8941           src/nm-manager.c
8942           src/nm-manager.h
8943                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8944                         so that the device can be deactivated if secrets are wrong
8945
8946 2007-09-20  Dan Williams  <dcbw@redhat.com>
8947
8948         * introspection/nm-settings-connection.xml
8949           libnm-glib/nm-settings.c
8950           libnm-glib/nm-settings.h
8951                 - Make GetSecrets asynchronous on the server side
8952
8953 2007-09-20  Dan Williams  <dcbw@redhat.com>
8954
8955         * src/nm-manager.h
8956           src/nm-device.c
8957                 - (nm_device_activate): actually check if a given connection
8958                         exists before assuming it doesn't
8959
8960 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8961
8962         * libnm-util/nm-connection.c (register_default_creators): Use defined
8963         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8964
8965         * libnm-util/nm-setting.c: Define property name strings, use them.
8966         Implement NMSettingVPN and NMSettingVPNProperties settings.
8967         Implement NM_S_TYPE_GVALUE_HASH.
8968         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8969         (setting_connection_verify): Rename 'devtype' property to 'type'.
8970
8971         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8972         properties.
8973
8974         * src/vpn-manager/nm-vpn-service.c: Ditto.
8975
8976         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8977
8978         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8979         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8980
8981         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8982         names. NMSettingConnection->devtype got renamed to 'type'.
8983
8984         * src/nm-device-802-3-ethernet.c (find_best_connection):
8985         (real_get_best_connection): Ditto.
8986
8987         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8988
8989         * libnm-glib/nm-vpn-manager.[ch]: Update.
8990
8991 2007-09-19  Dan Williams  <dcbw@redhat.com>
8992
8993         * src/NetworkManagerAP.c
8994           src/NetworkManagerAP.h
8995           introspection/nm-access-point.xml
8996                 - Change strength-changed signal into a properties-changed signal
8997                         for all properties, not just strength.  Export that signal over dbus
8998                         so listeners don't have to poll NM for changes.
8999                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9000                         get exported over D-Bus, so break up the logic and let other bits
9001                         decided when to export the AP
9002                 - (nm_ap_new_from_ap): remove, unused
9003
9004         * src/nm-device-802-11-wireless.c
9005                 - (merge_scanned_ap): only export APs that are actually on the device
9006                         list, not every AP created internally
9007
9008         * libnm-glib/nm-access-point.c
9009           libnm-glib/nm-access-point.h
9010                 - Cache properties internally and only hit DBus when needed.  Get
9011                         property updates from NM signals
9012
9013 2007-09-16  Dan Williams  <dcbw@redhat.com>
9014
9015         * libnm-util/nm-connection.c
9016           libnm-util/nm-connection.h
9017                 - (nm_connection_for_each_setting_value): new function; iterate over
9018                         each setting's value and call a user-provided function with details
9019                         about that value
9020
9021         * libnm-util/nm-setting.c
9022           libnm-util/nm-setting.h
9023                 - (nm_setting_enumerate_values): new function; enumerate the values
9024                         of a specific NMSetting subclass for a user-provided function with
9025                         details about that value
9026                 - Change wep_tx_keyidx to a uint32
9027                 - Create settings value tables for each setting defining their type,
9028                         key name, offset into the NMSetting subclass' structure, and whether
9029                         they are required and/or a secret
9030                 - (nm_setting_populate_from_hash): generic function to populate an
9031                         NMSetting from a GHash table, make all settings use it
9032                 - (nm_setting_hash): generic function to derive a GHashTable from
9033                         an NMSetting object, make all settings use it
9034
9035 2007-09-14  Dan Williams  <dcbw@redhat.com>
9036
9037         Remove unused stuff in libnm-util
9038
9039         * configure.in
9040           libnm-util/Makefile.am
9041           libnm-util/cipher-private.h
9042           libnm-util/cipher-wep-ascii.c
9043           libnm-util/cipher-wep-ascii.h
9044           libnm-util/cipher-wep-hex.c
9045           libnm-util/cipher-wep-hex.h
9046           libnm-util/cipher-wep-passphrase.c
9047           libnm-util/cipher-wep-passphrase.h
9048           libnm-util/cipher-wpa-psk-hex.c
9049           libnm-util/cipher-wpa-psk-hex.h
9050           libnm-util/cipher-wpa-psk-passphrase.c
9051           libnm-util/cipher-wpa-psk-passphrase.h
9052           libnm-util/cipher.c
9053           libnm-util/cipher.h
9054           libnm-util/dbus-helpers.c
9055           libnm-util/dbus-helpers.h
9056           libnm-util/gnome-keyring-md5.c
9057           libnm-util/gnome-keyring-md5.h
9058           libnm-util/sha1.c
9059           libnm-util/sha1.h
9060           src/nm-device-802-11-wireless.c
9061           test/libnm-util/Makefile.am
9062           test/libnm-util/test-ciphers.c
9063           test/libnm-util/test-dbus-helpers.c
9064           test/libnm-util/test-inputs.h
9065                 - Removed
9066
9067 2007-09-14  Dan Williams  <dcbw@redhat.com>
9068
9069         * libnm-util/dbus-method-dispatcher.c
9070           libnm-util/dbus-method-dispatcher.h
9071                 - Remove, unused
9072
9073 2007-09-14  Dan Williams  <dcbw@redhat.com>
9074
9075         Implement deferred activation support in the device class.
9076
9077         * src/nm-device-interface.c
9078           src/nm-device-interface.h
9079                 - (nm_device_interface_activate): take more arguments to support
9080                         deferred activation; callers must pass one of (connection) OR
9081                         (service_name, connection_path)
9082                 - (impl_device_activate): connection validation is punted to the device
9083                         to be able to handle deferred activation.  Yes, this means errors
9084                         don't get returned from the Activate() dbus call, and yes, that
9085                         should be fixed somehow later.
9086
9087         * src/nm-device.c
9088           src/nm-device.h
9089                 - (clear_act_request): clear additional deferred activation stuff too
9090                 - (deferred_activation_timeout_cb): new function; clean up when
9091                         deferred activation times out.
9092                 - (deferred_activation_start_cb): new function; when the connection
9093                         finally becomes available, start device activation
9094                 - (nm_device_activate): attach to the right signals of the activation
9095                         request if we need to defer activation until the connection is valid
9096
9097         * src/NetworkManagerPolicy.c
9098                 - (nm_policy_device_change_check): update for additional arguments
9099                         required for nm_device_interface_activate().  Pass NULL for these
9100                         though because this function already knows exactly which
9101                         NMConnection to use
9102
9103 2007-09-14  Dan Williams  <dcbw@redhat.com>
9104
9105         Implement deferred activation handling in the NMActRequest class.  When a
9106         client wants to activate a device but must create the NMConnection details
9107         on the fly, there likely hasn't been enough time yet for NM to receive the
9108         new connection signal and grab all the connection details.  So the
9109         activation is deferred (and bounded by a timer) for a while, and if the
9110         connection appears within the window, it is activated.
9111
9112         * src/nm-activation-request.c
9113           src/nm-activation-request.h
9114                 - (nm_act_request_class_init): two new signals to support deferred
9115                         activation, to allow the listener to handle both timeout and success
9116                 - (nm_act_request_new_deferred): new function, starts the deferred
9117                         activation timeout handler and listens to the NMManager for
9118                         new-connection signals to notice when the connection comes in
9119
9120 2007-09-14  Dan Williams  <dcbw@redhat.com>
9121
9122         * src/nm-manager.h
9123           src/nm-manager.c
9124                 - (nm_manager_get_connection_service_name,
9125                    nm_manager_get_connection_dbus_path): get details about a connection
9126                         known internally by the NMManager
9127                 - (nm_manager_class_init): fix connection add/remove signal marshalers
9128                         because NMConnection is now a GObject subclass
9129                 - Use constant for the gobject data tag used on NMConnection objects for
9130                         storing the associated DBusGProxy
9131
9132 2007-09-14  Dan Williams  <dcbw@redhat.com>
9133
9134         * utils/Makefile.am
9135           utils/nm-utils.c
9136           utils/nm-utils.h
9137           src/supplicant-manager/Makefile.am
9138           src/dhcp-manager/Makefile.am
9139           src/backends/Makefile.am
9140           src/named-manager/Makefile.am
9141           src/ppp-manager/Makefile.am
9142           src/vpn-manager/Makefile.am
9143           test/libnm-util/Makefile.am
9144           test/test-common/Makefile.am
9145                 - Remove utils/; it was unused
9146
9147 2007-09-13  Dan Williams  <dcbw@redhat.com>
9148
9149         * libnm-glib/nm-vpn-manager.h
9150           libnm-glib/nm-vpn-manager.c
9151                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9152
9153 2007-09-13  Dan Williams  <dcbw@redhat.com>
9154
9155         * src/nm-device-802-3-ethernet.c
9156                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9157                         netlink monitor carrier signals on dispose, not bring down.  The
9158                         carrier signals should be handled over the entire lifetime of the
9159                         device anyway, not created/destroyed on up or down.
9160
9161 2007-09-13  Dan Williams  <dcbw@redhat.com>
9162
9163         * libnm-glib/nm-device.c
9164           libnm-glib/nm-device.h
9165                 - (nm_device_activate): take a connection object path rather than an
9166                         NMConnection because NMConnection isn't exported over D-Bus and
9167                         therefore it dbus-glib can't automatically get an object path from it
9168
9169 2007-09-13  Dan Williams  <dcbw@redhat.com>
9170
9171         * libnm-util/nm-setting.c
9172                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9173
9174 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9175
9176         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9177
9178 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9179
9180         * src/vpn-manager/nm-vpn-connection.[ch]: 
9181         * src/vpn-manager/nm-vpn-manager.[ch]:
9182         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9183         dbus-glib, GObjects, signals etc.
9184
9185         * libnm-glib/nm-vpn-manager.[ch]: 
9186         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9187         so much, rewrite these too.
9188
9189         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9190         the new introspection files.
9191
9192         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9193
9194         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9195         the header with the same name from libnm-utils.
9196
9197         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9198
9199         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9200
9201         * introspection/nm-vpn-plugin.xml: Implement.
9202
9203         * introspection/nm-vpn-connection.xml: Implement.
9204
9205         * introspection/nm-vpn-manager.xml: Implement.
9206
9207         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9208         the named manager argument, it can just as easily get it as the caller.
9209         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9210
9211         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9212
9213         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9214
9215         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9216         libnm-utils.
9217
9218         * libnm-util/nm-connection.c: Ditto.
9219
9220         * src/NetworkManagerMain.h: Remove, it's finally empty.
9221
9222         * configure.in: Remove utils/ from build.
9223
9224         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9225         of hard-coded strings.
9226
9227         * utils/: Move it over to libnm-util.
9228
9229         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9230
9231         * dispatcher-daemon/Makefile.am: Ditto.
9232
9233         * src/Makefile.am: Ditto.
9234
9235 2007-09-12  Dan Williams  <dcbw@redhat.com>
9236
9237         Wireless connections can be made with config data from the applet now.
9238         
9239         Yay.
9240
9241         * src/supplicant-manager/nm-supplicant-config.h
9242           src/supplicant-manager/nm-supplicant-config.c
9243                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9244                 - (nm_supplicant_config_add_setting_wireless,
9245                    nm_supplicant_config_add_setting_wireless_security): new functions;
9246                         add key/value pairs from the settings objects to the supplicant
9247                         config
9248
9249         * src/nm-device-802-11-wireless.c
9250                 - (cull_scan_list): fix check to not prune currently associated AP
9251                 - (build_supplicant_config, real_act_stage2_config): call the functions
9252                         of the NMSupplicantConfig that parse settings objects rather than
9253                         doing it manually here
9254
9255 2007-09-12  Dan Williams  <dcbw@redhat.com>
9256
9257         * src/supplicant-manager/nm-supplicant-interface.c
9258           src/supplicant-manager/nm-supplicant-marshal.list
9259                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9260                         "connection-error" signal arguments should be STRING not CHAR
9261
9262 2007-09-12  Dan Williams  <dcbw@redhat.com>
9263
9264         * src/NetworkManagerUtils.c
9265           src/NetworkManagerUtils.h
9266                 - (nm_utils_hexstr2bin): new function
9267
9268 2007-09-11  Dan Williams  <dcbw@redhat.com>
9269
9270         * src/nm-manager.c
9271                 - (connection_get_settings_cb): emit connection-added signal
9272                 - (connection_removed_cb): uncomment bits for system settings service,
9273                         send connection-removed when appropriate
9274                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9275                         the stack by trying to g_object_set_data() on something that's
9276                         not a GObject; handle case where settings service returns
9277                         empty settings hash table
9278
9279 2007-09-11  Dan Williams  <dcbw@redhat.com>
9280
9281         * src/NetworkManagerPolicy.c
9282                 - (connection_added, connection_removed): trigger device change checks
9283                         on connection changes
9284
9285 2007-09-11  Dan Williams  <dcbw@redhat.com>
9286
9287         * src/nm-activation-request.c
9288                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9289
9290 2007-09-11  Dan Williams  <dcbw@redhat.com>
9291
9292         * src/nm-device-802-11-wireless.c
9293                 - (real_connection_secrets_updated): fix erroneous check
9294
9295 2007-09-11  Dan Williams  <dcbw@redhat.com>
9296
9297         * introspection/nm-device.xml
9298           libnm-glib/nm-device.c
9299           libnm-glib/nm-device.c
9300                 - Fix Activate call argument borkage; Activate takes 3 arguments
9301
9302 2007-09-11  Dan Williams  <dcbw@redhat.com>
9303
9304         * libnm-glib/nm-access-point.c
9305           libnm-glib/nm-access-point.c
9306                 - (nm_access_point_get_frequency): now returns guint32 to match
9307                         property change on 2007-09-10
9308
9309 2007-09-11  Dan Williams  <dcbw@redhat.com>
9310
9311         * src/nm-device-802-11-wireless.c
9312                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9313                         somewhere defines 'index' and I missed this one when I fixed the
9314                         shadow declaration errors earlier
9315
9316 2007-09-11  Dan Williams  <dcbw@redhat.com>
9317
9318         * libnm-util/nm-connection.c
9319                 - (nm_connection_update_secrets, need_secrets_check): move
9320                         802-11-wireless-security need_secrets checks to the setting object
9321                         itself, where it belongs
9322
9323         * libnm-util/nm-setting.c
9324           libnm-util/nm-setting.h
9325                 - (nm_setting_need_secrets): new function
9326                 - (setting_wireless_security_verify,
9327                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9328                 - (setting_wireless_security_need_secrets): mostly copy code over
9329                         from nm-connection.c
9330
9331 2007-09-11  Dan Williams  <dcbw@redhat.com>
9332
9333         * libnm-util/nm-setting.c
9334           libnm-util/nm-setting.h
9335                 - (nm_setting_update_secrets): new function; add a virtual function that
9336                         subclasses can implement to update their secrets
9337                 - (setting_wireless_security_update_secrets): implement that function
9338                         for the 802-11-wireless-security subclass
9339
9340         * libnm-util/nm-connection.c
9341           libnm-util/nm-connection.h
9342                 - (nm_connection_update_secrets): update secrets for a Setting and
9343                         emit a signal on success
9344
9345         * src/nm-manager.c
9346           src/nm-manager.h
9347           src/nm-marshal.list
9348                 - (connection_get_settings_cb): enable system settings bits
9349                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9350                         to request secrets from the settings dbus service and to
9351                         push those secrets to the NMConnection itself
9352
9353         * src/nm-activation-request.c
9354           src/nm-activation-request.h
9355                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9356                         currently being activated, and proxy that signal to other listeners.
9357                         Goes through the activation request because the activation request
9358                         is the thing that manages the lifetime of the NMConnection that's
9359                         being activated.
9360
9361         * src/nm-device-802-11-wireless.c
9362                 - (real_connection_secrets_updated): implement the connection secrets
9363                         updated notification and restart activation when secrets are
9364                         received
9365                 - (real_act_stage2_config): request secrets from the settings dbus
9366                         service if secrets are needed
9367
9368         * src/nm-device.c
9369           src/nm-device.h
9370                 - (clear_act_request, nm_device_activation_cancel,
9371                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9372                         where the activation request is cleared
9373                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9374                         updated secrets signal of activation request and add a function
9375                         that subclasses can override to handle it easily
9376
9377 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9378
9379         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9380         removal of NetworkManagerAPList.
9381
9382 2007-09-10  Dan Williams  <dcbw@redhat.com>
9383
9384         * src/NetworkManagerAP.c
9385           src/NetworkManagerAP.h
9386           introspection/nm-access-point.xml
9387                 - Change 'freq' property to a guint32 instead of a double since we
9388                         weren't using the floating point bits anyway
9389
9390 2007-09-10  Dan Williams  <dcbw@redhat.com>
9391
9392         * NetworkManagerAP.c
9393           NetworkManagerAP.h
9394           NetworkManagerPolicy.c
9395           NetworkManagerSystem.c
9396           NetworkManagerUtils.c
9397           NetworkManagerUtils.h
9398           nm-device-802-11-wireless.c
9399           nm-device-802-3-ethernet.c
9400           nm-hal-manager.c
9401           nm-manager.c
9402           vpn-manager/nm-dbus-vpn.c
9403                 - Warning fixes; casts and removal of unused variables
9404
9405 2007-09-10  Dan Williams  <dcbw@redhat.com>
9406
9407         * include/NetworkManager.h
9408                 - Kill NMNetworkType; AP types don't matter any more
9409
9410         * src/NetworkManagerAPList.c
9411           src/NetworkManagerAPList.h
9412           src/Makefile.am
9413                 - Kill; NMAccessPointList has outlived it's usefulness
9414
9415         * src/NetworkManagerAP.c
9416           src/NetworkManagerAP.h
9417                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9418                         functions; check if an NMConnection object is compatible with the
9419                         settings of this AP
9420                 - (freq_to_channel, channel_to_freq): utility functions for
9421                         channel <-> frequency conversion
9422
9423         * src/nm-device.c
9424           src/nm-device.h
9425                 - (nm_device_get_best_connection): pass the specific object around
9426                          (which might be the object path of a specific AP to connect to).
9427                          The get_best_connection() call should populate this on return
9428                          if needed (wireless does).
9429
9430         * src/nm-device-802-3-ethernet.c
9431                 - (real_get_best_connection): handle specific_object argument
9432
9433         * src/NetworkManager.c
9434           src/NetworkManagerMain.h
9435                 - Remove unused includes
9436
9437         * src/nm-device-802-11-wireless.c
9438           src/nm-device-802-11-wireless.h
9439                 - Convert the ap_list into a GSList from an NMAccessPointList
9440                 - No need for caching the 'activation_ap' since this is now determined
9441                         from the specific_object of the activation request, which is
9442                         populated from the get_best_connection() call or from a user request
9443                 - (nm_device_802_11_wireless_update_bssid): fix warning
9444                 - (get_wireless_capabilities): fix error message format arguments
9445                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9446                 - (find_best_connection, real_get_best_connection): implement
9447                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9448                         move here from NetworkManagerAPList
9449                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9450                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9451                         already verified earlier
9452                 - (real_act_stage2_config): use nm_connection_need_secrets()
9453
9454         * src/NetworkManagerPolicy.c
9455                 - (nm_policy_auto_get_best_device): handle specific objects
9456                 - (create_connection): remove; automatic connection creation functionality
9457                         is handled by the Connection objects
9458                 - (nm_policy_device_change_check): handle specific_object
9459
9460         * libnm-util/nm-connection.c
9461                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9462
9463 2007-09-10  Dan Williams  <dcbw@redhat.com>
9464
9465         * src/nm-manager.c
9466                 - (query_connections): fix uninitialized variable problem that caused
9467                         segfault
9468                 - (nm_manager_add_device): take devices down on startup so that we can
9469                         be assured that nm_device_is_up() won't short-circuit the init
9470                         process.  Hack until the is_up check gets split into two pieces
9471                         that aren't behaviorally confusing.
9472
9473 2007-09-09  Dan Williams  <dcbw@redhat.com>
9474
9475         * introspection/nm-device.xml
9476                 - The 'Activate' method now takes 3 arguments, a service name for the
9477                 settings service (user or system), the object path of the connection
9478                 to activate, and the specific object to activate, if any
9479
9480         * src/nm-device-interface.c
9481                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9482                 Add error bits
9483                 - (impl_device_activate): adapt to new Activate arguments; validate
9484                 the service name and get the Connection object from the NMManager
9485                 before starting to activate the device with the specified connection
9486
9487         * src/nm-device-802-3-ethernet.c
9488                 - (real_get_best_connection): find the best connection, or create a
9489                 default one if no existing connections can be used
9490
9491         * src/NetworkManagerPolicy.c
9492                 - (nm_policy_auto_get_best_device): Get the device's best connection
9493                 and only pick the device if it has one
9494                 - (nm_policy_device_change_check): disable wireless bits for now until
9495                 wireless get_best_connection() can be implemented (replacing "best_ap");
9496                 don't create a default connection here as the device subclass will do
9497                 that if needed
9498
9499         * src/nm-manager.h
9500           src/nm-manager.c
9501                 - (nm_manager_get): make NMManager a singleton and expose the getter
9502                 internally
9503                 - Rework internal NMManager connection handling to use the same
9504                 routines for both the system and user settings services.  Most calls
9505                 take a new NMConnectionType argument specifying either system or user
9506                 connections
9507                 - (nm_manager_get_connection_by_object_path): new function; get a
9508                 connection keyed on its object path
9509
9510         * src/NetworkManager.c
9511                 - (main): use nm_manager_get()
9512
9513 2007-09-09  Dan Williams  <dcbw@redhat.com>
9514
9515         * src/nm-device.h
9516           src/nm-device.c
9517                 - (nm_device_get_best_connection): new function; get best connection
9518                         for the device at that time
9519
9520 2007-09-09  Dan Williams  <dcbw@redhat.com>
9521
9522         * src/nm-device-interface.h
9523                 - Add NMDeviceInterfaceError with an UnknownConnection error
9524
9525 2007-09-09  Dan Williams  <dcbw@redhat.com>
9526
9527         Stupid mistake on my part; object path and interface for settings service
9528         and connection objects can be the same, only the service name must be
9529         different for the system and user settings services.
9530
9531         * include/NetworkManager.h
9532           src/nm-manager.c
9533           introspection/nm-settings-connection.xml
9534           introspection/nm-settings.xml
9535           libnm-glib/nm-settings.c
9536                 - (nm_connection_settings_init, query_user_connections,
9537                    new_connection_cb): Unify NetworkManagerSettings and Connection
9538                    interface name and object path
9539
9540 2007-09-06  Dan Williams  <dcbw@redhat.com>
9541
9542         * libnm-glib/nm-object.c
9543                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9544                    nm_object_get_int_property, nm_object_get_uint_property,
9545                    nm_object_get_boolean_property, nm_object_get_byte_property,
9546                    nm_object_get_double_property, nm_object_get_byte_array_property):
9547                         clear GValues after copying their contents, fixes memory leaks
9548                         after every property access because dbus-glib copies the values
9549                         from the DBusMessage into the GValue already.
9550
9551 2007-09-06  Dan Williams  <dcbw@redhat.com>
9552
9553         * introspection/nm-access-point.xml
9554                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9555                         them to be.  There's some magic property name parsing going on in
9556                         dbus-glib that breaks up property names based on studly-caps and
9557                         puts - between words.
9558
9559         * libnm-glib/nm-access-point.c
9560                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9561                         Fix property names
9562
9563 2007-09-06  Dan Williams  <dcbw@redhat.com>
9564
9565         * src/nm-manager.c
9566                 - (nm_manager_user_connections_destroy): clear the user connections hash
9567                         table, don't destroy it
9568                 - (finalize): only destroy the hash table on NMManager finalization
9569
9570 2007-09-02  Dan Williams  <dcbw@redhat.com>
9571
9572         * include/NetworkManager.h
9573           libnm-glib/nm-settings.c
9574                 - defines for the user settings daemon D-Bus bits
9575
9576         * src/NetworkManager.c
9577                 - Remove stuff that referred to the old NetworkManagerInfo service
9578
9579         * src/vpn-manager/nm-dbus-vpn.h
9580                 - Move old NMI defines to the only place they are used still
9581
9582         * libnm-util/nm-connection.c
9583           libnm-util/nm-connection.h
9584           src/nm-activation-request.c
9585                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9586
9587         * src/nm-manager.c
9588           src/nm-manager.h
9589                 - Get connections and their settings from the user settings daemon
9590                         at the appropriate times
9591
9592 2007-09-02  Dan Williams  <dcbw@redhat.com>
9593
9594         * libnm-util/nm-setting.c
9595                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9596                 - (setting_wireless_hash): set the right value on the item
9597
9598 2007-09-02  Dan Williams  <dcbw@redhat.com>
9599
9600         * test/Makefile.am
9601           test/nminfotest.c
9602                 - Remove, no longer useful
9603
9604 2007-08-30  Dan Williams  <dcbw@redhat.com>
9605
9606         * src/Makefile.am
9607           src/NetworkManagerDbus.c
9608           src/NetworkManagerDbus.h
9609           src/vpn-manager/nm-dbus-vpn.c
9610                 - Remove, no longer necessary.  Move last bits to the only place its
9611                 used, in nm-dbus-vpn.c
9612
9613         * src/NetworkManagerAPList.c
9614           src/nm-device.c
9615           src/NetworkManager.c
9616           src/nm-device-802-11-wireless.c
9617           src/vpn-manager/nm-vpn-manager.c
9618           src/vpn-manager/nm-vpn-service.c
9619           src/NetworkManagerPolicy.c
9620           src/nm-manager.c
9621                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9622                 that was message_is_error()
9623
9624 2007-08-30  Dan Williams  <dcbw@redhat.com>
9625
9626         * libnm-util/sha1.c
9627                 - Include config.h to get defines for endiannes (gnome.org #420216)
9628
9629 2007-08-30  Dan Williams  <dcbw@redhat.com>
9630
9631         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9632
9633         * src/ppp-manager/Makefile.am
9634                 - use -fPIC (gnome.org #471825)
9635
9636 2007-08-29  Dan Williams  <dcbw@redhat.com>
9637
9638         * include/NetworkManager.h
9639                 - Keep NMConnection object path in sync
9640
9641         * libnm-glib/nm-settings.c
9642           libnm-glib/nm-settings.h
9643                 - Break D-Bus object registration out of the init function, because
9644                 every object that's exported over D-Bus needs to use the _same_
9645                 DBusConnection.  Otherwise, each object would get a different object
9646                 path tree and wouldn't be callable.
9647
9648 2007-08-29  Dan Williams  <dcbw@redhat.com>
9649
9650         * libnm-util/nm-setting.h
9651           libnm-util/nm-setting.c
9652           libnm-util/nm-connection.c
9653           src/NetworkManagerPolicy.c
9654                 - 'info' settings object should be 'connection' says the spec
9655                 at NetworkManagerConfigurationSpecification
9656
9657 2007-08-29  Dan Williams  <dcbw@redhat.com>
9658
9659         * libnm-glib/nm-settings.c
9660           libnm-glib/nm-settings.h
9661                 - make the dbus path a property of the object, and autogenerate it.
9662                 It can't be composed of the 'id' field becuase that's not available
9663                 yet during the GObject creation in nm_connection_settings_init()
9664
9665 2007-08-29  Dan Williams  <dcbw@redhat.com>
9666
9667         * introspection/nm-settings-connection.xml
9668           introspection/nm-settings.xml
9669                 - Service name -> NetworkManagerUserSettings because two services
9670                 can't share part of the same path.  I'm not really sure how we'll use
9671                 the same code with the system-settings daemon...
9672
9673 2007-08-28  Dan Williams  <dcbw@redhat.com>
9674
9675         * src/nm-device-interface.c
9676           src/nm-device-interface.h
9677                 - Kill one more bit of NMData
9678
9679 2007-08-28  Dan Williams  <dcbw@redhat.com>
9680
9681         * src/NetworkManagerSystem.h
9682           src/nm-device.c
9683           src/nm-device.h
9684           src/nm-hal-manager.c
9685           src/NetworkManager.c
9686           src/nm-device-802-11-wireless.c
9687           src/nm-hal-manager.h
9688           src/nm-device-802-3-ethernet.c
9689           src/vpn-manager/nm-vpn-service.h
9690           src/vpn-manager/nm-vpn-manager.c
9691           src/vpn-manager/nm-vpn-manager.h
9692           src/vpn-manager/nm-vpn-service.c
9693           src/nm-device-802-11-wireless.h
9694           src/NetworkManagerMain.h
9695           src/nm-device-802-3-ethernet.h
9696           src/backends/NetworkManagerGentoo.c
9697           src/backends/NetworkManagerPaldo.c
9698           src/backends/NetworkManagerFrugalware.c
9699           src/backends/NetworkManagerRedHat.c
9700           src/backends/NetworkManagerSlackware.c
9701           src/backends/NetworkManagerGeneric.c
9702           src/backends/NetworkManagerArch.c
9703           src/backends/NetworkManagerSuSE.c
9704           src/backends/NetworkManagerGeneric.h
9705           src/backends/NetworkManagerDebian.c
9706                 - Kill NMData
9707
9708 2007-08-28  Dan Williams  <dcbw@redhat.com>
9709
9710         * src/NetworkManagerMain.h
9711           src/nm-device-802-11-wireless.c
9712           src/NetworkManager.c
9713                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9714                 for now we should set the 'invalid' property on individual APs, and when
9715                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9716                 that ESS
9717
9718 2007-08-28  Dan Williams  <dcbw@redhat.com>
9719
9720         * src/NetworkManagerAP.c
9721           src/NetworkManagerAP.h
9722                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9723                         'autoconnect' property instead
9724
9725         * src/NetworkManager.c
9726           src/NetworkManagerMain.h
9727           src/NetworkManagerPolicy.c
9728           src/NetworkManagerPolicy.h
9729                 - Remove the 'allowed_ap_list', which should be replaced by 
9730                         NMConnection/NMSettings instead, since _those_ are the allowed
9731                         things that NM can connect to
9732
9733         * src/nm-device-802-11-wireless.c
9734                 - Remove both allowed_ap_list usage and 'fallback' checking
9735
9736 2007-08-28  Dan Williams  <dcbw@redhat.com>
9737
9738         * src/nm-device.c
9739           src/named-manager/nm-named-manager.c
9740           src/named-manager/nm-named-manager.h
9741           src/NetworkManager.c
9742           src/vpn-manager/nm-vpn-manager.c
9743           src/NetworkManagerMain.h
9744           src/NetworkManagerSystem.c
9745                 - Remove the named-manager object from NMData structure in preparation
9746                 for NMData's timely death.  Make the NMNamedManager the singleton that
9747                 it really is
9748
9749 2007-08-28  Dan Williams  <dcbw@redhat.com>
9750
9751         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9752         each AP's capabilities, and by NMConnection/NMSettings objects for user
9753         defined connections.
9754
9755         * include/NetworkManager.h
9756                 - Redefine 802.11 security properties.  There are now device capabilities
9757                         and AP flags and AP security flags.  It was way to unclear before.
9758
9759         * src/Makefile.am
9760           src/nm-ap-security-leap.h
9761           src/nm-ap-security-leap.c
9762           src/nm-ap-security-wpa-eap.c
9763           src/nm-ap-security-wpa-eap.h
9764           src/nm-ap-security-private.h
9765           src/nm-ap-security-wpa-psk.c
9766           src/nm-ap-security-wpa-psk.h
9767           src/nm-ap-security-wep.c
9768           src/nm-ap-security-wep.h
9769           src/nm-ap-security.c
9770           src/nm-ap-security.h
9771                 - Removed, to be replaced with NMConnection/NMSettings objects
9772
9773         * src/nm-dbus-nmi.c
9774           src/nm-dbus-nmi.h
9775                 - Removed, to be replaced by code that talks to the new info daemon
9776                         interface and gets NMConnection/NMSettings objects
9777
9778         * src/backends/NetworkManagerSuSE.c
9779                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9780                         info-daemon that does the same thing but talks the new info-daemon
9781                         D-Bus interface
9782
9783         * src/NetworkManagerAP.h
9784           src/NetworkManagerAP.c
9785           src/NetworkManagerAPList.c
9786           libnm-glib/libnm-glib-test.c
9787                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9788                         WPA/RSN
9789
9790         * libnm-glib/nm-access-point.c
9791           libnm-glib/nm-access-point.h
9792           introspection/nm-access-point.xml
9793           test/nm-tool.c
9794                 - Adjust to new flags for AP security
9795
9796         * utils/nm-utils.c
9797           utils/nm-utils.h
9798           src/vpn-manager/nm-dbus-vpn.c
9799                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9800                         stuff which is the only place it's used
9801
9802         * src/nm-device-interface.c
9803           src/nm-device-interface.h
9804           introspection/nm-device.xml
9805           src/nm-activation-request.c
9806           src/nm-activation-request.h
9807           src/nm-device.c
9808                 - Add a new 'specific_object' argument that hints to NM what actual
9809                         AP or other device-specific thing the connection should apply to.
9810                         NMConnection objects can apply to more than one actual device/AP.
9811
9812         * libnm-util/nm-connection.c
9813         * libnm-util/nm-connection.h
9814                 - Add 'have_secrets" call stubs
9815
9816         * libnm-util/cipher.h
9817                 - Move NM_AUTH_TYPE_* defines here for now
9818
9819         * src/nm-device-802-11-wireless.c
9820                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9821                         NMSettings objects
9822
9823         * src/NetworkManagerDbus.c
9824         * src/NetworkManagerPolicy.c
9825                 - Remove usage of update_allowed_networks, should be pushing data in
9826                         a different manner
9827
9828 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9829
9830         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9831         dbus-glib frees it when the call is done.
9832
9833 2007-08-26  Dan Williams  <dcbw@redhat.com>
9834
9835         * introspection/nm-device.xml
9836                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9837
9838 2007-08-26  Dan Williams  <dcbw@redhat.com>
9839
9840         * src/nm-device-802-3-ethernet.c
9841                 - (constructor): move connection of interface-connected/disconnected
9842                         signals here from real_bring_up().  Should be listening to netlink
9843                         for carrier events no matter what the initial state of the device
9844                         is.
9845
9846 2007-08-26  Dan Williams  <dcbw@redhat.com>
9847
9848         * src/nm-netlink-monitor.c
9849                 - (nm_netlink_monitor_class_init): fix marshalling types for
9850                         interface-connected/interface-disconnected
9851                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9852                         check
9853
9854 2007-08-26  Dan Williams  <dcbw@redhat.com>
9855
9856         Convert to using interface indexes as the primary method of identifying
9857         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9858         be renamed at any time.  Device object paths now refer to the device
9859         index rather than the name, and you can map those two manually if you like
9860         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9861         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9862         to use interface indexes rather than names.
9863
9864 2007-08-26  Dan Williams  <dcbw@redhat.com>
9865
9866         * src/nm-netlink-monitor.h
9867                 - Remove one last bit of wireless-event signal
9868
9869 2007-08-26  Dan Williams  <dcbw@redhat.com>
9870
9871         * src/nm-netlink-monitor.c
9872                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9873                         don't need the 'wireless-event' signal anymore since that's all
9874                         handled by wpa_supplicant
9875
9876 2007-08-25  Dan Williams  <dcbw@redhat.com>
9877
9878         It's 2007. Remove support for drivers that don't support wireless scanning.
9879
9880         * test/nm-tool.c
9881           include/NetworkManager.h
9882           src/NetworkManagerUtils.c
9883           src/NetworkManagerPolicy.c
9884           src/nm-device-802-11-wireless.c
9885                 - Remove special handling for non-scanning devices and mark them
9886                         as unsupported/unhandled
9887
9888 2007-08-20  Dan Williams  <dcbw@redhat.com>
9889
9890         * src/nm-device-802-11-wireless.c
9891           src/nm-device-802-3-ethernet.c
9892                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9893                         because when the card is pulled or the module removed, the device
9894                         is already !IFF_UP and then device-specific cleanup (removing
9895                         the supplicant interface, periodic checks, etc) never gets done
9896
9897 2007-08-20  Dan Williams  <dcbw@redhat.com>
9898
9899         * src/nm-manager.c
9900                 - (nm_manager_remove_device): bring device down before disconnecting
9901                         signal handlers, so that the 'state' signal will get broadcast when
9902                         the device enters the DOWN state
9903                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9904                         of states that cause the NMManager to recheck its state
9905
9906 2007-08-20  Dan Williams  <dcbw@redhat.com>
9907
9908         * src/supplicant-manager/nm-supplicant-interface.c
9909                 - (interface_disconnect_done): don't try to dispose of the net proxy
9910                         when it may already have been disposed of
9911
9912 2007-08-20  Dan Williams  <dcbw@redhat.com>
9913
9914         * src/nm-device-802-11-wireless.c
9915                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9916                         the SSID isn't available; this can happen when the card is pulled
9917                         or the module unloaded, during the post-removal deactivation
9918                         paths, when the ioctl returns ENODEV
9919
9920 2007-08-20  Dan Williams  <dcbw@redhat.com>
9921
9922         * src/nm-device-802-11-wireless.c
9923                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9924                         frequency, and mode match.  Applets are now responsible for grouping
9925                         access points
9926
9927 2007-08-20  Dan Williams  <dcbw@redhat.com>
9928
9929         * src/NetworkManagerAP.c
9930         * src/NetworkManagerAP.h
9931                 - (nm_ap_print_self): new function
9932
9933         * src/NetworkManagerAPList.c
9934                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9935                         to do it all here
9936         
9937 2007-08-17  Dan Williams  <dcbw@redhat.com>
9938
9939         * src/nm-device-802-3-ethernet.c
9940                 - (real_bring_down): don't try to dispose of stuff that might not
9941                         exist
9942
9943 2007-08-17  Dan Williams  <dcbw@redhat.com>
9944
9945         * src/NetworkManagerAP.c
9946                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9947                         applet.  This ensures that the case between the seen-bssids and
9948                         the bssids reported by the driver match.
9949
9950 2007-08-17  Dan Williams  <dcbw@redhat.com>
9951
9952         * src/nm-device-802-11-wireless.c
9953                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9954                         we dispose of the interface proxy in NM
9955
9956 2007-08-16  Dan Williams  <dcbw@redhat.com>
9957
9958         * libnm-glib/nm-client.c
9959                 - (nm_client_init): create VPN connections hash table with key free
9960                         function
9961                 - (proxy_vpn_connection_added): VPN connections hash table key should
9962                         be a duplicated value, not the same memory address as the VPN
9963                         connection name.  This is because the VPN connection name could
9964                         potentially be freed and set to something else during the lifetime
9965                         of the NMVPNConnection object.
9966
9967 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9968
9969         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9970         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9971         with the file descriptors. Send a child setup function to change the pppd
9972         progress group.
9973
9974 2007-08-15  Dan Williams  <dcbw@redhat.com>
9975
9976         * src/supplicant-manager/nm-supplicant-interface.c
9977                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9978                         an interface
9979                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9980                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9981                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9982                         the interface internally
9983
9984 2007-08-15  Dan Williams  <dcbw@redhat.com>
9985
9986         * src/nm-device-802-11-wireless.c
9987                 - (real_bring_down): move most of this function into device_cleanup()
9988                         so that it can be called from elsewhere
9989                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9990                         and stuff on dispose.  These would normally get cleaned up when
9991                         the device is marked down and deactivated, but when the device is
9992                         hot-unplugged, it's already down and real_down() never gets run
9993
9994 2007-08-15  Dan Williams  <dcbw@redhat.com>
9995
9996         * src/nm-dbus-nmi.c
9997                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9998                         caused a reference leak on device for which NM requested a key
9999
10000 2007-08-15  Dan Williams  <dcbw@redhat.com>
10001
10002         * libnm-glib/nm-client.c
10003                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10004
10005 2007-08-15  Tambet Ingo  <tambet@gmail.com>
10006
10007         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10008         nothing is using it at the moment, but it'll be all useful and stuff later on.
10009
10010         * libnm-util/nm-setting.h: Define NMSettingPPP.
10011
10012         * libnm-util/nm-setting.c: Implement NMSettingPPP.
10013
10014         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10015
10016         * src/Makefile.am: Add ppp-manager to SUBDIRS.
10017
10018         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10019
10020         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10021
10022 2007-08-14  Tambet Ingo  <tambet@gmail.com>
10023
10024         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10025
10026         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10027         an issue with dbus-glib bindings generator. The issue is, the generated C caller
10028         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10029         name and different arguments and it won't compile anymore. To fix this, we now have
10030         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10031         that is new API + compatibility API and used by the daemon. The other, 
10032         nm-manager-client.xml is only the new API without compatibility bits and is used
10033         by libnm-glib to make it compile.
10034
10035         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10036
10037         * src/nm-manager.c (impl_manager_legacy_sleep)
10038         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10039         interface functions for 0.6 branch.
10040
10041 2007-08-14  Dan Williams  <dcbw@redhat.com>
10042
10043         * src/NetworkManagerAP.c
10044                 - (nm_ap_new_from_properties): fix mistaken check of return value
10045                         from memcmp (should expect 0)
10046
10047 2007-08-14  Dan Williams  <dcbw@redhat.com>
10048
10049         (force-commit to fix wrong comment and partial commit of r2685; this
10050          commit actually applies to r2685)
10051
10052         * src/NetworkManagerUtils.c
10053                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10054                         ignores trailing nulls in the SSID to work around mismatches in
10055                         expectations between WEXT and what the info-daemon passes back.  The
10056                         info-daemon would pass back the correct length, but due to the
10057                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10058                         the device would always have an SSID + 1 depending on what versions
10059                         of wpa_supplicant, the kernel, and NM you have.  This was most often
10060                         visible by just quitting the applet and relaunching, which caused
10061                         NM to reassociated to the same network over again when reloading
10062                         the save networks.
10063
10064         * src/NetworkManagerPolicy.c
10065           src/NetworkManagerUtils.h
10066           src/nm-device-802-11-wireless.c
10067                 - Update for new parameter to nm_utils_same_ssid()
10068
10069 2007-08-14  Dan Williams  <dcbw@redhat.com>
10070
10071         * src/NetworkManagerAP.c
10072                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
10073                         I encountered a BSS that wasn't just hiding it's ESSID, it was
10074                         setting the BSSID to all 0s.  That confused the heck out of NM,
10075                         plus it's useless and probably out-of-spec.
10076
10077 2007-08-14  Dan Williams  <dcbw@redhat.com>
10078
10079         * callouts/Makefile.am
10080           src/dhcp-manager/nm-dhcp-manager.c
10081           src/dhcp-manager/nm-dhcp-manager.h
10082           src/dhcp-manager/Makefile.am
10083                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10084
10085 2007-08-14  Dan Williams  <dcbw@redhat.com>
10086
10087         * src/dhcp-manager/nm-dhcp-manager.c
10088                 - (dhclient_run): don't pass -x to dhclient until we figure out if
10089                         it's really needed, get rid of unused xtra_args parameter
10090
10091 2007-08-14  Dan Williams  <dcbw@redhat.com>
10092
10093         * include/NetworkManagerVPN.h
10094           src/vpn-manager/nm-dbus-vpn.c
10095           src/vpn-manager/nm-dbus-vpn.h
10096           src/vpn-manager/nm-vpn-act-request.c
10097           src/vpn-manager/nm-vpn-act-request.h
10098           src/vpn-manager/nm-vpn-service.c
10099           src/vpn-manager/nm-vpn-service.h
10100           libnm-glib/nm-vpn-connection.c
10101           libnm-glib/nm-vpn-connection.h
10102           libnm-glib/nm-client.h
10103                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
10104                         NMVPNServiceState to clarify what they apply to
10105                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10106                         NMVPNActStage -> NMVPNConnectionState for the same reason
10107
10108         * libnm-glib/nm-client.c
10109                 - Constant + type renames from above
10110                 - Properly handle NameOwnerChanged/manager_running signals
10111                         for NM service; only emit when state really changes
10112                 - Use hash tables correctly so that the key (which was previously owned
10113                         by the D-Bus message) now has the same lifetime as the value, since
10114                         the key is now taken from the the NMVPNConnection itself.  This
10115                         really fixes the double-VPN names in the applet
10116
10117 2007-08-13  Dan Williams  <dcbw@redhat.com>
10118
10119         Patch from Michael Biebl <biebl@debian.org>
10120
10121         * po/POTFILES.in
10122           po/POTFILES.skip
10123                 - Update for vpn-properties move
10124
10125 2007-08-13  Dan Williams  <dcbw@redhat.com>
10126
10127         * libnm-glib/nm-client.c
10128                 - Convert internal VPN connection tracking from a list to a hash table
10129                         to easily avoid duplicates
10130                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10131                         must be freed by the caller, like nm_client_get_devices()
10132                 - (nm_client_remove_vpn_connection): don't let the removal signal
10133                         leak through for NMVPNConnection objects that aren't actually
10134                         tracked.
10135                 - (manager_running): throw away VPN connection list when NM goes away,
10136                         like with the device list
10137
10138 2007-08-13  Dan Williams  <dcbw@redhat.com>
10139
10140         * src/dhcp-manager/nm-dhcp-manager.c
10141                 - Stop any dhclient instance that might be already running for a
10142                         particular interface before starting an NM spawned dhclient.  Fixes
10143                         dhclient processes left over if NM crashes, stuff like that.
10144
10145 2007-08-13  Dan Williams  <dcbw@redhat.com>
10146
10147         * src/NetworkManagerAP.c
10148                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10149                         when the AP wasn't broadcasting it's SSID
10150
10151 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10152
10153         * include/NetworkManager.h: added DBus path for connection settings.
10154
10155         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10156         nm_connection_settings_signal_updated,
10157         nm_connection_settings_signal_removed): new functions to wrap the
10158         objects' signals.
10159         (nm_connection_settings_init): register GObject with DBus.
10160         (nm_connection_settings_get_dbus_object_path): new function.
10161
10162         * libnm-glib/Makefile.am: added libnmutil to link flags.
10163
10164 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10165
10166         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10167
10168         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10169         libnm_glib directory got merged with libnm-glib/.
10170
10171         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10172
10173         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10174         Rename the library from libnm-glib to libnm_glib to maintain the library API
10175         compatibility with 0.6 branch.
10176
10177         * Makefile.am: Remove gnome/ SUBDIR.
10178
10179         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10180
10181         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10182
10183         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10184
10185         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10186         anymore.
10187         Remove checks for wpa_supplicant binary, it's used over dbus.
10188         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10189
10190         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10191         Link the binaries with libnm_glib.la.
10192
10193 2007-08-12  Dan Williams  <dcbw@redhat.com>
10194
10195         * src/NetworkManagerPolicy.c
10196                 - (nm_policy_device_change_check): fix policy to deactivate old device
10197                         before activating new one, at least until the multiple active
10198                         device support lands
10199
10200 2007-08-12  Dan Williams  <dcbw@redhat.com>
10201
10202         * src/NetworkManagerPolicy.c
10203                 - (nm_policy_new): hook up to connection-added / connection-removed
10204                         signals instead of connections-changed
10205
10206 2007-08-12  Dan Williams  <dcbw@redhat.com>
10207
10208         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10209         Robert Frank <rfrank@redhat.com>
10210
10211         * src/dhcp-manager/nm-dhcp-manager.c
10212           src/dhcp-manager/nm-dhcp-manager.c
10213           src/nm-device.c
10214                 - Spawn and communicate with dhclient directly, through means of a
10215                 custom dhclient callout script.  Process callout D-Bus signals
10216                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10217                 sent via gobject signals rather than being driven by the dhcp manager
10218                 directly.
10219
10220 2007-08-12  Dan Williams  <dcbw@redhat.com>
10221
10222         * callouts/nm-dhcp-client-action.c
10223                 - (build_message): ignore non-DHCP-related environment variables
10224
10225 2007-08-12  Dan Williams  <dcbw@redhat.com>
10226
10227         * Makefile.am
10228           configure.in
10229           callouts/Makefile.am
10230           callouts/nm-dhcp-client-action.c
10231           callouts/nm-dhcp-client.conf
10232                 - Add dhclient-executed callout that takes the place of dhclient-script
10233                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10234                 NM then listens for
10235
10236 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10237
10238         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10239
10240         * libnm-glib/nm-client.h:
10241         * libnm-glib/nm-object.h:
10242         * libnm-glib/nm-vpn-connection.h:
10243         * libnm-glib/nm-settings.h:
10244         * libnm-glib/nm-device.h:
10245         * libnm-glib/nm-ip4-config.h:
10246         * libnm-glib/nm-access-point.h:
10247         * libnm-glib/nm-device-802-3-ethernet.h:
10248         * libnm-util/nm-setting.h: 
10249         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10250
10251         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10252
10253         * libnm-glib/nm-access-point.c: Strength has type char.
10254
10255         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10256         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10257
10258         * introspection/nm-access-point.xml: Strength property is char, not int.
10259
10260         * src/NetworkManagerAP.c (set_property): Set strength from char.
10261         (get_property): Handle hidden APs (with empty SSID).
10262         Get strength value from char.
10263         (nm_ap_class_init): Strength property has char type.
10264
10265 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10266
10267         * introspection/Makefile.am:
10268         * introspection/nm-settings.xml:
10269         * introspection/nm-settings-connection.xml: added Settings interfaces.
10270
10271         * libnm-glib/nm-settings.[ch]:
10272         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10273         containing the DBus implementation.
10274
10275 2007-07-26  Dan Williams  <dcbw@redhat.com>
10276
10277         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10278
10279         * src/NetworkManagerSystem.c
10280                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10281                         same subnet (#437396)
10282
10283 2007-07-26  Dan Williams  <dcbw@redhat.com>
10284
10285         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10286
10287         * gnome/vpn-properties/nm-vpn-properties.c
10288                 - Fix translatable strings (#445865)
10289
10290 2007-07-26  Dan Williams  <dcbw@redhat.com>
10291
10292         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10293
10294         * configure.in
10295                 - Remove useless junk (#412530)
10296
10297 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10298
10299         Patch from Robert Buchholz <rbu@gentoo.org>:
10300
10301         * configure.in:
10302         * Makefile.am:
10303         * introspection/Makefile.am:
10304         Make make distcheck work again.
10305
10306 2007-06-27  Dan Williams  <dcbw@redhat.com>
10307
10308         * Make SSIDs GByteArrays everywhere
10309         * Rename "essid" -> "ssid" everywhere that's appropriate
10310         * Refcount activation_ap member of the 802.11 wireless device class
10311
10312 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10313
10314         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10315
10316 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10317
10318         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10319         that we got a new AP when we just update existing AP properties.
10320
10321 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10322
10323         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10324
10325         * nm-utils.[ch]: Remove.
10326
10327         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10328         objects for easy property access and dbus connection handling.
10329
10330         * libnm-glib/nm-client.c: Derive from NMObject.
10331
10332         * libnm-glib/nm-device.c: Ditto.
10333
10334         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10335
10336         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10337
10338         * libnm-glib/nm-ip4-config.c: Ditto.
10339
10340         * libnm-glib/nm-access-point.c: Ditto.
10341
10342         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10343         comparision. Currently used by the device activation code to determine if the new
10344         activation is the same as the old one.
10345
10346         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10347         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10348         able to ask password for the AP.
10349
10350         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10351         up if the device is already connected, tear down it's connection (if it isn't the
10352         same as new one) and start the activation.
10353
10354         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10355
10356         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10357         the issue where all APs are always listed as encrypted.
10358
10359         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10360         their own registered paths.
10361
10362         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10363         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10364
10365 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10366
10367         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10368         (0 & 0 == 0, doh)
10369
10370         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10371         because the handling code will cause the next state change and signal listeners
10372         get the signals in wrong order.
10373
10374         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10375         correctly in case of pending activation.
10376
10377         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10378         Convert the essid byte array to string correctly, including the terminating NULL.
10379
10380         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10381         mode with correct types.
10382
10383         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10384         constructed info to dbus call instead of the activation request.
10385
10386 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10387
10388         Patch from Christian Persch <chpe@gnome.org>
10389
10390         * libnm-glib/Makefile.am:
10391         * dispatcher-daemon/Makefile.am:
10392         Use the correct variables, the correct paths, and correct ordering. (446315)
10393
10394 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10395
10396         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10397         argument. The activation request is easy to retrieve.
10398
10399         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10400         just to be a convenient location for devices to store random stuff.
10401
10402 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10403
10404         Patch from Alex Smith <alex@alex-smith.me.uk>
10405
10406         * src/backends/NetworkManagerFrugalware.c:
10407         Update the FrugalWare backend to fix a few segfaults. (#392642)
10408
10409 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10410
10411         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10412
10413         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10414         setting.
10415         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10416
10417 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10418
10419         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10420         automagically.
10421         Implement NMSettingIP4Config.
10422         Finish NMSettingWired by adding all known members.
10423         (setting_wired_verify): Implement.
10424         Finish NMSettingWireless by adding all known members.
10425         (setting_wireless_verify): Implement.
10426
10427         * libnm-util/nm-connection.c: Register "ipv4" setting.
10428         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10429         dump function, we can introspect the GHashTable which is used for sending connections
10430         over dbus.
10431
10432         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10433         Take GByteArray for essid, it's really not a string.
10434
10435         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10436         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10437         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10438         means overriding the values we got from DHCP.
10439         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10440         (nm_device_deactivate_quickly): Ditto.
10441
10442         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10443         for debugging.
10444
10445 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10446
10447         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10448         NMConnection.
10449
10450         * libnm-glib/nm-device-802-11-wireless.c:
10451         (nm_device_802_3_ethernet_activate): Remove.
10452
10453         * libnm-glib/nm-device-802-3-ethernet.c
10454         (nm_device_802_3_ethernet_activate): Remove.
10455
10456         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10457
10458         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10459         NMConnection.
10460
10461         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10462         activation has started.
10463         Implement the new activation using NMConnection.
10464
10465         * src/nm-activation-request.c: Store a generic connection object instead
10466         of a wireless-specific AP.
10467
10468         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10469         on device type, create a device specific connection object suitable for
10470         device activation.
10471
10472         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10473         specific check to validate the connection and on success start the
10474         activation.
10475
10476         * src/nm-device-interface.h: Add a activate virtual function to the
10477         interface definition.
10478
10479         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10480         (impl_device_activate): Implement.
10481
10482         * introspection/nm-device.xml: Add a generic device activation interface
10483         that accepts an abstract NMConnection structure that has device-specific
10484         information in it.
10485
10486         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10487         activation interface.
10488
10489         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10490         activation interface.
10491
10492         * libnm-util/nm-connection.c: 
10493         * libnm-util/nm-connection.h: 
10494         * libnm-util/nm-setting.c:
10495         * libnm-util/nm-setting.h: Add.
10496
10497         * libnm-util/Makefile.am: Build the added files.
10498
10499         * src/nm-dbus-manager.c
10500         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10501         DbusConnection argument from 'name-owner-changed' signal. The manager
10502         is already passed as a first argument to the signal and the connection
10503         is easy enough to get from it.
10504
10505         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10506         Update the signature of the function.
10507
10508         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10509         Ditto.
10510
10511         * src/NetworkManager.c: Ditto.
10512
10513         * src/named-manager/nm-named-manager.c
10514         (nm_named_manager_name_owner_changed): Ditto.
10515
10516         * src/supplicant-manager/nm-supplicant-manager.c
10517         (nm_supplicant_manager_name_owner_changed): Ditto.
10518
10519         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10520
10521         * src/dhcp-manager/nm-dhcp-manager.c
10522         (nm_dhcp_manager_name_owner_changed): Ditto.
10523
10524         * src/nm-hal-manager.c: Add a list of device detectors and creators
10525         to make it easier to add new devices. Each device type has it's own
10526         entry in the table so adding new device types is only a matter of
10527         implementing a couple of functions, one for device detection and the
10528         other for device creation.
10529
10530 2007-04-25  Dan Williams  <dcbw@redhat.com>
10531
10532         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10533                 (gnome.org #432401)
10534
10535 2007-03-30  Dan Williams  <dcbw@redhat.com>
10536
10537         * src/NetworkManagerSystem.c
10538                 - (nm_system_device_set_ip4_route): clean up and fix argument
10539                         to nm_dev_sock_open()
10540
10541 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10542
10543         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10544         data to correct types instead of always using string.
10545
10546         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10547         _not_ have NM_802_11_CAP_PROTO_NONE.
10548         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10549         is not set.
10550
10551 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10552
10553         * libnm-glib/Makefile.am: Fix the build issue.
10554
10555 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10556
10557         * libnm-glib/nm-vpn-connection.h: 
10558         * libnm-glib/nm-vpn-connection.c: Implement.
10559
10560         * libnm-glib/nm-client.c: Add VPN support.
10561
10562         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10563         handler for VPN.
10564
10565         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10566         on DBUS again.
10567
10568 2007-03-26  Dan Williams  <dcbw@redhat.com>
10569
10570         * src/NetworkManagerAPList.c
10571         * src/nm-device-802-11-wireless.c
10572         * src/NetworkManagerAP.c:
10573                 - Store last seen as glong instead of GTimeVal.
10574                 - Fix the upper bound of capabilities, it's a bitfield.
10575
10576 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10577
10578         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10579
10580         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10581         "manager-running" signal that notifies the appearance/disappearance of NM.
10582         (nm_client_sleep): Implement.
10583
10584         * libnm-glib/nm-device.c:
10585         * libnm-glib/nm-device-802-11-wireless.c: 
10586         * libnm-glib/nm-device-802-3-ethernet.c: 
10587
10588         Don't inherit from DBusGProxy, add a proxy to private
10589         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10590         for anything but their own dbus interface. DBusGProxy objects support only one
10591         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10592         interface. The nice side effect of this change is that we do not create a new
10593         DBusGProxy object for each property access.
10594
10595 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10596
10597         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10598         with zeroes before passing them to functions - the functions never do that and
10599         reading the values back may produce wrong values.
10600         (real_bring_up): Store the signal handler id ...
10601         (real_bring_down): ... So that it can be removed here.
10602         Disconnect the supplicant interface here as well.
10603         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10604         from the access point instead of old $device/Networks/$essid.
10605
10606         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10607         device state is connected (instead of just having link/carrier).
10608
10609         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10610         already easily accessible through the device.
10611
10612         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10613         store it within the object.
10614         (nm_ap_get_dbus_path): Export it to public as well.
10615
10616         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10617         of the singleton.
10618
10619 2007-03-12  Dan Williams  <dcbw@redhat.com>
10620
10621         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10622         for non-carrier-detect capable devices, and useless for carrier-detect
10623         devices since we get notifications from netlink about carrier status anyway.
10624
10625         * src/nm-device-802-3-ethernet.c
10626                 - remove 'link_source_id' member from private data
10627                 - (probe_link): remove and collapse into real_update_link()
10628                 - (nm_device_802_3_periodic_update): remove
10629                 - (real_is_up): check for sup_iface rather than link_source_id
10630                 - (real_bring_up): return gboolean for success/fail; require that
10631                         sup_iface be valid for device bringup to succeed
10632                 - (real_bring_down): zero out link signal ids
10633
10634         * src/nm-device.c
10635                 - (nm_device_activate_stage2_device_config): fail activation if device
10636                         bringup fails
10637                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10638                         fails
10639                 - (nm_device_bring_up): return success/fail
10640
10641         * src/nm-device.h
10642                 - bring_up now returns success/fail
10643
10644         * src/nm-device-802-11-wireless.c
10645                 - (real_bring_up): return success from bringup
10646
10647 2007-03-07  Dan Williams  <dcbw@redhat.com>
10648
10649         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10650         * src/nm-ap-security-wpa-psk.c
10651                 - (real_write_supplicant_config): work with PSKs that may contain
10652                         zeros in the binary format rather than treating it as a string
10653
10654 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10655
10656         * libnm-glib/nm-device-802-11-wireless.c
10657         (nm_device_802_11_wireless_get_capabilities): Implement.
10658
10659         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10660
10661         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10662
10663         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10664         reply only if it's not NULL. Not sure why this started happening right now.
10665
10666         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10667         code paths for when devices get removed on shutdown or when a device is just
10668         removed.
10669         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10670         gets freed so any signal from a device (disconnected for instance) would invoke
10671         NMState update which would crash.
10672         (nm_manager_remove_device): Bring the device down when it gets removed.
10673
10674         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10675         the unused dev_type.
10676
10677         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10678         reference to the added device, NMManager will own it (if it wants).
10679
10680         * test/nm-tool.c: Rewrite using libnm-glib.
10681
10682         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10683         We get signalled when it changes.
10684
10685         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10686         when it changes.
10687
10688         * libnm-glib/nm-device.c: Cache the device state property.
10689
10690         * libnm-glib/nm-access-point.c: Cache the strength property.
10691
10692         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10693         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10694         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10695         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10696         the device is down, activating, or activated (in case of A/B/G cards).
10697         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10698         it's all done through supplicant now.
10699
10700         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10701         counting issues with pending calls which caused leaks and crashes when
10702         interface was removed (now that the interface actually gets removed).
10703
10704         * src/nm-call-store.c: Make a copy of data before running a foreach
10705         with user callback on it - The most common usage pattern is to cancel
10706         (and thus remove) all pending calls with foreach which would modify
10707         the hash table we're iterating over.
10708
10709         * src/nm-manager.c: When a device is added, make sure it is "up". When
10710         it's removed or disabled due to disabling wireless or networking, bring
10711         it down.
10712
10713         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10714
10715         * src/nm-device-802-11-wireless.c: 
10716         * src/nm-device-802-3-ethernet.c: 
10717         * src/nm-device.c:
10718                 - Remove "init" virtual function, all gobjects have a place for that
10719                   already (constructor).
10720                 - Replace "start" virtual function with "bring_up", devices can be
10721                   brought up and down more than just on startup now.
10722                 - Add "is_up" virtual function.
10723                 - Implement one way to bring a device down instead of previous 4 different
10724                   ways, each of witch did something different.
10725
10726         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10727         all it needs is the device interface.
10728
10729         Get rid of NMData.dev_list (3 members to go).
10730         Get rif of NMData in a lot of places.
10731
10732         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10733
10734 2007-02-23  Dan Williams  <dcbw@redhat.com>
10735
10736         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10737
10738         * src/NetworkManagerAP.c
10739                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10740                         OR-ing rather than AND-ing
10741
10742 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10743
10744         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10745         "network-removed" signals.
10746
10747         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10748
10749         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10750         when receiving the signal from dbus.
10751
10752         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10753         property.
10754
10755         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10756         deactivation of the previously activated device working again.
10757
10758         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10759         and setter.
10760
10761         * src/nm-device.c (nm_device_is_activated): Remove.
10762         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10763
10764         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10765         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10766         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10767         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10768         Remove NMNetworkStatus and NMActStage enums.
10769
10770 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10771
10772         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10773         Handle device state changes and disconnect VPN if it's device deactivates.
10774
10775         * src/nm-dbus-nm.c: 
10776         * src/nm-dbus-nm.h: 
10777         * src/nm-dbus-device.c: 
10778         * src/nm-dbus-device.c: 
10779         * src/nm-dbus-net.c: 
10780         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10781
10782         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10783
10784         * src/nm-device.c (nm_device_get_by_udi):
10785         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10786         implemented in the correct location (NMManager).
10787         Rip out all the test_device stuff.
10788
10789         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10790         failure handlers, it's all done by NMDevice already.
10791
10792         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10793         Remove the iochannel hack to route the unix signals to the main thread since
10794         we're not threaded anymore.
10795
10796         * src/NetworkManagerAP.c: Implement HWAddress property.
10797
10798         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10799         automatically with dbus-glib.
10800
10801         * src/nm-netlink-monitor.c: 
10802         * src/nm-netlink-monitor.h:
10803                 - Move it low in the class hierarchy, don't reference any NM types.
10804                 - Remove private data from the header.
10805                 - Use type safe checks in public API methods.
10806                 - Make it a singleton so we don't have to pass the single reference around.
10807
10808 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10809
10810         * introspection/nm-ip4-config.xml: Implement.
10811
10812         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10813
10814         * libnm-glib/nm-ip4-config.c:
10815         * libnm-glib/nm-ip4-config.c: Implement.
10816
10817         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10818         securities. APs reference security.
10819
10820         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10821         be exported over DBUS.
10822
10823         * src/nm-device-802-3-ethernet.c: Ditto.
10824
10825         * src/NetworkManagerAP.c:
10826         * src/NetworkManagerAP.h:
10827                 - Convert to GObject, export over DBUS.
10828
10829         * src/nm-ip4-config.h:
10830         * src/nm-ip4-config.h:
10831                 - Convert to GObject, export over DBUS.
10832
10833 2007-02-12  Dan Williams  <dcbw@redhat.com>
10834
10835         Patch from Helmut Schaa <hschaa@suse.de>
10836
10837         * vpn-daemons/pptp/configure.in
10838           vpn-daemons/pptp/Makefile.am
10839           vpn-daemons/openvpn/configure.in
10840           vpn-daemons/openvpn/Makefile.am
10841           vpn-daemons/vpnc/configure.in
10842           vpn-daemons/vpnc/Makefile.am
10843                 - Add --without-gnome switch which disables building gnome bits
10844
10845 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10846
10847         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10848
10849         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10850
10851         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10852         'HwAddress'.
10853
10854         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10855
10856         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10857
10858         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10859
10860         * src/:
10861                 - Remove old low-level dbus interface implementations and replace them
10862                   with dbus-glib one.
10863
10864         * configure.in:
10865                 - Require dbus-glib >= 0.72.
10866                 - Plug in new sources to build.
10867
10868         * libnm-glib/:
10869                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10870                   to make it more convenient to use from GObject based programs.
10871
10872         * introspection/:
10873                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10874
10875 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10876
10877         * src/nm-device-802-11-wireless.c:
10878                 - Add "network-added" and "network-removed" signals.
10879                 - Use gobject boilerplate macros to define the GObject.
10880                 - Implement wireless device activation.
10881                 - Remove activation_failure_handler and activation_success_handler
10882                   and instead listen on state-changed signals and run the same code
10883                   from there.
10884
10885         * src/nm-device.c:
10886                 - Implment NMDeviceInterface::deactivate.
10887                 - Remove activation_failure_handler and activation_success_handler
10888                   virtual methods. Each device which is interested in these events
10889                   can just listen on it's state changed signals.
10890
10891         * src/NetworkManagerPolicy.c:
10892                 - Move a bit more NMData usage to NMManager.
10893                 - Remove activation scheduling bits.
10894                 - Add listeners for wireless device's "network-added" and
10895                   "network-removed" signals.
10896                 - Listen device changed signals and deactivate currently activated
10897                   device when another device start activating (for now).
10898                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10899                   for calling this, the policy code knows exactly when this should happen,
10900                   by listening on events from NMManager and NMDevices.
10901
10902         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10903         Implement.
10904
10905         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10906         method on the specific device instead of going to through policy code
10907         and determining the device type by passed in AP's existance.
10908
10909         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10910         abstract NMDevice deactivation.
10911
10912 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10913
10914         * src/NetworkManager.c:
10915                 - Set up all the shiny new managers.
10916
10917         * src/NetworkManagerPolicy.c:
10918                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10919                   classes to call into policy code, make the policy code kind of like
10920                   a supervisor that monitors what's going on and drives the whole NM.
10921
10922         * src/nm-hal-manager.c: 
10923         * src/nm-hal-manager.h:
10924                 - Collect all libhal code scattered around NM to this one class.
10925                 - Listen libhal and NMManager events and add/remove devices to
10926                   NMManager.
10927
10928         * src/nm-manager.c:
10929         * src/nm-manager.h:
10930                 - Implment a replacement for NMData. NMData is now officially
10931                 deprecated.
10932
10933 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10934
10935         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10936         * src/supplicant-manager/nm-supplicant-interface.h
10937         * src/supplicant-manager/nm-supplicant-interface.c
10938         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10939         argument to boolean from enum.
10940
10941         Make NMDevice abstract class, remove almost all references to it's
10942         subclasses (the last place gets removed with new policy manager). Add
10943         NMDeviceInterface (which NMDevice implements) so that when we have
10944         NMDevice exported over DBUS, there's a common NMDevice interface which
10945         all instances have, plus there's a device specific interface for each
10946         specific type.
10947         Remove functions (nm_device_is_802_3_ethernet) and
10948         (nm_device_is_802_11_wireless). There are already standard GObject macros
10949         for type safe checks.
10950         Use the updated supplican manager API.
10951
10952         * src/nm-device-interface.h: 
10953         * src/nm-device-interface.c: 
10954         * src/nm-call-store.h: 
10955         * src/nm-call-store.c: Implement.
10956
10957         * src/supplicant-manager/nm-supplicant-interface.c:
10958         * src/supplicant-manager/nm-supplicant-interface.h:
10959         * src/supplicant-manager/nm-supplicant-manager.c:
10960         * src/supplicant-manager/nm-supplicant-manager.h:
10961                 - Remove all private data type references from public header files.
10962                 - Remove all references to other NM classes, this class is just a
10963                   proxy between wpa_supplicant and NM so it doesn't have to know
10964                   any internals.
10965                 - Convert to dbus-glib bindings.
10966                 - Type safe checks for public methods' arguments.
10967                 - Store pending DBUS call ids to NMCallStore.
10968
10969         * src/supplicant-manager/nm-supplicant-config.c:
10970                 - Store config values in a GHashTable instead of GSList.
10971
10972         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10973
10974         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10975         singleton now.
10976
10977         * src/nm-device.c: Use the new DHCP manager API.
10978
10979         * src/nm-activation-request.c:
10980         * src/nm-activation-request.h:
10981                 - Remove all dhcp related properties and methods.
10982
10983         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10984
10985         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10986
10987         * src/dhcp-manager/nm-dhcp-manager.c:
10988         * src/dhcp-manager/nm-dhcp-manager.h:
10989                 - Convert it to GObject since we need to signal state changes.
10990                 - Remove all references to other NM classes, this class is one
10991                   of the lowest classes in our hierarchy.
10992                 - One less class to use NMActRequest.
10993                 - Make it singleton, one less user of NMData.
10994                 - Remove a couple of sleep() calls.
10995                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10996                   One less class to use the NM's custom tailored signal handlig.
10997
10998         * Makefile.am: Generate marshallers, add them to build.
10999
11000 2007-02-02  Dan Williams  <dcbw@redhat.com>
11001
11002         * configure.in
11003           gnome/Makefile.am
11004           nm-applet.desktop
11005           Makefile.am
11006                 - Remove last bits referencing gnome applet
11007
11008 2007-02-02  Dan Williams  <dcbw@redhat.com>
11009
11010         * src/vpn-manager/nm-vpn-service.c
11011                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11012                         and NBNS server addresses
11013
11014 2007-02-02  Tambet Ingo  <tambet@ximian.com>
11015
11016         * src/nm-dbus-manager.c:
11017         * src/nm-dbus-manager.h:
11018                 - Convert all internal DBUS code to use dbus-glib bindings.
11019                 - Remove GObject properties, we don't need them here.
11020                 - Don't explicitly set things to NULL after freeing, glib is
11021                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
11022                 - Make public API argument checks type safe.
11023                 - Remove unnecessary (and wrong) cast to GObject for the first
11024                   argument to g_signal_* calls - The first argument is a gpointer.
11025                 - Export DBusGConnection to other cool classes that (are going to)
11026                   use dbus-glib.
11027
11028 2007-01-26  Dan Williams  <dcbw@redhat.com>
11029
11030         * libnm-util/dbus-dict-helpers.c
11031           libnm-util/dbus-dict-helpers.h
11032                 - Coordinate style with wpa_supplicant version to minimize diff
11033                 - Add uint32 array support
11034                 - (nmu_dbus_dict_append_uint32_array): new function
11035                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11036                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11037                         version; allow adding string array elements individually
11038
11039         * test/libnm-util/test-dbus-dict-helpers.c
11040                 - Test uint32 arrays
11041
11042 2007-01-27  Jürg Billeter  <j@bitron.ch>
11043
11044         * src/backends/NetworkManagerPaldo.c
11045                 - (nm_system_update_dns): clear nscd hosts cache
11046
11047 2007-01-04  Dan Williams  <dcbw@redhat.com>
11048
11049         Threading removal related cleanups:
11050
11051         - Use the glib default main context.  Remove the device main context
11052                 member from NMDevice, and the main_context member from NMData.  Change
11053                 all the idle and timeout scheduler functions to use plain
11054                 g_idle_add() and g_timeout_add().
11055
11056         - As a side-effect of the first change, nm_dbus_manager_get() no longer
11057                 takes an argument; fix that up too.
11058
11059         - Remove all locking, which is useless since we no longer use threads.  For
11060                 example, nm_get_device_by_iface_locked() has been removed.  The global
11061                 device list lock, the AP List lock, and all static locks in
11062                 NetworkManagerPolicy.c have been removed.  The locking utility functions
11063                 in NetworkManagerUtils.c have also been removed.
11064
11065         - Other cleanups in spacing and code style
11066
11067 2007-01-01  Dan Williams  <dcbw@redhat.com>
11068
11069         Found by Bill Moss:
11070
11071         * src/supplicant-manager/nm-supplicant-interface.c
11072                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11073                         the supplicant interface wasn't already disconnected.  Always
11074                         call removeNetwork and disconnect unless the supplicant interface
11075                         is in the DISCONNECTED or INACTIVE state.
11076
11077 2006-12-28  Dan Williams  <dcbw@redhat.com>
11078
11079         Use a single thread for everything.  With the move to wpa_supplicant
11080         and communication over D-Bus, there's no reason for multiple threads.
11081         Almost all of the blocking code has been removed, with one exception in
11082         the DHCP manager and a few in the VPN manager.  This commit removes the
11083         per-device worker thread and fixes activation cancellation in the absence
11084         of threads.  Further removal of thread-related code would be removing
11085         any locking code (like the device list lock) and simplification of logic
11086         around areas of code or data structures that are currently locked.
11087
11088         * autoip.c
11089           dhcp-manager/nm-dhcp-manager.c 
11090           nm-device-802-11-wireless.c
11091           nm-device-802-3-ethernet.c
11092           nm-device.c
11093           nm-device.h
11094                 - Remove usage of multiple threads
11095
11096 2006-12-19  Dan Williams  <dcbw@redhat.com>
11097
11098         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11099         plus a few other patches from wpa_supplicant bugzilla.
11100
11101         * src/Makefile.am
11102           src/NetworkManagerPolicy.c
11103           src/NetworkManagerUtils.c
11104           src/NetworkManagerUtils.h
11105           src/nm-ap-security-leap.c
11106           src/nm-ap-security-wep.c
11107           src/nm-ap-security-wpa-eap.c
11108           src/nm-ap-security-wpa-psk.c
11109           src/nm-ap-security.c
11110           src/nm-ap-security.h
11111           src/nm-device-802-11-wireless.c
11112           src/nm-device-802-11-wireless.h
11113           src/supplicant-manager/nm-supplicant-config.c
11114           src/supplicant-manager/nm-supplicant-config.h
11115           src/supplicant-manager/nm-supplicant-interface.c
11116           src/supplicant-manager/nm-supplicant-interface.h
11117           src/supplicant-manager/nm-supplicant-marshal.list
11118           src/supplicant-manager/nm-supplicant-settings-verify.c
11119           src/supplicant-manager/nm-supplicant-settings-verify.h
11120                 - Move all connection management and association handling to
11121                         wpa_supplicant over dbus, rather than spawning a private copy
11122
11123 2006-12-19  Dan Williams  <dcbw@redhat.com>
11124
11125         * src/NetworkManagerPolicy.c
11126                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11127                         better locking of the device change check handler ID.  Incorrect
11128                         locking was causing lost device change requests
11129
11130 2006-12-18  Dan Williams  <dcbw@redhat.com>
11131
11132         * libnm-util/dbus-dict-helpers.c
11133                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11134                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
11135                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
11136
11137 2006-12-18  Dan Williams  <dcbw@redhat.com>
11138
11139         * gnome/libnm_glib/libnm_glib.c
11140                 - Change dbus_connection_close() -> dbus_connection_unref()
11141
11142 2006-12-11  Dan Williams  <dcbw@redhat.com>
11143
11144         * src/supplicant-manager/nm-supplicant-interface.c
11145                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11146                         wpa_supplicant interface state
11147                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11148                         state before transitioning to READY state
11149
11150 2006-12-04  Dan Williams  <dcbw@redhat.com>
11151
11152         * src/nm-device-802-11-wireless.c
11153                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11154                         odd length of ESSID returned from ieee80211 stack-based drivers
11155
11156 2006-12-04  Dan Williams  <dcbw@redhat.com>
11157
11158         * src/nm-device-802-11-wireless.c
11159                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11160                         IE handling blocks that cause mis-parsing of the IE
11161
11162 2006-12-04  Dan Williams  <dcbw@redhat.com>
11163
11164         * src/nm-device-802-11-wireless.c
11165                 - (init_supplicant_interface): new function; pull supplicant interface
11166                         setup code out into standalone function since it must be called from
11167                         two different places
11168                 - (real_init): sup_mgr is now in private object data; get and track
11169                         the supplicant manager object over the NMDevice subclass' lifetime
11170                         and register a signal handler for its state signals; only try to
11171                         initialize the supplicant interface if the supplicant manager is in
11172                         the IDLE state (and therefore is ready for requests)
11173                 - (request_wireless_scan): reschedule the scan request if (a) there is
11174                         no supplicant interface yet (meaning wpa_supplicant isn't running
11175                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11176                         for requests yet
11177                 - (supplicant_iface_connection_state_cb): new function; stub for
11178                         handling supplicant interface connection state signals
11179                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11180                         comes and goes
11181                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11182                         supplicant manager object that's being tracked starting with this
11183                         commit
11184
11185 2006-12-04  Dan Williams  <dcbw@redhat.com>
11186
11187         * src/supplicant-manager/nm-supplicant-interface.c
11188                 - (nm_supplicant_interface_set_property): track signal handler ID
11189                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11190
11191 2006-12-04  Dan Williams  <dcbw@redhat.com>
11192
11193         * src/supplicant-manager/nm-supplicant-interface.[ch]
11194                 - (nm_supplicant_interface_get_state): new function
11195
11196 2006-12-04  Dan Williams  <dcbw@redhat.com>
11197
11198         * src/supplicant-manager/nm-supplicant-interface.c
11199                 - (bssid_properties_cb): don't treat DBus errors as valid
11200                         scanned AP messages
11201
11202 2006-12-04  Dan Williams  <dcbw@redhat.com>
11203
11204         * src/supplicant-manager/nm-supplicant-interface.[ch]
11205                 - (nm_supplicant_interface_get_connection_state): new function
11206                 - define new supplicant connection states
11207                 - send a signal when the supplicant connection state changes
11208
11209 2006-12-03  Dan Williams  <dcbw@redhat.com>
11210
11211         * src/supplicant-manager/Makefile.am
11212           src/supplicant-manager/nm-supplicant-connection.h
11213           src/supplicant-manager/nm-supplicant-connection.c
11214           src/supplicant-manager/nm-supplicant-config.h
11215           src/supplicant-manager/nm-supplicant-config.c
11216           src/supplicant-manager/nm-supplicant-types.h
11217           src/supplicant-manager/nm-supplicant-interface.h
11218           src/supplicant-manager/nm-supplicant-interface.c
11219                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11220
11221 2006-12-03  Dan Williams  <dcbw@redhat.com>
11222
11223         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11224
11225         * po/POTFILES.in
11226           po/POTFILES.skip
11227                 - Move VPN-related translatables to .skip
11228
11229         * vpn-daemons/pptp/po/POTFILES.in
11230                 - Update with new translatables
11231
11232 2006-12-02  Dan Williams  <dcbw@redhat.com>
11233
11234         Patch from Christian Persch <chpe@gnome.org>
11235
11236         * gnome/applet/Makefile.am
11237           gnome/applet/applet-dbus-devices.c
11238           gnome/applet/applet-notifications.c
11239           gnome/applet/applet.c
11240           gnome/applet/applet.h
11241           gnome/applet/main.c
11242                 - Be a GtkStatusIcon on GTK+ >= 2.10
11243
11244 2006-12-02  Dan Williams  <dcbw@redhat.com>
11245
11246         * gnome/applet/applet.c
11247                 - (nma_update_info): fix two unecessary allocations
11248
11249 2006-12-02  Dan Williams  <dcbw@redhat.com>
11250
11251         Patch from Michael Biebl <biebl@teco.edu>
11252         * configure.in
11253           man/NetworkManager.1.in
11254           man/NetworkManagerDispatcher.1.in
11255           man/NetworkManager.8.in
11256           man/NetworkManagerDispatcher.8.in
11257                 - Add .SH NAME stanzas
11258                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11259
11260 2006-12-02  Dan Williams  <dcbw@redhat.com>
11261
11262         Patch from Christian Persch <chpe@gnome.org>
11263
11264         * configure.in
11265                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11266
11267 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11268
11269         Patch by Timo Hoenig <thoenig@suse.de>:
11270         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11271         DBUS-1.0.
11272
11273         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11274         we can't use the one from the main source directory.
11275
11276 2006-11-27  Dan Williams  <dcbw@redhat.com>
11277
11278         Patch from Christian Persch <chpe@gnome.org>
11279
11280         * gnome/applet/applet-dbus-devices.c
11281                 - (hal_info_product_cb): fix memleak; free duped string.
11282                         Gnome.org #379908
11283
11284 2006-11-27  Dan Williams  <dcbw@redhat.com>
11285
11286         Patch from Christian Persch <chpe@gnome.org>
11287
11288         * gnome/applet/menu-items.c
11289                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11290                         as gtk_progress_set_percentage is deprecated.  Should
11291                         work as far back as GTK+ 2.4.  Gnome.org #379780
11292
11293 2006-11-26  Dan Williams  <dcbw@redhat.com>
11294
11295         Scan using wpa_supplicant over DBus.
11296
11297         * src/nm-device-802-11-wireless.c
11298                 - remove wireless extensions netlink event handler bits
11299                         (wireless_event_helper, nm_device_802_11_wireless_event)
11300                 - remove wireless extensions scan event handler bits
11301                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11302                         hex2byte, hex2num, request_and_convert_scan_results,
11303                         free_process_scan_cb_data, scan_results_timeout,
11304                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11305                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11306                         and request scans from the supplicant interface rather than directly
11307                 - Move functionality of convert_scan_results() to cull_scan_list() and
11308                         supplicant_iface_scanned_ap_cb()
11309                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11310                         at the scan interval when the current scan has finished
11311                 - (supplicant_iface_state_cb): start scanning when the supplicant
11312                         interface enters the READY state, and stop scanning when it
11313                         enters the DOWN state
11314                 - (cull_scan_list): weed out old access points from the scan list
11315                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11316                         point into an NMAccessPoint and merge it into the device's scan list
11317
11318         * src/supplicant-manager/nm-supplicant-interface.c
11319           src/supplicant-manager/nm-supplicant-interface.h
11320                 - Add a new signal "scan-result" which is issued when the supplicant
11321                         notifies NM that a scan has completed
11322                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11323                         point found in the scan.  Called once for each access point that
11324                         the supplicant interface object receives from the supplicant as a
11325                         result of the "scanResults" method call
11326                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11327                         for the initial scan results
11328                 - (scan_request_cb): new function; send listeners the result
11329                         (success, error) of a wireless scan request
11330                 - (nm_supplicant_interface_request_scan): new function; ask the
11331                         supplicant to perform an immediate wireless scan
11332
11333 2006-11-25  Dan Williams  <dcbw@redhat.com>
11334
11335         * src/supplicant-manager/Makefile.am
11336                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11337                         add HAL cflags/includes and named-manager includes directory
11338
11339         * src/supplicant-manager/nm-supplicant-interface.h
11340                 - New state STARTING to handle transition from INIT to READY where
11341                         the addInterface pending call is still outstanding
11342
11343         * src/supplicant-manager/nm-supplicant-interface.c
11344                 - track pending calls differently since we may have more than one
11345                         going on at any given time
11346                 - request scan results from wpa_supplicant; but don't do it more often
11347                         than every 4 seconds.  Drivers that do background scanning
11348                         (like the 'ipw' drivers) send a continuous stream of scan completion
11349                         notifications, so we don't want to hammer the supplicant or dbus
11350                         with requests for all scan results every time we get a completion
11351                         notification.
11352
11353 2006-11-25  Dan Williams  <dcbw@redhat.com>
11354
11355         * src/supplicant-manager/nm-supplicant-types.h
11356                 - new file; move all supplicant manager object typedefs here for
11357                         #include sanity
11358
11359         * src/supplicant-manager/nm-supplicant-interface.c
11360           src/supplicant-manager/nm-supplicant-interface.h
11361                 - new file; an object that interfaces an NMDevice object to the
11362                         supplicant and handles signals from the supplicant.  This object
11363                         does all necessary DBus communication with wpa_supplicant.
11364
11365         * src/supplicant-manager/nm-supplicant-manager.c
11366           src/supplicant-manager/nm-supplicant-manager.h
11367                 - Actually do something.  Track the state of the wpa_supplicant service
11368                         and deal with its comings & goings.  Handle life events of
11369                         supplicant interfaces too.
11370                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11371
11372         * src/supplicant-manager/nm-supplicant-connection.h
11373                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11374
11375         * src/supplicant-manager/Makefile.am
11376                 - Add new files to build, and add libnm-util to includes
11377
11378         * src/nm-marshal.list
11379                 - New marshaler type: VOID:UINT,UINT
11380
11381         * src/nm-device-802-3-ethernet.c
11382                 - (real_init): grab a supplicant interface
11383                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11384                 - (supplicant_iface_state_cb): new function, stub for handling
11385                         supplicant interface state changes
11386
11387         * src/nm-device-802-11-wireless.c
11388                 - (real_init): grab a supplicant interface
11389                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11390                 - (supplicant_iface_state_cb): new function, stub for handling
11391                         supplicant interface state changes
11392
11393         * src/NetworkManager.c
11394                 - (main): create and keep the supplicant manager around for the lifetime
11395                         of NetworkManager
11396
11397         * src/Makefile.am
11398                 - Link to the supplicant manager sub-library and use the supplicant
11399                         manager includes
11400
11401 2006-11-25  Dan Williams  <dcbw@redhat.com>
11402
11403         Rework DBus manager signal handling to be more flexible.  Previously,
11404         only one signal handler could be registered for a particular interface.
11405         The DBus manager now reference counts DBus bus matches and allows multiple
11406         clients to register signal handlers for the same interface and sender.
11407
11408         * src/NetworkManager.c
11409                 - (main): track NMI signal handler ID and remove it when we quit
11410
11411         * src/NetworkManagerMain.h
11412                 - Keep track of NMI signal handler ID
11413
11414         * src/nm-dbus-manager.c
11415           src/nm-dbus-manager.h
11416                 - rework signal handling; each signal handler references one signal
11417                         match, but a signal match may be referenced by one or more
11418                         signal handlers.  Matches are refcounted and are destroyed when the
11419                         last signal handler that references the match is removed.  This is
11420                         necessary because two signal handlers may end up requiring the same
11421                         dbus bus match, so the match must live until the last signal handler
11422                         is destroyed (for example, with the wpa_supplicant network interface
11423                         dbus interface).
11424
11425         * src/dhcp-manager/nm-dhcp-manager.c
11426                 - (nm_dhcp_manager_new): track DHCP signal handler id
11427                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11428
11429         * src/vpn-manager/nm-vpn-service.c
11430                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11431                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11432
11433 2006-11-25  Dan Williams  <dcbw@redhat.com>
11434
11435         Suggested by Helmut Schaa <hschaa@suse.de>
11436
11437         * src/vpn-daemons/nm-vpn-service.c
11438                 - (supplicant_child_setup): new function
11439                 - (supplicant_exec): make child process use a new process group id
11440
11441         * src/nm-device-802-11-wireless.c
11442                 - (nm_vpn_service_child_setup): new function
11443                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11444                         process group id
11445
11446 2006-11-19  Dan Williams  <dcbw@redhat.com>
11447
11448         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11449         * gnome/vpn-properties/nm-vpn-properties.c
11450                 - clean up after renamed VPN connection
11451
11452 2006-11-19  Dan Williams  <dcbw@redhat.com>
11453
11454         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11455         * gnome/applet/applet-dbus-vpn.c
11456                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11457
11458         * gnome/vpn-properties/nm-vpn-properties.c
11459                 - (init_app): sort VPN connections
11460
11461 2006-11-09  Dan Williams  <dcbw@redhat.com>
11462
11463         * src/NetworkManagerAPList.c
11464                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11465                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11466                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11467                 broke hidden SSID matching.  Found by Bill Moss.
11468
11469 2006-10-25  Dan Williams  <dcbw@redhat.com>
11470
11471         * src/nm-dbus-nm.c
11472                 - (nm_dbus_nm_set_active_device): return an empty success message on
11473                         success, rather than falling through to the error case.
11474
11475 2006-10-25  Dan Williams  <dcbw@redhat.com>
11476
11477         * src/NetworkManagerUtils.c
11478                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11479                         "SCAN" command
11480
11481 2006-10-24  Dan Williams  <dcbw@redhat.com>
11482
11483         Reduce the number of times the Gnome applet wakes up, especially when
11484         it's doing absolutely nothing and is hidden.  Initial patch by
11485         Chris Aillon.
11486
11487         * gnome/applet/applet-dbus.c
11488                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11489                         kill the redraw timeout.  When NM starts up, start the redraw
11490                         timeout.  Also, if we get kicked off the bus for some reason,
11491                         start the reconnection timeout if one's not already running.
11492                 - (nma_dbus_init): better handling of error conditions, don't leak
11493                         a half-initialized dbus connection
11494                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11495                         the applet's data, just call nm_dbus_init_helper()
11496                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11497                         timeout that calls nma_dbus_connection_watcher()
11498                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11499                         reconnection timeout, and don't start the reconnection timeout
11500                         unconditionally anymore
11501
11502         * gnome/applet/applet-dbus.h
11503                 - Expose nma_start_dbus_connection_watch()
11504
11505         * gnome/applet/applet.c
11506                 - (nma_update_state): no longer static, called from applet-dbus.c for
11507                         immediate UI updates on certain events
11508                 - (nma_set_running): new function; take over setting applet->running,
11509                         when not running (ie, NM is not active), don't activate the redraw
11510                         timeout because we're not showing the applet anyway.  When we are
11511                         running (ie, NM is active), and only when we're running, start the
11512                         redraw timeout.
11513                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11514                         kill any reconnection timeout
11515                 - (nma_get_instance): move one-off dbus initialization code here since
11516                         nm_dbus_init_helper() gets called more than once, possibly by the
11517                         reconnection timeout function too.  And, when we start up, if we
11518                         can't get a connection to the bus, start the reconnection timeout.
11519                         But don't start the redraw timeout yet, only do that when we get
11520                         NM's state and find out if it's running or not.
11521
11522         * gnome/applet/applet.h
11523                 - Add the reconnection GSource ID
11524                 - Add prototypes for nma_set_running() and the no-longer-static
11525                         nma_update_state()
11526
11527 2006-10-24  Dan Williams  <dcbw@redhat.com>
11528
11529         * src/vpn-daemons/nm-dbus-vpnc.c
11530                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11531                         pending call tracker
11532                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11533                         pending call tracker; register one-vpn-connection update pending
11534                         call in pending call tracker
11535                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11536                         update pending call in pending call tracker
11537                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11538                         update pending call in pending call tracker; don't block waiting
11539                         for call to return
11540
11541 2006-10-19  Robert Love  <rml@novell.com>
11542
11543         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11544           refresh the cache.
11545
11546 2006-10-14  Dan Williams  <dcbw@redhat.com>
11547
11548         * src/dhcp-manager/nm-dhcp-manager.c
11549                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11550                 the dbus connection and the device object path rather than
11551                 constructing it inside both functions.  Saves a bit of memory
11552                 and clarifies a failure path.
11553                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11554                 and allocate device path here rather than each of the two
11555                 functions above.
11556
11557 2006-10-13  Dan Williams  <dcbw@redhat.com>
11558
11559         * src/NetworkManager.c
11560                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11561                 this somehow droppout in the refactor
11562
11563 2006-10-13  Dan Williams  <dcbw@redhat.com>
11564
11565         * Huge DBus refactor:
11566                 - Create a "DBus Manager" object which manages the connection and
11567                 sends signals on NameOwnerChanged and connection/disconnection events,
11568                 handles reconnection to the bus if NM gets kicked off, and abstracts
11569                 signal handling
11570                 - Remove DBusConnection members from places where they are no
11571                 longer needed due to the refactor, like the dbus-connection
11572                 property of the named manager, and from NMData
11573                 - Reformats a bunch of the code to gnome style
11574                 (8-space tabs, braces on same line as statement, 80-col width).
11575                 Consider it open season to reformat any bits to gnome style.
11576                 style that aren't already.
11577
11578 2006-10-13  Dan Williams  <dcbw@redhat.com>
11579
11580         * src/supplicant-manager/Makefile.am
11581                 - Add new files
11582
11583         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11584                 - Make it a minimal GObject
11585
11586         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11587                 - Verify settings destined for wpa_supplicant
11588
11589         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11590                 - Minimal GObject to track wpa_supplicant controlled device
11591                 connections
11592
11593 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11594
11595         * gnome/applet/applet.c: (nma_update_info),
11596         (nma_act_stage_to_pixbuf), (nma_update_state):
11597         Mark missing strings for translation. Fixes bug #343306.
11598
11599 2006-10-01  Dan Williams  <dcbw@redhat.com>
11600
11601         * src/vpn-manager/nm-vpn-manager.c
11602                 - (nm_vpn_manager_load_services): split and clean up
11603                 for readability and correctness.  Restrict VPN service
11604                 files to ending in ".name", as was meant from the
11605                 beginning (but not coded in).  Better error reporting.
11606
11607 2006-10-01  Dan Williams  <dcbw@redhat.com>
11608
11609         * utils/nm-utils.h
11610                 - Clean up formatting of debug/info/warning log messages
11611
11612 2006-09-27  Robert Love  <rml@novell.com>
11613
11614         Patch by Tambet Ingo <tambet@ximian.com>:
11615         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11616           actually work.
11617
11618 2006-09-07  Dan Williams <dcbw@redhat.com>
11619
11620         * test/Makefile.am
11621           test/libnm-util/Makefile.am
11622           test/nm-supplicant-test.c
11623                 - Add test program emulating the way NM drives wpa_supplicant
11624                 to help debug supplicant issues
11625
11626 2006-08-24  Dan Williams <dcbw@redhat.com>
11627
11628         * configure.in
11629           src/Makefile.am
11630           src/supplicant-manager/Makefile.am
11631           src/supplicant-manager/nm-supplicant-manager.c
11632           src/supplicant-manager/nm-supplicant-manager.h
11633                 - Add skeleton bits of the wpa_supplicant manager
11634
11635 2006-08-24  Dan Williams <dcbw@redhat.com>
11636
11637         Patch from Ed Catmur:
11638         * src/NetworkManagerUtils.c
11639                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11640                 if netmask is 0 (Gnome #352634)
11641
11642 2006-08-17  Robert Love  <rml@novell.com>
11643
11644         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11645           package is now DBUS-enabled and listens for the NM signals.
11646
11647 2006-08-14  Dan Williams  <dcbw@redhat.com>
11648
11649         * Patch from Christian Persch <chpe gnome org>
11650         * configure.in
11651           po/LINGUAS
11652           vpn-daemons/openvpn/po/LINGUAS
11653           vpn-daemons/openvpn/configure.in
11654           vpn-daemons/pptp/po/LINGUAS
11655           vpn-daemons/pptp/configure.in
11656           vpn-daemons/vpnc/po/LINGUAS
11657           vpn-daemons/vpnc/configure.in
11658                 - Convert to LINGUAS method so translators don't have to modify
11659                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11660                 0.35 or higher
11661
11662 2006-08-14  Dan Williams  <dcbw@redhat.com>
11663
11664         Patch from Alex Smith <alex.extreme2@gmail.com>
11665         * configure.in
11666           src/backends/Makefile.am
11667           src/backends/NetworkManagerFrugalware.c
11668                 - Add support for Frugalware
11669
11670 2006-08-13  Dan Williams  <dcbw@redhat.com>
11671
11672         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11673         * src/nm-device-802-11-wireless.c
11674                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11675                 Gnome #346875
11676
11677 2006-08-13  Dan Williams  <dcbw@redhat.com>
11678
11679         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11680         * src/nm-ap-security.c
11681           src/nm-ap-security.h
11682                 - Add authentication_required bits for subclasses to specify whether
11683                 or not real authentication is required for connections, i.e. whether
11684                 the AP rejects us when an encryption key is wrong or not.
11685
11686         * src/nm-ap-security-wep.c
11687           src/nm-ap-security-wpa-eap.c
11688           src/nm-ap-security-wpa-psk.c
11689           src/nm-ap-security-leap.c
11690                 - Implement authentication_required appropriately for each method
11691
11692         * src/nm-device-802-11-wireless.c
11693                 - Be smarter about when to request a key; for example, using a wrong key
11694                 in WEP shared key mode previously just timed out and did not request
11695                 a new key
11696
11697 2006-08-13  Dan Williams  <dcbw@redhat.com>
11698
11699         * gnome/libnm_glib/libnm_glib.c
11700                 - dbus_connection_disconnect() -> dbus_connection_close() for
11701                 dbus >= 0.90
11702
11703 2006-08-07  Dan Williams  <dcbw@redhat.com>
11704
11705         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11706         * src/NetworkManagerSystem.c
11707                 - Respect specified MTU.  Gnome #344967
11708
11709 2006-08-07  Dan Williams  <dcbw@redhat.com>
11710
11711         * src/vpn-manager/nm-vpn-service.c
11712                 - Simplify print_vpn_config() arguments
11713
11714         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11715         * src/vpn-manager/Makefile.am
11716           src/vpn-manager/nm-vpn-service.c
11717                 - Add new API for passing VPN config options as a dict. Gnome #344967
11718
11719 2006-08-06  Dan Williams  <dcbw@redhat.com>
11720
11721         * gnome/applet/applet-dbus-devices.c
11722           gnome/applet/applet-dbus-vpn.c
11723           gnome/applet/applet-dbus.c
11724           gnome/applet/applet-dbus.h
11725           src/nm-dbus-nmi.c
11726           utils/nm-utils.c
11727           utils/nm-utils.h
11728                 - Make pending call tracking code generic,
11729                 so we can use it in NM as well as the applet
11730
11731 2006-08-06  Dan Williams  <dcbw@redhat.com>
11732
11733         * src/nm-activation-request.c
11734                 - Refcount pending call objects
11735
11736 2006-08-06  Dan Williams  <dcbw@redhat.com>
11737
11738         Patch from Christan Chiesa <christanc@gmail.com>
11739         * configure.in
11740                 - Tell sha1.c to use bigendian mode on PPC
11741
11742 2006-08-04  Robert Love  <rml@novell.com>
11743
11744         Glib Memory Slices!
11745         * configure.in: Require glib 2.10 or later.
11746         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11747           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11748           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11749           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11750           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11751           Memory Slices are the greatest thing since bread slices.
11752         * src/NetworkManagerAP.c: Also, fix memory leak.
11753
11754 2006-08-01  Robert Love  <rml@novell.com>
11755
11756         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11757
11758 2006-07-31  Robert Love  <rml@novell.com>
11759
11760         * src/backends/interface_parser.c: Declarations must begin the block.
11761
11762 2006-07-24  Dan Williams  <dcbw@redhat.com>
11763
11764         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11765         * src/backends/Makefile.am
11766           src/backends/NetworkManagerArch.c
11767           src/backends/NetworkManagerDebian.c
11768           src/backends/NetworkManagerGeneric.c
11769           src/backends/NetworkManagerGeneric.h
11770           src/backends/NetworkManagerGentoo.c
11771           src/backends/NetworkManagerPaldo.c
11772           src/backends/NetworkManagerRedHat.c
11773           src/backends/NetworkManagerSlackware.c
11774           src/backends/NetworkManagerSuSE.c
11775                 - Genericize common backend functions
11776
11777 2006-07-18  Robert Love  <rml@novell.com>
11778
11779         * configure.in: Add "--with-notify" option to allow disabling of
11780           libnotify support.
11781
11782 2006-07-13  Dan Williams  <dcbw@redhat.com>
11783
11784         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11785         * gnome/applet/applet.glade
11786           gnome/applet/Makefile.am
11787           gnome/applet/nm-gconf-wso.c
11788           gnome/applet/nm-gconf-wso-leap.c
11789           gnome/applet/nm-gconf-wso-leap.h
11790           gnome/applet/wireless-security-manager.c
11791           gnome/applet/wso-leap.c
11792           gnome/applet/wso-leap.h
11793           include/NetworkManager.h
11794           libnm-util/dbus-helpers.c
11795           libnm-util/dbus-helpers.h
11796           src/Makefile.am
11797           src/NetworkManagerAP.c
11798           src/nm-ap-security.c
11799           src/nm-ap-security-leap.c
11800           src/nm-ap-security-leap.h
11801                 - Add LEAP authentication support
11802
11803 2006-07-13  Dan Williams  <dcbw@redhat.com>
11804
11805         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11806         * configure.in
11807           src/backends/NetworkManagerArch.c
11808           src/backends/NetworkManagerDebian.c
11809           src/backends/NetworkManagerGentoo.c
11810           src/backends/NetworkManagerPaldo.c
11811           src/backends/NetworkManagerRedHat.c
11812           src/backends/NetworkManagerSlackware.c
11813           src/backends/NetworkManagerSuSE.c
11814                 - Convert hardcoding of 'ip' path to configure-time
11815                         detected one
11816
11817 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11818
11819         * configure.in: added ru to ALL_LINGUAS
11820
11821 2006-07-10  Dan Williams  <dcbw@redhat.com>
11822
11823         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11824         * src/nm-device.c
11825                 - (real_act_stage3_ip_config_start): don't infinite loop when
11826                         dhcdbd isn't running (Gnome #346845)
11827
11828 2006-07-09  Dan Williams  <dcbw@redhat.com>
11829
11830         * gnome/applet/applet.c
11831                 - (nma_destroy): don't pass NULL to notify_notification_close
11832                         (RH #197917)
11833
11834 2006-07-09  Dan Williams  <dcbw@redhat.com>
11835
11836         * gnome/applet/applet.c
11837                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11838
11839 2006-07-04  Tor Krill  <tor@krill.nu>
11840
11841         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11842         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11843         (nm_system_restart_mdns_responder), (ArchReadConfig),
11844         (nm_system_device_get_system_config):
11845                 - Explicitly check for DHCP configuration
11846                 - Check if daemons are running before starting them
11847
11848 2006-06-25  Dan Williams  <dcbw@redhat.com>
11849
11850         * libnm-util/dbus-dict-helpers.[ch]
11851           test/libnm-util/test-dbus-dict-helpers.c
11852                 - Add string array support
11853
11854 2006-06-24  Dan Williams  <dcbw@redhat.com>
11855
11856         * src/dhcp-manager/nm-dhcp-manager.c
11857                 - (nm_dhcp_manager_process_signal): clean up spacing
11858
11859 2006-06-21  Dan Williams  <dcbw@redhat.com>
11860
11861         * src/nm-dbus-device.c
11862                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11863                         through dbus
11864
11865 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11866
11867         * configure.in: Added 'lv' to ALL_LINGUAS
11868
11869 2006-06-19  Dan Williams  <dcbw@redhat.com>
11870
11871         * src/NetworkManagerAP.c
11872                 - Clarify usage of user_created
11873
11874         * src/nm-ap-security-wep.c
11875           src/nm-ap-security-wpa-eap.c
11876           src/nm-ap-security-wpa-psk.c
11877           src/nm-ap-security.c
11878           src/nm-ap-security.h
11879                 - s/user_created/adhoc, because we really do mean adhoc
11880
11881         Patch from Bernard Blackham <bernard@blackham.com.au>
11882         * src/nm-device-802-11-wireless.c         
11883                 - (supplicant_send_network_config): instead of user_created,
11884                         use adhoc, and do AP_SCAN 2 for adhoc networks
11885
11886 2006-06-18  Robert Love  <rml@novell.com>
11887
11888         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11889           we have a value to set.  Gconf generates a warning if `val' is NULL.
11890         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11891           unless we actually received a valid private key file passphrase or
11892           password.  Otherwise, we don't know to later ask the applet to pull
11893           the key from the keyring.
11894
11895 2006-06-17  Dan Williams  <dcbw@redhat.com>
11896
11897         * libnm-util/dbus-dict-helpers.[ch]
11898           test/libnm-util/test-dbus-dict-helpers.c
11899                 - Fixes for zero-length byte arrays
11900                 - Replace return values of 0 with FALSE for clarity
11901                 - Test zero-length byte arrays
11902
11903 2006-06-17  Dan Williams  <dcbw@redhat.com>
11904
11905         * libnm-util/dbus-dict-helpers.[ch]
11906           test/libnm-util/test-dbus-dict-helpers.c
11907                 - Add helpers for byte arrays
11908                 - Rework bits of the testcase
11909
11910 2006-06-16  Dan Williams  <dcbw@redhat.com>
11911
11912         * libnm-util/Makefile.am
11913         * libnm-util/dbus-dict-helpers.[ch]
11914                 - Add some helpers to take the pain out of using dict types in
11915                         dbus.
11916
11917         * test/libnm-util/Makefile.am
11918         * test/libnm-util/test-dbus-dict-helpers.c
11919                 - Test cases for the dict helper functions
11920
11921 2006-06-15  Robert Love  <rml@novell.com>
11922
11923         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11924           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11925           if there is no key to pass.
11926         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11927           receiving a non-NULL key.
11928
11929 2006-06-14  Robert Love  <rml@novell.com>
11930
11931         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11932           copy the strings.
11933
11934
11935 2006-06-14  Dan Williams  <dcbw@redhat.com>
11936
11937         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11938         * src/nm-device-802-11-wireless.c
11939                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11940                         or ones where the driver is unknown
11941                 - (supplicant_exec): don't wait for supplicant startup here
11942                 - (supplicant_interface_init): finer grained polling for supplicant
11943                         startup
11944
11945 2006-06-13  Robert Love  <rml@novell.com>
11946
11947         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11948           if it is currently set to TRUE.  Otherwise, we will reset the value
11949           when we connect normally.
11950         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11951           the old BSSID is valid, too.  The recently added ESSID check may not be
11952           sufficient (we can remove it?).  What we really want to catch is the
11953           case of going from all-zeros to the BSSID of some other network, which
11954           happens on failure.
11955
11956 2006-06-09  Dan Williams  <dcbw@redhat.com>
11957
11958         * src/NetworkManagerSystem.[ch]
11959                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11960                         it was unused and pointless
11961                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11962                         fix for set_up_down_with_iface change
11963
11964         * src/vpn-manager/nm-vpn-connection.c
11965                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11966
11967         * src/backends/NetworkManagerPaldo.c
11968           src/backends/NetworkManagerRedHat.c
11969           src/backends/NetworkManagerSuSE.c
11970           src/backends/NetworkManagerArch.c
11971           src/backends/NetworkManagerDebian.c
11972           src/backends/NetworkManagerGentoo.c
11973                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11974                         appropriate
11975                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11976                         where appropriate
11977
11978 2006-06-09  Dan Williams  <dcbw@redhat.com>
11979
11980         Patch from Peter Jones:
11981         * src/nm-device-802-11-wireless.c
11982                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11983                         SSID hasn't changed from what we expect before automatically
11984                         updating the saved BSSID from a new AP
11985
11986 2006-06-08  Robert Love  <rml@novell.com>
11987
11988         Add 'fallback' support.  NetworkManager will attempt to brute-force
11989         connect to networks marked as fallback if there are no better wireless
11990         connections available.  This is useful as a method of last resort, to
11991         work around driver problems, and for use with hidden networks.
11992         * gnome/applet/applet-dbus-devices.c,
11993           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11994         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11995           pass it on via DBUS.
11996         * gnome/applet/applet.c: No fallback by default.
11997         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11998           Update other-network-dialog to add UI checkbox toggling fallback.
11999         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12000           propery from AP object.  Add "fallback" property to AP object.
12001         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12002         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12003         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12004           separate function.  Add get_best_fallback_ap() for returning an AP
12005           on which to attempt fallback.
12006         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12007         * test/nm-set-fallback: New file.  Sets a given network as fallback.
12008
12009 2006-06-07  Robert Love  <rml@novell.com>
12010
12011         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12012           checked that the return type was GCONF_VALUE_STRING, not the correct
12013           GCONF_VALUE_BOOL, and thus it never worked.
12014         * src/NetworkManagerAPList.c: Before concluding that two networks are
12015           identical based on their BSSID, make sure that the BSSID in question
12016           is actually valid.  Specifically, an empty or all zero BSSID does not
12017           cut it.
12018         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12019           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12020           similar invariant clean up.
12021
12022 2006-06-02  Robert Love  <rml@novell.com>
12023
12024         * gnome/applet/applet.c: Update copyright years.  Add Novell.
12025
12026 2006-05-28  Dan Williams  <dcbw@redhat.com>
12027
12028         * gnome/applet/applet.glade
12029           gnome/vpn-properties/nm-vpn-properties.glade
12030                 - Set window icons on dialogs  (Gnome.org #333420)
12031
12032 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
12033
12034         * gnome/vpn-properties/nm-vpn-properties.glade:
12035         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12036         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12037         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12038                 - Make the VPN properties pages prettier and more HIG
12039                   compliant. Gnome Bug #336913.
12040
12041 2006-05-28  Dan Williams  <dcbw@redhat.com>
12042
12043         Patch from Christian Persch <chpe@gnome.org>
12044         * gnome/vpn-properties/nm-vpn-properties.c
12045         * gnome/vpn-properties/nm-vpn-properties.glade
12046                 - HIG-ification love  (Gnome.org #336846)
12047
12048 2006-05-28  Dan Williams  <dcbw@redhat.com>
12049
12050         Patch from Christian Persch <chpe@gnome.org>
12051         * configure.in
12052           gnome/vpn-properties/nm-vpn-properties.c
12053                 - (main): Fix option parsing.  Gnome.org #336847
12054
12055 2006-05-28  Dan Williams  <dcbw@redhat.com>
12056
12057         * gnome/vpn-properties/nm-vpn-properties.c
12058                 - (find_vpn_ui_by_service_name): protect against NULL service names
12059                 - (update_edit_del_sensitivity): protect against NULL service names
12060                         Gnome.org #341306
12061
12062 2006-05-28  Dan Williams  <dcbw@redhat.com>
12063
12064         Patch from Chris Fuller <crf@grandecom.net>:
12065         * src/nm-device-802-11-wireless.c
12066                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12067                         don't dispose of wireless-specific stuff unless it is actually
12068                         initialized.  Gnome.org #341263
12069
12070 2006-05-28  Dan Williams  <dcbw@redhat.com>
12071
12072         * src/NetworkManagerPolicy.c
12073                 - (nm_policy_device_change_check): don't switch devices if the "best"
12074                         AP is essentially the same as the current activation request, but
12075                         the current activation request isn't done activating yet.  Fixes
12076                         multiple requests for keyring password on startup for Gnome applet.
12077                         Gnome.org #341297
12078
12079 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
12080
12081         * src/NetworkManager.c: use GOptions instead of getopt
12082         * configure.in: bump glib required version to >= 2.6 for GOption
12083           support
12084
12085 2006-05-25  Robert Love  <rml@novell.com>
12086
12087         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12088           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
12089           instead of dumping ifdef's throughout the code.
12090         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12091           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12092           use nm_ioctl_info() in lieu.
12093
12094 2006-05-25  Robert Love  <rml@novell.com>
12095
12096         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12097         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12098           not using gcrypt.  Otherwise, we get a linker error.
12099
12100 2006-05-25  Robert Love  <rml@novell.com>
12101
12102         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12103         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12104           configure flag to disable building of the GNOME-based applet.
12105
12106 2006-05-25  Robert Love  <rml@novell.com>
12107
12108         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12109           parameter from link, because it shadows a global variable with some
12110           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
12111           should never have exported to the entire system a common four letter
12112           word.  But we here at NetworkManager are team players.  Fixes
12113           GNOME bug #336532.
12114
12115 2006-05-25  Arangel Angov <ufo@linux.net.mk>
12116
12117         * configure.in: Added mk.po, Macedonian translation.
12118
12119 2006-05-24  Robert Love  <rml@novell.com>
12120
12121         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12122           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12123           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12124
12125 2006-05-24  Robert Love  <rml@novell.com>
12126
12127         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12128           libnm-util/Makefile.am, src/Makefile.am,
12129           vpn-daemons/openvpn/auth-dialog/Makefile.am,
12130           vpn-daemons/openvpn/properties/Makefile.am,
12131           vpn-daemons/pptp/auth-dialog/Makefile.am,
12132           vpn-daemons/pptp/properties/Makefile.am,
12133           vpn-daemons/vpnc/auth-dialog/Makefile.am,
12134           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12135           user passed for --datadir, if anything, when setting the GNOME locale
12136           directory.  It should be a function of the specified datadir and not
12137           the prefix.
12138
12139 2006-05-24  Robert Love  <rml@novell.com>
12140
12141         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12142           src/NetworkManager.c: Take care to call bindtextdomain with the
12143           location of msgid files.
12144         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12145           files.
12146
12147 2006-05-22  Robert Love  <rml@novell.com>
12148
12149         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12150           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12151           99% of the time there is a real problem with wireless, and a
12152           seemingly successful connection via Zeroconf just confuses the user.
12153           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12154
12155 2006-05-22  Robert Love  <rml@novell.com>
12156
12157         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12158           autofs on interface up if NIS is configured.  On interface down, do
12159           nothing.
12160
12161 2006-05-22  Robert Love  <rml@novell.com>
12162
12163         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12164           to avoid calling g_object_unref() on stale pointers on error in
12165           nma_icons_free().  This happens because we short-circuit loaded the
12166           icons on the first failure but then free all icons.  Normally we have
12167           no issue because the icons were zero'ed out malloc, but we have stale
12168           pointer data after nma_icon_theme_changed().
12169         * gnome/applet/main.c: Return error code if nma_new() failed.
12170
12171 2060-05-21  Dan Williams  <dcbw@redhat.com>
12172
12173         * initscript/NetworkManager.in
12174                 - Ensure both dhcdbd and named are started before NM
12175
12176 2006-05-21  Dan Williams  <dcbw@redhat.com>
12177
12178         * configure.in
12179                 - Bump version to 0.7 to signify we are in 0.7 development
12180
12181 2006-05-21  Dan Williams  <dcbw@redhat.com>
12182
12183         Patch from Adam Schreiber <sadam@clemson.edu>
12184         * gnome/vpn-properties/nm-vpn-properties.c
12185                 - (main): correct Gnome program name  (gnome.org #342498)
12186
12187 2006-05-21  Dan Williams  <dcbw@redhat.com>
12188
12189         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12190
12191         * src/NetworkManagerDbus.[ch]
12192                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12193                         clarify that function's argument should be an escaped dbus object
12194                         path, and look for path segment end before returning a match
12195         * src/nm-dbus-nm.c:
12196                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12197
12198 2006-05-17  Robert Love  <rml@novell.com>
12199
12200         Functionality to differentiate Ad-Hoc networks from infrastructure
12201         networks in the applet, by displaying a special icon:
12202         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12203         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12204         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12205           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12206           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12207           networks, encrypted or not.
12208         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12209           accessor functions to get and set the mode of a given network,
12210           wireless_network_get_mode() and wireless_network_set_mode().
12211
12212 2006-05-17  Robert Love  <rml@novell.com>
12213
12214         Functionality to automatically add BSSIDs to the allowed-MAC list as
12215         one roams from access point to access point on a given network:
12216         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12217           helper function to compare two ether_addr structures and return TRUE
12218           if they contain the same MAC address.
12219         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12220           prototype.
12221         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12222           stored with the current AP.  If the BSSID has indeed changed, we
12223           send it out to the applet, allowing the allowed-MAC list to grow
12224           automatically in response to roaming.
12225
12226 2006-05-16  Robert Love  <rml@novell.com>
12227
12228         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12229           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12230
12231 2006-05-13  Dan Williams  <dcbw@redhat.com>
12232
12233         * src/nm-device-802-3-ethernet.c
12234                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12235                         carrier detect (Debian bug #366373)
12236
12237 2006-05-11  Dan Williams  <dcbw@redhat.com>
12238
12239         Patch from Michael Biebl <biebl@teco.edu>
12240         * src/backends/NetworkManagerDebian.c
12241                 - Debian backend fixups
12242
12243 2006-05-10  Robert Love  <rml@novell.com>
12244
12245         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12246
12247 2006-05-09  Robert Love  <rml@novell.com>
12248
12249         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12250           private certificate passphrase, if any, in the GNOME Keyring.
12251         * libnm-utils/dbus-helpers.c: Update.
12252
12253 2006-05-05  Dan Williams  <dcbw@redhat.com>
12254
12255         * src/nm-device-802-11-wireless.c
12256                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12257                         nm_device_802_11_wireless_disable_encryption() since that's all
12258                         we use it for anymore; we don't ever set WEP keys ourselves.
12259                 - (real_deactivate_quickly): reset SSID and encryption keys
12260                 - (real_deactivate): move SSID and encryption key reset to
12261                         real_deactivate_quickly(), which gets run before us anyway
12262
12263 2006-05-05  Robert Love  <rml@novell.com>
12264
12265         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12266           root has a wacky default of its own (or, more common, a user has a
12267           bad umask and uses su/sudo to restart NetworkManager).  Anything
12268           other than 0022 does not do what we want with, for example,
12269           resolv.conf.  This problem is amplified by our judicious use of
12270           fopen(), which uses mode 0666 -- implying that the only way to get
12271           the permissions we want is with a umask of 0022.
12272
12273 2006-05-05  Dan Williams  <dcbw@redhat.com>
12274
12275         * gnome/libnm_glib/libnm_glib.c
12276                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12277                         to reconnect; instead wait a bit more with each reconnect attempt
12278                         up to a max of one minute.
12279
12280 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12281
12282         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12283           the WirelessNetwork structure using the proper function instead of
12284           just casting it directly to (const char *) (gnome.org #336991)
12285
12286 2006-05-03  Robert Love  <rml@novell.com>
12287
12288         * src/backends/NetworkManagerSuSE.c: Respect the variable
12289           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12290           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12291           to dynamically update /etc/resolv.conf.
12292
12293 2006-05-02  Peter Jones  <pjones@redhat.com>
12294
12295         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12296
12297 2006-05-02  Robert Love  <rml@novell.com>
12298
12299         Patch by Timo Hoenig;
12300         * tests/nm-online.c: Print pretty status indicator as timeout winds
12301           down.  Also fix possible race between DBUS startup and failure
12302           return.
12303
12304 2006-05-01  Robert Love  <rml@novell.com>
12305
12306         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12307           empty, too.
12308
12309 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12310
12311         * src/nm-device.c (discover_device_type): Actually use the hal
12312         device type instead of ioctl poking
12313
12314 2006-04-26  Robert Love  <rml@novell.com>
12315
12316         * tests/nm-online.c: New file.  Simple utility that returns exit status
12317           noting whether the connection is offline or online.  If offline on
12318           start, it waits 30 seconds (or a command-line given value) for an
12319           online signal.  If it times out, it again returns offline.  This is
12320           useful for scripts that want to wait for network connections.
12321
12322 2006-04-25  Robert Love  <rml@novell.com>
12323
12324         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12325           key mode (the authentication algorithm), e.g. open or shared, when we
12326           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12327           only shared was broken.  If the user specified a shared key, set it
12328           explicitly, otherwise let wpa_supplicant go with the default.
12329
12330 2006-04-24  Dan Williams  <dcbw@redhat.com>
12331
12332         * src/nm-device-802-11-wireless.c
12333                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12334
12335 2006-04-24  Dan Williams  <dcbw@redhat.com>
12336
12337         Commit the async scanning patch
12338
12339         * src/nm-device-802-11-wireless.c
12340                 - get rid of scan_mutex
12341                 - (wireless_event_helper): act on wireless scan events
12342                 - (real_start): schedule a pending scan
12343                 - (link_to_specific_ap): fake the link to the AP during a scan
12344                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12345                         strength during scans
12346                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12347                         nm_device_set_bitrate): unused with new scanning code, disable
12348                 - (nm_device_wireless_schedule_scan): removed
12349                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12350                 - (request_and_convert_scan_results): new function; retrieve scan
12351                         results from the driver and schedule the processing function
12352                 - (scan_results_timeout): timeout triggered when card doesn't send
12353                         a scan results wireless event during a certain interval
12354                 - (schedule_scan_results_timeout): new function; schedule the scan
12355                         results timeout
12356                 - (cancel_scan_results_timeout): new function; cancel the scan
12357                         results timeout
12358                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12359                         to do the scanning.  Otherwise, just request a scan but don't
12360                         grab results here; instead schedule a timeout for scan results and
12361                         let netlink notify us of scan completion events
12362                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12363                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12364                 - (supplicant_status_cb): ignore disconnect events while scanning
12365                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12366                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12367                         timeouts
12368                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12369
12370 2006-04-24  Dan Williams  <dcbw@redhat.com>
12371
12372         * gnome/applet/applet-dbus.c
12373                 - Disable the pending call debug stuff, seems under control now
12374
12375 2006-04-20  Robert Love  <rml@novell.com>
12376
12377         Fix bug where hidden ESSID's would not show up in the applet, even
12378         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12379         because nm_policy_device_list_update_from_allowed_list() would merge
12380         the data, putting a name to the hidden networks, but never notify NMI
12381         of the changes.  Simple fix is to invoke the function
12382         nm_dbus_signal_wireless_network_change() if we make a mapping.
12383         * src/NetworkManagerAPList.c: Call the function
12384           nm_dbus_signal_wireless_network_change() if we made a successful
12385           BSSID to ESSID mapping, notifying the applet of the "new" network.
12386         * src/NetworkManagerAPList.h: Update the prototypes for both
12387           nm_ap_list_copy_essids_by_address() and
12388           nm_ap_list_copy_one_essid_by_address().
12389
12390 2006-04-20  Robert Love  <rml@novell.com>
12391
12392         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12393           not set.  Just return zero.
12394
12395 2006-04-20  Robert Love  <rml@novell.com>
12396
12397         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12398           only one copy of nm-vpn-properties is running at a time via the 'ol
12399           X selection trick.  This prevents the user from opening two "VPN
12400           Connections" windows from within the applet, which leads to mass
12401           hysteria.
12402         * clipboard.c: New file, implementing simple X selection logic.
12403         * clipboard.h: New file.
12404         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12405
12406 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12407
12408         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12409         * configure.in
12410           initscript/Gentoo/Makefile.am
12411           initscript/Gentoo/NetworkManagerDispatcher.in
12412                 - New script
12413         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12414           Gentopia
12415
12416 2006-04-16  Dan Williams  <dcbw@redhat.com>
12417
12418         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12419         * configure.in
12420           initscript/Slackware/Makefile.am
12421           initscript/Slackware/rc.networkmanager-dispatcher.in
12422           initscript/Slackware/rc.networkmanager.in
12423                 - Update slackware initscripts
12424
12425 2006-04-10  Robert Love  <rml@novell.com>
12426
12427         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12428           the "delete_event" signal on the druid's parent window and handle it
12429           our way, lest using the WM to close the druid results in a series of
12430           bloody and ultimately lethal errors.
12431
12432 2006-04-10  Robert Love  <rml@novell.com>
12433
12434         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12435           'Back' too or else the 'Forward' option is initially disabled despite
12436           valid input.
12437
12438 2006-04-06  Robert Love  <rml@novell.com>
12439
12440         Fix bad but simple bug where an active modem connection did not update
12441         NM's connection state, breaking any app that did online/offline:
12442         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12443           represented whether a dial up connection is active, or not.
12444         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12445           to modem activation and deactivation.
12446         * src/NetworkManagerDbus.c: When asked our state, do not return
12447           disconnected if the modem is active.
12448
12449 2006-04-04  Robert Love  <rml@novell.com>
12450
12451         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12452           applet.  It just confuses the crap out of people and does not make a
12453           lot of sense, as the daemon still runs.
12454
12455 2006-04-02  Tor Krill  <tor@krill.nu>
12456
12457         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12458           in start of service.
12459         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12460           get Archlinux backend up to date.
12461
12462 2006-03-29  Robert Love  <rml@novell.com>
12463
12464         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12465         to add support for per-route MSS and improve support for per-interface
12466         MTU:
12467         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12468           optionally take an MSS parameter and set it for the given route.
12469           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12470           NMIP4Config's stored MSS, if any.
12471         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12472           the interface's MTU and the route's MSS, respectively.  Add functions
12473           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12474           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12475           MSS.
12476         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12477           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12478           nm_ip4_config_set_mss.
12479         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12480           VPN daemon.
12481         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12482           Change the retval of nm_system_get_mtu to guint32.
12483         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12484           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12485           servers can specify MTU's, we should set it here if the MTU was not
12486           provided.
12487
12488 2006-03-27  Jürg Billeter  <j@bitron.ch>
12489
12490         * configure.in:
12491         * initscript/Makefile.am:
12492         * initscript/paldo/Makefile.am:
12493         * initscript/paldo/NetworkManager.in:
12494         * initscript/paldo/NetworkManagerDispatcher.in:
12495         * src/backends/Makefile.am:
12496         * src/backends/NetworkManagerPaldo.c:
12497                 - Add paldo support
12498
12499 2006-03-27  Dan Williams  <dcbw@redhat.com>
12500
12501         Patch from Christian Persch <chpe@gnome.org>
12502         * gnome/applet/applet.glade
12503                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12504
12505 2006-03-27  Dan Williams  <dcbw@redhat.com>
12506
12507         Patch from Diffe <diffie@blazebox.homeip.net>
12508         * src/backends/NetworkManagerSlackware.c
12509                 - Don't restart howl, since it's been replaced by Avahi
12510                         in most distributions
12511
12512 2006-03-27  Dan Williams  <dcbw@redhat.com>
12513
12514         Patch from Tor Krill <bugzilla@krill.nu>
12515         * configure.in
12516           initscript/Makefile.am
12517           src/backends/Makefile.am
12518           src/backends/NetworkManagerArch.c
12519           initscript/Arch/Makefile.am
12520           initscript/Arch/networkmanager-dispatcher.in
12521           initscript/Arch/networkmanager.in
12522                 - Add Arch Linux support, fixes gnome.org #335147
12523
12524 2006-03-27  Dan Williams  <dcbw@redhat.com>
12525
12526         Patch from Diffe <diffie@blazebox.homeip.net>
12527      * initscript/Slackware/rc.networkmanager
12528         - update, fixed gnome.org #333368
12529
12530 2006-03-27  Robert Love  <rml@novell.com>
12531
12532         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12533           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12534
12535 2006-03-27  Robert Love  <rml@novell.com>
12536
12537         Patch by Jürg Billeter <j@bitron.ch>:
12538         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12539           systems.
12540         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12541           as we prefer glibc over kernel headers, if possible.
12542
12543 2006-03-27  Robert Love  <rml@novell.com>
12544
12545         Patch by Jon Escombe <list@dresco.co.uk>:
12546         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12547         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12548           fail, don't bail out.  We don't expect all of the various WPA-EAP
12549           values to be present.
12550         * src/nm-ap-security.c: We need to match all capabilities for each
12551           encryption type, not any one of them.
12552
12553 2006-03-27  Robert Love  <rml@novell.com>
12554
12555         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12556           restart, not reload, ypbind.  Unfortunately there is no superior
12557           solution.
12558
12559 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12560
12561         * gnome/applet/applet-notifications.c:
12562         When displaying a notification, make sure to get rid of the
12563         previous notification so as to not have competing bubbles,
12564         and stop leaking the old one.
12565
12566         * gnome/applet/applet.c:
12567         * gnome/applet/applet.h:
12568         Add a new 'notification' member to the applet, and zero it out
12569         and free it appropriately.
12570
12571 2006-03-23  Robert Love  <rml@novell.com>
12572
12573         Patch by j <j@bootlab.org>:
12574         * gnome/applet/applet.glade: Don't set the invisible_char property,
12575           which simply overrides the GTK default.  By and by, this behavior
12576           ought to be fixed in Glade.
12577
12578 2006-03-22  Robert Love  <rml@novell.com>
12579
12580         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12581
12582 2006-03-22  Robert Love  <rml@novell.com>
12583
12584         Bug fix by Timo Hoenig <thoenig@suse.de>:
12585         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12586           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12587           and the applet going AWOL.
12588
12589 2006-03-22  Robert Love  <rml@novell.com>
12590
12591         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12592           preprocessor define and use it instead of open-coded the DHCP
12593           timeout, which is currently 25 seconds, everywhere.
12594
12595 2006-03-22  Robert Love  <rml@novell.com>
12596
12597         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12598         key exchange via WPA, ostensibly providing good security without
12599         requiring hardware that supports full WPA.  Also, add UI elements to
12600         allow the user to select the pairwise & group cipher for WPA Enterprise
12601         networks, too:
12602         * gnome/applet/applet.glade: Update glade file.
12603         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12604           key type, too, to and from gconf.
12605         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12606           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12607           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12608           the capabilities match.
12609         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12610           prototype.
12611         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12612           serialize from UI to DBUS.
12613         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12614           one element.
12615         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12616           nmu_security_serialize_wpa_eap_with_cipher(), and
12617           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12618           serialize/deserialize the key type via DBUS as the new third DBUS
12619           parameter.
12620         * libnm-util/dbus-helpers.h: Update prototypes.
12621         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12622           too.  If the key type is WEP104, do Dynamic WEP, which means
12623           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12624           pairwise and group ciphers (fixes a FIXME).
12625
12626 2006-03-21  Robert Love  <rml@novell.com>
12627
12628         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12629           nm_system_get_mtu(), which returns a user-provided or system-mandated
12630           MTU value for a given device, if any, or zero if no such value
12631           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12632           if we have a provided value.
12633         * src/nm-device.c: Set the MTU of devices.
12634         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12635         * src/backends/NetworkManagerDebian.c,
12636           src/backends/NetworkManagerGentoo.c,
12637           src/backends/NetworkManagerRedHat.c,
12638           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12639
12640 2006-03-21  Robert Love  <rml@novell.com>
12641
12642         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12643           configuration file.
12644
12645 2006-03-17  Robert Love  <rml@novell.com>
12646
12647         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12648           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12649           it, in case it is not running in the first place.  We just want its
12650           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12651
12652 2006-03-15  Robert Love  <rml@novell.com>
12653
12654         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12655           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12656           label "WEP 40/128-bit" is inconsistent because the physical key size
12657           is 40 or 104-bits, to which a 24-bit initialisation vector is
12658           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12659           to read "40/104" or "64/128".  I do not care much which, but most
12660           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12661           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12662           WEP passphrase support only handles 128-bit keys, and any future
12663           64-bit passphrase support will require a new option (no way to auto-
12664           detect the target key size), explicitly label our passphrase support
12665           "WEP 128-bit Passphrase".
12666
12667 2006-03-15  Robert Love  <rml@novell.com>
12668
12669         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12670           the system init scripts (or some other mechanism) starting it (or a
12671           compatible DBUS service) before NetworkManager runs.  This means that
12672           distributions might need to update their init scripts.  This fixes
12673           possible races and is quite a bit cleaner.
12674         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12675           starting the NetworkManager daemon.
12676
12677
12678 2006-03-14  Robert Love  <rml@novell.com>
12679
12680         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12681           before adding anything.
12682
12683 2006-03-13  Robert Love  <rml@novell.com>
12684
12685         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12686           widgets, too, if they exist, in case the user hit the back button.
12687           Fixes a bug where the details page contains the widgets of multiple
12688           VPN modules (Novell bug #157048).
12689
12690 2006-03-13  Robert Love  <rml@novell.com>
12691
12692         Patch by Timo Hoenig <thoenig@suse.de>:
12693         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12694           daemon survive DBUS restarts, too.
12695
12696 2006-03-10  Robert Love  <rml@novell.com>
12697
12698         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12699           passphrase or key.
12700         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12701           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12702           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12703           in response to "toggled" signal on new toggle.
12704
12705 2006-03-10  Robert Love  <rml@novell.com>
12706
12707         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12708           serialization if strings are NULL, lest DBUS get angry.
12709
12710 2006-03-10  Robert Love  <rml@novell.com>
12711
12712         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12713
12714 2006-03-09  Robert Love  <rml@novell.com>
12715
12716         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12717           configurations.
12718
12719 2006-03-09  Dan Williams  <dcbw@redhat.com>
12720
12721         Track pending call requests in the applet, and report how many are
12722         outstanding, and how long each completed one takes.
12723         
12724         * gnome/applet/applet-dbus-devices.c
12725           gnome/applet/applet-dbus-vpn.c
12726                 - Track pending calls
12727
12728         * gnome/applet/applet-dbus.[ch]
12729                 - Remove some unused enums
12730                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12731                         new functions to track dbus pending calls and spit out some
12732                         statistics about them
12733
12734 2006-03-09  Robert Love  <rml@novell.com>
12735
12736         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12737           nm_ap_set_timestamp() take the second and micro-second parameters as
12738           direct arguments, which avoids both a dynamic memory allocation and a
12739           structure-to-structure copy!  Add a new interface, the aptly named
12740           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12741           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12742           the return from nm_ap_get_timestamp().  New users should use the new
12743           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12744           the extreme benefit to performance.
12745         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12746           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12747
12748 2006-03-08  Robert Love  <rml@novell.com>
12749
12750         * gnome/applet/applet.glade: Hide the password entry text with
12751           asterisks.
12752
12753 2006-03-08  Robert Love  <rml@novell.com>
12754
12755         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12756           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12757           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12758           a second argument, NMData.
12759         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12760         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12761           config files as trusted.
12762
12763 2006-03-06  Robert Love  <rml@novell.com>
12764
12765         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12766         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12767           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12768           Rivera, detect if the applet was auto-started.  If so, ask the user
12769           if he or she would like to stop automatically running the applet on
12770           login.  If so, disable autostart.
12771
12772 2006-03-06  Robert Love  <rml@novell.com>
12773
12774         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12775           directory in CFLAGS so developers can actually use NetworkManager.h.
12776
12777 2006-03-06  Robert Love  <rml@novell.com>
12778
12779         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12780           open-coded integer constants.  Add state_to_string() to map a given
12781           state to a textual description, and provide that when notifying of
12782           state change.
12783         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12784           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12785           this header directly, but it is currently not installed on most
12786           systems.
12787
12788 2006-03-05  Dan Williams  <dcbw@redhat.com>
12789
12790         Process netlink messages in device subclasses rather than in
12791         NetworkManager.c.  Also add support for recognizing Wireless Events.
12792         
12793         * configure.in
12794                 - Find GLIB_GENMARSHAL
12795
12796         * src/Makefile.am
12797                 - Since we're marshalling custom types for wireless event signals,
12798                         we get to create our own marshallers using GLIB_GENMARSHAL
12799
12800         * src/NetworkManager.c
12801                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12802                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12803                         cut down somewhat.  We no longer process signals here.
12804                 - (nm_data_new): create the netlink monitor here, and remove a
12805                         useless call to nm_policy_schedule_device_change_check()
12806                 - (nm_data_free): get rid of the netlink monitor here
12807                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12808                 - (main): don't create the netlink monitor here, let nm_data_new
12809                         do that.  Call nm_policy_schedule_device_change_check() right
12810                         before we jump to the mainloop to figure out which device
12811                         to use first
12812
12813         * src/NetworkManagerSystem.[ch]
12814                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12815                         convert back and forth from interface names to interface
12816                         indexes
12817
12818         * src/nm-device-802-11-wireless.c
12819                 - (real_init): connect to wireless-event signals from the netlink
12820                         monitor object
12821                 - (nm_device_802_11_wireless_event): new function, schedule handler
12822                         for wireless event signals from the netlink monitor object.  We
12823                         want the handler to run in the device's context
12824                 - (wireless_event_helper): handle wireless-event signals from netlink
12825                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12826                         signal handler
12827
12828         * src/nm-device-802-11-wireless.h
12829                 - remove unused prototype for nm_device_802_11_wireless_new
12830
12831         * src/nm-device-802-3-ethernet.c
12832                 - (real_init): new function; set up signal handlers for link events
12833                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12834                         handler for netlink link activated events on device's main loop
12835                 - (link_activated_helper): when we get a link activated event, set
12836                         the device's link to be active
12837                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12838                         handler for netlink link deactivated events on device's main loop
12839                 - (link_deactivated_helper): when we get a link deactivated event, set
12840                         the device's link to be inactive
12841                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12842                         dispose
12843
12844         * src/nm-device-802-3-ethernet.h
12845                 - remove unused prototype for nm_device_802_3_ethernet_new
12846
12847         * src/nm-device.[ch]
12848                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12849                         but locks the device list
12850                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12851
12852         * src/nm-netlink-monitor.[ch]
12853                 - (nm_netlink_monitor_class_install_signals): New signal
12854                         "wireless-event"
12855                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12856                         at the device list
12857                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12858
12859         * src/nm-marshal-main.c
12860                 - Include generated nm-marshal.c and nm-marshal.h
12861
12862         * src/nm-marshal.list
12863                 - List of custom marshal functions
12864
12865 2006-03-05  Dan Williams  <dcbw@redhat.com>
12866
12867         * gnome/applet/applet-notifications.h
12868                 - Protect prototype of nma_send_event_notification() because it
12869                         includes libnotify-specific types
12870                 - Include libnotify/libnotify.h too, since we technically need it
12871
12872         * gnome/applet/applet.c
12873                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12874                 - (nma_show_vpn_login_banner_dialog): add some error checking
12875
12876 2006-03-04  Dan Williams  <dcbw@redhat.com>
12877
12878         Clean up activation cancellation.  Should be a lot faster now.  Observed
12879         an issue with wireless devices between stage 2 and 3 of activation, where
12880         activation would be cancelled, but the device thread wouldn't notice until
12881         the supplicant association timed out.  Reorganize activation such that
12882         a cancellation handler gets immediately scheduled in the device's thread,
12883         and devices have a chance to perform any custom cleanup too.
12884
12885         * src/nm-device.[ch]
12886                 - (activation_cancel_handler): new device-type-specific function
12887                         for cleaning up device-type-specific stuff on cancellation
12888                 - (cancel_activation): removed
12889                 - (nm_device_activation_cancel): subsume functionality of
12890                         real_cancel_activation, but instead of doing anything, punt
12891                         operation to a handler that's run in device-thread context
12892                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12893                         a warning message
12894                 - (activation_handle_cancel_helper): cancellation handler run in
12895                         device-thread context, calls device-type-specific cancelation,
12896                         then tears down the activation request
12897                 - (real_activation_cancel_handler): generic cancellation handler,
12898                         deals with cancelling any in-process DHCP request
12899                 - (nm_device_activate_stage1_device_prepare,
12900                    nm_device_activate_stage2_device_config,
12901                    nm_device_activate_stage3_ip_config_start,
12902                    nm_device_activate_stage4_ip_config_get,
12903                    nm_device_activate_stage4_ip_config_timeout,
12904                    nm_device_activate_stage5_ip_commit): don't call
12905                         nm_device_schedule_activation_handle_cancel() any more, since
12906                         cancellation will have been already scheduled for us by
12907                         nm_device_activation_cancel().  Just exit the function and
12908                         assume that the cancel handler will be called next.
12909
12910         * src/nm-device-802-3-ethernet.c
12911                 - (real_act_stage2_config): remove; didn't do anything anyway
12912
12913         * src/nm-device-802-11-wireless.c
12914                 - (supplicant_status_cb): ensure we don't do anything if the activation
12915                         got cancelled
12916                 - (real_activation_cancel_handler): implement; cancel user key request
12917                         on activation cancellation
12918
12919 2006-03-04  Dan Williams  <dcbw@redhat.com>
12920
12921         * src/nm-device-802-11-wireless.c
12922                 - (supplicant_send_network_config): assume that drivers that don't
12923                         support WPA pretty much suck, and can't handle NM scanning
12924                         along with wpa_supplicant.
12925
12926 2006-03-03  Robert Love  <rml@novell.com>
12927
12928         * configure.in: Bump version to 0.6.0.
12929         * NEWS: Update.
12930
12931 2006-03-03  Robert Love  <rml@novell.com>
12932
12933         * configure.in: Require DBUS 0.60 or later.
12934
12935 2006-03-03  Dan Williams  <dcbw@redhat.com>
12936
12937         Fix a crash if an "Other wireless network" was chosen, failed, then
12938         chosen again from the applet's menu.  If the other network wasn't
12939         noticed in a scan, it wouldn't have any capabilities, but would still
12940         be listed because the user forced the network.  To fix this, we set
12941         sensible capabilities on the forced network, which will get overwritten
12942         with the correct ones if the network shows up later in a scan.
12943         
12944         * src/nm-ap-security.h
12945                 - Add a new "get_default_capabilities_func" member to the
12946                         NMAPSecurity class
12947
12948         * src/nm-ap-security.c
12949                 - (nm_ap_security_get_default_capabilities): new function
12950
12951         * src/nm-ap-security.c
12952           src/nm-ap-security-wep.c
12953           src/nm-ap-security-wpa-psk.c
12954           src/nm-ap-security-wpa-eap.c
12955                 - Implement get_default_capabilities_func() for all, which
12956                         uses the information contained in a specific NMAPSecurity
12957                         object to determine default AP capabilites necessary
12958                         to support that object
12959
12960         As a secondary measure, we now prune artificial access points that fail
12961         to be activated right away.  The thing failed, and we have no scan data for
12962         it, so it's pretty much useless since security information is only saved
12963         in the applets when a connection is successful.
12964
12965         * src/NetworkManagerAPList.c
12966                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12967                         not artificial.  If we see it, it's no longer a figment of the
12968                         user's imagination :)
12969
12970         * src/NetworkManagerPolicy.c
12971                 - (nm_policy_activation_failed): send along the failed AP if we
12972                         have it
12973
12974         * src/nm-device-802-11-wireless.c
12975                 - (real_activation_failure_handler): remove artificial APs from
12976                         the device list, because activation failed
12977
12978 2006-03-02  Robert Love  <rml@novell.com>
12979
12980         Add support for retrieving both the per-device speed and the
12981         per-network maximum supported rate.  Then change the getProperties
12982         DBUS API for both networks and devices to report this informaiton.
12983         Finally, display the information via both nm-applet and nm-tool:
12984         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12985           and set it.
12986         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12987           Information' dialog.
12988         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12989         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12990           network_device_get_speed() and network_device_set_speed() for
12991           retrieving and setting, respectively, a network device's current
12992           speed.
12993         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12994         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12995           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12996           not matter (yet) what the units are, because we only feed it its own
12997           output.  Implement SIOCGIRATE and set the per-network maximum
12998           supported rate during scanning.
12999         * src/nm-device-802-11-wireless.h: Export the function
13000           nm_device_802_11_wireless_get_bitrate().
13001         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13002           function nm_device_802_3_ethernet_get_speed() for returning an
13003           802.3's current speed, in Mb/s.
13004         * test/nm-tool.c: Display the per-device current speed, if available,
13005           and the per-network maximum rate.
13006
13007 2006-03-02  Dan Williams  <dcbw@redhat.com>
13008
13009         * src/nm-device-802-11-wireless.c
13010                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13011                         card when it gets initialized.  Since devices don't get added to
13012                         the scan list until they are initialized, this function wasn't
13013                         setting the intitial scan interval correctly, and was leaving
13014                         it at 0.  This caused cards to get many scan requests in a short
13015                         amount of time when they were initialized
13016
13017 2006-03-02  Robert Love  <rml@novell.com>
13018
13019         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13020           active device.  But do not do what we used to do and override the
13021           state, which caused the dreaded icon race of '05.
13022
13023 2006-03-02  Robert Love  <rml@novell.com>
13024
13025         Commit Dan's update of my previous commit:
13026         * src/nm-device-802-11-wireless.c: Always set the mode, because the
13027           set_mode() function itself does the check.  But do only set the
13028           frequency if in Ad-Hoc mode.
13029
13030 2006-03-02  Robert Love  <rml@novell.com>
13031
13032         Patch by Brian Magnuson <magnuson@rcn.com>:
13033         * src/nm-device-802-11-wireless.c: During scanning, only set the
13034           wireless mode to infrastructure if it is not currently in
13035           infrastructure mode.  For some driver, setting the mode is a costly
13036           operation, apparently.
13037
13038 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
13039
13040         * Makefile.am: use the correct dir for autostart mechanism.
13041
13042 2006-02-28  Dan Williams  <dcbw@redhat.com>
13043
13044         Patch from Brian Magnuson <magnuson@rcn.com>
13045         * gnome/applet/applet.c
13046                 - (nma_show_vpn_failure_dialog): fix errors left over from
13047                         libnotify support changes
13048
13049 2006-02-28  Dan Williams  <dcbw@redhat.com>
13050
13051         * src/vpn-manager/nm-vpn-act-request.[ch]
13052                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13053                         just one value
13054                 - (nm_vpn_act_request_is_failed): new function; return whether or
13055                         not the vpn activation request has failed
13056
13057         * src/vpn-manager/nm-vpn-manager.c 
13058                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13059                         daemon to kill the connection when the activation request fails.
13060                         Fixes issue where NM would get confused if the VPN activation
13061                         request timed out, and would not allow further VPN connections
13062                         on that service.
13063
13064 2006-02-28  Dan Williams  <dcbw@redhat.com>
13065
13066         * gnome/applet/applet.c
13067                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13068                         overlapping connection requests, disable all VPN menu items
13069                         but the active VPN connection
13070
13071 2006-02-28  Dan Williams  <dcbw@redhat.com>
13072
13073         * src/vpn-manager/nm-vpn-connection.c
13074                 - (nm_vpn_connection_set_parent_device): fix C&P error which
13075                         called g_object_unref() on the connection's parent device
13076                         when it should have been ref-ed instead.  Fixes crash with
13077                         repeated vpn connect requests
13078
13079 2006-02-28  Christopher Aillon  <caillon@redhat.com>
13080
13081         * gnome/applet/applet.glade:
13082         Mark a few strings non-translatable, since they shouldn't be.
13083
13084 2006-02-28  Dan Williams  <dcbw@redhat.com>
13085
13086         * src/vpn-manager/nm-vpn-service.c
13087                 - (nm_vpn_service_start_connection): if the vpn service daemon is
13088                         already running, don't blindly ask it to connect, but wait until
13089                         it's in the STOPPED state first.  Fixes an assertion when user
13090                         starts a second vpn connection without stopping the first.
13091                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13092                         dbus service exists before continuing with the connection
13093                         process, and reduce latency while waiting for it to become
13094                         available
13095                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13096                         waiting for the vpn service daemon to become available
13097                 - General log message cleanups; show progress via "Stage x of 4"
13098                         rather than not telling anyone how many stages there are
13099
13100 2006-02-28  Robert Love  <rml@novell.com>
13101
13102         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13103         * src/backends/NetworkManagerSuSE.c: Implement the interface
13104           nm_system_should_modify_resolv_conf() for SUSE.
13105         * src/backends/NetworkManagerDebian.c,
13106           src/backends/NetworkManagerGentoo.c,
13107           src/backends/NetworkManagerRedHat.c,
13108           src/backends/NetworkManagerSlackware.c: Add stub.
13109         * src/named-manager/Makefile.am: Grab includes from src.
13110         * src/named-manager/nm-named-manager.c: Allow backends to disable the
13111           automatic updating of resolv.conf.  This is useful for testing,
13112           broken static configurations, and administrator lock-down.
13113
13114 2006-02-28  Dan Williams  <dcbw@redhat.com>
13115
13116         * src/nm-device-802-11-wireless.c
13117                 - Move all the wpa_supplicant-related management stuff into its
13118                         own struct, just for oranization's sake
13119                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13120                         to a GIOChannel/GSource
13121                 - (supplicant_log_stdout): new function; grab output from the
13122                         wpa_supplicant stdout pipe and write it to our logs.
13123
13124 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13125
13126         * src/nm-device-802-11-wireless.c:
13127         Err, fix thinko in my previous commit.
13128
13129 2006-02-28  Robert Love  <rml@novell.com>
13130
13131         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13132
13133 2006-02-28  Robert Love  <rml@novell.com>
13134
13135         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13136           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13137           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13138           deserializers are responsible for freeing the returned DBUS strings.
13139
13140 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13141
13142         * src/nm-device-802-11-wireless.c:
13143         The scan list is being pruned prematurely.  We should prune after
13144         the device has gone MIA for three scans, not one.  Split out the
13145         interval to realtime seconds function to better serve this.
13146
13147 2006-02-27  Robert Love  <rml@novell.com>
13148
13149         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13150           Open the pid file O_TRUNC, so if it already exists we truncate it to
13151           zero length.  Also, be more verbose about warnings generated during
13152           writing out the pid file.  Finally, always write out the pid file if
13153           in daemon mode.  Use "--pid-file" to override the default.
13154
13155 2006-02-27  Robert Love  <rml@novell.com>
13156
13157         Patch by R. Vinay <rvinay@novell.com>:
13158         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13159           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13160           Novell bug #153628).
13161           
13162 2006-02-27  Robert Love  <rml@novell.com>
13163
13164         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13165           entry so user can hit <ENTER> after entering passphrase (Novell bug
13166           #153738).
13167
13168 2006-02-27  Dan Williams  <dcbw@redhat.com>
13169
13170         * gnome/applet/*
13171                 - Mass search/replace of:
13172                         nmwa -> nma
13173                         NMWirelessApplet -> NMApplet
13174                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13175                    (it ain't just for wireless anymore, ma!)
13176                 - Fix duplicate function name printing when using nm_warning
13177                 - wireless-applet.glade -> applet.glade
13178
13179 2006-02-27  Dan Williams  <dcbw@redhat.com>
13180
13181         * dispatcher-daemon/NetworkManagerDispatcher.c
13182                 - Accept --pid-file with a path to a pidfile, write it out on
13183                         startup, and delete it on shutdown
13184
13185         * src/NetworkManager.c
13186                 - Accept --pid-file with a path to a pidfile, write it out on
13187                         startup, and delete it on shutdown
13188                 - Move nm_print_usage() lower
13189
13190         * initscripts/RedHat/NetworkManager.in
13191                 - Use new --pid-file option
13192                 - Fix service stopping to wait a bit for NM to quit
13193
13194         * initscripts/RedHat/NetworkManagerDispatcher.in
13195                 - Use new --pid-file option
13196
13197 2006-02-26  Dan Williams  <dcbw@redhat.com>
13198
13199         * src/Makefile.am
13200                 - make and install nm-crash-logger
13201
13202         * src/nm-logging.[ch]
13203                 - New files; consolidate logging and crash handling
13204
13205         * src/nm-crash-logger.c
13206           src/gdb-cmd
13207                 - Standalong crashlogger for NM, grab a backtrace
13208                         using GDB
13209
13210         * src/NetworkManager.[ch]
13211                 - Remove signal handling and put it into nm-logging.c
13212
13213 2006-02-26  Dan Williams  <dcbw@redhat.com>
13214
13215         * configure.in
13216           gnome/applet/Makefile.am
13217                 - Conditionalize all the notify stuff
13218
13219         Merge most of Chris Aillon's notification patch:
13220         
13221         * gnome/applet/applet-notifications.[ch]
13222                 - New files; show a notification
13223         
13224         * gnome/applet/applet-dbus-devices.[ch]
13225                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13226                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13227                         new functions, do the right thing when a device change occurs
13228
13229         * gnome/applet/applet-dbus.c
13230                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13231                         signals, so we can handle them specially
13232
13233         * gnome/applet/applet.[ch]
13234                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13235                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13236                 - (nmwa_notify_state): remove
13237                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13238                         notification work is now done when the appropriate dbus signals
13239                         are received.
13240                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13241                         defer execution of the notification/dialog stuff.  That was an
13242                         artifact of the previous multi-threaded nature of the applet
13243                         and is now pointless.
13244                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13245                         no longer needed.  Function folded into applet-notifications.c
13246
13247         * src/NetworkManagerPolicy.c
13248                 - (nm_policy_activation_finish): send the AP along with the device
13249                         status change signal, if the connection is wireless.  Should
13250                         fix the race where applet would show a connection to "unknown"
13251
13252 2006-02-25  Robert Love  <rml@novell.com>
13253
13254         Add WPA Enterprise support:
13255         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13256           nm-gconf-wso-wpa-eap.h.
13257         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13258           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13259           serialization and deserialization.
13260         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13261           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13262           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13263         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13264           settings related to WPA Enterprise.
13265         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13266           instantiate WPA Enterprise wireless-security-option.
13267         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13268           Implement WPA Enterprise wireless-security-option object.
13269         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13270           defines.  Cleanup.
13271         * libnm-util/cipher-wpa-psk-hex.c,
13272           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13273         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13274           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13275           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13276           including the cipher to DBUS method, and
13277           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13278           to output.
13279         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13280           nm-ap-security-wpa-eap.h
13281         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13282           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13283         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13284           files.  Implement NMAPSecurityWPA_EAP object.
13285         * src/nm-ap-security-wpa-psk.c: Cleanup.
13286         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13287           an NMAPSecurityWPA_EAP object via the method
13288           nm_ap_security_wpa_eap_new_deserialize().
13289         * src/nm-dbus-nm.c: Cleanup.
13290         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13291           WPA Enterprise support.
13292
13293 2006-02-24  Robert Love  <rml@novell.com>
13294
13295         Patch from Timo Hoenig <thoenig@suse.de>:
13296         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13297
13298 2006-02-24  Robert Love  <rml@novell.com>
13299
13300         Patch from Dan Winship <danw@novell.com>:
13301         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13302           area to transparent.
13303
13304 2006-02-21  Dan Williams  <dcbw@redhat.com>
13305
13306         * gnome/applet/applet.[ch]
13307           gnome/applet/applet-dbus.c
13308                 - Implement notification support for VPN messages too
13309
13310 2006-02-21  Dan Williams  <dcbw@redhat.com>
13311
13312         * gnome/applet/applet-dbus-info.c
13313                 - Clean up warning messages to not double-print the function
13314
13315 2006-02-21  Dan Williams  <dcbw@redhat.com>
13316
13317         * gnome/applet/applet-compat.c
13318                 - (convert_one_entry): accept entries without a key_type and
13319                         convert them to unencrypted networks
13320
13321 2006-02-21  Dan Williams  <dcbw@redhat.com>
13322
13323         * gnome/libnm_glib/libnm_glib.c
13324                 - Use __func__ everywhere we can
13325                 - Code cleanups
13326                 - Use dbus pending calls rather than blocking
13327                 - Reduce busywaits for our thread to start and stop
13328                         (gnome.org #330562)
13329                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13330                         stomp on others using the default shared dbus connection.
13331                         Fixes #rh177546# and gnome.org #326572
13332
13333 2006-02-21  Dan Williams  <dcbw@redhat.com>
13334
13335         Patch from Rodney Dawes <dobey@novell.com>
13336         * configure.in
13337           gnome/applet/Makefile.am
13338           gnome/applet/applet.c
13339                 - Add libnotify support if '--enable-notify=yes' is passed
13340                   at configure time
13341
13342 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13343
13344         * configure.in (ALL_LINGUAS): ko added. (Korean)
13345
13346 2006-02-15  Robert Love  <rml@novell.com>
13347
13348         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13349           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13350           and WPA_SUPPLICANT_CONTROL_SOCKET.
13351         
13352 2006-02-15  Robert Love  <rml@novell.com>
13353
13354         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13355           information about what connection stage we are at, provide the total
13356           number of stages, e.g. "Stage 2 of 5", so users know how far along
13357           they are if they experience problems.
13358
13359 2006-02-15  Robert Love  <rml@novell.com>
13360
13361         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13362           define to $sysconfdir.
13363         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13364           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13365           type of VPN and then editing another results in a mangled dialog
13366           box containing the widgets from both VPNs (fixes Novell #150854).
13367           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13368
13369 2006-02-14  Robert Love  <rml@novell.com>
13370
13371         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13372           syslog's file descriptor.
13373
13374 2006-02-14  Robert Love  <rml@novell.com>
13375
13376         Fix bug around since the change to "deal with APs changing settings on
13377         us," checked in on the fifth of February in the year of the dog, 
13378         wherein connecting to non-broadcast encrypted networks always fails
13379         because nm_ap_get_encrypted() always returns FALSE, even when the user
13380         provided a key, because the newly-created fake AP does not have any
13381         capabilities set, which is a sypmtom of security settings not matching
13382         capabilities (Novell bug #150784):
13383         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13384           nm_ap_add_capabilities_from_security(), which sets the given AP's
13385           capabilities off the given security settings.  Also improve our
13386           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13387           NM_AUTH_CIPHER_AUTO.
13388         * src/nm-device-802-11-wireless.c: Call the function
13389           nm_ap_add_capabilities_from_security() to ensure that capabilities
13390           match newly updated security settings.
13391
13392 2006-02-14  Robert Love  <rml@novell.com>
13393
13394         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13395           error as a string, not an integer, if possible; do not print the
13396           function name twice; always give the interface, if possible; misc.
13397           cleanup.
13398
13399 2006-02-12  Dan Williams  <dcbw@redhat.com>
13400
13401         Patch from Tom Parker <palfrey@tevp.net>
13402         * src/NetworkManagerSystem.h
13403                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13404                         no longer used
13405
13406         * src/backends/NetworkManagerDebian.c
13407                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13408                         unused variables
13409
13410 2006-02-12  Dan Williams  <dcbw@redhat.com>
13411
13412         * vpn-daemons/openvpn/intltool-extract.in
13413           vpn-daemons/openvpn/intltool-merge.in
13414           vpn-daemons/openvpn/intltool-update.in
13415           vpn-daemons/pptp/intltool-extract.in
13416           vpn-daemons/pptp/intltool-merge.in
13417           vpn-daemons/pptp/intltool-update.in
13418                 - Remove from CVS, they should get created by intltoolize,
13419                         shouldn't they?
13420
13421 2006-02-12  Dan Williams  <dcbw@redhat.com>
13422
13423         * vpn-daemons/pptp/src/pppd/patchlevel.h
13424         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13425                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13426                         Makefile-defined VERSION
13427
13428 2006-02-09  Dan Williams  <dcbw@redhat.com>
13429
13430         Patch from: Vinay A R <rvinay@novell.com>
13431         * src/vpn-manager/nm-vpn-act-request.[ch]
13432                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13433                         IPSec VPNs require them for std gateway.
13434                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13435                         and 'user_routes_count'
13436                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13437                         defined routes  from NMVPNActRequest object, returns the string
13438                         array of routes.
13439
13440         * src/vpn-manager/nm-vpn-manager.[ch]
13441                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13442                         for 'user_routes' and 'user_routes_count'
13443         
13444         * src/vpn-manager/nm-dbus-vpn.c
13445                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13446                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13447         
13448         * src/vpn-manager/nm-vpn-service.c
13449                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13450                         the vpn daemon
13451
13452         Modifications by Dan:
13453         * src/vpn-manager/nm-vpn-service.c
13454                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13455                         arrays into dbus
13456
13457         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13458         * vpn-daemons/pptp/src/nm-pptp-service.c
13459         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13460                 - Grab user routes from dbus message
13461                 - Free all string arrays we got from dbus
13462
13463 2006-02-07  Robert Love  <rml@novell.com>
13464
13465         Patch by Stefan Seyfried <seife@suse.de>:
13466         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13467
13468 2006-02-06  Robert Love  <rml@novell.com>
13469
13470         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13471
13472 2006-02-06  Robert Love  <rml@novell.com>
13473
13474         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13475           test ">=" is never false.  If no newline is found, we loop forever.
13476           We can just check for ">" because the following if() will see the
13477           zero-th argument if the while() gets that far.
13478
13479 2006-02-05  Dan Williams  <dcbw@redhat.com>
13480
13481         Refine handling of non-broadcast networks.
13482
13483         * src/NetworkManagerAPList.c
13484                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13485                         property from scanned AP to the AP from the device list
13486
13487         * src/nm-device-802-11-wireless.c
13488                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13489                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13490                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13491                         networks since those don't have APs.
13492                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13493                         AP as non-SSID-broadcasting
13494                 - (process_scan_results): don't handle non-SSID-broadcasting here
13495
13496 2006-02-05  Dan Williams  <dcbw@redhat.com>
13497
13498         * src/nm-device-802-11-wireless.c
13499                 - (get_supplicant_timeout): new function; return
13500                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13501                         14 channels.  These are likely a/b/g cards, like Atheros, and
13502                         slow as hell to scan.
13503                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13504                         get_supplicant_timeout()
13505
13506 2006-02-05  Dan Williams  <dcbw@redhat.com>
13507
13508         * src/dhcp-manager/nm-dhcp-manager.c
13509                 - Loose a commit race with Robert; make sure size check
13510                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13511
13512 2006-02-05  Robert Love  <rml@novell.com>
13513
13514         Patch by Christoph Brill <chrisbrill@gmx.net>:
13515         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13516           with DHCP_SERVICE_NAME.
13517
13518 2006-02-05  Dan Williams  <dcbw@redhat.com>
13519
13520         Remove anything having to do with device_setup_func from the
13521         AP security objects, since it's no longer used.
13522
13523         * src/nm-ap-security.h
13524                 - Kill device_setup_func and nm_ap_security_device_setup()
13525
13526         * src/nm-ap-security-wep.c
13527           src/nm-ap-security-wpa-psk.c
13528                 - (real_device_setup): remove
13529
13530         * src/nm-ap-security.c
13531                 - (real_device_setup): remove
13532                 - (nm_ap_security_device_setup): remove
13533
13534         * src/nm-device-802-11-wireless.[ch]
13535                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13536                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13537                         and done by wpa_supplicant now anyway
13538
13539 2006-02-05  Dan Williams  <dcbw@redhat.com>
13540
13541         * src/nm-device-802-11-wireless.c
13542                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13543                         settings on us.  Previously NM would loop asking for the
13544                         key but getting the same one back.  Now, if the NMI-supplied
13545                         cipher doesn't overlap with the scanned AP capabilities,
13546                         we request a completely new key from the user.
13547
13548 2006-02-05  Dan Williams  <dcbw@redhat.com>
13549
13550         * src/NetworkManagerUtils.c
13551                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13552                         Handle newline killing better
13553
13554 2006-02-05  Dan Williams  <dcbw@redhat.com>
13555
13556         * gnome/applet/nm-gconf-wso.c
13557                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13558                         of unencrypted access point security info.
13559
13560 2006-02-03  Robert Love  <rml@novell.com>
13561
13562         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13563           user's encryption key, so we print the err_msg_cmd not the command,
13564           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13565           sense.
13566
13567 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13568
13569         * initscript/RedHat/NetworkManagerDispatcher.in:
13570         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13571         Patch from Dan Walsh <dwalsh@redhat.com>
13572
13573 2006-02-03  Robert Love  <rml@novell.com>
13574
13575         * dispatcher-daemon/NetworkManagerDispatcher.c,
13576           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13577           but use the sysconfdir.
13578
13579 2006-02-03  Robert Love  <rml@novell.com>
13580
13581         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13582           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13583           'char *'.
13584         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13585           nm_ip4_config_get_hostname() and
13586           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13587         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13588           leak g_strdup() result.
13589
13590 2006-02-03  Robert Love  <rml@novell.com>
13591
13592         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13593           broadcast == TRUE.  Also, copy broadcast and artificial properties
13594           from source network to destination in nm_ap_copy().
13595         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13596           since we now default new networks to non-hidden.
13597
13598 2006-02-03  Dan Williams  <dcbw@redhat.com>
13599
13600         * gnome/applet/main.c
13601                 - (main): change the NEVER->ALWAYS so we start at the
13602                         beginning of the session, if being session-managed
13603
13604 2006-02-03  Dan Williams  <dcbw@redhat.com>
13605
13606         * gnome/applet/main.c
13607                 - (main): in a variation on Robert's patch, change
13608                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13609                         he wants.
13610
13611 2006-02-02  Robert Love  <rml@novell.com>
13612
13613         * src/Makefile.am: If we aren't going to create the run directory at,
13614           uh, run-time, create it during install.  Then users just doing
13615           'make install' are cool, too.  While we are here, create the
13616           dispatcher.d directory, too.
13617         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13618           the exact run directory.
13619         * Makefile.am: Install nm-applet.desktop.
13620
13621 2006-02-02  Robert Love  <rml@novell.com>
13622
13623         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13624           structure, which denotes whether or not the AP is hidden.  This is a
13625           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13626           can show up in the scan list.  Add nm_ap_get_broadcast() and
13627           nm_ap_set_broadcast() accessor interfaces.
13628         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13629           nm_ap_set_broadcast().
13630         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13631           "getProperties" method, which denotes whether or not the given
13632           network is hidden.
13633         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13634           an artificial network.  Set broadcast to TRUE when scanning returns
13635           an ESSID and FALSE when not.
13636         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13637           from "getProperties" method on a network.  Possible TODO is to
13638           somehow display this.
13639         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13640
13641 2006-02-02  Dan Williams  <dcbw@redhat.com>
13642
13643         * src/nm-device-802-11-wireless.c
13644                 - (supplicant_interface_init): don't try to create
13645                         /var/run/NetworkManager, since that should be done by
13646                         the distro package.  Causes problems for stuff like SELinux
13647
13648 2006-02-02  Robert Love  <rml@novell.com>
13649
13650         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13651         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13652           Check for and handle empty string for iface.
13653
13654 2006-02-01  Robert Love  <rml@novell.com>
13655
13656         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13657           manpage.
13658
13659 2006-01-31  Dan Williams  <dcbw@redhat.com>
13660
13661         * nm-applet.desktop
13662                 - Add --sm-disable to Exec arguments, presuming that when
13663                         using autostart, we don't want session management
13664
13665 2006-01-31  Robert Love  <rml@novell.com>
13666
13667         * src/NetworkManagerAP.c: Add two new manufacturer default network
13668           names: linksys-a and linksys-g.  These are found (at least) on the
13669           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13670           own ESSID.
13671
13672 2006-01-31  Robert Love  <rml@novell.com>
13673
13674         * src/NetworkManagerAP.c: Optimize the function
13675           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13676           machine code.  This is the first in a series of code tweaks aiming to
13677           generate better machine code and make NetworkManager all the better.
13678           Just kidding.  Who has time to go through the assembly generated for
13679           every function?  I certainly don't.  I have a wife, a kid, a job,
13680           a mortgage, a mistress.  But this function was so bad, I was called
13681           to arms.  Like the book.
13682
13683 2006-01-31  Robert Love  <rml@novell.com>
13684
13685         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13686           AP is not broadcasting, to scan with probe request frames.  Required
13687           for non-broadcast networks.
13688
13689 2006-01-31  Robert Love  <rml@novell.com>
13690
13691         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13692           preprocessor define (still 20s).  Fix message text in nm_info()
13693           s/too too/took too/.
13694
13695 2006-01-30  Dan Williams  <dcbw@redhat.com>
13696
13697         * src/nm-device-802-11-wireless.c
13698                 - (supplicant_monitor_start): increase connect/auth timeout to
13699                         20 seconds from 10 seconds
13700
13701 2006-01-30  Dan Williams  <dcbw@redhat.com>
13702
13703         * src/Makefile.am
13704                 - Define LOCALSTATEDIR
13705
13706         * src/nm-device-802-11-wireless.c
13707                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13708                         socket where we want it to
13709
13710         * src/wpa_ctrl.[ch]
13711                 - (wpa_ctrl_open): accept location to put local control socket
13712
13713 2006-01-30  Robert Love  <rml@novell.com>
13714
13715         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13716           get_ip4_string() for "domain_name".
13717
13718 2006-01-30  Robert Love  <rml@novell.com>
13719
13720         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13721           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13722           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13723           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13724           support for "Automatic" pairwise and group cipher configuration by
13725           letting wpa_supplicant handle the details.  Add UI elements, new
13726           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13727           charm.  Note this does more than add a nice feature, it fixes a bug.
13728           Apparently, some people have AP's where the pairwise cipher does not
13729           match the group cipher.  Insane, but true.
13730
13731 2006-01-30  Dan Williams  <dcbw@redhat.com>
13732
13733         * gnome/applet/applet-dbus-devices.c
13734                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13735                         functions, grab device driver name from NetworkManager
13736                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13737
13738         * gnome/applet/applet.c
13739                 - (nmwa_update_info): show driver name in Connection Information
13740                         dialog
13741
13742         * gnome/applet/nm-device.[ch]
13743                 - (network_device_get_driver, network_device_set_driver): add
13744                         accessors for driver name
13745
13746         * gnome/applet/wireless-applet.glade
13747                 - Add line for driver name to Connection Information dialog
13748
13749         * src/nm-dbus-device.c
13750                 - (nm_dbus_device_get_driver): new function to return driver name
13751                 - (nm_dbus_device_methods): hook up driver name function to dbus
13752
13753         * test/nm-tool.c
13754                 - (get_driver_name): new function
13755                 - (detail_device): grab and show driver name
13756
13757 2006-01-30  Robert Love  <rml@novell.com>
13758
13759         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13760           does not parse the markup if it is not part of the format.
13761
13762 2006-01-30  Robert Love  <rml@novell.com>
13763
13764         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13765           FALSE, we have no security options for this dialog, so we throw up
13766           an error dialog instead of a broken passphrase dialog.  Fixes
13767           Novell #138404.
13768         * gnome/applet/wireless-security-manager.c,
13769           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13770           does not add any security options, not even NONE, print a warning
13771           and return FALSE.  This let's functions constructing a dialog bail
13772           out if the device's capabilities and the network's requirements have
13773           zero overlap.
13774
13775 2006-01-27  Robert Love  <rml@novell.com>
13776
13777         * configure.in: Require wpa_supplicant.  Detect location of binary and
13778           use it.  Override with "--with-wpa_supplicant=foo".
13779         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13780           path to wpa_supplicant but use the auto-detected or user-provided
13781           value from configure.
13782
13783 2006-01-27  Robert Love  <rml@novell.com>
13784
13785         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13786           but the DHCP server did not return a hostname, try to look up our
13787           name via DNS and set the system hostname to that.
13788
13789 2006-01-27  Dan Williams  <dcbw@redhat.com>
13790
13791         * src/backends/NetworkManagerRedHat.c
13792                 - Add NM_CONTROLLED system network script support for RH/Fedora
13793
13794 2006-01-27  Dan Williams  <dcbw@redhat.com>
13795
13796         * src/backends/NetworkManagerGentoo.c
13797                 - (nm_system_device_get_disabled): add missing function.
13798                         Gnome BZ #328780
13799
13800 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13801
13802         * configure.in: Added vi in ALL_LINGUAS line.
13803         
13804 2006-01-26  Robert Love  <rml@novell.com>
13805
13806         * src/Makefile.am, src/kernel-types.h: Now that two different source
13807           files are feeling the crack-addled leakage of kernel types such as
13808           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13809           types in user-space -- define a header and include it as needed.
13810         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13811         * src/nm-device-802-3-ethernet.h: Remove defines.
13812         * src/wpa.c: Remove defines and include kernel-types.h.
13813
13814 2006-01-26  Robert Love  <rml@novell.com>
13815
13816         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13817           work.
13818
13819 2006-01-26  Robert Love  <rml@novell.com>
13820
13821         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13822         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13823           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13824           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13825           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13826           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13827           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13828           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13829           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13830           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13831           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13832           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13833           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13834           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13835           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13836           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13837           Kill unused variables, labels, and static functions.  Don't pass
13838           string literals as the format string for printf-like functions.
13839
13840 2006-01-25  Dan Williams  <dcbw@redhat.com>
13841
13842         * gnome/applet/wireless-applet.glade
13843                 - Remove WPA2 Checkbox
13844
13845         * gnome/applet/wireless-security-manager.c
13846                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13847                         This means the Wireless Security menu now has two WPA options,
13848                         one for "WPA Personal" and one for "WPA2 Personal"
13849
13850         * gnome/applet/wso-wpa-psk.[ch]
13851                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13852                         'wpa2' argument to determine WPA version to use
13853                 - (append_dbus_params_func): pass stored WPA version to cipher
13854                         rather than using the (removed) checkbox
13855
13856 2006-01-24  Robert Love  <rml@novell.com>
13857
13858         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13859           before we g_strdup(), not the ultimate string.
13860
13861 2006-01-23  Dan Williams  <dcbw@redhat.com>
13862
13863         * src/NetworkManagerAP.[ch]
13864                 - (nm_ap_new_from_ap): copy original essid too
13865                 - (nm_ap_unref): free original essid
13866                 - (nm_ap_get_orig_essid): new function
13867                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13868                         but keep original essid around too
13869
13870         * src/nm-device-802-11-wireless.c
13871                 - (supplicant_send_network_config): send wpa_supplicant the
13872                         _original_ essid, and not as a string, but in hex.  Should
13873                         allow us to connect to more APs that use wierd character
13874                         encodings for their essids
13875
13876         * utils/nm-utils.[ch]
13877                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13878                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13879                         use the current locale as a hint for what encoding the essid
13880                         might be in.  Obviously not 100% accurate, but the idea here is
13881                         that if a user's locale is ex. ja_JP, they are more likely than
13882                         not to be in Japan, where access points will likely be in some
13883                         Japanese encoding.
13884
13885 2006-01-23  Dan Williams  <dcbw@redhat.com>
13886
13887         * libnm-util/cipher-private.h
13888           libnm-util/cipher.c
13889           libnm-util/cipher.h
13890                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13891
13892 2006-01-23  Robert Love  <rml@novell.com>
13893
13894         Patch by Timo Hoenig <thoenig@suse.de>:
13895         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13896           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13897           by DHCP and pass it to the backends, allowing distribution-specific
13898           behavior with respect to the DHCP-supplied hostname (if nothing else,
13899           some distributions might not want to set the hostname).
13900         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13901           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13902           Also update our NIS behavior.
13903         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13904           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13905           Add stub functions.
13906
13907 2006-01-23  Robert Love  <rml@novell.com>
13908
13909         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13910           gnome-session does autostart.  TODO: We need to install this to
13911           $prefix/share/autostart/.
13912
13913 2006-01-22  Dan Williams  <dcbw@redhat.com>
13914
13915         * src/NetworkManagerAP.[ch]
13916           src/nm-dbus-nmi.c
13917           src/nm-device-802-11-wireless.c         
13918                 - Make nm_ap_get_essid return "const char *"
13919
13920 2006-01-22  Dan Williams  <dcbw@redhat.com>
13921
13922         * src/NetworkManagerAP.[ch]
13923                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13924
13925         * src/NetworkManagerAPList.[ch]
13926                 - (nm_ap_list_diff): removed
13927                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13928                         deal with access points changing essids on us
13929
13930         * src/nm-device-802-11-wireless.c
13931                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13932                         src/NetworkManagerAPList.c
13933                 - (real_can_interrupt_activation): new function; allow interruption
13934                         of device activation if we are waiting for a network key
13935
13936         * src/NetworkManagerPolicy.c
13937                 - (nm_policy_device_change_check): allow interruption of currently
13938                         activating devices if the device allows it.  Previous behavior
13939                         would refuse to activate a just-plugged wired device if a
13940                         wireless device was waiting for a key.
13941
13942         * src/nm-device.[ch]
13943                 - (nm_device_can_interrupt_activation): new function; ask devices
13944                         whether their activation can be interrupted
13945
13946 2006-01-20  Robert Love  <rml@novell.com>
13947
13948         * Makefile.am, configure.in: Add new man subdirectory.
13949         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13950           man/Makefile.am: Add man pages for NetworkManager and its
13951           crime-solving bumbling buddy, NetworkManagerDispatcher.
13952         * man/.cvsignore: Add.
13953         * initscript/Debian/NetworkManager,
13954           initscript/Gentoo/NetworkManager.in,
13955           initscript/RedHat/NetworkManager.in,
13956           initscript/RedHat/NetworkManagerDispatcher.in,
13957           initscript/SUSE/networkmanager-dispatcher.in,
13958           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13959
13960 2006-01-20  Robert Love  <rml@novell.com>
13961
13962         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13963           instead of queuing.  This prevents the running of multiple NM
13964           daemons concurrently, which does not work whatsoever and results in
13965           neither daemon working correctly.  Also, we don't handle queuing and
13966           name-owner-changes, anyhow.
13967
13968 2006-01-20  Robert Love  <rml@novell.com>
13969
13970         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13971         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13972           to sbin, not bin.
13973
13974 2006-01-19  Robert Love  <rml@novell.com>
13975
13976         * configure.in: Require hal 0.5.0 or later.
13977
13978 2006-01-18  Robert Love  <rml@novell.com>
13979
13980         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13981           Allow backends to flag a device (in whatever distro-dependent way
13982           they so desire) as disabled.  NM will ignore any such device.
13983         * src/backends/NetworkManagerDebian.c,
13984           src/backends/NetworkManagerRedHat.c,
13985           src/backends/NetworkManagerSlackware.c: Add stub function
13986           nm_system_device_get_disabled() that always returns FALSE (enabled).
13987         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13988           SUSE-specific configuration structure.  Fill it in from the
13989           NM_CONTROLLED variable in the system networking scripts.  If this var
13990           exists and is "no", we ignore the device.
13991
13992 2006-01-17  Robert Love  <rml@novell.com>
13993
13994         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13995           identical for NM.  For a full discussion, see the thread at
13996           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13997
13998 2006-01-17  Dan Williams  <dcbw@redhat.com>
13999
14000         * src/nm-device.c
14001                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14002                         function.  Fixes crash when wired DHCP fails.
14003
14004 2006-01-16  Robert Love  <rml@novell.com>
14005
14006         * src/Makefile.am: Don't install NMLoadModules
14007         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14008           from src/ to test/ as no one uses it anymore.  Note that I would be
14009           fine with removing it altogether.
14010
14011 2006-01-16  Robert Love  <rml@novell.com>
14012
14013         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14014           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14015           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14016           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14017           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14018           src/nm-netlink-monitor.c: Don't miss any initializers on structure
14019           declarations, ever.
14020         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14021           NM_STATE_DISCONNECTED is zero).
14022
14023 2006-01-16  Robert Love  <rml@novell.com>
14024
14025         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
14026           uninitialized parameter and buffer overflow.  Novell #143496.
14027
14028 2006-01-16  Dan Williams  <dcbw@redhat.com>
14029
14030         Apply the PtP Address bits of a patch from Tim Niemueller
14031
14032         * src/nm-ip4-config.[ch]
14033                 - Add ip4_ptp_address member to object
14034                 - (nm_ip4_config_copy): copy ptp address too
14035                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14036                         new functions
14037                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14038                         rather than local tunnel ip address
14039
14040         * src/vpn-manager/nm-vpn-service.c
14041                 - (print_vpn_config): update for PtP address
14042                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14043                         DBusMessageIters in preparation for getting routes from the VPN
14044                         service daemons too
14045
14046         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14047                 - (send_config_info): update for PtP address, clean up code
14048                 - (main): update for PtP address, clean up code, fix typo
14049
14050         * vpn-daemons/openvpn/src/nm-openvpn-service.c
14051                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14052
14053         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14054                 - (pptp_ip_up): update for PtP address
14055
14056         * vpn-daemons/pptp/src/nm-pptp-service.c
14057                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14058
14059         * vpn-daemons/vpnc/src/nm-vpnc-service.c
14060                 - (print_vpn_config): update for PtP address
14061                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14062
14063 2006-01-16  Dan Williams  <dcbw@redhat.com>
14064
14065         * gnome/applet/applet.c
14066                 - (nmwa_add_networks_helper): don't indicate an active network
14067                         if NM is disconnected or asleep
14068
14069 2006-01-16  Dan Williams  <dcbw@redhat.com>
14070
14071         * src/NetworkManagerPolicy.c
14072                 - (nm_policy_device_change_check): switch devices if we lose the link
14073                         on an ethernet device. 
14074
14075 2006-01-16  Dan Williams  <dcbw@redhat.com>
14076
14077         * gnome/applet/wso-wpa-psk-hex.[ch]
14078                 - Renamed -> wso-wpa-psk.[ch]
14079
14080         * gnome/applet/wso-wpa-psk.[ch]
14081                 - New files
14082
14083         * gnome/applet/wso-wpa-psk-passphrase.[ch]
14084                 - Removed, rolled into wso-wpa-psk.[ch]
14085
14086         * gnome/applet/Makefile.am
14087                 - Updated for above changes
14088
14089         * gnome/applet/wireless-applet.glade
14090                 - Consolidate WPA-PSK options into one notebook
14091                         widget, and make dialogs invisible by default
14092                         to fix screen oddities
14093
14094         * gnome/applet/wireless-security-manager.c
14095                 - (wsm_set_capabilities): create the new wpa-psk widget rather
14096                         than both the old hex & passphrase ones
14097
14098 2006-01-16  Dan Williams  <dcbw@redhat.com>
14099
14100         * gnome/applet/other-network-dialog.c
14101                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14102
14103 2006-01-16  Dan Williams  <dcbw@redhat.com>
14104
14105         * gnome/applet/applet.c
14106                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14107                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14108                         prevention to realize window before trying to get server
14109                         time
14110
14111         * gnome/applet/other-network-dialog.c
14112                 - (nmwa_other_network_dialog_run): fix up focus-stealing
14113                         prevention to realize window before trying to get server
14114                         time
14115
14116         * gnome/applet/passphrase-dialog.c
14117                 - (nmi_passphrase_dialog_new): fix up focus-stealing
14118                         prevention to realize window before trying to get server
14119                         time
14120
14121 2006-01-16  Robert Love  <rml@novell.com>
14122
14123         Patch from Timo Hoenig  <thoenig@suse.de:
14124         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14125           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14126           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14127           libnm-util/dbus-helpers.h: add checks whether headers are used
14128           within a C++ build.
14129
14130 2006-01-16  Dan Williams  <dcbw@redhat.com>
14131
14132         * gnome/applet/wireless-security-option.c
14133                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14134
14135 2006-01-16  Dan Williams  <dcbw@redhat.com>
14136
14137         * libnm-util/cipher-wpa-psk-passphrase.c
14138                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14139                         be 8 - 63 characters inclusive
14140
14141 2006-01-16  Dan Williams  <dcbw@redhat.com>
14142
14143         * src/nm-dbus-nm.c
14144                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14145
14146 2006-01-13  Robert Love  <rml@novell.com>
14147
14148         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14149         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14150           modules that do not use an interface.
14151
14152 2006-01-13  Dan Williams  <dcbw@redhat.com>
14153
14154         * src/nm-device.c
14155           src/nm-device.h
14156                 - Allow subclasses to implement deactivate_quickly()
14157                 - (nm_device_deactivate_quickly): call subclass
14158                         deactivate_quickly() methods
14159                 - (nm_device_set_active_link): small cleanups, and don't
14160                         deactivate the device right away because we risk a deadlock
14161                         when called from device thread, waiting for the device
14162                         thread to cancel activation
14163
14164         * src/nm-device-802-11-wireless.c
14165                 - (real_deactivate_quickly): new function
14166                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14167                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14168                         so that we kill the supplicant when we sleep too
14169                 - (supplicant_interface_init): work around naive naming attempts of
14170                         wpa_ctrl when naming sockets
14171
14172 2006-01-13  Dan Williams  <dcbw@redhat.com>
14173
14174         * src/nm-device-802-11-wireless.c
14175                 - (supplicant_cleanup): delete old device control sockets too
14176                 - (supplicant_get_device_socket_path): new function to consolidate
14177                         locations that need a path to a device's control socket
14178
14179 2006-01-12  Robert Love  <rml@novell.com>
14180
14181         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14182           description so that the description is unique for each
14183           pair (device,provider).  Fixes Novell #142773.
14184
14185 2006-01-12  Dan Williams  <dcbw@redhat.com>
14186
14187         * src/nm-device-802-11-wireless.c
14188                 - (supplicant_exec): ensure GError is correctly initialized
14189                         Reported by Diego González (gnome.org #326708)
14190
14191 2006-01-11  Robert Love  <rml@novell.com>
14192
14193         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14194           define if_mii(), open code the same results, and do so without any
14195           type punning.
14196
14197 2006-01-11  Robert Love  <rml@novell.com>
14198
14199         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14200           that wso_foo_new() returned non-NULL.  Instead, only append the new
14201           wso to wsm->options if the wso is non-NULL.  The crux is that we
14202           assume that the relevant key types are implied by WEP and WPA as
14203           appropriate.  To be sure, they should be, but we should not expect
14204           drivers to not be oozing piles of wolf fecal matter.
14205
14206 2006-01-11  Robert Love  <rml@novell.com>
14207
14208         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14209         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14210           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14211           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14212           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14213           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14214           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14215         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14216           comparing values within DBL_EPSILON.  Also fix shadowed variable
14217           usage.
14218
14219 2006-01-11  Dan Williams  <dcbw@redhat.com>
14220
14221         Add options for WPA2 and WPA1+CCMP (AES).
14222
14223         * gnome/applet/wireless-applet.glade
14224                 - Add UI bits for WPA+CCMP
14225
14226         * gnome/applet/other-network-dialog.c
14227                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14228                         and don't allow creation of WPA2 Ad-Hoc networks since
14229                         wpa_supplicant doesn't support them
14230
14231         * gnome/applet/wireless-security-manager.c
14232                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14233                         on to the specific wireless security option being created
14234
14235         * gnome/applet/wireless-security-option.[ch]
14236                 - (wso_wpa_create_key_type_model): new utility function to create
14237                         the model required for WPA Key Type combo box
14238
14239         * gnome/applet/wso-private.h
14240           gnome/applet/wireless-security-option.h
14241                 - Move private function prototypes into wso-private.h
14242
14243         * gnome/applet/wso-wpa-psk-hex.[ch]
14244           gnome/applet/wso-wpa-psk-passphrase.[ch]
14245                 - (append_dbus_params_func): get WPA version from checkbox and pass
14246                         it to the dbus serialization helper
14247                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14248                         key type combo changes
14249                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14250                         model and options
14251
14252         * libnm-util/cipher-wpa-psk-hex.c
14253           libnm-util/cipher-wpa-psk-passphrase.c
14254                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14255                         new function; allow the cipher to be changed after object creation
14256
14257         * src/nm-ap-security-wpa-psk.c
14258                 - (set_description): Do WPA2 descriptions too
14259
14260         * src/nm-ap-security.c
14261                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14262
14263 2006-01-11  Robert Love  <rml@novell.com>
14264
14265         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14266           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14267           from the ifreq structure in lieu of an open coded solution.  Removes
14268           a life-threatening type-punning.
14269         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14270           types, ever, whatsoever, baby.
14271
14272 2006-01-11  Robert Love  <rml@novell.com>
14273
14274         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14275           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14276           assignments to applet->nm_state into a new nmwa_set_state() function
14277           for both cleanliness and to help debugging.
14278
14279 2006-01-10  Robert Love  <rml@novell.com>
14280
14281         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14282           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14283           seconds, exclusive.  That is, we want to sleep x seconds such that
14284           1 < x < 2.
14285
14286 2006-01-10  Robert Love  <rml@novell.com>
14287
14288         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14289           the attr fields according to the example in the email available at
14290           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14291           Conversely, we do have to free 'name', so we do so, fixing a leak.
14292
14293 2006-01-10  Robert Love  <rml@novell.com>
14294
14295         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14296           sure that we close the socket!
14297
14298 2006-01-10  Robert Love  <rml@novell.com>
14299
14300         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14301           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14302           src/nm-device.c: Fix a FIXME!  Reimplement the function
14303           nm_device_update_hw_address() in device subclass variants,
14304           nm_device_802_3_ethernet_set_address() and
14305           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14306           This fixes the existing bug where MAC addresses are all zeros.
14307
14308 2006-01-10  Robert Love  <rml@novell.com>
14309
14310         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14311           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14312           option to give users ability to globally disconnect and put NM to
14313           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14314           clean disconnect.
14315
14316 2006-01-09  Robert Love  <rml@novell.com>
14317
14318         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14319           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14320           User-space does not supply these types, so we have to define them
14321           ourselves.  The relevant kernel maintainer refused to accept a patch
14322           switching these headers to the proper C99 types.
14323
14324 2006-01-09  Dan Williams  <dcbw@redhat.com>
14325
14326         Apply Robert's 'tray icon redo' patch with fixes
14327         * gnome/applet/applet.c
14328           gnome/applet/applet.h
14329                 - Instead of using a menu bar + menu item, simulate menu
14330                         behavior using a popup menu.  Highlight the area around
14331                         the icon more like a menu too, by playing with the
14332                         applet's size requisition
14333
14334 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14335         * libnm-util/dbus-helpers.c
14336           libnm-util/dbus-helpers.h
14337                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14338                         to 'exception_namespace' (:namespace is a keyword in
14339                         C++)
14340
14341 2006-01-09  Dan Williams  <dcbw@redhat.com>
14342
14343         * src/NetworkManagerPolicy.c
14344                 - (nm_policy_device_change_check): don't autoswitch away from
14345                         Ad-Hoc networks, since there's really no concept of
14346                         "link"
14347
14348         * src/nm-dbus-nm.c
14349                 - (nm_dbus_nm_create_wireless_network): mark created networks
14350                         as Ad-Hoc networks
14351
14352         * src/nm-device-802-11-wireless.c
14353                 - (real_activation_success_handler): add user-created Ad-Hoc
14354                         networks to the device's scan list
14355
14356 2006-01-08  Dan Williams  <dcbw@redhat.com>
14357
14358         We now require a patch for wpa_supplicant to support Ad-Hoc
14359         networks:
14360           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14361
14362         * src/nm-device-802-11-wireless.c
14363                 - (supplicant_send_network_config): turn off wpa_supplicant's
14364                         scanning.  Fixes Ad-Hoc networks.
14365
14366 2006-01-08  Dan Williams  <dcbw@redhat.com>
14367
14368         * src/nm-ap-security.c
14369           src/nm-ap-security.h
14370                 - Add a user_created argument to the write_supplicant_config
14371                         functions
14372
14373         * src/nm-ap-security-wep.c
14374           src/nm-ap-security-wpa-psk.c
14375           src/nm-device-802-11-wireless.c
14376                 - Make Ad-Hoc mode somewhat work, at least write the
14377                         correct options to wpa_supplicant
14378
14379 2006-01-08  Dan Williams  <dcbw@redhat.com>
14380
14381         * src/nm-device-802-11-wireless.c
14382                 - Remove unused code from the old device activation path
14383
14384 2006-01-08  Dan Williams  <dcbw@redhat.com>
14385
14386         * libnm-util/dbus-helpers.c
14387                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14388                         dbus when key == NULL
14389
14390 2006-01-08  Dan Williams  <dcbw@redhat.com>
14391
14392         * gnome/applet/nm-gconf-wso-wpa-psk.c
14393                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14394                         correct arguments to nmu_security_deserialize_wpa_psk()
14395
14396         * src/nm-ap-security-wpa-psk.c
14397                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14398                         arguments to nmu_security_deserialize_wpa_psk()
14399
14400 2006-01-08  Dan Williams  <dcbw@redhat.com>
14401
14402         * gnome/applet/wso-wpa-psk-hex.c
14403           gnome/applet/wso-wpa-psk-passphrase.c
14404                 - Hook up the append_dbus_params_func() function
14405
14406 2006-01-08  Dan Williams  <dcbw@redhat.com>
14407
14408         * src/nm-device-802-11-wireless.c
14409                 - (get_wireless_capabilities): correctly detect driver WPA
14410                         capabilities
14411
14412 2006-01-08  Dan Williams  <dcbw@redhat.com>
14413
14414         * gnome/applet/Makefile.am
14415           gnome/applet/wso-wpa-psk-hex.c
14416           gnome/applet/wso-wpa-psk-hex.h
14417                 - New files, implement WPA-PSK Hex key input
14418
14419         * gnome/applet/wireless-applet.glade
14420                 - Change existing wpa-psk stuff to wpa-psk-hex
14421                 - Add new widgets for wpa-psk-passphrase
14422
14423         * gnome/applet/wireless-security-manager.c
14424                 - (wsm_set_capabilities): enable WPA options
14425
14426         * gnome/applet/wso-wpa-psk-passphrase.c
14427                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14428                         for WPA-PSK passphrase
14429
14430 2006-01-08  Dan Williams  <dcbw@redhat.com>
14431
14432         * include/NetworkManager.h
14433                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14434                         applet/info-daemons
14435
14436         * gnome/applet/passphrase-dialog.c
14437                 - Use the constant.  Fixes a bug where the arguments to
14438                         dbus_message_new_error() were incorrect
14439
14440         * src/nm-dbus-nmi.c
14441                 - Use the constant
14442
14443 2006-01-07  Dan Williams  <dcbw@redhat.com>
14444
14445         * src/nm-device-802-11-wireless.c
14446                 - Add a link timeout so we allow the supplicant time to
14447                         reassociate if it can, before we deactivate the card
14448                 - Fix up link status and link updating so things work better
14449
14450 2006-01-07  Dan Williams  <dcbw@redhat.com>
14451
14452         * src/nm-device-802-11-wireless.c
14453                 - Switch over to using wpa_supplicant
14454                 - Add a timeout of 10s for association of the supplicant
14455                 - Start the monitor callback of the supplicant
14456
14457 2006-01-07  Dan Williams  <dcbw@redhat.com>
14458
14459         * src/NetworkManagerUtils.c
14460                 - (nm_utils_supplicant_request,
14461                   nm_utils_supplicant_request_with_check):
14462                         pass correct buffer length to wpa_ctrl_request()
14463
14464 2006-01-07  Dan Williams  <dcbw@redhat.com>
14465
14466         * src/nm-device-private.h
14467           src/nm-device.c
14468                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14469                         this function available to subclasses
14470
14471 2006-01-06  Robert Love  <rml@novell.com>
14472
14473         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14474           user plugging in a network cable signals their preference for to
14475           switch, unless the user explicitly selected a wireless network and
14476           therefore signaled their preference for said wireless network over
14477           wired.  In other words, do exactly what makes sense.
14478
14479 2006-01-06  Robert Love  <rml@novell.com>
14480
14481         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14482           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14483           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14484           showing up in my greps.
14485
14486 2006-01-06  Robert Love  <rml@novell.com>
14487
14488         * gnome/applet/applet-dbus-devices.c,
14489           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14490           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14491           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14492           New Network' both failed in the non-encrypted case because we were
14493           not appending the security options to the DBUS message.  And
14494           'Connect to Other' was also failing in the encrypted case because
14495           we were not incrementing to the next DBUS parameter.  All fixed.
14496           Thanks to dcdw for some debugging help.
14497
14498 2006-01-06  Robert Love  <rml@novell.com>
14499
14500         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14501           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14502           hangup code and add per-device hangup.  Tie last commit into the
14503           GNOME applet.  TODO:  Save, understand, and respond to the state of
14504           each dialup device.
14505
14506 2006-01-06  Robert Love  <rml@novell.com>
14507
14508         Patch by Timo Hoenig <thoenig@suse.de>:
14509         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14510           hangup specific dialup devices.
14511         * src/backends/NetworkManagerDebian.c,
14512           src/backends/NetworkManagerGentoo.c,
14513           src/backends/NetworkManagerRedHat.c,
14514           src/backends/NetworkManagerSlackware.c: Add stub backend.
14515         * src/backends/NetworkManagerRedHat.c,
14516           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14517           hangup specific dialup devices.
14518
14519 2006-01-04  Robert Love  <rml@novell.com>
14520
14521         * gnome/applet/applet-dbus-devices.c,
14522           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14523           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14524           connections.
14525
14526 2006-01-04  Dan Williams  <dcbw@redhat.com>
14527
14528         First dump of wpa_supplicant-related code.  It's not hooked up to
14529         anything yet though.  Thanks to Kay Sievers for
14530         wpa_supplicant_wrapper.c, which formed the basis for this work,
14531         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14532
14533         * src/Makefile.am
14534           src/wpa_ctrl.[ch]
14535                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14536
14537         * src/NetworkManagerUtils.[ch]
14538                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14539                         Add convenience functions for talking to wpa_supplicant
14540
14541         * src/nm-ap-security.[ch]
14542           src/nm-ap-security-wep.c
14543           src/nm-ap-security-wpa-psk.[ch]
14544                 - Update and implement real_write_supplicant_config functions
14545                         in all security types
14546                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14547                         nm-ap-security-wpa-psk.c
14548
14549         * src/nm-device-802-11-wireless.c
14550                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14551                    wpa_supplicant_start, wpa_supplicant_interface_init,
14552                    wpa_supplicant_send_network_config): add functions to talk to
14553                         wpa_supplicant and write network config to it
14554
14555 2006-01-04  Robert Love  <rml@novell.com>
14556
14557         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14558           values so that distribution-backends can differentiate between the
14559           various types (modem, ISDN, et cetera) of dialup device that they
14560           support.
14561         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14562           needed.
14563
14564 2006-01-03  Dan Williams  <dcbw@redhat.com>
14565
14566         * src/NetworkManagerPolicy.c
14567           src/nm-device.[ch]
14568           src/nm-device-802-11-wireless.c
14569                 - Move wireless-specific activation failure and success code
14570                         into wireless device class
14571
14572 2006-01-03  Robert Love  <rml@novell.com>
14573
14574         Patch by Preggna S:
14575         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14576           IPsec does not require that a VPN client be bound to an interface,
14577           due to the use of the in-kernel IPSec bits.  So make the tunnel
14578           device optional.
14579
14580 2006-01-03  Dan Williams  <dcbw@redhat.com>
14581
14582         * src/NetworkManagerAP.c
14583                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14584                         the WPA IE specifies that WEP is supported
14585
14586         * src/nm-device-802-11-wireless.c
14587                 - (process_scan_results): don't mark an AP as supporting WEP
14588                         if there's already other encryption capability info
14589
14590 2006-01-03  Dan Williams  <dcbw@redhat.com>
14591
14592         * src/dhcp-manager/nm-dhcp-manager.c
14593                 - Recognize activation cancellation when waiting for DHCP
14594                         configuration from dhcdbd
14595                 - Ignore non-dhcdbd messages
14596
14597         * src/nm-device.c
14598                 - (real_act_stage3_ip_config_start): return to correct behavior
14599                         of letting the dhcp-manager notify us of failure or
14600                         success rather than incorrectly doing that ourselves
14601                 - (nm_device_activate_stage4_ip_config_get): deal with
14602                         activation cancellation a bit earlier
14603
14604 2006-01-03  Dan Williams  <dcbw@redhat.com>
14605
14606         * src/nm-device-802-11-wireless.c
14607           src/nm-device.[ch]
14608                 - Add hooks to subclasses for stage3_ip_config_start and
14609                         stage4_ip_config_timeout
14610
14611         * src/nm-device-802-3-ethernet.c
14612                 - (real_get_generic_capabilities): make devices NM-supported
14613                         by default
14614
14615 2006-01-03  Robert Love  <rml@novell.com>
14616
14617         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14618           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14619           latter cannot differentiate between error and the address -1; misc.
14620           clean up.
14621
14622 2006-01-03  Dan Williams  <dcbw@redhat.com>
14623
14624         * src/NetworkManager.c
14625                 - Move link-checking/probing into the device subclasses
14626                         themselves
14627
14628         * src/nm-device.[ch]
14629           src/nm-device-802-11-wireless.c
14630           src/nm-device-802-3-ethernet.c
14631                 - Do periodic link checking in device subclasses rather
14632                         than being triggered from NetworkManager.c
14633                 - discover_wireless_capabilities -> get_wireless_capabilities
14634                 - discover_generic_capabilities -> get_generic_capabilities
14635                 - Device subclass activation routines now return a value of type
14636                         NMActStageReturn to indicate what step to perform next
14637                 - Devices now override stage4_get_ip4_config if they choose
14638
14639 2006-01-01  Dan Williams  <dcbw@redhat.com>
14640
14641         * src/nm-device-802-11-wireless.c
14642                 - (real_init): don't chain up to parent init because we don't
14643                         need to do that anymore
14644
14645         * src/nm-device.c
14646                 - (discover_device_type): fix arguments to ioctl() to correctly
14647                         pass interface name
14648                 - (nm_device_new): consolidate generic device initialization into
14649                         nm_device_new()
14650                 - (real_init): remove, consolidated to nm_device_new()
14651                 - (nm_device_deactivate, real_deactivate): consolidate
14652
14653 2006-01-01  Dan Williams  <dcbw@redhat.com>
14654
14655         * src/nm-activation-request.c
14656                 - Change dhcp_state member of the NMActRequest structure
14657                         from guint8 to guint32
14658
14659         * src/dhcp-manager/nm-dhcp-manager.[ch]
14660                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14661                         than guint8 to match the dbus argument.  Turns out we were
14662                         overwriting memory since we were passing in only a guint8
14663
14664 2005-12-31  Dan Williams  <dcbw@redhat.com>
14665
14666         * refactor NMDevice into a GObject-based framework with separate
14667                 objects for wired and wireless.  The following files are no
14668                 longer used but should stick around for a bit so we don't
14669                 loose code through the cracks:
14670                         NetworkManagerDevice.c
14671                         NetworkManagerDevice.h
14672                         NetworkManagerWireless.c
14673                         NetworkManagerWireless.h
14674
14675         The intent here is to allow each device type to manage its own
14676         connection & activation life-cycle, ie to allow wireless devices
14677         to interface with wpa_supplicant, etc.  There's a fair bit of
14678         encapsulation breakage right now that should gradually get pulled
14679         back into each device, along with things like periodic property
14680         updates and link probing.
14681
14682 2005-12-29  Dan Williams  <dcbw@redhat.com>
14683
14684         * include/NetworkManager.h
14685                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14686                         between networks that don't have any encryption at all
14687
14688 2005-12-29  Dan Williams  <dcbw@redhat.com>
14689
14690         * test/test-common.c
14691           test/test-common.h
14692           test/Makefile.am
14693                 - Move to a test-common subdirectory
14694
14695         * test/libnm-util/test-ciphers.c
14696                 - Move test data to test-inputs.h
14697                 - Test WPA ciphers too
14698
14699         * test/libnm-util/test-dbus-helpers.c
14700                 - Test serialization/deserialization of ciphers
14701
14702 2005-12-29  Dan Williams  <dcbw@redhat.com>
14703
14704         * gnome/applet/applet-dbus-devices.c
14705                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14706                         in dbus calls to NM
14707                 - Set capabilities on WirelessNetwork objects
14708                 - Receive and save type-specific device capabilities too
14709
14710         * gnome/applet/applet-dbus-info.c
14711           gnome/applet/applet-dbus.c
14712                 - Passphrase dialog no longer a singleton; new instance gets created
14713                         on each request.  Updates to deal with that.
14714
14715         * gnome/applet/applet.c
14716                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14717                         than single 'encrypted' flag
14718                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14719                         menu items
14720                 - Passphrase dialog updates per above
14721
14722         * gnome/applet/menu-items.c
14723                 - (network_menu_item_update): use AP capabilities to determine
14724                         encryption
14725
14726         * gnome/applet/nm-device.[ch]
14727                 - Add accessors for type-specific device capabilities
14728
14729         * gnome/applet/other-network-dialog.c
14730                 - Rework to respect device capabilities.  i.e., if the device doesn't
14731                         support WPA, remove that option from the security dropdown
14732
14733         * gnome/applet/passphrase-dialog.c
14734                 - Massive rework so that a new instance is created each time
14735                         it's used, to support wireless network capabilities
14736
14737         * gnome/applet/wireless-network.[ch]
14738                 - Add accessors and members for wireless network capabilities
14739
14740         * gnome/applet/wireless-security-manager.[ch]
14741                 - (wsm_set_capabilities): called after creation to set which
14742                         security options get shown to the user
14743
14744 2005-12-29  Dan Williams  <dcbw@redhat.com>
14745
14746         * libnm-util/cipher-wpa-psk-passphrase.c
14747                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14748                         like other ciphers
14749
14750 2005-12-23  Dan Williams  <dcbw@redhat.com>
14751
14752         * gnome/applet/applet-dbus-info.c
14753                 - (nmi_dbus_get_key_for_network): if there's no entry in
14754                         GConf for a network, assume we want a new key
14755                 - (nmi_save_network_info): serialize wireless security info
14756                         into GConf so its saved
14757
14758         * src/nm-dbus-nm.c
14759                 - Fix warning as we may not be passed security info when
14760                         connecting to a wireless network
14761
14762 2005-12-23  Dan Williams  <dcbw@redhat.com>
14763
14764         * gnome/applet/applet-compat.c
14765                 - Fix bugs in GConf entry conversion
14766
14767         * gnome/applet/applet-dbus-info.c
14768                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14769                         list being zero-length
14770
14771         * libnm-util/cipher-*
14772           libnm-util/dbus-helpers.c
14773                 - All ciphers must now return hashed keys as UTF-8 valid
14774                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14775                         through dbus as strings too.
14776                 - Consolidate various functions that do bin->hex and hex->bin
14777                         conversion into cipher.c
14778
14779         * src/nm-ap-security-wep.c
14780           src/nm-ap-security-wpa-psk.c
14781                 - Handle NULL keys since we may not know keys right away
14782
14783         * src/nm-dbus-nmi.c
14784                 - (nm_dbus_get_network_data_cb): actually advance to the start
14785                         of the wireless security info before we try to deserialize it
14786
14787         * libnm-util/test-ciphers.c
14788                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14789
14790 2005-12-22  Dan Williams  <dcbw@redhat.com>
14791
14792         * gnome/applet/applet-compat.[ch]
14793                 - Convert old-format GConf and keyring entries
14794                         when the applet starts up.
14795
14796         * gnome/applet/applet.c
14797                 - (nmwa_get_instance): Call the conversion function
14798                         on startup before dbus is initialized
14799
14800 2005-12-22  Dan Williams  <dcbw@redhat.com>
14801
14802         * gnome/applet/applet-dbus-info.c
14803                 - Remove nmi_dbus_create_error_message() in favor of
14804                         nmu_create_dbus_error_message()
14805                 - (nmi_dbus_get_network_properties): Error message cleanups
14806                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14807                         gconf key rather than 'addresses', since they really are BSSIDs
14808                 - (nmi_dbus_get_network_properties): Dispose of the security
14809                         object when we're done with it
14810
14811 2005-12-21  Dan Williams  <dcbw@redhat.com>
14812
14813         * Consolidate the info-daemon's "updateNetworkInfo" and
14814                 "addNetworkAddress" calls into just "updateNetworkInfo"
14815
14816 2005-12-21  Dan Williams  <dcbw@redhat.com>
14817
14818         * Make connection after key retrieval work again
14819
14820 2005-12-21  Dan Williams  <dcbw@redhat.com>
14821
14822         * gnome/applet/nm-gconf-wso*
14823                 - Make the serialize functions return gboolean
14824                         rather than int
14825
14826         * gnome/applet/nm-gconf-wso.c
14827                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14828                         parent class handling so we don't segfault
14829
14830         * src/NetworkManagerAP.[ch]
14831                 - (nm_ap_get_capabilities): new function, return capabilities
14832                         now that something can use them
14833                 - (nm_ap_set_encrypted): assume that an access point supports
14834                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14835                         we even tell whether it just supports WEP40?
14836
14837         * src/NetworkManagerDevice.c
14838                 - (ap_need_key): resurrect and update for the New World Order
14839                 - (nm_device_wireless_get_activation_ap): if we're not given
14840                         security info to use, create some based on access point
14841                         capabilities
14842
14843         * src/nm-ap-security-wep.c
14844                 - (nm_ap_security_wep_new_from_ap): create a new object
14845                         based on a certain access point's capabilities
14846
14847         * src/nm-ap-security.c
14848                 - (nm_ap_security_new_from_ap): delegate creation of a new
14849                         object based on access point capabilities to a subclass
14850                 - (nm_ap_security_copy_properties): don't segfault if we
14851                         don't have a key yet
14852
14853         * src/nm-dbus-nm.c
14854                 - (nm_dbus_nm_set_active_device): provide more informative
14855                         output when errors occur.  Also construct security info
14856                         for a given access point if we weren't given any
14857
14858 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14859
14860         * configure.in: Added Lithuanian to ALL_LINGUAS.
14861
14862 2005-12-21  Dan Williams  <dcbw@redhat.com>
14863
14864         * test/libnm-util
14865                 - Add some testcases for WEP ciphers
14866
14867 2005-12-17  Dan Williams  <dcbw@redhat.com>
14868
14869         * Fix bugs
14870
14871 2005-12-17  Dan Williams  <dcbw@redhat.com>
14872
14873         * include/NetworkManager.h
14874                 - Finally kill NMEncKeyType
14875
14876         * gnome/applet/applet-dbus-info.c
14877                 - (nmi_save_network_info): convert to NMGConfWSO
14878
14879         * gnome/applet/nm-gconf-wso-*.c
14880                 - Implement gconf serialization functions
14881
14882         * src/NetworkManagerPolicy.c
14883                 - (nm_policy_activation_finish): fix up meaning of
14884                         automatic/user_requested
14885
14886 2005-12-17  Dan Williams  <dcbw@redhat.com>
14887
14888         * gnome/applet/*
14889                 - More applet cleanups
14890                 - Use the dbus-method-dispatcher
14891
14892         * libnm-util/dbus-method-dispatcher.[ch]
14893                 - Generalize the implementation from NM in
14894                         NetworkManagerUtils.c
14895
14896 2005-12-16  Dan Williams  <dcbw@redhat.com>
14897
14898         * gnome/applet/*
14899                 - Fix up the passphrase dialog to use all the
14900                         WirelessSecurityOption stuff (untested)
14901
14902 2005-12-16  Dan Williams  <dcbw@redhat.com>
14903
14904         * Move nm_gconf_get_*_helper() functions to separate files,
14905                 gconf-helpers.c & gconf-helpers.h
14906
14907         * New NMGConfWSO objects for managing the gconf side of things.
14908                 Eventually these should be merged with the
14909                 WirelessSecurityOption objects and a common base (that can
14910                 serialize/deserialize from dbus & gconf) should be
14911                 refactored out, but for now they are separate.
14912
14913 2005-12-16  Robert Love  <rml@novell.com>
14914
14915         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14916           binaries unless they exist (nm_spawn_process() emits a warning if
14917           asked to spawn a non-existant process).
14918
14919 2005-12-16  Dan Williams  <dcbw@redhat.com>
14920
14921         * gnome/applet/applet-dbus-info.c
14922                 - Clean up lots of gconf-related code
14923
14924 2005-12-16  Robert Love  <rml@novell.com>
14925
14926         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14927
14928 2005-12-16  Dan Williams  <dcbw@redhat.com>
14929
14930         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14931
14932         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14933                 bits still to be done)
14934
14935 2005-12-16  Dan Williams  <dcbw@redhat.com>
14936
14937         * Finally move info-daemon related stuff out of
14938                 NetworkManagerDbus.c to nm-dbus-nmi.c
14939
14940 2005-12-16  Dan Williams  <dcbw@redhat.com>
14941
14942         * Kill auth_method for access points, since that's now done
14943                 by NMAPSecurity objects
14944
14945         * Add a copy-constructor of sorts to NMAPSecurity
14946                 (how do you do this properly in glib???)
14947
14948 2005-12-15  Dan Williams  <dcbw@redhat.com>
14949
14950         * Exorcise encryption key hashing on APs
14951         * Use libnm-util's serialization/deserialization in both the
14952                 applet and NM
14953         * Random other stuff
14954
14955 2005-12-15  Robert Love  <rml@novell.com>
14956
14957         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14958           is being added to the icon naming spec, so let's use that (Tango CVS
14959           has the icon).  Because it is new, however, we fall back to the
14960           current "gnome-lockscreen" if the new icon is not around, thus
14961           behavior is the same.
14962         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14963           factory junk.
14964
14965 2005-12-15  Robert Love  <rml@novell.com>
14966
14967         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14968           well, help to give.  Couple other misc. bits.
14969
14970 2005-12-15  Dan Williams  <dcbw@redhat.com>
14971
14972         * libnm-util/dbus-helpers.[ch]
14973                 - Make this the one-stop-shop for serializing/deserializing
14974                         AP & connection security settings over dbus.  Both NM
14975                         and applets should use this to ensure consistent dbus
14976                         API going forwared.
14977
14978 2005-12-15  Robert Love  <rml@novell.com>
14979
14980         Patch by Timo Hoenig  <thoenig@suse.de>:
14981         * src/NetworkManagerDbus.c
14982                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14983                         if HAL jumps off the system bus.  Otherwise libdbus
14984                         (dbus_connection_dispatch) will try to run the filter
14985                         function of our libhal context which is already freed.
14986
14987 2005-12-15  Alexander Shopov  <ash@contact.bg>
14988
14989         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14990
14991 2005-12-14  Dan Williams  <dcbw@redhat.com>
14992
14993         * include/NetworkManager.h
14994           src/NetworkManagerWireless.c
14995                 - Rearrange 802.11 wireless-specific capabilities again
14996
14997         * src/Makefile.am
14998                 - Forgot to add wpa.c/wpa.h to the makefiles
14999
15000         * src/NetworkManagerAP.[ch]
15001                 - Implement access point capabilities and parse the
15002                         WPA/RSN IEs into the capability bitfield
15003                 - Switch the "encrypted" attribute to utilize the bitfield
15004                         and capabilities rather than being independent
15005
15006         * src/NetworkManagerDevice.c
15007                 - (nm_device_wireless_get_activation_ap): break it horribly
15008                         until we can push NMAPSecurity objects into access point
15009                         objects and through the activation chain
15010                 - Stuff WPA & RSN IEs into AP capabilities
15011
15012         * src/nm-dbus-nm.c
15013                 - Take a shot at actually making setActiveDevice work
15014
15015         * src/wpa.[ch]
15016                 - Make the API a bit saner
15017
15018 2005-12-14  Dan Williams  <dcbw@redhat.com>
15019
15020         * include/NetworkManager.h
15021                 - Add 802.11-specific capability for 802.1x key
15022                         management
15023
15024         * src/wpa.[ch]
15025                 - Pull in WPA IE and RSN IE parsing code from
15026                         wpa_supplicant so we can determine access point
15027                         capabilities
15028                 - Move WPA-related constants here from NetworkManagerAP.h
15029                         and NetworkManagerDevice.c
15030
15031         * src/NetworkManagerDevice.c
15032           src/NetworkManagerAP.[ch]
15033                 - Use WPA-related constants from wpa.h
15034
15035 2005-12-14  Dan Williams  <dcbw@redhat.com>
15036
15037         * include/NetworkManager.h
15038                 - Update and split 802.11 wireless-specific capabilities from
15039                         generic device capabilities
15040
15041         * src/NetworkManagerDevice.c
15042           src/NetworkManagerDevicePrivate.h
15043                 - (nm_device_wireless_discover_capabilities): Move 802.11
15044                         wireless-specific capability checks to
15045                         NetworkManagerWireless.c
15046                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15047                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15048
15049         * src/NetworkManagerWireless.[ch]
15050                 - (nm_802_11_wireless_discover_capabilities): Check extended
15051                         802.11 wireless-specific capabilities of the driver
15052
15053 2005-12-14  Robert Love  <rml@novell.com>
15054
15055         Patch from Stefan Scheler <sscheler@suse.de>:
15056         * src/NetworkManagerDevice.c: call backend code to activate and
15057           deactivate NIS.
15058         * src/NetworkManagerSystem.h: add new NIS interfaces.
15059         * src/backends/NetworkManagerDebian.c,
15060           src/backends/NetworkManagerGentoo.c,
15061           src/backends/NetworkManagerRedHat.c,
15062           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15063           support.
15064         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15065
15066 2005-12-14  Dan Williams  <dcbw@redhat.com>
15067
15068         * src/nm-ap-security*.[ch]
15069                 - Add AP security abstractions to NetworkManager
15070
15071         * src/nm-dbus-device.c
15072                 - Begin to parse new format dbus messages from the applet
15073                         and construct an AP security object from the message
15074
15075         * libnm-util/dbus-helpers.c
15076                 - Use message iters so we can append the key as a fixed
15077                         array of bytes, which actually works rather than
15078                         using dbus_message_append_args() as we were before
15079
15080 2005-12-14  Dan Williams  <dcbw@redhat.com>
15081
15082         * src/NetworkManagerDbus.c
15083           gnome/applet/applet-dbus.c
15084                 - Fix up dbus service replacement options.  The applet
15085                         should allow replacement, NM itself should not.
15086
15087 2005-12-13  Robert Love  <rml@novell.com>
15088
15089         * src/named-manager/nm-named-manager.c: Revert earlier commit.
15090           Instead, fail silently if config is NULL by not asserting and not
15091           returning FALSE.  Also, make sure we always fclose() the file.
15092
15093 2005-12-13  Robert Love  <rml@novell.com>
15094
15095         Patch by Stefan Scheler <sscheler@suse.de>:
15096         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
15097            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15098            via DHCP.  Still need the backends to commit the NIS domain name and
15099            and servers to yp.conf as needed.
15100
15101 2005-12-13  Robert Love  <rml@novell.com>
15102
15103         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15104           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15105
15106 2005-12-13  Robert Love  <rml@novell.com>
15107
15108         * src/named-manager/nm-named-manager.c: Don't unref the config until
15109           after we call rewrite_resolv_conf(), because get_last_default_domain()
15110           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
15111           `config != NULL' failed" assertion failures and "Could not commit DNS
15112           changes" warnings.
15113
15114 2005-12-12  Dan Williams  <dcbw@redhat.com>
15115
15116         * libnm-util/dbus-helpers.[ch]
15117           libnm-util/Makefile.am
15118                 - new helper calls to consolidate locations where
15119                         NM's setDevice method is called
15120
15121         * gnome/applet/applet-dbus-devices.c
15122           gnome/applet/wireless-security-option.c
15123           gnome/applet/wso-*
15124                 - Implement dbus message param append function for
15125                         all wireless security options
15126
15127 2005-12-12  Robert Love  <rml@novell.com>
15128
15129         * libnm-util/cipher-wep-passphrase.c,
15130           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15131           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15132           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15133           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15134           When handling keys, we don't care what the sign is.  The compiler
15135           guarantees us that we get our 8-bits, which is all we care about.
15136         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
15137
15138 2005-12-12  Dan Williams  <dcbw@redhat.com>
15139
15140         * gnome/applet/applet-dbus-devices.[ch]
15141           gnome/applet/applet.c
15142           gnome/applet/other-network-dialog.c
15143           gnome/applet/wireless-security-manager.[ch]
15144           gnome/applet/wireless-security-option.[ch]
15145           gnome/applet/wso-*
15146                 - Push the wireless security options further into the applet
15147
15148 2005-12-12  Robert Love  <rml@novell.com>
15149
15150         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15151           return any name servers.  That is perfectly valid.  (Novell #134369).
15152
15153 2005-12-11  Dan Williams  <dcbw@redhat.com>
15154
15155         * gnome/applet/wso-*
15156           gnome/applet/wireless-security-option.*
15157           gnome/applet/Makefile.am
15158                 - split each security option out so we can eventually
15159                         have each one build up their own dbus message
15160                         arguments to send to NM
15161
15162 2005-12-11  Dan Williams  <dcbw@redhat.com>
15163
15164         * Make validation of the key work correctly
15165
15166 2005-12-11  Dan Williams  <dcbw@redhat.com>
15167
15168         * Hook more bits of the Other Network Dialog up to the
15169                 wireless security manager stuff, and restructure
15170                 bits of the dialog so there's less code.
15171
15172 2005-12-10  Dan Williams  <dcbw@redhat.com>
15173
15174         * gnome/applet/Makefile.am
15175                 - Add libnm-util to includes
15176                 - Add libnm-util to link list
15177                 - Add wireless-security-common.* to compile list
15178
15179         * gnome/applet/other-network-dialog.c
15180                 - Convert to using the WirelessSecurityManager code and
15181                         widgets
15182
15183         * gnome/applet/passphrase-dialog.c
15184                 - Comment out references to stuff in the glade file that
15185                         cause runtime errors until it can be fixed up
15186                         to use the WirelessSecurityManager code
15187
15188         * gnome/applet/wireless-applet.glade
15189                 - Rename some widgets
15190                 - Add widgets for the WirelessSecurityManager code
15191                 - Remove passphrase-related stuff since that's now
15192                         handled by the WirelessSecurityManager code
15193
15194 2005-12-10  Dan Williams  <dcbw@redhat.com>
15195
15196         * gnome/applet/applet-dbus-devices.c
15197                 - Print out error message details for dbus pending call callbacks
15198                 - Move nmwa_dbus_update_devices() up
15199
15200         * gnome/applet/applet-dbus-vpn.c
15201                 - Print out error message details for dbus pending call callbacks
15202
15203 2005-12-10  Dan Williams  <dcbw@redhat.com>
15204
15205         * libnm-util/*
15206                 - More fixups
15207                 - Remove cipher-manager.* because we don't need it
15208                 - Forgot to add gnome-keyring-md5 files to compile list
15209
15210 2005-12-09  Dan Williams  <dcbw@redhat.com>
15211
15212         * libnm-util/*
15213           configure.in
15214           Makefile.am
15215                 - Add a utility library for clients of NetworkManager.  It's
15216                         only targetted at applets for the moment, and contains
15217                         a generalized 802.11 cipher framework for different
15218                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15219
15220 2005-12-09  Robert Love  <rml@novell.com>
15221
15222         * src/NetworkManagerDevice.c: handle error better in
15223           nm_device_set_mode().
15224
15225 2005-12-08  Robert Love  <rml@novell.com>
15226
15227         * include/NetworkManager.h: add WPA capabilities constants
15228         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15229           or WPA2 and add the capabilities bits as appropriate.
15230
15231 2005-12-08  Robert Love  <rml@novell.com>
15232
15233         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15234           NetworkManagerDispatcher.
15235         * configure.in, initscript/SUSE/.cvsignore,
15236           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15237           initscript.
15238
15239 2005-12-08  Robert Love  <rml@novell.com>
15240
15241         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15242
15243 2005-12-08  Robert Love  <rml@novell.com>
15244
15245         * src/NetworkManagerDevice.c: We want to fall back on and default to
15246           IW_MODE_AUTO, not -1, which is more in line with our previous
15247           behavior.  Otherwise, we try to set the wireless mode to -1 in
15248           nm_device_set_mode().
15249
15250 2005-12-07  Robert Love  <rml@novell.com>
15251
15252         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15253           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15254           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15255           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15256           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15257           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15258           zero.
15259
15260 2005-12-07  Robert Love  <rml@novell.com>
15261
15262         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15263           supplied IP is invalid, fall back to DHCP.
15264
15265 2005-12-07  Dan Williams  <dcbw@redhat.com>
15266
15267         * Convert NETWORK_MODE_* constants to IW_MODE_*
15268         * Make all the get_mode/set_mode functions take and return 'int'
15269         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15270
15271 2005-12-07  Robert Love  <rml@novell.com>
15272
15273         * src/NetworkManagerDevice.c: strncpy() buffer check.
15274         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15275
15276 2005-12-06  Dan Williams  <dcbw@redhat.com>
15277
15278         * gnome/applet/applet-dbus.c
15279                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15280
15281         * gnome/applet/applet-dbus-vpn.c
15282                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15283                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15284                         to TRUE here if stage was ACTIVATED
15285
15286 2005-12-06  Dan Williams  <dcbw@redhat.com>
15287
15288         * Change nm_device_is_* functions to better names:
15289                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15290                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15291
15292 2005-12-06  Dan Williams  <dcbw@redhat.com>
15293
15294         * Change naming of NMDeviceType to something more sensible:
15295                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15296                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15297                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15298
15299 2005-12-06  Dan Williams  <dcbw@redhat.com>
15300
15301         * Move NetworkManager.h -> include/NetworkManager.h
15302         * Split out VPN stuff into include/NetworkManagerVPN.h
15303         * Fix up makefiles to include new location
15304         * Fix up sources to include NetworkManagerVPN.h
15305
15306 2005-12-06  Dan Williams  <dcbw@redhat.com>
15307
15308         Various changes in the applet to move VPN connection "state" -> "stage",
15309         which it actually is.  I'd like to change the signal as well when we
15310         break compat in the near future.
15311
15312 2005-12-06  Dan Williams  <dcbw@redhat.com>
15313
15314         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15315         * initscript/Slackware/rc.networkmanager
15316                 - Cosmetic fix
15317
15318         * src/backends/NetworkManagerSlackware.c
15319                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15320                         interfaces
15321
15322 2005-12-05  Robert Love  <rml@novell.com>
15323
15324         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15325           to free, particularly here as it just barfs.
15326
15327 2005-12-05  Dan Williams  <dcbw@redhat.com>
15328
15329         * gnome/applet/applet-dbus.c
15330                 - Work with dbus 0.6 too
15331
15332 2005-12-03  Dan Williams  <dcbw@redhat.com>
15333
15334         * src/NetworkManagerUtils.[ch]
15335           src/nm-ip4-config.c
15336                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15337                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15338
15339 2005-12-01  Robert Love  <rml@novell.com>
15340
15341         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15342           need a NULL for the '...' parameter, too, to fill the so-called
15343           sentinel.
15344
15345 2005-12-01  Robert Love  <rml@novell.com>
15346
15347         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15348           interface is already gone, so don't call rtnl_link_change() to down
15349           it (which will segfault, anyhow).
15350
15351 2005-11-22  Robert Love  <rml@novell.com>
15352
15353         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15354           gateway is not set, just print a little note.  Configurations without
15355           gateways are valid.
15356
15357 2005-11-22  Robert Love  <rml@novell.com>
15358
15359         * README: update
15360
15361 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15362
15363         * configure.in: Added Finnish translation to ALL_LINGUAS
15364
15365 2005-11-14  Robert Love  <rml@novell.com>
15366
15367         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15368           Niemueller <tim@niemueller.de>.
15369
15370 2005-11-08  Dan Williams  <dcbw@redhat.com>
15371
15372         Patch from Bill Moss <bmoss@clemson.edu>
15373         * src/NetworkManagerDevice.c
15374                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15375                         of nm_policy_schedule_activation_finish() to prevent a
15376                         race condition that causes the link to be dropped
15377
15378 2005-11-08  Dan Williams  <dcbw@redhat.com>
15379
15380         Patch from Bill Moss <bmoss@clemson.edu>
15381         * src/NetworkManagerAPList.c
15382           src/NetworkManagerDevice.c
15383           src/NetworkManagerDbus.c
15384                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15385                         we get more readable ether/mac addresses
15386
15387 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15388
15389         * gnome/applet/main.c: Don't set the restart command.  This fixes
15390         the issue where the restart command was getting copies of all its
15391         arguments for each time the applet was restarted.
15392
15393 2005-11-02  Robert Love  <rml@novell.com>
15394
15395         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15396           if the widget state differs from our saved state.  This ensures we
15397           do not enter an endless loop of death and destruction.  Also, this
15398           guarantees us that we enforce the widget state.
15399
15400 2005-11-02  Robert Love  <rml@novell.com>
15401
15402         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15403         * gnome/applet/applet-dbus-devices.c: invoke the new function
15404           nmwa_enable_wireless_set_active() to ensure that the state of the
15405           'Enable Wireless' checkbox matches the daemon's state.  This is a
15406           concern because the daemon remembers the state.
15407
15408 2005-11-02  Robert Love  <rml@novell.com>
15409
15410         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15411           Enabled", as checkboxes should be actions/commands not positive
15412           statements, otherwise they are confusing in the unselected case.  See
15413           examples in GNOME HIG, Chapter 6.
15414
15415 2005-11-02  Robert Love  <rml@novell.com>
15416
15417         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15418           show a list of wireless networks or the wireless devices or the
15419           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15420           a bad bug: If wireless is disabled and the user picks a wireless
15421           network, NM will switch to the network, only to immediately switch
15422           back, as wireless is disabled.  This also reassures people that NM
15423           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15424
15425 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15426
15427         * gnome/applet/applet.c:
15428         * gnome/applet/applet.h:
15429         Partial backout of Dan's timeout animation patch.
15430         Timeout IDs cannot legally be 0, so revert the code in place to handle
15431         a timeout ID of 0 to denote the timeout isn't running.
15432
15433 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15434
15435         * src/NetworkManagerPolicy.c:
15436         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15437
15438 2005-10-28  Robert Love  <rml@novell.com>
15439
15440         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15441           "Import Saved Configuration..." to make it clear that importing is
15442           not the next step, but an option.  As an aside, a nice TODO would be
15443           to move Importing out of the vpn-specific dialog and into the main
15444           property editor, as Importing goes with Adding, but that will require
15445           some rearchitecting of the VPN stuff I suspect.
15446
15447 2005-10-27  Dan Williams  <dcbw@redhat.com>
15448
15449         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15450         we should replace most of the distro-specific backend code
15451         with libnl stuff.
15452
15453         Get it here:  http://people.suug.ch/~tgr/libnl/
15454
15455         * configure.in
15456           src/Makefile.am
15457                 - Add checks for libnl pkgconfig file
15458                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15459
15460         * src/NetworkManagerSystem.c
15461           src/nm-ip4-config.[ch]
15462                 - Use libnl rather than ioctl() for most things
15463                 - Remove unused functions
15464
15465 2005-10-27  Robert Love  <rml@novell.com>
15466
15467         * src/backends/NetworkManagerSuSE.c: fix warning message text
15468
15469 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15470
15471         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15472
15473 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15474
15475         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15476         project page <http://www.gnome.org/projects/NetworkManager/>
15477
15478 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15479
15480         * gnome/applet.c: Also use translator credits if we don't have
15481         the new GtkAboutDialog (older versions of GTK+)
15482
15483 2005-10-26  Robert Love  <rml@novell.com>
15484
15485         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15486           failure; correct usage text for "--no-daemon"
15487
15488 2005-10-25  Dan Williams  <dcbw@redhat.com>
15489
15490         * src/NetworkManagerDevice.c
15491                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15492                         no scan results
15493                 - (free_process_scan_cb_data): unref the device when freeing results
15494                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15495                         so we don't unref the device underneath ourselves
15496
15497 2005-10-25  Dan Williams  <dcbw@redhat.com>
15498
15499         * Back out 2005-10-24 commit from Tor Krill.  Patch
15500                 causes nameservers never to be removed from named.
15501
15502 2005-10-24  Dan Williams  <dcbw@redhat.com>
15503
15504         Clean up wireless scanning and wireless link probing.
15505
15506         * src/NetworkManagerDevice.c
15507                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15508                         just see if there's an activation request on the device, and check the
15509                         current link against the activation request access point's ESSID.
15510                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15511                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15512                         don't call process_scan_results() on zero-length data
15513                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15514                         15 seconds (from 10)
15515
15516 2005-10-24  Dan Williams  <dcbw@redhat.com>
15517
15518         Cleanup some applet stuff:
15519
15520         - Animation timeouts.  If NM died while the applet was animating,
15521                 the applet would not hide itself.  This is now fixed.
15522
15523         - Remove some dead code
15524
15525         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15526                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15527
15528         - Track animation timeout using a gboolean rather than the timeout's
15529                 ID, since timeout IDs can legally be 0.
15530
15531 2005-10-24  Dan Williams  <dcbw@redhat.com>
15532
15533         * src/backends/interface_parser.c
15534                 - Add void to function declarations that need it
15535                         to match patch from Engin AYDOGAN
15536
15537         * src/backends/interface_parser.h
15538                 - Remove unused prototype for ifparser_interfaces()
15539
15540         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15541         * src/backends/interface_parser.h:
15542                 - Compile fixes for gcc 4.0.2 (add void)
15543
15544 2005-10-24  Dan Williams  <dcbw@redhat.com>
15545
15546         Patch from Tor Krill <tor@krill.nu>
15547         * src/named-manager/nm-named-manager.c
15548                 - Write more than just the first nameserver to /etc/resolv.conf
15549                 - Write out valid /etc/resolv.conf on exit
15550
15551 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15552
15553         * gnome/applet/applet-dbus-vpn.c:
15554         Get rid of spurious newlines in debug console output
15555
15556 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15557
15558         * src/backends/NetworkManagerGentoo.c:
15559         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15560
15561 2005-10-20  Robert Love  <rml@novell.com>
15562
15563         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15564           direct comparison of floating point values, which is never correct.
15565           Also some misc. cleanup.
15566
15567 2005-10-19  Robert Love  <rml@novell.com>
15568
15569         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15570
15571 2005-10-19  Robert Love  <rml@novell.com>
15572
15573         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15574           sensitivity of the buttons.  Specificaly, do the right thing if
15575           there are no entries.
15576
15577 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15578
15579         * configure.in: Update check for adequate wireless-tools
15580         with an AC_TRY_COMPILE for the new symbols we use.
15581
15582 2005-10-19  Dan Williams  <dcbw@redhat.com>
15583
15584         * src/NetworkManagerDevice.c
15585                 - (process_scan_results): don't drop the last (or only)
15586                         access point we see
15587
15588 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15589
15590         * src/backends/NetworkManagerSlackware.c:
15591         Patch from Nico <lordllucifer@gmail.com>
15592                 - Update the Slackware backend.
15593
15594 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15595
15596         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15597         if we've got GLib 2.8.0
15598
15599 2005-10-18  Robert Love  <rml@novell.com>
15600
15601         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15602           function nm_schedule_state_change_signal_broadcast() when we
15603           deactivate a device, too.
15604
15605 2005-10-18  Robert Love  <rml@novell.com>
15606
15607         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15608           be used uninitialized.
15609
15610 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15611
15612         * test/libnm_glib_test.c: Test unregistering, too.
15613
15614 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15615
15616         * configure.in: Bump to 0.5.0
15617
15618 2005-10-17  Dan Williams  <dcbw@redhat.com>
15619
15620         * NetworkManager.h
15621                 - Remove WPA-related constants so they aren't part of the
15622                         upcoming release.
15623
15624 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15625
15626         * gnome/applet/applet.c:
15627         * gnome/applet/applet.h:
15628         Desensitize the 'Connection Information' menu item when there is
15629         no active connection.
15630
15631 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15632
15633         * gnome/libnm_glib/libnm_glib.c:
15634         Make libnm_glib_unregister_callback () actually unregister the callback
15635
15636 2005-10-17  Robert Love  <rml@novell.com>
15637
15638         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15639           two seconds -- tries is updated every 1/10 of a second, not every
15640           second..
15641
15642 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15643
15644         * gnome/applet/applet-dbus-info.c:
15645         Let D-BUS know that we haven't handled a message when we haven't.
15646
15647 2005-10-17  Robert Love  <rml@novell.com>
15648
15649         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15650           in order to remain 64-bit clean.
15651
15652 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15653
15654         * gnome/applet/applet-dbus-info.c:
15655         Find network encryption keys asynchronously
15656
15657 2005-10-17  Robert Love  <rml@novell.com>
15658
15659         * src/backends/NetworkManagerDebian.c,
15660           src/backends/NetworkManagerRedHat,
15661           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15662           comment delimiter.
15663
15664 2005-10-17  Robert Love  <rml@novell.com>
15665
15666         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15667           "/etc"
15668
15669 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15670
15671         * src/NetworkManagerDevice.c: (process_scan_results)
15672         Fix logic that checks to see whether we have an ESSID.
15673
15674 2005-10-15  Dan Williams  <dcbw@redhat.com>
15675
15676         Move scanning code into NetworkManager rather than use iwlib's
15677         iw_scan() function, so that we can figure out AP capabilities.
15678
15679         * NetworkManager.h
15680                 - Add AP capability bits
15681
15682         * src/NetworkManagerAP.[ch]
15683                 - Add capability field to NMAccessPoint structure
15684                 - Add WPA & RSN Information Element fields and accessor
15685                         functions to NMAccessPoint
15686
15687         * src/NetworkManagerDevice.c
15688                 - Remove usage of iw_scan
15689                 - Add scanning code to NetworkManager rather than use
15690                         iw_scan() from iwlib
15691
15692         * src/NetworkManagerUtils.[ch]
15693                 - (nm_dispose_scan_results): remove, unused
15694
15695 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15696
15697         * gnome/libnm_glib/libnm_glib.c:
15698         * gnome/libnm_glib/libnm_glib.h:
15699         Use guint instead of gint for callback IDs.
15700
15701 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15702
15703         * gnome/applet/applet.c:
15704         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15705         every 1000ms.  It will unconditionally call nmwa_update_state which
15706         kills the existing animation timeout and registers a new one with a
15707         callback to draw a new frame every 100ms.  There are 11 connecting
15708         icon frames, so the last 2 frames kept getting dropped.  Only reset
15709         the animation timeout if we aren't animating.
15710
15711 2005-10-11  Dan Williams  <dcbw@redhat.com>
15712
15713         * gnome/applet/applet-dbus-devices.c
15714                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15715                         We want to grab the product & vendor from net.physical_dev
15716                         rather than info.parent.
15717
15718 2005-10-11  Dan Williams  <dcbw@redhat.com>
15719
15720         * src/NetworkManagerDevice.c
15721                 - Use the driver's WE version for scanning rather than
15722                         the WE version NM was compiled with.  Fixes random
15723                         crashes in iw_scan () in iwlib.
15724
15725 2005-10-10  Dan Williams  <dcbw@redhat.com>
15726
15727         * Remove nm_system_load_device_modules() from backend files
15728                 and from NetworkManager.c
15729
15730 2005-10-10  Dan Williams  <dcbw@redhat.com>
15731
15732         * src/NetworkManagerPolicy.c
15733                 - Fix some bugs introduced by the capabilities patch
15734
15735 2005-10-10  Dan Williams  <dcbw@redhat.com>
15736
15737         * gnome/applet/applet-dbus-info.c
15738                 - (nmi_dbus_get_network_key): hide the menu when putting up
15739                         the keyring dialog.  (not sure if the code is right...)
15740
15741 2005-10-09  Dan Williams  <dcbw@redhat.com>
15742
15743         Patch from Bill Moss <bmoss@clemson.edu>
15744         * src/NetworkManagerDevice.c
15745                 - (nm_device_set_user_key_for_network): don't try to set auth
15746                         mode on the AP from the allowed list if it's NULL
15747
15748 2005-10-09  Dan Williams  <dcbw@redhat.com>
15749
15750         * Replace the "driver support level" stuff with capabilities.  The
15751                 capability field is a bitfield that is more flexible than the
15752                 old driver support level thing.  It's mostly so we can easily
15753                 figure out what supports WPA and what doesn't, but should be
15754                 quite useful later.
15755
15756 2005-10-09  Dan Williams  <dcbw@redhat.com>
15757
15758         * test/nmtest.c
15759                 - Removed
15760
15761         * test/nm-tool.c
15762           test/Makefile.am
15763                 - Added new "nm-tool" tool that gives quite a bit more
15764                         information
15765
15766 2005-10-07  Robert Love  <rml@novell.com>
15767
15768         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15769           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15770           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15771           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15772           appropriate
15773
15774 2005-10-07  Robert Love  <rml@novell.com>
15775
15776         * configure.in: Change our compile flags for the betterment of mankind.
15777           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15778           prototype is very bad on 64-bit platforms as types default to int but
15779           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15780           "-Wmissing-declarations" to warn if we define an exported function
15781           but fail to put it in a header.
15782
15783 2005-10-07  Robert Love  <rml@novell.com>
15784
15785         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15786           by the name nm_update_device_wireless_timeouts() and once tried,
15787           without success, to steal my pet turtle.
15788
15789 2005-10-07  Robert Love  <rml@novell.com>
15790
15791         * Cleanup prototypes: put some functions in header files and mark
15792           others as 'static' -- feel free to invert
15793         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15794           nm_vpn_manager_vpn_connection_list_copy()
15795         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15796           nm_vpn_service_get_dbus_connection()
15797         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15798           nm_vpn_manager_vpn_connection_list_copy()
15799         * src/vpn-manager/nm-vpn-service.c: make
15800           nm_vpn_service_act_request_failed() and
15801           nm_vpn_service_stage2_daemon_wait() static
15802         * src/vpn-manager/nm-vpn-service.h: add prototype for
15803           nm_vpn_service_get_dbus_connection()
15804
15805 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15806
15807         * gnome/applet/applet.c:
15808         * gnome/applet/applet.h:
15809         * gnome/applet/icons/Makefile.am:
15810         Convey information about the current connection stage in the
15811         icons themselves instead of creating a separate progress bar.
15812
15813 2005-10-04  Robert Love  <rml@novell.com>
15814
15815         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15816           convert an ether_addr structure's MAC into a string, because the
15817           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15818           versus 07:3B:04, while the former will not.
15819
15820 2005-10-04  Robert Love  <rml@novell.com>
15821
15822         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15823           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15824           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15825           default route in the 'Connection Information' dialog, send primary
15826           and secondary name servers in in "getProperties" DBUS method, add
15827           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15828           secondary domain name servers are crucial pieces of information
15829           that a user might need in debugging a network problem.
15830
15831 2005-10-04  Robert Love  <rml@novell.com>
15832
15833         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15834           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15835           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15836           default route in the 'Connection Information' dialog, send default
15837           route in "getProperties" DBUS method, add network_device_set_route(),
15838           and network_device_get_route().  The Gateway is a crucial piece of
15839           connection-related information that a user might need in debugging a
15840           network problem.
15841
15842 2005-10-03  Robert Love  <rml@novell.com>
15843
15844         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15845           NULL.
15846
15847 2005-10-02  Dan Williams  <dcbw@redhat.com>
15848
15849         * Shorten time taken to sleep by fastpathing bits of device deactivation
15850                 necessary for sleep.
15851
15852         * Fix issue where deactivating a device might deactivate the active
15853                 VPN connection, even if the VPN was not using the device.
15854
15855 2005-10-02  Dan Williams  <dcbw@redhat.com>
15856
15857         * gnome/applet/applet.c
15858                 - Adjust signal strength -> icon mapping values slightly
15859                         (so that 51% signal doesn't show a 75% icon) by adding
15860                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15861                         shows 50% icon, etc.
15862
15863 2005-09-29  Robert Love  <rml@novell.com>
15864
15865         * src/NetworkManager.c: removed unused variable.
15866
15867 2005-09-28  Dan Williams  <dcbw@redhat.com>
15868
15869         Support for named + DBus, using Red Hat DBus patches for named.  You
15870         can find those patches here, with "dbus" in the patch's filename:
15871
15872                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15873
15874         Don't forget the named dbus service file either.
15875
15876         Instead of writing a config file and spawing a named process, NM will
15877         use an already-running dbus-enabled named if it finds one.  NM will
15878         update named's forwarder configuration on the fly using dbus.
15879
15880         If there is no dbus-enabled named running, NM will automatically fall
15881         back to writing the most-recent DNS server information to /etc/resolv.conf
15882         and calling nm_system_update_dns() to kick the system's resolver.
15883
15884         Accordingly, all named-related configure-time options have been removed.
15885
15886 2005-09-26  Robert Love  <rml@novell.com>
15887
15888         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15889           ISDN support!
15890         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15891           bug in error path if "ASKPASSWORD" is "no".
15892
15893 2005-09-26  Robert Love  <rml@novell.com>
15894
15895         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15896           comment in /etc/resolv.conf -- ';' is not.
15897
15898 2005-09-19  Dan Williams  <dcbw@redhat.com>
15899
15900         * src/backends/NetworkManagerRedHat.c:
15901         * src/backends/NetworkManagerDebian.c:
15902         * src/backends/NetworkManagerSlackware.c:
15903         * src/backends/NetworkManagerGentoo.c:
15904         * src/backends/NetworkManagerSUSE.c:
15905         Fix invocations of "/sbin/ip address" to use short form instead
15906
15907 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15908
15909         * src/nm-dbus-device.c: Don't assert when getting
15910         addresses of a not yet connected interface.
15911
15912         * gnome/applet/applet.c: Free icons if loading fails.
15913         Use translator-credits so translators can make themselves known.
15914
15915 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15916
15917         * src/NetworkManagerAP.c:
15918         * src/NetworkManagerAP.h:
15919         * src/NetworkManagerDevice.c:
15920         Set a blacklist for certain common manufacturer default ESSIDs:
15921         APs with these ESSIDs are extremely likely to be completely
15922         different networks: connecting to one should not make NM
15923         auto-connect to every other AP with the same default ESSID.
15924
15925 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15926
15927         * gnome/applet/wireless-applet.glade:
15928         The passphrase entry should also activate the default
15929
15930         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15931
15932         * gnome/applet/applet-dbus-devices.c:
15933         * gnome/applet/applet.c:
15934         * gnome/applet/nm-device.c:
15935         * gnome/applet/nm-device.h:
15936         * src/NetworkManagerUtils.c:
15937         * src/NetworkManagerUtils.h:
15938         * src/nm-dbus-device.c:
15939         I've got a fever, and the only cure for it is less ioctl.
15940         Make NM push IP data rather than make the applet open a socket
15941         to the device.
15942
15943 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15944
15945         * gnome/applet/applet.c:
15946         * gnome/applet/applet-dbus-devices.c:
15947         * gnome/applet/applet-dbus-info.c:
15948         * gnome/applet/passphrase-dialog.c:
15949         * gnome/libnm_glib/libnm_glib.c:
15950         * gnome/vpn-properties/nm-vpn-properties.c:
15951         * src/autoip.c:
15952         * src/backends/NetworkManagerRedHat.c:
15953         * src/named-manager/nm-named-manager.c:
15954         * src/NetworkManagerAPList.c:
15955         * src/NetworkManager.c:
15956         * src/NetworkManagerDbus.c:
15957         * src/NetworkManagerDevice.c:
15958         * src/NetworkManagerPolicy.c:
15959         * src/NetworkManagerSystem.c:
15960         * src/nm-dbus-device.c:
15961         * src/nm-dbus-nm.c:
15962         * src/vpn-manager/nm-vpn-manager.c:
15963         * src/vpn-manager/nm-vpn-service.c:
15964         * test/libnm_glib_test.c:
15965         * test/nminfotest.c:
15966         * test/nmtestdevices.c:
15967         Fix a bunch of 'unused variable' compiler warnings
15968
15969         * NetworkManager.h:
15970         * gnome/applet/applet-dbus-info.c:
15971         * gnome/applet/applet-dbus-info.h:
15972         * gnome/applet/applet.c:
15973         * gnome/applet/applet.h:
15974         * src/NetworkManager.c:
15975         * src/NetworkManagerDbus.c:
15976         * src/NetworkManagerDbus.h:
15977         * src/NetworkManagerDevice.c:
15978         * src/NetworkManagerDevice.h:
15979         * src/NetworkManagerMain.h:
15980         * src/NetworkManagerWireless.c:
15981         * src/NetworkManagerWireless.h:
15982         * src/nm-dbus-nm.c:
15983         Make NetworkManager be smart about how frequently to scan
15984         based on its current state.  Remove the UI for choosing when
15985         to scan.  Scanning still may disabled completely by the user
15986         via the "Wireless Enabled" menu item.
15987
15988 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15989
15990         * gnome/applet/applet.c:
15991         Also overlay the vpn connecting icons onto the wired icon,
15992         when appropriate.
15993
15994         * gnome/vpn-properties/nm-vpn-properties.glade:
15995         Clean up a few strings to use better grammar and proper casing.
15996
15997 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15998
15999         * gnome/applet/vpn-connection.c:
16000         * gnome/applet/vpn-connection.h:
16001         Add nmwa_vpn_connection_is_activating ()
16002
16003         * gnome/applet/applet.c:
16004         * gnome/applet/applet.h:
16005         * gnome/applet/icons/nm-vpn-connecting*.png:
16006         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16007         the user know something's happening between clicking the VPN item and it
16008         actually being connected.
16009
16010 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16011
16012         * gnome/applet/applet-dbus-info.c: need to free attributes in the
16013         failure case as well.
16014
16015 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
16016
16017         * gnome/panel/eggtrayicon.[ch]:
16018         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16019
16020 2005-09-07  Dan Williams  <dcbw@redhat.com>
16021
16022         Patch from Bill Moss <bmoss@clemson.edu>
16023         * src/applet-dbus.c
16024                 - (nmwa_dbus_filter): strip whitespace from beginning
16025                         and end of VPN login banner
16026
16027 2005-09-07  Dan Williams  <dcbw@redhat.com>
16028
16029         * The great VPN Manager rewrite of 2005
16030
16031 2005-09-07  Christopher Aillon  <caillon@redhat.com>
16032
16033         * gnome/applet/menu-items.c:
16034         * gnome/applet/nm-device.c:
16035         * gnome/applet/wireless-network.c:
16036         * gnome/libnm_glib/libnm_glib.c:
16037         * src/NetworkManagerDbusUtils.c:
16038         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16039         g_malloc0 doesn't return NULL
16040
16041 2005-09-06  Dan Williams  <dcbw@redhat.com>
16042
16043         Patch from Tomislav Vujec <tvujec@redhat.com>
16044         * src/NetworkManagerDevice.c
16045                 - (nm_get_device_by_udi): don't return a device when we
16046                         actually didn't find what we were looking for
16047
16048 2005-09-06  Christopher Aillon  <caillon@redhat.com>
16049
16050         * gnome/applet/applet-dbus-devices.c:
16051         * gnome/applet/applet-dbus-devices.h:
16052         * gnome/applet/applet-dbus.c:
16053         * src/NetworkManagerDbus.c:
16054         * src/NetworkManagerDbus.h:
16055         * src/NetworkManagerDevice.c:
16056         * src/nm-dbus-device.c:
16057         Make NM push updates about active device strength when it changes,
16058         rather than having the applet poll every 2s.
16059
16060 2005-09-05  Christopher Aillon  <caillon@redhat.com>
16061
16062         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16063         network_device_set_strength
16064
16065 2005-09-04  Dan Williams  <dcbw@redhat.com>
16066
16067         Patch from Bill Nottingham <notting@redhat.com>
16068         * src/NetworkManagerDevice.c
16069                 - (nm_device_activation_cancel): reset the quit_activation flag
16070
16071 2005-09-04  Dan Williams  <dcbw@redhat.com>
16072
16073         * src/nm-activation-request.c
16074                 - (nm_act_request_unref): actually free the structure,
16075                         which we didn't seem to be doing before
16076
16077 2005-09-04  Dan Williams  <dcbw@redhat.com>
16078
16079         Patch from John Palmieri <johnp@redhat.com>
16080         * gnome/applet/applet-dbus-devices.c
16081                 - Fix up unreffing of DBusMessage objects
16082
16083 2005-09-04  Dan Williams  <dcbw@redhat.com>
16084
16085         Patch from John Palmieri <johnp@redhat.com>
16086         * gnome/applet/nm-device.c
16087                 - (nm_device_unref): clear network_device's memory _before_ freeing it
16088
16089 2005-09-02  Christopher Aillon  <caillon@redhat.com>
16090
16091         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16092
16093 2005-09-02  Bill Nottingham  <notting@redhat.com>
16094
16095         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16096
16097 2005-09-01  Dan Williams  <dcbw@redhat.com>
16098
16099         * src/NetworkManager.c
16100                 - (nm_remove_device_from_list): rename to nm_remove_device
16101                 - (nm_hal_device_removed): call nm_remove_device()
16102
16103         * src/NetworkManagerDevice.c
16104                 - Change the NMWirelessScanCB member 'reschedule' which
16105                         wasn't used to 'force' to indicate that we need to
16106                         force a scan when adding a device
16107
16108         * src/nm-dbus-nm.c
16109                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16110                         from the device list
16111                 - (nm_dbus_nm_wake): Re-add all devices to the device list
16112
16113 2005-09-01  Robert Love  <rml@novell.com>
16114
16115         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16116           and the check "!iface" in the error case is probably never true.
16117
16118 2005-09-01  Dan Williams  <dcbw@redhat.com>
16119
16120         Patch from Bill Nottingham <notting@redhat.com>
16121         * src/backends/NetworkManagerRedHat.c
16122                 - Add initial dialup support to Red Hat/Fedora backend
16123
16124 2005-09-01  Dan Williams  <dcbw@redhat.com>
16125
16126         * gnome/applet/applet-dbus-devices.c
16127                 - Sort both wireless networks and devices again, which got
16128                         broken when removing threading
16129
16130 2005-09-01  Christopher Aillon  <caillon@redhat.com>
16131
16132         * gnome/applet/applet.c:
16133         Only show the "Stop/Start All Wireless Devices" menuitem
16134         if we actually have wireless devices.
16135
16136         * gnome/applet/applet-dbus-info.c:
16137         * gnome/applet/applet.c:
16138         * gnome/applet/other-network-dialog.c:
16139         * gnome/applet/vpn-password-dialog.c:
16140         Drop the gtk_dialog_run () calls in favor of connecting to
16141         "response" signals, needed now that the applet is not threaded.
16142
16143 2005-08-31  Dan Williams  <dcbw@redhat.com>
16144
16145         Patch from Bill Moss <bmoss@clemson.edu>
16146         * src/NetworkManagerDevice.c
16147                 - (nm_device_wireless_scan): fix scan timeout values
16148
16149 2005-08-30  Dan Williams  <dcbw@redhat.com>
16150
16151         * gnome/applet/wireless-applet.glade
16152                 - HIG-ify the Other Wireless Networks dialog a bit more
16153                 - Fix some potential segfaults in the info dialog
16154
16155 2005-08-30  Dan Williams  <dcbw@redhat.com>
16156
16157         * gnome/applet/applet-dbus-devices.c
16158                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16159
16160 2005-08-30  Dan Williams  <dcbw@redhat.com>
16161
16162         * gnome/applet/applet-dbus.[ch]
16163                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16164                         they weren't being used anyway
16165
16166 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16167
16168         * test/nmtestdevices.c: (print_usage), (main):
16169         Check the number of arguments, and fix a typo
16170
16171 2005-08-29  Dan Williams  <dcbw@redhat.com>
16172
16173         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16174         * gnome/applet/applet.c
16175                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16176
16177 2005-08-29  Dan Williams  <dcbw@redhat.com>
16178
16179         * gnome/applet/*
16180                 - Don't use threads any more.  Anything that blocks
16181                         (like gtk_dialog_run()) will  have to get fixed up which
16182                         should happen quickly.  We really only had threads to make
16183                         the animation smooth, and when everything got converted over
16184                         to DBus Pending Calls, the need for threads kind of went away
16185
16186 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16187
16188         * gnome/applet/applet.c: Draw VPN connections as radio items
16189         since we don't yet support multiple VPNs.
16190         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16191         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16192
16193 2005-08-29  Dan Williams  <dcbw@redhat.com>
16194
16195         Patch from j@bootlab.org
16196         - Make --without-named work
16197         - Make --with-dhcdbd work correctly
16198
16199 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16200
16201         * configure.in: Added "ca" to ALL_LINGUAS.
16202
16203 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16204
16205         * Fix up VPN state handling between the applet and NetworkManager,
16206                 so that the applet doesn't show a VPN as connected when one
16207                 really is not
16208                         - The applet no longer has a pointer to the active VPN's
16209                                 name, but tracks each VPNs state individually
16210                         - NM no longer has a "getActiveVPNConnection" method
16211                         - NM no longer broadcasts the "VPNConnectionChange" signal
16212                         - NM now broadcasts a "VPNConnectionStateChange" signal
16213                                 whenever the state of a VPN changes
16214
16215 2005-08-26  Dan Williams <dcbw@redhat.com>
16216
16217         * gnome/applet/applet-dbus-devices.c
16218           gnome/applet/applet-dbus-vpn.c
16219                 - Remove calls to dbus_pending_call_ref() because we already
16220                         "own" the pending call
16221                 - Remove calls to dbus_pending_call_get_completed() because
16222                         when we are in the callback, the pending call is completed
16223                         by definition
16224
16225 2005-08-22  Dan Williams <dcbw@redhat.com>
16226
16227         Patch by Bill Moss <bmoss@clemson.edu>
16228         * src/dhcp-manager/nm-dhcp-manager.c
16229                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16230                         some time to send out a RELEASE if they like
16231
16232 2005-08-22  Dan Williams <dcbw@redhat.com>
16233
16234         Noticed by Bill Moss <bmoss@clemson.edu>
16235         * src/NetworkManagerDbus.c
16236                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16237                         instead of just cancelling its activation
16238
16239         * src/NetworkManagerDevice.c
16240                 - (nm_device_deactivate): some small cleanups
16241                 - (nm_device_set_user_key_for_network): deactivate the device
16242                         instead of just cancelling its activation
16243
16244 2005-08-22  Dan Williams <dcbw@redhat.com>
16245
16246         Noticed by Bill Moss <bmoss@clemson.edu>
16247         * src/NetworkManagerDevice.c
16248                 - (nm_device_wireless_scan): fix scan timeout, we were
16249                         waiting way too long for scans to complete
16250
16251 2005-08-22  Dan Williams <dcbw@redhat.com>
16252
16253         Patch from j@bootlab.org:
16254         * src/backends/NetworkManagerDebian.c
16255                 - Make the Debian backend work for static IP again
16256
16257 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16258
16259         * gnome/applet/other-network-dialog.c:
16260         The "Create New Network" and "Connect to Other Network"
16261         dialogs share alot of code, but shouldn't share a window
16262         title.  Give them different ones.
16263
16264         * gnome/applet/wireless-applet.glade:
16265         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16266         Some more minor UI tweaks.
16267
16268 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16269
16270         * gnome/applet/other-network-dialog.c:
16271         * gnome/applet/wireless-applet.glade:
16272         Also need mnemonic widgets, and underline enabled.
16273
16274 2005-08-19  Dan Williams <dcbw@redhat.com>
16275
16276         * vpn-daemons/vpnc/nm-vpnc-service.c
16277                 - (vpnc_watch_cb): remove no-longer-relevant comment
16278                 - (write_config_option): new function, helper to write
16279                         config options to vpnc's stdin
16280                 - (nm_vpnc_config_write): use the new helper, make the
16281                         code shorter
16282
16283 2005-08-19  Christopher Aillon <caillon@redhat.com>
16284
16285         * gnome/applet/passphrase-dialog.c:
16286         * gnome/applet/wireless-applet.glade:
16287         Make the passphrase dialog response based, and treat
16288         responses other than OK (such as Esc, [X]) as a cancel.
16289
16290 2005-08-18  Christopher Aillon <caillon@redhat.com>
16291
16292         * initscript/Gentoo/NetworkManager:
16293         * initscript/RedHat/NetworkManager:
16294         * initscript/RedHat/NetworkManagerDispatcher:
16295         * initscript/SUSE/networkmanager:
16296         CVS remove these in place of .in replacements
16297
16298         * configure.in:
16299         * initscript/Gentoo/NetworkManager.in:
16300         * initscript/RedHat/NetworkManager.in:
16301         * initscript/RedHat/NetworkManagerDispatcher.in:
16302         * initscript/SUSE/networkmanager.in:
16303         These scripts now are generated so they work still when
16304         NM is built using a bindir other than /usr/bin
16305
16306 2005-08-18  Dan Williams <dcbw@redhat.com>
16307
16308         * gnome/applet/main.c
16309                 - Revert previous change for --no-session since
16310                         --sm-disable does the same thing
16311
16312 2005-08-18  Dan Williams <dcbw@redhat.com>
16313
16314         * gnome/applet/applet-dbus-info.c
16315                 - (nmi_dbus_create_error_message): new function
16316                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16317                         functions.  Also don't check for both device _and_ network before
16318                         asking for a user's key, because we may not have gotten all our
16319                         networks back from NM quite yet (due to the dbus pending calls
16320                         coming in later).  Fixes a hang in NM/nm-applet.
16321
16322         * src/NetworkManagerDbus.c
16323                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16324                         slightly more sane manner, even though we are still broken for
16325                         certain other error conditions.
16326                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16327                         to the info-daemon too
16328
16329         * src/NetworkManagerDevice.c
16330                 - Fix some debug messages to be info messages instead
16331
16332 2005-08-18  Dan Williams <dcbw@redhat.com>
16333
16334         * gnome/applet/main.c
16335                 - Add new "--no-session" parameter that disables applet
16336                         session management, ie for testing
16337
16338 2005-08-18  Christopher Aillon <caillon@redhat.com>
16339
16340         * gnome/applet/other-network-dialog.c:
16341         * gnome/applet/wireless-applet.glade: More mnemonics
16342
16343 2005-08-17  Robert Love  <rml@novell.com>
16344
16345         * initscript/SUSE/networkmanager: update
16346
16347 2005-08-17  Dan Williams  <dcbw@redhat.com>
16348
16349         * Tag NM_0_4_1_RELEASE
16350
16351 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16352
16353         * gnome/applet/applet.c: More translatable string cleanup
16354
16355
16356 2005-08-17  Dan Williams  <dcbw@redhat.com>
16357
16358         * gnome/applet/applet-dbus-info.c
16359                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16360                         from the dbus message, which tells us to unconditionally
16361                         ask the user for a new key.  Otherwise, we pull the key from
16362                         the keyring and return it.  If we fail to get the key from the
16363                         keyring, we ask the user for a new key.
16364                 - (nmi_dbus_get_network_key): new function to grab the key for
16365                         an essid from the keyring.
16366                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16367                         Also, don't return any key in the dbus message.
16368
16369         * src/NetworkManagerDbus.[ch]
16370                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16371                         indicate that we unconditionally want a new key.  This function
16372                         is now also used to get keys from the info-daemon which are
16373                         pre-stored, not just for asking the user for a new key.  The
16374                         "new_key" parameter indicates whether or not we wish to ask the
16375                         user for a new key.
16376                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16377                         info-daemon in the return message, so use NULL instead.  The
16378                         key will be filled in at connect time by calling
16379                         nm_dbus_get_user_key_for_network()
16380
16381         * src/NetworkManagerDevice.c
16382                 - (nm_device_wireless_configure): update for "new_key" param to
16383                         nm_dbus_get_user_key_for_network().  We initially set new_key
16384                         to FALSE to see if we have a stored key in the info-daemon, but
16385                         if the connection is unsuccessful at this stage we request a
16386                         new one
16387
16388 2005-08-17  Dan Williams  <dcbw@redhat.com>
16389
16390         * gnome/applet/icons/nm-no-connection.png
16391           gnome/applet/icons/nm-device-wired.png
16392                 - Use Diana's new RJ45 connector icons
16393
16394 2005-08-17  Dan Williams  <dcbw@redhat.com>
16395
16396         * src/NetworkManagerPolicy.c
16397                 - (nm_policy_device_change_check): clarify switching rules if
16398                         both new and old devices are valid; mainly, don't switch
16399                         away from user-requested wireless connection back to a wired
16400                         one
16401
16402 2005-08-17  Dan Williams  <dcbw@redhat.com>
16403
16404         * gnome/applet/Makefile.am
16405                 - Relocate the applet to /usr/bin since it is no longer
16406                         executed by anything, but directly by the user
16407
16408 2005-08-17  Dan Williams  <dcbw@redhat.com>
16409
16410         Patch from Bill Moss <bmoss@clemson.edu>
16411
16412         * gnome/applet/applet-dbus-info.[ch]
16413                 - (nmi_save_network_info): save timestamp for network if it
16414                         was a change requested by the user
16415                 - (nmi_dbus_update_network_info): get user_requested from dbus
16416                         message and pass to nmi_save_network_info()
16417
16418         * gnome/applet/applet.c
16419                 - (nmwa_update_network_timestamp): remove
16420                 - (nmwa_menu_item_activate): don't set timestamp on networks
16421                         here, only after a successful connect in nmi_save_network_info()
16422
16423         * src/NetworkManagerDbus.[ch]
16424                 - (nm_dbus_update_network_info): pass user_requested into the 
16425                         dbus message
16426
16427         * src/NetworkManagerPolicy.c
16428                 - (nm_policy_activation_finish): pass user_requested to
16429                         nm_dbus_update_network_info()
16430
16431 2005-08-16  Robert Love  <rml@novell.com>
16432
16433         * gnome/applet/applet.c: Better "Dial Up" menu item.
16434
16435 2005-08-16  Robert Love  <rml@novell.com>
16436
16437         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16438           "Connection Information" menu item.
16439
16440 2005-08-16  Dan Williams  <dcbw@redhat.com>
16441
16442         Patch from j@bootlab.org
16443         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16444
16445         * configure.in: allow specifying the path to dhcdbd
16446
16447 2005-08-16  Robert Love  <rml@novell.com>
16448
16449         Patch from j@bootlab.org
16450         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16451           src/backends/interface_parser.h: Debian dialup support.
16452
16453 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16454
16455         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16456         * gnome/applet/applet.c: Add some mnemonics for VPNC
16457
16458         * vpn-daemons/.cvsignore: fix this up a little bit
16459
16460 2005-08-16  Robert Love  <rml@novell.com>
16461
16462         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16463           support.
16464
16465 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16466
16467         * gnome/applet/applet.c: Split markup out of translatable strings
16468         and clean up logic a little bit.  (fixes #309012)
16469
16470 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16471
16472         * gnome/vpn-properties/nm-vpn-properties.c:
16473         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16474         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16475         Makeshift fix to remove newlines from translatable strings.
16476         Note that we now return an allocated string, so callers of
16477         get_confirmation_details () must now call g_free () on the
16478         result. (fixes #309033).
16479
16480 2005-08-12  Robert Love  <rml@novell.com>
16481
16482         * gnome/applet/applet-dbus.c: remove newlines from translatable
16483           strings--not needed here anyway. (fix b.g.o #309011)
16484         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16485
16486 2005-08-11  Robert Love  <rml@novell.com>
16487
16488         * gnome/applet/applet.c: mark string as translatable.
16489
16490 2005-08-11  Robert Love  <rml@novell.com>
16491
16492         * initscript/SUSE/networkmanager: update.
16493
16494 2005-08-11  Dan Williams  <dcbw@redhat.com>
16495
16496         * src/nm-dhcp-manager.c
16497                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16498                         an gateway returned from DHCP, try to use the address of the DHCP
16499                         server as the gateway instead.  Found by Ralf Ertzinger.
16500
16501 2005-08-10  Robert Love  <rml@novell.com>
16502
16503         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16504           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16505
16506 2005-08-10  Dan Williams  <dcbw@redhat.com>
16507
16508         Patch from Bill Moss <bmoss@clemson.edu>
16509         * Consolidate writes of access point information updates to the info daemon
16510                 so that we only do it when the connection to the access point was
16511                 successful.  Also consolidates updates to GConf in the Gnome applet.
16512
16513         * src/nm-netlink-monitor.c
16514                 - Silence compile warning when calling g_object_new()
16515
16516 2005-08-08  Dan Williams  <dcbw@redhat.com>
16517
16518         Patch from Steev <steev@steev.net>:
16519         * src/backends/NetworkManagerGentoo.c
16520                 - Stub new dialup backend functions
16521
16522 2005-08-08  Dan Williams  <dcbw@redhat.com>
16523
16524         Patch from Colin Slater:
16525         * src/backends/NetworkManagerGentoo.c
16526                 - (nm_system_update_dns): Fix exit status check for restarting
16527                         nscd
16528
16529 2005-08-05  Robert Love  <rml@novell.com>
16530
16531         * NetworkManager.h,
16532           gnome/applet/applet-dbus-devices.c,
16533           gnome/applet/applet-dbus-devices.h,
16534           gnome/applet/applet-dbus.c,
16535           gnome/applet/applet.c,
16536           gnome/applet/applet.h,
16537           src/NetworkManager.c,
16538           src/NetworkManagerMain.h,
16539           src/NetworkManagerSystem.h,
16540           src/backends/NetworkManagerRedHat.c,
16541           src/backends/NetworkManagerSuSE.c,
16542           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16543
16544 2005-08-05  Robert Love  <rml@novell.com>
16545
16546         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16547           machine's hostname to make adhoc creation idiot-proof.
16548
16549 2005-08-04  Robert Love  <rml@novell.com>
16550
16551         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16552           freed.
16553
16554 2005-08-04  Dan Williams  <dcbw@redhat.com>
16555
16556         * gnome/applet/applet-dbus-info.c
16557           gnome/applet/applet-dbus-info.h
16558                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16559                         to store key, key type, and auth method rather than just auth method
16560                 - (nmi_dbus_update_network_info): new function
16561                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16562
16563         * gnome/applet/passphrase-dialog.c
16564                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16565                         of saving the info ourselves
16566
16567         * gnome/libnm_glib/libnm_glib.c
16568                 - Remove the stupid version check for dbus
16569
16570         * src/NetworkManagerAP.c
16571           src/NetworkManagerAP.h
16572                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16573
16574         * src/NetworkManagerDbus.c
16575           src/NetworkManagerDbus.h
16576                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16577                         more than just the auth method
16578
16579         * src/NetworkManagerDevice.c
16580                 - Update network info at the appropriate times
16581
16582 2005-07-29  Ray Strode  <rstrode@redhat.com>
16583
16584         * src/NetworkManager.c (nm_info_handler): don't use input as format
16585         string (Spotted by Ian Jackson).
16586
16587 2005-07-27  Dan Williams  <dcbw@redhat.com>
16588
16589         * src/nm-dbus-nm.c
16590           src/nm-dbus-net.c
16591                 - Random cleanups of spacing
16592
16593         * gnome/applet/applet.h
16594           gnome/applet/other-network-dialog.c
16595           gnome/applet/passphrase-dialog.c
16596                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16597
16598         Patch from Bill Moss:
16599                 - Make Other Wireless Networks work again with encryption keys
16600
16601 2005-07-26  Dan Williams  <dcbw@redhat.com>
16602
16603         Patch from Steev <steev@steev.net>:
16604         * src/backends/NetworkManagerGentoo.c
16605           src/backends/Makefile.am
16606                 - Fix up Gentoo backend
16607
16608 2005-07-26  Robert Love  <rml@novell.com>
16609
16610         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16611
16612 2005-07-25  Robert Love  <rml@novell.com>
16613
16614         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16615           in the same group as the wireless networks, since they are all
16616           mutually exclusive.
16617
16618 2005-07-24  Ray Strode  <rstrode@redhat.com>
16619
16620         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16621         remove unneeded NULL arg from g_object_new().  Any
16622         warnings caused by not having the extra NULL are just a
16623         result of a bug in glib 2.7.0 - 2.7.2.
16624
16625 2005-07-22  Robert Love  <rml@novell.com>
16626
16627         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16628
16629 2005-07-22  Robert Love  <rml@novell.com>
16630
16631         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16632           parameters (gcc 4.0.2 warning fix).
16633
16634 2005-07-18  Robert Love  <rml@novell.com>
16635
16636         Suggested by Aaron Bockover (abockover@novell.com)
16637         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16638           s/Ascii/ASCII
16639         * gnome/applet/passphrase-dialog.c: ditto
16640         * gnome/applet/wireless-applet.glade: ditto
16641
16642 2005-07-13  Dan Williams  <dcbw@redhat.com>
16643
16644         Patch from Ray Strode <halfline@gmail.com>
16645         * vpn-daemons/vpnc/nm-vpnc-service.c
16646                 - Don't let vpnc daemonize, fixes some races with PID file reading
16647
16648 2005-07-13  Dan Williams  <dcbw@redhat.com>
16649
16650         Patch from Ray Strode <halfline@gmail.com>
16651         * Random cleanups for strict CFLAGS
16652
16653 2005-07-07  Dan Williams  <dcbw@redhat.com>
16654
16655         Patch from Derek Atkins <warlord@MIT.EDU>
16656         * src/nm-dbus-net.c:
16657                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16658
16659 2005-07-07  Dan Williams  <dcbw@redhat.com>
16660
16661         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16662         * src/backends/NetworkManagerGentoo.c
16663                 - Gentoo backend Static IP nameserver fixes
16664                 - General Gentoo backend goodness
16665
16666 2005-07-07  Dan Williams  <dcbw@redhat.com>
16667
16668         Patch from Bastien Nocera:
16669         * gnome/applet/applet.c
16670                 - Fix up error reporting when icons or glade files are missing
16671
16672 2005-07-07  Robert Love  <rml@novell.com>
16673
16674         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16675           are not any VPN connections above it.
16676
16677 2005-07-07  Robert Love  <rml@novell.com>
16678
16679         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16680
16681 2005-07-05  Robert Love  <rml@novell.com>
16682
16683         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16684           zero.
16685
16686 2005-07-05  Robert Love  <rml@novell.com>
16687
16688         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16689           on wired or unencrypted wireless.
16690
16691 2005-07-01  Robert Love  <rml@novell.com>
16692
16693         * src/NetworkManagerSystem.c: Print the error via strerror().
16694
16695 2005-06-30  Robert Love  <rml@novell.com>
16696
16697         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16698           then exit if the glade file is not found.  currently the application
16699           just hangs.
16700
16701 2005-06-30  Robert Love  <rml@novell.com>
16702
16703         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16704           explicitly up all interfaces on wake from sleep.
16705
16706 2005-06-30  Robert Love  <rml@novell.com>
16707
16708         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16709           with information about the currently active connection.
16710         * gnome/applet/applet.h: (ditto)
16711         * gnome/applet/wireless-applet.glade: (ditto), new file
16712
16713 2005-06-30  Robert Love  <rml@novell.com>
16714
16715         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16716         * src/nm-dbus-nm.c: print when we sleep and wake up.
16717         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16718         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16719           in /sbin unless D-BUS is, folks).
16720         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16721
16722 2005-06-27  Robert Love  <rml@novell.com>
16723
16724         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16725           case.
16726
16727 2005-06-27  Robert Love  <rml@novell.com>
16728
16729         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16730           items radios.
16731
16732 2005-06-26  Robert Love  <rml@novell.com>
16733
16734         * src/NetworkManagerDevice.c: be specific about which device in
16735           nm_info() message.
16736
16737 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16738
16739         * src/nm-netlink-monitor.c: correct spelling error.
16740
16741 2005-06-23  Robert Love  <rml@novell.com>
16742
16743         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16744         * gnome/applet/passphrase-dialog.c: more of that keyring!
16745
16746 2005-06-23  Robert Love  <rml@novell.com>
16747
16748         * configure.in: remove extraneous GNOMEKEYRING directives.
16749         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16750         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16751         * gnome/applet/passphrase-dialog.c: whitespace.
16752
16753 2005-06-23  Robert Love  <rml@novell.com>
16754
16755         * src/NetworkManagerDevice.c: division in assignment was flipped.
16756
16757 2005-06-23  David Zeuthen  <david@fubar.dk>
16758
16759         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16760         signal to the child to indicate that we got what we wanted when we
16761         see two new-lines right after each other.
16762         (nmwa_vpn_request_password): Pass a structure with several members
16763         instead of just the passwords
16764
16765 2005-06-23  Dan Williams <dcbw@redhat.com>
16766
16767         * src/NetworkManager.c
16768           src/NetworkManagerMain.h
16769                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16770                 - (nm_hal_init): new function, init libhal context then add devices
16771                 - (nm_hal_deinit): new function, clean up libhal context
16772                 - (nm_data_free): Move Hal cleanup here
16773                 - (main): check whether Hal is running, and if so, get a list of
16774                         network devices from it
16775
16776         * src/NetworkManagerDbus.c
16777                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16778                         and when it appears, get a list of network devices from it.  If
16779                         Hal goes away, clean up the libhal context
16780
16781 2005-06-22  Robert Love  <rml@novell.com>
16782
16783         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16784           permissions of scripts before executing.
16785
16786 2005-06-21  Robert Love  <rml@novell.com>
16787
16788         * initscript/SUSE/networkmanager: update.
16789         * src/backends/NetworkManagerSuSE.c: cleanup.
16790
16791 2005-06-21  Robert Love <rml@novell.com>
16792
16793         * gnome/applet/applet.c: use menu mnemonics.
16794         * gnome/applet/menu-items.c: (ditto)
16795
16796 2005-06-21  Robert Love  <rml@novell.com>
16797
16798         * applet/applet-dbus-devices.c: mark non-static functions static.
16799         * applet/applet-dbus-vpn.c: (ditto)
16800         * applet/applet.c: (ditto)
16801         * applet/nm-device.h: (ditto)
16802         * applet/other-network-dialog.c: (ditto)
16803         * applet/passphrase-dialog.c: (ditto)
16804         * NetworkManager.c: (ditto)
16805         * NetworkManagerDbus.c: (ditto)
16806         * NetworkManagerDevice.c: (ditto)
16807         * NetworkManagerPolicy.c: (ditto)
16808         * NetworkManagerUtils.c: (ditto)
16809         * NetworkManagerWireless.c: (ditto)
16810         * NetworkManagerWireless.h: (ditto)
16811         * nm-netlink-monitor.c: (ditto)
16812         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16813         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16814         * autoip.c: include autoip.h.
16815         * autoip.h: new file.  define get_autoip().
16816         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16817         * NetworkManagerDbus.h: remove duplicate definitions.
16818
16819 2005-06-20  Robert Love  <rml@novell.com>
16820
16821         * Makefile.am: Add missing intltool-foo.in generated files to
16822           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16823           with the start of stuff to cleanup on 'distclea'.
16824         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16825           stuff right and 'distcheck' works.
16826         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16827           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16828           Makefile.am for each.  And systray/Makefile needs to be redone.
16829
16830 2005-06-19  Dan Williams <dcbw@redhat.com>
16831
16832         * src/NetworkManagerDevice.c
16833         - (nm_device_wireless_process_scan_results): scan every 20s when
16834           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16835
16836 2005-06-19  Dan Williams <dcbw@redhat.com>
16837
16838         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16839
16840 2005-06-18  Ray Strode <rstrode@redhat.com>
16841
16842         * src/nm-netlink-monitor.c 
16843         (nm_netlink_monitor_event_handler): check for the presence
16844         of either error condition not both. 
16845         
16846         (nm_netlink_monitor_error_handler): emit error signal if
16847         error occurs.
16848
16849         (nm_netlink_monitor_event_handler),
16850         (nm_netlink_monitor_error_handler),
16851         (nm_netlink_monitor_disconnect_handler): if an 
16852         assertion fails disconnect the event handler to prevent 
16853         infinite loops.
16854
16855         * src/nm-netlink-monitor.h: add new error condition
16856         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16857
16858 2005-06-18  Ray Strode <rstrode@redhat.com>
16859
16860         * src/nm-netlink-monitor.c 
16861         (nm_netlink_monitor_event_handler): remove bogus < 0
16862         check on unsigned value and return early if the kernel
16863         didn't send any bytes.
16864
16865 2005-06-17  Robert Love  <rml@novell.com>
16866
16867         * initscript/SUSE/networkmanager: Change the Provides and default
16868         run levels
16869
16870 2005-06-16  Dan Williams <dcbw@redhat.com>
16871
16872         Patch from Robert Love:
16873         * gnome/applet/applet.c
16874                 - Beautify some applet menu item names
16875
16876 2005-06-17  David Zeuthen  <davidz@redhat.com>
16877
16878         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16879         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16880         Also add new methods can_export, import_file and export.
16881
16882         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16883         to the main UI
16884
16885         * gnome/vpn-properties/nm-vpn-properties.c:
16886         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16887         nm-vpn-ui-interface.h.
16888         (update_edit_del_sensitivity): Also update "Export" sensitivity
16889         (add_vpn_connection): Also add new SVC_NAME column
16890         (import_settings): New function
16891         (retrieve_data_from_selected_connection): New function
16892         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16893         this function
16894         (export_cb): New function
16895         (init_app): Also setup the "export" widget
16896         (main): Support the --import-service and --import-file commandline
16897         arguments
16898
16899         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16900         D-BUS 0.34
16901
16902 2005-06-16  Dan Williams <dcbw@redhat.com>
16903
16904         Patch from Robert Love:
16905         * gnome/applet/menu-items.c
16906                 - (network_menu_item_new): pass -1 as wireless network
16907                         menu items height size request rather than ascent / 2
16908
16909 2005-06-16  Dan Williams <dcbw@redhat.com>
16910
16911         * Clean up wording in Wireless Scan Methods menu items and constants
16912
16913 2005-06-16  Robert Love  <rml@novell.com>
16914
16915         * po/POTFILES.in
16916                 - remove gtkcell* files
16917
16918 2005-06-15  Dan Williams <dcbw@redhat.com>
16919
16920         Patch from Robert Love: make the applet stetic
16921
16922         * gnome/applet/Makefile.am
16923                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16924
16925         * gnome/applet/gtkcellview.h
16926           gnome/applet/gtkcellview.c
16927           gnome/applet/gtkcellrendererprogress.h
16928           gnome/applet/gtkcellrendererprogress.c
16929                 - Removed
16930
16931         * gnome/applet/menu-items.c
16932                 - Progress bars are 5:1 size ratio
16933                 - Use GTK progress bars rather than internal ones
16934
16935 2005-06-15  Dan Williams <dcbw@redhat.com>
16936
16937         Patch from Robert Love:
16938         * initscript/SUSE/networkmanager
16939                 - Fix typo
16940
16941 2005-06-15  Dan Williams <dcbw@redhat.com>
16942
16943         * src/backends/NetworkManagerSuSE.c
16944           src/backends/NetworkManagerRedHat.c
16945           src/backends/NetworkManagerDebian.c
16946                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16947
16948 2005-06-15  Dan Williams <dcbw@redhat.com>
16949
16950         * src/backends/NetworkManagerDebian.c
16951                 - Add nm_system_device_get_use_dhcp() to debian backend
16952
16953         Patch from Kay Sievers:
16954         * src/backends/NetworkManagerSuSE.c
16955                 - Update debian backend for static IP nameservers
16956
16957         * src/NetworkManagerDevice.c
16958                 - Actually set the device to use static IP or DHCP rather
16959                         than always DHCP
16960
16961 2005-06-15  Dan Williams <dcbw@redhat.com>
16962
16963         Patch from Thom May:
16964         * src/backends/NetworkManagerDebian.c
16965                 - Update debian backend for static IP nameservers
16966
16967 2005-06-15  Dan Williams <dcbw@redhat.com>
16968
16969         Patches from Robert Love:
16970         * gnome/applet/wireless-applet.glade
16971                 - Tighten up wording
16972
16973         * src/NetworkManagerDevice.c
16974                 - Remove misplaced ';'
16975
16976         * configure.in
16977           initscript/Makefile.am
16978           initscript/SUSE/Makefile.am
16979           initscript/SUSE/networkmanager
16980                 - Add SUSE initscript
16981
16982 2005-06-12  David Zeuthen  <davidz@redhat.com>
16983
16984         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16985
16986         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16987
16988         * gnome/vpn-properties/nm-vpn-properties.c: New file
16989
16990         * gnome/vpn-properties/Makefile.am: New file
16991
16992         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16993         array of passwords
16994
16995         * src/vpn-manager/nm-vpn-manager.c
16996         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16997         instead of just a single one
16998
16999         * src/vpn-manager/nm-dbus-vpn.c:
17000         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17001         here
17002         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17003
17004         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
17005         Change the interface here to give a list of passwords. Also, don't
17006         require username, but do require service
17007
17008         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17009         the binary for the auth-dialog and use that instead of putting up a
17010         dialog asking for a single password
17011
17012         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17013         however do remember the service
17014
17015         * gnome/applet/main.c (main): Setup i18n
17016
17017         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17018         connection to '%s'" to the tooltip if we are connected using VPN
17019         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17020         key to determine whether we the auth-dialog needs to
17021         reprompt. Also cope with the fact that the auth-dialog now returns
17022         an array of passwords.
17023         (nmwa_menu_configure_vpn_item_activate): New handler for
17024         "Configure VPN..." menu item
17025         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17026         (is_vpn_available): New function to determine if we got any
17027         NM-compatible VPN software installed
17028         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17029         items only if we have NM-compatible VPN software installed
17030         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17031         logic for detecting when VPN connections are removed
17032
17033         * gnome/applet/applet-dbus.h: Removed the prototypes for 
17034         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17035         since these are defined elsewhere
17036
17037         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17038         function used to keep track of whether the last attempt succeded
17039         (nmwa_dbus_filter): Update last_attempt according to whether the
17040         VPN connection could be established or not
17041
17042         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
17043         Change prototype to take an array of passwords, not just a single
17044         password
17045
17046         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17047         update service, not user
17048         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17049         dbus_active_vpn_name is not NULL before using it
17050         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17051         string array instead of assuming a single password
17052
17053         * gnome/applet/applet-dbus-info.c:
17054         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17055         user name; don't read from gconf
17056
17057         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
17058         VPN_NAME_FILES_DIR
17059
17060         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17061
17062         * configure.in: Add checks for gmodule-2.0.
17063         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17064         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17065         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
17066         for details
17067
17068         * vpn-daemons/Makefile.am: Removed
17069
17070         * vpn-daemons/README: New file to describe extensions points for VPN
17071         software
17072
17073 2005-06-10  Dan Williams <dcbw@redhat.com>
17074
17075         * src/backends/NetworkManagerRedHat.c
17076                 - (get_current_profile_name): new function, grab current network profile name from
17077                         /etc/sysconfig/network
17078                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17079                         update an IP4 Config structure's settings from it
17080                 - (nm_system_device_get_system_config): if we're using static IP on this device,
17081                         get DNS info from current network profile
17082
17083 2005-06-09  Dan Williams <dcbw@redhat.com>
17084
17085         Patch from Robert Love:
17086         * src/NetworkManagerDevice.c
17087           src/NetworkManagerUtils.c
17088                 - 64-bit build fixes
17089
17090 2005-06-09  Dan Williams <dcbw@redhat.com>
17091
17092         Patch from Kay Sievers and Robert Love:
17093         * configure.in
17094           src/backends/Makefile.am
17095           src/backends/NetworkManagerSuSE.c
17096                 - Add SuSE support
17097
17098 2005-06-09  Dan Williams <dcbw@redhat.com>
17099
17100         * NetworkManager.h
17101                 - Add NMWirelessScanMethod enum for scan methods
17102
17103         * gnome/applet/applet-dbus-devices.c
17104                 - (nmwa_dbus_update_scanning_enabled_cb): remove
17105                 - (nmwa_dbus_update_scanning_enabled): remove
17106                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17107                         since it got removed
17108                 - (nmwa_dbus_enable_scanning): remove
17109
17110         * gnome/applet/applet-dbus-info.c
17111                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17112                         update the wireless scanning method from NMI
17113                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17114                         method value to NetworkManager
17115                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17116
17117         * gnome/applet/applet-dbus-info.h
17118                 - Add prototype for nmi_dbus_signal_update_scan_method
17119
17120         * gnome/applet/applet.c
17121                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17122                         Wireless Scanning menu based on current wireless scan method
17123                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17124                         signal for Wireless Scanning menu items, tell NetworkManager the new method
17125                         and update our menu items to make sure the right one is checked
17126                 - (nmwa_set_scanning_enabled_cb): remove
17127                 - (nmwa_context_menu_update): remove references to pause_scanning_item
17128                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17129                         Scanning menu item
17130                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17131                         from GConf
17132                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17133                         so we get notified of preference values too
17134                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17135
17136         * gnome/applet/applet.h
17137                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17138                 - Add wireless scan method member to applet data
17139                 - Remove pause_scanning_item, add Wireless Scanning submenu
17140
17141         * src/NetworkManager.c
17142                 - (nm_data_new): default to NM_SCAN_METHOD_ON
17143                 - (main): grab scanning method from NMI if we can
17144
17145         * src/NetworkManagerDbus.c
17146                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17147                         nm_dbus_update_wireless_scan_method()
17148                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17149                         from NMI
17150                 - (nm_dbus_nmi_is_running): redundant function, removed
17151                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17152                         when NMI comes back
17153
17154         * src/NetworkManagerDevice.c
17155                 - (nm_device_is_activated): return TRUE if the device is activated
17156                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17157                         and we are activated
17158
17159         * src/nm-dbus-nm.c
17160                 - (nm_dbus_nm_set_scanning_enabled): removed
17161                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17162                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17163
17164 2005-06-09  Dan Williams <dcbw@redhat.com>
17165
17166         * NetworkManager.h
17167           src/vpn-manager/nm-vpn-service.c
17168                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17169
17170 2005-05-27  Dan Williams <dcbw@redhat.com>
17171
17172         * vpn-daemons/vpnc/nm-vpnc-service.c
17173                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17174                         Should fix the bug where the VPN connection terminates the first time.
17175
17176 2005-05-20  Dan Williams <dcbw@redhat.com>
17177
17178         * NetworkManager.h
17179                 - Differentiate VPN config signals between bad VPN config options
17180                         and bad IP config
17181
17182         * gnome/applet/applet-dbus-info.h
17183                 - Add prototypes for wireless network and vpn connection update functions
17184
17185         * gnome/applet/applet-dbus.c
17186                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17187
17188         * gnome/applet/applet.c
17189                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17190                         error signals
17191                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17192                         propogation to NetworkManager
17193                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17194                         notify propogation to NetworkManager
17195
17196         * src/NetworkManagerDbus.c
17197                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17198                         are updating so a network can be removed from it if necessary
17199
17200         * src/vpn-manager/nm-vpn-manager.c
17201                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17202
17203         * vpn-daemons/vpnc/nm-vpnc-service.c
17204                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17205                 - (nm_vpnc_dbus_signal_launch_failed): remove
17206                 - (nm_vpnc_dbus_signal_connect_failed): remove
17207                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17208                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17209                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17210                         for new generalized error signal function, remove config file stuff
17211                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17212                         we can write configuration options to it
17213                 - (nm_vpnc_config_file_generate): removed
17214                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17215                 - (nm_vpnc_config_options_validate): validate the config options we receive
17216                         from NetworkManager to block potential exploits
17217                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17218                         starting vpnc
17219                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17220                         to NetworkManager
17221
17222 2005-05-16  Dan Williams  <dcbw@redhat.com>
17223
17224         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17225                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17226                         is not "connect"
17227
17228 2005-05-16  Dan Williams  <dcbw@redhat.com>
17229
17230         Patch from Tomislav Vujec <tvujec@redhat.com>
17231         * gnome/applet/applet-dbus-info.c
17232                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17233                         GConf and pass them to NetworkManager.  New key is 'routes' under
17234                         the VPN connection, and should be a string list
17235
17236         * src/NetworkManagerSystem.c
17237                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17238                         set them on the device when we set the rest of the VPN config.  Ensure
17239                         they are in the correct format since they are passed directly to the
17240                         command line.
17241
17242         * src/backends/NetworkManagerRedHat.c
17243           src/backends/NetworkManagerDebian.c
17244                 - (nm_system_device_add_route_via_device_with_iface): new function
17245
17246         * src/vpn-manager/nm-dbus-vpn.c
17247                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17248
17249         * src/vpn-manager/nm-vpn-manager.c
17250                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17251                         them into the IP4 config functions
17252
17253 2005-05-15  Dan Williams  <dcbw@redhat.com>
17254
17255         From Filip Miletic:
17256         * po/sr.po
17257           po/sr@Latn.po
17258           configure.in
17259                 - Serbian translation added
17260
17261 2005-05-15  Dan Williams  <dcbw@redhat.com>
17262
17263         * dispatcher-daemon/NetworkManagerDispatcher.c
17264                 - (main): sync arguments with NetworkManager and the applet, now use
17265                         "--no-daemon" rather than "daemon=no"
17266                 - (nmd_print_usage): Fix script path in usage message
17267
17268 2005-05-15  Dan Williams  <dcbw@redhat.com>
17269
17270         * src/NetworkManagerDevice.[ch]
17271           src/NetworkManagerPolicy.c
17272           src/NetworkManager.c
17273           src/nm-dbus-nm.c
17274                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17275                         longer send the DeviceNoLongerActive signal unconditionally, but only
17276                         when the device is actually active.
17277
17278         * dispatcher-daemon/NetworkManagerDispatcher.c
17279                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17280                         and simplify the logic
17281                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17282                         we free it later on
17283
17284         * initscript/RedHat/Makefile.am
17285           initscript/RedHat/NetworkManagerDispatcher
17286                 - Add initscript for NetworkManagerDispatcher
17287
17288
17289         Patch from Bill Moss:
17290         * dispatcher-daemon/NetworkManagerDispatcher.c
17291                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17292
17293         * src/NetworkManagerDbus.c
17294                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17295                         and DeviceNowActive gets signaled, then the device has a new IP address
17296                         anyway.  There's no need for a separate signal.
17297
17298         * src/NetworkManagerDevice.c
17299                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17300
17301         * src/NetworkManagerPolicy.c
17302                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17303                         activates successfully.  This kind of went missing when I reworked the
17304                         activation code.
17305
17306 2005-05-15  Dan Williams  <dcbw@redhat.com>
17307
17308         * configure.in
17309                 - Check for dhcdbd and error if its not found
17310
17311         * src/dhcp-manager/Makefile.am
17312           src/dhcp-manager/nm-dhcp-manager.c
17313                 - Use path to dhcdbd that configure found
17314
17315 2005-05-14  Dan Williams  <dcbw@redhat.com>
17316
17317         * gnome/applet/nm-device.c
17318                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17319                         sort wireless networks alphabetically
17320
17321         * gnome/applet/applet-dbus-devices.c
17322                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17323                         before copying them over to the GUI
17324
17325 2005-05-14  Dan Williams  <dcbw@redhat.com>
17326
17327         * src/NetworkManager.c
17328                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17329                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17330                         the device list, as does nm_get_active_device() which is called from
17331                         nm_vpn_manager_deactivate_vpn_connection().
17332
17333 2005-05-14  Dan Williams  <dcbw@redhat.com>
17334
17335         * NetworkManager.h
17336                 - Add signals for VPN Launch and Connect failures
17337
17338         * gnome/applet/applet-dbus.c
17339                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17340
17341         * gnome/applet/applet.c
17342                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17343                         function to handle all VPN failure messages
17344                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17345                         function to hanlde all VPN failure  messages
17346                 - (show_warning_dialog): work around focus-stealing prevention
17347
17348         * gnome/applet/other-network-dialog.c
17349           gnome/applet/passphrase-dialog.c
17350                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17351                         problem where it never enabled for ASCII Key and Hex Key types
17352
17353         * gnome/applet/wireless-applet.glade
17354                 - Add window title to Other Wireless Network Dialog
17355
17356         * src/vpn-manager/nm-dbus-vpn.c
17357                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17358                         function to handle all VPN failure messages
17359
17360         * src/vpn-manager/nm-vpn-manager.c
17361                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17362
17363         * vpn-daemons/vpnc/nm-vpnc-service.c
17364                 - (nm_vpnc_dbus_signal_launch_failed): new function
17365                 - (nm_vpnc_dbus_signal_connect_failed): new function
17366                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17367                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17368                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17369                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17370
17371 2005-05-11  Dan Williams  <dcbw@redhat.com>
17372
17373         * vpn-daemons/vpnc/nm-vpnc-service.c
17374                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17375                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17376                         file exists before trying to write it out.
17377
17378 2005-05-10  Dan Williams  <dcbw@redhat.com>
17379
17380     * gnome/applet/applet-dbus-device.c
17381         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17382             prevented just entering ESSID and leaving key and key type up to
17383             NetworkManager (which should have them already cached)
17384
17385 2005-05-08  Dan Williams  <dcbw@redhat.com>
17386
17387         * src/NetworkManagerPolicy.c
17388                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17389                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17390                         fix a situation where NM is told to terminate and the device stops activation,
17391                         but the main thread isn't aware of that because it would never have run
17392                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17393                         had already quit.
17394
17395         * src/NetworkManagerDevice.c
17396                 - (nm_device_probe_wired_link_state): cosmetic fixes
17397                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17398                         we've failed to activate or been canceled.
17399                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17400
17401 2005-05-08  Dan Williams  <dcbw@redhat.com>
17402
17403         * src/NetworkManagerWireless.c
17404                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17405                         value of WEXT quality structures, and add a debug message when we cannot
17406                         determine any quality % at all
17407
17408 2005-05-08  Dan Williams  <dcbw@redhat.com>
17409
17410         * src/dhcp-manager/nm-dhcp-manager.c
17411                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17412                         it goes down.
17413
17414 2005-05-06  Dan Williams  <dcbw@redhat.com>
17415
17416         * gnome/applet/applet-dbus-device.c
17417           gnome/applet/applet-dbus-info.c
17418           gnome/applet/applet-dbus.c
17419           gnome/applet/applet.c
17420           gnome/applet/applet.h
17421                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17422
17423         * gnome/applet/applet-dbus.c
17424                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17425                         so we notice when wired device's carriers come back on.  Should
17426                         fix issue with wired devices being grayed out even if the cable
17427                         is in, for devices that support carrier detection.
17428
17429         * gnome/applet/applet.c
17430                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17431                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17432                         tooltip message
17433                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17434                         Fix situation where applet wouldn't respond to menu selections
17435
17436         * src/NetworkManager.c
17437           src/NetworkManagerDevice.c
17438           src/NetworkManagerDbus.c
17439           src/NetworkManagerDbus.h
17440                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17441
17442         * src/NetworkManagerDbus.c
17443                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17444                         Remove, no longer used or relevant
17445                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17446                 - (nm_dbus_schedule_device_status_change_signal): add
17447
17448         * src/NetworkManagerDevice.c
17449                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17450                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17451                         ie don't deactivate them unless explicitly told to by the user.  Also send
17452                         CARRIER_OFF / CARRIER_ON signals when link changes
17453                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17454                         Don't print error message when device is no longer around
17455                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17456                         not just during activation
17457
17458         * src/NetworkManagerPolicy.c
17459                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17460                         auto-device-selection.
17461                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17462
17463         * src/NetworkManagerSystem.c
17464                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17465                         is no longer present (Bill Moss)
17466
17467         * src/backends/shvar.c
17468                 - (svOpenFile): Open read-only to make SELinux happy
17469
17470         * src/backends/NetworkManagerRedHat.c
17471                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17472                         the path to the ifcfg-* files
17473
17474 2005-05-05  Dan Williams  <dcbw@redhat.com>
17475
17476         * Expose activation stages to NetworkManager clients, like the applet
17477         * Add Diana's progress icons to the applet, cued off NM activation stage
17478         * Use more descriptive tooltips, cued off NM activation stage
17479
17480 2005-05-05  Ray Strode  <rstrode@redhat.com>
17481
17482         * src/nm-netlink-monitor.c:
17483                 - Use clear_event_source instead of g_nullify_pointer() again.
17484
17485 2005-05-05  Dan Williams  <dcbw@redhat.com>
17486
17487         * gnome/applet/main.c
17488                 - Fix session management so the applet is actually managed now
17489
17490         * gnome/applet/passphrase-dialog.c
17491                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17492
17493 2005-05-05  Dan Williams  <dcbw@redhat.com>
17494
17495         Patch from Bill Moss:
17496         * gnome/libnm_glib/libnm_glib.c
17497                 - Fix for dbus-0.33
17498
17499 2005-05-05  Dan Williams  <dcbw@redhat.com>
17500
17501         Suggestion from Bill Moss:
17502         * src/NetworkManagerSystem.c
17503                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17504
17505
17506         * src/NetworkManager.c
17507                 - (nm_data_free): move destruction of the various managers after
17508                         release of device list, because deactivating and freeing a device
17509                         requires at least the named manager
17510                 - (nm_poll_and_update_wireless_link_state):
17511                   (nm_device_link_activated):
17512                   (nm_device_link_deactivated):
17513                         don't grab the device list lock when actually updating device
17514                         link status or strength, since nm_device_set_link_active()
17515                         needs to call nm_get_active_device(), which also locks the device list.
17516
17517         * src/NetworkManagerDevice.c
17518                 - (nm_device_set_link_active): if a device's link switches from off->on,
17519                         and it's wired, and the active device is wireless (or there is no
17520                         active device), activate the new device whose link just came on
17521                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17522                         my only calling the link to the current ap "failed" when more than 2
17523                         consecutive link checks have failed
17524
17525 2005-05-04  Dan Williams  <dcbw@redhat.com>
17526
17527         * src/NetworkManagerDevice.c
17528                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17529                         but let link_to_specific_ap() do the locking where it needs
17530
17531         Patch from Bill Moss:
17532         * src/NetworkManagerSystem.c
17533                 - Set MTU of VPN devices to 1412
17534
17535 2005-05-04  Dan Williams  <dcbw@redhat.com>
17536
17537         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17538
17539         * Fix some holes in device activation and retaining the currently connected
17540                 access point
17541
17542 2005-05-03  Dan Williams  <dcbw@redhat.com>
17543
17544         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17545           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17546           means you need dhcdbd, which you can get here (get the latest one):
17547
17548                 http://people.redhat.com/jvdias/dhcdbd/
17549
17550           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17551           interface as dhcdbd.
17552
17553         * Rewrite device activation to facilitate the new DHCP infrastructure and
17554           future improvements.  Its now "activation request" based, ie there is a single
17555           activation request composed of the device, access point, and other info which
17556           follows the entire activation process.  There are 5 stages of the activation
17557           process which correspond to:
17558
17559                 1) Device preparation
17560                 2) Device configuration (bring it up, set ESSID/Key/etc)
17561                 3) IP Config Start (fire off DHCP if we're using it)
17562                 4) IP Config Get (grab config from DHCP or static config files)
17563                 5) IP Config Commit (set device's IP address, DNS, etc)
17564
17565           Note that there is no longer a "scanning" step, since the access point must
17566           be known _before_ activation starts.  If the access point drops out or does
17567           not exist for some reason, the entire activation process fails and must be
17568           restarted for a different access point or device.
17569
17570         Patch from Bill Moss:
17571         * gnome/applet/applet.c
17572                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17573
17574 2005-04-27  Dan Williams  <dcbw@redhat.com>
17575
17576         * gnome/applet/applet-dbus-vpn.c
17577           gnome/applet/applet.c
17578           gnome/applet/applet.h
17579                 - Fix up active VPN handling so that we reliably know when a VPN
17580                         connection has been deactivated
17581
17582         * src/vpn-manager/nm-vpn-manager.c
17583                 - Remove duplicate VPNConnectionChange signal
17584
17585 2005-04-27  Dan Williams  <dcbw@redhat.com>
17586
17587         Patch from Peter Jones:
17588         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17589
17590         Patch from Bill Moss:
17591         * src/NetworkManagerSystem.c
17592                 - Fix checking of return value from ioctl()
17593
17594 2005-04-27  Dan Williams  <dcbw@redhat.com>
17595
17596         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17597         * Warn and exit if icons cannot be found
17598
17599 2005-04-27  Dan Williams  <dcbw@redhat.com>
17600
17601         Patch from Tom Parker:
17602         * Update debian backend
17603
17604 2005-04-27  Dan Williams  <dcbw@redhat.com>
17605
17606         * Merge the applet and the info-daemon, and move the converged
17607                 applet under gnome/applet
17608         * Move libnm_glib to gnome/libnm_glib
17609         * Convert most dbus calls between the applet, info-daemon, and NM
17610                 into async calls
17611         * Fix a few things valgrind noticed
17612         * Make NM broadcast state more reliably
17613
17614 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17615
17616         * configure.in: Added ne in ALL_LINGUAS
17617
17618 2005-04-15  Dan Williams  <dcbw@redhat.com>
17619
17620         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17621                 code for dbus 0.2x versions
17622
17623 2005-04-15  Dan Williams  <dcbw@redhat.com>
17624
17625         Patches from Tom Parker:
17626         - Fix memleaks
17627         - Join with worker thread rather than polling for its exit
17628
17629         Patch from Bill Moss:
17630         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17631
17632 2005-04-15  Dan Williams  <dcbw@redhat.com>
17633
17634         - Fixes to pass 'make distcheck'
17635
17636 2005-04-15  Dan Williams  <dcbw@redhat.com>
17637
17638         Initial VPN Support
17639                 - supports 'vpnc'
17640                 - reworks device IP configuration, backend files have changed and will need
17641                         to be updated for all distributions.  I will try to do what I can for
17642                         them, but I cannot test them.
17643
17644         - Move named directory to src/named-manager
17645         - Make backends directory self-contained
17646
17647 2005-04-06  Dan Williams  <dcbw@redhat.com>
17648
17649         Add debug code for socket/file descriptor leaks.  We register every socket
17650         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17651         list of sockets that we forgot to close on shutdown.  This also consolidates
17652         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17653
17654 2005-04-06  Dan Williams  <dcbw@redhat.com>
17655
17656         * dhcpcd/dhcpcd.c
17657                 - (dhcp_interface_free): fix a file descriptor leak that may have
17658                         caused network drivers to not unload due to refcounts > 0
17659
17660 2005-04-04  Dan Williams  <dcbw@redhat.com>
17661
17662         * panel-applet/NMWirelessAppletDbus.c
17663                 - (nmwa_dbus_call_nm_method): remove some commented code
17664
17665         * src/NetworkManagerAPList.[ch]
17666                 - (nm_ap_list_remove_ap_by_essid): new function
17667
17668         * src/NetworkManagerDevice.c
17669                 - (nm_device_wireless_force_use): remove access points from the ignore list
17670                         when the user forces them
17671
17672         * src/nm-dbus-device.c
17673                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17674
17675 2005-04-04  Dan Williams  <dcbw@redhat.com>
17676
17677         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17678
17679 2005-04-04  Dan Williams  <dcbw@redhat.com>
17680
17681         * src/NetworkManagerDevice.c:
17682                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17683                         of only erroring after the second consecutive scan times out.  Also
17684                         don't exit when the card requires more time than we can give it, just
17685                         log the event and continue.
17686
17687 2005-04-01  Steve Murphy  <murf@e-tools.com>
17688
17689         * configure.in: Added "rw" to ALL_LINGUAS.
17690
17691 2005-04-01  Dan Williams <dcbw@redhat.com>
17692
17693         Perform scans during device activation, if needed.  Both activation 
17694         and scans run in the same GMainContext.  Therefore, if an access point
17695         is not found by the time the device starts activation, it will not
17696         be available until after activation.  We now try to scan during
17697         activation (in nm_wa_test) every 15s so that all available access
17698         points are more likely to be found and available for the activation
17699         procedure.
17700
17701         Also change nm_wireless_link_state_handle() to only update the "best"
17702         AP if we are not forcing a device and if we are not about to change
17703         state.  This attempts to work around a race when forcing a device,
17704         where the forced AP would get cleared out too soon by the link state
17705         checking timeout in the main thread, and the activation attempt with
17706         that AP would fail.
17707
17708 2005-04-01  Dan Williams <dcbw@redhat.com>
17709
17710         * po/POTFILES.in
17711                 - Update with new translatables
17712
17713 2005-03-31  Dan Williams <dcbw@redhat.com>
17714
17715         * panel-applet/NMWirelessAppletDbus.c
17716                 - Fix device names now that hal has changed device parenting for
17717                         network devices.
17718
17719 2005-03-31  Dan Williams <dcbw@redhat.com>
17720
17721         Tighten up handling of wireless devices that don't support wireless
17722         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17723         hadn't been doing pseudo-scanning for a while either and would just
17724         spin waiting for an access point.  They are now manual devices where
17725         the user must choose the access point from the menu every time.  All
17726         "allowed" access points are listed in the applet's menu regardless
17727         of whether or not they can be seen by the card, since it can't scan
17728         anyway.
17729
17730         * src/NetworkManager.c
17731                 - (nm_wireless_link_state_handle): new function, but only update
17732                         the "best" ap for non-scanning devices when its not activating,
17733                         and when no device is being forced on the card
17734                 - (nm_link_state_monitor): split wireless link state handling out
17735                         into separate function
17736
17737         * src/NetworkManagerDevice.c
17738                 - (nm_device_copy_allowed_to_dev_list): new function
17739                 - (nm_device_new): populate non-scanning cards' AP lists with
17740                         access points from the "allowed" list
17741                 - (nm_device_new): don't start a scanning timeout for devices that
17742                         can't scan
17743                 - (nm_device_activation_schedule_finish): new parameter, should be
17744                         the AP that failed to be connected to, pass it on to the
17745                         activation finish function in NetworkManagerPolicy.c
17746                 - (nm_device_activate_wireless): don't ever try to get a new AP
17747                         for non-scanning devices, just fail.  The user must choose
17748                         a new access point manually.
17749                 - (nm_device_activate): grab the AP that failed connection and
17750                         pass it on
17751                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17752                         a link to it, user must manually choose a new one
17753                 - (nm_device_do_pseudo_scan): remove function
17754                 - (nm_device_wireless_process_scan_results): remove bits for non-
17755                         scanning cards since they never get here
17756                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17757                         and fake the scan list for test devices a bit earlier
17758
17759         * src/NetworkManagerPolicy.c
17760                 - (nm_policy_activation_finish): use the failed_ap that we get
17761                         passed rather than getting the best_ap from the card, which
17762                         may have changed since we were scheduled
17763                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17764                         update their scan list directly from the allowed list when
17765                         we get updates to the allowed list from NetworkManagerInfo
17766
17767         * src/NetworkManagerPolicy.h
17768                 - New member for failed access point in NMActivationResult
17769
17770   -------------------------------------
17771
17772         Driver Notification patch: notifies the user when their driver
17773                 sucks.  Gives them the option to ignore further insertions
17774                 of the card that has the sucky driver.
17775
17776         * NetworkManager.h
17777                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17778                         enum and replace it with NO_CARRIER_DETECT and
17779                         NO_WIRELESS_SCAN
17780
17781         * panel-applet/NMWirelessApplet.[ch]
17782                 - Merge essid.glade -> wireless-applet.glade
17783                 - Implement the "Your driver sucks" notification dialog
17784
17785         * panel-applet/NMWirelessAppletDbus.c
17786                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17787                 - Grab hardware address for each device from NM too
17788                 - Check whether the driver for each device sucks or not whenever
17789                         a new device is noticed
17790
17791         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17792                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17793
17794         * src/NetworkManager.c
17795                 - Fix a double-unref on device removal
17796
17797         * src/NetworkManagerUtils.c
17798                 - Set appropriate driver support level on a device that doesn't
17799                         support scanning or carrier detection
17800
17801         * src/nm-dbus-device.c
17802                 - New "getHWAddress" dbus method on devices
17803                 - getSupportsCarrierDetect -> getDriverSupportLevel
17804
17805 2005-03-31  Dan Williams <dcbw@redhat.com>
17806
17807         * src/NetworkManagerDevice.c
17808                 - (nm_device_wireless_scan): Fix leak of scan results in some
17809                         instances
17810
17811 2005-03-29  Dan Williams <dcbw@redhat.com>
17812
17813         * src/NetworkManager.c
17814                 - (nm_poll_and_update_wireless_link_state): make code less indented
17815
17816         Patch from Bill Moss:
17817         * src/NetworkManager.c
17818                 - (nm_device_update_link_state): Update signal strength on wireless
17819                         devices every time we update link state too.
17820
17821 2005-03-29  Dan Williams <dcbw@redhat.com>
17822
17823         * src/NetworkManagerDevice.c
17824                 - (nm_device_set_essid): Work around Orinoco cards which need
17825                         extra time after setting the ESSID
17826
17827 2005-03-29  Dan Williams <dcbw@redhat.com>
17828
17829         * src/NetworkManagerDevice.c
17830                 - Merge one more bit of Peter Jones' completion patch
17831
17832 2005-03-29  Dan Williams <dcbw@redhat.com>
17833
17834         * src/NetworkManagerDevice.c
17835                 - (nm_device_force_use): Fix possible segfault
17836
17837 2005-03-29  Dan Williams <dcbw@redhat.com>
17838
17839         * src/NetworkManagerDevice.c
17840                 - Use iw_get_ext() where we should rather than iw_set_ext()
17841
17842 2005-03-29  Dan Williams <dcbw@redhat.com>
17843
17844         * src/NetworkManagerDevice.c
17845                 - (nm_device_set_up_down): remove check for unsupported devices
17846                         that caused NM to not bring devices up when they were
17847                         added to the device list.
17848
17849 2005-03-28  Dan Williams <dcbw@redhat.com>
17850
17851         * src/NetworkManagerDevice.c
17852                 - (mdio_read): Fix two bugs that caused all devices to fail
17853                         the MII carrier detection support checks
17854
17855 2005-03-26  Dan Williams <dcbw@redhat.com>
17856
17857         * src/NetworkManagerDevice.c
17858                 - (nm_device_wireless_scan): Remove duplicated scanning code
17859
17860 2005-03-25  Dan Williams <dcbw@redhat.com>
17861
17862         * panel-applet/NMWirelessApplet.c
17863                 - (nmwa_about_cb): Add some more contributors
17864                 - (nmwa_update_state): show the applet when there's no connection
17865                 - Enable the "Stop/Resume all wireless devices" option in the
17866                         context menu
17867                 - New "no connection" icon
17868
17869         * src/NetworkManager.c
17870                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17871                         wireless is disabled or we're asleep
17872
17873         * src/NetworkManagerDHCP.c
17874                 - Remove trailing "\n" on debug messages
17875
17876         * src/NetworkManagerDbus.c
17877                 - (nm_dbus_network_status_from_data): new state "asleep"
17878
17879         * src/NetworkManagerDevice.c
17880                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17881                         latency and wait times for most operations
17882                 - (nm_device_wireless_scan): Don't scan when asleep
17883
17884         * src/NetworkManagerPolicy.c
17885                 - (nm_policy_get_best_device): return no device when asleep
17886                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17887                         for all wireless devices on update, not just active device
17888
17889         * src/NetworkManagerUtils.c
17890                 - Merge Peter Jones' "completion" patch
17891
17892         * src/nm-dbus-nm.c
17893                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17894                         we're told to disable them
17895                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17896
17897         * utils/nm-utils.h
17898                 - New variants of the warn/info/error/debug print functions that can take
17899                         variables rather than static strings
17900
17901 2005-03-24  Dan Williams <dcbw@redhat.com>
17902
17903         * src/NetworkManagerUtils.c
17904                 - (nm_get_device_driver_name): driver names are now on the parents of
17905                         "Network Interface" objects, so look for them there
17906
17907 2005-03-24  Dan Williams <dcbw@redhat.com>
17908
17909         * test/nmtest.c
17910                 - Escape some forgotten object paths before we shove them through dbus
17911
17912 2005-03-24  Dan Williams <dcbw@redhat.com>
17913
17914         * dhcpcd/dhcpcd.[ch]
17915           src/NetworkManagerDHCP.c
17916                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17917                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17918
17919         * src/NetworkManagerDbus.c
17920                 - spacing cleanups
17921
17922         * src/nm-dbus-dhcp.c
17923                 - Make the API suck less.  There is now only 1 type of each function,
17924                         ie only "getInteger" and no longer also "getIntegerv".  All types
17925                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17926                         that will never have more than 1 element.  This should simplify
17927                         things greatly.
17928
17929         * test/nm-dhcp-opt-test.c
17930                 - Make the tool not segfault
17931                 - adapt to new DHCP Options API
17932
17933 2005-03-22  Dan Williams <dcbw@redhat.com>
17934
17935         * src/NetworkManager.c
17936                 - (nm_wired_link_deactivated): actually ignore netlink events from
17937                         wireless devices.
17938
17939 2005-03-22  Dan Williams <dcbw@redhat.com>
17940
17941         * src/NetworkManager.c
17942                 - (nm_wired_link_activated): actually ignore netlink events from
17943                         wireless devices.
17944
17945 2005-03-17  Dan Williams <dcbw@redhat.com>
17946
17947         Patch from Tom Parker:
17948         * src/nm-netlink-monitor.c
17949                 - Include unistd.h
17950         * info-daemon/NetworkManagerInfoDbus.c
17951                 - (nmi_dbus_update_network_auth_method): free GConf values
17952
17953         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17954         * src/NetworkManagerDevice.c
17955                 - (nm_device_set_wireless_config): wait for successful
17956                         association longer for some cards (Atheros a/b/g)
17957
17958 2005-03-15  Ray Strode  <rstrode@redhat.com>
17959
17960         * src/NetworkManager.c:
17961         (sigterm_pipe_handler):
17962         remove bogus FIXME
17963
17964 2005-03-15  Ray Strode  <rstrode@redhat.com>
17965
17966         * src/NetworkManagerDbus.c:
17967         Fix some sign weirdness that gcc4 doesn't like,
17968         and add a header file so PPC can hopefully find
17969         SIGTRAP
17970
17971 2005-03-14  Ray Strode  <rstrode@redhat.com>
17972         
17973         Fourth (probably working) cut at porting to
17974         dbus 0.30 api and new hal. This cut adds
17975         some new logging macros to make debugging
17976         easier.
17977
17978         * dispatcher-daemon/NetworkManagerDispatcher.c:
17979         * info-daemon/NetworkmanagerInfo.c:
17980         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17981         * info-daemon/NetworkManagerInfoVPN.c:
17982         * src/NetworkManager.c:
17983         * src/NetworkManagerAP.c:
17984         * src/NetworkManagerAPList.c:
17985         * src/NetworkManagerDHCP.c:
17986         * src/NetworkManagerDbus.c:
17987         * src/NetworkManagerDevice.c:
17988         * src/NetworkManagerPolicy.c:
17989         * src/NetworkManagerSystem.c:
17990         * src/NetworkManagerUtils.c:
17991         * src/NetworkManagerWireless.c:
17992         * src/autoip.c:
17993         * src/nm-dbus-nm.c:
17994         * src/backends/NetworkManagerDebian.c:
17995         * src/backends/NetworkManagerGentoo.c:
17996         * src/backends/NetworkManagerRedHat.c:
17997         * src/backends/NetworkManagerSlackware.c:
17998         use new logging macros.
17999
18000         * dispatcher-daemon/NetworkManagerDispatcher.c:
18001         (nmd_dbus_filter): s/dbus_free/g_free/
18002
18003         * info-daemon/Makefile.am: link in utils library.
18004         * info-daemon/NetworkmanagerInfo.c: use new logging 
18005         macros.
18006         (nmi_dbus_get_network): don't assume enumerations
18007         are 32-bit.
18008         (nmi_dbus_nmi_message_handler): don't free what 
18009         doesn't belong to us.
18010
18011         * libnm_glib/libnm_glib.c:
18012         (libnm_glib_get_nm_status): 
18013         (libnm_glib_init): don't free what doesn't
18014         belong to us.
18015         (libnm_glib_dbus): strdup result, so it doesn't get
18016         lost when message is unref'd.
18017
18018         * panel-applet/NMWirelessAppletDbus.c:
18019         (nmwa_dbus_update_devices): s/dbus_free/g_free/
18020
18021         * src/NetworkManager.c:
18022         (nm_monitor_wired_link_state): request initial status 
18023         dump of all cards when we start up, instead of relying
18024         on /sys/.../carrier.
18025         (nm_info_handler), (nm_set_up_log_handlers): 
18026         log handlers to specify what syslog priorites 
18027         the logging macros default to.
18028
18029         * src/NetworkManagerAPList.c: 
18030         (nm_ap_list_populate_from_nmi):
18031         s/dbus_free_string_array/g_strfreev/
18032
18033         * src/NetworkManagerDbus.c:
18034         (nm_dbus_get_network_object):
18035         validate d-bus message argument types.
18036         Advance message iterator after reading argument,
18037         prepend instead of append to GSList.
18038
18039         * src/NetworkManagerDevice.c:
18040         (nm_device_probe_wired_link_status):
18041         remove redundant /sys in /sys path. remove wrong
18042         contents == NULL means has carrier assumption.
18043
18044         * src/nm-netlink-monitor.c 
18045         (nm_netlink_monitor_request_status): implement
18046         function to ask kernel to dump interface link
18047         status over netlink socket.
18048
18049         * test/*.c: s/dbus_free/g_free/
18050
18051         * utils/nm-utils.h:
18052         (nm_print_backtrace): new macro to print backtrace.
18053         (nm_get_timestamp): new macro to get sub-second precise
18054         unix timestamp.
18055         (nm_info), (nm_debug), (nm_warning), (nm_error):
18056         new logging functions. nm_info just prints,
18057         nm_debug includes timestamp and function,
18058         nm_warning includes function, nm_error includes
18059         backtrace and sigtrap.
18060
18061 2005-03-11  Ray Strode  <rstrode@redhat.com>
18062
18063         Third (unfinished, partially working) cut at porting to 
18064         dbus 0.30 api and new hal.
18065
18066         * info-daemon/NetworkManagerInfoDbus.c:
18067                 don't free null arrays.
18068
18069         * panel-applet/NMWirelessAppletDbus.c: 
18070         * src/nm-dbus-device.c:
18071         * src/nm-dbus-net.c: 
18072         * src/NetworkManagerDbus.c: more 
18073         STRING -> OBJECT_PATH fun
18074         * src/NetworkManagerDevice.c:
18075         * src/NetworkManagerDevice.h:
18076         (rename nm_device_get_link_active): rename to 
18077         nm_device_has_active_link
18078         (nm_device_wireless_link_active): rename to
18079         nm_device_probe_wireless_link_state
18080         (nm_device_wired_link_active): rename to
18081         nm_device_probe_wired_link_state.  Rewrite to
18082         use carrier file since hal doesn't maintain
18083         link state anymore.
18084         (nm_device_update_link_active): rename to
18085         nm_device_update_link_state
18086         * src/NetworkManagerPolicy.c 
18087           (nm_policy_activation_finish): check for NULL
18088           MAC address.
18089
18090         * src/Makefile.am:
18091         * src/NetworkManagerMain.h: 
18092         * src/NetworkManager.c:
18093         * src/nm-netlink-monitor.c:
18094         * src/nm-netlink-monitor.h: New class to support
18095         monitoring wired ethernet link status, since HAL
18096         doesn't export that information anymore.
18097
18098 2005-03-09  Ray Strode  <rstrode@redhat.com>
18099
18100         Second (unfinished, unworking) cut at porting to 
18101         dbus 0.30 api.
18102
18103         * dispatcher-daemon/NetworkManagerDispatcher.c:
18104         * info-daemon/NetworkManagerInfoDbus.c:
18105         * panel-applet/NMWirelessAppletDbus.c:
18106         * src/NetworkManagerDbusUtils.c:
18107         * src/NetworkManagerDbusUtils.h:
18108         * src/nm-dbus-device.c:
18109         * src/nm-dbus-nm.c:
18110         * test/nmtest.c: support dbus "object path" type
18111
18112         * configure.in: 
18113         * Makefile.am:
18114         * info-daemon/Makefile.am:
18115         * libnm_glib/Makefile.am:
18116         * panel-applet/Makefile.am:
18117         * dispatcher-daemon/Makefile.am
18118         * src/Makefile.am:
18119         * test/Makefile.am:
18120         * utils/Makefile.am: 
18121         * utils/nm-utils.c: 
18122         * utils/nm-utils.h: new utils static lib
18123
18124 2005-03-07  Ray Strode  <rstrode@redhat.com>
18125
18126         * info-daemon/NetworkManagerInfoDbus.c:
18127         * libnm_glib/libnm_glib.c:
18128         * panel-applet/NMWirelessAppletDbus.c:
18129         * src/NetworkManager.c:
18130         * src/NetworkManagerDbus.c:
18131         * src/NetworkManagerDevice.c:
18132         * src/NetworkManagerUtils.c:
18133         * src/nm-dbus-device.c:
18134         * src/nm-dbus-dhcp.c:
18135         * src/nm-dbus-net.c:
18136         * src/nm-dbus-nm.c:
18137         * test/nminfotest.c:
18138         First (unfinished, unworking) cut at porting to dbus 0.30 api.
18139
18140 2005-03-04  Dan Williams  <dcbw@redhat.com>
18141
18142         * configure.in
18143                 - Mark HEAD as 0.4
18144
18145 2005-03-04  Dan Williams  <dcbw@redhat.com>
18146
18147         Patch from Peter Jones:
18148         - Make stuff work with gcc 4.0
18149
18150 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18151
18152         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18153
18154 2005-02-27  Jim Huang  <jserv@kaffe.org>
18155
18156         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18157
18158 2005-02-27  Dan Williams  <dcbw@redhat.com>
18159
18160         Patch from Bill Moss:
18161         * panel-applet/NMWirelessAppletDbus.c
18162                 - Make sure strength for current access point is up-to-date when we
18163                         update the gui data model
18164
18165 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18166
18167         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18168
18169 2005-02-27  Dan Williams  <dcbw@redhat.com>
18170
18171         * src/backends/NetworkManagerRedHat.c
18172                 - (nm_system_init): Kill any dhclient processes lying around as well
18173                         as stopping 'nifd' if its already been started.  NetworkManager
18174                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18175
18176 2005-02-27  Dan Williams  <dcbw@redhat.com>
18177
18178         * panel-applet/NMWirelessApplet.c
18179                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18180                         dbus data model, not the GUI data model twice.
18181
18182 2005-02-27  Dan Williams  <dcbw@redhat.com>
18183
18184         * panel-applet/NMWirelessApplet.[ch]
18185           panel-applet/NMWirelessAppletDbus.[ch]
18186                 - Move to incremental network updates.  Instead of blowing away our list
18187                         of devices every time we get a signal from NetworkManager, we now
18188                         incrementally add/remove networks when NetworkManager notifies us that
18189                         a new network has appeared or disappered.  Strength updates now happen
18190                         on-the-fly for each access point as well.  There are now two copies of
18191                         data from NetworkManager: one for the dbus side, and one for the gui side.
18192                         When the dbus side data is modified, it is copied over to the gui side
18193                         so we don't have to hold the data_mutex for long periods of time (and
18194                         therefore block animation of the applet's icon).
18195                 - Clean up some memleaks too
18196
18197         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18198                 - Minor code beautification
18199
18200         * src/NetworkManagerAPList.c
18201                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18202                         completely new and whether or not an existing one's strength was updated.
18203                         Try to fix multiple access points and signal strength by using the highest
18204                         signal strength in each scan for any given ESSID.
18205
18206         * src/NetworkManagerDbus.[ch]
18207                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18208                         wireless networks; now we have only WirelessNetworkUpdate which includes
18209                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18210                 - Kill usage of DbusMessageIter
18211
18212         * src/NetworkManagerDevice.c
18213                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18214                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18215                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18216                         currently associated with from the network list.
18217                 - Update for new signals during scan, send out Appeared, Disappeared, or
18218                         StrengthChanged when necessary.
18219
18220 2005-02-25  Dan Williams  <dcbw@redhat.com>
18221
18222         * README
18223                 - Line break the README
18224
18225 2005-02-25  Dan Williams  <dcbw@redhat.com>
18226
18227         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18228                 - Remove usage of gtk_window_set_default_size()
18229
18230         * panel-applet/essid.glade
18231                 - Stick default size here
18232                 - Add in random crap that current glade wants to add in now
18233
18234 2005-02-25  Dan Williams  <dcbw@redhat.com>
18235
18236         * src/backends/NetworkManagerRedHat.c
18237                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18238                         and that we actually tell nscd to reload the hosts cache when it changes
18239
18240 2005-02-25  Dan Williams  <dcbw@redhat.com>
18241
18242         * info-daemon/NetworkManagerInfoDbus.c
18243                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18244
18245         * test/nminfotest.c
18246                 - Whack usage of DbusMessageIter
18247                 - Clean up DbusError and DbusMessage handling and freeing
18248                 - Remove unused unregister handler
18249
18250         * test/nmtest.c
18251                 - Whack usage of DbusMessageIter
18252
18253         * test/nmtestdevices.c
18254                 - Whack usage of DbusMessageIter
18255
18256 2005-02-25  Dan Williams  <dcbw@redhat.com>
18257
18258         * NetworkManager.h
18259                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18260                         signal
18261
18262 2005-02-25  Dan Williams  <dcbw@redhat.com>
18263
18264         * named/nm-named-manager.c
18265                 - Ensure that pid and watch variables for child named process get cleared out
18266                         when the child goes away.
18267
18268 2005-02-22  Dan Williams  <dcbw@redhat.com>
18269
18270         * src/NetworkManagerPolicy.c
18271                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18272                         and NULL out data->active_device so that we have to choose another one.
18273                         This may make NetworkManager keep attempting to connect to a wired network
18274                         if it fails, but if it keeps failing the wired network has more problems than
18275                         just NetworkManager.
18276
18277         * src/backends/NetworkManagerRedHat.c
18278                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18279                         is already running
18280
18281         * named/nm-named-manager.c
18282                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18283                         named so that the distro can flush whatever name service caching
18284                         daemon it uses
18285
18286 2005-02-21  Dan Williams  <dcbw@redhat.com>
18287
18288         * src/NetworkManagerDHCP.[ch]
18289                 - (nm_device_dhcp_remove_timeouts): new function
18290
18291         * src/NetworkManagerDevice.c
18292                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18293                         remove the DHCP timeouts.
18294
18295 2005-02-21  Dan Williams  <dcbw@redhat.com>
18296
18297         * panel-applet/NMWirelessApplet.[ch]
18298           panel-applet/menu-info.[ch]
18299                 - Give the panel applet some major love: menu items are no longer
18300                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18301                         This allows the applet to actually reflect theme changes correctly,
18302                         since themeing of subclassed items in GTK _sucks_.
18303
18304 2005-02-18  Dan Williams  <dcbw@redhat.com>
18305
18306         * libnm_glib/libnm_glib.[ch]
18307           test/libnm_glib_test.c
18308                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18309                         and its data, and doesn't have to free the callback data anymore
18310
18311 2005-02-18  Dan Williams  <dcbw@redhat.com>
18312
18313         * panel-applet/NMWirelessApplet.c
18314                 - Revert 2005-02-18 William Jon McCann fix for standard
18315                         copyright string until it passes 'make distcheck'.
18316                         With standard copyright string, xgettext complains
18317                         about "Non-ASCII string at ...".
18318
18319 2005-02-18  Dan Williams  <dcbw@redhat.com>
18320
18321         * panel-applet/essid.glade
18322           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18323                 - Correct spelling of "adaptor"->"adapter"
18324
18325 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18326
18327         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18328         (nmwa_about_cb): Use standard copyright string.  Update comment
18329         text to reflect that it is a notification area applet.  Remove
18330         leading newline in authors list.
18331         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18332         instead of on parent menu item activation.  Fixes #167550.
18333
18334 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18335
18336         * panel-applet/essid.glade: Capitalize items as per HIG.
18337           Fixes #167632
18338
18339 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18340
18341         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18342         files for GTK 2.4 or lower, since now public in GTK 2.6.
18343
18344         * panel-applet/essid.glade: Don't specify window size.
18345         
18346 2005-02-17  Dan Williams  <dcbw@redhat.com>
18347
18348         Caught by Bill Moss:
18349         * dhcpcd/client.c
18350                 - Time remaining for DHCP transaction calculation was incorrectly
18351                         inside a #ifdef DEBUG
18352
18353 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18354
18355         * configure.in: Added fr (French) to ALL_LINGUAS.
18356
18357 2005-02-14  Dan Williams  <dcbw@redhat.com>
18358
18359         * src/NetworkManagerDHCP.c
18360                 - (set_domain_searches): Fix free of invalid pointer
18361
18362 2005-02-14  Dan Williams  <dcbw@redhat.com>
18363
18364         Patch from Peter Jones:
18365         * dhcpcd/client.c
18366                 - Ensure we return RET_DHCP_CEASED everywhere we should
18367         * dhcpcd/udpipgen.c
18368                 - Use faster TOS for IP packets
18369                 - Don't set ip_id since we're UDP
18370
18371         Patch from Tomislav Vujec:
18372         * src/nm-dbus-dhcp.c
18373           test/nm-dhcp-opt-test.c
18374                 - Clean up warnings to enable cvs tree compilation.
18375
18376 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18377
18378         * configure.in
18379           po/hr.po
18380                 - Add the Croatian locale.
18381
18382 2005-02-14  Colin Walters  <walters@verbum.org>
18383
18384         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18385         list of domains to search.
18386         
18387         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18388
18389 2005-02-13  Dan Williams  <dcbw@redhat.com>
18390
18391         * dhcpcd/client.c
18392                 - Debug output cleanups of DHCP option printing and parsing.
18393
18394 2005-02-13  Dan Williams  <dcbw@redhat.com>
18395
18396         Patch from Dan Reed:  DHCP options D-BUS API
18397                 Exposes the DHCP options that a device receives to clients over D-BUS.
18398
18399         * configure.in
18400                 - A few cleanups
18401
18402         * dhcpcd/client.h
18403                 - Correct names, option length, and types for DHCP options
18404
18405         * dhcpcd/dhcpcd.[ch]
18406                 - Clarify function names that access DHCP options & data
18407
18408         * src/NetworkManagerDHCP.c
18409                 - Use new DHCP data access functions
18410
18411         * src/NetworkManagerDbus.c
18412                 - Message handler for DHCP functions
18413
18414         * src/nm-dbus-dhcp.[ch] (new)
18415                 - DHCP dbus methods
18416
18417         * test/nm-dhcp-opt-test.c
18418                 - Test DHCP D-BUS API and return all present DHCP options
18419
18420 2005-02-12  Dan Williams  <dcbw@redhat.com>
18421
18422         * test/Makefile.am
18423           test/nmclienttest.c
18424           test/nmtest.c
18425                 - Move nmclienttest.c -> nmtest.c
18426
18427 2005-02-12  Dan Williams  <dcbw@redhat.com>
18428
18429         * dhcpcd/buildmsg.c
18430                 - Pad DHCP packets until they are at least 300 bytes in size.
18431
18432 2005-02-11  Dan Williams  <dcbw@redhat.com>
18433
18434         * dhcpcd/client.c
18435                 - (dhcp_init): only print out client ID and class ID if they are specified
18436
18437         * src/NetworkManagerDbus.[ch]
18438           src/nm-dbus-nm.[ch]
18439           src/nm-dbus-device.[ch]
18440           src/nm-dbus-net.[ch]
18441                 - Move NM, Device, and Net functions to separate files and use the
18442                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18443                         method dispatching
18444
18445         * src/NetworkManagerDbusUtils.c
18446                 - Add new validate_method called before each dispatch (if present)
18447                         that can validate the method call
18448
18449         * src/NetworkManagerWireless.c
18450                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18451                         levels never to be evaluated
18452
18453         Patch from j@bootlab.org
18454         * src/NetworkManagerDevice.c
18455                 - Add typedef for "u64"
18456
18457         * src/backends/NetworkManagerDebian.c
18458                 - Copy in Dave Woodhouse's fixes for IPv6
18459
18460 2005-02-11  Dan Williams  <dcbw@redhat.com>
18461
18462         Patch from Dave Woodhouse for IPv6:
18463         * src/NetworkManagerUtils.c
18464                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18465                         and multicast addresses
18466
18467         * src/NetworkManagerDevice.c
18468                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18469                         after bringing up a card.
18470
18471 2005-02-10  Dan Williams  <dcbw@redhat.com>
18472
18473         Patch from Dave Woodhouse:
18474         * src/NetworkManagerSystem.h
18475           src/backends/NetworkManagerDebian.c
18476           src/backends/NetworkManagerGentoo.c
18477           src/backends/NetworkManagerSlackware.c
18478                 - New nm_system_device_add_ip6_link_address() function to add link-local
18479                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18480
18481         * src/backends/NetworkManagerRedHat.c
18482                 - (nm_system_device_add_ip6_link_address): implement
18483                 - (nm_system_device_flush_addresses): revert to previous behavior of
18484                         flushing all addresses
18485
18486 2005-02-10  Dan Williams  <dcbw@redhat.com>
18487
18488         Patch from Tom Parker:
18489         * src/NetworkManagerDevice.c
18490                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18491                         mii.h headers are broken, and instead use our own typedefs
18492
18493 2005-02-10  Dan Williams  <dcbw@redhat.com>
18494
18495         * dhcpcd/buildmsg.c
18496                 - (fill_host_and_class_id): only fill in client and class IDs if
18497                         they are set by callers.
18498
18499         * dhcpcd/client.c
18500                 - (class_id_setup): don't autogenerate a class ID, only use one
18501                         we're given, if any.
18502                 - (client_id_setup): don't autogenerate a client ID, only use one
18503                         we're given, if any.
18504
18505         * dhcpcd/dhcpcd.c
18506                 - (dhcp_interface_init): ensure that client options are correctly
18507                         NULL terminated
18508
18509         * src/NetworkManagerDHCP.c
18510                 - (nm_device_dhcp_request): pass hostname to dhcp library
18511
18512 2005-02-10  Dan Williams  <dcbw@redhat.com>
18513
18514         * dhcpcd/client.c
18515                 - #rh147661# Don't send kernel version in DHCP requests
18516
18517         * src/NetworkManagerSystem.h
18518           src/backends/NetworkManagerDebian.c
18519           src/backends/NetworkManagerGentoo.c
18520           src/backends/NetworkManagerRedHat.c
18521           src/backends/NetworkManagerSlackware.c
18522                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18523                         functions, they are no longer used anyway
18524
18525         * src/backends/NetworkManagerRedHat.c
18526                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18527                         addresses in an attempt to keep IPv6 local-scope addresses around
18528
18529 2005-02-10  Dan Williams  <dcbw@redhat.com>
18530
18531         * src/NetworkManager.c
18532                 - (nm_create_device_and_add_to_list): change the add message slightly
18533
18534         * src/NetworkManagerUtils.c
18535                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18536                         Return driver name to calling function
18537                 - (nm_get_driver_support_level): print out the driver a device is using
18538                         during the support check
18539
18540         Patch from Dave Woodhouse:
18541         * dhcpcd/udpipgen.c
18542                 - (in_cksum): copy last byte of odd-sized packets into a
18543                         'u_short' rather than a 'u_char', should fix wrong checksums
18544                         on big-endian platforms
18545
18546 2005-02-09  Dan Williams  <dcbw@redhat.com>
18547
18548         * Clean up usage of GSList objects and looping through their members
18549         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18550                 now.
18551         * Fix problem where even if scanning was turned off, card would still
18552                 cycle through frequencies.
18553
18554 2005-02-08  Dan Williams  <dcbw@redhat.com>
18555
18556         * panel-applet/NMWirelessApplet.c
18557                 - Fix for gtk 2.4
18558
18559 2005-02-08  Dan Williams  <dcbw@redhat.com>
18560
18561         Patch from Bill Moss
18562         * panel-applet/NMWirelessApplet.c
18563                 - Restore correct ESSID in tooltips
18564
18565 2005-02-07  Dan Williams  <dcbw@redhat.com>
18566
18567         * panel-applet/NMWirelessApplet.[ch]
18568                 - Add a context menu that contains:
18569                         Pause/Resume Wireless Scanning
18570                         Stop/Start All Wireless Devices
18571                         About...
18572                 - Grab active device strength off active device,
18573                         not its network
18574
18575         * panel-applet/NMWirelessAppletDbus.[ch]
18576                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18577                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18578                 - Update active device strength every 2 seconds, not every 1 second
18579
18580         * panel-applet/menu-info.c
18581                 - Only disable wired devices in the menu when they support carrier detection,
18582                         and don't currently have a link.  Non-carrier-detect devices will always
18583                         remain choosable
18584
18585         * src/Makefile.am
18586           src/NetworkManagerDbusUtils.[ch]
18587                 - Add new new dbus utils sources
18588
18589         * src/NetworkManager.c
18590                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18591                         with the boolean parameter
18592                 - Set scanning_enabled & wireless_enabled to TRUE
18593
18594         * src/NetworkManagerDbus.c
18595                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18596                 - Implement scanning & wireless enable/disable calls
18597                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18598
18599         * src/NetworkManagerDevice.c
18600                 - New link detection stuff again...
18601                         o  Create device's mainloop earlier (but don't run it earlier)
18602                         o  Hook up new carrier-detect support stuff
18603                         o  Add in the ethtool & mii support detection code
18604                 - Don't scan if scanning is disabled
18605
18606         * src/NetworkManagerPolicy.c
18607                 - Never automatically choose a device that doesn't support carrier detection
18608                 - Don't automatically choose a wireless device if wireless is disabled
18609
18610 2005-02-07  Dan Williams  <dcbw@redhat.com>
18611
18612         * libnm_glib/libnm_glib.c
18613                 - Small cleanup in element list iteration
18614
18615 2005-02-07  Dan Williams  <dcbw@redhat.com>
18616
18617         * src/NetworkManagerWireless.c
18618                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18619                         to be in line with the WEXT quality specification
18620
18621 2005-02-02  Dan Williams  <dcbw@redhat.com>
18622
18623         Patch from Nathan Fredrickson <nathan@silverorange.com>
18624         * Fix up compile for deprecation of libgnomeui
18625                 - Switch to <glib/gi18n.h> from <libintl.h>
18626                 - Remove <libgnomeui/libgnomeui.h> includes
18627                 - Use gtk_window_set_default_icon_from_file() rather than
18628                         gnome_window_set_default_icon_from_file()
18629
18630         * named/nm-named-manager.c
18631                 - (generate_named_conf): Fix return-nothing in non-void
18632                         function
18633
18634 2005-02-02  Dan Williams  <dcbw@redhat.com>
18635
18636         * Clean up unused variables and the like
18637
18638 2005-02-02  Dan Williams  <dcbw@redhat.com>
18639
18640         * src/NetworkManagerAPList.c
18641                 - (nm_ap_list_merge_scanned_ap): merge strength too
18642
18643         * src/NetworkManagerUtils.c
18644                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18645                         of locking issues by printing out prettier information than g_mutex_lock
18646                 - Print out names of mutexes registered with nm_register_mutex_desc()
18647                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18648                         us to seemingly block here for too long
18649
18650         * src/NetworkManager.c
18651           src/NetworkManagerAPList.c
18652           src/NetworkManagerDevice.c
18653                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18654                         so we get better debug information printed
18655
18656         * src/NetworkManagerDbus.c
18657                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18658                         since it sometimes has locking side effects
18659                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18660                         from 10s
18661                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18662                         we don't need a switch.  This gets called often enough that we can't block
18663                         until the scan mutex is acquired, because we'll block on device activation
18664                         and a few other things, which hangs main thread for too long.
18665
18666         * src/NetworkManagerPolicy.c
18667                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18668                         nm_device_need_ap_switch() will be called               
18669
18670 2005-02-02  Dan Williams  <dcbw@redhat.com>
18671
18672         * panel-applet/NMWirelessApplet.c
18673                 - Display name of wireless network we are connecting to or connected to
18674                         in the tooltip of the applet
18675
18676 2005-02-02  Dan Williams  <dcbw@redhat.com>
18677
18678         * src/NetworkManagerDHCP.c
18679                 - Hopefully fix double-default-route problem by cleaning up the default
18680                         route added by DHCP code right before the DHCP transaction begins
18681
18682 2005-02-02  Dan Williams  <dcbw@redhat.com>
18683
18684         * named/nm-named-manager.c
18685                 - Write out valid resolv.conf when we exit
18686
18687 2005-02-01  Dan Williams  <dcbw@redhat.com>
18688
18689         Patch from Colin Walters:
18690         * named/nm-named-manager.c
18691                 - Make multi-domain search options work
18692
18693 2005-01-31  Dan Williams  <dcbw@redhat.com>
18694
18695         * info-daemon/NetworkManagerInfoDbus.c
18696                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18697
18698         * src/NetworkManagerDevice.c
18699                 - (nm_device_new): Don't store the entire range struct, use only what we need
18700                         (which is currently avg_quality, max_quality, and frequencies).  Also
18701                         zero device structure when we've free'd it to maybe expose errors down
18702                         the line.
18703                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18704                         quality data from the card since quality will be useless during a scan.
18705                         Call updated wireless qual-to-percent function with values stored in
18706                         nm_device_new() earlier.
18707                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18708                         nm_device_get_bad_crypt_packets())
18709                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18710                         nm_device_new()
18711                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18712                         list if available.  Problem was this: when the WEP key is wrong, NM will
18713                         try OS then SK modes, and then get stuck in SK mode after that.  This
18714                         should reset it.
18715                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18716                         function
18717
18718         * src/NetworkManagerWireless.c
18719                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18720                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18721                         if that's all present, otherwise fall back to signal-to-noise ratios.
18722
18723 2005-01-29  Dan Williams  <dcbw@redhat.com>
18724
18725         * initscript/RedHat/NetworkManager
18726                 - Don't spit out sysctl stuff to console
18727
18728         * libnm_glib/libnm_glib.c
18729                 - (libnm_glib_init): call dbus_g_thread_init()
18730
18731         * panel-applet/NMWirelessAppletDbus.c
18732                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18733
18734         * src/NetworkManager.c
18735                 - (main): call dbus_g_thread_init()
18736
18737         * src/NetworkManagerAPList.c
18738                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18739                         so we can actually see what's there in a normal syslog
18740
18741         * src/NetworkManagerDevice.c
18742                 - (nm_device_activate_wireless): print out the "waiting for access point"
18743                         message only once, then say what access point we actually got after
18744                         the wait.
18745                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18746                         function, wait until the scan is done.  Scans may change the ESSID of
18747                         the card, making this function think we need to switch access points
18748                 - (nm_device_wireless_process_scan_results): for artificial access points
18749                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18750                         prevents collisions with the scanning code, which may change the card's
18751                         ESSID and cause the access point to get dropped from the device's AP
18752                         list.  Also increase the keep-around time to 2m from 60s since the max
18753                         scan interval could be 60s in some cases.
18754
18755         * src/NetworkManagerPolicy.c
18756                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18757                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18758                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18759                         between NM and NMI.
18760
18761 2005-01-27  Dan Williams  <dcbw@redhat.com>
18762
18763         * info-daemon/NetworkManagerInfoDbus.c
18764                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18765                         GConf, make a minimal entry for it (essid & timestamp)
18766
18767         * src/NetworkManagerAPList.c
18768                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18769                         NetworkManagerInfo isn't running
18770
18771         * src/NetworkManagerDbus.[ch]
18772                 - (nm_dbus_nmi_is_running): new function
18773
18774         * src/NetworkManagerDevice.c
18775                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18776                         address to garbage.
18777
18778         * src/NetworkManagerPolicy.c
18779                 - (nm_policy_activation_finish): On successful activation, make sure
18780                         the "best" AP has a MAC address, and don't tell NMI to add the
18781                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18782                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18783                         access point after refreshing our allowed list if it doesn't already
18784                         have a "best" access point.
18785
18786 2005-01-25  Dan Williams  <dcbw@redhat.com>
18787
18788         * panel-applet/NMWirelessAppletDbus.c
18789                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18790                         so we check for NM_DBUS_SERVICE rather than not for it
18791
18792         * libnm_glib/libnm_glib.c
18793                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18794                         ServiceOwnerChanged signal
18795
18796 2005-01-25  Dan Williams  <dcbw@redhat.com>
18797
18798         * configure.in
18799                 - Check DBUS version in configure, and set the C macros
18800                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18801
18802         * info-daemon/NetworkManagerInfoDbus.c
18803                 - Remove #if 0-d section of code that quit NMI if NM went away.
18804
18805         * panel-applet/NMWirelessAppletDbus.c
18806                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18807
18808         * src/NetworkManager.c
18809           src/NetworkManagerMain.h
18810           src/NetworkManagerDbus.c
18811                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18812                 - Make updating of our Allowed Wireless Network lists from NMI
18813                         an idle function in the main thread now, with a high priority.
18814
18815 2005-01-24  Dan Williams  <dcbw@redhat.com>
18816
18817         * panel-applet/gtkcellview.[ch]
18818           panel-applet/menu-info.c
18819                 - Fix GTK version checks to be <= rather than <
18820
18821         * test/Makefile.am
18822                 - Include the libtool archive of libnm_glib rather than
18823                         trying to pull in the .so
18824
18825 2005-01-24  Dan Williams  <dcbw@redhat.com>
18826
18827         * src/NetworkManagerDevice.c
18828           src/NetworkManagerDevicePrivate.h
18829                 - Block nm_device_new() until our device's worker thread has had a
18830                         chance to start up.  Fixes a race between main thread and worker
18831                         thread starting that caused activation requests to get lost.
18832
18833 2005-01-24  Dan Williams  <dcbw@redhat.com>
18834
18835         * initscript/RedHat/NetworkManager
18836                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18837                         to add the NM startup script at priority 50, which was
18838                         way too early
18839
18840 2005-01-24  Colin Walters  <walters@redhat.com>
18841
18842         * named/named.conf: Use any port for query source instead of
18843         restricting to port 53.
18844
18845 2005-01-24  Dan Williams  <dcbw@redhat.com>
18846
18847         * initscript/RedHat/NetworkManager
18848                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18849                         to add the NM startup script at priority 50, which was
18850                         way too early
18851
18852 2005-01-24  Dan Williams  <dcbw@redhat.com>
18853
18854         Patch from Tom Parker <palfrey@tevp.net>
18855         * Fix up compile warnings & errors in the wireless applet
18856
18857 2005-01-24  Dan Williams  <dcbw@redhat.com>
18858
18859         * panel-applet/NMWirelessApplet.c
18860                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18861
18862 2005-01-24  Dan Williams  <dcbw@redhat.com>
18863
18864         * panel-applet/gtkcellview.[ch]
18865                 - Only compile these files for GTK 2.4 or lower, since 
18866                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18867                         when choosing "Other Wireless Networks" from the panel
18868                         applet menu
18869
18870 2005-01-21  Dan Williams  <dcbw@redhat.com>
18871
18872         * src/NetworkManager.c
18873                 - Daemonize earlier so that glib doesn't get confused (?)
18874
18875 2005-01-21  Dan Williams  <dcbw@redhat.com>
18876
18877         * panel-applet/NMWirelessApplet.[ch]
18878           panel-applet/NMWirelessAppletDbus.c
18879           panel-applet/menu-info.c
18880           src/NetworkManagerDevice.c
18881                 - Disable wired devices in the menu when they have no link.
18882
18883 2005-01-21  Dan Williams  <dcbw@redhat.com>
18884
18885         * Cache last-known-good wireless authentication method in
18886                 NetworkManagerInfo, and use that method first during
18887                 wireless device activation.  Should speed up devices that
18888                 need Shared Key authentication method since Open System is
18889                 now the default.
18890
18891         * Remove the hack to not do full activation on wired connections
18892                 that are active when we launch, it causes too many problems
18893                 with name resolution and was a hack in the first place.
18894
18895         * Re-work wireless device activation again somewhat to have a
18896                 clearer chain of events and to use last-known-good
18897                 authentication method of the access point.  Also provide
18898                 better status throughout activation to ensure the applet
18899                 can tell the user exactly what's going on.
18900
18901         * Remove the "find wireless network" code and now simply attempt
18902                 to activate with that access point.  This reduces the delay
18903                 between selecting "Other wireless Network" and actually
18904                 connecting to that network.
18905
18906         * Correctly stop the device's worker thread when its removed.
18907
18908 2005-01-21  Dan Williams  <dcbw@redhat.com>
18909
18910         * dhcpcd/client.c
18911                 - Clean up some of the debug messages
18912
18913 2005-01-21  Dan Williams  <dcbw@redhat.com>
18914
18915         * Add new icons, more frames of animation
18916         * Remove some hacks to get the panel applet to display correct
18917                 status, an NM update will soon follow that will fix the
18918                 real issue.
18919
18920 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18921
18922         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18923         the first include for working i18n. Also, don't include it in .h files
18924         * panel-applet/NMWirelessApplet.h: Same
18925         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18926         * panel-applet/menu-info.c: Same
18927
18928 2005-01-18  Dan Williams <dcbw@redhat.com>
18929
18930         * dhcpcd/client.c
18931                 - Remove some debug messages
18932                 - Wrap others in #ifdef DEBUG/#endif
18933
18934         * src/NetworkManager.c
18935                 - Remove some debug messages
18936                 - Clarify some debug messages
18937                 - Remove code related to old single-thread wireless scanning
18938
18939         * src/NetworkManagerAP.[ch]
18940                 - New AP property "last_seen" to track how recently an AP was
18941                         found in a scan
18942                 - Start using 'const' more in function arguments
18943
18944         * src/NetworkManagerAPList.[ch]
18945                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18946                         of an AP found in an AP list from a source AP, or if not found
18947                         in the list add the source AP
18948                 - (nm_ap_list_combine): remove, no longer needed
18949
18950         * src/NetworkManagerDevice.c
18951                 - Each device now has a "worker" thread from start to end of its life.
18952                         Scanning for wireless devices now happens in that thread,
18953                         not in a single "wireless scanning thread" for all devices as
18954                         previously.  Activation consists of adding an idle handler to the
18955                         thread's main loop/context, which gets run at the next available
18956                         opportunity.
18957                 - Wireless scanning is also simplified, there is now only one list of
18958                         access points per wireless device, and APs older than 60s are
18959                         removed from the list.  Previously, we kept results for the last
18960                         3 scans and merged whole lists, which was complicated.
18961                 - Cleaned up activation debug messages.
18962                 - Wireless activation and access-point search routines now use Open System
18963                         authentication before trying Shared Key.
18964                 - Removed some code in nm_device_update_best_ap() that could cause cards
18965                         to loose their link to the access point.
18966                 - Scanning now uses a backoff algorithm, where the inverval becomes
18967                         progressively longer between scans when the list of scanned access
18968                         points doesn't change.  A change will revert to the shortest scan
18969                         interval (20s).
18970
18971         * src/NetworkManagerWireless.[ch]
18972                 - Remove code related to old single-thread wireless scanning
18973
18974 2005-01-18  Colin Walters  <walters@redhat.com>
18975
18976         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18977         of older nameservers.
18978
18979 2005-01-18  Colin Walters  <walters@redhat.com>
18980
18981         * named/nm-named-manager.c (generate_named_conf): Many fixes
18982         to config file generation.
18983         (safer_kill): Remove, was too much trouble for little gain.
18984         (nm_named_manager_start): Run named as NM_NAMED_USER.
18985
18986         * configure.in: Add option --with-named-user.
18987
18988 2005-01-14  Colin Walters  <walters@redhat.com>
18989
18990         Patch from ed@catmur.co.uk (Ed Catmur)
18991
18992         * named/nm-named-manager.c: Add "context" property.
18993         Use it to add child watch source in specific GMainContext.
18994
18995         * src/NetworkManager.c (nm_data_new): Initialize
18996         named with correct main context.  Start named only
18997         after forking.
18998
18999 2005-01-14  Colin Walters  <walters@redhat.com>
19000
19001         * named/nm-named-manager.c (generate_named_conf): Write config
19002         and pid files into NM_NAMED_DATA_DIR; this allows things to
19003         work better with FC3 named SELinux policy.  Also fix up silly
19004         format error.
19005
19006         * configure.in: Add --with-named-dir option.
19007
19008 2005-01-14  Colin Walters  <walters@redhat.com>
19009
19010         * configure.in: Make named support require passing --with-named.
19011
19012         * named/nm-named-manager.c: Support writing resolv.conf directly
19013         without running named.
19014
19015 2005-01-13  Dan Williams <dcbw@redhat.com>
19016
19017         * named/nm-named-manager.c
19018                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19019
19020         * src/NetworkManagerDevice.c
19021                 - Rework wireless link detection code to be more reliable
19022
19023 2005-01-12  Dan Williams <dcbw@redhat.com>
19024
19025         * initscripts/RedHat/NetworkManager
19026                 - Change initial level to "-" rather than "345" so that
19027                         we don't activate ourselves by default on install
19028
19029 2005-01-12  Dan Williams <dcbw@redhat.com>
19030
19031         * libnm_glib/
19032                 - Client library for applications using glib
19033
19034         * configure.in
19035           various Makefiles
19036                 - Split NM_CFLAGS and NM_LIBS into separate variables
19037                         like DBUS_*, HAL_* and GLIB_*
19038
19039         * src/NetworkManager.c
19040           src/NetworkManagerMain.h
19041                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19042                         broadcast a status changed signal over DBUS from the main thread.
19043                         Still unused anywhere for the moment.
19044
19045         Patch from j@bootlab.org
19046         * panel_applet/NMWirelessAppletDbus.c
19047           src/NetworkManagerDbus.c
19048                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19049                         for the "getMode" method call
19050
19051 2005-01-10  Dan Williams <dcbw@redhat.com>
19052
19053         * src/NetworkManagerDevice.c
19054                 - Minor fixups & corrections to "auto" frequency mode, make it
19055                         less chatty with syslog
19056
19057 2005-01-10  Dan Williams <dcbw@redhat.com>
19058
19059         * src/NetworkManagerDevice.c
19060                 - Implement "auto" frequency/channel support, since cards like Atheros
19061                         can't use other frequencies at all when you've told it to use a
19062                         specific one, even for scanning.
19063                 - Grab the scan mutex around places where we can't tolerate wireless
19064                         settings changing underneath us, like nm_device_wireless_network_exists()
19065                         and nm_device_activate_wireless()
19066
19067         * src/NetworkManagerWireless.c
19068                 - Back scan interval off to 20s instead of 14s
19069
19070 2005-01-09  Dan Williams <dcbw@redhat.com>
19071
19072         * src/NetworkManagerDevice.c
19073                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19074                         already set.  Stops some drivers like Atmel from continually
19075                         reloading the firmware, which they do upon every configuration
19076                         change.
19077
19078 2005-01-09  Dan Williams <dcbw@redhat.com>
19079
19080         * dhcpcd/client.c
19081                 - Use correct timeout value
19082
19083         * info-daemon/NetworkManagerInfoDbus.c
19084           src/NetworkManagerDbus.c
19085                 - Consolidate communication between NM and NMI by doing only 1 dbus
19086                         method call to get Wireless Network info from NMI instead of 6
19087
19088         * src/NetworkManager.c
19089                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19090                         when we didn't have an AP to use, we'd wait for one forever without
19091                         quitting
19092
19093         * src/NetworkManagerDevice.c
19094                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19095                         activation, dhcp might not have started yet but we don't quit activation
19096                         before starting it, so the quit signal gets lost
19097
19098 2005-01-07  Dan Williams <dcbw@redhat.com>
19099
19100         * dhcpcd/client.c
19101                 - Rework the DHCP client code to be much less chatty when
19102                         it receives non-DHCP UDP packets during the DHCP run
19103                         (reported by and preliminary patches from Bill Moss)
19104
19105         * Move wireless scanning to a separate thread.  This thread forwards the
19106                 results to the main thread when done where they are integrated into
19107                 the device's access point lists.  This keeps the main thread (which
19108                 does all the DBUS communication) from being blocked for long periods
19109                 of time by wireless scanning.
19110
19111         * Make state modification an idle routine in the main loop, and trigger
19112                 state changes rather than polling for them.
19113
19114         * src/backends/NetworkManagerGentoo.c
19115                 - Fix up invalid C90 code (reported by Christoph Ruessler)
19116
19117         * src/NetworkManagerDevice.c
19118                 - Revert IPv6 patch for wired devices from 2004-12-22 for
19119                         router advertisements, causing problems and infinite loop
19120                         during "best" device determination due to link going up/down
19121                         (reported by Bill Moss)
19122
19123         Apply patch from Peter Jones
19124         * src/NetworkManagerDevice.c
19125                 - Shortcut for link-checking for ipw2x00 cards
19126                 - Split out association check into separate routine
19127
19128 2004-01-05  Colin Walters  <walters@redhat.com>
19129
19130         * named/named.conf: Add PID_FILE.
19131
19132         * named/nm-named-manager.c: Always generate a pid
19133         file, since older BIND versions don't support
19134         "pid-file none".
19135
19136 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
19137
19138         * configure.in (ALL_LINGUAS): Added ja (Japanese).
19139
19140 2004-12-22  Dan Williams <dcbw@redhat.com>
19141
19142         * src/NetworkManagerDevice.c
19143                 - Silently fail when setting bitrate doesn't work
19144
19145
19146         Patches from j@bootlab.org:
19147         * src/backends/NetworkManagerDebian
19148                 - Update backend to match functionality in RedHat backend
19149         * src/NetworkManagerDevice.c
19150                 - Take down then bring up wired devices after connection so
19151                 they send out ipv6 router advertisements
19152
19153 2004-12-21  Colin Walters  <walters@verbum.org>
19154
19155         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19156         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19157
19158 2004-12-21  Colin Walters  <walters@redhat.com>
19159
19160         * configure.in: Correct named detection.
19161
19162 2004-12-21  Colin Walters  <walters@redhat.com>
19163
19164         * src/NetworkManager.c (nm_data_new): Initialize named.
19165         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19166         the mainloop when these signals are received.
19167         (nm_data_free): Unref named.
19168         (sigterm_handler, sigterm_pipe_handler): New functions for
19169         exiting mainloop.
19170         
19171         * src/NetworkManagerMain.h (NMData): Add signal handling and
19172         nameserver bits.
19173
19174         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19175         unref.
19176
19177         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19178         set nameservers from DHCP response data.
19179         (set_domain_search): Set domain search from DHCP response.
19180         (nm_device_dhcp_configure): Invoke them.
19181
19182         * src/NetworkManagerSystem.c
19183         (nm_system_device_update_resolv_conf): Delete.  Deleting
19184         code is totally sweet.
19185
19186         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19187
19188         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19189         implements an object which controls a nameserver.  Currently
19190         uses bind 9.
19191
19192         * configure.in: Check for named.
19193
19194         * Makefile.am (SUBDIRS): Add named dir.
19195
19196         * named/named.conf: New template config file.
19197
19198 2004-12-20  Colin Walters  <walters@redhat.com>
19199
19200         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19201         instead of '='.
19202
19203 2004-12-17  Dan Williams  <dcbw@redhat.com>
19204
19205         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19206                 link-local addresses instead of doing DHCP.
19207
19208         * In the panel applet, there's a new "Create new Wireless Network..." item
19209
19210         * The panel applet also sticks around now even if NetworkManager dies, but
19211                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19212                 a bug, I'll fix that later.
19213
19214         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19215                 lookups after a switch rather than actually doing them.
19216
19217         * Clean up some of those warnings in nm_ap_list_* functions
19218
19219         * Delay between scans changed to 15s instead of 10s
19220
19221 2004-12-15  Dan Williams  <dcbw@redhat.com>
19222
19223         Patch from Tom Parker
19224         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19225                 address
19226
19227         * Longer pause after setting ESSID on cards that support a larger number
19228                 of channels to give the card time to find the right channel
19229
19230         * Add system hook to restart mDNSResponder (or whatever the local implementation
19231                 of Multicast DNS is) when we activate interfaces
19232
19233 2004-12-15  Dan Williams  <dcbw@redhat.com>
19234
19235         * Rework the DHCP code again to revert to sending full ethernet frames
19236                 rather then relying on the kernel to do the right thing with our
19237                 packets.
19238
19239 2004-12-06  Dan Williams  <dcbw@redhat.com>
19240
19241         * dhcpcd/client.c
19242                 - Fix some minor errors in dhcp_handle_transaction() that caused
19243                         unexpected early timeouts of DHCP transactions
19244
19245         * dhcpcd/client.h
19246                 - DHCP retransmit time from 4s -> 5s
19247
19248 2004-12-05  Dan Williams  <dcbw@redhat.com>
19249
19250         * Major rework of the DHCP code, taking some cues from pump.  We don't
19251                 write raw Ethernet packets anymore, which simplifies the code quite
19252                 a bit.  The new code should be more robust, not hang in recvfrom()
19253                 as much, and generally work better.  This also means that we need
19254                 to force HAL/dbus to use a created GMainContext rather than the
19255                 default context, since having the DHCP renew/rebind thread using
19256                 its own GMainContext seemed to give dbus a fit.  There is also more
19257                 debugging information printed from the DHCP loop to help with future
19258                 problems.
19259
19260         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19261                 assume that the default gateway should be the DHCP server.
19262
19263         Patch from Matthew Schick <matt oss-institute org>
19264         * src/backends/NetworkManagerGentoo.c
19265                 - Fix compilation error due to missing "ip4_broadcast"
19266
19267 2004-12-03  Dan Williams  <dcbw@redhat.com>
19268
19269         * initscript/Makefile.am
19270         * initscript/Debian/NetworkManager
19271         * initscript/Gentoo/NetworkManager
19272         * initscript/RedHat/NetworkManager
19273         * initscript/NMLaunchHelper.c
19274                 - Remove NMLaunchHelper, if you need to wait until the network
19275                         comes up, use the dead code from CVS.
19276
19277 2004-12-01  Colin Walters  <walters@redhat.com>
19278         
19279         * configure.in: Suck in gcc warnings code from Rhythmbox,
19280         but use fewer default flags, and in particular add -Wno-unused,
19281         since the codebase has a lot of unused variables.
19282
19283         * test/nmtestdevices.c (create_device): 
19284         * test/nminfotest.c (get_network_string_property) 
19285         (get_networks_of_type): 
19286         * test/nmclienttest.c (main): 
19287         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19288         * initscript/NMLaunchHelper.c (get_nm_status): 
19289         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19290         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19291         Fix declarations after statements.
19292
19293 2004-12-01  Colin Walters  <walters@redhat.com>
19294
19295         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19296         (nmi_dbus_get_vpn_userpass): New method.
19297         (nmi_dbus_nmi_message_handler): Invoke it.
19298
19299         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19300
19301         * info-daemon/NetworkManagerInfoVPN.h,
19302         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19303         to requests for VPN passwords.
19304
19305         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19306
19307 2004-12-01  Colin Walters  <walters@redhat.com>
19308
19309         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19310         includes.
19311
19312 2004-12-01  Colin Walters  <walters@redhat.com>
19313
19314         * panel-applet/NMWirelessAppletDbus.c
19315         (nmwa_dbus_update_active_device_strength): Fix missing
19316         return value.
19317
19318 2004-12-01  Colin Walters  <walters@redhat.com>
19319
19320         * panel-applet/NMWirelessApplet.c: Add missing include.
19321
19322 2004-12-01  Colin Walters  <walters@redhat.com>
19323
19324         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19325         Remove useless CLAMP (); the value is unsigned, and the case tests
19326         qual->qual < 100, so the value must always be between 0 and 100.
19327
19328 2004-12-01  Colin Walters  <walters@redhat.com>
19329
19330         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19331
19332 2004-11-22  Colin Walters  <walters@verbum.org>
19333
19334         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19335         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19336         which is essentially a noop since nscd caches hosts on disk too.
19337         
19338 2004-11-22  Colin Walters  <walters@redhat.com>
19339
19340         * src/Makefile.am (NetworkManager_SOURCES): Add
19341         NetworkManagerDevicePrivate.h.
19342
19343 2004-11-22  Dan Williams <dcbw@redhat.com>
19344
19345         * src/NetworkManagerDevicePrivate.h
19346                 - Split out the NMDevice struct to a different file so that stuff like
19347                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19348
19349         * dhcpcd/client.c
19350                 - fprintf->syslog
19351                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19352                         need to cancel the dhcp request during the send and recv
19353
19354         * dhcpcd/client.h
19355                 - Move the DHCP option enum to dhcpcd.h
19356
19357         * src/NetworkManagerDHCP.c
19358                 - Split out the actual IP/netmask/etc setting code
19359                 - New Renew/Rebind functions
19360                 - New timer setup function for renew/rebind operations
19361
19362         * src/NetworkManagerDevice.c
19363                 - For device activation, if we are using DHCP then keep the activation thread
19364                         alive until device deactivation.  We need to renew/rebind the DHCP address
19365                         after the T1 (renew) and T2 (rebind) times have expired.
19366                 - Increase some timeouts after bringing wireless cards up/down
19367
19368 2004-11-17  Dan Williams <dcbw@redhat.com>
19369
19370         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19371                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19372                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19373                 show known access points that don't broadcast their ESSID in the menus without
19374                 any user intervention whatsoever.
19375
19376         * info-daemon/NetworkManagerInfoDbus.c
19377                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19378                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19379
19380         * src/NetworkManagerAP.[ch]
19381                 - Add a "user_addresses" data member to the NMAccessPoint structure
19382                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19383                         the user_addresses data member
19384
19385         * src/NetworkManagerAPList.c
19386                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19387                         the AP's reported address
19388                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19389
19390         * src/NetworkManagerDHCP.c
19391                 - Increase DHCP timeout from 25s -> 30s
19392
19393         * src/NetworkManagerDbus.[ch]
19394                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19395                         user addresses
19396
19397         * src/NetworkManagerDevice.c
19398                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19399                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19400                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19401                         So, we take the card down to clear it out.
19402                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19403                         too, since that's where the user_addresses are
19404
19405         * src/NetworkManagerPolicy.c
19406                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19407                         that wireless networks' user_addresses list upon successful activation
19408
19409 2004-11-16  Dan Williams <dcbw@redhat.com>
19410
19411         * src/NetworkManagerDevice.[ch]
19412                 - (nm_device_clear_activation_fail): new function
19413
19414         * src/NetworkManagerPolicy.c
19415                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19416                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19417
19418 2004-11-16  Dan Williams <dcbw@redhat.com>
19419
19420         * src/NetworkManagerDevice.c
19421                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19422                         leak the structure, better updating of now_scanning status
19423                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19424
19425 2004-11-15  Dan Williams <dcbw@redhat.com>
19426
19427         Major rework of link detection code.  We now use DHCP
19428         as part of the link detection which proves to be much more robust,
19429         and also supports Open System authentication for wireless networks.
19430
19431         We no longer use external DHCP client programs.  Instead, we use 
19432         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19433         which was written by:
19434                 Yoichi Hariguchi <yoichi@fore.com>
19435                 Sergei Viznyuk <sv@phystech.com>
19436                 http://www.phystech.com/download/
19437         It resides in the "dhcpcd" directory and was refactored into a general
19438         purpose DHCP client library by me.
19439
19440         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19441         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19442
19443 2004-11-15  Dan Williams <dcbw@redhat.com>
19444
19445         Patch from Tom Parker <palfrey@tevp.net>:
19446
19447         * src/NetworkManagerDevice.c
19448                 - Less output to console when no access
19449                         points are found during a scan
19450
19451 2004-11-15  Dan Williams <dcbw@redhat.com>
19452
19453         Patch from Tom Parker <palfrey@tevp.net>:
19454
19455         * src/backends/interface_parser.c
19456                 - Use g_strdup ()
19457                 - Check for inp == NULL
19458                 - use syslog ()
19459
19460 2004-11-13  Colin Walters  <walters@redhat.com>
19461
19462         Patch from Tom Parker <palfrey@tevp.net>:
19463
19464         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19465         
19466         * src/backends/NetworkManagerRedHat.c: Switch to
19467         including shvar.h instead of shvar.c.
19468
19469         * src/backends/NetworkManagerDebian.c: Don't include
19470         interface_parser.c in source file.
19471
19472         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19473         and interface_parser.[ch].
19474         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19475         Include shvar.c and shvar.h here.
19476         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19477         interface_parser.c and interface_parser.h here.
19478
19479 2004-11-12  Colin Walters  <walters@redhat.com>
19480
19481         * configure.in: Strip out TARGET_DISTRO and
19482         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19483         conditionals.
19484
19485         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19486         (libnmbackend_la_SOURCES): Use Automake conditionals
19487         to add distro-specific files.
19488
19489         * initscript/Makefile.am (SUBDIRS): Update to
19490         use conditionals.
19491
19492 2004-11-12  Colin Walters  <walters@redhat.com>
19493
19494         Patches from j bootlab org
19495
19496         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19497         Add interface_parser.[ch].
19498
19499         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19500         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19501
19502 2004-11-12  Colin Walters  <walters@redhat.com>
19503
19504         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19505         call to nmi_dbus_is_running too, not necessary anymore.
19506         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19507         pick up exit().
19508
19509 2004-11-11  Colin Walters  <walters@verbum.org>
19510
19511         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19512         Delete.
19513         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19514         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19515         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19516         This avoids a race condition that made it pretty easily
19517         possible to get two NetworkManagerInfo daemons running.
19518
19519 2004-11-11  Colin Walters  <walters@verbum.org>
19520         
19521         * src/NetworkManager.c (main): Use daemon(3).
19522
19523         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19524
19525         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19526
19527 2004-11-10 Dan Williams <dcbw@redhat.com>
19528
19529         Patches from j bootlab org
19530         * src/NetworkManagerDevice.c
19531                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19532                         whether the card has a link or not, some cards are slow
19533                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19534
19535         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19536                 - Disable the "Login" button on the passphrase dialog until the user
19537                         enters a valid passphrase or key
19538
19539         Patches from Tom Parker <palfrey tevp net>
19540         * src/backends/NetworkManagerDebian.c
19541                 - Add static IP support to the debian backend
19542
19543         * src/backends/interface_parser.[ch]
19544                 - Parse debian interface config files
19545
19546 2004-11-08 Dan Williams <dcbw@redhat.com>
19547
19548         * src/NetworkManagerDevice.c
19549                 - Some random fprintf->syslog conversions
19550                 - (nm_device_wireless_network_exists): double-check for network
19551                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19552
19553         * src/NetworkManagerWireless.[ch]
19554                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19555                         so that the binary->ascii conversion works (if unsigned, the bitshift
19556                         will fill with zeros, which is what's required).  Also mask bitshift
19557                         result with 0xF for futher assurance.
19558
19559 2004-11-06 Dan Williams <dcbw@redhat.com>
19560
19561         * src/NetworkManagerUtils.c
19562                 - (nm_get_wireless_driver_support_level): default to
19563                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19564                         flip this when changing from whitelist->blacklist of
19565                         wireless drivers
19566
19567 2004-11-05 Dan Williams <dcbw@redhat.com>
19568
19569         Patch from Robert Paskowitz:
19570         * src/backends/NetworkManagerGentoo.c
19571                 - Update static IP config code
19572
19573 2004-11-05 Dan Williams <dcbw@redhat.com>
19574
19575         * info-daemon/NetworkManagerInfoDbus.c
19576           src/NetworkManagerDbus.[ch]
19577           src/NetworkManagerDevice.c
19578                 - Keep track of the # of attempts to get the WEP key
19579                         from the user and pass that along to the info daemon
19580
19581 2004-11-05 Dan Williams <dcbw@redhat.com>
19582
19583         * src/NetworkManagerUtils.c
19584                 - Blacklist wireless cards rather than whitelisting them.
19585                 - Grab driver name from HAL rather than trying to find it
19586                         ourselves.
19587
19588 2004-11-03 Dan Williams <dcbw@redhat.com>
19589
19590         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19591                 - Disable OK button until valid data is entered
19592                         for encryption stuff too
19593
19594         * panel-applet/NMWirelessApplet.c
19595                 - Report card strength for current AP if the card
19596                         doesn't report strength data for scanned access
19597                         points
19598
19599         * src/NetworkManagerDevice.c
19600                 - Smooth out cards reported quality, Atmel card was
19601                         intermittently reporting no quality data but soon
19602                         recovers
19603
19604         * src/NetworkManagerWireless.c
19605                 - Better quality data percentage calculation.  Atmel
19606                         cards (mine at least) seem to report the quality
19607                         in percentage format already, so honor that
19608
19609         Patch from <j@bootlab.org>
19610         * NetworkManager.h
19611           info-daemon/NetworkManagerInfoPassphraseDialog.c
19612           info-daemon/passphrase.glade
19613           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19614           panel-applet/essid.glade
19615           src/NetworkManagerAP.c
19616           src/NetworkManagerDevice.c
19617           src/NetworkManagerWireless.[ch]
19618                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19619
19620 2004-11-03 Dan Williams <dcbw@redhat.com>
19621
19622         * src/NetworkManagerDevice.[ch]
19623                 - (nm_device_set_enc_key): Add parameter to set Authentication
19624                         Mode (Open System, Shared Key, or None).  We're still using
19625                         Shared Key for now though.
19626
19627 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19628
19629         * panel-applet/menu-info.c: change from bold text to light
19630         colored, may cause problems with some themes, i've tested a lot
19631         and they seem fine. 
19632
19633         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19634
19635 2004-11-01  Colin Walters  <walters@verbum.org>
19636
19637         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19638         (nm_wireless_128bit_key_from_passphrase): Add const.
19639
19640         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19641         (nm_ap_set_enc_key_source): Add const.
19642         
19643 2004-11-01  Colin Walters  <walters@verbum.org>
19644
19645         * .cvsignore: Update.
19646
19647 2004-10-29 Dan Williams <dcbw@redhat.com>
19648
19649         * src/NetworkManagerDevice.c
19650                 - (nm_device_wireless_network_exists): Actually use the encryption
19651                         key we got from the applet when attempting to find a wireless network
19652                 - Don't bring devices down so much since on some cards it triggers
19653                         firmware hotplugs each time
19654
19655         * src/NetworkManagerDbus.c
19656                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19657                         from the caller
19658
19659 2004-10-29 Dan Williams <dcbw@redhat.com>
19660
19661         * src/NetworkManager.c
19662                 - (nm_hal_device_property_modified): unlock a locked active
19663                         wireless device when a wired connection gets a link.
19664                         (Means you'll switch to wired whenever you plug in no
19665                         matter what).
19666
19667 2004-10-29 Dan Williams <dcbw@redhat.com>
19668
19669         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19670                 - New files, implement the "Other wireless network" dialog
19671
19672         * panel-applet/NMWirelessApplet.c
19673                 - Move "other wireless network" dialog to separate file
19674
19675         * panel-applet/NMWirelessAppletDbus.[ch]
19676                 - Take key and key_type paramaters for the set_device function
19677
19678         * panel-applet/essid.glade
19679                 - Add UI bits for encryption settings
19680
19681         * src/NetworkManagerDbus.c
19682                 - Retrieve key and key_type params for "setActiveDevice" method call
19683                         and pass them on
19684                 - unref AP returned from nm_device_get_best_ap() when needed
19685
19686         * src/NetworkManagerDevice.c
19687                 - (nm_device_get_best_ap): ref the ap before returning it
19688                 - unref AP returned from nm_device_get_best_ap() when needed
19689                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19690                         need to call nm_device_get_best_ap() here, it was pretty much
19691                         redundant anyway
19692                 - (AP_NEED_KEY): break second link check condition out into separate
19693                         function, and fix segfault when ap->enc_key_source was NULL
19694                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19695                         pass them along to nm_device_wireless_network_exists().  If the
19696                         network does exist, set the passed-in key+key_type on the AP
19697
19698         * src/NetworkManagerPolicy.c
19699                 - unref AP returned from nm_device_get_best_ap() when needed
19700
19701 2004-10-28 Dan Williams <dcbw@redhat.com>
19702
19703         * src/NetworkManagerUtils.c
19704                 - (nm_spawn_process): Fix a potential dereference of NULL
19705
19706         Patches from Peter Jones:
19707
19708         * src/NetworkManagerDevice.c
19709                 - (nm_device_test_wireless_extensions): Better check for
19710                         wireless devices
19711
19712         * src/NetworkManagerUtils.c
19713                 - (nm_spawn_process): Pass in valid stdout and stderr so
19714                         executed programs don't randomly SIGPIPE and fail
19715                 - (nm_get_wired_driver_support_level): quash hal warning
19716                         when checking for USB ethernet device
19717
19718 2004-10-27 Dan Williams <dcbw@redhat.com>
19719
19720         * info-daemon/NetworkManagerInfo.c
19721           info-daemon/NetworkManagerInfoDbus.c
19722           info-daemon/NetworkManagerInfoPassphraseDialog.c
19723           panel-applet/NMWirelessApplet.c
19724                 - Properly escape gconf keys
19725
19726         * src/NetworkManager.c
19727                 - remove unused variables
19728
19729         * src/NetworkManagerAP.c
19730                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19731                         refcount since it got set in nm_ap_new()
19732
19733         * src/NetworkManagerAPList.c
19734                 - (nm_ap_list_combine): Give up ownership of newly created
19735                         access points to the ap list, fixes memleak
19736
19737         * src/NetworkManagerDevice.c
19738                 - Remove cached_ap_list4 member since its not really needed
19739                 - (nm_device_wireless_network_exists): Try to get correct
19740                         encryption status of a found AP if its already in our
19741                         device list
19742                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19743                         memory allocs/deallocs a bit clearer and shorter-lived
19744
19745 2004-10-26 Ray Strode <rstrode@redhat.com>
19746
19747         * panel-applet/NMWirelessApplet.c:
19748           (custom_essid_item_selected):  kill some compiler
19749         warnings 
19750
19751 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19752
19753         * info-daemon/NetworkManagerInfoDbus.c
19754                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19755                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19756
19757 2004-10-23 Dan Williams <dcbw@redhat.com>
19758
19759         * info-daemon/NetworkManagerInfoDbus.c
19760                 - Trap the "DeviceActivationFailed" signal
19761
19762         * docs/NetworkManager DBUS API.txt
19763                 - Add "DeviceActivationFailed" signal
19764
19765         * panel-applet/NMWirelessAppletDbus.c
19766                 - Quash the "NetworkManager service not available" message
19767
19768         * src/NetworkManagerDbus.[ch]
19769                 - Add the "DeviceActivationFailed" signal
19770
19771         * src/NetworkManagerDevice.c
19772                 - Add support for activation_failed flag
19773                 - Fix deadlock where activation thread didn't clean itself up, making
19774                         main thread still believe it was alive forever (didn't reset activation
19775                         flags like activating, just_activated, etc when IP configuration
19776                         failed)
19777
19778         * src/NetworkManagerPolicy.c
19779                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19780                         for wireless networks, try to fall back to some other access point
19781
19782 2004-10-23 Dan Williams <dcbw@redhat.com>
19783
19784         * panel-applet/NMWirelessApplet.[ch]
19785                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19786                         to the applet object, so we can get tooltips
19787                 - Add tooltips (RH #136866)
19788
19789         * src/NetworkManagerDevice.c
19790                 - When trying to find a wireless network, try to connect with encryption
19791                         turned on first, so that we can more accurately detect whether or not
19792                         we need to use encryption for the actual association later on
19793
19794 2004-10-21 Dan Williams <dcbw@redhat.com>
19795
19796         * Add some support for telling NetworkManagerInfo to tell the user
19797                 that they are using a device that's not fully supported
19798
19799         * Fix some assertions in debug messages due to null access point args
19800
19801 2004-10-21 Dan Williams <dcbw@redhat.com>
19802
19803         * src/NetworkManagerDevice.c
19804                 - Don't try to activate/bring up/down unsupported
19805                         devices
19806
19807         * src/NetworkManagerUtils.c
19808                 - Fix case of PCI ID checks for driver support levels
19809
19810 2004-10-21 Dan Williams <dcbw@redhat.com>
19811
19812         * NetworkManager.h
19813                 - New file, now contains commonly used structures and bits
19814                         for the dbus API of NetworkManager
19815
19816         * Makefile.am
19817                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19818
19819         * src/NetworkManager.h
19820                 - Rename -> src/NetworkManagerMain.c
19821
19822         * Various fixups all around to use NetworkManager.h and new
19823                 src/NetworkManagerMain.h, remove redundant bits that got
19824                 moved into NetworkManager.h
19825
19826         * src/NetworkManagerDevice.[ch]
19827           src/NetworkManagerUtils.[ch]
19828           src/NetworkManagerPolicy.c
19829           src/NetworkManagerDbus.c
19830                 - Whitelist wireless drivers, and blacklist some wired
19831                         drivers.  Also blacklist cipsec and ethernet-over-usb
19832                         devices at this time (RH #135722, RH #135648)
19833                 - Don't leak unsupported devices out over dbus, or allow
19834                         them to be set as the active device.  Skip over them
19835                         during automatic device picking
19836
19837         * test/nmclienttest.c
19838                 - Clean up the dbus code a lot
19839
19840 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19841
19842         * configure.in: post release bump.
19843
19844 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19845
19846         * configure.in:
19847         * NEWS: Released NetworkManager-0.3.1
19848
19849 2004-10-18 Dan Williams <dcbw@redhat.com>
19850
19851         Patches from Thom May:
19852         * test/nmtestdevices.c
19853                 - Include <string.h>
19854         * src/backends/NetworkManagerDebian.c:
19855                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19856                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19857                         Move to using g_strdup_printf rather than arbitrary buffers
19858                 - (nm_system_device_setup_static_ip4_config) Implement function.
19859                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19860
19861 2004-10-17 Dan Williams <dcbw@redhat.com>
19862
19863         * info-daemon/NetworkManagerInfoDbus.c
19864                 - Display name of network in the "network not found" dialog
19865
19866         * panel-applet/NMWirelessAppletDbus.c
19867                 - (nmwa_dbus_call_nm_method): new function replaces all other
19868                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19869                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19870                         consolidated into nmwa_dbus_get_object_name()
19871
19872 2004-10-15 Dan Williams <dcbw@redhat.com>
19873
19874         * src/NetworkManagerDbus.c
19875           info-daemon/NetworkManagerInfoDbus.c
19876                 - Display an error dialog when the user tries to use an
19877                         "Other wireless network" that's not found.
19878
19879 2004-10-15 Dan Williams <dcbw@redhat.com>
19880
19881         * panel-applet/NMWirelessApplet.[ch]
19882                 - Fix up corner cases in applet state, making it
19883                         look more responsive.  Change state to "connecting" when
19884                         the user is forcing a device too.
19885
19886 2004-10-15 Dan Williams <dcbw@redhat.com>
19887
19888         * src/NetworkManagerAPList.c
19889                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19890
19891         * src/NetworkManagerDbus.c
19892                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19893
19894         * src/NetworkManagerDevice.c
19895                 - Disown APs after the device's AP list takes ownership
19896
19897 2004-10-15 Dan Williams <dcbw@redhat.com>
19898
19899         * panel-applet/NMWirelessApplet.c
19900                 - Update our applet state from the GUI thread
19901
19902         * panel-applet/NMWirelessAppletDbus.c
19903                 - Greatly simplify the locking to make the GUI thread
19904                         smoother.  Update a private copy of the device list
19905                         and active device and only when done talking to
19906                         NetworkManager turn it over to the GUI thread.
19907
19908 2004-10-15 Dan Williams <dcbw@redhat.com>
19909
19910         * src/NetworkManagerAP.[ch]
19911                 - Add "artificial" get/set functions, set for APs that
19912                         aren't discovered as part of a scan but instead
19913                         discovered by force-setting the ESSID
19914
19915         * src/NetworkManagerDevice.[ch]
19916                 - (nm_device_wireless_network_exists): pass back whether
19917                         or not the discovered AP was encrypted.  Also, try
19918                         falling back to encrypted mode on the card if unencrypted
19919                         association doesn't work
19920                 - (nm_device_find_and_use_essid): If the network requested
19921                         did in fact exists, but it wasn't in our scan list, add
19922                         an "artificial" entry for it.  Some Cisco cards don't
19923                         see non-ESSID-broadcasting APs in their scan but can still
19924                         associate with them if you know the ESSID, this works around
19925                         that behavior
19926                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19927                         to scan if the card is currently associated with that AP
19928
19929 2004-10-15 Dan Williams <dcbw@redhat.com>
19930
19931         ---- We have a website ----
19932         http://people.redhat.com/dcbw/NetworkManager
19933
19934         Patch from Robert Paskowitz:
19935         * src/NetworkManager.c
19936                 - (main): Make sure we are run as root
19937         * src/NetworkManagerDevice.c
19938                 - Fix type in ad-hoc setting function
19939
19940         Patch from Thom May:
19941         * src/backends/NetworkManagerDebian.c
19942                 - Make Debian backend compile again
19943
19944 2004-10-14 Dan Williams <dcbw@redhat.com>
19945
19946         * Tagged NetworkManager-0_3
19947
19948 2004-10-14 Dan Williams <dcbw@redhat.com>
19949
19950         Patch from Robert Paskowitz:
19951         * NEWS
19952           src/NetworkManagerDevice.[ch]
19953           src/backends/NetworkManagerDebian.c
19954           src/backends/NetworkManagerGentoo.c
19955           src/backends/NetworkManagerRedHat.c
19956           src/backends/NetworkManagerSlackware.c
19957                 - Add support for grabbing and using a broadcast address
19958                         from system config files
19959                 - Some Gentoo backend fixes for grabbing network config
19960                 - Fix LOG_WARN->LOG_WARNING
19961
19962 2004-10-14 Dan Williams <dcbw@redhat.com>
19963
19964         * NEWS: a few small fixes in the credits
19965
19966 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19967
19968         * NEWS: prep for release.
19969
19970 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19971
19972         * panel-applet/NMWirelessAppletDbus.c
19973         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19974
19975 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19976
19977         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19978         applet->state == APPLET_STATE_NO_NM animation.
19979
19980         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19981         set the text correctly.
19982
19983 2004-10-14 Dan Williams <dcbw@redhat.com>
19984
19985         * src/NetworkManager.c
19986                 - Only accept and manager 802.3 and 802.11 devices
19987
19988         * src/NetworkManagerDbus.[ch]
19989                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19990                         logic into NetworkManagerDevice.c
19991                 - (nm_dbus_network_status_from_data): new function
19992                 - (nm_dbus_signal_network_status_change): new function, unused for now
19993                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19994
19995         * src/NetworkManagerDevice.[ch]
19996                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19997                         a random ESSID.
19998
19999 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20000
20001         * info-daemon/NetworkManagerInfo.c 
20002                 - (main): Added session management
20003
20004 2004-10-14 Dan Williams <dcbw@redhat.com>
20005
20006         * panel-applet/NMWirelessAppletDbus.[ch]
20007                 - Expose network_device_[un]ref()
20008                 - Expose wireless_network_[un]ref()
20009                 - (wireless_network_new_with_essid): new function, create and return
20010                         a wireless network with a particular essid
20011
20012         * panel-applet/NMWirelessApplet.c
20013                 - Hook up the "other network" dialog to do something
20014
20015 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
20016
20017         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
20018         doesn't work yet, but it looks okay.
20019
20020         * panel-applet/icons/*png: Resize to 22x22 and install in the
20021         right place.
20022
20023 2004-10-13 Dan Williams <dcbw@redhat.com>
20024
20025         * panel-applet/NMWirelessApplet.c
20026                 - Add function to print out applet_state in a readable
20027                         manner
20028
20029         * src/NetworkManager.c
20030                 - (main): Don't segfault when nm_dbus_init() fails, we had
20031                         a left-over call to hal_shutdown() into which we passed NULL
20032
20033         * src/NetworkManagerAP.c
20034                 - (nm_ap_set_essid): Allow NULL essids
20035
20036         * src/NetworkManagerAPList.[ch]
20037                 - More use of nm_ap_list_[un]lock ()
20038                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20039                         network/essid, just return nothing.  Also skip over NULL
20040                         essid access points in the list when searching
20041                 - (nm_ap_list_get_ap_by_address): new function
20042                 - (nm_ap_list_update_network): set the access point's key source to
20043                         NULL when the key returned from NetworkManagerInfo is NULL or
20044                         of 0 length
20045                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20046                         copy timestamp over too
20047                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20048                         find the correct ESSID for a blank-essid access point by searching
20049                         through another list and matching access point MAC addresses
20050                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20051
20052         * src/NetworkManagerDbus.c
20053                 - (nm_dbus_nm_set_active_device): deal with random networks the user
20054                         may specify.  This is mainly for access points that don't
20055                         broadcast their essid.  So if the user tells us to associate with
20056                         some random ESSID that's not in our access point list, we find
20057                         out if the access point does in fact exist (by attempting association
20058                         and then matching that access point's MAC address with the essid the
20059                         user gave us) and then we switch to it.
20060                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20061                         to the returned list of networks for the "getNetworks" method
20062
20063         * src/NetworkManagerDevice.[ch]
20064                 - Extra debugging info for link detection
20065                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20066                         based on MAC address
20067                 - (nm_device_get_path_for_ap): ignore blank-essid access points
20068                 - (nm_device_wireless_network_exists): new function, find out whether
20069                         a random ESSID exists by attempting to associate with it
20070                 - (nm_device_do_normal_scan): allow blank-essid access points in our
20071                         device list as long as they have an AP MAC address we can use.
20072                         Also send WirelessNetwork[Dis]Appeared signals for non-active
20073                         devices too.  Lets the applet update more frequently.
20074
20075         * src/backends/NetworkManagerGentoo.c
20076                 - Patch from: Robert Paskowitz
20077                         - Update backend code for Gentoo
20078                         - Implement nm_system_device_update_config_info ()
20079
20080         * test/nmclienttest.c
20081                 - (set_network_device): new function, takes a command-line argument
20082                         and tells NetworkManager to use that wireless network
20083
20084 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20085
20086         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20087         if the notification icon crashes 5 times within 5 seconds of each respawn 
20088
20089 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
20090
20091         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20092         g_print.
20093
20094 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
20095
20096         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20097
20098         * panel-applet/NMWirelessApplet.c: (animation_timeout),
20099         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20100         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20101         Change the name of the icons.
20102
20103         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20104         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20105         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20106         (nm_menu_wireless_expose_event): Really bad hack to get the style
20107         to draw in the right color.
20108
20109 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20110
20111         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
20112         Notification if it crashes
20113
20114 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
20115
20116         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
20117         (nmwa_dbus_get_string): remove unused functions
20118
20119         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20120         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20121         remove unused functions
20122
20123         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20124
20125 2004-10-12 Dan Williams <dcbw@redhat.com>
20126
20127         * panel-applet/NMWirelessAppletDbus.c
20128                 - New functions:
20129                         wireless_network_new
20130                         wireless_network_copy
20131                         network_device_new
20132                         network_device_copy
20133
20134         * src/NetworkManagerDevice.[ch]
20135                 - New functions:
20136                         nm_device_set_mode_managed
20137                         nm_device_set_mode_adhoc
20138                 - Use these functions where appropriate
20139                 - When creating a new wireless device, force the card
20140                         to managed/Infrastructure mode as soon as possible
20141
20142 2004-10-12 Dan Williams <dcbw@redhat.com>
20143
20144         * src/NetworkManagerDevice.c
20145                 - Force wireless cards into Infrastructure mode before we use them
20146
20147 2004-10-12 Dan Williams <dcbw@redhat.com>
20148
20149         * TODO
20150                 - Remove bit about static IP address support
20151
20152         * src/NetworkManagerUtils.c
20153                 - (nm_spawn_process): Add some error reporting
20154
20155         * src/NetworkManagerDevice.c
20156                 - (nm_device_activation_configure_ip): hook up to the static config
20157                         routines in the backends
20158
20159         * src/backends/NetworkManagerRedHat.c
20160                 - (nm_system_device_update_config_info): use shvar.c routines to
20161                         parse the config file iformation, not our own
20162                 - (nm_system_device_setup_static_ip4_config): new function, based
20163                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20164                         with a static IP address and gateway
20165
20166         * src/backends/shvar.[ch]
20167                 - Parser (filched from initscripts package) for ifcfg-* files
20168
20169         * src/backends/NetworkManagerSystem.h
20170           src/backends/NetworkManagerGentoo.c
20171           src/backends/NetworkManagerDebian.c
20172           src/backends/NetworkManagerSlackware.c
20173                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20174
20175 2004-10-11 Dan Williams <dcbw@redhat.com>
20176
20177         * TODO
20178                 - Remove bit about more robust AP diffing since I just implemented it
20179
20180 2004-10-11 Dan Williams <dcbw@redhat.com>
20181
20182         * src/NetworkManagerAP.c
20183                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20184                         enough RAM to allocate new AP structures, but return NULL instead
20185
20186         * src/NetworkManagerAPList.[ch]
20187                 - (nm_ap_list_is_empty): new function
20188                 - (nm_ap_list_combine): new function, combine two access point lists
20189                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20190                         into another
20191
20192         * src/NetworkManagerDevice.[ch]
20193                 - Rename some functions to be clearer:
20194                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20195                         nm_device_just_activated     -> nm_device_is_just_activated
20196                         nm_device_activating         -> nm_device_is_activating
20197                         nm_device_now_scanning       -> nm_device_is_scanning
20198                 - Cache the last 4 scans so that the access point list is more stable.
20199                         We combine the lastest two scans and use that as the AP list,
20200                         and diff that combined list against the combination of the earliest
20201                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20202
20203 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20204
20205         * info-daemon/NWManagerInfo.h
20206                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20207
20208         * info-daemon/NWManagerInfoDbus.c
20209                 - (shutdown_callback): new function
20210                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20211                         if NetworkManager goes away.  Kill the timeout
20212                         if NetworkManager restarts before the 30 seconds
20213                         are up.
20214                 - (nmi_dbus_service_init): 
20215                         - call gtk_main_quit if NetworkManager is not running
20216                         - add filters to monitor dbus service creations and
20217                                 deletions
20218         
20219 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20220
20221         * panel-applet/NMWirelessApplet.c
20222                 - (nmwa_update_state): Hide notification icon if we are only
20223                         showing one wired card and no wireless interfaces 
20224                         (Red Hat Bug #134895)
20225
20226         * panel-applet/NMWirelessAppletDbus.c
20227                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20228
20229         * info-daemon/NWManagerInfo.c
20230                 - (main): Terminated the notification_icon_cmd array with a NULL
20231
20232 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20233
20234         * configure.in (ALL_LINGUAS): Added de (German).
20235
20236 2004-10-08 Dan Williams <dcbw@redaht.com>
20237
20238         * src/NetworkManagerDevice.c
20239                 - Be a bit more robust about link checking, ie make sure that
20240                         the WEP key we were given actually has some data in it
20241
20242 2004-10-08 Dan Williams <dcbw@redhat.com>
20243
20244         * info-daemon/NetworkManagerInfo.c (main):
20245                 - Initialize GError object to NULL
20246
20247 2004-10-08 Dan Williams <dcbw@redhat.com>
20248
20249         * panel-applet/NMWirelessAppletDbus.c
20250                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20251
20252 2004-10-08 Dan Williams <dcbw@redhat.com>
20253
20254         * info-daemon/NetworkManagerInfo.[ch]
20255           info-dameon/NetworkManagerInfoDbus.[ch]
20256           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20257                 - Preserve original label text in the passphrase dialog so that
20258                         it actually gets updated with the new network name the next
20259                         time around.  Previously, we were overwriting it so you'd get
20260                         the wrong network name to enter a key for
20261                 - Add a "Key Type" combo to the passphrase dialog, user selects
20262                         encryption key type now, type is stored in GConf too
20263                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20264
20265         * src/NetworkManagerAP.[ch]
20266                 - Remove all the encyption method magic.  It's now set by the user
20267                         and NetworkManager retrieves the type of encryption key from
20268                         NetworkManagerInfo
20269
20270         * src/NetworkManagerAPList.[ch]
20271           src/NetworkManagerDbus.[ch]
20272                 - Adjust to new way of setting encryption key and method
20273                 - Pull encryption method down from NMI along with key
20274
20275         * src/NetworkManagerDevice.[ch]
20276                 - Removed encryption method fallback magic as the method is now
20277                         determined by the user.  This greatly simplifies the connection
20278                         logic.
20279                 - More robust connection/link logic.  Besides removing the encryption
20280                         method fallback magic, check whether or not the card is receiving
20281                         invalidly encrypted packets, which usually indicates that we have
20282                         a bad WEP key set.
20283                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20284
20285         * test/nminfotest.c
20286                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20287
20288 2004-10-07 Dan Williams <dcbw@redhat.com>
20289
20290         * info-daemon/NetworkManagerInfo.conf
20291                 - Allow root user to run NMI too
20292
20293 2004-10-06 Dan Williams <dcbw@redhat.com>
20294
20295         * src/NetworkManagerDevice.[ch]
20296           src/NetworkManagerDbus.c
20297           doc/NetworkManager DBUS API.txt
20298                 - Add a new status tag "scanning", which is set when there
20299                         is no active network connection, but NetworkManager is
20300                         looking for an access point to associate with
20301
20302         * panel-applet/main.c
20303                 - Cast the applet appropriately for gtk_widget_show_all ()
20304
20305 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20306
20307         * panel-applet/eggtrayicon.[ch]:
20308         * panel-applet/main.c: Add missing file
20309
20310 2004-10-04 Dan Williams <dcbw@redhat.com>
20311
20312         * src/NetworkManagerDevice.[ch]
20313                 - Add a slightly more robust method of determining if the WEP key
20314                         is correct or not, by checking the WEP-discarded packet count
20315                         on the card
20316
20317         * info-daemon/NetworkManagerInfo.c
20318                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20319                         un-escape values we pull out rather than escaping them
20320
20321 2004-10-03  Marcel Telka  <marcel@telka.sk>
20322
20323         * configure.in (ALL_LINGUAS): Added sk.
20324
20325 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20326
20327         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20328         and feel.  We should be back to working, and have a good, clean
20329         look.
20330
20331 2004-09-30 Dan Williams <dcbw@redhat.com>
20332
20333         * info-daemon/NetworkManagerInfo.c
20334           info-daemon/NetworkManagerInfoDbus.c
20335           test/nminfotest.c
20336                 - Escape ESSIDs in gconf
20337
20338         * src/NetworkManagerDevice.c
20339                 - Fix pseudo-scanning to use netowrk list from info daemon
20340
20341 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20342
20343         * configure.in: Add a temporary --enable-notification-icon.  This
20344         will prolly go away.
20345
20346         * info-daemon/Makefile.am:
20347         * info-daemon/NetworkManagerInfo.c:
20348         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20349
20350         * panel-applet/Makefile.am:
20351         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20352         * panel-applet/NMWirelessApplet.h:
20353
20354 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20355
20356         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20357         before 'select custom ESSID'.
20358
20359         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20360         fully complete, but syncing in prep for merge.
20361
20362         * panel-applet/icons/*png: New images
20363
20364 2004-09-28 Dan Williams <dcbw@redhat.com>
20365
20366         * src/NetworkManager.c
20367           src/NetworkManagerDevice.c
20368           src/NetworkManagerPolicy.c
20369                 - Don't blow away an active wired connection on startup
20370
20371 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20372
20373         Changes from J5
20374         
20375         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20376
20377         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20378         syslog output
20379
20380 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20381
20382         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20383         have a wireless card.
20384
20385 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20386
20387         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20388         Also, get the right device strings.
20389
20390 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20391
20392         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20393         the logic to make this right.
20394
20395         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20396         devices so that wired networks are always first.
20397
20398 2004-09-22    <clarkbw@cvs.gnome.org>
20399
20400         * initscript/Debian/.cvsignore:
20401         * initscript/Slackware/.cvsignore:
20402         Added new cvsignores for Makefile, Makefile.in
20403         
20404         * test/.cvsignore:
20405         Added nmtestdevices
20406         
20407         * src/NetworkManagerDevice.c: 
20408         * src/NetworkManager.c: 
20409         Updated the wireless/wired HAL device strings from net.ethernet to
20410         net.80203 or net.80211 depending on wired or wireless respectively
20411         
20412         * examples/python/NetworkManager.py: 
20413         s/Quality/Strength/
20414
20415         * examples/python/systray/network_tray.py:
20416         Lots of little changes and fixes.  been rotting for a while so I
20417         figured I'd finally sync them all with CVS
20418
20419 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20420
20421         * configure.in: Add graphics
20422
20423         * panel-applet/Makefile.am: Add graphics
20424
20425         * panel-applet/icons/*: Add graphics
20426
20427         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20428         the icons fully lined up.
20429
20430         * panel-applet/menu-info.c: 
20431         * panel-applet/menu-info.h: Add another menu type.
20432
20433 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20434
20435         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20436
20437         * panel-applet/menu-item.[ch]: Wireless menu item.
20438
20439 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20440
20441         * info-daemon/NetworkManagerInfo.conf
20442                 - Created a more robust security policy for the DBus service
20443                         - everything is denied by default
20444                         - root can own and send to the service
20445                         - users logged in at the console can send to the service
20446
20447 2004-09-13  Dan Williams <dcbw@redhat.com>
20448
20449         * src/NetworkManagerDevice.c
20450                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20451                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20452                         the latter
20453
20454 2004-09-13  Dan Williams <dcbw@redhat.com>
20455
20456         * TODO: fix typo
20457
20458         * docs/NetworkManager DBUS API.txt
20459                 - Update for new signal strength changes
20460
20461         * panel-applet/NMWirelessApplet.c
20462                 - Make panel icon show strength of the current connection
20463                 - Cleanups and memleak fixes
20464
20465         * panel-applet/NMWirelessApplet.h
20466                 - Add data members for signal strength on devices and networks
20467
20468         * panel-applet/NMWirelessAppletDbus.c
20469                 - Free more DBusErrors
20470                 - Update for new signal strength changes
20471                 - Make devices and networks more like real objects, use ref/unref methods
20472                 - Actually unlock the mutex when updating the active device
20473
20474         * src/NetworkManagerAP.c
20475                 - Change AP functions and data members from "quality"->"strength"
20476
20477         * src/NetworkManagerDbus.c
20478                 - Kill "getMaxQuality" and "getQuality" methods
20479                 - Add "getStrength" methods for Networks and Devices
20480
20481         * src/NetworkManagerDevice.[ch]
20482                 - Add accessors for device strength
20483                 - Add functions to update strength for a device.  Note that not all drivers
20484                         actually support signal strength for scanned access points (Atmel drivers
20485                         being one)
20486                 - Calculate signal strength for each AP during scan
20487
20488         * src/NetworkManagerWireless.[ch]
20489                 - Add function to return signal strength % from a device and a raw quality struct
20490
20491         * test/nmclienttest.c
20492                 - Update for new signal strength changes
20493
20494 2004-09-11  Dan Williams <dcbw@redhat.com>
20495
20496         * src/NetworkManager.c
20497                 - Fix race condition between initscripts and NM on card insertion
20498                         which could cause a card to keep an IP address and routes around
20499                         even when it was not the active device
20500
20501         * src/NetworkManagerDbus.c
20502                 - Fix compile errors, free more DBusErrors
20503
20504 2004-09-11  Dan Williams <dcbw@redhat.com>
20505
20506         * docs/NetworkManager DBUS API.txt
20507                 - Add an explanation of NM's API
20508
20509         * src/NetworkManagerDbus.c
20510                 - Free some more DBusErrors if needed
20511
20512 2004-09-11  Dan Williams <dcbw@redhat.com>
20513
20514         * panel-applet/NMWirelessApplet.c
20515           panel-applet/NMWirelessAppletDbus.c
20516                 - Start using NetworkDevice/WirelessNetwork structures in more places
20517                 - Update for unified device/network forcing in NetworkManager
20518
20519         * src/NetworkManager.c
20520                 - some code consolidation
20521
20522         * src/NetworkManagerDbus.c
20523                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20524                         or two arguments:  the first is the NM ID of the device to switch to,
20525                         and the second (optional) argument is the ESSID of a wireless network
20526                         to use as well.
20527                 - Get rid of "setNetwork" method due to above change
20528
20529         * src/NetworkManagerDevice.c
20530                 - (nm_device_new): perform scan and update best AP on device creation
20531                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20532                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20533                         spin waiting for cancellation to finish before returning
20534
20535         * src/NetworkManagerPolicy.c
20536                 - Changes here clarify the situations in which a device switch occurs, and 
20537                         make sure to keep using a forced device and network if the user gives
20538                         us one
20539                 - Remove old unused code
20540
20541 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20542
20543         * configure.in: Added Danish (da) to ALL_LINGUAS.
20544
20545 2004-09-09  Dan Williams <dcbw@redhat.com>
20546
20547         * panel-applet/NMWirelessAppletDbus.c
20548                 - Pull fresh devices and networks from NM when wireless networks
20549                         change.  Provides faster feedback of a forced wireless network
20550
20551         * src/NetworkManagerDbus.c
20552                 - Return error when "getMaxQuality" is called on a wired device
20553                 - Make best_ap freezing actually work again, and signal cancellation
20554                         of activation if there's already a device activation when the user
20555                         freezes the best_ap
20556
20557         * src/NetworkManagerDevice.c
20558                 - Don't clear out the best_ap for wireless devices when the link goes
20559                         down, that's done elsewhere
20560                 - Kill any dhcp daemons when cancelling device activation since they
20561                         may be stuck waiting for a DHCP address, and since we're cancelling
20562                         activation we don't care about that anymore
20563
20564         * src/NetworkManagerPolicy.c
20565                 - Make sure to unref the device we ref earlier (we refed it to make sure
20566                         it stuck around during device activation and such)
20567                 - If we were going to change the best device, but its activating currently
20568                         (and therefore the change didn't occur due to the check earlier)
20569                         we mark the state changed to we come back to it later when device
20570                         activation has canceled and its no longer activating
20571
20572         * src/backends/NetworkManagerRedHat.c
20573                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20574
20575 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20576
20577         * info-daemon/passphrase.glade: 
20578         set passphrase input to activates_default : True
20579
20580         * examples/python/systray/network_tray.py
20581         (network_tray.sort_networks):
20582
20583         Added support for having wireless always scanning
20584
20585 2004-09-09  Dan Williams <dcbw@redhat.com>
20586
20587         NOTE: this commit changes the behavior of wireless devices in
20588         NetworkManager.  They are now up all the time, scanning all
20589         the time.  Only the active device has an IP address and routing
20590         information set up however.  Also, NetworkManager will no longer
20591         opportunistically switch wireless networks when a better one
20592         comes in range, it will remain associated with one wireless network
20593         until that one drops out.
20594
20595         * panel-applet/NMWirelessApplet.c
20596           panel-applet/NMWirelessAppletDbus.c
20597                 - List all wireless cards and their respective networks
20598
20599         * src/NMLoadModules
20600                 - Use full path to /sbin/ip
20601
20602         * src/NetworkManager.c
20603                 - Keep wireless devices up all the time so they can scan
20604
20605         * src/NetworkManagerDbus.c
20606                 - On a WirelessNetworkUpdate signal from NMI, don't update
20607                         the "best" AP
20608
20609         * src/NetworkManagerDevice.c
20610                 - (nm_device_set_link_active): clear out the best ap for
20611                         wireless devices when the link is set to FALSE
20612                 - Scan on all wireless cards, all the time
20613                 - (nm_device_activation_worker): split out the wireless card
20614                         link-waiting code to a separate function
20615                 - Keep wireless cards up even if device activation fails
20616                 - Don't update the "best" ap as much
20617
20618         * src/NetworkManagerPolicy.c
20619                 - Don't update the best ap when checking if its frozen,
20620                         let link checking clear out a frozen best ap for us
20621
20622         * src/NetworkManagerWireless.c
20623                 - Scan on all wireless cards, all the time
20624
20625 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20626
20627         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20628
20629 2004-09-09  Ankit Patel <ankit@redhat.com>
20630
20631         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20632
20633 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20634
20635         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20636
20637 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20638
20639         * examples/python/NetworkManager.py: 
20640         added CONNECTED, CONNECTING, and DISCONNECTED states
20641         added methods to return number of devices of a single type
20642
20643         * examples/python/systray/network_tray.py: 
20644         did some tweaks to get the menu looking near what it is supposed
20645         to look like.  Also did a Airo card hack to make it show the
20646         correct AP quality
20647
20648 2004-09-08  Dan Williams <dcbw@redhat.com>
20649
20650         * panel-applet/no-networkmanager.png
20651           panel-applet/Makefile.am
20652           panel-applet/NMWirelessApplet.c
20653                 - Add a "NetworkManager not running" icon and use it
20654                 - Use new consolidated GConf keys rather than Preferred/Trusted
20655
20656         * TODO: update
20657
20658         * info-daemon/NetworkManagerInfo.c
20659           info-daemon/NetworkManagerInfoDbus.[ch]
20660           info-daemon/NetworkManagerInfoPassphraseDialog.c
20661                 - There are now no longer two separate lists of wireless networks,
20662                         but one list where each network is "trusted" or not trusted
20663                 - Add a "getNetworkTrusted" dbus method
20664                 - "WirelessNetworkUpdate" signal now sent rather than
20665                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20666                 - Start freeing some dbus errors (not completed yet)
20667
20668         * info-daemon/passphrase.glade
20669                 - Remove the "don't show" hints for pager and taskbar
20670                 - Add a title since its going to be in the taskbar
20671
20672         * src/NetworkManager.[ch]
20673           src/NetworkManagerAPList.[ch]
20674                 - There are now no longer two separate lists of wireless networks,
20675                         but one list where each network is "trusted" or not trusted
20676
20677         * src/NetworkManagerAP.[ch]
20678                 - Add get/set "trusted" accessors and data bit
20679
20680         * src/NetworkManagerDbus.[ch]
20681                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20682                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20683
20684         * src/NetworkManagerDevice.[ch]
20685                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20686                 - (nm_device_new): Get device config from backend when initializing devices
20687                 - (nm_device_activation_worker): Split out device configuration on
20688                         activation to deal with static/dynamic IP differences, and try encryption
20689                         fallbacks on a device if the encryption method for the best AP is not good
20690                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20691                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20692
20693         * src/NetworkManagerWireless.c
20694                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20695
20696         * src/backends/NetworkManagerRedHat.c
20697           src/backends/NetworkManagerSystem.h
20698                 - (nm_system_device_update_config_info): Add function to get device configuration
20699                         from system data in ifcfg-* files
20700
20701         * src/backends/NetworkManagerDebian.c
20702           src/backends/NetworkManagerGentoo.c
20703           src/backends/NetworkManagerSlackware.c
20704                 - Add stub functions for getting device configuration
20705
20706 2004-09-07  Dan Williams <dcbw@redhat.com>
20707
20708         * src/backends/NetworkManagerRedhat.c
20709           src/backends/NetworkManagerSlackware.c
20710                 - Use full path to /sbin/ip everywhere
20711
20712 2004-09-07  Dan Williams <dcbw@redhat.com>
20713
20714         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20715
20716         * configure.in
20717           initscript/Makefile.am
20718           initscript/Slackware/Makfile.am
20719           initscript/Slackware/rc.networkmanager
20720           src/Makefile.am
20721           src/backends/NetworkManagerSlackware.c
20722                 - Add Slackware support
20723
20724 2004-09-07  Dan Williams <dcbw@redhat.com>
20725
20726         Patches below from:
20727                 <j@bootlab.org>
20728                 Mark Roach <mrroach@okmaybe.com>
20729                 Thom May <thom@debian.org>
20730
20731         * configure.in
20732           initscript/Debian/NetworkManager
20733           initscript/Debian/Makefile.am
20734                 - Initscript for Debian
20735
20736         * src/backends/NetworkManagerDebian.c
20737                 - Add missing system init function to allow compilation
20738                         on Debian
20739
20740 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20741
20742         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20743
20744 2004-09-03  Akagic Amila <bono@linux.org.ba>
20745
20746         * configure.in: Added 'bs' to ALL_LINGUAS.
20747
20748 2004-09-02  Colin Walters  <walters@verbum.org>
20749
20750         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20751         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20752         g_strdup_printf instead of arbitrarily sized buffers.
20753
20754 2004-09-01  Colin Walters  <walters@verbum.org>
20755
20756         * NetworkManager.pc.in: New file.
20757
20758         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20759
20760 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20761         
20762         * configure.in: Punjabi(pa) is added to po/.
20763
20764 2004-08-31  Dan Williams <dcbw@redhat.com>
20765
20766         * Remove 'debug' extern global from all files since we now
20767                 use syslog()
20768
20769         * src/NetworkManager.[ch]
20770                 - Break out routine that get the net.interface property from HAL,
20771                         removing that logic from nm_create_device_and_add_to_list()
20772                 - (nm_create_device_and_add_to_list): make this a bit more general so
20773                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20774                         the create of test devices.
20775                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20776                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20777                         which makes NetworkManager listen for dbus commands to create test
20778                         devices, which have no backing hardware.  Use when you're on a plane
20779                         for example, and/or forgot your wireless card at home.  Test devices
20780                         _cannot_ be created unless NM is started with --enable-test-devices.
20781
20782         * src/NetworkManagerDbus.[ch]
20783                 - New "getLinkActive" method for devices
20784                 - New "setLinkActive" method for devices (only works on test devices)
20785                 - New "createTestDevice" method on NetworkManager object to create a test
20786                         device of a specified type (ie wired, wireless).  UDI is created from
20787                         scratch, as is the interface name.  Only works when NM is started with
20788                         --enable-test-devices switch.
20789                 - New "removeTestDevice" method on NetworkManager object which removes a
20790                         test device.  Only works when NM is started with --enable-test-devices
20791
20792         * src/NetworkManagerDevice.[ch]
20793                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20794                         whether a device is a test device or not, and what its link status is.
20795                 - Deal with test devices in most functions.  For those that work directly on hardware
20796                         special-case test devices.
20797                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20798                         command-line.
20799                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20800                         checking to separate functions to facilitate test device link checking.
20801                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20802                         don't make a distinction between System Authentication and Encryption
20803                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20804                         on the card.  We don't deal with Shared Key auth yet.
20805                 - (nm_device_activation_worker): split the activation cancel check logic out into
20806                         a separate routine nm_device_activation_cancel_if_needed()
20807                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20808                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20809                         a list of fake access points that they can "see"
20810                 - (nm_device_is_test_device): return whether or not a device is a test device
20811
20812         * src/NetworkManagerPolicy.c
20813                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20814                         previously if you "locked"/forced NM to use a wireless device but then
20815                         selected a wireless network for NM to use, it would switch to a wired device.
20816                         So, if the active device is wireless and it has a "forced" best AP, use it
20817                         if the "forced" best AP is still valid
20818                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20819                         there were no usable network devices, or the last one was removed
20820
20821         * src/backends/NetworkManager*.c
20822                 - Deal with test devices, mostly just return success for operations like getting
20823                         a DHCP address
20824
20825         * test/nmtestdevices.c
20826                 - Test tool to create/remove/link-switch test devices
20827
20828 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20829
20830         * examples/python/NetworkManager.py: 
20831         added convience functions has_wired_device and has_wireless_device
20832
20833         * examples/python/systray/network_tray.py: 
20834         cleaned up a bunch of cruft, added support for listing wireless
20835         networks just like the real applet.  This is probably all I'm
20836         going to work on this applet from now on.
20837         TODO: add support for actually changing networks and devices
20838
20839         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20840         changed "nm.networks" into a dict from a list so I can store all
20841         the cool information about networks in there
20842
20843         * examples/python/systray/network_tray.py: 
20844         Added nice message when you try to run without running make first
20845
20846         * examples/python/NetworkManager.py: 
20847         Bug fixes to the code so we get all the device information
20848         that we need in get_device()
20849         
20850         * examples/python/NMTester.py: 
20851         Fixed _print_device_list to print_device_list
20852
20853 2004-08-29  Seth Nickell  <seth@gnome.org>
20854
20855         * configure.in:
20856
20857         Actually properly setup the Debian backend in configure.
20858         
20859 2004-08-29  Colin Walters  <walters@verbum.org>
20860
20861         * test/nminfotest.c: Include string.h and stdlib.h.
20862         (get_network_string_property, get_networks_of_type): Return NULL.
20863
20864         * test/nmclienttest.c (get_device_name, get_active_device): Return
20865         NULL.
20866
20867         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20868         use strlen, fgets always NULL-terminates the string.
20869
20870         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20871         dbus_message_get_member): Remove /* in comment.
20872
20873         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20874
20875         * src/NetworkManager.c (quit): Unused, delete.
20876         (nm_data_free): Cast arg to GFunc.
20877
20878         * panel-applet/NMWirelessAppletDbus.c: Need to include
20879         string.h, and dbus-glib-lowlevel.h (the latter is needed
20880         for dbus_connection_setup_with_g_main at present).
20881         (nmwa_dbus_update_wireless_network_list): Parenthesize
20882         assignment in conditional.
20883         (nmwa_dbus_worker): Return NULL.
20884
20885         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20886         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20887         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20888         (nmwa_populate_menu): Return NULL on failure, instead of just
20889         return;
20890
20891         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20892
20893         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20894         variables.
20895
20896         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20897         delete.
20898         
20899 2004-08-29  Colin Walters  <walters@verbum.org>
20900
20901         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20902         a GTimeVal instead of time_t.  This is easier to work with,
20903         since time_t may be a long or double, we don't know.
20904
20905         * src/NetworkManagerDbus.h: Update prototype.
20906         
20907         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20908         instead of time_t.
20909         (nm_ap_get_timestamp): Update to return GTimeVal.
20910         (nm_ap_set_timestamp): Update to take GTimeVal.
20911         
20912         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20913         to handle GTimeVal.
20914
20915         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20916         GTimeVal change.
20917         (nm_ap_list_print_members): Fix warnings in printf format.
20918
20919 2004-08-29  Colin Walters  <walters@verbum.org>
20920         
20921         * panel-applet/NMWirelessApplet.c: Include config.h.
20922
20923 2004-08-29  Colin Walters  <walters@verbum.org>
20924
20925         * configure.in: Generate config.h.
20926
20927         * configure.in: Dump dependency on OpenSSL; we can't
20928         use it since this package is GPL:
20929         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20930         Instead, check for libgcrypt, use it if available,
20931         otherwise use included MD5 code.
20932
20933         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20934         Suck in from gnome-keyring, munge a bit.
20935         
20936         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20937         gnome-keyring-md5.h gnome-keyring-md5.c.
20938         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20939
20940         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20941         libgcrypt or included gnome-keyring md5 bits.
20942         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20943
20944 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20945
20946         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20947
20948 2004-08-27  Bryan Clark  <bclark@redhat.com>
20949
20950         * examples/python/systray/Makefile: 
20951
20952         Updated the clean section
20953         
20954         * examples/python/systray/trayiconmodule.c: 
20955         * examples/python/systray/trayicon.override: 
20956         * examples/python/systray/network_tray.py: 
20957         * examples/python/systray/eggtrayicon.h: 
20958         * examples/python/systray/eggtrayicon.c: 
20959         * examples/python/systray/Makefile: 
20960         * examples/python/README: 
20961         * examples/python/NetworkManager.py: 
20962         * examples/python/NMTester.py: 
20963
20964         Initial commit of these python example files
20965
20966 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20967
20968         * panel-applet/NMWirelessApplet.c
20969                 - Make current device bold
20970                 - Show more user-friendly device name if we got one from hal
20971
20972         * panel-applet/NMWirelessAppletDbus.c
20973                 - Grab "info.product" key from hal for network devices
20974                 - Cache the current active device
20975
20976 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20977
20978         * configure.in: Added en_CA to ALL_LINGUAS.
20979
20980 2004-08-27  Christian Rose  <menthos@menthos.com>
20981
20982         * configure.in: Added "sv" to ALL_LINGUAS.
20983
20984 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20985
20986         * Tag NetworkManager-0.2
20987
20988 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20989
20990         * initscripts/Makefile.am
20991         * configure.in: Make pass distcheck
20992
20993         * po/ChangeLog: added
20994
20995 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20996
20997         * panel-applet/NMWirelessApplet.c
20998                 - Remove debugging code
20999                 - Enable device switching from menus
21000
21001         * panel-applet/NMWirelessAppletDbus.[ch]
21002                 - Method for asking NM to switch devices
21003
21004         * src/NetworkManagerDevice.c
21005                 - Set dev->activating earlier, avoids race between
21006                         the dbus signal of "DeviceActivating" and setting
21007                         dev->activating (which is what NM's "status" method call
21008                         looks at)
21009
21010 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21011
21012         * panel-applet/NMWirelessApplet.[ch]
21013                 - Rework menu code to add devices to menu, and to show
21014                         signal strength for each access point.  Code cleanups
21015                         too.
21016
21017         * panel-applet/NMWirelessAppletDbus.c
21018                 - Grab network devices from NetworkManager too
21019                 - Grab quality information from NM for wireless networks
21020
21021         * src/NetworkManagerDbus.[ch]
21022                 - Add dbus methods for getting the HAL UDI from a device and
21023                         for getting its base quality, if its wireless
21024                 - Consolidate some functions (wireless network notifications,
21025                         device notifications)
21026                 - Add method for requesting NM to use a particular device
21027
21028         * src/NetworkManager.c
21029                 - Change for function consolidations from NetworkManagerDbus.c
21030                 - Implement active device locking and user-requested devices
21031                         (ie, tell NM to use a particular device instead of the one
21032                         it autochose)
21033
21034         * src/NetworkManagerDevice.c
21035                 - Add method for getting the base quality of a device, if its
21036                         wireless
21037                 - Grab device base quailty info from iwlib during scans
21038
21039         * src/NetworkManagerPolicy.c
21040                 - Use a user-requested device rather than the auto-chosen device
21041                         if we are told to
21042
21043 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
21044
21045         * Makefile.am: add po as a supdir
21046
21047         * autogen.sh: use gnome-autogen.sh
21048
21049         * initscript/Gentoo/.cvsignore:
21050         * initscript/RedHat/.cvsignore: Shut up cvs
21051
21052         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21053
21054         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21055         (nmwa_fill): Use gettext.
21056
21057         * configure.in: add gettext support
21058         * po/.cvsignore:
21059         * po/NetworkManager.pot:
21060         * po/POTFILES.in:
21061
21062 2004-08-26  Seth Nickell  <seth@gnome.org>
21063
21064         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21065         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21066         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21067         (nmwa_dispose_menu_items), (nmwa_populate_menu),
21068         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21069         * panel-applet/NMWirelessApplet.h:
21070
21071         Use a menu bar instead of a button for the main clickable
21072         thingy.
21073         
21074 2004-08-25  Dan Williams <dcbw@redhat.com>
21075
21076         * src/NetworkManagerDevice.c
21077                 - (nm_device_set_enc_key): always set device to "open" mode instead of
21078                         turning encryption off, because the Cisco driver doesn't associate
21079                         with WEP-enabled access points unless we are in "open"
21080
21081 2004-08-25  Dan Williams <dcbw@redhat.com>
21082
21083         * src/NetworkManagerWireless.c
21084                 - Don't try to defererence blank passphrases
21085
21086 2004-08-25  Dan Williams <dcbw@redhat.com>
21087
21088         * panel-applet/NMWirelessApplet.c
21089                 - Rebuild the menu whenever a user clicks
21090
21091 2004-08-25  Dan Williams <dcbw@redhat.com>
21092
21093         * panel-applet/NMWirelessApplet.c
21094                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21095                         when NM isn't around or when its not connected
21096
21097         * src/NetworkManagerDevice.c
21098                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21099                         canceled.
21100
21101 2004-08-25  Dan Williams <dcbw@redhat.com>
21102
21103         * panel-applet/NMWirelessAppletDbus.c
21104                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21105                         for getting encryption, and don't stop on "val" once we've gotten it
21106                         from NetworkManager.  Short form:  encryption should now show up.
21107
21108 2004-08-25  Dan Williams <dcbw@redhat.com>
21109
21110         * panel-applet/NMWirelessApplet.c
21111                 - Set ESSID on a gconf trusted network too when force-setting the wireless
21112                         network to associate with
21113
21114 2004-08-25  Dan Williams <dcbw@redhat.com>
21115
21116         * panel-applet/*
21117                 - Rework the panel applet to do all DBUS communication in a separate
21118                         thread
21119
21120 2004-08-25  Dan Williams <dcbw@redhat.com>
21121
21122         * info-daemon/NetworkManagerInfo.[ch]
21123                 - Remove "get_next_priority" function
21124
21125         * info-daemon/NetworkManagerInfoDbus.[ch]
21126                 - Convert "priority" functions to "timestamp"
21127
21128 2004-08-25  Dan Williams <dcbw@redhat.com>
21129
21130         * src/NetworkManagerAP.[ch]
21131                 - Add a "enc_method_good" member and accessors to an Access Point
21132                         to signal when we've found the correct encryption method
21133                         for an access point
21134                 - Add a "timestamp" member and accessors, remove "priority" member
21135                         and accessors (use timestamps instead)
21136                 - Rename "wep_key"->"enc_key"
21137                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21138                         for a specified encryption method using the access points
21139                         source encryption key/passphrase
21140
21141         * src/NetworkManagerAPList.c
21142                 - When updating a network with dbus, grab timestamp now instead of
21143                         priority
21144
21145         * src/NetworkManagerDBus.[ch]
21146                 - Add signal for "DeviceActivating"
21147                 - Switch priority->timestamp
21148
21149         * src/NetworkManagerDevice.c
21150                 - Change references of "wep_key" -> "enc_key" or "key"
21151                 - Signal DeviceActivating when starting activation
21152                 - When activating a wireless device, if the access point we are connecting
21153                         to is encrypted, and we have a source key, try to generate a mangled
21154                         key and use that (ie, generate real WEP key from a passphrase)
21155                 - Rework device activation to fallback to other encryption methods if
21156                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21157                         first, then if that doesn't work fall back to direct hex key).
21158                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21159                         priority.  We now prefer the latest access point used, rather than using
21160                         a priority scheme
21161                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21162                         points we've just discovered, and merge in correct info from the global
21163                         access point lists
21164
21165 2004-08-25  Seth Nickell  <seth@gnome.org>
21166
21167         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21168         Debian support.
21169         
21170         * src/Makefile.am:
21171         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21172         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21173         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21174         (nm_system_delete_default_route),
21175         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21176         (nm_system_load_device_modules):
21177
21178 2004-08-24  Dan Willemsen <dan@willemsen.us>
21179
21180         * src/NetworkManager.c
21181           src/backends/NetworkManagerGentoo.c
21182           src/backends/NetworkManagerRedHat.c
21183           src/backends/NetworkManagerSystem.h
21184                 - Implement preliminary Gentoo support, adding a
21185                         nm_system_init function to the backend specification
21186
21187         * configure.in
21188                 - Distribution auto-detection, lowercase any user-fed
21189                         distribution names
21190
21191         * initscript/.cvsignore
21192           initscript/Makefile.am
21193           initscript/RedHat/Makefile.am
21194           initscript/RedHat/NetworkManager
21195           initscript/Gentoo/Makefile.am
21196           initscript/Gentoo/NetworkManager
21197                 - Refactored initscript code separately for each
21198                         distribution
21199
21200 2004-08-23  Dan Williams <dcbw@redhat.com>
21201
21202         * configure.in
21203           src/Makefile.am
21204           src/NetworkManagerDevice.c
21205           src/NetworkManager.c
21206           src/NetworkManagerUtils.[ch]
21207           src/backends/NetworkManagerSystem.h
21208           src/backends/NetworkManagerRedHat.c
21209           src/backends/NetworkManagerGentoo.c
21210                 - Refactor system-specific code into separate backends for
21211                         each distribution
21212
21213 2004-08-23  Dan Willemsen <dan@willemsen.us>
21214
21215         * dispatcher-daemon/NetworkManagerDispatcher.c
21216           info-daemon/NetworkManagerInfo.[ch]
21217           info-daemon/NetworkManagerInfoDbus.c
21218           info-daemon/NetworkManagerInfoPassphraseDialog.c
21219           src/NetworkManager.c
21220           src/NetworkManagerAP.c
21221           src/NetworkManagerAPList.c
21222           src/NetworkManagerDbus.c
21223           src/NetworkManagerDevice.c
21224           src/NetworkManagerPolicy.c
21225           src/NetworkManagerUtils.[ch]
21226           src/NetworkManagerWireless.c
21227                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21228
21229         * src/NetworkManager.c
21230                 - Fixed usage wording for --no-daemon
21231
21232 2004-08-23  Dan Williams <dcbw@redhat.com>
21233
21234         * panel-applet/NMWirelessApplet.c
21235                 - Update our state every second to get more responsive panel icon
21236                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21237                         was causing our marching ants status blips to never move when
21238                         looking for a wireless network
21239
21240         * src/NetworkManagerDevice.c
21241                 - (nm_device_activation_begin): return if activation has already begun
21242                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21243                         trusted/preferred network into the device's access point when the
21244                         scan list is processed
21245
21246 2004-08-23  Dan Williams <dcbw@redhat.com>
21247
21248         * initscript/NetworkManager
21249                 - Use NMLaunchHelper rather than sleeping
21250
21251         * initscript/NMLaunchHelper.c
21252           Makefile.am
21253                 - Add helper program that exits only when NM activates a device,
21254                         or 10 seconds have passed, whichever happens first.  This
21255                         stops the boot processes until we have a network connection,
21256                         which NM can't do because it daemonizes and brings the connection
21257                         up in the background.  Allows stuff like NFS to not die.
21258
21259 2004-08-20  Dan Williams <dcbw@redhat.com>
21260
21261         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21262                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21263                         for a network, set the essid as well since it may not exist yet
21264                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21265                         since WEP keys/passphrases are long and prone to entry-error
21266
21267         * panel-applet/Makefile.am
21268           panel-applet/wired.png
21269                 - Add (pulled from system-config-network temporarily)
21270
21271         * panel-applet/NMWirelessApplet.[ch]
21272                 - Show wired picture when a wired connection is used
21273                 - Rename wireless icon enums, adding WIRELESS
21274
21275         * src/NetworkManagerDevice.c
21276                 - (nm_device_activate_wireless): unset encryption before bringing
21277                         down the card and setting the essid
21278                 - (nm_device_activatin_worker): request a key from the user if the
21279                         AP we are connecting to is encrypted but we don't have a key
21280                         for it yet
21281                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21282                         strcmp() that prevented a user-entered key from actually getting
21283                         used
21284
21285 2004-08-16  Dan Williams <dcbw@redhat.com>
21286
21287         * initscript/NetworkManager
21288                 - Check for /sbin/ip
21289                 - Do sysctl magic that network service does
21290                 - sleep 4s after start to allow network time to come up [hack]
21291
21292         * src/Makefile.am
21293           src/NMLoadModules
21294                 - Load all network device kernel modules (hal doesn't know devices
21295                         are ethernet until the module is loaded, and therefore we don't know)
21296
21297         * src/NetworkManager.c
21298                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21299                         network devices, and bring up the loopback device explicitly
21300
21301         * src/NetworkManagerUtils.[ch]
21302                 - (nm_enable_loopback): new function
21303
21304 2004-08-13  Dan Williams <dcbw@redhat.com>
21305
21306         * configure.in
21307           panel-applet/Makefile.am
21308                 - Fix up cleanfiles and server_DATA/server_in_files
21309
21310         * README
21311                 - Update with some comments on theory of operation
21312
21313         * CONTRIBUTING
21314           Makefile.am
21315                 - Add CONTRIBUTING
21316
21317 2004-08-12  Dan Williams <dcbw@redhat.com>
21318
21319         * info-daemon/passphrase.glade
21320                 - Set window title to " "
21321
21322         * panel-applet/Makefile.am
21323           panel-applet/keyring.png
21324                 - Deliver to correct place
21325
21326         * panel-applet/NMWirelessApplet.[ch]
21327                 - Add comments
21328                 - Remove applet->have_active_device as its no longer used
21329                 - (nmwa_load_theme): load keyring.png too
21330                 - (error_dialog): remove
21331                 - (show_warning_dialog): subsume functionality of error dialog too
21332                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21333                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21334                         the networks menu
21335                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21336                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21337                         and when we get broadcasts of changed wireless access points only, not when the
21338                         user clicks on the button to display the menu (too long of a wait)
21339                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21340                         networks that are encrypted
21341                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21342                         menu item with g_object_set_data()
21343
21344         * panel-applet/NMWirelessAppletDbus.[ch]
21345                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21346                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21347                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21348                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21349                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21350                         activation/deactivation signals and rebuild the menu when they happen
21351
21352         * src/NetworkManager.c
21353                 - (main): use new nm_spawn_process() rather than system()
21354
21355         * src/NetworkManagerDbus.c
21356                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21357                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21358                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21359                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21360                         to freeze the best_ap.
21361
21362         * src/NetworkManagerDevice.[ch]
21363                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21364                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21365                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21366                         ap list
21367
21368         * src/NetworkManagerUtils.[ch]
21369                 - (nm_spawn_process): add replacement for system() usage
21370
21371 2004-08-11  Dan Williams <dcbw@redhat.com>
21372
21373         * panel-applet/NMWirelessApplet.[ch]
21374                 - Fix up copyright and credits to include Bastien and Eskil,
21375                         who created the gnome-applets wireless applet, from whose
21376                         skeleton this one was created
21377                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21378                         pixmap to draw is computed during nmwa_update_state()
21379                 - Applet now shows itself all the time due to panel packing issues
21380                         which caused the applet to previously never come back after hiding.
21381                         When a wired device is the active device, the applet shows "not connected"
21382
21383         * panel-applet/NMWirelessAppletDbus.[ch]
21384                 - Clean up error messages and show what function they are from
21385                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21386                 - Add new device type getters, and a status getter
21387
21388         * src/NetworkManagerDbus.c
21389                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21390                         network is actually in the device's ap list
21391                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21392
21393         * src/NetworkManagerDevice.c
21394                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21395                         card
21396
21397         * test/nmclienttest.c
21398                 - Report status of NetworkManager too
21399
21400 2004-08-11  Dan Williams <dcbw@redhat.com>
21401
21402         * info-daemon/NetworkManagerInfo.c:
21403                 - (main): clean up Seth's code style
21404
21405         * info-daemon/NetworkManagerInfoDbus.c:
21406                 - Use the more aptly-named path/service/interface constants from NetworkManager
21407                 - Don't return empty strings ("") as object paths ever, instead return errors
21408
21409         * panel-applet/NMWirelessApplet.c:
21410                 - Clean up Seth's code style
21411
21412         * src/NetworkManager.[ch]
21413                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21414                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21415
21416         * src/NetworkManagerAPList.[ch]
21417                 - Move Iter struct right above the iter functions to preserve opacity
21418                 - (nm_ap_list_remove_ap): implement
21419                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21420                         remove AP if NetworkManagerInfo doesn't know anything about it
21421                 - (nm_ap_list_diff): user NMAPList iterators
21422                 - (nm_ap_list_print_members): implement debugging function
21423
21424         * src/NetworkManagerDbus.[ch]
21425                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21426                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21427                         and move the actual key setting stuff into NetworkManagerDevice.c
21428                 - (nm_dbus_get_network_priority): return -1 now on errors
21429                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21430                         get lost, and force the active device to update its "best" ap when AP lists change
21431                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21432                         method call due to pending_device member removal
21433
21434         * src/NetworkManagerDevice.[ch]
21435                 - Move NMDevice structure to the top
21436                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21437                 - Remove Pending Action stuff from everywhere
21438                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21439                         activation for us.  This thread blocks until all conditions for activation have
21440                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21441                         then setup up the interface and runs dhclient.  We have to do this because there
21442                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21443                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21444                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21445                         can tell nm_device_activation_worker() that we've got a key
21446                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21447                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21448                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21449                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21450
21451         * src/NetworkManagerPolicy.c
21452                 - Remove anything to do with pending_device
21453                 - Adjust device activation to deal with activation-in-worker-thread
21454
21455         * src/NetworkManagerUtils.c
21456                 - Clean up locking debugging a bit
21457
21458         * src/NetworkManagerWireless.[ch]
21459                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21460                         was badly named and is better as a device function
21461
21462         * panel-applet/.cvsignore: add
21463
21464 2004-08-09  Seth Nickell  <seth@gnome.org>
21465
21466         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21467         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21468         (nmwa_new):
21469         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21470
21471         Don't load the menus until clicked on (also removes a call outside
21472         normal code paths at first load).
21473
21474         Hide applet when NM is not present.
21475         
21476         Improve printf debugging stuff.
21477         
21478 2004-08-09  Dan Williams <dcbw@redhat.com>
21479
21480         * dispatcher-daemon/NetworkManagerDispatcher.c:
21481                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21482                 - Use constants for NetworkManager interface, service, and path
21483
21484 2004-08-09  Dan Williams <dcbw@redhat.com>
21485
21486         * src/NetworkManagerDbus.c:
21487                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21488                         instead return an error message
21489                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21490                         on a wired device.  Also never return an empty object path, instead return an error message
21491
21492 2004-08-06  Seth Nickell  <seth@gnome.org>
21493
21494         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21495
21496         Check the error code when getting a connection.
21497         
21498         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21499
21500         Check if the NM service exists when initializing (rather than
21501         assuming it does not).
21502         
21503         * src/NetworkManagerDbus.c: (nm_dbus_init):
21504
21505         Don't acquire the well-known service name until we have
21506         registered object/path handlers and can actually receive
21507         calls.
21508         
21509 2004-08-06  Dan Williams <dcbw@redhat.com>
21510
21511         * panel-applet/*
21512                 - Add panel applet
21513
21514         * src/NetworkManagerPolicy.c
21515           src/NetworkManager.c
21516                 - Get access point lists from NetworkManagerInfo on-demand,
21517                         and look for ServiceCreate/ServiceDeleted signals to see when
21518                         we should query NMI for lists
21519         * src/NetworkManagerAPList.c
21520                 - Make sure to init the list's mutex
21521                 - Convert traversals of the list over to the list iter functions
21522
21523         * src/NetworkManagerDbus.[ch]
21524                 - Use more aptly-named path/service/interface constants
21525                 - Treat both active and pending devices the same for "getActiveDevice"
21526                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21527
21528         * src/NetworkManagerDevice.c
21529                 - Honor "ignored" network list when picking best ap to use
21530
21531 2004-08-06  Seth Nickell  <seth@gnome.org>
21532
21533         * aclocal.m4:
21534
21535         Autogenerated, remove from CVS.
21536         
21537         * autogen.sh:
21538
21539         Don't hardcode automake version.
21540         
21541         * configure.in:
21542         * info-daemon/Makefile.am:
21543         * info-daemon/NetworkManagerInfo.c: (main):
21544
21545         Use GnomeProgram et al. for doing session management.
21546         Use popt stuff for argument parsing rather than doing
21547         it manugally.
21548         
21549 2004-08-05  Dan Williams <dcbw@redhat.com>
21550
21551         * test/nminfotest.c
21552                 - Update to new NMI dbus API, check different network types
21553
21554         * info-daemon/NetworkManagerInfoDbus.c
21555                 - Update to new NM dbus API, ie network type sent in query message
21556
21557 2004-08-05  Dan Williams <dcbw@redhat.com>
21558
21559         * An assload of changes
21560
21561 2004-08-02  Dan Williams <dcbw@redhat.com>
21562
21563         * TODO
21564                 - new task: proper logging support
21565
21566         * info-daemon/NetworkManagerInfo.c
21567                 - Correct spelling of "canceled"
21568                 - Correct casting of objects for g_signal_connect()
21569
21570         * info-daemon/NetworkManagerInfoDbus.c
21571                 - Add defines for NetworkManager namespace and object path, and use them
21572                 - Add filter function to trap new signals from NetworkManager:
21573                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21574
21575         * info-daemon/passphrase.glade
21576                 - Change name of "ok" button to "Login to Network..."
21577                 - Mark invisible
21578
21579         * src/NetworkManager.c
21580                 - Code and debug message cleanups
21581                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21582                 - (nm_add_initial_devices) Check returned string array of devices
21583                         and don't try to add devices if array is NULL
21584                 - (main) Initialize libhal a bit later, make code a bit clearer
21585
21586         * src/NetworkManagerAP.[ch]
21587                 - New accessor and data member "matched": used to speed up AP list
21588                         diffing
21589                 - New accessor and data member "enc_method": will be used during key
21590                         fallback to cache which passphrase->key conversion actually works
21591                         so we don't have to do it every time
21592
21593         * src/NetworkManagerAPList.[ch]
21594                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21595                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21596                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21597                         dbus in response to those differences
21598
21599         * src/NetworkManagerDbus.[ch]
21600                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21601                         make an object path for that access point (NOTE that we don't yet check to
21602                         make sure that access point is actually in the device's AP list yet)
21603                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21604                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21605                         New: signal appearance/disappearance of wireless networks
21606                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21607                         key entry
21608
21609         * src/NetworkManagerDevice.[ch]
21610                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21611                 - (nm_device_ap_list_get) New: return the AP list (static function)
21612                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21613                         new one resulting from the scan with the old one
21614
21615         * src/NetworkManagerWireless.c
21616                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21617
21618         * test/nminfotest.c
21619                 - #define object paths and namespaces and use the #defines rather than static strings
21620                 - Test out user-key functionality of NetworkManagerInfo too
21621
21622 2004-07-29  Dan Williams <dcbw@redhat.com>
21623
21624         * info-daemon/NetworkManagerInfoDbus.c
21625           src/NetworkManagerDbus.c
21626                 - Update to current DBus (ie don't use decomposed paths when registering
21627                         object paths/fallbacks)
21628
21629 2004-07-27  Dan Williams <dcbw@redhat.com>
21630
21631         * Remove various Makefile.in files
21632
21633         * TODO
21634                 - Add some more items
21635
21636         * configure.in
21637                 - Add checks for OpenSSL/md5 headers and libs
21638
21639         * src/Makefile.am
21640                 - Use OpenSSL CFLAGS
21641
21642         * src/NetworkManagerAP.[ch]
21643                 - Remove 'stamp' functions, replace with 'invalid' functions
21644                         to support user cancelling WEP key entry
21645
21646         * src/NetworkManagerDbus.c
21647                 - Remove 'stamp' return functions
21648                 - Treat returned user key as a passphrase and convert to a WEP key,
21649                         but don't actually use the WEP key yet.  We use the returned user
21650                         key as a hexadecimal WEP key until we can figure out a UI for
21651                         passphrase-vs-hex key
21652
21653         * src/NetworkManagerWireless.[ch]
21654                 - Add passphrase-to-128bit-key function
21655
21656 2004-07-27  Dan Williams <dcbw@redhat.com>
21657
21658         * TODO
21659                 - Add a couple of items
21660
21661 2004-07-27  Dan Williams <dcbw@redhat.com>
21662
21663         * info-daemon/NetworkManagerInfo.c
21664                 - Update allowed network's GConf key when user enters a WEP key explicitly
21665
21666         * info-daemon/NetworkManagerDbus.c
21667                 - Fix some comments
21668                 - nmi_dbus_get_allowed_networks(): kill warning
21669
21670 2004-07-27  Dan Williams <dcbw@redhat.com>
21671
21672         * initscript/Makefile.in
21673                 - Remove
21674
21675         * initscript/Makefile.am
21676                 - Add correct rules to install the init.d initscript
21677
21678         * info-daemon/NetworkManagerInfoDbus.c
21679                 - Remove debug fprintf
21680
21681         * src/NetworkManagerDbus.[ch]
21682                 - Remove debug fprintfs
21683                 - Add macros for NetworkManagerInfo object path/namespace
21684                 - Use said macros instead of constant strings
21685
21686 2004-07-27  Dan Williams <dcbw@redhat.com>
21687
21688         * initscript/.cvsignore
21689                 - Add
21690
21691         * info-daemon/Makefile.am
21692                 - Install .glade files and keyring.png
21693                 - Fix stupid omission of a \ that caused half the flags not to be
21694                         passed to gcc
21695
21696         * info-daemon/NetworkManagerInfo.c
21697                 - gtk_signal_connect->g_signal_connect
21698                 - Alert NetworkManagerInfo to new glade file location
21699
21700 2004-07-27  Dan Williams <dcbw@redhat.com>
21701
21702         * test/nmclienttest.c
21703           test/nminfotest.c
21704                 - Add missing <dbus/dbus.h> headers
21705                 - Add GPL message at top
21706
21707 2004-07-27  Dan Williams <dcbw@redhat.com>
21708
21709         * src/NetworkManagerAPList.[ch]
21710           src/Makefile.am
21711                 - Add.  Deal with allowed network list additions, deletions, and updates
21712
21713         * dispatcher-daemon/NetworkManagerDispatcher.c
21714                 - Add missing <dbus/dbus.h> header
21715
21716         * info-daemon/NetworkManagerInfo.[ch]
21717                 - Add missing <dbus/dbus.h> header
21718                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21719                         network change
21720                 - Better error checking
21721
21722         * info-daemon/NetworkManagerInfoDbus.[ch]
21723                 - Add missing <dbus/dbus.h> header
21724                 - Convert to using dbus_message_append_args/dbus_message_get_args
21725                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21726                         that an allowed network changed.  We don't want to signal on individual
21727                         keys _inside_ an allowed network really, just want NM to query the info
21728                         daemon for updated info on all keys.
21729                 - Better error checking
21730
21731         * src/NetworkManager.[ch]
21732                 - Add missing <dbus/dbus.h> header
21733                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21734                 - Zero out NMData structure on free
21735                 - No longer use a thread for allowed_ap_list updating, instead its now done
21736                         through dbus queries against NetworkManagerInfo
21737                 - Populate allowed_ap_list initially before adding existing network devices
21738                         to the device list, so wireless devices can get their "best" AP
21739
21740         * src/NetworkManagerDbus.[ch]
21741                 - Convert to using dbus_message_append_args/dbus_message_get_args
21742                 - Better error checking
21743                 - Implement Allowed Network info functions to request allowed network
21744                         info from NetworkManagerInfo
21745                 - Implement the filter function to process signals from NetworkManagerInfo
21746                         about changing allowed networks
21747
21748         * src/NetworkManagerDevice.c
21749                 - Fix file descriptor leak in nm_device_update_ip4_address()
21750
21751 2004-07-27  Dan Williams <dcbw@redhat.com>
21752
21753         * .cvsignore
21754           src/.cvsignore
21755           test/.cvsignore
21756           dispatcher-daemon/.cvsignore
21757           info-daemon/.cvsignore
21758                 - Add .cvsignore files to reduce noise when diffing
21759
21760 2004-07-24  Dan Williams <dcbw@redhat.com>
21761
21762         * src/NetworkManager.[ch]
21763           src/NetworkManagerDbus.[ch]
21764           src/NetworkManagerDevice.[ch]
21765           src/NetworkManagerPolicy.c
21766           src/NetworkManagerWireless.[ch]
21767                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21768                 - Pass the NMData application data structure through all calls
21769                         that need it so we can get rid of nm_get_global_data()
21770                 - Change deallocation of the allowed_ap_list GSList in preparation
21771                         for not completely clearing it every time we get an update,
21772                         but instead getting incremental updates via GConf/dbus
21773
21774 2004-07-22  Dan Williams <dcbw@redhat.com>
21775
21776         * configure.in
21777                 - Add checks for GConf libs & headers & flags
21778
21779         * info-daemon/Makefile.am
21780                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21781
21782         * info-daemon/NetworkManagerInfo.[ch]
21783                 - Don't use gquarks for data storage, just use normal data storage
21784                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21785
21786         * info-daemon/NetworkManagerDbus.[ch]
21787                 - Add method call for getting allowed networks
21788                 - Add method calls for getting an allowed network's essid, priority, and key
21789                 - Hook the method calls up to GConf
21790                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21791                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21792                 
21793         * src/NetworkManagerDbus.[ch]
21794                 - Switch for enumeration of networks to using essid instead
21795
21796         * test/Makefile.am
21797           test/nminfotest.c
21798                 - Add test program for NetworkManagerInfo
21799
21800 2004-07-19  Dan Williams <dcbw@redhat.com>
21801
21802         * src/NetworkManagerDbus.c
21803                 - Switch from indexed device paths to names.  Less code, more efficient.
21804                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21805
21806 2004-07-19  Dan Williams <dcbw@redhat.com>
21807
21808         * dispatcher-daemon/NetworkManagerDispatcher.c
21809                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21810
21811 2004-07-19  Dan Williams <dcbw@redhat.com>
21812
21813         * Makefile.am
21814                 - Add info-daemon directory
21815
21816         * configure.in
21817                 - Check for glade libs and headers
21818                 - Add info-daemon directory
21819
21820         * src/NetworkManagerAP.c
21821                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21822                         copied over to the new AP.
21823
21824         * src/NetworkManagerDbus.c
21825           src/NetworkManagerDbus.h
21826                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21827                 - Remove nm_dbus_signal_need_key_for_network()
21828                 - Add disabled code for asynchronous user wep key callbacks
21829                 - Add functions for getting, setting, and cancelling user key operations
21830                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21831                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21832
21833         * src/NetworkManagerDevice.c
21834           src/NetworkManagerDevice.h
21835                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21836                         logic is in device activation now
21837                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21838                         key is wrong) trigger get-user-key pending action
21839                 - Implement get-user-key pending action stuff, tie to dbus messages
21840                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21841                 - Add nm_device_ap_list_get_ap_by_essid()
21842                 - Instead of copying "best" access points, ref them instead so that the key we set
21843                         sticks around
21844
21845         * src/NetworkManagerPolicy.c
21846                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21847                 - Don't cancel pending actions on a device if its the same device as last iteration
21848                 - Only promote pending_device->active_device if activation was successfull
21849
21850         * src/Makefile.am
21851                 - Rename nmclienttest->nmtest
21852
21853         * info-daemon/Makefile.am
21854           info-daemon/NetworkManagerInfo.c
21855           info-daemon/NetworkManagerInfo.h
21856           info-daemon/NetworkManagerInfoDbus.c
21857           info-daemon/NetworkManagerInfoDbus.h
21858           info-daemon/passphrase.glade
21859           info-daemon/NetworkManagerInfo.conf
21860           info-daemon/keyring.png
21861                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21862                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21863                         lists to NetworkManager by proxying user's GConf
21864           
21865
21866 2004-07-15  Dan Williams <dcbw@redhat.com>
21867
21868         * src/Makefile.am
21869                 - Turn on warnings
21870
21871         * src/NetworkManager.c
21872                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21873                         that doing the deactivation ourselves
21874                 - Cancel an pending actions on a device if its being removed
21875                 - Break up link state checking a bit, make non-active wireless cards
21876                         deactivated to save power
21877                 - Remove unused variables
21878
21879         * src/NetworkManager.h
21880                 - Add support for "pending" device
21881
21882         * src/NetworkManagerAP.h
21883           src/NetworkManagerAP.c
21884                 - Add support for determining whether and AP has encryption enabled or not
21885                 - AP address is now "struct ether_addr" rather than a string
21886
21887         * src/NetworkManagerDbus.h
21888           src/NetworkManagerDbus.c
21889                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21890                 - Changes for AP address from struct ether_addr->string
21891
21892         * src/NetworkManagerDevice.h
21893           src/NetworkManagerDevice.c
21894                 - Remove unused variables, fix warnings
21895                 - Add support for Pending Actions (things that block a device from being "active"
21896                         until they are completed).
21897                 - First pending action:  Get a WEP key from the user
21898                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21899                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21900                 - Update wireless link checking to try to determine if the AP we are associated
21901                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21902                         trigger the GetUserKey pending action on the device
21903                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21904                         up in that case, otherwise we can't scan or link-check on it
21905                 - Add IP address change notifications at appropriate points (still needs some work)
21906                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21907
21908         * src/NetworkManagerPolicy.h
21909           src/NetworkManagerPolicy.c
21910                 - Split out "best" access point determiniation into separate function
21911                 - Make device activation 2-stage:  first the device is pending, then
21912                         in the next iteration through it becomes "active" unless it has
21913                         pending actions
21914
21915         * src/NetworkManagerUtils.h
21916           src/NetworkManagerUtils.c
21917                 - Clean up unused variables and warnings
21918                 - Wrap our debug macros in {} to prevent possible confusion
21919
21920         * src/NetworkManagerWireless.c
21921                 - Forgot to return current best priority, which lead to last available AP always
21922                         being chosen no matter what its priority was.  Corrected.
21923
21924 2004-07-15  Dan Williams <dcbw@redhat.com>
21925
21926         * dispatcher-daemon/Makefile.am
21927                 - Turn on warnings
21928
21929         * dispatcher-daemon/NetworkManagerDispatcher.c
21930                 - Remove unused variables due to warnings
21931                 - Fix some comments
21932                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21933
21934 2004-07-06  Dan Williams <dcbw@redhat.com>
21935
21936         * src/NetworkManager.c
21937                 - Add IPv4 address update for active device during link state check
21938                 - Don't allow wireless cards to be powered up when they are not the
21939                         active device
21940
21941         * src/NetworkManagerDbus.c
21942           src/NetworkManagerDbus.h
21943                 - Add DBUS IPv4 address change signal
21944                 - Add DBUS IPv4 address get method for devices
21945
21946         * src/NetworkManagerDevice.c
21947                 - Make setting the WEP key actually work
21948                 - Move IP address get/set/update stuff here, per-device
21949                 - Power down/bring down wireless device when deactivated
21950                 - For scanning wireless devices, if first scan returned ENODATA, try again
21951
21952         * src/NetworkManagerPolicy.c
21953                 - Only set the WEP key for an allowed access point if there is one.
21954                         We were setting it to be blank if one wasn't specified.
21955
21956         * src/NetworkManagerUtils.h
21957           src/NetworkManagerUtils.c
21958                 - Move the IP address stuff to NetworkManagerDevice.c
21959
21960         * dispatcher-daemon/NetworkManagerDispatcher.c
21961                 - Add device IPv4 address change notification stuff
21962
21963 2004-07-05  Dan Williams <dcbw@redhat.com>
21964
21965         * dispatcher-daemon/NetworkManagerDispatcher.c
21966                 - A bit more descriptive state message
21967                 - Don't segfault when reading directory
21968
21969         * src/NetworkManager.h
21970                 - Remove NMData desired_ap member, its now
21971                         per-device rather than global
21972
21973         * src/NetworkManager.c
21974                 - Remove references to desired_ap
21975                 - Move the allowed AP list refresh stuff into a thread
21976
21977         * src/NetworkManagerDevice.c
21978           src/NetworkManagerDevice.h
21979                 - Each wireless device now has a "best ap"
21980                 - Make device activate/deactivate functions per-device
21981                 - Make wireless scanning per-device
21982                 - Add IPv4 address discover functions, stub IPv6 ones
21983                 - Move ethernet address validation functions to NetworkManagerUtils.c
21984                 - Add wireless access point accessor function
21985                 - Get/Set functions for "best ap"
21986
21987         * src/NetworkManagerPolicy.c
21988                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21989                 - Deal with per-device "best ap" rather than data->desired_apa
21990                 - Implement allowed access point worker thread
21991                 - Add nm_policy_essid_is_allowed() function
21992
21993         * src/NetworkManagerUtils.c
21994           src/NetworkManagerUtils.h
21995                 - Add nm_ethernet_address_is_valid() function
21996                 - Add IPv4/IPv6 address get functions
21997
21998         * src/NetworkManagerWireless.c
21999           src/NetworkManagerWireless.h
22000                 - Move scanning stuff into NetworkManagerDevice.c, per-device
22001
22002 2004-06-29  Dan Williams <dcbw@redhat.com>
22003
22004         * dispatcher-daemon/NetworkManagerDispatcher.c
22005                 - Implement script callout functionality
22006
22007 2004-06-24  Dan Williams <dcbw@redhat.com>
22008
22009         * NetworkManager.c
22010             - Spacing cleanups
22011             - Flush device routes and ip addresses when added to the device list
22012
22013         * NetworkManagerDbus.c
22014             - Spacing cleanups
22015             - Add missing returns in the two signal functions
22016         
22017         * NetworkManagerPolicy.c
22018             - Spacing and variable cleanups
22019
22020 2004-06-24  Dan Williams <dcbw@redhat.com>
22021
22022         * Makefile.am
22023           Makefile.in
22024           configure.in
22025           dispatcher-daemon/Makefile.am
22026           dispatcher-daemon/Makefile.in
22027           dispatcher-daemon/NetworkManagerDispatcher.c
22028             - Add a daemon that receives signals from NetworkManager
22029                         and will (eventually) call scripts in /etc/somewhere
22030                         when devices go up or down.
22031         
22032         * NetworkManager.c
22033             - Spacing cleanups
22034             - Flush device routes and ip addresses when added to the device list
22035
22036         * NetworkManagerDbus.c
22037             - Spacing cleanups
22038             - Add missing returns in the two signal functions
22039         
22040         * NetworkManagerPolicy.c
22041             - Spacing and variable cleanups
22042             - Rename nm_policy_switch_interface->nm_policy_switch_device
22043             - nm_policy_switch_device():
22044                                 Use kill (pid) instead of system ("kill <pid>")
22045             - nm_state_modification_monitor():
22046                                 Add wireless essid to output of debug statements
22047                                 Correct typo in device compare to switch or not (should be !=)
22048                                 Don't sleep after sending "no longer active" signal, was useless
22049
22050 2004-06-24  Dan Williams <dcbw@redhat.com>
22051
22052         * Initial import