2008-11-20 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-20  Dan Williams  <dcbw@redhat.com>
2
3         * libnm-util/libnm-util.ver
4           libnm-util/nm-setting.c
5           libnm-util/nm-setting.h
6                 - Add NMSetting errors
7                 - (nm_setting_update_secrets): return errors
8
9         * libnm-util/nm-connection.c
10           libnm-util/nm-connection.h
11                 - (nm_connection_update_secrets): return errors
12
13         * libnm-util/nm-setting-vpn.c
14           src/nm-activation-request.c
15           src/vpn-manager/nm-vpn-connection.c
16                 - Handle update secrets errors
17
18 2008-11-20  Dan Williams  <dcbw@redhat.com>
19
20         * libnm-util/nm-setting.c
21           libnm-util/nm-setting.h
22           libnm-util/libnm-util.ver
23                 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
24                         consistent with nm_connection_new_from_hash()
25
26         * src/nm-activation-request.c
27           libnm-util/nm-connection.c
28                 - Handle rename
29
30 2008-11-19  Dan Williams  <dcbw@redhat.com>
31
32         * configure.in
33           Makefile.am
34           docs/libnm-util/Makefile.am
35           docs/libnm-util/libnm-util.types
36                 - Start to document libnm-util
37
38 2008-11-19  Dan Williams  <dcbw@redhat.com>
39
40         * libnm-util/nm-connection.h
41           libnm-util/nm-connection.c
42                 - Document public functions
43
44 2008-11-19  Dan Williams  <dcbw@redhat.com>
45
46         * libnm-util/nm-setting.h
47           libnm-util/nm-setting.c
48           src/nm-device.c
49           src/nm-manager.c
50           system-settings/plugins/ifcfg-fedora/plugin.c
51                 - Prefix compare flag defines with NM_SETTING_
52
53 2008-11-19  Dan Williams  <dcbw@redhat.com>
54
55         * libnm-util/nm-connection.c
56           libnm-util/nm-connection.h
57                 - (nm_connection_replace_settings): take a GError
58
59         * libnm-glib/nm-settings.c
60           libnm-glib/nm-dbus-connection.c
61           src/nm-manager.c
62           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
63           system-settings/plugins/keyfile/nm-keyfile-connection.c
64           system-settings/plugins/keyfile/plugin.c
65                 - Handle, or don't handle, errors from nm_connection_replace_settings()
66
67 2008-11-19  Dan Williams  <dcbw@redhat.com>
68
69         * libnm-util/libnm-util.ver
70           libnm-util/nm-connection.c
71                 - (nm_setting_register, nm_setting_unregister): unexport; they are
72                         private and don't have a use outside libnm-util
73
74 2008-11-17  Dan Williams  <dcbw@redhat.com>
75
76         * src/nm-hso-gsm-device.c
77                 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
78                         devices
79
80 2008-11-17  Dan Williams  <dcbw@redhat.com>
81
82         * system-settings/plugins/ifcfg-fedora/reader.c
83                 - (read_mac_address): clean up
84                 - (make_wireless_setting): pass NULL array to read_mac_address() like it
85                         expects
86
87         * system-settings/plugins/ifcfg-fedora/plugin.c
88                 - (read_one_connection): don't segfault on NULL errors
89
90 2008-11-14  Dan Williams  <dcbw@redhat.com>
91
92         * Tag 0.7.0-rc2
93
94 2008-11-14  Dan Williams  <dcbw@redhat.com>
95
96         Handle gateways on different subnets
97
98         * src/NetworkManagerSystem.c
99                 - (add_ip4_route_to_gateway): gateway route should be link scope and
100                         a host route
101                 - (replace_default_ip4_route): use a destination address too; gateway
102                         address should be /0; don't leak the gateway route object
103
104 2008-11-14  Dan Williams  <dcbw@redhat.com>
105
106         * libnm-glib/libnm_glib.ver
107           libnm-glib/nm-dbus-settings-system.c
108           libnm-glib/nm-dbus-settings-system.h
109                 - Add libnm-glib bits for CanModify
110
111 2008-11-14  Dan Williams  <dcbw@redhat.com>
112
113         * introspection/nm-settings-system.xml
114           system-settings/src/dbus-settings.c
115           system-settings/src/dbus-settings.h
116                 - Add a "CanModify" property to indicate if any plugins support
117                         connection modification
118
119 2008-11-14  Dan Williams  <dcbw@redhat.com>
120
121         Relicense libnm-glib to LGPLv2+ with agreement from contributors
122
123 2008-11-14  Dan Williams  <dcbw@redhat.com>
124
125         * vpn-manager/nm-vpn-connection.c
126                 - (plugin_state_changed): clear VPN secrets on error to ensure they
127                         are always requested from the settings service (rh #429287)
128
129 2008-11-13  Dan Williams  <dcbw@redhat.com>
130
131         * libnm-util/crypto.c
132                 - (crypto_get_private_key_data): fix bad initial arg type checking
133                         from pkcs#12 patch
134
135 2008-11-13  Dan Williams  <dcbw@redhat.com>
136
137         Add support for PKCS#12 private keys (bgo #558982)
138
139         * libnm-util/crypto.c
140           libnm-util/crypto.h
141                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
142                         take a GByteArray instead of a filename
143                 - (file_to_g_byte_array): handle private key files too
144                 - (decrypt_key): take a GByteArray rather than data + len
145                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
146                         one function that takes a filename, and one that takes raw data;
147                         detect pkcs#12 files as well
148                 - (crypto_load_and_verify_certificate): detect file type
149                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
150                         functions
151
152         * libnm-util/crypto_gnutls.c
153                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
154                         whereby tail padding was incorrectly handled, leading to erroneous
155                         successes when trying to decrypt the data
156                 - (crypto_verify_cert): rework somewhat
157                 - (crypto_verify_pkcs12): validate pkcs#12 keys
158
159         * libnm-util/crypto_nss.c
160                 - (crypto_init): enable various pkcs#12 ciphers
161                 - (crypto_decrypt): take a GByteArray rather than data + len
162                 - (crypto_verify_cert): clean up
163                 - (crypto_verify_pkcs12): validate pkcs#12 keys
164
165         * libnm-util/test-crypto.c
166                 - Handle pkcs#12 keys
167
168         * libnm-util/nm-setting-8021x.c
169           libnm-util/nm-setting-8021x.h
170           libnm-util/libnm-util.ver
171                 - Add two new properties, 'private-key-password' and
172                         'phase2-private-key-password', to be used in conjunction with
173                         pkcs#12 keys
174                 - (nm_setting_802_1x_set_ca_cert_from_file,
175                    nm_setting_802_1x_set_client_cert_from_file,
176                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
177                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
178                         type
179                 - (nm_setting_802_1x_get_private_key_password,
180                    nm_setting_802_1x_get_phase2_private_key_password): return private
181                         key passwords
182                 - (nm_setting_802_1x_set_private_key_from_file,
183                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
184                         key from a file, and update the private key password at the same time
185                 - (nm_setting_802_1x_get_private_key_type,
186                    nm_setting_802_1x_get_phase2_private_key_type): return the private
187                         key type
188
189         * src/supplicant-manager/nm-supplicant-settings-verify.c
190                 - Whitelist private key passwords
191
192         * src/supplicant-manager/nm-supplicant-config.c
193                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
194                         add the private key password to the supplicant config, but do not
195                         add the client certificate (as required by wpa_supplicant)
196
197 2008-11-12  Tambet Ingo  <tambet@gmail.com>
198
199         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
200         (add_secrets): Don't add empty secrets to the secrets hash table.
201
202 2008-11-07  Dan Williams  <dcbw@redhat.com>
203
204         * libnm-util/nm-setting-wireless.c
205                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
206                         that cased this function to return garbage, breaking hidden AP
207                         detection
208
209 2008-11-07  Dan Williams  <dcbw@redhat.com>
210
211         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
212
213         * src/NetworkManagerSystem.c
214           src/NetworkManagerSystem.h
215                 - (nm_system_device_set_ip4_route): return the route that was added
216                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
217                         public, clean up, and return the route that was added
218                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
219                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
220                         flags to allow only certain attributes of the NMIP4Config to be
221                         applied
222
223         * src/nm-device.c
224                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
225                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
226                         what's really changed between the old and new configs; don't export
227                         the new IP4 config on failure; always send the DNS info to the
228                         named manager
229
230         * src/vpn-manager/nm-vpn-connection.c
231                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
232                         parent device's IP4Config and re-add the VPN gateway route when it
233                         changes
234                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
235                         nm_system_apply_ip4_config() no longer does) and cache it for later
236                 - (connection_state_changed): move cleanup code to its own function
237                 - (vpn_cleanup): delete any previously added VPN gateway route; and
238                         re-apply the parent device's addresses and routes using
239                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
240
241 2008-11-07  Dan Williams  <dcbw@redhat.com>
242
243         * src/nm-ip4-config.c
244           src/nm-ip4-config.h
245                 - (nm_ip4_config_diff): new function; return the difference between two
246                         IP4 configs
247                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
248
249 2008-11-05  Dan Williams  <dcbw@redhat.com>
250
251         * nm-ip4-config.c
252           nm-ip4-config.h
253                 - (nm_ip4_config_compare): compare two IP4 configs
254
255 2008-11-05  Dan Williams  <dcbw@redhat.com>
256
257         * src/NetworkManagerPolicy.c
258                 - (update_etc_hosts): only add newline if not the last line of the file
259                         (Jonathan Miner)
260
261 2008-11-05  Dan Williams  <dcbw@redhat.com>
262
263         * src/dhcp-manager/nm-dhcp-dhclient.c
264                 - (get_leasefile_for_iface): move lease files back to where dhclient
265                         puts them
266
267 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
268
269         * initscripts/Debian/NetworkManager
270                 - Update to what Debian is actually using
271
272 2008-11-05  Tambet Ingo  <tambet@gmail.com>
273
274         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
275
276 2008-11-03  Dan Williams  <dcbw@redhat.com>
277
278         * system-settings/src/main.c
279                 - (add_default_dhcp_connection): make the fallback connection read-only
280
281         * libnm-glib/nm-settings.c
282           libnm-glib/nm-settings.h
283                 - Add detailed errors
284                 - (impl_exported_connection_update, impl_exported_connection_delete):
285                         return an error if the connection is read-only
286
287         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
288           system-settings/plugins/keyfile/nm-keyfile-connection.c
289           system-settings/src/main.c
290                 - Use more detailed errors
291
292         * system-settings/src/nm-system-config-error.c
293           system-settings/src/nm-system-config-error.h
294           system-settings/src/dbus-settings.c
295                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
296                         NM_SETTINGS_ERROR_INVALID_CONNECTION
297
298 2008-11-02  Dan Williams  <dcbw@redhat.com>
299
300         * Add license headers to everything in src/
301
302 2008-11-02  Dan Williams  <dcbw@redhat.com>
303
304         * Tag 0.7.0-rc1
305
306 2008-11-02  Dan Williams  <dcbw@redhat.com>
307
308         * src/NetworkManagerAP.c
309                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
310                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
311                         secrets when connecting to an encrypted network failed
312
313 2008-10-30  Dan Williams  <dcbw@redhat.com>
314
315         * libnm-util/libnm-util.ver
316           libnm-util/nm-setting-ip6-config.c
317           libnm-util/nm-setting-ip6-config.h
318           libnm-util/Makefile.am
319                 - Make properties private and add accessor functions
320                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
321
322         * libnm-util/nm-connection.c
323           libnm-util/nm-utils.c
324           libnm-util/nm-utils.h
325                 - Ignore IPv6 stuff for now
326
327 2008-10-30  Dan Williams  <dcbw@redhat.com>
328
329         * libnm-util/libnm-util.ver
330           libnm-util/nm-setting-8021x.c
331           libnm-util/nm-setting-8021x.h
332                 - Make properties private and add accessor functions
333
334         * src/supplicant-manager/nm-supplicant-config.c
335           system-settings/plugins/ifcfg-suse/parser.c
336                 - Use 802.1x setting accessors
337
338 2008-10-30  Dan Williams  <dcbw@redhat.com>
339
340         * libnm-util/libnm-util.ver
341           libnm-util/nm-setting-wireless-security.c
342           libnm-util/nm-setting-wireless-security.h
343                 - Make properties private and add accessor functions
344
345         * libnm-util/nm-setting-wireless.c
346           src/NetworkManagerAP.c
347           src/nm-device-wifi.c
348           src/supplicant-manager/nm-supplicant-config.c
349           system-settings/plugins/ifcfg-fedora/reader.c
350           system-settings/plugins/ifcfg-suse/parser.c
351                 - Use wireless security accessors
352
353 2008-10-30  Dan Williams  <dcbw@redhat.com>
354
355         * src/nm-device-ethernet.c
356           src/nm-device-wifi.c
357           src/nm-device.c
358           src/ppp-manager/nm-ppp-manager.c
359                 - Harmonize return checking of ioctl
360
361         * system-settings/plugins/ifcfg-fedora/reader.c
362                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
363
364 2008-10-30  Dan Williams  <dcbw@redhat.com>
365
366         * src/ppp-manager/nm-ppp-manager.c
367                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
368                         ppp_generic module to create it (bgo #533064)
369
370 2008-10-30  Dan Williams  <dcbw@redhat.com>
371
372         Patch from Alexander Sack <asac@canonical.com>
373
374         Fix "ppp connections don't honour ip4 connection settings"
375
376         * src/nm-device-ethernet.c
377                 - (real_act_stage4_get_ip4_config): merge ip4config settings
378                         with results from ppp manager
379
380         * src/nm-serial-device.c
381                 - (real_act_stage4_get_ip4_config): merge ip4config settings
382                         with results from ppp manager
383
384 2008-10-29  Dan Williams  <dcbw@redhat.com>
385
386         * libnm-util/libnm-util.ver
387           libnm-util/nm-setting-ip4-config.c
388           libnm-util/nm-setting-ip4-config.h
389                 - Make properties private and add accessor functions
390
391         * callouts/nm-dispatcher-action.c
392           libnm-glib/libnm-glib-test.c
393           libnm-util/nm-utils.c
394           src/NetworkManagerPolicy.c
395           src/NetworkManagerSystem.c
396           src/NetworkManagerUtils.c
397           src/dhcp-manager/nm-dhcp-dhclient.c
398           src/dhcp-manager/nm-dhcp-manager.c
399           src/dnsmasq-manager/nm-dnsmasq-manager.c
400           src/nm-device-wifi.c
401           src/nm-device.c
402           src/nm-hso-gsm-device.c
403           src/nm-ip4-config.c
404           src/nm-ip4-config.h
405           src/ppp-manager/nm-ppp-manager.c
406           src/vpn-manager/nm-vpn-connection.c
407           system-settings/plugins/ifcfg-fedora/reader.c
408           system-settings/plugins/ifcfg-suse/parser.c
409           system-settings/plugins/ifcfg-suse/plugin.c
410           system-settings/plugins/ifupdown/parser.c
411           test/nm-tool.c
412           vpn-daemons/vpnc/properties/nm-vpnc.c
413                 - Use IP4 accessor functions
414
415 2008-10-29  Tambet Ingo  <tambet@gmail.com>
416
417         Half of it by Dan Williams <dcbw@redhat.com>
418
419         * libnm-util/libnm-util.ver
420         libnm-util/nm-setting-vpn.c
421         libnm-util/nm-setting-vpn.h
422                 - Make properties private and add accessor functions.
423
424         * src/vpn-manager/nm-vpn-connection.c
425         src/vpn-manager/nm-vpn-manager.c
426         system-settings/plugins/keyfile/reader.c
427         vpn-daemons/openvpn/properties/auth-helpers.c
428         vpn-daemons/openvpn/properties/import-export.c
429         vpn-daemons/openvpn/properties/nm-openvpn.c
430         vpn-daemons/openvpn/src/nm-openvpn-service.c
431         vpn-daemons/pptp/auth-dialog/main.c
432         vpn-daemons/pptp/properties/advanced-dialog.c
433         vpn-daemons/pptp/properties/nm-pptp.c
434         vpn-daemons/pptp/src/nm-pptp-service.c
435         vpn-daemons/vpnc/properties/nm-vpnc.c
436         vpn-daemons/vpnc/src/nm-vpnc-service.c
437                 - Use VPN setting accessors.
438
439 2008-10-28  Dan Williams  <dcbw@redhat.com>
440
441         Patch from Tambet Ingo <tambet@gmail.com>
442
443         * libnm-util/libnm-util.ver
444           libnm-util/nm-setting-wireless.c
445           libnm-util/nm-setting-wireless.h
446                 - Make properties private and add accessor functions
447
448         * src/NetworkManagerAP.c
449           src/nm-device-wifi.c
450           src/nm-manager.c
451           src/supplicant-manager/nm-supplicant-config.c
452           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
453           system-settings/plugins/ifcfg-fedora/reader.c
454           system-settings/plugins/ifcfg-suse/parser.c
455           system-settings/plugins/ifupdown/parser.c
456                 - Use wireless setting accessors
457
458 2008-10-27  Dan Williams  <dcbw@redhat.com>
459
460         Patch from Tambet Ingo <tambet@gmail.com>
461
462         * libnm-util/libnm-util.ver
463           libnm-util/nm-setting-ppp.c
464           libnm-util/nm-setting-ppp.h
465                 - Make properties private and add accessor functions
466
467         * src/ppp-manager/nm-ppp-manager.c
468                 - Use ppp setting accessors
469
470 2008-10-27  Dan Williams  <dcbw@redhat.com>
471
472         Patch from Tambet Ingo <tambet@gmail.com>
473
474         * libnm-util/nm-setting.h
475           libnm-util/nm-setting.c
476                 - Make properties private and add accessor functions
477
478         * libnm-util/nm-connection.c
479           libnm-util/nm-setting-8021x.c
480           libnm-util/nm-setting-cdma.c
481           libnm-util/nm-setting-connection.c
482           libnm-util/nm-setting-gsm.c
483           libnm-util/nm-setting-ip4-config.c
484           libnm-util/nm-setting-ip6-config.c
485           libnm-util/nm-setting-ppp.c
486           libnm-util/nm-setting-pppoe.c
487           libnm-util/nm-setting-serial.c
488           libnm-util/nm-setting-template.c
489           libnm-util/nm-setting-vpn.c
490           libnm-util/nm-setting-wired.c
491           libnm-util/nm-setting-wireless-security.c
492           libnm-util/nm-setting-wireless.c
493           system-settings/plugins/keyfile/reader.c
494           system-settings/plugins/keyfile/writer.c
495                 - Use setting accessors
496
497 2008-10-27  Dan Williams  <dcbw@redhat.com>
498
499         * libnm-util/libnm-util.ver
500           libnm-util/nm-setting-connection.c
501           libnm-util/nm-setting-connection.h
502                 - Add a 'read-only' property that indicates the connection cannot be
503                         modified
504
505         * system-settings/plugins/ifcfg-fedora/reader.c
506           system-settings/plugins/ifcfg-suse/parser.c
507           system-settings/plugins/ifupdown/parser.c
508                 - These plugins are read-only at the moment
509
510         * system-settings/plugins/keyfile/reader.c
511           system-settings/plugins/keyfile/writer.c
512                 - Read-only shouldn't get saved out to files or read in from them
513
514 2008-10-27  Tambet Ingo  <tambet@gmail.com>
515
516         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
517         correct speed reporting for fast devices (kernel >= 2.6.27).
518
519 2008-10-26  Dan Williams  <dcbw@redhat.com>
520
521         Attempt to compensate for modems that don't enable full AT parsing before
522         the PIN has been entered.
523
524         * src/nm-gsm-device.c
525                 - (init_modem): accept different init strings
526                 - (init_done): try different init strings on failure
527                 - (check_pin_done): on PIN success, do full modem init
528
529 2008-10-26  Dan Williams  <dcbw@redhat.com>
530
531         Patch from Tambet Ingo <tambet@gmail.com>
532
533         * libnm-util/libnm-util.ver
534           libnm-util/nm-setting-connection.c
535           libnm-util/nm-setting-connection.h
536                 - Make properties private and add accessor functions
537
538         * src/NetworkManagerPolicy.c
539           src/nm-cdma-device.c
540           src/nm-device-ethernet.c
541           src/nm-device-interface.c
542           src/nm-device-wifi.c
543           src/nm-gsm-device.c
544           src/nm-manager.c
545           src/ppp-manager/nm-ppp-manager.c
546           src/vpn-manager/nm-vpn-connection.c
547           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
548           system-settings/plugins/ifcfg-fedora/plugin.c
549           system-settings/plugins/ifcfg-fedora/reader.c
550           system-settings/plugins/ifcfg-suse/parser.c
551           system-settings/plugins/ifupdown/parser.c
552           system-settings/plugins/keyfile/nm-keyfile-connection.c
553           system-settings/plugins/keyfile/plugin.c
554           system-settings/plugins/keyfile/writer.c
555           system-settings/src/main.c
556                 - Use those accessors
557
558 2008-10-26  Dan Williams  <dcbw@redhat.com>
559
560         Patch from Tambet Ingo <tambet@gmail.com>
561
562         * libnm-util/libnm-util.ver
563           libnm-util/nm-setting-gsm.c
564           libnm-util/nm-setting-gsm.h
565                 - Make properties private and add accessor functions
566
567         * src/nm-gsm-device.c
568           src/nm-hso-gsm-device.c
569           src/ppp-manager/nm-ppp-manager.c
570                 - Use those accessors
571
572 2008-10-26  Dan Williams  <dcbw@redhat.com>
573
574         Patch from Tambet Ingo <tambet@gmail.com>
575
576         * libnm-util/libnm-util.ver
577           libnm-util/nm-setting-cdma.c
578           libnm-util/nm-setting-cdma.h
579                 - Make properties private and add accessor functions
580
581         * src/nm-cdma-device.c
582           src/ppp-manager/nm-ppp-manager.c
583                 - Use those accessors
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-pppoe.c
591           libnm-util/nm-setting-pppoe.h
592                 - Make properties private and add accessor functions
593
594         * src/nm-device-ethernet.c
595           src/ppp-manager/nm-ppp-manager.c
596                 - Use those accessors
597
598 2008-10-26  Dan Williams  <dcbw@redhat.com>
599
600         Patch from Tambet Ingo <tambet@gmail.com>
601
602         * libnm-util/libnm-util.ver
603           libnm-util/nm-setting-wired.c
604           libnm-util/nm-setting-wired.h
605                 - Make properties private and add accessor functions
606
607         * src/nm-device-ethernet.c
608           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
609           system-settings/plugins/ifcfg-suse/parser.c
610           system-settings/src/main.c
611                 - Use those accessors
612
613 2008-10-26  Dan Williams  <dcbw@redhat.com>
614
615         Patch from Tambet Ingo <tambet@gmail.com>
616
617         * libnm-util/libnm-util.ver
618           libnm-util/nm-setting-serial.c
619           libnm-util/nm-setting-serial.h
620           src/nm-serial-device.c
621                 - Make properties private and use accessors instead
622
623 2008-10-26  Dan Williams  <dcbw@redhat.com>
624
625         * src/supplicant-manager/nm-supplicant-interface.c
626           src/supplicant-manager/nm-supplicant-interface.h
627           src/supplicant-manager/nm-supplicant-manager.c
628           src/supplicant-manager/nm-supplicant-manager.h
629                 - Add state-to-string conversion functions
630
631         * src/nm-device-wifi.c
632           src/nm-device-ethernet.c
633                 - Normalize state info logging and use strings instead of numbers
634
635 2008-10-26  Dan Williams  <dcbw@redhat.com>
636
637         * src/NetworkManagerPolicy.c
638                 - (update_routing_and_dns): ignore host routes when determining whether
639                         a VPN connection should own the default route (bgo #552594)
640
641 2008-10-24  Dan Williams  <dcbw@redhat.com>
642
643         * src/nm-gsm-device.c
644                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
645
646 2008-10-23  Dan Williams  <dcbw@redhat.com>
647
648         * src/ppp-manager/nm-ppp-manager.c
649                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
650                         add really important stuff to the command line to ensure that NM
651                         overrides /etc/ppp/options (bgo #556781)
652
653 2008-10-22  Dan Williams  <dcbw@redhat.com>
654
655         * src/NetworkManagerSystem.c
656           src/nm-device.c
657                 - Use the device's IP interface where appropriate (Per Hallsmark)
658
659 2008-10-22  Dan Williams  <dcbw@redhat.com>
660
661         * src/nm-gsm-device.c
662                 - (schedule_automatic_registration_again): use a short timeout here
663                         instead of an idle handler to avoid using too much CPU polling for
664                         something we should be waiting a bit for anyway
665
666 2008-10-22  Dan Williams  <dcbw@redhat.com>
667
668         * include/NetworkManager.h
669           introspection/nm-device.xml
670                 - Add device state change reason for carrier changes
671
672         * src/nm-device-ethernet.c
673                 - (set_carrier): use the carrier change reason when changing device
674                         state in response to carrier changes
675
676 2008-10-21  Dan Williams  <dcbw@redhat.com>
677
678         * src/NetworkManagerPolicy.c
679                 - (update_etc_hosts): don't leak errors, and ensure that
680                         g_file_set_contents() gets a valid error placeholder (rh #461933)
681
682 2008-10-21  Dan Williams  <dcbw@redhat.com>
683
684         * src/nm-manager.c
685                 - (free_get_settings_info): don't use the DBusGProxy which could be
686                         disposed of by the time the function is called
687                 - (internal_new_connection_cb): save connection scope
688                 - (connection_get_settings_cb): don't replace a connection unless it's
689                         actually different from the existing one; fixes an issue where
690                         killing the settings service wouldn't deactivate an active connection
691                         provided by that settings service, because it was using a connection
692                         that had already been replaced in the system or user hash
693
694 2008-10-21  Dan Williams  <dcbw@redhat.com>
695
696         * src/NetworkManager.c
697                 - (main): keep the DHCP manager around since it's a singleton; fixes
698                         a use-after-free exposed by r4196 since the DHCP manager singleton
699                         variable isn't cleared when the DHCP manager object is finalized
700
701 2008-10-20  Dan Williams  <dcbw@redhat.com>
702
703         * libnm-util/nm-setting-wireless-security.c
704                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
705
706 2008-10-20  Dan Williams  <dcbw@redhat.com>
707
708         * src/supplicant-manager/nm-supplicant-config.c
709                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
710
711 2008-10-20  Dan Williams  <dcbw@redhat.com>
712
713         * src/dhcp-manager/nm-dhcp-manager.c
714                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
715                         manager object already refs it once
716                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
717                         also get cleaned up by nm_dhcp_device_destroy() to prevent
718                         double-frees
719
720 2008-10-20  Dan Williams  <dcbw@redhat.com>
721
722         * src/nm-manager.c
723                 - (initial_get_connections): use private dbus manager, don't keep
724                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
725                         manager object.
726
727 2008-10-18  Dan Williams  <dcbw@redhat.com>
728
729         * libnm-glib/nm-settings.c
730           libnm-glib/nm-settings.h
731                 - Rename the "get_secrets" virtual function "service_get_secrets" to
732                         clarify when it's used; NMExportedConnetion is a base-class for both
733                         the client and service side, which is sort of confusing, and
734                         get_secrets only makes sense on the service side.
735
736         * libnm-glib/nm-dbus-connection.c
737                 - (get_secrets): remove, unused, and clients need to do extra work to
738                         get secrets anyway since the call can block on the remote side
739
740         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
741           system-settings/plugins/keyfile/nm-keyfile-connection.c
742                 - Fix up for get_secrets -> service_get_secrets
743
744 2008-10-16  Dan Williams  <dcbw@redhat.com>
745
746         * src/nm-device-wifi.c
747                 - (constructor): correctly determine encryption capabilities
748
749 2008-10-15  Dan Williams  <dcbw@redhat.com>
750
751         * src/nm-device-wifi.c
752                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
753                         (Johannes Berg)
754
755 2008-10-15  Dan Williams  <dcbw@redhat.com>
756
757         * src/NetworkManagerSystem.c
758                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
759                         if the ip4_dest is in a smaller subnet contained within a subnet
760                         the machine is currently on, the destination is in the same subnet
761                 - (nm_system_device_set_ip4_route): move subnet checks to callers
762                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
763                         subnet as the parent device, and if so, don't add the direct
764                         host route via the parent device's gateway (bgo #481620)
765                 - (nm_system_apply_ip4_config): check whether the route to be added
766                         is contained within a subnet the device is already on
767
768 2008-10-11  Dan Williams  <dcbw@redhat.com>
769
770         * include/NetworkManager.h
771           introspection/nm-device.xml
772           include/NetworkManagerVPN.h
773                 - Add a few more state reasons for the device deactivated state
774
775         * src/nm-device-interface.c
776           src/nm-device-interface.h
777                 - (nm_device_interface_deactivate): add a 'reason' argument
778
779         * src/nm-device.c
780           src/nm-device.h
781                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
782                 - (nm_device_state_changed): pass the state change reason to
783                         nm_device_take_down()
784                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
785                         to the state change function
786
787         * src/nm-manager.c
788           src/nm-manager.h
789                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
790                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
791                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
792                         something reasonable along to VPN deactivation
793
794         * src/vpn-manager/nm-vpn-manager.c
795           src/vpn-manager/nm-vpn-manager.h
796                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
797                         pass that along to nm_vpn_connection_disconnect()
798
799 2008-10-11  Dan Williams  <dcbw@redhat.com>
800
801         * src/nm-device-wifi.c
802                 - (can_scan): remove old madwifi hack for not scanning while connected
803
804 2008-10-11  Dan Williams  <dcbw@redhat.com>
805
806         Add support for VPN subnet gateways (bgo #549196)
807
808         * include/NetworkManager.h
809                 - Add key for internal VPN subnet gateway
810
811         * src/vpn-manager/nm-vpn-connection.c
812                 - (ip_address_to_string): return a const from a static buffer so we
813                         don't leak a lot of strings
814                 - (print_vpn_config): print internal VPN gateway as well
815                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
816                         VPN service too
817                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
818
819         * src/NetworkManagerSystem.c
820           src/NetworkManagerSystem.h
821                 - (nm_system_device_replace_default_ip4_route): split into two, one for
822                         VPN connections and one for normal devices
823                 - (replace_default_ip4_route): break out route stuff into its own function
824                 - (nm_system_replace_default_ip4_route_vpn,
825                    nm_system_replace_default_ip4_route): simplify by having two cases,
826                         one for VPNs and one for normal devices
827
828         * src/NetworkManagerPolicy.c
829                 - (update_routing_and_dns): simplify, use split default route replacement
830                         functions
831
832 2008-10-10  Dan Williams  <dcbw@redhat.com>
833
834         Rework default route handling to consolidate decisions in the policy,
835         and to take active VPN connections into account when changing the default
836         route (bgo #545912)
837
838         * src/NetworkManager.c
839                 - (main): pass the vpn_manager to the policy so it knows about active
840                         VPN connections; clean up the named manager which wasn't done before
841
842         * src/NetworkManagerPolicy.c
843           src/NetworkManagerPolicy.h
844                 - (nm_policy_new): get a clue about the vpn_manager
845                 - (update_default_route): remove, fold into update_routing_and_dns()
846                 - (update_routing_and_dns): handle active VPN connections too; an
847                         active VPN connection becomes the default route if it does not have
848                         server-specified or user-specified custom routes.  Otherwise, the
849                         best active device gets the default route
850                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
851                    nm_policy_destroy): track VPN connection activation and deactivation
852                         and update the default route when appropriate
853
854         * src/NetworkManagerSystem.c
855           src/NetworkManagerSystem.h
856                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
857                         in the VPN connection itself
858                 - (nm_system_vpn_device_set_from_ip4_config,
859                    nm_system_device_set_from_ip4_config): merge together to make
860                         nm_system_apply_ip4_config()
861                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
862                         via the parent device
863                 - (nm_system_apply_ip4_config): simplify
864                 - (add_ip4_route_to_gateway): new function; add a direct route to the
865                         gateway if needed
866                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
867                         route stuff out into add_ip4_route_to_gateway() for clarity
868
869         * src/nm-device.c
870                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
871
872         * src/vpn-manager/nm-vpn-connection.c
873           src/vpn-manager/nm-vpn-connection.h
874                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
875                    nm_vpn_connection_get_parent_device): add
876                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
877                         device explicit
878                 - (connection_state_changed): update the named manager now that
879                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
880                         useful on errors
881
882         * src/vpn-manager/nm-vpn-manager.c
883           src/vpn-manager/nm-vpn-manager.h
884                 - Add a 'connection-activated' signal
885                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
886                         policy to find out about active VPN connections
887
888 2008-10-10  Tambet Ingo  <tambet@gmail.com>
889
890         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
891         a daemon to prevent NM logging spew on console on startup and shutdown (due
892         to dependency loop between NM and syslog).
893
894 2008-10-10  Alexander Sack  <asac@ubuntu.com>
895
896         Implement managed mode. We bind devices configured in /etc/network/interfaces
897         to their connections by updating wired/wireless setting with the
898         mac address of the device.
899
900         * system-settings/plugins/ifupdown/plugin.c
901                 - (get_net_address_for_udi): implement function to retrieve MAC
902                         address of udi from hal in GByteArray format
903                 - (bind_device_to_connection): bind mac address of device to
904                         wired/wireless system connection
905                 - (hal_device_added_cb): call bind_device_to_connection for
906                         system connections with a matching interface.name
907                 - (hal_device_added_cb): ensure that all code paths
908                         properly free the "iface" string.
909
910 2008-10-10  Alexander Sack  <asac@ubuntu.com>
911
912         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
913         mode of the ifupdown system config plugin.
914
915         * system-settings/plugins/ifupdown/plugin.c
916                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
917                         private unmanage_well_known state field accordingly
918
919 2008-10-10  Alexander Sack  <asac@ubuntu.com>
920
921         Implement unmanaged mode that will prevent all devices in the
922         well_known_udis set from being touched by NetworkManager
923
924         * system-settings/plugins/ifupdown/plugin.c
925                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
926                         unmanage_well_known field used to turn on/off unmanaged
927                         mode
928                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
929                         signal when well_known_udis get added/removed
930                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
931                         if we are in unmanaged mode
932
933 2008-10-10  Alexander Sack  <asac@ubuntu.com>
934
935         Add support to track network devices that have a configuration
936         with a matching interface.name in /etc/network/interfaces
937
938         * system-settings/plugins/ifupdown/plugin.c
939                 - (typedef struct SCPluginIfupdownPrivate): add hash table
940                         to track |well_known_udis|
941                 - (get_iface_for_udi): helper function to get interface.name
942                         for a udi
943                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
944                         that add and remove devices to and from the well_known_udis
945                         set depending on whether their |interface.name| matches
946                         any interface definition in /etc/network/interfaces
947                 - (SCPluginIfupdown_init): connect callbacks from above with
948                         hal_mgr and setup well_known_udis hashtable
949                 - (GObject__dispose): destroy well_known_udis hashtable
950                 - (hal_device_added_cb2): implement wrapper callback with GFunc
951                         signature. user_data is supposed to be a triple (hal_mgr,
952                         config and devtype)
953                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
954                         startup and call hal_device_added_cb2
955
956 2008-10-10  Alexander Sack  <asac@ubuntu.com>
957
958         Remove implementation for not used NMSystemConfigInterface callback functions
959         in ifupdown plugin
960
961         * system-settings/plugins/ifupdown/plugin.c
962                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
963                 - (SCPluginIfupdown_connection_added): removed
964
965 2008-10-08  Dan Williams  <dcbw@redhat.com>
966
967         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
968
969         * src/NetworkManagerUtils.c
970                 - (nm_utils_call_dispatcher): add a 'hostname' action
971
972         * src/NetworkManagerPolicy.c
973                 - (set_system_hostname): dispatch hostname changes
974
975         * callouts/nm-dispatcher-action.c
976                 - (nm_dispatcher_action): handle 'hostname' actions
977
978 2008-10-08  Dan Williams  <dcbw@redhat.com>
979
980         * src/NetworkManagerSystem.c
981                 - (find_route): ref the route so it doesn't get destroyed when the cache
982                         is cleared
983                 - (nm_system_device_set_priority): unref the route here after it's done
984                         being used
985
986 2008-10-08  Dan Williams  <dcbw@redhat.com>
987
988         * src/nm-serial-device.c
989                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
990
991 2008-10-08  Tambet Ingo  <tambet@gmail.com>
992
993         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
994         connection with new settings before saving it.
995
996 2008-10-06  Dan Williams  <dcbw@redhat.com>
997
998         * src/nm-ip4-config.c
999           src/nm-ip4-config.h
1000                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1001
1002         * src/nm-device-interface.c
1003                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1004                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1005                         by using '/' for the object path
1006
1007         * src/nm-device.c
1008                 - (src/nm-device.c): marshal missing/unexported ip4-config through
1009                         dbus as '/' since dbus-glib can't handle NULL objects nor can
1010                         dbus handle NULL object paths
1011
1012 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1013
1014         Implement system hostname support for debian/ubuntu
1015
1016         * system-settings/plugins/ifupdown/plugin.c
1017                 - (GObject__get_property): extend announced capabilities; add
1018                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1019                 - (GObject__set_property,write_system_hostname): implement
1020                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1021                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1022                    update_system_hostname, get_hostname):
1023                         implement hostname property that watches and
1024                         parses /etc/hostname
1025
1026 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1027
1028         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1029           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1030           system-settings/plugins/ifcfg-fedora/Makefile.am
1031           system-settings/src/nm-inotify-helper.c
1032           system-settings/src/nm-inotify-helper.h
1033           src/Makefile.am
1034                 - Move ifcfg-fedora inotify helpers to the system settings service so
1035                         they are available to all plugins
1036
1037 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1038
1039         Implement support for wep-tx-keyidx in ifupdown system
1040         config plugin.
1041
1042         * system-settings/plugins/ifupdown/parser.c
1043                 - (update_wireless_security_setting_from_if_block): introduce
1044                         free_type_mapping func table; rename a few local
1045                         variables to improve readability; add wpa security mapping
1046                         for wep-tx-keyidx property
1047                 - (string_to_gpointerint): new function used for the auto_type_mapping
1048                         of new wep-tx-keyidx property
1049                 - (slist_free_all): free func used for mapped slist types
1050
1051 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1052
1053         * system-settings/src/main.c:
1054                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1055                         always used as the hash key; fixes a crash when removing wired
1056                         devices
1057
1058 2008-10-02  Dan Williams  <dcbw@redhat.com>
1059
1060         * src/nm-gsm-device.c
1061                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1062                         pass the required GSM secret along via user_data rather than keeping
1063                         it around in the private data where it sometimes didn't get cleared
1064                 - (real_get_ppp_name): implement using the GSM username
1065
1066 2008-10-02  Dan Williams  <dcbw@redhat.com>
1067
1068         * src/ppp-manager/nm-ppp-manager.c
1069           src/ppp-manager/nm-ppp-manager.h
1070                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1071                         the settings daemon for completely new ones
1072                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1073                         local PPP peer name; allow PPP debuging by launching NM with
1074                         the environment variable NM_PPP_DEBUG defined
1075                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1076                         create_pppd_cmd_line()
1077
1078         * src/nm-serial-device.c
1079           src/nm-serial-device.h
1080                 - New 'get_ppp_name' function for subclasses to implement to return the
1081                         local PPP peer name
1082                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1083                         and pass that name to the PPP manager
1084
1085         * src/nm-device-ethernet.c
1086                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1087                         the local peer name
1088
1089         * src/nm-cdma-device.c
1090                 - (real_get_ppp_name): implement using the CDMA username
1091
1092 2008-10-02  Dan Williams  <dcbw@redhat.com>
1093
1094         Patch from Alexander Sack <asac ubuntu com>
1095
1096         * system-settings/plugins/ifupdown/parser.c
1097                 - Implement more graceful ip4 config parsing for cases where
1098                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1099                   by using default values
1100
1101 2008-10-02  Dan Williams  <dcbw@redhat.com>
1102
1103         * src/NetworkManagerPolicy.c
1104                 - (device_state_changed): when marking a connection invalid, clear its
1105                         secrets too so that fresh secrets get requested the next time
1106
1107 2008-10-01  Dan Williams  <dcbw@redhat.com>
1108
1109         * system-settings/src/dbus-settings.c
1110                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1111                         a fallback if no plugin provides a hostname
1112                 - (get_property): fall back to cached hostname if no plugin provides
1113                         a hostname
1114
1115 2008-10-01  Dan Williams  <dcbw@redhat.com>
1116
1117         Fix setting value comparison issue that caused some settings to look the
1118         same when they were really different (rh #464417)
1119
1120         * libnm-util/nm-param-spec-specialized.c
1121                 - (type_is_fixed_size): return fundamental size of the fixed type too
1122                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1123                         in the comparison so that the _entire_ fixed type collection gets
1124                         compared rather than just the first 'len1' bytes
1125
1126 2008-09-30  Dan Williams  <dcbw@redhat.com>
1127
1128         * src/NetworkManagerPolicy.c
1129                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1130                         idle handler could have already run and freed the LookupThread
1131                         structure
1132
1133 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1134
1135         * src/nm-device.c (nm_device_get_priority): Implement.
1136         (nm_device_set_ip4_config): Send the device priority to system ip4 
1137         config setter.
1138
1139         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1140         Add priority argument and if it's >= 0, set the priority of the network
1141         route added automatically by netlink (or kernel?).
1142         (nm_system_device_set_priority): Implement.
1143
1144         * src/NetworkManagerPolicy.c (get_best_device): Use 
1145         nm_device_get_priority() instead of home-grown version. Revert the
1146         meaning, best priority is the lowest one.
1147
1148 2008-09-29  Dan Williams  <dcbw@redhat.com>
1149
1150         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1151         when it returns EAGAIN (rh #362421)
1152
1153         * src/nm-device-wifi.c
1154                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1155                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1156
1157 2008-09-28  Dan Williams  <dcbw@redhat.com>
1158
1159         * src/nm-serial-device.c
1160           src/nm-serial-device.h
1161                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1162                         cleaned at the right times when subclasses close the serial port too
1163                 - (nm_serial_device_send_command): use a default send delay; don't
1164                         spin forever on EAGAIN
1165                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1166                         remove, no longer used
1167                 - (find_response): return the matched response if any
1168                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1169                         while doing so
1170                 - (wait_for_reply_done): pass the matched response to the callback
1171                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1172                         handling
1173                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1174                         const since they never get modified
1175                 - (cleanup_device): split out common cleanup stuff to a new function
1176                 - (real_deactivate_quickly, finalize): use cleanup_device()
1177
1178         * src/nm-gsm-device.c
1179                 - (modem_get_reply): remove, unused
1180                 - (set_apn): give the card a bit more time to respond
1181                 - (manual_registration_again, schedule_manual_registration_again,
1182                    manual_registration_response, manual_registration): handle manual
1183                         registration timeouts better by retrying registration a few times
1184                         because cards are a bit slow after CFUN=1
1185                 - (automatic_registration_get_network, get_network_response): use
1186                         modem_wait_for_reply() because it interacts better with the serial
1187                         buffer and does more intelligent matching; need to wait for 'OK'
1188                         rather than just matching terminators
1189                 - (schedule_automatic_registration_again,
1190                    automatic_registration_response, automatic_registration): retry
1191                         registration a few times on timeout or "searching" because cards
1192                         take a bit to find a network after being powered up with CFUN=1
1193                 - (power_up_response, power_up, init_full_done, enter_pin,
1194                    check_pin_done): power up the card with CFUN=1 before trying to
1195                         register with the network
1196                 - (init_modem_full, init_modem): use more standard 3G init strings
1197
1198         * src/nm-hso-gsm-device.c
1199                 - (modem_get_reply): remove, unused
1200                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1201                         modem_wait_for_reply() to match actual responses instead of single
1202                         termination characters; it doesn't leave stuff in the serial buffer
1203                         that might confuse later calls
1204                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1205                         to ensure that the call is really disconnected and not leave extra
1206                         stuff in the serial buffer
1207
1208         * src/nm-cdma-device.c
1209                 - (power_up_response, power_up, init_done): try Sierra-style modem
1210                         power up before attempting to connect
1211
1212 2008-09-27  Dan Williams  <dcbw@redhat.com>
1213
1214         * libnm-util/nm-setting-gsm.c
1215                 - (verify): verify GSM network ID
1216
1217 2008-09-25  Dan Williams  <dcbw@redhat.com>
1218
1219         * libnm-util/nm-setting-gsm.c
1220           libnm-util/nm-setting-gsm.h
1221                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1222                         technology terms (bgo #551361)
1223
1224 2008-09-25  Dan Williams  <dcbw@redhat.com>
1225
1226         Fix bgo #549401 (inspired by patch from Alexander Sack)
1227
1228         * src/nm-device-ethernet.c
1229                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1230                 - (remove_supplicant_interface_error_handler): remove the supplicant
1231                         error idle callback too
1232                 - (supplicant_interface_release): rename from supplicant_interface_clean
1233                         to match nm-device-wifi.c; clean up supplicant interface-related
1234                         state tasks when the supplicant interface is disposed of
1235                 - (schedule_state_handler): add scheduled tasks to a list so they can
1236                         be cleaned up later
1237                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1238                    supplicant_iface_connection_state_cb_handler): use
1239                         finish_supplicant_task() to clean up each completed task
1240                 - (supplicant_iface_connection_error_cb_handler,
1241                    supplicant_connection_timeout_cb): clear source id when the task is
1242                         complete
1243                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1244                         later cleanup
1245                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1246                         tasks
1247
1248         * src/nm-device-wifi.c
1249                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1250                 - (remove_supplicant_interface_error_handler): remove the supplicant
1251                         error idle callback too
1252                 - (supplicant_interface_release): clean up supplicant interface-related
1253                         state tasks when the supplicant interface is disposed of
1254                 - (schedule_state_handler): add scheduled tasks to a list so they can
1255                         be cleaned up later
1256                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1257                    supplicant_iface_connection_state_cb_handler): use
1258                         finish_supplicant_task() to clean up each completed task
1259                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1260                         the task is complete
1261                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1262                         later cleanup
1263                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1264
1265 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1266
1267         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1268         method and get/set hostname property.
1269
1270 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1271
1272         * src/supplicant-manager/nm-supplicant-interface.c
1273         (nm_supplicant_interface_disconnect): Don't increment the reference 
1274         count when disconnecting. The problem is on shutdown, when the replies
1275         to these commands do not arrive before NM exits, resulting on never
1276         calling supplicant interface's dispose(), which removes the interface
1277         from supplicant.
1278
1279 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1280
1281         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1282         all the public function arguments.
1283
1284 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1285
1286         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1287         "Failure" signal from VPN plugins, store the failure reason, and
1288         use it when the state is changed to failure.
1289
1290         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1291         description.
1292
1293         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1294         reason to the end of the list to not break the API.
1295         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1296         so it can be shared by plugins and daemon.
1297
1298 2008-09-18  Dan Williams  <dcbw@redhat.com>
1299
1300         Patch from Alexander Sack <asac@ubuntu.com>
1301
1302         * configure.in
1303           system-settings/plugins/Makefile.am
1304           system-settings/plugins/ifupdown/Makefile.am
1305           system-settings/plugins/ifupdown/interface_parser.c
1306           system-settings/plugins/ifupdown/interface_parser.h
1307           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1308           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1309           system-settings/plugins/ifupdown/parser.c
1310           system-settings/plugins/ifupdown/parser.h
1311           system-settings/plugins/ifupdown/plugin.c
1312           system-settings/plugins/ifupdown/plugin.h
1313                 - Implement a Debian/Ubuntu legacy network configuration plugin
1314                         (gnome.org #551941)
1315
1316 2008-09-18  Dan Williams  <dcbw@redhat.com>
1317
1318         Implement support for honoring configured and automatic hostnames, and for
1319         setting the configured hostname.
1320
1321         * introspection/nm-ip4-config.xml
1322           src/nm-ip4-config.c
1323           src/nm-ip4-config.h
1324           src/dhcp-manager/nm-dhcp-manager.c
1325                 - Remove useless hostname property; it's not really part of the IPv4
1326                         config
1327
1328         * introspection/nm-settings-system.xml
1329           libnm-glib/nm-dbus-settings-system.c
1330           libnm-glib/nm-dbus-settings-system.h
1331                 - Add SetHostname() call to system settings D-Bus interface
1332                 - Add Hostname property to system settings D-Bus interface
1333                 - (nm_dbus_settings_system_save_hostname,
1334                    nm_dbus_settings_system_get_hostname): implement
1335
1336         * src/nm-device.c
1337           src/nm-device.h
1338                 - (nm_device_get_dhcp4_config): implement
1339
1340         * src/nm-manager.c
1341           src/nm-manager.h
1342                 - Fetch and track system settings service hostname changes, and proxy
1343                         the changes via a GObject property of the manager
1344
1345         * system-settings/src/nm-system-config-interface.c
1346           system-settings/src/nm-system-config-interface.h
1347                 - Replace nm_system_config_interface_supports_add() with a capabilities
1348                         bitfield
1349
1350         * system-settings/src/nm-system-config-error.c
1351           system-settings/src/nm-system-config-error.h
1352                 - Add additional errors
1353
1354         * system-settings/src/dbus-settings.c
1355           system-settings/src/dbus-settings.h
1356                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1357                         property; first plugin returning a hostname wins
1358                 - (impl_settings_add_connection): use plugin capabilities instead of
1359                         nm_system_config_interface_supports_add()
1360                 - (impl_settings_save_hostname): implement hostname saving
1361
1362         * src/NetworkManagerPolicy.c
1363                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1364                    lookup_thread_die): implement an asynchronous hostname lookup thread
1365                         which given an IPv4 address tries to look up the hostname for that
1366                         address with reverse DNS
1367                 - (get_best_device): split out best device code from
1368                         update_routing_and_dns()
1369                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1370                         to preserve the 127.0.0.1 reverse mapping that so many things require
1371                 - (set_system_hostname): set a given hostname
1372                 - (update_system_hostname): implement hostname policy; a configured
1373                         hostname (from the system settings service) is used if available,
1374                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1375                         If there was no automatically determined hostname, reverse DNS of
1376                         the best device's IP address will be used, and as a last resort the
1377                         hostname 'localhost.localdomain' is set.
1378                 - (update_routing_and_dns): use get_best_device(); update the system
1379                         hostname when the network config changes
1380                 - (hostname_changed): update system hostname if the system settings
1381                         service signals a hostname change
1382                 - (nm_policy_new): list for system settings service hostname changes
1383                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1384                         gets told to die
1385
1386         * system-settings/plugins/keyfile/plugin.c
1387           system-settings/plugins/ifcfg-suse/plugin.c
1388                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1389                         capabilities properties
1390
1391         * system-settings/plugins/ifcfg-fedora/shvar.c
1392                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1393                         writes out /etc/sysconfig/network now
1394
1395         * system-settings/plugins/ifcfg-fedora/plugin.c
1396                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1397                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1398                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1399                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1400                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1401                         hostname get/set and capabilities get
1402
1403 2008-09-18  Dan Williams  <dcbw@redhat.com>
1404
1405         * libnm-util/nm-setting-wireless.c
1406                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1407                         group ciphers if the wireless-security setting explicitly specified
1408                         them, effectively making the default be "all ciphers"  (idea from
1409                         Alexander Sack)
1410
1411 2008-09-15  Dan Williams  <dcbw@redhat.com>
1412
1413         Patch from Alexander Sack <asac@ubuntu.com>
1414
1415         * src/named-manager/nm-named-manager.c
1416                 - (dispatch_resolvconf): respect resolvconf exit code
1417
1418 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1419
1420         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1421         again. Add some debugging.
1422
1423 2008-09-11  Dan Williams  <dcbw@redhat.com>
1424
1425         * system-settings/plugins/keyfile/plugin.c
1426                 - (update_connection_settings): update connection manually, since
1427                         nm_exported_connection_update() does authentication
1428                 - (dir_changed): update_connection_settings() doesn't need to return
1429                         an error
1430
1431 2008-09-09  Dan Williams  <dcbw@redhat.com>
1432
1433         * libnm-glib/nm-vpn-plugin-ui-interface.c
1434           libnm-glib/nm-vpn-plugin-ui-interface.h
1435           libnm-glib/libnm_glib_vpn.ver
1436                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1437                         should clean up resources related to the connection (like keyring
1438                         secrets)
1439                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1440                         should save user-scope secrets (like to the keyring)
1441
1442 2008-09-08  Dan Williams  <dcbw@redhat.com>
1443
1444         Patch from Alexander Sack <asac@ubuntu.com>
1445
1446         * libnm-util/crypto_gnutls.c
1447           libnm-util/crypto_nss.c
1448                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1449
1450         * libnm-util/nm-utils.c
1451           libnm-util/nm-utils.h
1452           libnm-util/libnm-util.ver
1453                 - (nm_utils_init): initialize libnm-util
1454                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1455
1456         * libnm-util/nm-setting-8021x.c
1457                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1458
1459 2008-09-05  Dan Williams  <dcbw@redhat.com>
1460
1461         Patch from Roy Marples <roy@marples.name> and others
1462
1463         * configure.in
1464           src/named-manager/nm-named-manager.c
1465                 - Add support for resolvconf; use --with-resolvconf at configure time
1466                         to enable it
1467
1468 2008-09-05  Dan Williams  <dcbw@redhat.com>
1469
1470         * libnm-util/crypto_nss.c
1471           libnm-util/crypto_gnutls.c
1472           libnm-util/crypto.h
1473                 - (crypto_init): return error when init fails
1474
1475 2008-09-05  Dan Williams  <dcbw@redhat.com>
1476
1477         * libnm-glib/nm-device-wifi.c
1478                 - (access_point_removed_proxy): clean up the active access point too
1479                         just in case the active ap changed signal didn't come through yet
1480                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1481
1482 2008-09-05  Dan Williams  <dcbw@redhat.com>
1483
1484         * libnm-glib/nm-client.c
1485                 - (constructor): get initial state after we know whether NM is running
1486                         or not
1487
1488 2008-09-05  Dan Williams  <dcbw@redhat.com>
1489
1490         * libnm-glib/nm-ip4-config.c
1491           libnm-glib/nm-dhcp4-config.c
1492                 - (finalize): clean up the DBusGProxy
1493
1494 2008-09-04  Dan Williams  <dcbw@redhat.com>
1495
1496         * src/nm-ip4-config.c
1497           src/nm-ip4-config.h
1498                 - (nm_ip4_config_new): don't export over D-Bus here
1499                 - (nm_ip4_config_export): new function; export the config over D-Bus
1500                 - (nm_ip4_config_is_exported): new function
1501
1502         * src/nm-device.c
1503                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1504                         objects by balancing the IP4Config constructor; the device holds
1505                         a reference to the IP4Config already
1506                 - (nm_device_set_ip4_config): export the IP4Config when needed
1507
1508 2008-09-04  Dan Williams  <dcbw@redhat.com>
1509
1510         * src/supplicant-manager/nm-supplicant-settings-verify.c
1511                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1512
1513 2008-09-04  Dan Williams  <dcbw@redhat.com>
1514
1515         * libnm-util/nm-setting-vpn.c
1516           libnm-util/nm-setting-vpn.h
1517                 - Split VPN secrets from VPN data so that settings services can actually
1518                         figure out that they are secrets and store them accordingly
1519
1520         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1521           system-settings/plugins/keyfile/reader.c
1522           system-settings/plugins/keyfile/reader.h
1523           system-settings/plugins/keyfile/writer.c
1524                 - Store VPN secrets separately from VPN data so that they can be fetched
1525                         on demand
1526                 - Implement the get_secrets() call so that (a) secrets don't leak out
1527                         to unprivileged callers, and (b) secrets can be sent to privileged
1528                         callers when needed
1529
1530         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1531                 - Handle split VPN secrets
1532
1533 2008-08-27  Dan Williams  <dcbw@redhat.com>
1534
1535         * system-settings/plugins/ifcfg-fedora/reader.c
1536                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1537
1538 2008-08-27  Dan Williams  <dcbw@redhat.com>
1539
1540         Ensure zombie children get cleaned up.  To get notifications when children
1541         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1542         that requires calling waitpid() yourself if you've removed the child watch
1543         handler before the process has actually died, which NM needs to do in a few
1544         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1545         cleans up after the child when required.  Should fix problems trying to
1546         activate mobile broadband connections after a previous failure.
1547
1548         * src/dhcp-manager/nm-dhcp-dhclient.c
1549           src/dhcp-manager/nm-dhcp-dhcpcd.c
1550                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1551
1552         * src/dhcp-manager/nm-dhcp-manager.c
1553                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1554                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1555                         block on child quitting, since the non-blocking functionality was
1556                         never actually used
1557
1558         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1559                 - (dm_watch_cb): child is already reaped here
1560                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1561
1562         * src/nm-device.c
1563                 - (aipd_cleanup): block until child is dead
1564
1565         * src/named-manager/nm-named-manager.c
1566                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1567                         event bothering to watch the child
1568
1569         * src/ppp-manager/nm-ppp-manager.c
1570                 - (ppp_watch_cb): child is already reaped here
1571                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1572
1573         * src/vpn-manager/nm-vpn-service.c
1574                 - (vpn_service_watch_cb): child is already reaped here
1575                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1576                         status of the child is actually tracked
1577                 - (ensure_killed, finalize): block until child is dead
1578
1579 2008-08-26  Dan Williams  <dcbw@redhat.com>
1580
1581         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1582                 - (update): Update filename of the connection if the connection id
1583                         was changed
1584
1585         * system-settings/plugins/keyfile/plugin.c
1586                 - (dir_changed): first pass at handling connection renames correctly
1587
1588         * system-settings/plugins/keyfile/writer.c
1589           system-settings/plugins/keyfile/writer.h
1590                 - (write_connection): replace '/' with '*' when writing out the filename
1591                         from the connection id
1592
1593 2008-08-26  Dan Williams  <dcbw@redhat.com>
1594
1595         Add connection UUIDs, since connection names can be changed, and since
1596         old-style connection IDs could change over the life of the connection.  The
1597         UUID should be assigned at connection creation time, be stable for a given
1598         connection, and should be unique among all connections for a given settings
1599         service.
1600
1601         * configure.in
1602           libnm-util/Makefile.am
1603                 - Require libuuid
1604
1605         * introspection/nm-exported-connection.xml
1606                 - Remove "GetID" method
1607
1608         * libnm-glib/nm-dbus-connection.c
1609           libnm-glib/nm-settings.c
1610           libnm-glib/nm-settings.h
1611                 - Remove id-related stuff
1612
1613         * libnm-util/nm-utils.c
1614           libnm-util/nm-utils.h
1615           libnm-util/libnm-util.ver
1616                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1617                         utility functions to generate UUIDs
1618
1619         * libnm-util/nm-setting-connection.c
1620           libnm-util/nm-setting-connection.h
1621                 - Add 'uuid' member to the connection setting
1622                 - (verify): require valid 'uuid' for a valid connection
1623
1624         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1625           system-settings/plugins/ifcfg-fedora/reader.c
1626           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1627           system-settings/plugins/ifcfg-suse/parser.c
1628           system-settings/plugins/keyfile/nm-keyfile-connection.c
1629           system-settings/src/main.c
1630                 - Remove id-related stuff
1631                 - Give connections UUIDs where needed
1632
1633 2008-08-25  Dan Williams  <dcbw@redhat.com>
1634
1635         * libnm-util/crypto_gnutls.c
1636           libnm-util/crypto_nss.c
1637                 - (crypto_init, crypto_deinit): refcount init/deinit
1638                 - (crypto_md5_hash): allow NULL salt
1639
1640 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1641
1642         * libnm-glib/Makefile.am
1643           libnm-util/Makefile.am
1644           libnm-glib/libnm_glib.ver
1645           libnm-glib/libnm_glib_vpn.ver
1646           libnm-util/libnm-util.ver
1647                 - Use linker version scripts to control the list of exported 
1648                 symbols. List each exported symbol explicitely.
1649         * libnm-util/Makefile.am
1650                 - Fix compilation of the test-crypto binary. The crypto
1651                 functions are no longer part of the libnm-util API. Add 
1652                 crypto_*.c to test_crypto_SOURCES and link against the correct
1653                 crypto libraries.
1654
1655 2008-08-19  Dan Williams  <dcbw@redhat.com>
1656
1657         * configure.in
1658           test/Makefile.am
1659                 - Don't build test/test-common
1660                 - Remove unused stuff
1661
1662         * test/nm-set-fallback
1663           test/nmtestdevices.c
1664           test/test-common/.cvsignore
1665           test/test-common/Makefile.am
1666           test/test-common/test-common.c
1667           test/test-common/test-common.h
1668                 - delete
1669
1670 2008-08-18  Dan Williams  <dcbw@redhat.com>
1671
1672         * libnm-util/nm-utils.c
1673           libnm-util/nm-utils.h
1674                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1675                         export anything that needs to be converted with this function
1676
1677         * src/dhcp-manager/nm-dhcp-manager.c
1678                 - (garray_to_string): convert a byte array to a UTF-8 string with
1679                         minimal validation; the DHCP client sends it in ASCII anyway
1680                 - (get_option, copy_option): use garray_to_string()
1681
1682 2008-08-18  Dan Williams  <dcbw@redhat.com>
1683
1684         * include/NetworkManager.h
1685           introspection/nm-device.xml
1686                 - Add a "missing firmware" device state reason
1687
1688         * src/NetworkManagerSystem.c
1689           src/NetworkManagerSystem.h
1690                 - (nm_system_device_set_up_down): add a no_firmware argument
1691                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1692                         IFF_UP is ENOENT, that almost always means missing firmware
1693
1694         * src/backends/NetworkManagerGeneric.c
1695           src/nm-device-ethernet.c
1696           src/nm-device-private.h
1697           src/nm-device-wifi.c
1698           src/nm-device.c
1699           src/nm-device.h
1700           src/nm-hso-gsm-device.c
1701           src/vpn-manager/nm-vpn-connection.c
1702                 - Pass no_firmware along; check it where appropriate
1703
1704 2008-08-18  Dan Williams  <dcbw@redhat.com>
1705
1706         Patch from Robert Buchholz <rbu@gentoo.org>
1707
1708         * autogen.sh
1709           configure.in
1710                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1711                         1003.1-1988, allowing for file names longer than 99 characters
1712
1713 2008-08-17  Dan Williams  <dcbw@redhat.com>
1714
1715         * include/NetworkManager.h
1716           introspection/nm-device.xml
1717           src/nm-gsm-device.c
1718                 - Finer-grained GSM registration failure error codes
1719
1720 2008-08-17  Dan Williams  <dcbw@redhat.com>
1721
1722         * callouts/Makefile.am
1723           src/Makefile.am
1724                 - Move dispatcher directory creation to callouts/Makefile.am
1725
1726         * system-settings/plugins/keyfile/Makefile.am
1727                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1728
1729 2008-08-15  Dan Williams  <dcbw@redhat.com>
1730
1731         Do connection sharing in a cleaner manner; all required iptables rules
1732         are now stored in the activation request and pertain only to the device
1733         which is being shared to other computers. (rh #458625)
1734
1735         * src/nm-activation-request.c
1736           src/nm-activation-request.h
1737                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1738                         the activation request which will get torn down automatically when
1739                         the activation request dies
1740                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1741                         is started, and tear them down when sharing is stopped
1742
1743         * src/nm-device.c
1744                 - (start_sharing): start up sharing by doing the required iptables magic
1745                 - (share_init): poke the right bits of the kernel and load the right
1746                         modules for NAT
1747                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1748                         connection if it's a 'shared' connection
1749
1750         * src/NetworkManagerPolicy.c
1751                 - Remove all sharing stuff; done in the device code itself
1752
1753 2008-08-15  Dan Williams  <dcbw@redhat.com>
1754
1755         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1756                 - (create_dm_cmd_line): send the right router address
1757
1758 2008-08-15  Dan Williams  <dcbw@redhat.com>
1759
1760         * src/ppp-manager/nm-ppp-manager.c
1761                 - (pppd_timed_out): ensure timeouts fail the connection
1762
1763 2008-08-14  Dan Williams  <dcbw@redhat.com>
1764
1765         * src/nm-properties-changed-signal.c
1766           src/nm-properties-changed-signal.h
1767                 - Add a property spec flag for "don't export this property" in
1768                         property changed signals
1769
1770         * src/nm-hso-gsm-device.c
1771           src/nm-gsm-device.c
1772           src/nm-cdma-device.c
1773                 - Don't export monitor interface or netdev interface properties
1774
1775 2008-08-14  Dan Williams  <dcbw@redhat.com>
1776
1777         * src/NetworkManagerPolicy.c
1778                 - (update_routing_and_dns): 'hso' devices can be default even if they
1779                         don't have a gateway
1780
1781 2008-08-14  Dan Williams  <dcbw@redhat.com>
1782
1783         * src/nm-device.c
1784                 - (nm_device_deactivate_quickly): tear down activation request after
1785                         calling device-specific deactivation
1786
1787         * src/nm-hso-gsm-device.c
1788                 - (real_deactivate_quickly): terminate connection when deactivating
1789
1790 2008-08-14  Dan Williams  <dcbw@redhat.com>
1791
1792         * src/nm-activation-request.h
1793                 - Add HSO secrets caller
1794
1795         * src/nm-gsm-device.c
1796           src/nm-gsm-device.h
1797                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1798                         something to the callback function
1799                 - (set_apn, set_apn_done): call class dial function, not a static one
1800                 - (nm_gsm_device_class_init): add a class 'dial' function
1801
1802         * src/nm-hal-manager.c
1803                 - (get_hso_netdev): find the hso-driven hardware's net device
1804                 - (modem_device_creator): recognize hso-driven hardware and create the
1805                         right type of device object for it
1806
1807         * src/Makefile.am
1808           src/nm-hso-gsm-device.c
1809           src/nm-hso-gsm-device.h
1810                 - Implement support for devices driven by the 'hso' driver as a subclass
1811                         of NMGsmDevice
1812
1813 2008-08-14  Dan Williams  <dcbw@redhat.com>
1814
1815         * src/NetworkManagerSystem.c
1816                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1817                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1818                         success if the operation really was successful
1819
1820 2008-08-14  Dan Williams  <dcbw@redhat.com>
1821
1822         * src/nm-netlink-monitor.c
1823           src/nm-netlink-monitor.h
1824           src/nm-device-ethernet.c
1825                 - (nm_netlink_monitor_request_status): return an error on failure
1826                 - (constructor): don't segfault on missing error
1827
1828 2008-08-13  Dan Williams  <dcbw@redhat.com>
1829
1830         * callouts/nm-dispatcher-action.c
1831                 - Add IP4 config info to script environment
1832
1833 2008-08-12  Dan Williams  <dcbw@redhat.com>
1834
1835         * src/nm-device.c
1836                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1837                         that want to use DHCP hostnames should use dispatcher scripts
1838                         for that
1839
1840         * src/NetworkManagerSystem.h
1841           src/backends/NetworkManagerArch.c
1842           src/backends/NetworkManagerDebian.c
1843           src/backends/NetworkManagerFrugalware.c
1844           src/backends/NetworkManagerGeneric.c
1845           src/backends/NetworkManagerGeneric.h
1846           src/backends/NetworkManagerGentoo.c
1847           src/backends/NetworkManagerMandriva.c
1848           src/backends/NetworkManagerPaldo.c
1849           src/backends/NetworkManagerRedHat.c
1850           src/backends/NetworkManagerSlackware.c
1851           src/backends/NetworkManagerSuSE.c
1852                 - Remove nm_system_set_hostname(), no longer used
1853           
1854         * src/backends/Makefile.am
1855           src/backends/shvar.c
1856           src/backends/shvar.h
1857                 - Remove shvar.*; no longer used
1858
1859 2008-08-12  Dan Williams  <dcbw@redhat.com>
1860
1861         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1862         hostname is updated at runtime.  Distros or users who want hostname updates
1863         can use dispatcher scripts to update the hostname if they need it.
1864
1865 2008-08-12  Dan Williams  <dcbw@redhat.com>
1866
1867         * introspection/nm-settings-system.xml
1868           system-settings/src/dbus-settings.c
1869           system-settings/src/dbus-settings.h
1870                 - Add a 'Hostname' property (rw) which represents the configured
1871                         hostname and domain of the system, if any
1872
1873         * system-settings/src/nm-system-config-error.c
1874           system-settings/src/nm-system-config-error.h
1875           system-settings/src/nm-system-config-interface.c
1876           system-settings/src/nm-system-config-interface.h
1877                 - Add a 'hostname' property to the plugin interface
1878                 - Add a method to send updated hostname to plugins to save in their
1879                         backing configuration store
1880
1881         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1882           system-settings/plugins/keyfile/plugin.c
1883           system-settings/plugins/keyfile/writer.c
1884           system-settings/plugins/keyfile/writer.h
1885           system-settings/plugins/ifcfg-suse/plugin.c
1886                 - Add minimal hostname support
1887
1888         * system-settings/plugins/ifcfg-fedora/plugin.c
1889                 - Add support for updating system hostname in /etc/sysconfig/network
1890
1891 2008-08-12  Dan Williams  <dcbw@redhat.com>
1892
1893         * system-settings/plugins/ifcfg-fedora/shvar.c
1894           system-settings/plugins/ifcfg-fedora/shvar.c
1895                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1896
1897 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1898
1899         * Makefile.am: Fix distcheck.
1900
1901 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1902
1903         * libnm-glib/*.c. Document some more.
1904
1905 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1906
1907         Start documenting libnm-glib public API using gtk-doc.
1908
1909         * libnm-glib/nm-serial-device.c: 
1910         * libnm-glib/nm-object.c: 
1911         * libnm-glib/nm-gsm-device.c: 
1912         * libnm-glib/nm-device.c: 
1913         * libnm-glib/nm-device-wifi.c: 
1914         * libnm-glib/nm-device-ethernet.c: 
1915         * libnm-glib/nm-client.c: 
1916         * libnm-glib/nm-cdma-device.c: Document the public API.
1917
1918         * docs/libnm-glib/libnm-glib.types: Implement.
1919
1920         * docs/libnm-glib/Makefile.am: Implement.
1921
1922         * autogen.sh: 
1923         * configure.in: 
1924         * Makefile.am: Add gtk-doc support.
1925
1926 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1927
1928         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1929
1930         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1931         the composite result of all the IP4 configurations and call a distro
1932         specific update_resolv_conf().
1933         (update_resolv_conf): Implement one for directly writing to 
1934         /etc/resolv.conf and one for opensuse to call netconfig.
1935
1936 2008-08-11  Dan Williams  <dcbw@redhat.com>
1937
1938         * src/ppp-manager/nm-ppp-manager.c
1939                 - (impl_ppp_manager_need_secrets): pass interface as required
1940
1941 2008-08-11  Dan Williams  <dcbw@redhat.com>
1942
1943         Merge the vpn-properties setting with the vpn setting since it was pointless
1944         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1945         of string:string (instead of string:variant) so that system settings plugins
1946         can have an easier time dealing with the arbitrary key/value pairs.
1947
1948 2008-08-11  Dan Williams  <dcbw@redhat.com>
1949
1950         * libnm-util/nm-utils.c
1951                 - (nm_utils_register_value_transformations): add value transform for
1952                         a hash table of string:string
1953
1954 2008-08-10  Dan Williams  <dcbw@redhat.com>
1955
1956         * libnm-glib/nm-vpn-plugin.c
1957                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1958                         an idle handler so the Connect reply gets delivered before the
1959                         stop StateChanged signal
1960
1961 2008-08-10  Dan Williams  <dcbw@redhat.com>
1962
1963         * src/nm-ip4-config.c
1964                 - (get_property): use common ip4 address/route conversion functions
1965                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1966                         copy the new route here, not take ownership
1967
1968 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1969
1970         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1971         Update the IP4 setting's method name.
1972
1973 2008-08-07  Dan Williams  <dcbw@redhat.com>
1974
1975         * introspection/nm-ip4-config.xml
1976           libnm-glib/libnm-glib-test.c
1977           libnm-glib/nm-ip4-config.c
1978           libnm-glib/nm-ip4-config.h
1979           src/NetworkManagerSystem.h
1980           src/backends/NetworkManagerArch.c
1981           src/backends/NetworkManagerDebian.c
1982           src/backends/NetworkManagerFrugalware.c
1983           src/backends/NetworkManagerGeneric.c
1984           src/backends/NetworkManagerGeneric.h
1985           src/backends/NetworkManagerGentoo.c
1986           src/backends/NetworkManagerMandriva.c
1987           src/backends/NetworkManagerPaldo.c
1988           src/backends/NetworkManagerRedHat.c
1989           src/backends/NetworkManagerSlackware.c
1990           src/backends/NetworkManagerSuSE.c
1991           src/dhcp-manager/nm-dhcp-manager.c
1992           src/nm-device.c
1993           src/nm-ip4-config.c
1994           src/nm-ip4-config.h
1995                 - Remove NIS logic; should be done from dispatcher scripts instead
1996
1997 2008-08-07  Dan Williams  <dcbw@redhat.com>
1998
1999         * src/dhcp-manager/nm-dhcp-manager.c
2000                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2001                         mis-handling of DHCP responses that returned more than one router
2002                         (found by Grant Williamson)
2003
2004 2008-08-07  Dan Williams  <dcbw@redhat.com>
2005
2006         * callouts/nm-dispatcher-action.c
2007                 - (nm_dispatcher_action): grab device path and create the device; pass
2008                         the device's DHCP4 config to script caller
2009                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2010                         scripts
2011
2012         * libnm-glib/nm-dhcp4-config.c
2013           libnm-glib/nm-dhcp4-config.h
2014                 - (nm_dhcp4_config_get_options): expose
2015                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2016
2017 2008-08-07  Dan Williams  <dcbw@redhat.com>
2018
2019         * include/NetworkManager.h
2020                 - Add the DHCP4Config D-Bus interface
2021
2022         * libnm-glib/Makefile.am
2023           libnm-glib/nm-dhcp4-config.c
2024           libnm-glib/nm-dhcp4-config.h
2025                 - Handle DHCP4 config objects exported by NM over D-Bus
2026
2027         * libnm-glib/nm-device.c
2028           libnm-glib/nm-device.h
2029                 - Add a 'dhcp4-config' property
2030
2031         * libnm-glib/libnm-glib-test.c
2032                 - Print out DHCP4 config for devices
2033                 - Fix some crashes when no connections are active
2034
2035         * src/nm-device-interface.c
2036           src/nm-device.c
2037           src/nm-dhcp4-config.c
2038           src/nm-dhcp4-config.h
2039                 - Treat dhcp4-config object as an object path at the D-Bus interface so
2040                         that when it doesn't exist we can proxy it as "/" which dbus-glib
2041                         doesn't let us do when the property type is G_TYPE_OBJECT
2042
2043 2008-08-07  Dan Williams  <dcbw@redhat.com>
2044
2045         * src/NetworkManager.c
2046           src/NetworkManagerSystem.h
2047           src/backends/NetworkManagerArch.c
2048           src/backends/NetworkManagerDebian.c
2049           src/backends/NetworkManagerFrugalware.c
2050           src/backends/NetworkManagerGeneric.c
2051           src/backends/NetworkManagerGeneric.h
2052           src/backends/NetworkManagerGentoo.c
2053           src/backends/NetworkManagerMandriva.c
2054           src/backends/NetworkManagerPaldo.c
2055           src/backends/NetworkManagerRedHat.c
2056           src/backends/NetworkManagerSlackware.c
2057           src/backends/NetworkManagerSuSE.c
2058                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2059
2060 2008-08-06  Dan Williams  <dcbw@redhat.com>
2061
2062         * libnm-glib/nm-ip4-config.c
2063           libnm-glib/nm-ip4-config.h
2064                 - Add 'routes' property
2065
2066         * libnm-util/nm-setting-vpn.c
2067           libnm-util/nm-setting-vpn.h
2068                 - Remove 'routes' property
2069
2070         * libnm-util/nm-setting-ip4-config.c
2071           libnm-util/nm-setting-ip4-config.h
2072                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2073                 - Add 'ignore-auto-routes' property
2074                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
2075                         accomodate route metrics
2076                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2077
2078         * libnm-util/nm-utils.c
2079           libnm-util/nm-utils.h
2080                 - Add helpers for marshalling IP4 routes
2081
2082         * src/NetworkManagerUtils.c
2083                 - (nm_utils_merge_ip4_config): handle property renames and new route
2084                         structure
2085
2086         * src/NetworkManagerSystem.c
2087                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2088                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
2089
2090         * src/dhcp-manager/nm-dhcp-manager.c
2091                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2092
2093         * system-settings/plugins/ifcfg-fedora/reader.c
2094           system-settings/plugins/ifcfg-fedora/writer.c
2095                 - Handle routes separately from addresses now that routes have a different
2096                         format
2097
2098         * introspection/nm-ip4-config.xml
2099           src/nm-ip4-config.c
2100           src/nm-ip4-config.h
2101                 - Rename internal routing functions
2102                 - 'static-routes' renamed to 'routes'
2103
2104 2008-08-04  Dan Williams  <dcbw@redhat.com>
2105
2106         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2107
2108         * src/NetworkManager.c
2109           src/nm-manager.c
2110           src/nm-manager.h
2111                 - More explicitly make the NMManager a singleton
2112
2113 2008-08-04  Dan Williams  <dcbw@redhat.com>
2114
2115         * libnm-util/nm-connection.c
2116           libnm-util/nm-connection.h
2117                 - (nm_connection_verify): return error on missing 'connection' setting
2118                         (found by Sjoerd Simons)
2119
2120 2008-08-04  Dan Williams  <dcbw@redhat.com>
2121
2122         Handle multiple concurrent PPP connections.
2123
2124         * src/ppp-manager/nm-ppp-manager.c
2125           src/ppp-manager/nm-ppp-manager.h
2126                 - (constructor): only PPP Manager request bus name once; each
2127                         NMPPPManager object gets a unique object path
2128                 - (nm_ppp_manager_class_init, get_property, set_property,
2129                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2130                         at construct time
2131                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2132                         remove timeout until PPP manager gets an IP4 config
2133                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2134                         the plugin can call back to this specific PPP manager instance
2135
2136         * src/nm-device-ethernet.c
2137           src/nm-serial-device.c
2138                 - Pass parent device in nm_ppp_manager_new()
2139
2140         * src/nm-gsm-device.c
2141           src/nm-cdma-device.c
2142                 - (device_state_changed): don't close serial device on NEED_AUTH
2143                         state changed, that's not a failure case like the rest are
2144
2145         * src/ppp-manager/nm-pppd-plugin.c
2146                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2147                         binds one interface to any pppd process, thus the correct index
2148                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2149                         problems; try harder to get a peer address in spite of pppd
2150                 - (plugin_init): use 'ipparam' as the object path back to our specific
2151                         PPP manager instance
2152
2153 2008-08-04  Dan Williams  <dcbw@redhat.com>
2154
2155         * src/ppp-manager/nm-ppp-manager.c
2156                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2157                         since the GSM and CDMA settings now implement need_secrets, we can
2158                         rely on them to do the right thing.  Where secrets are not required,
2159                         just pass empty strings back to the pppd plugin.
2160                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2161                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2162                         on successful IP4 config receipt
2163
2164 2008-08-04  Dan Williams  <dcbw@redhat.com>
2165
2166         * libnm-util/nm-setting-cdma.c
2167           libnm-util/nm-setting-gsm.c
2168                 - (verify): validate username & password if they exist
2169                 - (need_secrets): if username given, require a password too
2170
2171 2008-08-04  Dan Williams  <dcbw@redhat.com>
2172
2173         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2174                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2175                         manpage says about --listen-address without --interface
2176                         (bgo #546033)
2177
2178 2008-08-01  Dan Williams  <dcbw@redhat.com>
2179
2180         * libnm-glib/nm-device.c
2181                 - (proxy_get_string): util function for querying a HAL property
2182                 - (get_ancestor_device): split out from get_product_and_vendor()
2183                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2184                         from PCI devices by querying subsys properties
2185                 - (nm_device_update_description): simplify
2186
2187 2008-08-01  Dan Williams  <dcbw@redhat.com>
2188
2189         * libnm-util/nm-setting-ip4-config.c
2190           libnm-util/nm-setting-ip4-config.h
2191                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2192                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2193                         settings, and they don't necessarily use DHCP.
2194
2195         * src/NetworkManagerPolicy.c
2196           src/nm-device.c
2197           system-settings/plugins/ifcfg-fedora/reader.c
2198           system-settings/plugins/ifcfg-suse/parser.c
2199                 - Fixup for method changes
2200
2201 2008-07-31  Dan Williams  <dcbw@redhat.com>
2202
2203         * src/nm-activation-request.c
2204           src/vpn-manager/nm-vpn-connection.c
2205                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2206                         itself should be attached to the activation request or the VPN
2207                         connection, not the NMConnection object, since the call is not
2208                         expected to live as long as the NMConnection itself
2209
2210 2008-07-31  Dan Williams  <dcbw@redhat.com>
2211
2212         * src/nm-device-wifi.c
2213                 - (real_act_stage2_config): fix issue where association would continue
2214                         even though secrets were needed; 'goto out' was in wrong scope and
2215                         result of handle_auth_or_fail() should have been dumped directly to
2216                         'ret' to ensure that the association was postponed until secrets
2217                         are available
2218
2219 2008-07-31  Dan Williams  <dcbw@redhat.com>
2220
2221         * system-settings/plugins/ifcfg-fedora/plugin.c
2222           system-settings/plugins/ifcfg-fedora/reader.c
2223                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2224                         valid NM connection
2225
2226 2008-07-29  Dan Williams  <dcbw@redhat.com>
2227
2228         * src/nm-gsm-device.c
2229                 - (automatic_registration_response, automatic_registration): recognize
2230                         denied registration and reorder responses
2231
2232 2008-07-29  Dan Williams  <dcbw@redhat.com>
2233
2234         * src/nm-serial-device.c
2235                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2236                         time(2) is used for current time, which returns seconds, we shouldn't
2237                         be multiplying by 1000.
2238
2239 2008-07-28  Dan Williams  <dcbw@redhat.com>
2240
2241         Patch from Fabrice Bellet <fabrice@bellet.info>
2242
2243         * src/NetworkManagerSystem.c
2244                 - (route_in_same_subnet): mask addresses and compare them so that the
2245                         function actually does what it says it's going to do (rh #456685)
2246
2247 2008-07-27  Dan Williams  <dcbw@redhat.com>
2248
2249         * libnm-util/nm-setting-ip6-config.c
2250                 - (set_property): add missing break that caused routes to be overwritten
2251                         with addresses
2252
2253         * libnm-util/nm-setting-ip6-config.c
2254                 - (verify): validate routes and return GError everywhere on invalid setting
2255                 - (finalize): don't leak routes
2256                 - (set_property): add missing break that caused routes to be overwritten
2257                         with addresses
2258
2259 2008-07-27  Dan Williams  <dcbw@redhat.com>
2260
2261         * libnm-util/*
2262                 - Relicense to LGPLv2+
2263
2264 2008-07-27  Dan Williams  <dcbw@redhat.com>
2265
2266         * system-settings/plugins/ifcfg-fedora/reader.c
2267                 - (make_ip4_setting): fix parsing automatic configs
2268
2269 2008-07-27  Dan Williams  <dcbw@redhat.com>
2270
2271         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2272           src/nm-device.c
2273           src/ppp-manager/nm-ppp-manager.c
2274                 - Ensure child process gets reaped.  The child watch function may be
2275                         removed from the mainloop before the child gets killed, so we have
2276                         to make sure the child is reaped when it's told to die intentionally
2277
2278 2008-07-27  Dan Williams  <dcbw@redhat.com>
2279
2280         Patch from Roy Marples <roy@marples.name>
2281
2282         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2283                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2284
2285 2008-07-27  Dan Williams  <dcbw@redhat.com>
2286
2287         * src/nm-gsm-device.c
2288                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2289                         Huawei devices turn echo back on after CPIN (rh #456770)
2290
2291 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2292
2293         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2294         format argument to g_set_error() call.
2295
2296         * src/backends/interface_parser.[ch]: Remove.
2297
2298         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2299
2300 2008-07-21  Dan Williams  <dcbw@redhat.com>
2301
2302         * src/ppp-manager/nm-ppp-manager.c
2303                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2304                         to prevent pppd from picking up some random local address from an
2305                         interface that doesn't have anything to do with the one we're
2306                         interested in (rh #455348)
2307
2308 2008-07-17  Dan Williams  <dcbw@redhat.com>
2309
2310         * libnm-util/nm-utils.c
2311                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2312                         by locale
2313                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2314                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2315
2316 2008-07-17  Dan Williams  <dcbw@redhat.com>
2317
2318         * introspection/Makefile.am
2319           introspection/nm-device.xml
2320           introspection/nm-dhcp4-config.xml
2321                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2322                         itself
2323         * src/nm-device-interface.c
2324           src/nm-device-interface.h
2325                 - Add the DHCP4Config property
2326
2327         * src/nm-device.c
2328                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2329                         D-Bus clients when it changes
2330
2331         * src/nm-dhcp4-config.c
2332           src/nm-dhcp4-config.h
2333                 - Simple object to store DHCP4 options, export them over D-Bus, and
2334                         notify when they change
2335
2336         * src/dhcp-manager/nm-dhcp-manager.c
2337           src/dhcp-manager/nm-dhcp-manager.h
2338                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2339                         filter server-returned DHCP options into an NMDHCP4Config object
2340
2341 2008-07-16  Dan Williams  <dcbw@redhat.com>
2342
2343         * introspection/nm-device.xml
2344                 - Add device state reasons
2345
2346 2008-07-16  Dan Williams  <dcbw@redhat.com>
2347
2348         Patch from Roy Marples <roy@marples.name>
2349
2350         * configure.in
2351                 - Add --with-dhcp-client option
2352
2353         * src/dhcp-manager/Makefile.am
2354                 - pass DHCP_CLIENT_PATH on compile line
2355
2356         * src/dhcp-manager/nm-dhcp-manager.c
2357           src/dhcp-manager/nm-dhcp-manager.h
2358                 - Genericize for both dhcpcd and dhclient
2359
2360         * src/dhcp-manager/nm-dhcp-dhclient.c
2361                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2362
2363         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2364                 - Implement support for dhcpcd too
2365
2366 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2367
2368         * system-settings/src/nm-system-config-interface.c 
2369         (nm_system_config_interface_supports_add): Implement.
2370         (nm_system_config_interface_add_connection): Return a boolean to notify
2371         of errors.
2372
2373         * system-settings/src/nm-polkit-helpers.c: 
2374         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2375         a separate file.
2376
2377         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2378         Return an error when none of the plugins support add or if addition
2379         failed for some reason.
2380
2381         * system-settings/src/nm-system-config-error.h: 
2382         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2383         here from nm-polkit-helpers.[ch].
2384
2385         * system-settings/src/Makefile.am: Build new files.
2386
2387         * system-settings/plugins/keyfile/reader.c 
2388         (read_array_of_array_of_uint): Make it more general so that it would
2389         work for routes as well.
2390
2391         * system-settings/plugins/keyfile/writer.c
2392         (write_array_of_array_of_uint): Ditto.
2393         Fix the netmask/prefix writing.
2394
2395         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2396         boolean to notify errors.
2397
2398         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2399         Return more specific error.
2400         (delete): Ditto.
2401
2402 2008-07-11  Dan Williams  <dcbw@redhat.com>
2403
2404         Modify the NMDevice::state-changed signal to include the previous state
2405         and reason. Enables the applet to provide more information why device
2406         activation failed.
2407
2408 2008-07-09  Dan Williams  <dcbw@redhat.com>
2409
2410         * callouts/Makefile.am
2411           callouts/nm-avahi-autoipd-action.c
2412           callouts/nm-avahi-autoipd.conf
2413                 - avahi-autoipd callout to send options back to NM
2414
2415         * src/autoip.c
2416           src/autoip.h
2417                 - remove
2418
2419         * src/nm-device.c
2420           src/nm-device-private.h
2421           src/nm-manager.c
2422                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2423                         old custom stuff
2424
2425 2008-07-07  Dan Williams  <dcbw@redhat.com>
2426
2427         * system-settings/plugins/ifcfg-fedora/reader.c
2428                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2429                         handle PREFIX too; clean up
2430
2431 2008-07-07  Dan Williams  <dcbw@redhat.com>
2432
2433         Convert to using IPv4 prefixes instead of netmasks.
2434
2435 2008-07-03  Dan Williams  <dcbw@redhat.com>
2436
2437         * libnm-util/nm-setting-ip4-config.c
2438           libnm-util/nm-setting-ip4-config.h
2439                 - Add properties for DHCP Client Identifier and DHCP Hostname
2440
2441         * src/dhcp-manager/nm-dhcp-manager.c
2442           src/dhcp-manager/nm-dhcp-manager.h
2443                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2444                         setting as an argument to pass on to the dhclient config file
2445                         creation function
2446                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2447                         DHCP is torn down
2448                 - (dhclient_run): punt config file handling to create_dhclient_config()
2449                 - (create_dhclient_config): create an interface-specific dhclient
2450                         config file since there may need to be interface-specific options
2451                         passed to dhclient
2452                 - (merge_dhclient_config): merge normal distro dhclient config file and
2453                         add options from the connection
2454                 - (nm_dhcp_device_new): generate the interface specific dhclient
2455                         config file path once
2456                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2457                         dhclient config file path
2458
2459         * src/nm-device.c
2460                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2461                         DHCP manager when starting DHCP
2462
2463 2008-07-02  Dan Williams  <dcbw@redhat.com>
2464
2465         * libnm-util/nm-setting-8021x.c
2466                 - (verify): allow forcing the PEAP label to 0
2467
2468 2008-07-02  Dan Williams  <dcbw@redhat.com>
2469
2470         * introspection/nm-active-connection.xml
2471           introspection/nm-vpn-connection.xml
2472           libnm-glib/nm-active-connection.c
2473           src/nm-activation-request.c
2474           src/nm-active-connection.h
2475           src/vpn-manager/nm-vpn-connection.c
2476                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2477                         and libnm-glib API since sharing didn't get implemented that way
2478
2479 2008-07-02  Dan Williams  <dcbw@redhat.com>
2480
2481         * src/nm-device-wifi.c
2482                 - (can_scan): don't scan when a shared connection is activated since
2483                         that makes drivers mad (causing disconnects); also NM doesn't need
2484                         to hedge against disconnects by keeping up-to-date network topology
2485                         because the connection originates from the local machine, and thus
2486                         there should be no disconnects
2487
2488 2008-07-01  Dan Williams  <dcbw@redhat.com>
2489
2490         Fix mobile broadband username/password issues.  NM was never requesting
2491         mobile broadband secrets, nor was it passing back the username and password
2492         if it had them.
2493
2494         * marshallers/nm-marshal.list
2495                 - Add some new types for activation request objects
2496
2497         * src/nm-activation-request.c
2498           src/nm-activation-request.h
2499                 - (get_secrets_cb): pass the caller type in the signal
2500                 - (nm_act_request_request_connection_secrets): take a caller type, so
2501                         that GetSecrets() reply handlers know who asked for the secrets in
2502                         the first place; use secret hints too so the settings service can
2503                         figure out exactly what NM wants (ie, PIN or the PPP password)
2504
2505         * src/ppp-manager/nm-ppp-manager.c
2506           src/ppp-manager/nm-ppp-manager.h
2507                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2508                         detect needed secrets when the secret could be blank, like GSM/CDMA
2509                         passwords.  So always ask for secrets, and send a hint as to what
2510                         secret we really want.
2511                 - (nm_ppp_manager_update_secrets): make function more generic by making
2512                         the device specific class figure out the username and password, and
2513                         accept an error argument to return back over D-Bus
2514
2515         * src/nm-device-wifi.c
2516                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2517                         nm_act_request_request_connection_secrets()
2518                 - (real_connection_secrets_updated): update for 'caller' changes
2519
2520         * src/nm-device.c
2521           src/nm-device.h
2522                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2523                         for 'caller' changes
2524
2525         * src/nm-device-ethernet.c
2526                 - (real_connection_secrets_updated): update for 'caller' changes and
2527                         move logic for getting PPPoE username and password here before
2528                         calling nm_ppp_manager_update_secrets()
2529                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2530                         nm_act_request_request_connection_secrets()
2531
2532         * src/nm-cdma-device.c
2533                 - (real_connection_secrets_updated): pass username and password back
2534                         to the PPP manager when required
2535
2536         * src/nm-gsm-device.c
2537                 - (enter_pin): send the required secret name to the settings service
2538                 - (real_connection_secrets_updated): pass username and password back
2539                         to the PPP manager when required
2540
2541 2008-06-30  Dan Williams  <dcbw@redhat.com>
2542
2543         * src/nm-device-wifi.c
2544                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2545
2546 2008-06-30  Dan Williams  <dcbw@redhat.com>
2547
2548         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2549         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2550         priv->supplicant.iface.  When either condition is false, the device should
2551         transition back to UNAVAILABLE because it cannot be used.
2552
2553         * src/nm-device-wifi.c
2554                 - (constructor): cleanup; connect to supplicant manager here since the
2555                         supplicant manager is always around
2556                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2557                         ensure the supplicant manager is in the IDLE state
2558                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2559                         cancel any pending scans too
2560                 - (real_bring_up): don't set up the supplicnat interface here, because
2561                         we need the supplicant interface at times when the device may not
2562                         be "up"
2563                 - (real_take_down): just remove the periodic source
2564                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2565                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2566                         do anything if there's no supplicant interface
2567                 - (cleanup_association_attempt): cleanup
2568                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2569                         the interface enters the READY state; transition to UNAVAILABLE
2570                         state when the interface goes down because the device can't be used
2571                         without a supplicant interface
2572                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2573                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2574                         acquire the supplicant interface and transition to DISCONNECTED
2575                         if the radio isn't killed
2576                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2577                 - (state_changed_cb): release any existing supplicant interface; if the
2578                         radio is enabled then try to acquire a new supplicant interface;
2579                         if the radio is enabled and a supplicant interface has been acquired,
2580                         we can transition to DISCONNECTED
2581                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2582                         don't enable the radio, because HAL probably lied to us about the
2583                         killswitch being off.  If bringing the hardware up worked, then
2584                         try to grab a supplicant interface, and if that was successful,
2585                         transition to DISCONNECTED
2586
2587 2008-06-30  Dan Williams  <dcbw@redhat.com>
2588
2589         * src/supplicant-manager/nm-supplicant-interface.c
2590                 - (request_scan_results, nm_supplicant_interface_dispose,
2591                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2592                         the id of the timeout, not a GSource
2593
2594 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2595
2596         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2597         bunch of typoes introduced by "Patch from David Cantrell 
2598         <dcantrell@redhat.com> and me".
2599
2600 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2601
2602         * src/nm-serial-device.c: 
2603         * src/nm-gsm-device.c: 
2604         * src/nm-cdma-device.c: Move the pending call handling to a common location
2605         in serial device. Handle setting device state to failed in one place as well.
2606
2607 2008-06-29  Dan Williams <dcbw@redhat.com>
2608
2609         * src/nm-hal-manager.c
2610                 - Rework killswitch handling to query killswitch status immediately
2611                         when the first killswitch is added, so that rfkill state is
2612                         known as early as possible
2613                 - Also treat failure of GetPower() as rfkill when the dbus method
2614                         call times out (but not when the HAL callout returns an error)
2615
2616 2008-06-26  Dan Williams <dcbw@redhat.com>
2617
2618         Patch from David Cantrell <dcantrell@redhat.com> and me
2619
2620         * include/nm-dbus-glib-types.h
2621                 - Add IP6 address types
2622
2623         * libnm-util/Makefile.am
2624           libnm-util/nm-setting-ip6-config.c
2625           libnm-util/nm-setting-ip6-config.h
2626                 - Add IP6 settings object
2627
2628         * libnm-util/nm-connection.c
2629                 - (register_default_settings): register ip6 settings object
2630
2631         * libnm-util/nm-utils.c
2632           libnm-util/nm-utils.h
2633                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2634                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2635                         ip6 address conversion functions
2636         
2637 2008-06-26  Dan Williams <dcbw@redhat.com>
2638
2639         Patch from David Cantrell <dcantrell@redhat.com>
2640         
2641         * Use inet_ntop() and inet_pton() everwhere and check for errors
2642
2643 2008-06-26  Dan Williams <dcbw@redhat.com>
2644
2645         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2646
2647 2008-06-26  Dan Williams <dcbw@redhat.com>
2648
2649         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2650
2651         * src/nm-device-wifi.c
2652                 - (link_timeout_cb): don't ignore disconnects due to scanning
2653                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2654                         a longer timeout when scanning; avoids case where supplicant can't
2655                         find the AP and just keeps scanning forever but isn't connected
2656
2657 2008-06-26  Dan Williams <dcbw@redhat.com>
2658
2659         Patch from Michael Biebl <biebl@debian.org>
2660
2661         * Clean up build system stuff
2662
2663 2008-06-23  Christian Persch  <chpe@gnome.org>
2664
2665         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2666         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2667         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2668         (impl_get_object):
2669         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2670         (impl_get_object):
2671         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2672         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2673         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2674         (impl_get_object):
2675         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2676         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2677         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2678         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2679         * vpn-daemons/pptp/properties/vpnui_opt.c:
2680         (vpnui_opt_connect_signals):
2681         * vpn-daemons/pptp/properties/vpnui_opt.h:
2682         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2683         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2684         deprecated gtk type macros. Bug #539325.
2685
2686 2008-06-20  Dan Williams  <dcbw@redhat.com>
2687
2688         * libnm-glib/nm-vpn-plugin-ui-interface.c
2689           libnm-glib/nm-vpn-plugin-ui-interface.h
2690                 - 'validity-changed' -> 'changed' to work better with the connection
2691                         editor.  Plugin UI widgets should emit 'changed' whenever their
2692                         UI values change in a meaningful way.
2693                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2694                         update_connection member now returns validity of the UI widget
2695
2696 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2697
2698         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2699
2700 2008-06-17  Dan Williams  <dcbw@redhat.com>
2701
2702         * libnm-glib/nm-vpn-plugin-ui-interface.c
2703           libnm-glib/nm-vpn-plugin-ui-interface.h
2704                 - Add "desc" property for longer descriptions of the VPN plugin
2705
2706 2008-06-16  Dan Williams  <dcbw@redhat.com>
2707
2708         * configure.in
2709           libnm-glib/libnm_glib_vpn.pc.in
2710                 - add a .pc file for libnm_glib_vpn
2711
2712         * libnm-glib/nm-vpn-plugin-ui-interface.c
2713           libnm-glib/nm-vpn-plugin-ui-interface.h
2714                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2715                         rework it substantially
2716
2717 2008-06-12  Dan Williams  <dcbw@redhat.com>
2718
2719         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2720         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2721         returns a descriptive GError when verification fails.
2722
2723 2008-06-11  Dan Williams  <dcbw@redhat.com>
2724
2725         Patch from Tambet Ingo <tambet@gmail.com>
2726
2727         * libnm-util/nm-setting-gsm.c
2728                 - (verify): validate APN
2729
2730         * src/nm-gsm-device.c
2731                 - (manual_registration_done): start setting APN if needed
2732                 - (set_apn, set_apn_done): set the APN
2733                 - (do_dial): use the APN when dialing
2734
2735 2008-06-11  Dan Williams  <dcbw@redhat.com>
2736
2737         * src/NetworkManagerSystem.c
2738                 - (nm_system_device_set_ip4_route,
2739                    nm_system_device_replace_default_ip4_route): check for the right
2740                         return value from rtnl_route_add() to know when to add a gateway
2741                         route (from Tambet)
2742
2743 2008-06-11  Dan Williams  <dcbw@redhat.com>
2744
2745         * src/NetworkManagerPolicy.c
2746                 - do_ipt_cmd -> do_cmd
2747                 - (sharing_init): use do_cmd() instead of system()
2748
2749 2008-06-10  Dan Williams  <dcbw@redhat.com>
2750
2751         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2752         and use "wifi" everwhere instead.
2753
2754 2008-06-10  Dan Williams  <dcbw@redhat.com>
2755
2756         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2757
2758 2008-06-10  Dan Williams  <dcbw@redhat.com>
2759
2760         Patch from Tambet Ingo <tambet@gmail.com>
2761
2762         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2763                 changes.
2764
2765         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2766                 a signal to emit these changes over dbus.
2767
2768         * src/Makefile.am: Genereate nm-serial-device-glue.
2769
2770         * libnm-glib/nm-serial-device.[ch]: Implement.
2771
2772         * libnm-glib/nm-cdma-device.[ch]
2773           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2774
2775         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2776
2777         * introspection/nm-device-serial.xml: Implement.
2778
2779         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2780
2781         * introspection/Makefile.am: Add nm-device-serial.xml.
2782
2783         * include/NetworkManager.h: Add a DBus interface for serial device.
2784
2785 2008-06-10  Dan Williams  <dcbw@redhat.com>
2786
2787         * configure.in
2788                 - Add TARGET_* define to config.h to distinguish distros
2789
2790         * src/dhcp-manager/nm-dhcp-manager.c
2791                 - (dhclient_run): use distro-specific path for dhclient config file
2792
2793 2008-06-09  Dan Williams  <dcbw@redhat.com>
2794
2795         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2796           src/dnsmasq-manager/nm-dnsmasq-manager.h
2797                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2798                         calculate the addresses passed to dnsmasq instead of hard-coding
2799                         them
2800
2801         * src/nm-device.c
2802                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2803                         IP addresses for shared connections to guard against shared
2804                         connection address collisions
2805                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2806                         error conditions
2807                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2808                         the dnsmasq manager
2809
2810 2008-06-09  Dan Williams  <dcbw@redhat.com>
2811
2812         * src/NetworkManagerPolicy.c
2813                 - (update_routing_and_dns): set the default connection _after_ unsetting
2814                         default on all non-default connections so that two connections can
2815                         never be default at the same time
2816                 - (device_state_changed): start and stop connection sharing when
2817                         needed
2818                 - (active_connection_default_changed): restart or stop sharing when
2819                         the default connection changes to keep shared connections always
2820                         NAT-ed through the default connection
2821                 - (check_sharing): handle activation/deactivation of shared connections
2822                 - (sharing_restart): atom-bomb approach to connection sharing until we
2823                         can use libnl; reinit all sharing when the default connection or
2824                         shared connections change
2825                 - (sharing_init, sharing_stop): evil functions that init and deinit
2826                         iptables
2827
2828 2008-06-09  Dan Williams  <dcbw@redhat.com>
2829
2830         * src/nm-activation-request.c
2831           src/nm-activation-request.h
2832                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2833                    nm_act_request_get_device): new functions to facilitate connection
2834                         sharing
2835
2836 2008-06-09  Dan Williams  <dcbw@redhat.com>
2837
2838         * src/nm-device.c
2839                 - (clear_act_request): unset the 'default' property of the activation
2840                         request when clearing it to ensure the property changed signal gets
2841                         delivered and handled
2842
2843 2008-06-09  Dan Williams  <dcbw@redhat.com>
2844
2845         * libnm-glib/nm-device-802-11-wireless.c
2846                 - (access_point_removed_proxy): actually unref the AP after removing
2847                         it from the device's AP list.  Fixes refcounting bug for APs that
2848                         caused them to get mixed up in the applet's menu.
2849
2850 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2851
2852         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2853         (nm_dhcp_device_destroy): Destroy the device options hash table.
2854
2855 2008-06-06  Dan Williams <dcbw@redhat.com>
2856
2857         * system-settings/src/nm-polkit-helpers.c
2858                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2859                         unref the context if the initialization fails; also avoid spew when
2860                         the error isn't set
2861
2862 2008-06-06  Dan Williams <dcbw@redhat.com>
2863
2864         Patch from Tambet Ingo  <tambet@gmail.com>
2865
2866         * src/NetworkManagerSystem.c
2867           src/NetworkManagerSystem.h
2868                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2869                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2870                 - (nm_system_device_set_ip4_route): clean up
2871                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2872
2873         * src/nm-device.c
2874                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2875
2876         * src/vpn-manager/nm-vpn-connection.c
2877                 - (ip_address_to_string): new function
2878                 - (print_vpn_config): use ip_address_to_string
2879                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2880                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2881
2882         * include/NetworkManagerVPN.h
2883                 - Add 'routes' key
2884
2885 2008-06-05  Dan Williams <dcbw@redhat.com>
2886
2887         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2888
2889         * test/nm-tool.c
2890                 - Show which device is the default device
2891
2892 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2893
2894         Fix memory leaks.
2895
2896         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2897         Free data returned from dbus method call.
2898
2899         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2900         dbus_g_method_get_sender() returns a duplicated string, free it 
2901         when done.
2902         (check_polkit_privileges): Looks like policykit sometimes returns
2903         error and non-null return value, don't leak errors in that case.
2904
2905         * system-settings/src/main.c (find_plugin): Don't leak existing 
2906         plugin names.
2907         (load_stuff): Don't leak device list and list items.
2908         (have_connection_for_device): Don't leak connection list.
2909
2910         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2911         Free the data received from g_keyfile_get_*.
2912
2913         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2914         the key when the security object is updated.
2915
2916         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2917         Free data returned from dbus method call.
2918         (iface_state_cb): Ditto.
2919         (add_network_cb): Ditto.
2920         (nm_supplicant_interface_add_cb): Don't make another copy of already
2921         duplicated object path.
2922         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2923         when done.
2924
2925         * src/supplicant-manager/nm-supplicant-config.c 
2926         (ADD_STRING_LIST_VAL): Fix a memory leak.
2927
2928         * src/nm-manager.c (free_get_settings_info): Free the allocated
2929         memory slice.
2930         (list_connections_cb): Free data returned from dbus method call.
2931         (system_settings_get_unmanaged_devices_cb): Ditto.
2932
2933         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2934
2935         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2936         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2937         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2938         of the GList.
2939
2940         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2941         arguments after the object is created.
2942
2943 2008-06-04  Dan Williams <dcbw@redhat.com>
2944
2945         * libnm-util/Makefile.am
2946                 - Don't distribute nm-param-spec-specialized.h
2947
2948 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2949
2950         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2951
2952         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2953         NMIP4Address, update the getters and setters.
2954
2955         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2956         Use the updated NMIP4Config routes api.
2957
2958         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2959         static routes as well.
2960
2961         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2962         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2963         routes api.
2964
2965 2008-05-30  Dan Williams <dcbw@redhat.com>
2966
2967         * src/named-manager/nm-named-manager.c
2968           src/named-manager/nm-named-manager.h
2969                 - Remove stale/obsolete bits for controlling bind over DBus
2970
2971 2008-05-29  Dan Williams <dcbw@redhat.com>
2972
2973         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2974           src/dnsmasq-manager/nm-dnsmasq-manager.h
2975                 - (nm_dnsmasq_manager_new): move iface argument here
2976                 - (constructor): remove, not needed
2977                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2978                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2979
2980         * src/nm-device.c
2981                 - (real_act_stage4_get_ip4_config,
2982                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2983                         changes
2984
2985 2008-05-29  Dan Williams <dcbw@redhat.com>
2986
2987         * src/nm-device.c
2988                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2989                         something happens to dnsmasq
2990                 - (nm_device_new_ip4_shared_config): new function; create a new
2991                         ip4-config for shared connections.  Shared connections always use a
2992                         fixed static IP address.
2993                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2994                         autoip connections by actually using the returned ip4-config and
2995                         not leaking it
2996                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2997                         connections
2998                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2999                         if its active
3000
3001 2008-05-29  Dan Williams <dcbw@redhat.com>
3002
3003         * src/nm-device-802-11-wireless.c
3004                 - (real_get_best_auto_connection): auto-activate 'shared' method
3005                         connections too
3006
3007 2008-05-29  Dan Williams <dcbw@redhat.com>
3008
3009         * libnm-util/nm-setting-ip4-config.c
3010           libnm-util/nm-setting-ip4-config.h
3011                 - Add a 'shared' method to indicate that this connection should be
3012                         brought up with a DHCP and proxy DNS server to facilitate
3013                         connection sharing.
3014                 - (verify): 'shared' method doesn't allow DNS or searches either
3015
3016 2008-05-29  Dan Williams <dcbw@redhat.com>
3017
3018         * configure.in
3019           src/Makefile.am
3020           src/dnsmasq-manager/Makefile.am
3021           src/dnsmasq-manager/nm-dnsmasq-manager.c
3022           src/dnsmasq-manager/nm-dnsmasq-manager.h
3023                 - Add a dnsmasq daemon manager to facilitate connection sharing
3024
3025 2008-05-29  Dan Williams <dcbw@redhat.com>
3026
3027         * src/nm-device-private.h
3028                 - Remove unused prototypes and clean up
3029
3030         * src/nm-device.c
3031                 - Remove anything related to system_config_data, which is no longer used
3032                 - (nm_device_new_ip4_autoip_config): make static
3033
3034 2008-05-29  Tambet Ingo  <tambet@gmail.com>
3035
3036         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3037         (file_changed): Fix a bug where suse system settings plugin didn't
3038         update the connections automatically when the files changed.
3039
3040 2008-05-28  Dan Williams  <dcbw@redhat.com>
3041
3042         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3043
3044 2008-05-28  Dan Williams  <dcbw@redhat.com>
3045
3046         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3047
3048         * src/NetworkManagerSystem.c
3049                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3050                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3051                         was causing -EINVAL errors since the libnl code actually does flush
3052                         the routes on VPN interfaces now
3053
3054         * src/backends/NetworkManagerArch.c
3055           src/backends/NetworkManagerDebian.c
3056           src/backends/NetworkManagerFrugalware.c
3057           src/backends/NetworkManagerGeneric.c
3058           src/backends/NetworkManagerGentoo.c
3059           src/backends/NetworkManagerMandriva.c
3060           src/backends/NetworkManagerPaldo.c
3061           src/backends/NetworkManagerRedHat.c
3062           src/backends/NetworkManagerSlackware.c
3063           src/backends/NetworkManagerSuSE.c
3064                 - (nm_system_device_flush_ip4_routes,
3065                    nm_system_device_flush_ip4_routes_with_iface): remove
3066
3067 2008-05-28  Dan Williams  <dcbw@redhat.com>
3068
3069         * libnm-util/nm-setting-wireless.c
3070           libnm-util/nm-setting-wireless.h
3071                 - (set_property, get_property, nm_setting_wireless_class_init): add the
3072                         'adhoc-create' property, which when TRUE indicates that NM should
3073                         create this connection as an adhoc wifi network if it's not found
3074                         as an adhoc network during scanning.  Can be used to auto-create
3075                         adhoc networks when used in combination with autoconnect.
3076
3077 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3078
3079         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3080
3081         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3082         checked, it doesn't work on some devices.
3083
3084 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3085
3086         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
3087         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3088
3089         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3090         Use inet_aton() everywhere to improve error detection.
3091         Don't fall back to 'dhcp_server_identifier' if the gateway is not
3092         provided.
3093
3094 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3095
3096         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3097         Fix a typo.
3098
3099 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3100
3101         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3102         reference counting issue.
3103
3104 2008-05-23  Dan Williams  <dcbw@redhat.com>
3105
3106         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3107
3108         * src/backends/NetworkManagerGeneric.c
3109                 - (nm_generic_enable_loopback): use libnl
3110
3111 2008-05-23  Dan Williams  <dcbw@redhat.com>
3112
3113         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3114
3115         * src/NetworkManagerSystem.h
3116           src/backends/NetworkManagerArch.c
3117           src/backends/NetworkManagerDebian.c
3118           src/backends/NetworkManagerFrugalware.c
3119           src/backends/NetworkManagerGentoo.c
3120           src/backends/NetworkManagerMandriva.c
3121           src/backends/NetworkManagerPaldo.c
3122           src/backends/NetworkManagerRedHat.c
3123           src/backends/NetworkManagerSlackware.c
3124           src/backends/NetworkManagerSuSE.c
3125                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3126                    nm_system_flush_arp_cache): remove, unused
3127
3128         * src/backends/NetworkManagerGeneric.c
3129           src/backends/NetworkManagerGeneric.h
3130                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3131                    nm_generic_flush_arp_cache): remove, unused
3132
3133 2008-05-23  Dan Williams  <dcbw@redhat.com>
3134
3135         * system-settings/plugins/ifcfg-fedora/reader.c
3136                 - (make_ip4_setting): honor PEERDNS setting
3137
3138 2008-05-23  Dan Williams  <dcbw@redhat.com>
3139
3140         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3141
3142         * src/NetworkManagerSystem.c
3143                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3144                         libnl
3145
3146         * src/backends/NetworkManagerArch.c
3147           src/backends/NetworkManagerDebian.c
3148           src/backends/NetworkManagerFrugalware.c
3149           src/backends/NetworkManagerGentoo.c
3150           src/backends/NetworkManagerMandriva.c
3151           src/backends/NetworkManagerPaldo.c
3152           src/backends/NetworkManagerRedHat.c
3153           src/backends/NetworkManagerSlackware.c
3154           src/backends/NetworkManagerSuSE.c
3155                 - (nm_system_device_flush_ip4_addresses,
3156                    nm_system_device_flush_ip4_addresses_with_iface): remove
3157
3158         * src/backends/NetworkManagerGeneric.c
3159                 - (nm_generic_device_flush_ip4_addresses,
3160                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3161
3162 2008-05-23  Dan Williams  <dcbw@redhat.com>
3163
3164         * src/supplicant-manager/nm-supplicant-settings-verify.c
3165                 - Switch 'bssid' from bytes to keyword type
3166                 - (validate_type_keyword): allow NULL keyword lists
3167
3168         * src/supplicant-manager/nm-supplicant-config.c
3169                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3170                         a byte array to string form, which is what the supplicant expects
3171
3172 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3173
3174         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3175         information received from DHCP.
3176
3177         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3178         to make it possible to ignore the DNS information (both servers and 
3179         searches) returned by DHCP server.
3180
3181         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3182         name servers and searches if "ignore_dhcp_dns" is set.
3183
3184         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3185         (nm_ip4_config_reset_searches): Implement.
3186
3187 2008-05-22  Dan Williams  <dcbw@redhat.com>
3188
3189         Remove anything mDNS related.  This is better done from a distro-specific
3190         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3191         avahi, since avahi can handle interface changes just fine using netlink.
3192
3193         * configure.in
3194                 - Remove --with-mdns-provider
3195
3196         * src/NetworkManagerPolicy.c
3197                 - (global_state_changed): don't restart the mdns provider
3198
3199         * src/NetworkManagerSystem.h
3200           src/backends/NetworkManagerArch.c
3201           src/backends/NetworkManagerDebian.c
3202           src/backends/NetworkManagerFrugalware.c
3203           src/backends/NetworkManagerGentoo.c
3204           src/backends/NetworkManagerMandriva.c
3205           src/backends/NetworkManagerPaldo.c
3206           src/backends/NetworkManagerRedHat.c
3207           src/backends/NetworkManagerSlackware.c
3208           src/backends/NetworkManagerSuSE.c
3209                 - (nm_system_restart_mdns_responder): remove
3210
3211         * src/backends/NetworkManagerGeneric.c
3212           src/backends/NetworkManagerGeneric.h
3213                 - (nm_generic_restart_mdns_responder): remove
3214
3215 2008-05-22  Dan Williams  <dcbw@redhat.com>
3216
3217         * configure.in
3218                 - clean up crypto options; just use --with-crypto=nss or
3219                         --with-crypto=gnutls
3220
3221 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3222
3223         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3224         anymore, do it right away.
3225
3226 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3227
3228         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3229         serial device open when we're not connecting or connected.
3230
3231         * src/nm-cdma-device.c (device_state_changed): Ditto.
3232
3233 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3234
3235         Don't remove all devices on waking up, sync with HAL.
3236
3237         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3238         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3239         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3240
3241 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3242
3243         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3244         If the default gateway is unreachable, add a route to gateway and try
3245         again.
3246
3247 2008-05-20  Dan Williams  <dcbw@redhat.com>
3248
3249         * system-settings/plugins/ifcfg-fedora/reader.c
3250                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3251
3252 2008-05-19  Dan Williams  <dcbw@redhat.com>
3253
3254         * system-settings/plugins/ifcfg-fedora/reader.c
3255                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3256                         if the ifcfg doesn't specify one (rh #446527)
3257
3258 2008-05-19  Dan Williams  <dcbw@redhat.com>
3259
3260         Make the system settings service exit when the bus goes away.  Since it's
3261         a bus-activated service, it's lifetime is limited to the bus that activated
3262         it (rh #444976).
3263
3264         * system-settings/src/Makefile.am
3265           system-settings/src/nm-system-config-hal-manager-private.h
3266                 - Remove nm-system-config-hal-manager-private.h
3267
3268         * system-settings/src/nm-system-config-hal-manager.c
3269                 - (nm_system_config_hal_manager_reinit_dbus,
3270                    nm_system_config_hal_manager_deinit_dbus): remove
3271
3272         * system-settings/src/main.c
3273                 - (dbus_reconnect): remove
3274                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3275                 - (destroy_cb): just quit when the bus goes away
3276                 - (start_dbus_service, dbus_init): simplify
3277                 - (main): destroy the wired devices hash table after destroying
3278                         the HAL manager so we don't have to disconnect signals from the
3279                         HAL manager
3280
3281 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3282
3283         Move crypto functions from nm-applet to libnm-util.
3284
3285         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3286         (nm_setting_802_1x_set_client_cert)
3287         (nm_setting_802_1x_set_phase2_ca_cert)
3288         (nm_setting_802_1x_set_phase2_client_cert)
3289         (nm_setting_802_1x_set_private_key)
3290         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3291         file (or private key and it's password), read the certificate data.
3292
3293         * libnm-util/crypto_nss.c: 
3294         * libnm-util/crypto_gnutls.c: 
3295         * libnm-util/crypto.[ch]: Move here from nm-applet.
3296
3297         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3298
3299         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3300         Imlement WPA-EAP configuration reading from sysconfig.
3301
3302 2008-05-16  Dan Williams  <dcbw@redhat.com>
3303
3304         * src/nm-device-802-11-wireless.c
3305                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3306                         wireless
3307
3308 2008-05-14  Dan Williams  <dcbw@redhat.com>
3309
3310         Fix Linus' bug in rh #134886
3311
3312         * src/nm-device-802-3-ethernet.c
3313                 - (constructor): request initial carrier state
3314
3315         * src/nm-netlink-monitor.c
3316                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3317                         signals after refilling the link cache.  Because the refill is a 
3318                         synchronous operation, the normal message hander won't get called
3319                         since libnl has already consumed the messages.
3320                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3321
3322 2008-05-14  Dan Williams  <dcbw@redhat.com>
3323
3324         * src/NetworkManagerSystem.c
3325                 - (nm_system_device_is_up_with_iface): clean up
3326
3327 2008-05-13  Dan Williams  <dcbw@redhat.com>
3328
3329         Fix refcounting issues over sleep/wake when a VPN connection was active that
3330         caused NM to try registering an object path for a device upon wake that was
3331         the same as an already registered object path.
3332
3333         * src/nm-device.c
3334                 - (nm_device_take_down): properly handle cases where the device is
3335                         no longer active but was just active, and therefore must be
3336                         deactivated.  When a device moves to unmanaged mode, this function
3337                         previously would not deactivate the device, because the state was
3338                         already unmanaged by the time this function was called.
3339
3340         * src/vpn-manager/nm-vpn-connection.c
3341                 - (device_state_changed): properly handle multiple devices states in
3342                         which the device is now deactivated.  Code previously didn't handle
3343                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3344                         UNMANAGED states.
3345
3346 2008-05-13  Dan Williams  <dcbw@redhat.com>
3347
3348         * src/nm-device-private.h
3349           src/nm-device.c
3350                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3351
3352         * src/nm-device-802-11-wireless.c
3353                 - (nm_device_802_11_wireless_set_enabled): take devices up
3354                         and down as appropriate for the rfkill state
3355
3356 2008-05-13  Dan Williams  <dcbw@redhat.com>
3357
3358         * marshallers/nm-marshal.list
3359                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3360
3361         * system-settings/plugins/ifcfg-fedora/Makefile.am
3362           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3363           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3364                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3365                         events.  Solely for use watching ifcfg files to pick up changes
3366                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3367
3368         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3369                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3370                         file contents change
3371                 - (finalize): clean up inotify watches
3372                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3373                         and the connection ifcfg for changes on their hardlinks
3374                 - (files_changed_cb): proxy the changed signal back out to listeners
3375
3376         * system-settings/plugins/ifcfg-fedora/plugin.c
3377                 - (dir_changed): 
3378                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3379                         changes
3380                 - (read_one_connection): connect to change signals on the new connection
3381                 - (dir_changed, connection_changed_handler,
3382                    handle_connection_remove_or_new): break out connection change
3383                         handling and connection new/remove handling so it can be used from
3384                         both the GFileMonitor callback and the NMIfcfgConnection changed
3385                         signals
3386
3387         * system-settings/plugins/ifcfg-fedora/reader.c
3388           system-settings/plugins/ifcfg-fedora/reader.h
3389                 - (connection_from_file): return the keyfile path the connection would use
3390
3391 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3392
3393         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3394         single PolKitContext which is shared by all. PolKitContext::unref leaks
3395         just about everything, including all open file descriptiors and results
3396         in 99% cpu usage when data arrives to any of the fds that don't belong
3397         to any context anymore.
3398
3399 2008-05-12  Dan Williams  <dcbw@redhat.com>
3400
3401         * gfilemonitor/glocaldirectorymonitor.c
3402           gfilemonitor/glocaldirectorymonitor.h
3403                 - (g_local_directory_monitor_constructor): actually subscribe to the
3404                         watch
3405                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3406
3407         * gfilemonitor/glocalfilemonitor.c
3408           gfilemonitor/glocalfilemonitor.h
3409                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3410                 - (_g_local_file_monitor_new): ensure that inotify is started up
3411
3412 2008-05-11  Dan Williams  <dcbw@redhat.com>
3413
3414         * configure.in
3415                 - record PolicyKit version
3416
3417         * system-settings/src/nm-polkit-helpers.c
3418                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3419                         with PolicyKit <= 0.6
3420
3421 2008-05-11  Dan Williams  <dcbw@redhat.com>
3422
3423         Update Fedora system-settings plugin to support latest API and use
3424         GFileMonitor rather than home-rolled inotify code.
3425
3426         * system-settings/plugins/ifcfg-fedora/Makefile.am
3427           system-settings/plugins/ifcfg-fedora/common.h
3428           system-settings/plugins/ifcfg-fedora/plugin.c
3429                 - Update to latest system settings plugin API; use GIO instead of
3430                         custom inotify code; use NMIfcfgConnection objects instead of
3431                         ConnectionData structures tacked onto NMConnection objects
3432
3433         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3434           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3435                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3436                         connections
3437
3438         * system-settings/plugins/ifcfg-fedora/reader.c
3439           system-settings/plugins/ifcfg-fedora/reader.h
3440                 - Move ifcfg parsing bits here from parser.c
3441
3442         * system-settings/plugins/ifcfg-fedora/parser.c
3443           system-settings/plugins/ifcfg-fedora/parser.h
3444                 - Remove; most code moved to reader.c
3445
3446 2008-05-11  Dan Williams  <dcbw@redhat.com>
3447
3448         * configure.in
3449           Makefile.am
3450           gfilemonitor/*
3451                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3452                         implementation, so that the same change monitoring code can be used
3453                         on systems without glib-2.14 (like Fedora 8)
3454
3455         * system-settings/plugins/keyfile/Makefile.am
3456           system-settings/plugins/keyfile/plugin.c
3457           system-settings/plugins/ifcfg-suse/Makefile.am
3458           system-settings/plugins/ifcfg-suse/plugin.c
3459                 - Use private gfilemonitor code if GIO is not present
3460
3461 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3462
3463         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3464         NMExportedConnection's 'update' and 'delete' and return error with
3465         descriptive message.
3466
3467 2008-05-08  Dan Williams  <dcbw@redhat.com>
3468
3469         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3470
3471         * src/nm-gsm-device.c
3472           src/nm-cdma-device.c
3473                 - (real_get_best_auto_connection): implement; allow autoconnection
3474                         to GSM & CDMA devices
3475
3476 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3477
3478         Use PolicyKit to authorize the system settings' AddConnection method
3479         and the system settings connections' Update and Delete methods.
3480         
3481         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3482         (impl_exported_connection_delete, nm_exported_connection_update)
3483         (nm_exported_connection_delete): Return boolean and fill GError
3484         to notify the callers of the reasons why it might have failed.
3485
3486         * libnm-glib/nm-dbus-settings-system.c
3487         (nm_dbus_settings_system_add_connection): Return the error from dbus
3488         call so that the callers can see why it failed.
3489
3490         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3491         signatures.
3492
3493         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3494
3495         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3496         abstract base class that checks PolicyKit permissions.
3497
3498         * system-settings/src/dbus-settings.c:
3499         (impl_settings_add_connection): Check the policy before carring out
3500         the request.
3501
3502         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3503         Inherit from NMSysconfigConnection, check the policies before
3504         allowing updating or removing.
3505
3506         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3507         Inherit from NMSysconfigConnection.
3508
3509         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3510         "Delete" methods with async flag so that the implementations can get
3511         access to DBusGMethodInvocation.
3512
3513         * system-settings/src/dbus-settings.c 
3514         (settings_add_connection_check_privileges): Implement.
3515         (impl_settings_add_connection): Check the privileges before adding a new
3516         connection. Improve error reporting.
3517
3518         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3519         async so that the implementation can access DBusGMethodInvocation.
3520
3521         * configure.in: Check for PolicyKit.
3522
3523         * policy/org.freedesktop.network-manager-settings.system.policy: 
3524         New file.
3525
3526         * policy/Makefile.am: Install the policy file.
3527
3528         * configure.in: Add 'policy' subdir.
3529
3530 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3531
3532         Rewrite the suse system settings plugin.
3533
3534         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3535
3536         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3537
3538         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3539
3540         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3541
3542         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3543
3544         * system-settings/src/main.c (load_plugins): Improve error reporting.
3545
3546         * system-settings/src/sha1.[ch] Add.
3547
3548         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3549
3550 2008-05-07  Dan Williams  <dcbw@redhat.com>
3551
3552         * system-settings/plugins/keyfile/reader.c
3553                 - (read_one_setting_value): handle IP address items separately
3554                 - (read_array_of_uint): read IPv4 DNS option as a string array
3555                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3556                         array
3557
3558         * system-settings/plugins/keyfile/writer.c
3559                 - (write_setting_value): handle IP address items separately
3560                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3561                         not an array of uint, so that it's user-editable
3562                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3563                         arrays, so they are user-editable
3564
3565 2008-05-07  Dan Williams  <dcbw@redhat.com>
3566
3567         * system-settings/plugins/keyfile/Makefile.am
3568                 - Change location of the keyfile plugin settings to
3569                         /etc/NetworkManager/system-connections
3570
3571 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3572
3573         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3574
3575         * system-settings/plugins/keyfile/plugin.c: Work with
3576         NMKeyfileConnections.
3577
3578         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3579         Plugins are supposed to return NMExportedConnections now and handle the
3580         updated(), removed(), and GetSecrets().
3581         Store the internal list of connections in hash table to make it easier
3582         to find duplicates.
3583
3584 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3585
3586         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3587         for multiple IP addresses.
3588
3589 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3590
3591         Patch from André Lemos.
3592
3593         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3594         corruption.
3595
3596 2008-05-06  Dan Williams  <dcbw@redhat.com>
3597
3598         * src/dhcp-manager/nm-dhcp-manager.c
3599                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3600                         NMIP4Config to support multiple IP addresses
3601
3602         * src/NetworkManagerUtils.c
3603                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3604
3605         * src/nm-ip4-config.c
3606           src/nm-ip4-config.h
3607                 - Store a list of IPv4 address/netmask/gateway tuples
3608                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3609                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3610                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3611                    nm_ip4_config_set_address): remove
3612                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3613                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3614                         new functions; handle multiple IPv4 addresses
3615
3616         * src/nm-device.c
3617           src/ppp-manager/nm-ppp-manager.c
3618           src/vpn-manager/nm-vpn-connection.c
3619           src/NetworkManagerPolicy.c
3620           test/nm-tool.c
3621           libnm-glib/libnm-glib-test.c
3622                 - update for changes to NMIP4Config for multiple IPv4 addresses
3623
3624         * src/NetworkManagerSystem.c
3625                 - (nm_system_device_set_ip4_route): don't add the route if any address
3626                         is on the same subnet as the destination
3627                 - (check_one_address): ignore the exact match, just match family and
3628                         interface index
3629                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3630                         an interface
3631                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3632                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3633
3634         * introspection/nm-ip4-config.xml
3635                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3636                 - Add 'addresses' property which is an array of (uuu) tuples of
3637                         address/netmask/gateway
3638
3639         * libnm-util/nm-setting-ip4-config.c
3640                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3641
3642         * libnm-glib/nm-ip4-config.c
3643           libnm-glib/nm-ip4-config.h
3644                 - Handle D-Bus interface changes to support multiple IP addresses
3645
3646 2008-05-06  Dan Williams  <dcbw@redhat.com>
3647
3648         * libnm-util/nm-utils.c
3649           libnm-util/nm-utils.h
3650                 - (nm_utils_ip4_addresses_from_gvalue,
3651                    nm_utils_ip4_addresses_to_gvalue): new functions
3652
3653 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3654
3655         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3656         the returned connection paths.
3657
3658 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3659
3660         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3661         "PropertiesChanged" signal signature.
3662
3663         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3664         defined in nm-dbus-glib-types.h.
3665         Don't register the connection on dbus, we're a proxy class to 
3666         communicate with an already registered connection over dbus.
3667
3668 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3669
3670         Implement new subclasses of NMSettings and NMExportedConnection to make
3671         it easier for the applet to access and modify system settings.
3672
3673         * libnm-glib/nm-dbus-connection.[ch]:
3674         * libnm-glib/nm-dbus-settings.[ch]:
3675         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3676
3677         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3678         bindings and glue.
3679
3680         * include/NetworkManager.h: Define the system settings DBus interface.
3681
3682 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3683
3684         Implement additional C API for exported connections to make them identical
3685         with the DBus API. Change the (list_connections) virtual function to be
3686         more usable from C - instead of requiring implementers to return a GPtrArray
3687         of dbus paths, return a list of connections.
3688
3689         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3690         (nm_settings_list_connections):
3691         (nm_exported_connection_new):
3692         (nm_exported_connection_update):
3693         (nm_exported_connection_delete): Implement.
3694
3695         (impl_settings_list_connections):
3696         (impl_exported_connection_update):
3697         (impl_exported_connection_delete): Use the new public functions to make 
3698         sure the C and dbus interfaces stay in sync.
3699
3700         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3701         connections.
3702
3703 2008-05-02  Dan Williams  <dcbw@redhat.com>
3704
3705         * system-settings/plugins/ifcfg-fedora/plugin.c
3706                 - (dispose): use right unref call on the DBusGConnection
3707
3708 2008-05-02  Dan Williams  <dcbw@redhat.com>
3709
3710         * src/nm-serial-device.c
3711                 - (find_terminator): don't compare the whole line, just the size of the
3712                         terminator, since some modems put stuff after the terminator, like
3713                         "CONNECT 9600"
3714
3715 2008-05-01  Dan Williams  <dcbw@redhat.com>
3716
3717         Patch from Michael Biebl <biebl@debian.org>
3718
3719         * callouts/Makefile.am
3720           callouts/org.freedesktop.nm_dispatcher.service.in
3721           system-settings/src/Makefile.am
3722           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3723                 - use the right install location for dbus-activated stuff
3724
3725 2008-04-30  Dan Williams  <dcbw@redhat.com>
3726
3727         * src/nm-gsm-device.c
3728                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3729                         PIN or PUK
3730
3731 2008-04-30  Dan Williams  <dcbw@redhat.com>
3732
3733         * src/nm-manager.c
3734                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3735
3736 2008-04-30  Dan Williams  <dcbw@redhat.com>
3737
3738         * src/nm-device-802-3-ethernet.c
3739           src/nm-device-802-11-wireless.c
3740                 - (real_is_up): return true instead of chaining up to unimplemented
3741                         parent method
3742
3743 2008-04-30  Dan Williams  <dcbw@redhat.com>
3744
3745         * src/NetworkManagerSystem.c
3746           src/NetworkManagerSystem.h
3747                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3748                         functions to check device flags for IFF_UP
3749
3750         * src/nm-serial-device.c
3751                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3752                         implement is_up
3753
3754         * src/nm-device-802-3-ethernet.c
3755           src/nm-device-802-11-wireless.c
3756                 - (real_hw_is_up): call nm_system_device_is_up()
3757
3758         * src/nm-device.c
3759                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3760                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3761                         does not implement
3762
3763 2008-04-29  Dan Williams  <dcbw@redhat.com>
3764
3765         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3766
3767         * marshallers/nm-marshal.list
3768                 - Add marshaller
3769
3770         * src/NetworkManager.c
3771                 - (main): let the NMManager handle the NMHalManager
3772
3773         * src/nm-hal-manager.c
3774           src/nm-hal-manager.h
3775                 - convert to a GObject, and emit singals when stuff changes.  Let the
3776                         NMManager handle the signals, instead of the NMHalManager calling
3777                         into the NMManager.  
3778
3779         * src/nm-manager.c
3780           src/nm-manager.h
3781                 - (remove_one_device): consolidate device removals here
3782                 - (dispose): use remove_one_device()
3783                 - (nm_manager_get_device_by_udi): make static
3784                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3785                         manager for devices at startup or wakeup time
3786                 - (nm_manager_new): create and monitor the HAL manager
3787                 - (hal_manager_udi_added_cb): new function; do what
3788                         nm_manager_add_device() used to do when signalled by the hal manager
3789                 - (hal_manager_udi_removed_cb): new function; do what
3790                         nm_manager_remove_device() used to do when signalled by the hal
3791                         manager
3792                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3793                         hal manager
3794                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3795                         in our device list that aren't known to HAL
3796                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3797                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3798                         commits ago
3799                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3800                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3801                    nm_manager_wireless_hardware_enabled,
3802                    nm_manager_set_wireless_hardware_enabled): remove, unused
3803
3804 2008-04-28  Dan Williams  <dcbw@redhat.com>
3805
3806         Fix the device up/down ambiguities.  Up/down state used to be a
3807         conglomeration of hardware state (IFF_UP) and any device-specific things
3808         (supplicant, periodic timers, etc) that the device used to indicate
3809         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3810         reason, then the device specific stuff wouldn't get run, and the device
3811         would be stuck.
3812
3813         * src/nm-device.c
3814           src/nm-device.h
3815                 - Create hw_is_up, hw_bring_up, and hw_take_down
3816                 - Rename bring_down -> take_down
3817                 - (real_hw_is_up): check interface flags for IFF_UP
3818                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3819                 - (nm_device_is_up): make static; only used locally
3820                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3821                         if the device is already up; if the device isn't up, bring it up
3822                 - (nm_device_hw_take_down): just take down hardware
3823                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3824                 - (nm_device_take_down): always deactivate device when called; always
3825                         try to take hardware down too
3826                 - (nm_device_state_changed): take device down when entering unmanaged
3827                         state from a higher state
3828
3829         * src/nm-device-802-11-wireless.c
3830                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3831                         check IFF_UP really
3832                 - (real_take_down, supplicant_iface_state_cb_handler, 
3833                    supplicant_iface_connection_state_cb_handler,
3834                    supplicant_mgr_state_cb_handler): fix some messages
3835
3836         * src/nm-device-802-3-ethernet.c
3837                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3838                         check IFF_UP really
3839
3840 2008-04-28  Dan Williams  <dcbw@redhat.com>
3841
3842         * src/nm-manager.c
3843           src/nm-manager.h
3844                 - (nm_manager_error_get_type): add new error
3845                 - (nm_manager_remove_device): don't bother taking down the device here,
3846                         the state change from unmanaging the device will do it
3847                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3848                         uses it; when going to sleep, just unmanage the device instead of
3849                         taking it down, because stuff will cleaned up correctly when the
3850                         device gets unmanaged
3851
3852 2008-04-28  Dan Williams  <dcbw@redhat.com>
3853
3854         * src/nm-hal-manager.c
3855                 - (add_initial_devices): convert to a GSourceFunc prototype
3856                 - (nm_manager_state_changed): when coming out of sleep, punt the
3857                         device re-addition to an idle handler to let D-Bus events go out
3858                         first, fixing a potential dbus-glib assert if the old device was
3859                         not yet disposed (due to references held while emitting the D-Bus
3860                         signals) but the new device was found, because the mainloop didn't
3861                         run between signal emission and add_initial_devices()
3862
3863 2008-04-27  Dan Williams  <dcbw@redhat.com>
3864
3865         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3866
3867         * initscript/paldo/NetworkManager.in
3868           initscript/SUSE/networkmanager.in
3869                 - Remove last bits of dhcdbd
3870
3871 2008-04-27  Dan Williams  <dcbw@redhat.com>
3872
3873         * src/nm-device-802-11-wireless.c
3874                 - (link_timeout_cb): don't ask for secrets when disconnected during
3875                         association/authentication phase, drivers are still just too crappy
3876
3877 2008-04-27  Dan Williams  <dcbw@redhat.com>
3878
3879         * Makefile.am
3880           configure.in
3881           dispatcher-daemon/Makefile.am
3882           dispatcher-daemon/NetworkManagerDispatcher.c
3883           initscript/Arch/Makefile.am
3884           initscript/Arch/networkmanager-dispatcher.in
3885           initscript/Gentoo/Makefile.am
3886           initscript/Gentoo/NetworkManagerDispatcher.in
3887           initscript/Mandriva/Makefile.am
3888           initscript/Mandriva/networkmanagerdispatcher.in
3889           initscript/RedHat/Makefile.am
3890           initscript/RedHat/NetworkManagerDispatcher.in
3891           initscript/SUSE/Makefile.am
3892           initscript/SUSE/networkmanager-dispatcher.in
3893           initscript/Slackware/Makefile.am
3894           initscript/Slackware/rc.networkmanager-dispatcher.in
3895           initscript/paldo/Makefile.am
3896           initscript/paldo/NetworkManagerDispatcher.in
3897           man/Makefile.am
3898           man/NetworkManagerDispatcher.8.in
3899                 - Remove the dispatcher daemon
3900
3901 2008-04-27  Dan Williams  <dcbw@redhat.com>
3902
3903         * callouts/Makefile.am
3904           callouts/nm-dispatcher-action.c
3905           callouts/nm-dispatcher-action.h
3906           callouts/nm-dispatcher.conf
3907           callouts/nm-dispatcher.xml
3908           callouts/org.freedesktop.nm_dispatcher.service
3909                 - Re-implement the dispatcher as a system-bus activated service that
3910                         NM calls on-demand, rather than an always running daemon
3911
3912         * src/Makefile.am
3913                 - Add callouts dir to includes to pick up dispatcher defines
3914
3915         * src/nm-device.c
3916                 - (nm_device_state_changed): call dispatcher on device activated/
3917                         deactivated
3918
3919         * src/vpn-manager/nm-vpn-connection.c
3920                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3921                         go up and down
3922
3923         * src/NetworkManagerUtils.c
3924           src/NetworkManagerUtils.h
3925                 - (nm_utils_call_dispatcher): helper to call dispatcher
3926
3927 2008-04-27  Dan Williams  <dcbw@redhat.com>
3928
3929         * src/NetworkManagerUtils.c
3930           src/NetworkManagerUtils.h
3931                 - remove unneeded includes
3932                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3933                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3934                    nm_timeval_cmp, nm_timeval_add): remove, unused
3935                 - clean up formatting
3936                 - (nm_spawn_process): de-uglify
3937
3938         * src/nm-device-802-11-wireless.c
3939                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3940
3941 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3942
3943         * initscript/Gentoo/NetworkManager.in:
3944                 Fix for starting the daemon.
3945
3946 2008-04-25  Dan Williams  <dcbw@redhat.com>
3947
3948         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3949
3950         * src/NetworkManagerSystem.c
3951                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3952
3953 2008-04-25  Dan Williams  <dcbw@redhat.com>
3954
3955         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3956
3957         * src/NetworkManagerSystem.c
3958                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3959                         implementation of nm_system_device_replace_default_route()
3960
3961         * src/NetworkManagerPolicy.c
3962                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3963
3964         * src/backends/NetworkManagerArch.c
3965           src/backends/NetworkManagerDebian.c
3966           src/backends/NetworkManagerFrugalware.c
3967           src/backends/NetworkManagerGeneric.c
3968           src/backends/NetworkManagerGeneric.h
3969           src/backends/NetworkManagerGentoo.c
3970           src/backends/NetworkManagerMandriva.c
3971           src/backends/NetworkManagerPaldo.c
3972           src/backends/NetworkManagerRedHat.c
3973           src/backends/NetworkManagerSlackware.c
3974           src/backends/NetworkManagerSuSE.c
3975                 - (nm_system_device_replace_default_route): remove
3976
3977 2008-04-25  Dan Williams  <dcbw@redhat.com>
3978
3979         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3980
3981         * src/NetworkManagerSystem.c
3982                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3983                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3984                         replace nm_system_device_add_route_via_device_with_iface() in the
3985                         backends
3986
3987         * src/backends/NetworkManagerArch.c
3988           src/backends/NetworkManagerDebian.c
3989           src/backends/NetworkManagerFrugalware.c
3990           src/backends/NetworkManagerGeneric.c
3991           src/backends/NetworkManagerGeneric.h
3992           src/backends/NetworkManagerGentoo.c
3993           src/backends/NetworkManagerMandriva.c
3994           src/backends/NetworkManagerPaldo.c
3995           src/backends/NetworkManagerRedHat.c
3996           src/backends/NetworkManagerSlackware.c
3997           src/backends/NetworkManagerSuSE.c
3998                 - Remove nm_system_device_add_route_via_device_with_iface()
3999
4000 2008-04-25  Dan Williams  <dcbw@redhat.com>
4001
4002         * system-settings/plugins/ifcfg-fedora/parser.c
4003                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4004
4005 2008-04-24  Dan Williams  <dcbw@redhat.com>
4006
4007         * dispatcher-daemon/NetworkManagerDispatcher.c
4008                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4009
4010 2008-04-24  Dan Williams  <dcbw@redhat.com>
4011
4012         * initscript/RedHat/NetworkManager.in
4013           initscript/RedHat/NetworkManagerDispatcher.in
4014                 - Be active at runlevel 2
4015                 - Adjust priorities earlier
4016
4017 2008-04-22  Dan Williams  <dcbw@redhat.com>
4018
4019         * src/NetworkManagerPolicy.c
4020                 - (update_routing_and_dns): when checking for a gateway, look at the
4021                         composite IP4 config, not the connection's ip4-config setting, which
4022                         doesn't include DHCP-returned information
4023
4024 2008-04-22  Tambet Ingo  <tambet@gmail.com>
4025
4026         Implement GKeyFile system settings plugin.
4027         Implement writing system settings (currently supported only by GKeyFile plugin).
4028
4029         * system-settings/src/main.c: 
4030         * system-settings/src/dbus-settings.c: Move the communication with plugins
4031         from main.c to dbus-settings.c. Makes it possible to talk to all registered
4032         plugins for adding/updating/removing connections.
4033
4034         * system-settings/src/nm-system-config-interface.c
4035         (nm_system_config_interface_add_connection): Implement
4036         (nm_system_config_interface_update_connection): Implement.
4037         (nm_system_config_interface_remove_connection): Implement.
4038
4039         * system-settings/plugins/keyfile/Makefile.am:
4040         * system-settings/plugins/keyfile/plugin.[ch]:
4041         * system-settings/plugins/keyfile/writer.[ch]:
4042         * system-settings/plugins/keyfile/reader.[ch]: Implement.
4043
4044         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4045
4046         * configure.in: Generate GKeyFile Makefile.
4047
4048         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4049         corruption, need to duplicate the returned string.
4050         (impl_exported_connection_update): Implement.
4051         (impl_exported_connection_delete): Implement.
4052
4053         * introspection/nm-settings-system.xml: Add "AddConnection" method.
4054
4055         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4056
4057 2008-04-22  Dan Williams  <dcbw@redhat.com>
4058
4059         Patch from Charles R. Anderson (cra@wpi.edu)
4060
4061         * src/NetworkManagerPolicy.c
4062                 - (update_routing_and_dns): don't select devices without a gateway
4063                         as having the default route (rh #437338)
4064
4065 2008-04-21  Dan Williams  <dcbw@redhat.com>
4066
4067         * src/nm-activation-request.c
4068           src/nm-activation-request.h
4069                 - (dispose): ensure to disconnect from the device's state-changed signal
4070                         when appropriate so the signal doesn't get handled by an already
4071                         disposed NMActRequest
4072                 - (device_state_changed): update is_default here too just to make sure
4073                         default is only True when the child device is activated
4074                 - (nm_act_request_set_default): new function
4075
4076         * src/NetworkManagerPolicy.c
4077                 - (update_routing_and_dns): set 'default' on the active connection which
4078                         has the default route and DNS
4079
4080 2008-04-21  Dan Williams  <dcbw@redhat.com>
4081
4082         * src/NetworkManagerPolicy.c
4083                 - (device_state_changed): update routing and DNS when a device goes
4084                         into unmanaged or unavailable states too (like rfkill or carrier loss)
4085
4086 2008-04-21  Dan Williams  <dcbw@redhat.com>
4087
4088         * include/NetworkManager.h
4089                 - Add NMActiveConnectionState enum
4090
4091         * introspection/nm-active-connection.xml
4092           introspection/nm-vpn-connection.xml
4093                 - Add 'State' property for overall active connection state
4094                 - Add 'Default' property, when True means this active connection
4095                         has the default route
4096                 - Add PropertyChanged signals so changes actually go out over the bus
4097
4098         * src/nm-active-connection.h
4099                 - Add defines for State & Default properties
4100
4101         * src/nm-activation-request.c
4102                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4103                         signal to determine active connection state
4104
4105         * src/vpn-manager/nm-vpn-connection.c
4106           src/vpn-manager/nm-vpn-connection.h
4107           src/vpn-manager/nm-vpn-manager.c
4108           src/vpn-manager/nm-vpn-service.c
4109                 - Rename old 'state' to 'vpn-state'
4110                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4111                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4112                         'vpn-state-changed' signal
4113
4114         * libnm-glib/nm-active-connection.c
4115           libnm-glib/nm-active-connection.h
4116                 - Add new 'state' and 'default' properties and accessors
4117
4118         * libnm-glib/nm-vpn-connection.c
4119           libnm-glib/nm-vpn-connection.h
4120                 - Rename old 'state' property to 'vpn-state'
4121                 - Add new 'state' and 'default' properties and accessors
4122
4123 2008-04-21  Dan Williams  <dcbw@redhat.com>
4124
4125         * src/nm-ip4-config.c
4126                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4127                         not specified (rh #443474)
4128
4129 2008-04-20  Dan Williams  <dcbw@redhat.com>
4130
4131         * src/NetworkManagerUtils.c
4132           src/NetworkManagerUtils.h
4133                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4134                         NMSettingIP4Config to an NMIP4Config object
4135
4136         * src/nm-device.c
4137                 - (merge_ip4_config): move to NetworkManagerUtils.c
4138
4139         * src/vpn-manager/nm-vpn-connection.c
4140                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4141                         too
4142
4143 2008-04-18  Dan Williams  <dcbw@redhat.com>
4144
4145         * libnm-util/nm-setting-ppp.c
4146           libnm-util/nm-setting-ppp.h
4147                 - Add 'no-vj-comp' option for TCP header compression
4148                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4149                         uint32
4150
4151 2008-04-18  Dan Williams  <dcbw@redhat.com>
4152
4153         * libnm-util/nm-setting-ppp.c
4154           libnm-util/nm-setting-ppp.h
4155           src/ppp-manager/nm-ppp-manager.c
4156                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4157
4158 2008-04-18  Dan Williams  <dcbw@redhat.com>
4159
4160         * libnm-util/nm-setting-ppp.c
4161           libnm-util/nm-setting-ppp.h
4162           src/ppp-manager/nm-ppp-manager.c
4163                 - Remove the 'usepeerdns' option and always request DNS servers from
4164                         the PPP server; the connection chooses to use/override/ignore the
4165                         DNS servers returned from the PPP server
4166
4167 2008-04-18  Dan Williams  <dcbw@redhat.com>
4168
4169         * libnm-util/nm-setting-ppp.c
4170           libnm-util/nm-setting-ppp.h
4171           src/ppp-manager/nm-ppp-manager.c
4172                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4173                         it seems to have been an erroneous addition to the PPTP plugin in
4174                         the first place (from which the ppp-manager is derived)
4175
4176 2008-04-17  Dan Williams  <dcbw@redhat.com>
4177
4178         * libnm-util/nm-setting-pppoe.c
4179                 - (verify): require a PPP setting too
4180
4181         * src/ppp-manager/nm-ppp-manager.c
4182                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4183                         segfaulting
4184
4185 2008-04-17  Dan Williams  <dcbw@redhat.com>
4186
4187         * src/nm-device.c
4188                 - (nm_device_state_changed): do deactivation and and promotion to
4189                         unavailable here, so that the device gets cleaned up before the
4190                         manager runs and starts emitting signals; do the
4191                         FAILED->DISCONNECTED transition from an idle handler rather than
4192                         immediately to guard against recursion
4193                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4194                         FAILED->DISCONNECTED handler if it's scheduled
4195
4196 2008-04-17  Dan Williams  <dcbw@redhat.com>
4197
4198         * src/nm-device-802-11-wireless.c
4199                 - (state_changed_cb): clear AP list when device transitions to
4200                         unavailable or unmanaged
4201                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4202                         since this is already done in device_cleanup()
4203                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4204                         isn't available or managed
4205                 - (device_cleanup): use remove_all_aps()
4206                 - (remove_all_aps): consolidate code removing all APs
4207
4208 2008-04-17  Dan Williams  <dcbw@redhat.com>
4209
4210         * src/nm-serial-device.c
4211           src/nm-serial-device.h
4212                 - (wait_for_reply_got_data): break input into lines, and search each
4213                         line for responses _and_ terminator strings; also make sure that
4214                         the read loop doesn't continue after the timeout is supposed to fire
4215                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4216
4217         * src/nm-gsm-device.c
4218           src/nm-cdma-device.c
4219                 - Send terminators to nm_serial_device_wait_for_reply()
4220
4221 2008-04-16  Dan Williams  <dcbw@redhat.com>
4222
4223         Patch from 陈鑫 <znscnchen@gmail.com>
4224
4225         * src/ppp-manager/nm-pppd-plugin.c
4226                 - (get_credentials): return correct value for success; handle case where
4227                         pppd just does some checking but doesn't want a password
4228                 - (plugin_init): make CHAP work too
4229
4230 2008-04-16  Dan Williams  <dcbw@redhat.com>
4231
4232         Patch from 陈鑫 <znscnchen@gmail.com>
4233
4234         * src/ppp-manager/nm-ppp-manager.c
4235                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4236
4237 2008-04-16  Dan Williams  <dcbw@redhat.com>
4238
4239         Patch from 陈鑫 <znscnchen@gmail.com>
4240
4241         * src/nm-device-802-3-ethernet.c
4242                 - (real_deactivate_quickly): clear the IP interface name on
4243                         deactivation, otherwise the wrong interface might get used later
4244                         for routing and IP management
4245
4246 2008-04-15  Dan Williams  <dcbw@redhat.com>
4247
4248         * libnm-glib/nm-device.c
4249                 - (get_product_and_vendor): handle serial devices correctly
4250                 - (nm_device_update_description): pass device to get_product_and_vendor()
4251
4252 2008-04-15  Dan Williams  <dcbw@redhat.com>
4253
4254         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4255
4256         * src/NetworkManagerSystem.h
4257           src/backends/NetworkManagerArch.c
4258           src/backends/NetworkManagerDebian.c
4259           src/backends/NetworkManagerFrugalware.c
4260           src/backends/NetworkManagerGeneric.c
4261           src/backends/NetworkManagerGeneric.h
4262           src/backends/NetworkManagerGentoo.c
4263           src/backends/NetworkManagerMandriva.c
4264           src/backends/NetworkManagerPaldo.c
4265           src/backends/NetworkManagerRedHat.c
4266           src/backends/NetworkManagerSlackware.c
4267           src/backends/NetworkManagerSuSE.c
4268           src/nm-device.c
4269                 - (nm_generic_device_add_ip6_link_address,
4270                    nm_system_device_add_ip6_link_address): remove
4271
4272 2008-04-15  Dan Williams  <dcbw@redhat.com>
4273
4274         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4275
4276         * src/backends/NetworkManagerArch.c
4277           src/backends/NetworkManagerDebian.c
4278           src/backends/NetworkManagerFrugalware.c
4279           src/backends/NetworkManagerGeneric.c
4280           src/backends/NetworkManagerGeneric.h
4281           src/backends/NetworkManagerGentoo.c
4282           src/backends/NetworkManagerMandriva.c
4283           src/backends/NetworkManagerPaldo.c
4284           src/backends/NetworkManagerRedHat.c
4285           src/backends/NetworkManagerSlackware.c
4286           src/backends/NetworkManagerSuSE.c
4287           src/NetworkManagerSystem.h
4288                 - flush_routes -> flush_ip4_routes
4289                 - flush_addresses -> flush_ip4_addresses
4290
4291         * src/NetworkManagerSystem.c
4292           src/nm-device.c
4293           src/vpn-manager/nm-vpn-connection.c
4294                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4295
4296 2008-04-15  Dan Williams  <dcbw@redhat.com>
4297
4298         Remove exposure of wireless-tools mode types in the API.
4299
4300         * include/NetworkManager.h
4301                 - Define NM80211Mode enum
4302
4303         * introspection/generic-types.xml
4304                 - Describe NM_802_11_MODE enum
4305                 - Remove IW_MODE_* enum
4306
4307         * introspection/nm-access-point.xml
4308           libnm-glib/nm-access-point.c
4309           libnm-glib/nm-access-point.h
4310                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4311
4312         * introspection/nm-device-802-11-wireless.xml
4313           libnm-glib/nm-device-802-11-wireless.c
4314           libnm-glib/nm-device-802-11-wireless.h
4315                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4316
4317         * libnm-util/nm-setting-wireless.c
4318           src/NetworkManagerAP.c
4319           src/NetworkManagerAP.h
4320           src/nm-device-802-11-wireless.c
4321           src/nm-device-802-11-wireless.h
4322           test/nm-tool.c
4323                 - Use NM80211Mode not IW_MODE_*
4324
4325 2008-04-15  Dan Williams  <dcbw@redhat.com>
4326
4327         Enhance nm-online based on a patch from Bill Nottingham.
4328
4329         * test/nm-online.c
4330                 - Add a '-q' option
4331                 - Add help messages and option summary
4332                 - Add long-format options
4333                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4334
4335 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4336
4337         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4338
4339         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4340
4341 2008-04-15  Dan Williams  <dcbw@redhat.com>
4342
4343         * nm-setting-ip4-config.c
4344                 - (ip4_addresses_from_gvalue): handle NULL address array
4345
4346         * nm-setting-8021x.c
4347                 - (verify_tls, verify_ttls): warn on failed verification
4348
4349 2008-04-10  Dan Williams  <dcbw@redhat.com>
4350
4351         * src/nm-gsm-device.c
4352                 - (automatic_registration): accept "+CREG: 0,0"
4353                 - (automatic_registration_response): fail on "+CREG: 0,0"
4354
4355 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4356
4357         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4358
4359 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4360
4361         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4362         Make it compile again by commenting out broken code that at first didn't work and
4363         now didn't compile either.
4364
4365 2008-04-08  Dan Williams  <dcbw@redhat.com>
4366
4367         * libnm-glib/nm-object-cache.c
4368           libnm-glib/nm-settings.c
4369           src/dhcp-manager/nm-dhcp-manager.c
4370           system-settings/plugins/ifcfg-fedora/plugin.c
4371           system-settings/plugins/ifcfg-suse/plugin.c
4372           system-settings/src/nm-system-config-hal-manager.c
4373           libnm-util/nm-utils.c
4374                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4375                         not threadsafe anyway
4376
4377 2008-04-08  Dan Williams  <dcbw@redhat.com>
4378
4379         * system-settings/src/main.c
4380                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4381                         callbacks take a device type too
4382
4383 2008-04-08  Dan Williams  <dcbw@redhat.com>
4384
4385         The system settings service will now create a new default DHCP connection
4386         for wired devices that have no existing applicable connection.
4387
4388         * system-settings/src/nm-system-config-hal-manager.c
4389           system-settings/src/nm-system-config-hal-manager.h
4390                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4391
4392         * system-settings/src/dbus-settings.c
4393           system-settings/src/dbus-settings.h
4394                 - (nm_sysconfig_settings_get_connections): new function
4395                 - (nm_sysconfig_settings_is_device_managed): new function
4396
4397         * system-settings/src/main.c
4398                 - (load_stuff): check for wired devices that need a default connection
4399                 - (get_details_for_udi): get interface and MAC address from HAL
4400                 - (add_default_dhcp_connection): add a default connection for a wired
4401                         device if needed
4402                 - (device_added_cb, device_removed_cb): do the right thing with
4403                         wired devices and their default connections on HAL device events
4404
4405 2008-04-07  Dan Williams  <dcbw@redhat.com>
4406
4407         * libnm-glib/nm-device.c
4408           libnm-glib/nm-device.h
4409                 - Proxy the 'managed' property
4410
4411 2008-04-07  Dan Williams  <dcbw@redhat.com>
4412
4413         * src/nm-gsm-device.c
4414           src/nm-cdma-device.c
4415                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4416                         handler to transition to DISCONNECTED
4417
4418 2008-04-07  Dan Williams  <dcbw@redhat.com>
4419
4420         Patch from Bill Nottingham
4421
4422         * dispatcher-daemon/NetworkManagerDispatcher.c
4423                 - ignore backup/packaging crufy (rh #440143)
4424
4425 2008-04-07  Dan Williams  <dcbw@redhat.com>
4426
4427         * include/NetworkManager.h
4428                 - Remove the DOWN and CANCELLED device states
4429                 - Add UNMANAGED and UNAVAILABLE device states
4430                 - Document the device states
4431
4432         * introspection/nm-device.xml
4433           src/nm-device-interface.c
4434           src/nm-device-interface.h
4435                 - Add the 'managed' property
4436
4437         * test/nm-tool.c
4438                 - (detail_device): print out device state
4439
4440         * src/NetworkManagerSystem.h
4441           src/backends/NetworkManagerArch.c
4442           src/backends/NetworkManagerDebian.c
4443           src/backends/NetworkManagerFrugalware.c
4444           src/backends/NetworkManagerGentoo.c
4445           src/backends/NetworkManagerMandriva.c
4446           src/backends/NetworkManagerPaldo.c
4447           src/backends/NetworkManagerRedHat.c
4448           src/backends/NetworkManagerSlackware.c
4449           src/backends/NetworkManagerSuSE.c
4450                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4451                    nm_system_device_free_system_config): remove; they were unused and
4452                         their functionality should be re-implemented in each distro's
4453                         system settings service plugin 
4454
4455         * src/nm-gsm-device.c
4456           src/nm-gsm-device.h
4457           src/nm-cdma-device.c
4458           src/nm-cdma-device.h
4459                 - (*_new): take the 'managed' argument
4460
4461         * src/nm-device.c
4462                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4463                 - (nm_device_init): start in unmanaged state, not disconnected
4464                 - (constructor): don't start device until the system settings service
4465                         has had a chance to figure out if the device is managed or not
4466                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4467                         don't set device state here, let callers handle that as appropriate
4468                 - (nm_device_dispose): don't touch the device if it's not managed
4469                 - (set_property, get_property, nm_device_class_init): implement the
4470                         'managed' property
4471                 - (nm_device_state_changed): bring the device up if its now managed,
4472                         and deactivate it if it used to be active
4473                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4474                         with the managed state
4475
4476         * src/nm-hal-manager.c
4477                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4478                         take initial managed state and pass it along to device constructors
4479                 - (create_device_and_add_to_list): get managed state and pass to
4480                         type creators
4481
4482         * src/nm-device-802-11-wireless.c
4483                 - (real_can_activate): fold in most of
4484                         nm_device_802_11_wireless_can_activate()
4485                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4486                 - (link_timeout_cb): instead of deactivating, change device state and
4487                         let the device state handler to it
4488                 - (real_update_hw_address): clean up
4489                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4490                         handler to transition to DISCONNECTED if the device isn't rfkilled
4491
4492         * src/nm-device-802-3-ethernet.c
4493                 - (set_carrier): move above callers and get rid of prototype
4494                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4495                         idle handler to transition to DISCONNECTED if the device has a
4496                         carrier
4497                 - (real_update_hw_address): clean up
4498                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4499                         deactivation directly as deactivation doesn't change state anymore
4500
4501         * src/NetworkManagerPolicy.c
4502                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4503                         the NMManager and wireless devices work that out themselves now
4504                 - (device_state_changed): change to a switch and update for new device
4505                         states
4506                 - (device_carrier_changed): remove; device handles this now through
4507                         state changes
4508                 - (device_added): don't care about carrier any more; the initial
4509                         activation check will happen when the device transitions to
4510                         DISCONNECTED
4511
4512         * src/nm-manager.c
4513                 - (dispose): clear unmanaged devices
4514                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4515                         the managed property on each device when needed
4516                 - (system_settings_properties_changed_cb): handle signals from the
4517                         system settings service
4518                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4519                         getting the unmanaged device list method call
4520                 - (query_unmanaged_devices): ask the system settings service for its
4521                         list of unmanaged devices
4522                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4523                         devices
4524                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4525                         devices directly and let them handle the necessary state transitions
4526                 - (manager_device_state_changed): update for new device states
4527                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4528                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4529                 - (nm_manager_activate_connection): return error if the device is
4530                         unmanaged
4531                 - (nm_manager_sleep): handle new device states correctly; don't change
4532                         the state of unavailable/unmanaged devices
4533
4534         * libnm-glib/nm-device-802-11-wireless.c
4535                 - (state_changed_cb): update for new device states
4536
4537 2008-04-07  Dan Williams  <dcbw@redhat.com>
4538
4539         * marshallers/nm-marshal.list
4540                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4541
4542 2008-04-07  Dan Williams  <dcbw@redhat.com>
4543
4544         * system-settings/src/main.c
4545                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4546                         plugins to the dbus settings object
4547                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4548                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4549                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4550                 - (main): switch default logging to syslog with a 'debug' option to
4551                         output to console; start up the HAL manager
4552
4553 2008-04-07  Dan Williams  <dcbw@redhat.com>
4554
4555         * introspection/nm-settings-system.xml
4556           introspection/Makefile.am
4557                 - Define the unmanaged devices interface for the system settings service
4558
4559         * system-settings/src/nm-system-config-hal-manager.c
4560           system-settings/src/nm-system-config-hal-manager.h
4561           system-settings/src/nm-system-config-hal-manager-private.h
4562           system-settings/src/Makefile.am
4563                 - Add a lightweight HAL manager object for tracking network devices for
4564                         the purpose of determining unmanaged devices and which devices need
4565                         the default DHCP connections
4566
4567         * system-settings/src/nm-system-config-interface.c
4568           system-settings/src/nm-system-config-interface.h
4569                 - (nm_system_config_interface_init): add the HAL manager as an argument
4570                 - (nm_system_config_interface_get_unmanaged_devices): implement
4571                 - Define 'unmanaged-devices-changed' signal
4572
4573         * system-settings/src/dbus-settings.c
4574           system-settings/src/dbus-settings.h
4575                 - Implement the unmanaged devices interface; some cleanups
4576
4577         * system-settings/plugins/ifcfg-suse/plugin.c
4578                 - Fixup for plugin interface changes
4579
4580         * system-settings/plugins/ifcfg-fedora/plugin.c
4581                 - (get_ether_device_udi): new function; find the device that has
4582                         a specified MAC address and return its UDI
4583                 - (get_udi_for_connection): new function; try to find the specific
4584                         device a connection is locked to, if any
4585                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4586                         response to HAL events
4587                 - (get_unmanaged_devices): new function; return unmanaged device list
4588                 - (build_one_connection): set the connection's locked device, if any
4589                 - (write_auto_wired_connection): remove
4590                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4591                 - (handle_connection_changed): alert listeners that the unmanaged device
4592                         list has changed
4593                 - (init): fixup for plugin interface changes, implement unmanaged devices
4594
4595         * system-settings/plugins/ifcfg-fedora/parser.c
4596           system-settings/plugins/ifcfg-fedora/parser.h
4597                 - (connection_data_free): clean up connection UDI
4598
4599 2008-04-07  Dan Williams  <dcbw@redhat.com>
4600
4601         * system-settings/plugins/ifcfg-fedora/parser.c
4602                 - (make_ip4_setting): fix parsing of DNS servers
4603
4604 2008-04-05  Dan Williams  <dcbw@redhat.com>
4605
4606         * Makefile.am
4607           configure.in
4608           marshallers/Makefile.am
4609           marshallers/nm-marshal-main.c
4610           marshallers/nm-marshal.list
4611                 - Consolidate marshallers
4612
4613         * libnm-glib/nm-marshal-main.c
4614           libnm-glib/nm-marshal.list
4615           src/marshallers/Makefile.am
4616           src/marshallers/nm-marshal-main.c
4617           src/marshallers/nm-marshal.list
4618                 - Remove
4619
4620         * libnm-glib/Makefile.am
4621           src/Makefile.am
4622           src/dhcp-manager/Makefile.am
4623           src/ppp-manager/Makefile.am
4624           src/supplicant-manager/Makefile.am
4625           src/vpn-manager/Makefile.am
4626                 - Use consolidated marshallers
4627
4628 2008-04-04  Dan Williams  <dcbw@redhat.com>
4629
4630         * src/nm-hal-manager.c
4631           src/nm-hal-manager.h
4632                 - (hal_init): don't look for hardware here
4633                 - (nm_hal_manager_start): new function; look for hardware here instead,
4634                         which can be done at a later time than hal_init()
4635
4636         * src/NetworkManager.c
4637                 - (main): start HAL manager after entering the main loop
4638
4639 2008-04-03  Dan Williams  <dcbw@redhat.com>
4640
4641         * libnm-glib/nm-settings.c
4642           libnm-glib/nm-settings.h
4643             - (nm_exported_connection_get_id): new function
4644                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4645
4646 2008-04-02  Dan Williams  <dcbw@redhat.com>
4647
4648         * src/nm-device-interface.c
4649           src/nm-device-interface.h
4650           src/nm-device.c
4651           src/nm-device.h
4652                 - Rename check_connection_conflicts() to check_connection_compatible()
4653
4654         * src/nm-device-802-11-wireless.c
4655                 - (real_check_connection_conflicts): remove
4656                 - (real_check_connection_compatible): implement; match MAC address
4657
4658         * src/nm-device-802-3-ethernet.c
4659                 - (real_check_connection_conflicts): remove
4660                 - (real_check_connection_compatible): implement; match MAC address
4661                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4662
4663         * src/nm-manager.c
4664                 - (check_connection_allowed): remove; unused until PolicyKit integration
4665                 - (internal_activate_device): check whether the connection is compatible
4666                         with the device before trying to activate it
4667
4668 2008-04-02  Dan Williams  <dcbw@redhat.com>
4669
4670         * system-settings/plugins/ifcfg-fedora/parser.c
4671                 - (read_mac_address): new function; read in MAC address and stuff it
4672                         into the connection
4673                 - (add_one_wep_key): remove debug spew
4674                 - (make_wireless_security_setting): validate the default TX key; don't
4675                         add the wireless-security setting if the connection doesn't need
4676                         security; don't leak the keys shvarFile on error cases
4677                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4678                         address
4679
4680 2008-04-02  Dan Williams  <dcbw@redhat.com>
4681
4682         * libnm-util/nm-setting-connection.c
4683           libnm-util/nm-setting-connection.h
4684                 - (set_property, get_property, nm_setting_connection_class_init): remove
4685                         the 'lockdown' property; it's functionality will be replaced by
4686                         PolicyKit instead
4687
4688 2008-04-01  Dan Williams  <dcbw@redhat.com>
4689
4690         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4691
4692         * configure.in
4693           initscript/Makefile.am
4694           initscript/Mandriva/Makefile.am
4695           initscript/Mandriva/networkmanager.in
4696           initscript/Mandriva/networkmanagerdispatcher.in
4697           src/backends/Makefile.am
4698           src/backends/NetworkManagerMandriva.c
4699           system-settings/plugins/Makefile.am
4700                 - Add Mandriva support
4701
4702 2008-03-31  Dan Williams  <dcbw@redhat.com>
4703
4704         * src/vpn-manager/nm-vpn-service.c
4705                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4706                         errors can be passed back to the caller; also no longer scheduled
4707                         as an idle handler, but called directly; and bump up VPN service
4708                         spawn timeout, 2s is really short
4709                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4710                         but call it directly so that errors are reported on return from
4711                         ActivateConnection() and don't get lost.  If scheduled as an idle
4712                         handler, clients don't have the time to query NM for the new VPN
4713                         connection's properties before the VPN connection is torn down again
4714                         if the service couldn't be launched, and therefore launch errors
4715                         get lost.
4716
4717 2008-03-31  Dan Williams  <dcbw@redhat.com>
4718
4719         * src/vpn-manager/nm-vpn-connection.c
4720                 - (device_state_changed): send correct state on device failure too
4721                 - (plugin_state_changed): failed state means unexpected disconnection,
4722                         thus if the service goes away while the VPN connection is activated
4723                         that's a failure too
4724
4725 2008-03-31  Dan Williams  <dcbw@redhat.com>
4726
4727         * src/vpn-manager/nm-vpn-manager.c
4728           src/vpn-manager/nm-vpn-manager.h
4729                 - Make VPNManager errors more available; add a service-start-failed error
4730
4731 2008-03-31  Dan Williams  <dcbw@redhat.com>
4732
4733         * libnm-glib/nm-client.c
4734           libnm-glib/nm-client.h
4735                 - (activate_cb): pass the new active connection to callback; fix
4736                         message when no callback is specified
4737
4738 2008-03-30  Dan Williams  <dcbw@redhat.com>
4739
4740         * libnm-util/nm-setting-wireless-security.c
4741                 - (need_secrets): only require key0 if the transmit key index is also
4742                         0
4743                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4744
4745 2008-03-29  Dan Williams  <dcbw@redhat.com>
4746
4747         * libnm-util/nm-setting-8021x.c
4748           libnm-util/nm-setting-ip4-config.c
4749           libnm-util/nm-setting-vpn-properties.c
4750           libnm-util/nm-setting-vpn.c
4751           libnm-util/nm-setting-wireless-security.c
4752           libnm-util/nm-setting-wireless.c
4753           libnm-util/nm-utils.c
4754           src/dhcp-manager/nm-dhcp-manager.c
4755           src/nm-activation-request.c
4756           src/nm-ip4-config.c
4757           src/nm-manager.c
4758           src/nm-properties-changed-signal.c
4759           src/ppp-manager/nm-pppd-plugin.c
4760           src/supplicant-manager/nm-supplicant-interface.c
4761           src/vpn-manager/nm-vpn-connection.c
4762                 - consistently use nm-dbus-glib-types.h
4763
4764 2008-03-29  Dan Williams  <dcbw@redhat.com>
4765
4766         * src/vpn-manager/nm-vpn-connection.c
4767                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4768                         not string
4769
4770         * src/nm-activation-request.c
4771                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4772                         not string
4773
4774 2008-03-29  Dan Williams  <dcbw@redhat.com>
4775
4776         * libnm-glib/nm-device-802-11-wireless.c
4777                 - (access_point_added_proxy): create new APs if not found
4778
4779 2008-03-29  Dan Williams  <dcbw@redhat.com>
4780
4781         * libnm-glib/nm-client.c
4782                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4783                         before freeing them
4784
4785 2008-03-29  Dan Williams  <dcbw@redhat.com>
4786
4787         * system-settings/plugins/ifcfg-fedora/parser.c
4788                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4789                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4790
4791 2008-03-29  Dan Williams  <dcbw@redhat.com>
4792
4793         * system-settings/plugins/ifcfg-fedora/parser.c
4794                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4795
4796 2008-03-27  Dan Williams  <dcbw@redhat.com>
4797
4798         * nm-object.c
4799                 - (nm_object_queue_notify): don't notify multiple times for the same
4800                         property
4801
4802         * nm-object-private.h
4803                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4804                         if it has zero elements
4805
4806         * nm-ip4-config.c
4807                 - (finalize): use g_ptr_array_foreach() when freeing domains
4808                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4809
4810         * nm-active-connection.c
4811                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4812
4813         * nm-device-802-11-wireless.c
4814           nm-device-802-11-wireless.h
4815                 - (nm_device_802_11_wireless_get_access_points): return const; use
4816                         handle_ptr_array_return()
4817
4818         * nm-types.c
4819                 - (nm_object_array_demarshal): always create an array, even of length
4820                         zero, to distinguish between "NM returned no items" and "haven't
4821                         asked NM yet"
4822
4823         * nm-client.c
4824                 - (dispose): free active connections too
4825                 - (proxy_name_owner_changed): free active connections too when NM goes
4826                         away
4827                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4828                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4829
4830 2008-03-26  Dan Williams  <dcbw@redhat.com>
4831
4832         Rework VPN connection handling for a more consistent D-Bus API.  The
4833         VPNManager object has been removed, and active VPN connections are now the
4834         same as any other active connection.  The Manager object's ActivateConnection
4835         and DeactivateConnection methods are used to start and stop a VPN connection,
4836         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4837         When activating a VPN connection, pass the path of the active connection
4838         to which the VPN connection is tied in the 'specific_object' argument.
4839
4840         Consequently, the libnm-glib API has been reworked to match this arrangement,
4841         with the VPNManager object removed, and the NMVPNConnection objects now
4842         being subclasses of NMActiveConnection.
4843
4844 2008-03-25  Dan Williams  <dcbw@redhat.com>
4845
4846         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4847
4848         * initscript/Arch/networkmanager.in
4849           initscript/Arch/networkmanager-dispatcher.in
4850                 - Updates for Arch Linux (gnome.org #523701)
4851
4852 2008-03-25  Dan Williams  <dcbw@redhat.com>
4853
4854         * libnm-glib/nm-ip4-config.c
4855           libnm-glib/nm-active-connection.c
4856           libnm-glib/nm-access-point.c
4857                 - Use nm_object_queue_notify() instead of g_object_notify()
4858
4859         * libnm-glib/nm-device.c
4860                 - (demarshal_ip4_config): distinguish between successful but missing
4861                         ip4-config request, and unsuccessful and missing ip4-config request
4862                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4863                         path
4864                 - Use nm_object_queue_notify() instead of g_object_notify()
4865
4866         * libnm-glib/nm-device-802-11-wireless.c
4867                 - (demarshal_active_ap): distinguish between successfull but missing
4868                         active-ap request, and unsuccessful and missing active-ap request
4869                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4870                         code
4871                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4872                         for the NMClient to notify the device that wireless is disabled,
4873                         and therefore to clear the AP list and active AP
4874                 - Use nm_object_queue_notify() instead of g_object_notify()
4875
4876         * libnm-glib/nm-client.c
4877                 - (poke_wireless_devices_with_rf_status): new function
4878                 - (update_wireless_status): notify wireless devices of the rfkill status
4879                         so they can clean up if needed
4880                 - Use nm_object_queue_notify() instead of g_object_notify()
4881
4882 2008-03-25  Dan Williams  <dcbw@redhat.com>
4883
4884         * libnm-glib/nm-object.c
4885           libnm-glib/nm-object-private.h
4886                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4887                         signals to an idle handler
4888                 - (nm_object_get_property): add a timeout to the D-Bus method call
4889
4890 2008-03-25  Dan Williams  <dcbw@redhat.com>
4891
4892         * introspection/nm-device-cdma.xml
4893           introspection/nm-device-gsm.xml
4894           introspection/Makefile.am
4895           introspection/all.xml
4896                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4897
4898         * src/nm-gsm-device.h
4899           src/nm-gsm-device.c
4900           src/nm-cdma-device.h
4901           src/nm-cdma-device.c
4902           src/Makefile.am
4903                 - Implement PropertiesChanged signals
4904
4905         * libnm-glib/nm-cdma-device.c
4906           libnm-glib/nm-cdma-device.c
4907                 - Attach to PropertiesChanged signals
4908
4909 2008-03-24  Dan Williams  <dcbw@redhat.com>
4910
4911         * libnm-glib/nm-client.c
4912                 - (client_device_added_proxy): add new devices to the internal device
4913                         list so they appear to clients
4914
4915 2008-03-24  Dan Williams  <dcbw@redhat.com>
4916
4917         Massive fixup of libnm-glib to:
4918         a) have all objects (with the exception of VPN) cache their properties and
4919                 update them asynchronously on PropertiesChanged signals from NM
4920         b) return internal const data for most attributes/properties instead of
4921                 allocated values that the caller must free
4922         c) cache wrapped objects such that a given D-Bus path will always map to the
4923                 same GObject returned by libnm-glib
4924         d) remove a few signals and move them to GObject property notifications
4925         e) match recent NM D-Bus API changes for activation/deactivation
4926         f) remove some private functions from libnm-glib headers
4927
4928 2008-03-20  Dan Williams  <dcbw@redhat.com>
4929
4930         * src/nm-manager.c
4931                 - (nm_manager_update_state, manager_device_state_changed,
4932                    nm_manager_activate_device, connection_added_default_handler,
4933                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4934                         queue PropertyChanged singals when the active connections change
4935
4936 2008-03-20  Dan Williams  <dcbw@redhat.com>
4937
4938         * introspection/nm-manager.xml
4939           introspection/nm-manager-client.xml
4940                 - (ActivateConnection): return the object path of the active connection
4941                         on success
4942                 - (GetActiveConnections): remove
4943                 - (DeactivateConnection): new function; deactivate a currently active
4944                         connection
4945                 - Add an ActiveConnections property which returns an array of
4946                         active connection object paths
4947
4948         * introspection/nm-device.xml
4949                 - (Deactivate): remove
4950
4951         * introspection/all.xml
4952                 - Add ActiveConnection introspection
4953
4954         * introspection/nm-active-connection.xml
4955                 - Add the ActiveConnection object
4956
4957         * include/NetworkManager.h
4958                 - Add the Connection.Active D-Bus interface
4959
4960         * src/nm-device-interface.c
4961                 - (impl_device_deactivate): remove
4962
4963         * src/nm-activation-request.c
4964           src/nm-activation-request.c
4965           src/Makefile.am
4966                 - Implement the Connection.Active D-Bus interface
4967
4968         * src/nm-manager.c
4969                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4970                 - (nm_manager_activate_device): return the active connection path
4971                 - (connection_added_default_handler, impl_manager_activate_connection):
4972                         return the active connection to the caller
4973                 - (add_one_connection_element, impl_manager_get_active_connections):
4974                         remove
4975                 - (impl_manager_deactivate_connection): new function; deactivate an
4976                         active connection
4977
4978         * libnm-glib/nm-device.c
4979           libnm-glib/nm-device.h
4980                 - Remove Deactivate() function
4981
4982 2008-03-19  Dan Williams  <dcbw@redhat.com>
4983
4984         * introspection/nm-manager.xml
4985           introspection/nm-manager-client.xml
4986                 - Rename the ActivateDevice method to ActivateConnection to better
4987                         reflect it's usage; it's arguments get reordered a bit too
4988                 - Convert GetActiveConnections method return from a struct to a dict
4989
4990         * include/NetworkManager.h
4991                 - Define the dict keys for return value of GetActiveConnections
4992
4993         * src/nm-manager.c
4994                 - impl_manager_activate_device -> impl_manager_activate_connection
4995                 - (add_one_connection_element): return a populated hash table, not
4996                         a structure
4997
4998         * libnm-glib/nm-client.c
4999           libnm-glib/nm-client.h
5000                 - nm_client_activate_device -> nm_client_activate_connection
5001                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5002                 - (nm_client_get_active_connections): return a GSList of GHashTables,
5003                         instead of the custom structures.  Each element of the returned list
5004                         must be freed with nm_client_free_active_connections_element()
5005
5006 2008-03-18  Dan Williams  <dcbw@redhat.com>
5007
5008         * system-settings/plugins/ifcfg-fedora/parser.c
5009           system-settings/plugins/ifcfg-fedora/parser.h
5010           system-settings/plugins/ifcfg-fedora/plugin.c
5011                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5012                         profiles.  DNS servers and searches must now be stored in the ifcfg
5013                         files themselves
5014
5015 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5016
5017         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5018         print out username and password, it's supposed to be a secret.
5019
5020         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
5021         request and set the device state accordingly.
5022
5023 2008-03-18  Tambet Ingo  <tambet@gmail.com>
5024
5025         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5026
5027         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5028
5029 2008-03-18  Dan Williams  <dcbw@redhat.com>
5030
5031         * src/vpn-manager/nm-vpn-connection.c
5032                 - (get_secrets_cb): handle new GetSecrets return format
5033
5034 2008-03-18  Dan Williams  <dcbw@redhat.com>
5035
5036         Adapt system settings service for split 802.1x.
5037
5038         * system-settings/src/nm-system-config-interface.h
5039                 - clarify return value of get_secrets()
5040
5041         * system-settings/src/dbus-settings.c
5042                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5043                 - (check_for_secrets): check if there actually secrets returned by a
5044                         plugin
5045                 - (exported_connection_get_secrets): just return the plugin-returned
5046                         hash of settings' secrets if it looks valid
5047
5048         * system-settings/plugins/ifcfg-fedora/plugin.c
5049                 - (get_secrets): add split secrets with correct format to reply hash
5050
5051         * system-settings/plugins/ifcfg-fedora/parser.c
5052           system-settings/plugins/ifcfg-fedora/parser.h
5053                 - (copy_one_cdata_secret, connection_data_copy_secrets,
5054                    connection_data_free, connection_data_add): keep secrets for
5055                         different settings in different hashes
5056
5057 2008-03-17  Tambet Ingo  <tambet@gmail.com>
5058
5059         Clean up activating device deactivation.
5060
5061         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5062         should be done whether the device activation gets cancelled or the device
5063         is just getting deactivated.
5064         (nm_device_activation_cancel): Remove.
5065         (nm_device_deactivate_quickly): Handle the case where device is activating.
5066
5067         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5068         It does the exact same thing as real_deactivate_quickly().
5069
5070 2008-03-17  Dan Williams  <dcbw@redhat.com>
5071
5072         Split the 802.1x bits out of the wireless-security setting so they are
5073         generalized enough for wired 802.1x to use too.
5074
5075         * introspection/nm-exported-connection.xml
5076                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5077                         of just a hash of the secrets for one setting
5078
5079         * libnm-util/nm-setting-wireless-security.c
5080           libnm-util/nm-setting-wireless-security.h
5081                 - Remove 802.1x-specific stuff
5082                 - Added leap-username and leap-password properties for old-school LEAP
5083
5084         * src/nm-device.c
5085           src/nm-device.h
5086                 - (connection_secrets_updated_cb): take a list of updated settings names,
5087                         not just one
5088
5089         * src/supplicant-manager/nm-supplicant-config.c
5090           src/supplicant-manager/nm-supplicant-config.h
5091                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5092                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5093                         to nm_supplicant_config_add_setting_8021x()
5094                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5095                         the supplicant config
5096
5097         * src/nm-device-802-11-wireless.c
5098                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5099                 - (real_connection_secrets_updated): take a list of updated settings
5100                         names, not just one
5101
5102         * src/nm-device-802-3-ethernet.c
5103           src/nm-cdma-device.c
5104           src/nm-gsm-device.c
5105                 - (real_connection_secrets_updated_cb): take a list of updated settings
5106                         names, not just one
5107
5108         * src/nm-activation-request.c
5109           src/nm-activation-request.h
5110                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5111                         now passes a list of updated settings names, not just one
5112                 - (update_one_setting): new function; handle one updated setting
5113                 - (get_secrets_cb): handle multiple settings returned from the
5114                         settings service; have to be careful of ordering here as there are
5115                         some dependencies between settings (ex. wireless-security and 802.1x
5116                         in some cases)
5117
5118         * src/marshallers/nm-marshal.list
5119                 - new marshaller for connection-secrets-updated signal
5120
5121         * libnm-util/nm-setting-8021x.c
5122                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5123                         methods
5124                 - (verify): a valid 'eap' property is now required
5125
5126         * libnm-util/nm-connection.c
5127                 - (register_default_settings): add priorities to settings; there are
5128                         some dependencies between settings, and during the need_secrets
5129                         calls this priority needs to be respected.  For example, only the
5130                         wireless-security setting knows whether or not the connection is
5131                         going to use 802.1x or now, so it must be asked for secrets before
5132                         any existing 802.1x setting is
5133                 - (nm_connection_lookup_setting_type): expose
5134
5135         * libnm-util/nm-setting-wireless.c
5136                 - (verify): should verify even if all_settings is NULL; otherwise won't
5137                         catch the case where there is missing security
5138
5139         * libnm-util/nm-setting-wireless-security.c
5140                 - Remove everything to do with 802.1x
5141                 - Add old-school LEAP specific properties for username and password
5142                 - (need_secrets): rework LEAP secrets checking
5143                 - (verify): rework for LEAP and 802.1x verification
5144
5145 2008-03-17  Dan Williams  <dcbw@redhat.com>
5146
5147         * src/NetworkManagerPolicy.c
5148                 - (auto_activate_device): always remove the current activation check
5149                         from the pending activation list, otherwise when the policy gets
5150                         destroyed on NM exit it will attempt to free the already freed
5151                         activation check
5152
5153 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5154
5155         * src/backends/NetworkManagerSlackware.c 
5156         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5157
5158         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5159
5160 2008-03-14  Dan Williams  <dcbw@redhat.com>
5161
5162         * src/nm-manager.c
5163                 - (nm_device_interface_get_iface): g_object_get() will return an
5164                         allocated value, so this function must not return const
5165                 - (nm_device_interface_activate): free returned iface
5166
5167 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5168
5169         * libnm-util/Makefile.am: Add new files to build.
5170
5171         * libnm-util/nm-connection.c: Register NMSetting8021x.
5172
5173         * libnm-util/nm-setting-8021x.c
5174         * libnm-util/nm-setting-8021x.h: Implement.
5175
5176 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5177
5178         * libnm-util/Makefile.am: Add new files to build.
5179
5180         * libnm-util/nm-connection.c: Register NMSetting8021x.
5181
5182         * libnm-util/nm-setting-8021x.c
5183         * libnm-util/nm-setting-8021x.h: Implement.
5184
5185 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5186
5187         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5188         data.
5189
5190 2008-03-14  Dan Williams  <dcbw@redhat.com>
5191
5192         * include/wireless-helper.h
5193           include/Makefile.am
5194                 - One place for all the junk needed for #including wireless.h
5195
5196         * test/nm-tool.c
5197           src/NetworkManagerAP.c
5198           src/wpa.c
5199           src/Makefile.am
5200           libnm-util/nm-utils.c
5201           libnm-util/nm-setting-wireless.c
5202           libnm-glib/nm-device-802-11-wireless.c
5203           libnm-glib/nm-access-point.c
5204           libnm-glib/libnm-glib-test.c
5205                 - include wireless-helper.h, not iwlib.h
5206
5207         * configure.in
5208                 - Don't need libiw really, just need to check for wireless.h
5209
5210         * src/kernel-types.h
5211                 - Remove; used types moved into wpa.c
5212
5213         * src/nm-device-802-11-wireless.c
5214                 - (nm_device_802_11_wireless_update_signal_strength,
5215                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5216                    nm_device_802_11_wireless_set_mode,
5217                    nm_device_802_11_wireless_get_frequency,
5218                    nm_device_802_11_wireless_get_ssid,
5219                    nm_device_802_11_wireless_set_ssid,
5220                    nm_device_802_11_wireless_get_bitrate,
5221                    nm_device_802_11_wireless_get_bssid,
5222                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5223                         instead of iwlib functions
5224
5225 2008-03-14  Dan Williams  <dcbw@redhat.com>
5226
5227         * src/ppp-manager/nm-ppp-manager.c
5228                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5229                         should only take the DBusGMethodInvocation argument, not user/pass
5230                         too.  With dbus-glib, async functions only take 2 C arguments since
5231                         the real dbus method arguments get passed back with
5232                         dbus_g_method_return()
5233
5234 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5235
5236         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5237         Adapt the changes of NMSettingIP4Config.
5238
5239 2008-03-13  Dan Williams  <dcbw@redhat.com>
5240
5241         * src/NetworkManagerUtils.c
5242           src/NetworkManagerUtils.h
5243                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5244
5245         * src/NetworkManagerAP.c
5246           src/nm-device-802-11-wireless.c
5247           src/nm-device-802-3-ethernet.c
5248                 - s/iw_ether_ntop/nm_ether_ntop/g
5249
5250 2008-03-13  Dan Williams  <dcbw@redhat.com>
5251
5252         * src/NetworkManagerPolicy.c
5253                 - (update_routing_and_dns): never set the default route through an
5254                         IPv4LL addressed device
5255
5256 2008-03-13  Dan Williams  <dcbw@redhat.com>
5257
5258         * NetworkManagerUtils.c
5259           NetworkManagerUtils.h
5260                 - Remove NMSock stuff
5261                 - Remove the completion stuff
5262
5263         * nm-device.c
5264           nm-device.h
5265           NetworkManager.c
5266           NetworkManagerSystem.c
5267           autoip.c
5268           nm-device-802-11-wireless.c
5269           nm-device-802-3-ethernet.c
5270                 - Remove NMSock and completion stuff
5271                 - Remove nm_ioctl_info()
5272
5273 2008-03-12  Dan Williams  <dcbw@redhat.com>
5274
5275         * src/nm-device.c
5276                 - (merge_ip4_config): avoid duplicates
5277
5278 2008-03-12  Dan Williams  <dcbw@redhat.com>
5279
5280         * libnm-util/nm-setting-ip4-config.c
5281           libnm-util/nm-setting-ip4-config.h
5282                 - Remove 'manual' and 'autoip' properties
5283                 - Add 'method' property
5284                 - (verify): fix verification with 'method'
5285                 - (finalize): free 'method'
5286                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5287                         up for 'method'
5288
5289         * src/nm-device.c
5290                 - (real_act_stage3_ip_config_start): check IP4Config method
5291                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5292                         the future
5293                 - (merge_ip4_config): IP settings are valid with DHCP too
5294                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5295                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5296
5297         * src/nm-device-802-11-wireless.c
5298                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5299                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5300                         only on demand
5301
5302         * system-settings/plugins/ifcfg-fedora/parser.c
5303           system-settings/plugins/ifcfg-suse/parser.c
5304                 - (make_ip4_setting): fix up for 'method'
5305
5306 2008-03-12  Dan Williams  <dcbw@redhat.com>
5307
5308         * system-settings/plugins/ifcfg-fedora/parser.c
5309           system-settings/plugins/ifcfg-fedora/parser.h
5310                 - (get_ifcfg_name): ignore more file suffixes
5311                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5312
5313 2008-03-12  Dan Williams  <dcbw@redhat.com>
5314
5315         * configure.in
5316                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5317
5318 2008-03-12  Dan Williams  <dcbw@redhat.com>
5319
5320         * system-settings/plugins/ifcfg-fedora/plugin.c
5321                 - (write_auto_wired_connection): new function; write out an auto
5322                         wired connection file since the applet isn't doing it any more
5323                 - (reload_all_connections): write out the auto wired connection file
5324                         if there aren't any wired connections already
5325                 - (init): don't leak a GError
5326
5327 2008-03-12  Dan Williams  <dcbw@redhat.com>
5328
5329         * src/nm-device-interface.c
5330                 - (nm_device_interface_activate): print the ID of the connection
5331                         that's about to be activated
5332
5333 2008-03-12  Dan Williams  <dcbw@redhat.com>
5334
5335         Harmonize the 802.11 bitrate API
5336
5337         * introspection/nm-access-point.xml
5338                 - 'Rate' -> 'MaxBitrate'; clarify units
5339
5340         * introspection/nm-device-802-11-wireless.xml
5341                 - Clarify units of 'Bitrate'
5342
5343         * src/NetworkManagerAP.c
5344           src/NetworkManagerAP.h
5345                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5346                         property to 'max-bitrate'
5347                 - (foreach_property_cb): convert rate to Kb/s
5348
5349         * src/nm-device-802-11-wireless.c
5350                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5351
5352         * libnm-glib/nm-access-point.c
5353           libnm-glib/nm-access-point.h
5354                 - 'rate' -> 'max-bitrate'
5355
5356         * test/nm-tool.c
5357           libnm-glib/libnm-glib-test.c
5358                 - Fix up for these changes
5359
5360 2008-03-12  Dan Williams  <dcbw@redhat.com>
5361
5362         * src/nm-device.c
5363                 - (nm_device_set_ip4_config): don't send property notifications when
5364                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5365                         which dbus-glib can't parse because the value is NULL, which isn't
5366                         a legal object path.  Setting the IP4 config to NULL is only
5367                         valid when deactivating a device anyway, so the device state change
5368                         will alert listeners that the ip4 config is invalid.
5369
5370 2008-03-12  Dan Williams  <dcbw@redhat.com>
5371
5372         * src/nm-properties-changed-signal.c
5373                 - (add_to_string): better handling of NULL objects
5374
5375 2008-03-12  Dan Williams  <dcbw@redhat.com>
5376
5377         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5378         convert the libnm-glib NMDevice8023Ethernet to cached properties
5379
5380         * introspection/nm-device-802-3-ethernet.xml
5381                 - New 'Carrier' property
5382                 - New 'PropertiesChanged' signal
5383
5384         * introspection/nm-device.xml
5385                 - Remove 'Carrier' property
5386                 - Remove 'CarrierChanged' signal
5387
5388         * src/nm-device-interface.c
5389           src/nm-device-interface.h
5390                 - (nm_device_interface_init): remove 'carrier' property and
5391                         'carrier-changed' signal
5392
5393         * src/nm-device.c
5394           src/nm-device.h
5395                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5396                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5397                         the link here; wired device will handle that
5398                 - (handle_dhcp_lease_change): don't bother updating link here
5399                 - (get_property, nm_device_class_init): remove carrier property
5400
5401         * src/nm-device-802-11-wireless.c
5402                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5403                         real_update_link(); wireless devices don't use carrier at all
5404                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5405                    supplicant_iface_connection_state_cb_handler,
5406                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5407
5408         * src/nm-device-802-3-ethernet.c
5409           src/nm-device-802-3-ethernet.h
5410                 - (nm_device_802_3_ethernet_carrier_on,
5411                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5412                         instead of nm_device_set_carrier()
5413                 - (device_state_changed): update link from sysfs on activation;
5414                         replaces real_update_link()
5415                 - (real_update_link): remove, replaced by device_state_changed()
5416                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5417                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5418                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5419                         new get_carrier function
5420                 - (get_property): add 'carrier' property
5421                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5422                         hook into property-changed signal helper
5423
5424         * src/NetworkManagerPolicy.c
5425                 - (device_carrier_changed): will only ever be called with a wired device
5426                 - (device_added): only hook up to carrier-changed for wired devices
5427
5428         * libnm-glib/nm-device.c
5429           libnm-glib/nm-device.h
5430                 - (constructor, nm_device_class_init): remove carrier-changed signal
5431                 - (device_carrier_changed_proxy): remove; unused
5432                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5433
5434         * libnm-glib/nm-device-802-3-ethernet.c
5435           libnm-glib/nm-device-802-3-ethernet.h
5436                 - Convert to cached properties like AP and Wireless objects
5437                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5438                         instead of a 'char *', return value should not be freed
5439                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5440                 - (constructor): hook into properties-changed helper
5441                 - (set_property, get_property): new functions
5442                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5443
5444         * test/nm-tool.c
5445                 - (detail_device): strdup the wired hardware address too since it's
5446                         cached now
5447
5448         * libnm-glib/libnm-glib-test.c
5449                 - (dump_wired): strdup the wired hardware address too since it's
5450                         cached now
5451
5452 2008-03-12  Dan Williams  <dcbw@redhat.com>
5453
5454         * libnm-util/nm-setting-ip4-config.c
5455           libnm-util/nm-setting-ip4-config.h
5456                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5457                         the 'autoip' property from the spec
5458
5459 2008-03-11  Dan Williams  <dcbw@redhat.com>
5460
5461         * src/backends/NetworkManagerGeneric.c
5462           src/backends/NetworkManagerGeneric.h
5463                 - (nm_generic_device_get_use_dhcp): remove
5464
5465 2008-03-11  Dan Williams  <dcbw@redhat.com>
5466
5467         * src/nm-device.c
5468                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5469                         already in nm_device_set_ip4_config()
5470                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5471                         due to a DHCP rebind fails
5472                 - (nm_device_set_ip4_config): send property notifications when the
5473                         ip4 config changes
5474                 - (get_property): only report IP4Config property during valid states
5475
5476         * src/NetworkManagerPolicy.c
5477                 - (update_routing_and_dns): ignore devices that don't have an ip4
5478                         config; add parameter 'force_update' to allow callers to specify
5479                         that changes should be made even if the default device doesn't change
5480                 - (device_ip4_config_changed): update DNS and routing when the device's
5481                         IP4Config changes, like for DHCP updates
5482                 - (device_added): listen for ip4-config property changes
5483
5484 2008-03-11  Dan Williams  <dcbw@redhat.com>
5485
5486         Fix address handling as a result of DHCP rebind/renew/reboot.
5487
5488         * src/NetworkManagerSystem.c
5489                 - (check_one_address): delete an address if it doesn't match a given
5490                         one for the same interface
5491                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5492                         be smarter about flushing addresses (only flush ones that don't
5493                         match the one we're about to apply)
5494
5495         * src/backends/NetworkManagerDebian.c
5496           src/backends/NetworkManagerSuSE.c
5497           src/backends/NetworkManagerArch.c
5498           src/backends/NetworkManagerSlackware.c
5499           src/backends/NetworkManagerRedHat.c
5500           src/backends/NetworkManagerPaldo.c
5501           src/backends/NetworkManagerFrugalware.c
5502           src/backends/NetworkManagerGentoo.c
5503                 - (nm_system_delete_default_route): remove
5504
5505         * src/backends/NetworkManagerGeneric.c
5506           src/backends/NetworkManagerGeneric.h
5507                 - (nm_generic_enable_loopback): fix the loopback device label
5508                 - (nm_generic_delete_default_route): remove; no longer used
5509
5510 2008-03-11  Dan Williams  <dcbw@redhat.com>
5511
5512         * src/nm-device-interface.h
5513                 - Delimit property name words with '-', otherwise g_object_notify()
5514                         doesn't work the way we expect
5515
5516 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5517
5518         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5519
5520 2008-03-11  Dan Williams  <dcbw@redhat.com>
5521
5522         * src/NetworkManagerPolicy.c
5523                 - (update_routing_and_dns): don't change anything if the default device
5524                         hasn't changed; print something out when switching the default route
5525                         and DNS
5526
5527 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5528
5529         Implement PPPoE.
5530
5531         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5532         setting. Use "nic-$eth".
5533
5534         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5535         the device is activating here to fix a race condition.
5536
5537         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5538
5539         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5540         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5541         (nm_ppp_manager_start): Take activation request instead of connection, we might
5542         need it for asking secrets.
5543         (nm_ppp_manager_update_secrets): Implement.
5544
5545         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5546         ppp manager start. It might be needed for asking secrets.
5547
5548         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5549         (ppp_state_changed): Handle pppd daemon disappearing.
5550         (pppoe_stage2_config): Send activation request to ppp manager start.
5551
5552         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5553
5554         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5555         username and password.
5556         
5557 2008-03-10  Dan Williams  <dcbw@redhat.com>
5558
5559         * src/nm-device.c
5560                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5561                         response to a DHCP lease change
5562                 - (dhcp_state_changed): handle DHCP lease changes while activated
5563                 - (nm_device_set_ip4_config): remove a previously set named config
5564                         when setting an ip4 config
5565
5566 2008-03-10  Dan Williams  <dcbw@redhat.com>
5567
5568         * src/nm-serial-device.c
5569                 - (nm_serial_device_send_command): report errno on error
5570                 - (get_reply_got_data): limit the size of the overall buffer
5571                 - (wait_for_reply_info_destroy): destroy result string
5572                 - (wait_for_reply_got_data): append received data to an overall buffer
5573                         until timeout, filled buffer, or error instead of keeping a per-call
5574                         buffer.  Some devices send data slowly enough that this function
5575                         gets called multiple times for the same command stream.
5576                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5577                         wait_for_reply_got_data() here
5578
5579 2008-03-10  Dan Williams  <dcbw@redhat.com>
5580
5581         * src/nm-cdma-device.c
5582                 - (do_dial, init_modem): handle errors from
5583                         nm_serial_device_send_command_string()
5584
5585         * src/nm-gsm-device.c
5586                 - (do_dial, manual_registration, automatic_registration_get_network,
5587                    automatic_registration, enter_pin, check_pin, init_modem): handle
5588                         errors from nm_serial_device_send_command_string()
5589
5590 2008-03-10  Dan Williams  <dcbw@redhat.com>
5591
5592         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5593
5594         * src/named-manager/nm-named-manager.c
5595                 - (compute_searches): prefer searches before domains
5596                 - (compute_domain): new function
5597                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5598                 - (merge_one_ip4_config): if there are no searches in the source config,
5599                         merge domains of the source config into the target config
5600                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5601
5602 2008-03-10  Dan Williams  <dcbw@redhat.com>
5603
5604         * src/nm-serial-device.c
5605                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5606                 - (wait_for_reply_got_data): try to handle slower serial devices where
5607                         the reply is broken up into multiple reads by concatenating replies
5608                         together until either an error is received or the search string is
5609                         found
5610
5611 2008-03-10  Dan Williams  <dcbw@redhat.com>
5612
5613         * src/nm-device.c
5614                 - (nm_device_bring_down): deactivate the device if it's activating too,
5615                         not just if it's already activated.  This makes sure that everything
5616                         from an association attempt is cleaned up (like DHCP for example)
5617
5618 2008-03-10  Dan Williams  <dcbw@redhat.com>
5619
5620         * src/nm-serial-device.c
5621                 - (config_fd): report error from TCSETA
5622                 - (nm_serial_device_open): fail when config_fd() fails
5623
5624 2008-03-10  Dan Williams  <dcbw@redhat.com>
5625
5626         * src/nm-ip4-config.c
5627                 - (nm_ip4_config_init): allocate searches list
5628                 - (finalize): free searches list
5629
5630 2008-03-09  Dan Williams  <dcbw@redhat.com>
5631
5632         Patch from Bas Zoetekouw <bas@debian.org>
5633
5634         * src/dhcp-manager/nm-dhcp-manager.c
5635                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5636
5637 2008-03-09  Dan Williams  <dcbw@redhat.com>
5638
5639         Patch from Bas Zoetekouw <bas@debian.org>
5640
5641         * src/nm-ip4-config.c
5642           src/nm-ip4-config.h
5643                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5644                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5645                         domains.  'searches' is the correct way to store multiple search
5646                         domains, whereas 'domains' is really just supposed to store one
5647                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5648                         search domains to the client.
5649                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5650
5651 2008-03-09  Dan Williams  <dcbw@redhat.com>
5652
5653         * src/dhcp-manager/nm-dhcp-manager.c
5654                 - (dhclient_run): send interface-specific config files to dhclient
5655
5656 2008-03-07  Dan Williams  <dcbw@redhat.com>
5657
5658         * system-settings/plugins/ifcfg-fedora/parser.c
5659                 - (is_wireless_device): new function; test a device for wireless
5660                         extensions
5661                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5662                         test the device for wireless extensions to determine the type
5663
5664 2008-03-07  Dan Williams  <dcbw@redhat.com>
5665
5666         Change manager's StateChange signal to StateChanged for consistency.
5667
5668         * introspection/nm-manager.xml
5669                 - Add 'StateChanged' signal
5670                 - Move 'StateChange' down to the deprecated section
5671
5672         * src/nm-hal-manager.c
5673                 - (nm_hal_manager_new): connect to 'state-changed' instead
5674
5675         * src/NetworkManagerPolicy.c
5676                 - (nm_policy_new): connect to 'state-changed' instead
5677
5678         * src/nm-manager.c
5679           src/nm-manager.h
5680                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5681                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5682                         of 'state-change'
5683
5684         * libnm-glib/nm-client.c
5685           libnm-glib/nm-client.h
5686                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5687                         track and proxy 'state-changed' instead of 'state-change'
5688
5689 2008-03-07  Dan Williams  <dcbw@redhat.com>
5690
5691         First pass of multiple active device support.  Expect bugs.
5692
5693         * src/nm-ip4-config.c
5694           src/nm-ip4-config.h
5695                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5696                         there are better ways to do this in the named manager
5697
5698         * src/nm-device.c
5699           src/nm-device.h
5700                 - (nm_device_can_activate): return whether the device can activate a
5701                         connection right now; taking into account things like carrier state
5702                         and rfkill state
5703                 - (nm_device_get_best_auto_connection): renamed from
5704                         nm_device_get_best_connection
5705                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5706                         device subclasses themselves, so that each device can override the
5707                         MTU from it's NMSetting subclass if needed
5708                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5709                         in NetworkManagerSystem.c, not here
5710
5711         * src/named-manager/nm-named-manager.c
5712           src/named-manager/nm-named-manager.h
5713                 - (nm_named_manager_name_owner_changed,
5714                    nm_named_manager_dbus_connection_changed): fix for changes to
5715                         rewrite_resolv_conf()
5716                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5717                         from parameter list
5718                 - (merge_one_ip4_config): new function; merge ip4 configs together
5719                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5720                         ip4 configs; the VPN config takes precedence, then the best
5721                         device config, then the rest of the configs
5722                 - (get_domain_for_config): take the NMNamedManager as an argument
5723                         to check whether the config is the VPN config
5724                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5725                         attribute from ip4 configs
5726                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5727                 - (remove_ip4_config_from_named): fix for changes to
5728                         get_domain_for_config()
5729                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5730                         based on its type; callers must pass in the type now
5731                 - (get_last_default_domain): remove, unused
5732                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5733
5734         * src/nm-device-802-11-wireless.c
5735                 - (real_can_activate): new function
5736                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5737                 - (real_act_stage4_get_ip4_config): handle MTU override
5738
5739         * src/nm-device-802-3-ethernet.c
5740                 - (real_can_activate): new function
5741                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5742                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5743
5744         * src/vpn-manager/nm-vpn-connection.c
5745                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5746                         attribute on the ip4 config
5747
5748         * src/NetworkManagerPolicy.c
5749                 - (nm_policy_auto_get_best_device): remove
5750                 - (nm_policy_device_change_check): remove
5751                 - (update_default_route): new function; set the default route via
5752                         the specified device
5753                 - (get_device_priority): new function; return the priority number of
5754                         a device type WRT which one should have the default route.  Order is
5755                         (highest to lowest)  wired, wireless, GSM, CDMA.
5756                 - (update_routing_and_dns): new function; determine which device should
5757                         have the default route, then update the routing table and DNS
5758                 - (maybe_auto_activate_device): new function; if a device is now
5759                         available for activation, find out what connection it would like to
5760                         activate and do it
5761                 - (schedule_activate_check): new function; if a device can be activated
5762                         now, schedule the activation.  Each device may have only one
5763                         pending activation at a given time.
5764                 - (device_state_changed): if activation was canceled, try again,
5765                         possibly with another connection; if the device was activated,
5766                         update routing and DNS; if the device was deactivated, try again
5767                         with another connection
5768                 - (device_carrier_changed): if there is no carrier, deactivate the
5769                         device; otherwise schedule an activation check for the device
5770                 - (wireless_networks_changed): schedule an activation check for the
5771                         device
5772                 - (device_added): keep track of the signal handler IDs so they can
5773                         be removed when the device goes away
5774                 - (device_removed): remove any signal handlers that might be attached
5775                         to the device; update routing and DNS
5776                 - (schedule_activate_all): new function
5777                 - (connections_added, connection_added, connection_updated): when
5778                         connections change, schedule all devices for an activation check
5779                 - (connection_removed): when a device is deactivated because its
5780                         connection was removed, schedule another activation check for it
5781                 - (nm_policy_destroy): destroy pending activations and disconnect
5782                         all device signal handlers
5783
5784         * src/nm-manager.c
5785                 - (nm_manager_activate_device): if the device was already actived,
5786                         deactivate it
5787                 - (deactivate_old_device): remove
5788                 - (connection_added_default_handler, impl_manager_activate_device):
5789                         don't deactivate other devices when activating this one
5790
5791         * src/backends/NetworkManagerGentoo.c
5792           src/backends/NetworkManagerFrugalware.c
5793           src/backends/NetworkManagerPaldo.c
5794           src/backends/NetworkManagerRedHat.c
5795           src/backends/NetworkManagerSlackware.c
5796           src/backends/NetworkManagerArch.c
5797           src/backends/NetworkManagerSuSE.c
5798           src/backends/NetworkManagerDebian.c
5799                 - (nm_system_get_mtu): remove; MTU should be provided through the
5800                         distro's system settings service plugin instead
5801                 - (nm_system_device_add_default_route_via_device): remove
5802                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5803                 - (nm_system_device_replace_default_route): new function; call
5804                         generic implementation
5805
5806         * src/backends/NetworkManagerGeneric.c
5807           src/backends/NetworkManagerGeneric.h
5808                 - (nm_generic_device_add_default_route_via_device,
5809                    nm_generic_device_add_default_route_via_device_with_iface): remove
5810                 - (nm_generic_device_replace_default_route): replace the default route
5811                         with the given route via some gateway
5812
5813         * src/NetworkManagerSystem.c
5814           src/NetworkManagerSystem.h
5815                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5816                         to routing and DNS; but set the MTU here
5817                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5818                         ip_iface of the active device; use the standard MTU setting function
5819                 - (nm_system_set_mtu): remove
5820                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5821
5822 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5823
5824         Rework the interaction between ppp manager and pppd plugin. Register a well
5825         known DBUS service in manager and let the plugin call it's methods instead
5826         of listening plugin's signals.
5827
5828         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5829         of emitting signals.
5830
5831         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5832
5833         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5834
5835         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5836         nm_ppp_manager_start().
5837
5838         * introspection/nm-ppp-manager.xml: New file.
5839
5840         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5841         the case correctly where driver is trying to send -1 for the speed, which gets
5842         casted to u16 and thus is always > 0.
5843
5844 2008-03-07  Dan Williams  <dcbw@redhat.com>
5845
5846         * src/nm-hal-manager.c
5847                 - (nm_get_device_driver_name): use net.originating_device first, fall
5848                         back to physical device.  HAL has deprecated physical_device.
5849
5850         * libnm-glib/nm-device.c
5851                 - (get_product_and_vendor): use net.originating_device first, fall
5852                         back to physical device.  HAL has deprecated physical_device.
5853                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5854
5855 2008-03-07  Dan Williams  <dcbw@redhat.com>
5856
5857         * src/nm-netlink.c
5858                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5859                         last commit; fix that
5860                 - (get_link_cache): print error string
5861
5862 2008-03-07  Dan Williams  <dcbw@redhat.com>
5863
5864         * src/nm-netlink.c
5865                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5866                         don't need this hack any more (Benoit Boissinot)
5867
5868 2008-03-06  Dan Williams  <dcbw@redhat.com>
5869
5870         * autogen.sh
5871                 - Die gnome-common, die
5872
5873 2008-03-04  Dan Williams  <dcbw@redhat.com>
5874
5875         Patch from Michael Biebl <biebl@debian.org>
5876
5877         * NetworkManager.pc.in
5878                 - doesn't actually depend on dbus-1
5879
5880         * libnm-util/nm-utils.h
5881                 - remove unused #include <dbus/dbus.h>
5882
5883         * libnm-glib/libnm_glib.pc.in
5884                 - depends on glib and dbus-glib
5885
5886 2008-03-02  Dan Williams  <dcbw@redhat.com>
5887
5888         * src/NetworkManagerPolicy.c
5889                 - s/device_state_changed_idle_id/update_state_id/
5890
5891 2008-03-02  Dan Williams  <dcbw@redhat.com>
5892
5893         * src/nm-device.c
5894           src/nm-device.h
5895           src/nm-device-802-11-wireless.c
5896           src/nm-device-802-3-ethernet.c
5897           src/NetworkManagerPolicy.c
5898                 - s/link_active/carrier
5899                 - nm_device_set_active_link() -> nm_device_set_carrier()
5900                 - nm_device_has_active_link() -> nm_device_get_carrier()
5901
5902 2008-03-02  Dan Williams  <dcbw@redhat.com>
5903
5904         * system-settings/plugins/ifcfg-fedora/parser.c
5905                 - (make_wireless_setting): fail connection creation on missing SSID
5906
5907 2008-02-29  Dan Williams  <dcbw@redhat.com>
5908
5909         * src/NetworkManagerPolicy.c
5910                 - (nm_policy_device_change_check): ensure that a previously active
5911                         device with a system connection has a link before denying a switch
5912                         to a user connection
5913
5914 2008-02-29  Dan Williams  <dcbw@redhat.com>
5915
5916         * src/nm-device-802-11-wireless.c
5917                 - (link_timeout_cb): try again if scanning; deactivate the device when
5918                         activated if the link dies
5919                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5920                         15 seconds
5921
5922 2008-02-29  Dan Williams  <dcbw@redhat.com>
5923
5924         * src/nm-device-802-11-wireless.c
5925           src/nm-device-802-11-wireless.h
5926                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5927                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5928                 - (device_cleanup): reset the scan interval lower when the device
5929                         deactivates
5930                 - (can_scan): base decision mostly off device state, not supplicant
5931                         interface state since the supplicant interface state isn't a
5932                         great indicator of whether the device is active or not
5933                 - (request_wireless_scan): clean up; schedule the next scan here
5934                 - (schedule_scan): only back the scan interval off if a new scan
5935                         actually gets scheduled; and make scan intervals tighter when the
5936                         device is disconnected
5937                 - (supplicant_iface_state_cb_handler): fold in the bits of
5938                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5939                         interval to minimum
5940                 - (activation_success_handler): reset scan interval to something
5941                         reasonable 
5942
5943 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5944
5945         reviewed by: Steev <steev@steev.net>
5946
5947         * configure.in:
5948         * src/backends/NetworkManagerGentoo.c:
5949         (nm_system_restart_mdns_responder):
5950                 Howl is no longer a supported mDNS provider
5951
5952 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5953
5954         Get rid of a bunch of unused distro specific functions.
5955
5956 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5957
5958         Implement suse plugin for system settings daemon.
5959
5960         * system-settings/plugins/ifcfg-suse/*: Implement.
5961
5962         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5963         suse.
5964
5965         * configure.in: Check (without failing) for gio.
5966         Create ifcfg-suse plugin's Makefile.
5967
5968 2008-02-20  Dan Williams  <dcbw@redhat.com>
5969
5970         * libnm-util/nm-connection.c
5971           libnm-util/nm-connection.h
5972                 - (nm_connection_compare): accept compare flags and pass them to the
5973                         setting compare function
5974
5975         * libnm-util/nm-setting.c
5976           libnm-util/nm-setting.h
5977                 - (nm_setting_compare): accept compare flags; ignore properties that are
5978                         marked fuzzy
5979
5980         * libnm-util/nm-setting-connection.c
5981           libnm-util/nm-setting-wireless.c
5982           libnm-util/nm-setting-ppp.c
5983           libnm-util/nm-setting-wired.c
5984                 - Mark some setting properties as ignorable when doing a fuzzy compare
5985
5986         * src/nm-device.c
5987                 - (device_activation_precheck): use exact compare
5988
5989 2008-02-20  Dan Williams  <dcbw@redhat.com>
5990
5991         * src/NetworkManagerPolicy.c
5992                 - (nm_policy_device_change_check): get scope off the connection, not
5993                         using the manager helper
5994
5995         * src/nm-manager.c
5996           src/nm-manager.h
5997                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5998                 - (connection_get_settings_cb): set scope and path on connection, not
5999                         using GObject data items
6000                 - (get_connection_for_proxy): don't need to return path, since that
6001                         can be gotten from the connection
6002                 - (get_connection_for_proxy): get path off the connection, not from
6003                         parameters
6004                 - (connection_removed_cb, connection_updated_cb): don't need to get
6005                         path from get_connection_for_proxy(); get scope off the connection
6006                         instead of using GObject data items
6007                 - (connection_added_default_handler, add_one_connection_element): use
6008                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6009                 - (nm_manager_get_connection_dbus_path): remove
6010                 - (nm_manager_get_connection_scope): remove
6011
6012 2008-02-20  Dan Williams  <dcbw@redhat.com>
6013
6014         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6015                 on confusing names
6016
6017         * Add 'path' and 'scope' properties to NMConnection since both NM and the
6018                 applet were having to hack this in anyway.  Remove the 'path' stuff from
6019                 NMExportedConnection
6020
6021         * Internally rename NMConnectionType -> NMConnectionScope
6022
6023         * Provide default implementations of the 'get_id' and 'get_settings' methods
6024                 of NMExportedConnection
6025
6026 2008-02-15  Dan Williams  <dcbw@redhat.com>
6027
6028         * src/nm-device-802-11-wireless.c
6029                 - (device_cleanup): release the AP list here too so that the AP list
6030                         doesn't survive across suspend/resume and up/down.  There is some
6031                         room for optimization, for example blow the list away when the card
6032                         brought back up, but only if the device has only been down for a
6033                         minute or more.
6034
6035 2008-02-15  Dan Williams  <dcbw@redhat.com>
6036
6037         * src/nm-hal-manager.c
6038                 - (modem_device_creator): recognize new HAL modem capabilities
6039
6040 2008-02-12  Dan Williams  <dcbw@redhat.com>
6041
6042         * system-settings/plugins/ifcfg-fedora/plugin.c
6043                 - (watch_path): handle IN_DELETE_SELF too
6044                 - (handle_connection_changed): notify when removing a connection
6045                 - (stuff_changed): don't warn on unknown inotify watches; handle the
6046                         case of a file moving out of the profile directory
6047
6048 2008-02-12  Dan Williams  <dcbw@redhat.com>
6049
6050         * system-settings/plugins/ifcfg-fedora/parser.c
6051                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6052
6053 2008-02-12  Dan Williams  <dcbw@redhat.com>
6054
6055         * libnm-util/nm-utils.c
6056                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6057                         just any empty array
6058
6059 2008-02-12  Dan Williams  <dcbw@redhat.com>
6060
6061         * system-settings/src/nm-system-config-interface.c
6062           system-settings/src/nm-system-config-interface.h
6063                 - (load_connections): get_connections() should now return an allocated
6064                         GSList that the system settings service will free
6065
6066         * system-settings/plugins/ifcfg-fedora/plugin.c
6067           system-settings/plugins/ifcfg-fedora/parser.h
6068           system-settings/plugins/ifcfg-fedora/parser.c
6069                 - Fix up inotify issues; handle keys-* files, handle new files appearing
6070                         in the profile directory, handle resolv.conf file changes
6071
6072 2008-02-10  Dan Williams  <dcbw@redhat.com>
6073
6074         * src/nm-device-802-3-ethernet.c
6075                 - (real_bring_up): save the supplicant interface state signal id
6076                 - (real_bring_down): disconnect from the supplicant interface state
6077                         signal
6078
6079 2008-02-07  Dan Williams  <dcbw@redhat.com>
6080
6081         * initscript/RedHat/NetworkManager.in
6082           initscript/RedHat/NetworkManagerDispatcher.in
6083                 - Add new-style LSB init headers
6084
6085 2008-02-07  Dan Williams  <dcbw@redhat.com>
6086
6087         * system-settings/src/dbus-settings.c
6088           system-settings/src/dbus-settings.h
6089                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6090                         table of secrets
6091                 - (connection_settings_get_secrets): consolidate error returns into
6092                         one place; use the new get_secrets() plugin interface function to
6093                         get secrets from the plugin itself rather than using GObject data
6094                         magic
6095
6096         * system-settings/src/main.c
6097                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6098                    load_connections): keep a private list of the plugin-returned
6099                         connections, don't use the plugin's GSList
6100
6101         * system-settings/plugins/ifcfg-fedora/plugin.c
6102                 - (watch_path): watch the path, not the filename (duh)
6103                 - (reload_all_connections): use the direct hash/equal functions; the
6104                         ones for int aren't appropriate here
6105                 - (get_secrets, system_config_interface_init): implement the
6106                         get_secrets() function
6107                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6108                         now in the connection's ConnectionData instead of being a GObject
6109                         data property
6110                 - (handle_profile_item_changed): ifcfg file path is now in the
6111                         connection's ConnectionData instead of being a GObject data property;
6112                         be sure to copy secrets over from the new connection to the existing
6113                         connection when updating the connection's settings
6114                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6115                         file descriptor
6116
6117         * system-settings/plugins/ifcfg-fedora/parser.c
6118           system-settings/plugins/ifcfg-fedora/parser.h
6119                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6120                    connection_data_copy_secrets, connection_data_free,
6121                    connection_data_add): new functions; connection data manipulation
6122                 - (make_wireless_security_setting): stuff secrets into the
6123                         connection data, not as GObject data items; make sure to close
6124                         the keys ifcfg file
6125                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6126                         connection data to the connection
6127
6128 2008-02-07  Dan Williams  <dcbw@redhat.com>
6129
6130         * system-settings/src/nm-system-config-interface.c
6131           system-settings/src/nm-system-config-interface.h
6132                 - Add a get_secrets() interface function to retrieve secrets for a
6133                         specific setting of a specific connection.  Document the interface
6134                         a bit more too.
6135
6136 2008-02-07  Dan Williams  <dcbw@redhat.com>
6137
6138         * src/nm-device-802-11-wireless.c
6139                 - (handle_auth_or_fail): new function; consolidate device activation
6140                         failure check after a certain number of failures getting secrets
6141                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6142                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6143                         the connection if secrets were requested more than a few times
6144                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6145                         tries here; otherwise they are cleared before the IP configure
6146                         timeout, which happens with open system WEP when key is wrong
6147                 - (activation_success_handler): clear wireless secrets tries here too
6148
6149 2008-02-07  Dan Williams  <dcbw@redhat.com>
6150
6151         * src/NetworkManagerPolicy.c
6152                 - (connection_updated): clear invalid tag when connection gets updated
6153                         to allow that connection to be tried again
6154                 - (nm_policy_new): save signal ids so they can be disconnected when
6155                         the policy is destroyed
6156                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6157                         and disconnect all signals from the manager object so that none
6158                         of the policy functions gets called after the policy is destroyed
6159
6160 2008-02-06  Dan Williams  <dcbw@redhat.com>
6161
6162         * src/nm-manager.c
6163                 - (finalize): remove devices a bit earlier; clean up system settings
6164                         poke
6165                 - (nm_manager_name_owner_changed): clean up system settings poke when
6166                         the service appears, and try to restart it if it fails
6167                 - (poke_system_settings_daemon_cb): try to get the system settings
6168                         service started through D-Bus service activation
6169                 - (initial_get_connections): start the system settings daemon if it's
6170                         not already running
6171
6172 2008-02-05  Dan Williams  <dcbw@redhat.com>
6173
6174         * src/supplicant-manager/nm-supplicant-config.c
6175                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6176                         broadcast networks too
6177
6178 2008-02-04  Dan Williams  <dcbw@redhat.com>
6179
6180         * system-settings/plugins/ifcfg-fedora/parser.c
6181                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6182                         need key_mgmt set too
6183                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6184                         .bak files; ensure that an error is set whenever NULL gets returned
6185
6186 2008-02-04  Dan Williams  <dcbw@redhat.com>
6187
6188         * system-settings/src/Makefile.am
6189                 - Install D-Bus service activation file for the system settings
6190                         service
6191
6192         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6193                 - D-Bus service activation file for system settings service
6194
6195 2008-02-04  Dan Williams  <dcbw@redhat.com>
6196
6197         * system-settings/src/main.c
6198                 - (parse_config_file): parse a config file
6199                 - (main): accept --config option and read plugins from config file
6200
6201 2008-02-04  Dan Williams  <dcbw@redhat.com>
6202
6203         * system-settings/plugins/ifcfg-fedora/plugin.c
6204                 - Change reported name to 'ifcfg-fedora'
6205                 - Use IFCFG_PLUGIN_NAME
6206
6207         * system-settings/plugins/ifcfg-fedora/plugin.c
6208                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6209
6210 2008-02-04  Dan Williams  <dcbw@redhat.com>
6211
6212         * system-settings/plugins/ifcfg-fedora/parser.c
6213                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6214                 - (make_connection_setting): use get_ifcfg_name()
6215                 - (make_wireless_security_setting): handle shadow key files
6216                 - (get_one_wep_key): treat empty string as NULL
6217
6218 2008-02-04  Dan Williams  <dcbw@redhat.com>
6219
6220         * src/supplicant-manager/nm-supplicant-manager.c
6221                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6222                         glib automatically reschedule
6223                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6224                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6225                         the supplicant
6226
6227 2008-02-01  Dan Williams  <dcbw@redhat.com>
6228
6229         * src/NetworkManagerPolicy.c
6230                 - (device_state_changed): schedule a change check when a device gets
6231                         deactivated so something happens if you disconnect GSM/CDMA
6232
6233 2008-01-31  Dan Williams  <dcbw@redhat.com>
6234
6235         * src/nm-device-802-11-wireless.h
6236           src/nm-device-802-11-wireless.c
6237                 - (ap_list_get_ap_by_ssid, is_associated,
6238                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6239                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6240                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6241                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6242                         function
6243
6244 2008-01-30  Dan Williams  <dcbw@redhat.com>
6245
6246         * system-settings/plugins/ifcfg
6247         * system-settings/plugins/ifcfg-fedora
6248                 - Move the ifcfg plugin to ifcfg-fedora
6249
6250 2008-01-24  Dan Williams  <dcbw@redhat.com>
6251
6252         * libnm-glib/nm-device-802-11-wireless.c
6253                 - (get_access_point): move the "/" check here; check for invalid path
6254                         too
6255                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6256                         to get_access_point()
6257                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6258                         to send signals for non-existent access points
6259
6260 2008-01-24  Dan Williams  <dcbw@redhat.com>
6261
6262         * libnm-glib/nm-device-802-11-wireless.c
6263                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6264
6265 2008-01-23  Dan Williams  <dcbw@redhat.com>
6266
6267         * libnm-glib/libnm_glib.c
6268                 - (libnm_glib_init): make thread joinable
6269                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6270
6271 2008-01-23  Dan Williams  <dcbw@redhat.com>
6272
6273         * test/libnm_glib_test.c
6274                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6275                 - (main): set up signal handlers; call libnm_glib_shutdown
6276
6277 2008-01-21  Dan Williams  <dcbw@redhat.com>
6278
6279         * include/NetworkManager.h
6280                 - Add CDMA mobile broadband card device type
6281
6282         * src/nm-hal-manager.c
6283                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6284                         must now be tagged with 'cdma' or 'gsm' capability
6285
6286         * src/nm-cdma-device.c
6287           src/nm-cdma-device.h
6288           src/Makefile.am
6289                 - Add the CDMA mobile broadband card device class
6290
6291         * libnm-util/nm-connection.c
6292                 - (register_default_settings): add NMSettingCdma
6293
6294         * libnm-util/nm-setting-cdma.c
6295           libnm-util/nm-setting-cdma.h
6296           libnm-util/Makefile.am
6297                 - Add the CDMA mobile broadband card setting class
6298
6299         * libnm-glib/nm-cdma-device.c
6300           libnm-glib/nm-cdma-device.h
6301           libnm-glib/Makefile.am
6302                 - Add the CDMA mobile broadband card GLib proxy class
6303
6304         * libnm-glib/nm-client.c
6305                 - (get_device): handle CDMA devices too
6306
6307 2008-01-21  Dan Williams  <dcbw@redhat.com>
6308
6309         * src/ppp-manager/nm-ppp-manager.c
6310                 - (ip4_config_get): set peer address too
6311
6312         * src/ppp-manager/nm-pppd-plugin.c
6313                 - (nm_ip_up): try harder to get the peer's address
6314
6315         * src/NetworkManagerSystem.c
6316                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6317                         address, use that too.  Otherwise, some PPP connections won't work.
6318
6319 2008-01-19  Dan Williams  <dcbw@redhat.com>
6320
6321         * src/NetworkManagerPolicy.c
6322                 - (nm_policy_device_change_check): system connections override user
6323                         connections; don't activate a user connection if there's a currently
6324                         active system connection, and new, better system connections always
6325                         interrupt user connections
6326
6327 2008-01-19  Dan Williams  <dcbw@redhat.com>
6328
6329         * src/nm-manager.h
6330                 - (nm_manager_get_connection_type): new function
6331
6332 2008-01-19  Dan Williams  <dcbw@redhat.com>
6333
6334         * src/nm-device-802-11-wireless.c
6335                 - (real_get_best_connection): collapse find_best_connection() into this
6336                         function
6337
6338 2008-01-19  Dan Williams  <dcbw@redhat.com>
6339
6340         * src/nm-device-802-3-ethernet.c
6341                 - (real_get_best_connection): collapse find_best_connection() into this
6342                         function
6343
6344 2008-01-18  Dan Williams  <dcbw@redhat.com>
6345
6346         * src/nm-device-802-3-ethernet.c
6347                 - (find_best_connection): check MAC address too
6348                 - (real_get_best_connection): let autoconnect=True connections activate
6349                         for devices that don't have carrier detection
6350
6351         * src/nm-device-802-11-wireless.c
6352                 - (find_best_connection): check MAC address too
6353
6354 2008-01-18  Dan Williams  <dcbw@redhat.com>
6355
6356         * system-settings/plugins/ifcfg/parser.c
6357                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6358
6359 2008-01-17  Dan Williams  <dcbw@redhat.com>
6360
6361         * src/nm-device-802-3-ethernet.c
6362                 - (nm_device_802_3_ethernet_carrier_on,
6363                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6364                         carrier events that might come in for devices that don't support
6365                         carrier detect
6366
6367 2008-01-17  Dan Williams  <dcbw@redhat.com>
6368
6369         * src/nm-device-interface.c
6370                 - (nm_device_interface_check_connection_conflicts): need to actually
6371                         get the interface, not cast to the object
6372
6373         * src/nm-device.c
6374                 - (nm_device_check_connection_conflicts): need to get the device class,
6375                         not cast the device to the device class
6376
6377 2008-01-17  Dan Williams  <dcbw@redhat.com>
6378
6379         * src/nm-device-802-11-wireless.c
6380                 - (real_check_connection_conflicts): ignore connections that aren't
6381                         wireless connections
6382
6383 2008-01-17  Dan Williams  <dcbw@redhat.com>
6384
6385         * src/NetworkManagerPolicy.c
6386                 - (nm_policy_device_change_check): clear change check idle here
6387                 - (device_change_check_done): remove
6388                 - (schedule_change_check): simplify
6389
6390 2008-01-17  Dan Williams  <dcbw@redhat.com>
6391
6392         * src/nm-manager.c
6393                 - (check_connection_allowed): take an NMDeviceInterface instead of
6394                         an NMDevice object as an argument
6395                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6396                         check_connection_allowed()
6397
6398 2008-01-13  Dan Williams  <dcbw@redhat.com>
6399
6400         * libnm-glib/nm-device-802-11-wireless.c
6401                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6402
6403 2008-01-12  Dan Williams  <dcbw@redhat.com>
6404
6405         * src/nm-device-802-11-wireless.c
6406                 - (activation_success_handler): if a match was found in the scan list
6407                         and that match is a hidden AP, update that AP's SSID
6408
6409 2008-01-11  Dan Williams  <dcbw@redhat.com>
6410
6411         * src/NetworkManagerAP.c
6412                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6413
6414         * src/nm-device-802-11-wireless.c
6415                 - (get_active_ap): do two passes over the scan list if the caller
6416                         requests that hidden APs get matched too; during the second pass
6417                         when matching hidden APs, ignore the SSID since hidden APs in the
6418                         scan list don't have an SSID yet
6419                 - (periodic_update): move some checks to
6420                         nm_device_802_11_periodic_update() because not all callers need them
6421                 - (nm_device_802_11_periodic_update): move some checks here from
6422                         perodic_update()
6423                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6424                         matching on incoming scan results, because the fake AP's flags
6425                         might be slightly different (yet still compatible) with the incoming
6426                         scan result's flags and they might actually be the same AP; update
6427                         the rate on merged APs too
6428                 - (activation_success_handler): update the frequency of the fake AP
6429                         on successful connection; match hidden APs too since if the
6430                         current AP is fake, there might already be a scan result in the
6431                         scan list for the desired AP, just without it's SSID filled in yet
6432
6433 2008-01-10  Dan Williams  <dcbw@redhat.com>
6434
6435         * src/NetworkManagerAP.c
6436                 - (foreach_property_cb): catch more hidden SSID formats
6437
6438 2008-01-10  Dan Williams  <dcbw@redhat.com>
6439
6440         Fix gnome.org #464215.  Requires the kernel patch titled
6441         "Introduce WEXT scan capabilities" but will handle the patch not being
6442         present, you'll just continue to have problems with hidden SSIDs when
6443         using mac80211-based drivers.
6444
6445         * src/supplicant-manager/nm-supplicant-config.h
6446           src/supplicant-manager/nm-supplicant-config.c
6447                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6448                         whether the driver supports SSID scans or not.  If it does, and if
6449                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6450
6451         * src/nm-device-802-11-wireless.c
6452                 - (constructor): check whether or not the driver supports SSID scans
6453                 - (build_supplicant_config): pass driver SSID scan capability when
6454                         building the wireless bits of the supplicant config
6455
6456 2008-01-09  Dan Williams  <dcbw@redhat.com>
6457
6458         * src/nm-device.c
6459           src/nm-device.h
6460                 - (device_activation_precheck, check_connection_complete): remove this
6461                         virtual function; incomplete connections should be invalid by
6462                         definition, complete-ness should be checked in the setting's
6463                         verify function
6464
6465         * src/nm-serial-device.c
6466           src/nm-gsm-device.c
6467                 - (real_check_connection_complete): remove
6468
6469         * libnm-util/nm-setting-serial.c
6470                 - (verify): new function; ensure there is a PPP setting too
6471
6472         * libnm-util/nm-setting-gsm.c
6473                 - (verify): ensure there is a serial setting too
6474
6475 2008-01-06  Dan Williams  <dcbw@redhat.com>
6476
6477         * src/dhcp-manager/nm-dhcp-manager.c
6478                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6479                         (gnome.org #332953)
6480
6481 2008-01-04  Dan Williams  <dcbw@redhat.com>
6482
6483         * src/named-manager/nm-named-manager.c
6484                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6485                         nameservers if the secondary config doesn't have any
6486                         (gnome.org #346833)
6487
6488 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6489
6490         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6491         with G_PARAM_CONSTRUCT so that they get the default values.
6492
6493         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6494         the monitoring device and prints out the output for now. Or more precicely, doesn't
6495         do absolutely anything right now since the montoring device argument is never set.
6496
6497         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6498         requires it's own knob to turn it on.
6499         (config_fd): Add NMSettingSerial to the arguments list.
6500         (nm_serial_device_open): Ditto.
6501         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6502         (nm_serial_device_get_io_channel): Implement.
6503
6504         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6505         a new reference every time (and forgetting to release it sometimes) is a pain and
6506         it's not like NMManager could work without dbus.
6507         (nm_manager_add_device): Register the added device on dbus here.
6508
6509         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6510         device.
6511
6512         * src/nm-device.c (constructor): Don't export the device here, instead export
6513         it when it's added to the NMManager's device list.
6514
6515 2007-12-31  Dan Williams  <dcbw@redhat.com>
6516
6517         * src/nm-device-interface.c
6518           src/nm-device-interface.h
6519                 - (nm_device_interface_check_connection_conflicts): new function
6520
6521         * src/nm-device.c
6522           src/nm-device.h
6523                 - (nm_device_check_connection_conflicts): new function
6524                 - (device_activation_precheck): don't require subclasses to implement
6525                         check_connection_complete()
6526                 - check_connection() -> check_connection_complete()
6527
6528         * src/nm-device-802-11-wireless.c
6529                 - (real_check_connection): remove; unused
6530                 - (real_check_connection_conflicts): implement, handle lockdown for
6531                         system connections
6532
6533         * src/nm-device-802-3-ethernet.c
6534                 - (real_check_connection): remove; unused
6535
6536         * src/nm-manager.c
6537                 - (check_connection_allowed): new function
6538                 - (nm_manager_activate_device): ensure the connection being requested
6539                         is allowed to be activated
6540
6541         * src/nm-serial-device.c
6542           src/nm-gsm-device.c
6543                 - real_check_connection() -> real_check_connection_complete()
6544
6545 2007-12-27  Dan Williams  <dcbw@redhat.com>
6546
6547         * src/nm-device-interface.c
6548           src/nm-device-interface.h
6549                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6550                         normalize and expand errors
6551                 - (nm_device_interface_init): register errors so they can be marshalled
6552                         through dbus-glib
6553                 - (nm_device_interface_activate): ensure that failure of activation
6554                         returns an error
6555
6556         * src/nm-device.c
6557           src/nm-device.h
6558                 - (device_activation_precheck): implementations of check_connection()
6559                         now take a GError and must fill it in if the check fails.  Return
6560                         more descriptive error if the requested connection is already
6561                         activating
6562                 - (nm_device_activate): actually try to return descriptive errors on
6563                         failures
6564
6565         * src/nm-device-802-11-wireless.c
6566           src/nm-device-802-3-ethernet.c
6567           src/nm-serial-device.c
6568           src/nm-gsm-device.c
6569                 - (real_check_connection): return more descriptive errors on failure
6570
6571         * src/NetworkManagerPolicy.c
6572                 - (nm_policy_device_change_check): print activation errors in the logs
6573
6574         * src/nm-manager.c
6575                 - (nm_manager_error_quark, nm_manager_error_get_type,
6576                    nm_manager_class_init): new errors
6577                 - (nm_manager_activate_device): handle errors
6578                 - (nm_manager_error_new): removed
6579                 - (wait_for_connection_expired, connection_added_default_handler,
6580                    impl_manager_activate_device): better error handling
6581
6582 2007-12-27  Dan Williams  <dcbw@redhat.com>
6583
6584         Fixes gnome.org #466954
6585
6586         * src/supplicant-manager/nm-supplicant-settings-verify.c
6587                 - Allow 'frequency' network property
6588
6589         * src/supplicant-manager/nm-supplicant-config.c
6590           src/supplicant-manager/nm-supplicant-config.h
6591                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6592                         for callers to specify the frequency an Ad-Hoc network should operate
6593                         on.  Some drivers require this to successfully create an Ad-Hoc
6594                         network.
6595
6596         * src/nm-device-802-11-wireless.c
6597                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6598                         guint32 value in MHz
6599                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6600                         iw_freq_to_uint32()
6601                 - (find_supported_frequency): new function; find a free supported
6602                         frequency for a user-created Ad-Hoc network
6603                 - (build_supplicant_config): if no frequency was specified for a user-
6604                         created Ad-Hoc network, find a free one to use
6605                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6606                         a specific object as user-created
6607
6608 2007-12-27  Dan Williams  <dcbw@redhat.com>
6609
6610         * libnm-util/nm-utils.c
6611           libnm-util/nm-utils.h
6612                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6613                         for adhoc networks
6614
6615 2007-12-24  Dan Williams  <dcbw@redhat.com>
6616
6617         * libnm-util/nm-setting-wireless.c
6618                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6619                         185, 187, 188, 192, and 196
6620
6621 2007-12-24  Dan Williams  <dcbw@redhat.com>
6622
6623         * src/nm-device-802-11-wireless.c
6624                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6625                         a channel # instead of a frequency
6626
6627 2007-12-24  Dan Williams  <dcbw@redhat.com>
6628
6629         * src/NetworkManagerAP.c
6630           src/NetworkManagerAP.h
6631                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6632                 - (freq_to_channel): handle split band tables
6633                 - (channel_to_freq): handle split band tables, take a band argument
6634
6635 2007-12-24  Dan Williams  <dcbw@redhat.com>
6636
6637         * libnm-util/nm-setting-connection.h
6638           libnm-util/nm-setting-connection.c
6639                 - Add 'lockdown' member
6640
6641 2007-12-22  Dan Williams  <dcbw@redhat.com>
6642
6643         * libnm-util/nm-setting-wireless.c
6644                 - (nm_setting_wireless_class_init): add missing 'rate' property
6645                         specification
6646
6647 2007-12-18  Dan Williams  <dcbw@redhat.com>
6648
6649         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6650
6651         * src/nm-netlink-monitor.c
6652           src/nm-netlink-monitor.h
6653                 - Remove handrolled netlink, use libnl instead
6654
6655         * src/nm-device-802-3-ethernet.c
6656                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6657                    nm_device_802_3_ethernet_carrier_on): use new names
6658
6659 2007-12-17  Dan Williams  <dcbw@redhat.com>
6660
6661         * configure.in
6662                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6663                         and fixes memory leaks)
6664
6665         * src/nm-netlink.c
6666                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6667                         automatically handle the netlink PID
6668
6669 2007-12-17  Dan Williams  <dcbw@redhat.com>
6670
6671         Patch from Michael Biebl <biebl@debian.org>
6672
6673         * configure.in
6674           src/ppp-manager/Makefile.am
6675                 - fix up install dir of pppd plugin
6676                 - clean up configure.in a bit
6677
6678 2007-12-12  Dan Williams  <dcbw@redhat.com>
6679
6680         * system-settings/src/nm-system-settings.conf
6681                 - Allow non-root clients (like the applet) to read settings
6682
6683 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6684
6685         * Replace all occurences of 'UMTS' with 'GSM'.
6686
6687 2007-12-07  Dan Williams  <dcbw@redhat.com>
6688
6689         * src/nm-serial-device.c
6690                 - (real_is_up): serial devices are always "up"
6691
6692 2007-12-07  Dan Williams  <dcbw@redhat.com>
6693
6694         * src/nm-netlink.c
6695           src/NetworkManagerSystem.c
6696                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6697                         twice (gnome.org #491047)
6698                 - Make more robust against allocation-related failures should they occur
6699
6700 2007-12-07  Dan Williams  <dcbw@redhat.com>
6701
6702         Noticed by Christian Persch <chpe@gnome.org>
6703
6704         Always chain up to parent object in dispose and finalize handlers.
6705                 (gnome.org #433112)
6706
6707 2007-12-07  Dan Williams  <dcbw@redhat.com>
6708
6709         * src/nm-device-802-11-wireless.c
6710                 - Wrap #include of linux/mii.h to fix redefined structures due to
6711                         incorrect kernel headers (gnome.org #350061)
6712
6713 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6714
6715         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6716         before doing anything else.
6717         (init_modem): Move modem initialization here.
6718
6719         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6720         (nm_serial_device_flash): Implement.
6721
6722         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6723         changes signal is "StateChanged" and not "Status".
6724         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6725
6726 2007-12-06  Dan Williams  <dcbw@redhat.com>
6727
6728         * src/supplicant-manager/nm-supplicant-config.c
6729                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6730                         to only send some options when they make sense; also send phase2
6731                         option to the supplicant (possible fix for rh #399631)
6732
6733 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6734
6735         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6736         arguments: This whole file shouldn't really know anything about NMDevices, it
6737         should deal only with device interfaces. Devices might have different ifaces for
6738         different stuff and this place shouldn't know anything about it.
6739
6740         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6741         (global_state_changed): Implement. In the current NM it's not really important,
6742         but will be required in the case of multiple active devices. (Or even better,
6743         if stuff like that gets moved out from NM).
6744
6745         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6746         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6747         instead.
6748
6749         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6750         devices like serial devices (ttyS0 and ppp0 for example).
6751         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6752         set.
6753         (nm_device_set_ip_iface): Implement.
6754         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6755         after setting ip4_config from here ...
6756         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6757         than this function should call nm_system_device_set_from_ip4_config() because no
6758         other code has enough information on which arguments to use. So instead, other code
6759         could just set the new ip4 config using this function and everyone is happy.
6760
6761         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6762         if we happen to get deactivated while something is pending.
6763         (automatic_registration): Handle the response that indicates pending network
6764         registration and wait until the pending registration is done.
6765         (real_deactivate_quickly): If there's a pending operation, cancel it.
6766
6767         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6768         (real_deactivate_quickly): ... and remove it when it's down.
6769         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6770         it if needed.
6771         (nm_serial_device_wait_for_reply): Ditto.
6772
6773 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6774
6775         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6776         (get_network_done): Remove newline, nm_info() does it already.
6777         (real_act_stage1_prepare): Turn the modem echo off.
6778
6779         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6780         device, set the route to the device interface. This is a hack.
6781
6782         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6783         return, no need for a new-line.
6784         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6785         Change the device iface here (ugh).
6786         (real_act_stage4_get_ip4_config): Implement.
6787         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6788         Restore the device iface.
6789
6790         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6791         device is not wired or wireless (eg, automatically upped) device.
6792
6793         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6794         it isn't.
6795         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6796
6797         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6798         before calling it's is_device_fn().
6799
6800 2007-12-05  Dan Williams  <dcbw@redhat.com>
6801
6802         * libnm-util/nm-utils.c
6803                 - (nm_utils_register_value_transformations,
6804                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6805                         GHashTables of GValues too
6806
6807 2007-12-04  Dan Williams  <dcbw@redhat.com>
6808
6809         * initscript/RedHat/NetworkManager.in
6810                 - No longer start named; it's D-Bus interface is going away
6811
6812 2007-12-04  Dan Williams  <dcbw@redhat.com>
6813
6814         Patch from Michael Biebl <biebl@debian.org>
6815
6816         * system-settings/plugins/ifcfg/Makefile.am
6817           system-settings/src/main.c
6818           system-settings/src/Makefile.am
6819                 - Put system settings plugins in NM plugins dir
6820
6821         * src/ppp-manager/Makefile.am
6822           src/ppp-manager/nm-ppp-manager.c
6823                 - Move pppd plugin to NM plugins dir
6824
6825 2007-12-04  Dan Williams  <dcbw@redhat.com>
6826
6827         * libnm-util/nm-setting-vpn-properties.h
6828                 - Clarify usage of the 'data' member of the setting
6829
6830         * libnm-util/nm-setting-vpn-properties.c
6831                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6832                 - (set_property): just remove all the settings; don't recreate the has
6833                 - (update_one_secret): don't need to create the hash table here since
6834                         it should always be present
6835
6836 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6837
6838         Implement PIN and PUK requesting.
6839
6840         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6841         (enter_pin): Handle PIN and PUK requests.
6842         (real_act_stage1_prepare): Clear the secret type.
6843         (real_connection_secrets_updated): Implement this class method to get
6844         notified when new secrets arrive.
6845         (nm_umts_device_class_init): Add private data back to the umts device class
6846         to store the required secret type.
6847
6848 2007-12-01  Dan Williams  <dcbw@redhat.com>
6849
6850         * system-settings/plugins/ifcfg/parser.c
6851                 - (parser_parse_file): don't try to verify NULL connections
6852
6853 2007-12-01  Dan Williams  <dcbw@redhat.com>
6854
6855         * system-settings/src/main.c
6856                 - (load_connections, add_connection_to_settings): actually export
6857                         plugin-provided connections over D-Bus so NM can get them
6858
6859 2007-12-01  Dan Williams  <dcbw@redhat.com>
6860
6861         * system-settings/plugins/ifcfg/parser.c
6862           system-settings/plugins/ifcfg/parser.h
6863           system-settings/plugins/ifcfg/plugin.c
6864                 - Hook up more inotify bits (untested)
6865
6866 2007-11-29  Dan Williams  <dcbw@redhat.com>
6867
6868         * system-settings/src/nm-system-config-interface.h
6869           system-settings/src/nm-system-config-interface.c
6870                 - (nm_system_config_interface_init,
6871                    nm_system_config_interface_get_connections): add
6872
6873         * system-settings/src/main.c
6874                 - (load_plugins, load_connections, main): use a GSList for plugins
6875                         to ensure priority ordering
6876
6877         * system-settings/plugins/ifcfg/parser.c
6878                 - (ifcfg_error_quark): move to plugin.c, and rename
6879
6880         * system-settings/plugins/ifcfg/plugin.h
6881           system-settings/plugins/ifcfg/plugin.c
6882                 - (ifcfg_plugin_error_quark): move here from parser.c
6883                 - rework connection loading and initialization
6884                 - Add preliminary inotify support for network profile config file
6885
6886 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6887
6888         Merge the beginnings of the new GSM card support.
6889
6890         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6891         ppp watch source before killing pppd - If this happens from g_object_unref()
6892         then the ppp manager is already destroyed by the time the watch callback runs.
6893
6894         * src/nm-hal-manager.c: Add a device_type_name string to the device
6895         creators, so that we can print a nice human readable string when a
6896         device is added.
6897
6898         * src/nm-umts-device.c (automatic_registration_get_network): Query
6899         for the activated network, not much is done with the result thought.
6900
6901         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6902         (ppp_ip4_config): Change the device state to activated here for now.
6903         (real_check_connection): Make sure the connection includes ppp setting.
6904
6905         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6906
6907         * libnm-glib/Makefile.am: Add the new files to build.
6908
6909         * libnm-glib/nm-umts-device.c: 
6910         * libnm-glib/nm-umts-device.h: Implement.
6911
6912 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6913
6914         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6915         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6916
6917         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6918         the timeout source - this function is only called when the timeout source has
6919         been removed.
6920         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6921         to be big enough to contain the terminating zero element as well.
6922         The timeout argument is meant to be in seconds now.
6923         (real_deactivate_quickly): Implement.
6924
6925         * src/NetworkManager.conf: Allow root to own 
6926         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6927
6928         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6929         (not unsigned ints).
6930
6931         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6932         small issue with parity bounds - capital letters have lower ascii codes
6933         than lower case letters.
6934
6935         * libnm-util/nm-connection.c (register_default_settings): Register serial
6936         and umts settings.
6937
6938 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6939
6940         Remove the "index" property from devices as not all device types have this.
6941
6942         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6943
6944         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6945         (wired_device_creator): Get the device interface from hal to create the device.
6946         (wireless_device_creator): Ditto.
6947
6948         * src/nm-device.c (nm_device_init): Remove the index member.
6949         (constructor): Remove the checks for index property, make interface property
6950         a require constructor property.
6951         Use the HAL udi for DBus path for devices.
6952         (nm_device_get_index): Remove.
6953         (set_property): Remove index handling.
6954         (get_property): Ditto.
6955         (nm_device_get_dbus_path): Remove.
6956
6957         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6958         property.
6959
6960         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6961         Access the device index through it's interface.
6962         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6963         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6964         index argument. Add interface argument.
6965
6966         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6967         the useless test_dev argument. Remove index argument. Add interface arugment.
6968
6969         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6970         device index through interface.
6971         (nm_system_set_mtu): Ditto.
6972
6973         * introspection/nm-device.xml: Remove the "Index" property.
6974
6975 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6976
6977         * src/nm-serial-device.c: 
6978         * src/nm-serial-device.c: 
6979         * src/nm-umts-device.c:
6980         * src/nm-umts-device.h: Implement.
6981
6982         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6983         allocated by libhal.
6984         (modem_device_creator): Implement.
6985         (register_built_in_creators): Register the modem creator.
6986
6987         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6988         Remove the unused test_dev argument.
6989
6990         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6991
6992         * src/Makefile.am: Add new files to build.
6993         Link in ppp-manager.
6994
6995         * libnm-util/nm-setting-umts.c: 
6996         * libnm-util/nm-setting-umts.h: 
6997         * libnm-util/nm-setting-serial.c: 
6998         * libnm-util/nm-setting-serial.h: Implement.
6999
7000         * libnm-util/Makefile.am: Add new files to build.
7001
7002 2007-11-28  Dan Williams  <dcbw@redhat.com>
7003
7004         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7005
7006         Support DHCP-provided static routes.
7007
7008         * src/nm-ip4-config.h
7009           src/nm-ip4-config.c
7010                 - Add get/set functions for static routes
7011
7012         * src/dhcp-manager/nm-dhcp-manager.c
7013                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7014                         DHCP response
7015
7016         * src/NetworkManagerSystem.c
7017                 - (nm_system_device_set_from_ip4_config): set any static routes on the
7018                         interface when applying the IP4Config
7019
7020 2007-11-28  Dan Williams  <dcbw@redhat.com>
7021
7022         * src/nm-device-802-11-wireless.c
7023                 - (real_act_stage1_prepare): mark APs created for hidden networks
7024                         as non-broadcasting
7025
7026 2007-11-27  Dan Williams  <dcbw@redhat.com>
7027
7028         * system-settings/src/nm-system-config-interface.h
7029                 - Note how to store secrets on NMSetting objects
7030
7031         * system-settings/src/dbus-settings.c
7032                 - (connection_settings_get_secrets): implement
7033
7034 2007-11-27  Dan Williams  <dcbw@redhat.com>
7035
7036         * system-settings/plugins/ifcfg/Makefile.am
7037           system-settings/plugins/ifcfg/parser.c
7038           system-settings/plugins/ifcfg/parser.h
7039           system-settings/plugins/ifcfg/plugin.c
7040                 - Parse wireless connections too
7041
7042         * system-settings/src/dbus-settings.c
7043           system-settings/src/dbus-settings.h
7044           system-settings/src/main.c
7045                 - Handle connection update/removal if the plugin supports it
7046
7047 2007-11-27  Dan Williams  <dcbw@redhat.com>
7048
7049         * src/nm-dbus-manager.h
7050           src/nm-hal-manager.c
7051                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7052                         do it for them
7053
7054         * src/Makefile.am
7055           src/NetworkManagerDbusUtils.c
7056           src/NetworkManagerDbusUtils.h
7057                 - Remove these two source files; they are unused
7058
7059 2007-11-27  Dan Williams  <dcbw@redhat.com>
7060
7061         * src/vpn-manager/nm-vpn-manager.c
7062                 - (impl_vpn_manager_connect): fix system settings check (found by
7063                         James M. Leddy)
7064
7065 2007-11-26  Dan Williams  <dcbw@redhat.com>
7066
7067         * Fix warnings so everything compiles with --enable-more-warnings
7068
7069 2007-11-25  Dan Williams  <dcbw@redhat.com>
7070
7071         * system-settings/*
7072                 - Rework structure and code to use GModule-loaded plugins and a plugin
7073                         interface that plugins export to the system settings service
7074
7075 2007-11-21  Dan Williams  <dcbw@redhat.com>
7076
7077         * system-settings/*
7078                 - Add Soren's system settings service.  Needs work for distros other
7079                         than Fedora; the backends from NM should mostly migrate to here
7080                         and be converted to GObjects
7081
7082 2007-11-21  Dan Williams  <dcbw@redhat.com>
7083
7084         * libnm-util/nm-setting-vpn-properties.c
7085                 - (set_property): must deep-copy the given settings hash, otherwise
7086                         double-free errors occur when the setting is disposed of
7087
7088 2007-11-21  Dan Williams  <dcbw@redhat.com>
7089
7090         * src/vpn-manager/nm-vpn-act-request.h
7091           src/vpn-manager/nm-vpn-act-request.c
7092                 - Remove; unused
7093
7094 2007-11-20  Dan Williams  <dcbw@redhat.com>
7095
7096         * libnm-util/nm-utils.c
7097                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7098                    nm_utils_convert_ip4_addr_struct_array_to_string,
7099                    nm_utils_register_value_transformations): print out the readable
7100                         values of more types of properties of NMSettings subclasses
7101
7102 2007-11-20  Dan Williams  <dcbw@redhat.com>
7103
7104         * libnm-util/nm-setting-ip4-config.c
7105                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7106                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7107                         marshal GValueArrays inside collections, so switch to types that it
7108                         can actually marshal/demarshal
7109
7110 2007-11-16  Dan Williams  <dcbw@redhat.com>
7111
7112         * libnm-util/nm-setting-wireless-security.c
7113                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7114                         minimal verification of EAP methods too
7115                 - (verify): verify phase1 eap methods too
7116
7117 2007-11-15  Dan Williams  <dcbw@redhat.com>
7118
7119         * libnm-glib/nm-device.h
7120           libnm-glib/nm-device.c
7121                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7122                         const char *
7123
7124 2007-11-15  Dan Williams  <dcbw@redhat.com>
7125
7126         * libnm-glib/nm-device.c
7127                 - (get_product_and_vendor): don't try to free things that should be
7128                         freed
7129
7130 2007-11-15  Dan Williams  <dcbw@redhat.com>
7131
7132         * src/NetworkManagerUtils.c
7133                 - (nm_ethernet_address_is_valid): unbreak previous fix
7134
7135 2007-11-15  Dan Williams  <dcbw@redhat.com>
7136
7137         * src/supplicant-manager/nm-supplicant-config.c
7138                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7139                         options
7140
7141 2007-11-15  Dan Williams  <dcbw@redhat.com>
7142
7143         * src/NetworkManagerUtils.c
7144                 - (nm_ethernet_address_is_valid): fix style, clarify
7145                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7146
7147         * src/nm-device-802-11-wireless.c
7148                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7149                 - (nm_device_802_11_wireless_get_ssid,
7150                    nm_device_802_11_wireless_get_bssid,
7151                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7152                         before calling the ioctl; fixes valgrind-reported jump depends on
7153                         uninitialized value errors
7154
7155 2007-11-15  Dan Williams  <dcbw@redhat.com>
7156
7157         * libnm-util/nm-setting.c
7158                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7159                         unecessary to serialize 'name'
7160
7161         * src/nm-activation-request.c
7162                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7163                         the GetSecrets call
7164
7165 2007-11-15  Dan Williams  <dcbw@redhat.com>
7166
7167         * libnm-util/nm-setting-connection.h
7168           libnm-util/nm-setting-connection.c
7169                 - Rename the 'name' property to 'id', because it conflicted with the
7170                         NMSetting superclass' 'name' property.
7171
7172         * libnm-util/nm-setting.c
7173                 - (nm_setting_to_hash): serialize the 'name' property
7174                 - (one_property_cb): ignore 'name' on deserialization of a connection
7175
7176         * src/nm-device-802-11-wireless.c
7177           src/vpn-manager/nm-vpn-connection.c
7178           src/NetworkManagerPolicy.c
7179                 - Fix up for NMSettingConnection 'name'->'id' changes
7180
7181 2007-11-13  Dan Williams  <dcbw@redhat.com>
7182
7183         * libnm-glib/nm-device-802-11-wireless.h
7184           libnm-glib/nm-device-802-11-wireless.c
7185                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7186
7187         * test/nm-tool.c
7188           libnm-glib/libnm-glib-test.c
7189                 - Fixes for above change
7190
7191 2007-11-12  Dan Williams  <dcbw@redhat.com>
7192
7193         * src/supplicant-manager/nm-supplicant-settings-verify.c
7194                 - Allow fragment_size option
7195
7196         * src/supplicant-manager/nm-supplicant-settings-verify.c
7197                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7198                         EAP fragment size than the default to help some TLS connections
7199
7200 2007-11-12  Dan Williams  <dcbw@redhat.com>
7201
7202         Make certs actually work.  The private key is now a secret, and should be
7203         decrypted when requested by NM.  The private key and phase2 private key
7204         passwords are no longer interesting to NM because they should be used by
7205         the settings service to decrypt the private key itself before passing it
7206         to NM, and hence have been removed as fields.
7207
7208         * libnm-util/nm-setting-wireless-security.h
7209           libnm-util/nm-setting-wireless-security.c
7210                 - Remove private-key-passwd and phase2-private-key-passwd from
7211                         properties
7212                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7213                    need_secrets): use property #defines instead strings to keep things
7214                         consistent
7215                 - (need_secrets_tls): if a client certificate is present but no
7216                         private key, request the private key
7217                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7218                         remove private key password stuff, mark private keys as secret
7219
7220         * src/supplicant-manager/nm-supplicant-settings-verify.c
7221                 - Remove private_key_passwd and private_key2_passwd from opt_table
7222
7223 2007-11-09  Dan Williams  <dcbw@redhat.com>
7224
7225         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7226         Since the vpn-properties are managed and known by the VPN daemons themselves,
7227         libnm-util doesn't know what's secret and what's in the setting's 'data'
7228         member.
7229
7230         * libnm-util/nm-setting.h
7231           libnm-util/nm-setting.c
7232                 - Add the ability for subclasses to override update_one_secret
7233
7234         * libnm-util/nm-setting-vpn-properties.c
7235                 - Override update_one_secret and just copy the values into the
7236                         internal table
7237
7238 2007-11-09  Dan Williams  <dcbw@redhat.com>
7239
7240         * libnm-glib/nm-settings.h
7241           libnm-glib/nm-settings.c
7242                 - (nm_settings_new_error): remove
7243                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7244                         clients should use g_set_error() with NM_SETTINGS_ERROR
7245
7246 2007-11-09  Dan Williams  <dcbw@redhat.com>
7247
7248         * src/supplicant-manager/nm-supplicant-config.c
7249                 - (nm_supplicant_config_add_setting_wireless_security): private key
7250                         passwords are never sent to wpa_supplicant, because the supplicant
7251                         should never be reading random files from the disk.  Clients like
7252                         the applet are required to decrypt the private keys and send NM
7253                         the decrypted blobs.
7254
7255 2007-11-08  Dan Williams  <dcbw@redhat.com>
7256
7257         * libnm-util/nm-setting-wireless-security.h
7258           libnm-util/nm-setting-wireless-security.c
7259                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7260                         members to 802-11-wireless-security structure.  This should be used
7261                         to indicate that the values in private-key and phase2-private-key
7262                         are already decrypted by the user agent, and that no
7263                         private-key-passwd or phase2-private-key-passwd should be expected.
7264                         It is not meant to be a stored configuration value, but meant to
7265                         be set when the conneciton is sent to NM over dbus.
7266
7267 2007-11-08  Dan Williams  <dcbw@redhat.com>
7268
7269         * libnm-util/nm-connection.h
7270           libnm-util/nm-connection.c
7271                 - (nm_connection_need_secrets): add argument to return hints
7272
7273         * src/nm-device-802-11-wireless.c
7274                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7275                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7276                         nm_connection_need_secrets() change
7277
7278 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7279
7280         Rework NMSetting structures: Move each setting to it's own file.
7281         Convert to GObject. Remove home grown setting types and use GTypes.
7282         Use GObject property introspection for hash conversion, enumerating
7283         properties, etc.
7284
7285         * libnm-util/nm-setting-connection.[ch]
7286         * libnm-util/nm-setting-ip4-config.[ch]
7287         * libnm-util/nm-setting-ppp.[ch]
7288         * libnm-util/nm-setting-vpn.[ch]
7289         * libnm-util/nm-setting-vpn-properties.[ch]
7290         * libnm-util/nm-setting-wired.[ch]
7291         * libnm-util/nm-setting-wireless.[ch]
7292         * libnm-util/nm-setting-wireless-security.[ch]
7293
7294         New files, each containing a setting.
7295
7296         * libnm-util/nm-setting-template.[ch]: A template for creating new
7297         settings. To use it, just replace 'template' with the new setting
7298         name, and you're half-way done.
7299
7300         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7301         introspection instead of internal types and tables.
7302
7303         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7304
7305         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7306         GValue types defined by dbus-glib for composed types like collections,
7307         structures and maps.
7308
7309         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7310         a setting from connection takes the setting type now. Also, since
7311         the settings are in multiple files, include relevant settings.
7312
7313 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7314
7315         * configure.in:
7316         * src/backends/NetworkManagerGentoo.c:
7317         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7318         providers in Gentoo.
7319
7320 2007-10-31  Dan Williams  <dcbw@redhat.com>
7321
7322         * libnm-util/nm-connection.c
7323                 - (gvalue_to_string): handle UINT32 arrays
7324
7325 2007-10-31  Dan Williams  <dcbw@redhat.com>
7326
7327         * libnm-glib/nm-device.h
7328           libnm-glib/nm-device.c
7329                 - (nm_device_get_description): remove
7330                 - (nm_device_get_product, nm_device_get_vendor): add
7331                 - (nm_device_update_description): new function (private); walk HAL
7332                         devices to get product and vendor IDs for a specific device
7333
7334 2007-10-31  Dan Williams  <dcbw@redhat.com>
7335
7336         * src/nm-device-802-11-wireless.c
7337                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7338
7339 2007-10-29  Dan Williams  <dcbw@redhat.com>
7340
7341         * src/nm-hal-manager.c
7342                 - (device_added, device_new_capability): ignore device additions while
7343                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7344                         kernel module is unloaded and reloaded and recognized by NM again.
7345
7346 2007-10-26  Dan Williams  <dcbw@redhat.com>
7347
7348         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7349
7350         * src/NetworkManagerAP.c
7351           src/NetworkManagerAP.h
7352           libnm-glib/nm-access-point.c
7353           libnm-glib/nm-access-point.h
7354                 - Make 'rate' property a guint32 to better match with WEXT and
7355                         wpa_supplicant and to allow representation of higher bitrates
7356
7357         * src/nm-device-802-11-wireless.c
7358           introspection/nm-device-802-11-wireless.xml
7359           libnm-glib/nm-device-802-11-wireless.c
7360           libnm-glib/nm-device-802-11-wireless.h
7361                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7362
7363         * src/nm-device-802-3-ethernet.c
7364           src/nm-device-802-3-ethernet.h
7365           introspection/nm-device-802-3-ethernet.xml
7366           libnm-glib/nm-device-802-3-ethernet.c
7367           libnm-glib/nm-device-802-3-ethernet.h
7368                 - Make 'speed' property a guint32 to match other speed/rate types
7369                 - Make nm_device_802_3_ethernet_get_speed() static
7370
7371         * test/nm-tool.c
7372                 - Update for the changes above
7373
7374 2007-10-26  Dan Williams  <dcbw@redhat.com>
7375
7376         * src/named-manager/nm-named-manager.c
7377                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7378                     not calling fclose() twice on some error conditions
7379
7380 2007-10-26  Dan Williams  <dcbw@redhat.com>
7381
7382         * src/nm-activation-request.c
7383                 - (dispose): clean up indentation; get the right DBusGProxy object to
7384                         cancel the GetSecrets pending call on.  Need to use the Secrets
7385                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7386                         pending call doesn't get canceled, and pressing Cancel in the
7387                         applet's password dialog could cause get_secrets_cb() to be called
7388                         after the activation request has already been destroyed
7389
7390 2007-10-24  Dan Williams  <dcbw@redhat.com>
7391
7392         * src/supplicant-manager/nm-supplicant-config.c
7393                 - (nm_supplicant_config_add_blob): pass blob data and length for
7394                         verification
7395                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7396
7397 2007-10-24  Dan Williams  <dcbw@redhat.com>
7398
7399         * src/supplicant-manager/nm-supplicant-settings-verify.c
7400                 - (opt_table): max length for certificates should be 65536
7401
7402 2007-10-24  Dan Williams  <dcbw@redhat.com>
7403
7404         * src/supplicant-manager/nm-supplicant-interface.c
7405                 - (blob_free): correctly free blob data after use
7406                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7407
7408 2007-10-24  Dan Williams  <dcbw@redhat.com>
7409
7410         * libnm-util/nm-setting.c
7411                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7412                         EAP method need secrets
7413
7414 2007-10-24  Dan Williams  <dcbw@redhat.com>
7415
7416         * src/backends/NetworkManagerRedHat.c
7417                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7418
7419 2007-10-23  Dan Williams  <dcbw@redhat.com>
7420
7421         * libnm-util/nm-setting.c
7422           libnm-util/nm-setting.c
7423                 - (nm_setting_compare): implement
7424                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7425                    compare_one_hash_gvalue): compare the contents of a setting
7426
7427         * libnm-util/nm-connection.c
7428                 - (nm_connection_compare): implement
7429
7430 2007-10-23  Dan Williams  <dcbw@redhat.com>
7431
7432         * src/nm-activation-request.c
7433                 - (get_secrets_cb): handle getting a setting back that is more than
7434                         just secrets (ie, user changed auth or EAP method or something)
7435
7436 2007-10-23  Dan Williams  <dcbw@redhat.com>
7437
7438         * libnm-util/nm-setting.c
7439           libnm-util/nm-setting.h
7440                 - (nm_setting_verify): new function; verify one setting
7441                 - (nm_settings_verify_all): rename from nm_settings_verify()
7442                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7443                         all_settings
7444
7445         * libnm-util/nm-connection.c
7446                 - (nm_connection_replace_settings, nm_connection_verify,
7447                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7448
7449 2007-10-23  Dan Williams  <dcbw@redhat.com>
7450
7451         * src/nm-device-802-11-wireless.c
7452                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7453                         desired behavior
7454
7455 2007-10-23  Dan Williams  <dcbw@redhat.com>
7456
7457         * src/supplicant-manager/nm-supplicant-settings-verify.c
7458                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7459                         nm-settings.c
7460
7461 2007-10-23  Dan Williams  <dcbw@redhat.com>
7462
7463         * src/nm-device-802-11-wireless.c
7464                 - (real_act_stage2_config): after the first association failure,
7465                         if the connection still needs secrets ask the user for them
7466                         explicitly.  After the fourth association failure due to bad
7467                         secrets, fail the connection entirely.  Handles the GetSecrets
7468                         loop that NM gets into when the provided secrets don't match up
7469                         with the connection details.
7470
7471 2007-10-23  Dan Williams  <dcbw@redhat.com>
7472
7473         * src/supplicant-manager/nm-supplicant-config.c
7474                 - (nm_supplicant_config_add_setting_wireless_security): only add
7475                         WPA-specific options when WPA is in use
7476
7477 2007-10-23  Dan Williams  <dcbw@redhat.com>
7478
7479         * src/supplicant-manager/nm-supplicant-config.c
7480                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7481                         secret doesn't need to be unhexified
7482
7483 2007-10-23  Dan Williams  <dcbw@redhat.com>
7484
7485         * libnm-util/nm-setting.c
7486                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7487                         before trying to do something with it
7488
7489 2007-10-23  Dan Williams  <dcbw@redhat.com>
7490
7491         * src/nm-device-802-11-wireless.c
7492                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7493
7494 2007-10-23  Dan Williams  <dcbw@redhat.com>
7495
7496         * src/nm-device-802-11-wireless.c
7497                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7498                         non-SSID-broadcasting APs
7499
7500 2007-10-23  Dan Williams  <dcbw@redhat.com>
7501
7502         * src/NetworkManagerAP.c
7503                 - (match_cipher, security_compatible): remove
7504                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7505                         libnm-util instead
7506
7507 2007-10-23  Dan Williams  <dcbw@redhat.com>
7508
7509         * libnm-util/nm-utils.c
7510           libnm-util/nm-utils.h
7511                 - (nm_utils_ap_security_compatible): common function for checking
7512                         whether a specific AP is compatible with an NMConnection
7513
7514 2007-10-23  Dan Williams  <dcbw@redhat.com>
7515
7516         * libnm-util/nm-setting.c
7517                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7518                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7519                    need_secrets_password, setting_wireless_security_verify): fix
7520                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7521                         secrets logic for each supported EAP method
7522
7523 2007-10-23  Dan Williams  <dcbw@redhat.com>
7524
7525         * src/supplicant-manager/nm-supplicant-config.c
7526                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7527                         config option name, should be "private_key2_passwd"
7528
7529 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7530
7531         Implement support for static IP addresses, additional/overridden DNS and
7532         DNS domain search lists.
7533
7534         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7535         (ip4_addresses_to_gvalue): Implement.
7536         (convert_array_to_byte_array): Implement.
7537         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7538         NM_S_TYPE_IP4_ADDRESSES.
7539         (nm_setting_hash): Ditto.
7540         (default_setting_clear_secrets): Add a default case for the switch: IP address
7541         shouldn't be secret, ever.
7542         (setting_ip4_config_verify): Update, requires addresses in case of manual
7543         configurations.
7544         (setting_ip4_config_destroy): Free stuff.
7545
7546         * src/nm-device.c (merge_ip4_config): Implement.
7547         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7548
7549 2007-10-22  Dan Williams  <dcbw@redhat.com>
7550
7551         * libnm-util/nm-setting.c
7552                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7553                         pairwise cipher options for Dynamic WEP
7554
7555 2007-10-21  Dan Williams  <dcbw@redhat.com>
7556
7557         * src/NetworkManagerAP.c
7558           src/NetworkManagerAP.h
7559                 - Rename 'articifical' -> 'fake' since that's what they are until
7560                         noticed in scans
7561                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7562                         from the attributes in an NMConnection object
7563                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7564                         WPA Enterprise
7565                 - (nm_ap_match_in_list): find a matching AP in a scan list
7566
7567         * src/nm-device-802-11-wireless.c
7568                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7569                         AP when searching the scan list; match on frequency and mode too
7570                 - (nm_device_802_11_wireless_get_frequency): implement
7571                 - (merge_scanned_ap): replace duplicate matching logic with
7572                         nm_ap_match_in_list()
7573                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7574                         the user is trying to connect to a hidden network that is not yet
7575                         known from the scan list
7576                 - (activation_success_handler): now that the card knows the AP's BSSID,
7577                         there may already be a scanned AP in the scan list that is what
7578                         we really wanted to connect to, but didn't know at the time.  Use
7579                         that instead of the 'fake' AP created at activation start and get
7580                         rid of the 'fake' AP 
7581                 - (cull_scan_list): don't remove fake APs
7582
7583 2007-10-21  Dan Williams  <dcbw@redhat.com>
7584
7585         * src/nm-activation-request.h
7586           src/nm-activation-request.c
7587                 - (nm_act_request_set_specific_object): new function; allow setting the
7588                         specific object if one isn't set yet
7589
7590 2007-10-20  Dan Williams  <dcbw@redhat.com>
7591
7592         * src/supplicant-manager/nm-supplicant-config.h
7593           src/supplicant-manager/nm-supplicant-config.c
7594                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7595                         table to store blobs
7596                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7597                         blob hash table
7598                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7599                 - (nm_supplicant_config_add_setting_wireless_security): handle
7600                         options that use certificates (ie, blobs)
7601
7602         * src/nm-device-802-11-wireless.c
7603                 - (build_supplicant_config): pass a UID (just use the connection path)
7604                         to the supplicant config as now required
7605
7606         * src/supplicant-manager/nm-supplicant-interface.c
7607                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7608                         there are any blobs to send to wpa_supplicant, send those first
7609                         before sending the network configuration
7610
7611 2007-10-19  Dan Williams  <dcbw@redhat.com>
7612
7613         Split the GetSecrets() call off to a separate D-Bus interface so that it
7614         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7615         should be able to call GetSecrets().
7616
7617         * include/NetworkManager.h
7618                 - Define the connection secrets D-Bus interface
7619
7620         * src/vpn-manager/nm-vpn-connection.c
7621                 - (clear_need_auth): get the right proxy object for the connection
7622                         secrets interface
7623                 - (get_connection_secrets): use the connection secrets proxy; send
7624                         empty hints in get secrets request
7625
7626         * src/nm-activation-request.c
7627                 - (nm_act_request_request_connection_secrets): use the connection
7628                         secrets proxy; send empty hints in get secrets request
7629
7630         * src/nm-manager.c
7631           src/nm-manager.h
7632                 - (connection_get_settings_cb): set the connection secrets proxy on
7633                         the connection object too
7634                 - (internal_new_connection_cb): create the connection secrets proxy
7635
7636         * introspection/nm-settings-connection.xml
7637                 - Define Connection.Secrets interface and move GetSecrets there
7638                 - Add a 'hints' argument to GetSecrets
7639
7640         * libnm-glib/nm-settings.c
7641           libnm-glib/nm-settings.h
7642                 - (impl_connection_settings_get_secrets): add 'hints' argument
7643
7644 2007-10-19  Dan Williams  <dcbw@redhat.com>
7645
7646         * src/nm-device.c
7647                 - (constructor): add message about what path a device is exported as
7648                         to help in debugging rh #339011
7649
7650 2007-10-17  Dan Williams  <dcbw@redhat.com>
7651
7652         * libnm-util/nm-utils.h
7653           libnm-util/nm-utils.c
7654                 - (nm_utils_security_valid): common function to help find the intersection
7655                         of capabilities of devices and (optionally) access points
7656
7657 2007-10-17  Dan Williams  <dcbw@redhat.com>
7658
7659         * src/nm-device-802-11-wireless.c
7660                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7661                         don't get erroneously cleared
7662
7663 2007-10-17  Dan Williams  <dcbw@redhat.com>
7664
7665         * src/nm-manager.h
7666           src/nm-manager.c
7667           src/nm-hal-manager.c
7668                 - (device_removed, finalize, nm_manager_remove_device,
7669                    nm_manager_sleep): add a 'deactivate' argument to 
7670                    nm_manager_remove_device() to fully deactivate devices when necessary
7671                    (ie, always except when waking up)
7672
7673 2007-10-16  Dan Williams  <dcbw@redhat.com>
7674
7675         * libnm-util/nm-setting.c
7676                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7677                         also isn't valid phase2 autheap method
7678
7679 2007-10-16  Dan Williams  <dcbw@redhat.com>
7680
7681         * libnm-glib/nm-client.c
7682                 - (update_wireless_status): consolidate updates of wireless status
7683                 - (constructor): use update_wireless_status()
7684                 - (manager_running): set wireless status off when NM goes away; requery
7685                         the wireless status when NM comes back
7686
7687 2007-10-16  Dan Williams  <dcbw@redhat.com>
7688
7689         * libnm-glib/nm-client.c
7690                 - (nm_client_activate_device): actually use the fixed-up specific
7691                         object path
7692
7693 2007-10-16  Dan Williams  <dcbw@redhat.com>
7694
7695         * src/nm-hal-manager.c
7696                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7697                         killswitch error messages once
7698
7699 2007-10-16  Dan Williams  <dcbw@redhat.com>
7700
7701         * src/nm-manager.c
7702                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7703                         if it's disabled in hardware; don't touch network devices while
7704                         NM is asleep
7705
7706 2007-10-16  Dan Williams  <dcbw@redhat.com>
7707
7708         * libnm-util/nm-client.c
7709                 - (nm_client_activate_device): convert NULL specific_object to "/",
7710                         which is used in place of NULL
7711
7712         * src/nm-manager.c
7713                 - (impl_manager_activate_device): convert "/" specific_object back into
7714                         NULL
7715
7716 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7717
7718         Implement a generic NMSetting creator from setting name.
7719         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7720         add a virtual function 'populate_fn'.
7721
7722         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7723         (register_default_creators): Register setting creators instead of functions
7724         that create and then populate.
7725         (parse_one_setting): Use the common setting creator and then setting specific
7726         poplulation function.
7727
7728         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7729         they all looked exactly the same.
7730         Add a 'populate_fn' virtual function to NMSetting.
7731         Use default virtual functions in case they are not overriden.
7732         (nm_setting_populate_from_hash): Implement.
7733
7734         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7735         name, use a defined string.
7736         (real_act_stage4_get_ip4_config): Ditto.
7737
7738 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7739
7740         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7741         HAL is int, not uint.
7742
7743 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7744
7745         Implement killswitch polling through HAL.
7746
7747         * src/nm-manager.c: Add wireless hardware status property. Add 
7748         'properties-changed' signal for changes in wireless and wireless hardware
7749         state changes.
7750
7751         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7752         and update NMManager's wireless hardware state when it has changed.
7753         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7754         already does that.
7755
7756         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7757         values of wireless state and wireless hardware state. Listen for the
7758         'properties-changed' signals, update the cached values and emit notify.
7759
7760         * include/NetworkManager.h: Fix a typo in a comment.
7761
7762 2007-10-14  Dan Williams  <dcbw@redhat.com>
7763
7764         * libnm-util/nm-setting.c
7765                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7766
7767 2007-10-13  Dan Williams  <dcbw@redhat.com>
7768
7769         * libnm-util/nm-setting.h
7770           libnm-util/nm-setting.c
7771           src/supplicant-manager/nm-supplicant-config.c
7772                 - Make the 'proto' field of the 802-11-wireless-security field a
7773                         string list
7774
7775 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7776
7777         Rework the "properties-changed" signal listening implementation.
7778         Add a generic implementation to NMObject class that listens for
7779         the signal and calls property setters of the target NMObject.
7780
7781         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7782
7783         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7784         code to the end of file so that all the static functions are available
7785         without extra declarations.
7786         Remove the "properties-changed" signal handling and use the framework from
7787         NMObject.
7788         Implement property setters for properties that change with 
7789         "properties-changed" signal.
7790
7791         * libnm-glib/nm-access-point.c: Ditto.
7792
7793 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7794
7795         Rework the "properties-changed" signal implementation.
7796         In classes that need to use it, just emit "GObject::notify" and the new
7797         framework takes care of the rest to make the signal available on dbus.
7798         The framework queues the notifications and tries to send as many together
7799         in one signal as possible.
7800
7801         * src/nm-properties-changed-signal.c:
7802         * src/nm-properties-changed-signal.h: Implement.
7803
7804         * src/Makefile.am: Add new files to build.
7805
7806         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7807         signal.
7808
7809         * src/nm-device-802-11-wireless.c: Ditto.
7810
7811 2007-10-10  Dan Williams  <dcbw@redhat.com>
7812
7813         * src/nm-manager.c
7814                 - (wait_for_connection_expired): ensure info is valid
7815                 - (connection_added_default_handler): Should only remove pending
7816                         connection info when the manager has the connection that it's
7817                         waiting for.  Fixes segfault in wait_for_connection_info().  
7818
7819 2007-10-10  Dan Williams  <dcbw@redhat.com>
7820
7821         * libnm-util/nm-setting.c
7822           libnm-util/nm-setting.h
7823                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7824                         can use if they choose.  Should be filled in by the settings service
7825                         on-the-fly with the currently logged in user's username
7826
7827 2007-10-10  Dan Williams  <dcbw@redhat.com>
7828
7829         * src/nm-device-802-11-wireless.c
7830                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7831                         as such, because even if the manager fills in the SSID, NM still
7832                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7833                         its SSID
7834
7835 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7836
7837         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7838         code that used NM's own version of dbus signal handling and custom dictionary
7839         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7840         and we get to maintain over 2000 lines less code.
7841
7842         * libnm-util/dbus-dict-helpers.c:
7843         * libnm-util/dbus-dict-helpers.h: Remove.
7844
7845         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7846
7847         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7848
7849         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7850         handlers.
7851
7852         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7853
7854         * configure.in: Remove test/libnm-util/Makefile creation.
7855
7856         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7857
7858         * test/libnm-util/: Remove the whole directory.
7859
7860 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7861
7862         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7863         device_state_changed_idle_id variable or it would contain some random value and the
7864         schedule_change_check calls would not do anything.
7865
7866 2007-10-09  Dan Williams  <dcbw@redhat.com>
7867
7868         * src/nm-device-802-11-wireless.c
7869                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7870                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7871                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7872                         merging of non-SSID-broadcasting APs
7873
7874 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7875
7876         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7877         "guint8 *" since it's usually used with GByteArray->data.
7878         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7879
7880 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7881
7882         * src/NetworkManagerUtils.c
7883         (nm_utils_is_empty_ssid):
7884         (nm_utils_escape_ssid):
7885         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7886         lot of places, so they belong to libnm-utils instead.
7887
7888         Now with 100% less compiler warnings:
7889
7890         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7891         (nm_dbus_unescape_object_path): Ditto.
7892         (nm_utils_ssid_to_utf8): Ditto.
7893         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7894         (nm_utils_escape_ssid): Ditto.
7895         (nm_utils_same_ssid): Ditto.
7896
7897         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7898         (add_one_connection_element): Remove an unused variable.
7899         (impl_manager_get_active_connections): Ditto.
7900
7901         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7902         variable.
7903
7904         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7905         from the previous commit.
7906
7907         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7908         (real_act_stage1_prepare): Ditto.
7909         (activation_success_handler): Ditto.
7910         (get_property): Ditto.
7911
7912         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7913         variable.
7914
7915         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7916         it's always set.
7917
7918         * src/supplicant-manager/nm-supplicant-config.c 
7919         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7920         to expected "char *".
7921         (nm_supplicant_config_add_setting_wireless): Ditto.
7922         (nm_supplicant_config_remove_option): Remove, not used.
7923
7924         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7925         not double.
7926         (test_wireless_enabled): Ifdef out unused function.
7927         (device_deactivate): Ditto.
7928         (device_state_changed): Ditto.
7929         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7930         (nm_utils_escape_ssid): Ditto.
7931
7932         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7933         (nm_utils_is_empty_ssid): Ditto.
7934
7935         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7936         unused variable.
7937
7938         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7939         (setting_vpn_properties_update_secrets): Ditto.
7940         (int_to_gvalue): Ifdef out for now, not used.
7941         (byte_to_gvalue): Ditto.
7942
7943         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7944         Unused, remove.
7945
7946 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7947
7948         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7949         about dbus manager, not named manager.
7950         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7951
7952         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7953         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7954         However, the same signal is emitted when we destroy it and there's 
7955         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7956
7957         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7958         releasing the DBusGConnection, since proxy needs a conneciton.
7959         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7960
7961 2007-10-08  Dan Williams  <dcbw@redhat.com>
7962
7963         * src/NetworkManager.c
7964                 - (main): error on unknown command-line options
7965
7966 2007-10-08  Dan Williams  <dcbw@redhat.com>
7967
7968         Reimplement the invalid connection list.  Don't try to re-activate a
7969         connection that just failed or was canceled.
7970
7971         * src/nm-device.c
7972                 - (connection_secrets_failed_cb): fail device activation, don't just
7973                         deactivate the device.  Listeners have to know about the failure.
7974
7975         * src/NetworkManagerPolicy.c
7976                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7977                         the connection list given to a device's get_best_connection()
7978                         method
7979                 - (device_state_changed): tag failed connections as invalid; clear the
7980                         tag from successful connections
7981
7982 2007-10-08  Dan Williams  <dcbw@redhat.com>
7983
7984         Fix problems with interrupted activation.  Previously, choosing an AP
7985         from the menu, then choosing another one before the first connection was
7986         successful wouldn't deactivate the device before starting the new connection
7987         on that same device.
7988
7989         * src/NetworkManagerPolicy.c
7990                 - (deactivate_old_device, device_state_changed, state_changed,
7991                    nm_policy_new): wrong place to deactivate old devices
7992
7993         * src/nm-manager.c
7994                 - (pending_connection_info_destroy, finalize,
7995                    wait_for_connection_expired): decouple destruction of the pending
7996                         connection info from the manager device
7997                 - (connection_added_default_handler): deactivate any active or
7998                         activating device before starting a new activation
7999                 - (impl_manager_activate_device): deactivate any active or activating
8000                         device before starting a new activation; be sure not to leak
8001                         pending connection info if a new activation request arrives but
8002                         there's already a pending one in-process
8003
8004 2007-10-08  Dan Williams  <dcbw@redhat.com>
8005
8006         * src/NetworkManagerAP.h
8007           src/NetworkManagerAP.c
8008                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
8009                         should handle default SSIDs and whether or not to autoconnect
8010                         to them
8011
8012 2007-10-08  Dan Williams  <dcbw@redhat.com>
8013
8014         * src/NetworkManagerPolicy.c
8015                 - (nm_policy_device_change_check): print out connection name where
8016                         possible
8017
8018 2007-10-08  Dan Williams  <dcbw@redhat.com>
8019
8020         * src/nm-device-802-11-wireless.c
8021           src/nm-device-802-11-wireless.h
8022                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8023                         'hidden-ap-found' signal (for internal use only) that allows the
8024                         NMManager to fill in the AP's SSID if a connection has that AP's
8025                         BSSID in its seen-bssids list
8026
8027         * src/nm-manager.c
8028                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8029                         wireless device's hidden-ap-found signal and fill in the APs SSID
8030                         if possible
8031
8032 2007-10-07  Dan Williams  <dcbw@redhat.com>
8033
8034         * src/nm-manager.c
8035           src/nm-manager.h
8036                 - Add a 'connections-added' signal to batch together updates of large
8037                         numbers of connections, like when reading from a settings service
8038                         the first time.  Otherwise, the policy would just activate the first
8039                         suitable connection it saw rather than waiting for the full list
8040                         to arrive.
8041                 - (nm_manager_class_init): register new signal
8042                 - (get_type_for_proxy, connection_get_settings_cb,
8043                    get_connection_for_proxy): centralize places where a proxy's setting
8044                         service is determined
8045                 - (free_get_settings_info): if the call being freed is the last call
8046                         in a pending call group, fire off the connections-added signal
8047                 - (internal_new_connection_cb): add call to a pending call group if
8048                         requested
8049                 - (list_connections_cb): always create a call group here, because this
8050                         call results in a batch of new connections
8051                 - (initial_get_connections): start getting system connections first
8052                 - (nm_manager_connections_destroy, emit_removed): actually emit the
8053                         removed signal when destroying connections
8054
8055         * src/NetworkManagerPolicy.c
8056                 - (nm_policy_new, connections_added): handle connections-added signal
8057                         from the manager
8058
8059 2007-10-06  Dan Williams  <dcbw@redhat.com>
8060
8061         * src/nm-device-802-11-wireless.c
8062                 - (constructor): fix leaked socket
8063
8064 2007-10-06  Dan Williams  <dcbw@redhat.com>
8065
8066         * src/NetworkManagerPolicy.c
8067                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
8068                         connection in the list returned by nm_manager_get_connections() is
8069                         reffed, but they weren't getting unreffed before returning
8070
8071 2007-10-06  Dan Williams  <dcbw@redhat.com>
8072
8073         * src/nm-manager.c
8074                 - (connections_to_slist): sort connections first on autoconnect, then
8075                         on timestamp
8076
8077 2007-10-06  Dan Williams  <dcbw@redhat.com>
8078
8079         * libnm-util/nm-connection.c
8080                 - (gvalue_to_string): handle UINT64
8081
8082 2007-10-06  Dan Williams  <dcbw@redhat.com>
8083
8084         * src/NetworkManagerPolicy.c
8085                 - (connection_updated, nm_policy_new): recheck state when a connection
8086                         gets updated
8087
8088 2007-10-06  Dan Williams  <dcbw@redhat.com>
8089
8090         * src/nm-manager.c
8091           src/nm-manager.h
8092                 - (nm_manager_get_connection_dbus_path): make static
8093                 - (nm_manager_update_connections): remove; unused
8094                 - Add a connection-updated signal
8095                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8096                         handle connection object updates
8097
8098 2007-10-06  Dan Williams  <dcbw@redhat.com>
8099
8100         * src/NetworkManagerPolicy.c
8101                 - (connection_removed): deactivate removed connections
8102
8103 2007-10-06  Dan Williams  <dcbw@redhat.com>
8104
8105         * libnm-util/nm-connection.c
8106           libnm-util/nm-connection.h
8107                 - (nm_connection_replace_settings): new function
8108
8109 2007-10-06  Dan Williams  <dcbw@redhat.com>
8110
8111         * libnm-glib/nm-device-802-11-wireless.c
8112                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8113                         on error when getting the active access point over D-Bus from NM
8114
8115 2007-10-05  Dan Williams  <dcbw@redhat.com>
8116
8117         * libnm-util/nm-setting.c
8118                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8119                         to the NMSettingWireless table; it's now a string array not an array
8120                         of byte arrays
8121
8122 2007-10-05  Dan Williams  <dcbw@redhat.com>
8123
8124         * libnm-glib/nm-device-802-11-wireless.c
8125                 - Cache properties and update cached properties on D-Bus signals from NM
8126
8127 2007-10-05  Dan Williams  <dcbw@redhat.com>
8128
8129         * src/nm-device-802-11-wireless.c
8130                 - (set_current_ap): consolidate current_ap handling code into one place
8131                         to ensure that PropertiesChanged signals are emitted in all cases
8132                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8133                    nm_device_802_11_wireless_dispose): use set_current_ap()
8134
8135 2007-10-05  Dan Williams  <dcbw@redhat.com>
8136
8137         * libnm-glib/nm-access-point.c
8138           libnm-glib/nm-access-point.h
8139                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8140                         because the value is cached internally now.  Callers should not
8141                         free the internal value.
8142                 - Make signal name defines private
8143
8144         * test/nm-tool.c
8145           libnm-glib/libnm-glib-test.c
8146                 - Don't free value returned from nm_access_point_get_hw_address()
8147
8148 2007-10-04  Dan Williams  <dcbw@redhat.com>
8149
8150         * introspection/nm-device-802-11-wireless.xml
8151           src/nm-device-802-11-wireless.h
8152           src/nm-device-802-11-wireless.c
8153                 - Add a PropertiesChanged signal for wireless device
8154                 - Store currently associated access point
8155                 - (periodic_update): generalize; update rate here too and emit the
8156                         correct PropertiesChanged signal when stuff changes
8157                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8158                    real_activation_cancel_handler): clear current_ap when device is
8159                         deactivated
8160                 - (link_to_specific_ap, get_ap_blacklisted,
8161                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8162                         code
8163                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8164                         outside this file
8165                 - (real_set_hw_address): emit property changed signal if the card's
8166                         MAC address changes
8167                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8168                         the card is supposed to be connecting to
8169                 - (activation_success_handler): send out property updates on successful
8170                         activation
8171                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8172                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8173                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8174                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8175                         is now boxed; add PropertiesChanged signal
8176
8177 2007-10-04  Dan Williams  <dcbw@redhat.com>
8178
8179         * libnm-util/nm-connection.c
8180           libnm-util/nm-connection.h
8181                 - (nm_connection_verify): new function
8182
8183 2007-10-04  Dan Williams  <dcbw@redhat.com>
8184
8185         * libnm-util/nm-setting.c
8186                 - (nm_settings_verify): use #defines when possible rather than strings
8187                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8188                 - (setting_vpn_verify): tighter validity check on 'service_type'
8189
8190 2007-10-04  Dan Williams  <dcbw@redhat.com>
8191
8192         * libnm-glib/nm-settings.c
8193                 - (nm_connection_settings_class_init): provide correct type for argument
8194                         to the Updated signal so that dbus-glib knows how to marshal it
8195
8196 2007-10-03  Dan Williams  <dcbw@redhat.com>
8197
8198         * src/nm-device-802-3-ethernet.c
8199                 - (real_get_best_connection): don't create automatic connections
8200                         internally; clients should provide a setting that applies to
8201                         the device with 'autoconnect: True'.  Problem was that these
8202                         internally auto-created connections don't have a proxy or service
8203                         name becuase they weren't created by a settings daemon, and therefore
8204                         clients have no idea what to do with them.
8205
8206 2007-10-03  Dan Williams  <dcbw@redhat.com>
8207
8208         * src/nm-device-802-11-wireless.c
8209           src/nm-device-802-11-wireless.h
8210           introspection/nm-device-802-11-wireless.xml
8211                 - GetActiveNetworks -> GetAccessPoints
8212                 - ActiveNetwork -> ActiveAccessPoint
8213                 - NetworkAdded -> AccessPointAdded
8214                 - NetowrkRemoved -> AccessPointRemoved
8215
8216         * libnm-glib/nm-device-802-11-wireless.c
8217           libnm-glib/nm-device-802-11-wireless.h
8218                 - network-added signal -> access-point-added
8219                 - network-removed signal -> access-point-removed
8220                 - nm_device_802_11_wireless_get_active_network() ->
8221                         nm_device_802_11_wireless_get_active_access_point()
8222                 - nm_device_802_11_wireless_get_network_by_path() ->
8223                         nm_device_802_11_wireless_get_access_point_by_path()
8224                 - nm_device_802_11_wireless_get_networks() ->
8225                         nm_device_802_11_wireless_get_access_points()
8226
8227         * libnm-glib/libnm-glib-test.c
8228           test/nm-tool.c
8229           src/NetworkManagerPolicy.c
8230                 - Fixups for Network -> AccessPoint
8231
8232 2007-10-03  Dan Williams  <dcbw@redhat.com>
8233
8234         Add a GetActiveConnections() method on the Manager object.
8235
8236         * src/nm-manager.c
8237           src/nm-manager.h
8238           introspection/nm-manager.xml
8239                 - (connection_get_settings_cb): keep connection type around too
8240                 - (impl_manager_get_active_connections, add_one_connection_element):
8241                         implement; returns all active connections and what devices they
8242                         apply to
8243
8244         * libnm-glib/nm-client.c
8245           libnm-glib/nm-client.h
8246           introspection/nm-manager-client.xml
8247                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8248                         by the caller; free here to avoid memory leak
8249                 - (nm_client_get_active_connections): implement; return the list of
8250                         active connections
8251                 - (nm_client_free_active_connection_element): implement; free an element
8252                         of the GSList returned by nm_client_get_active_connections()
8253
8254 2007-10-03  Dan Williams  <dcbw@redhat.com>
8255
8256         * src/nm-device-802-11-wireless.c
8257                 - (nm_device_802_11_wireless_update_bssid): remove
8258                 - (get_active_ap): new function; find the AP in the scan list which
8259                         matches the current BSSID and SSID of the wireless device
8260                 - (nm_device_802_11_periodic_update): get current AP using
8261                         get_active_ap() and print AP roam messages
8262
8263 2007-10-01  Dan Williams  <dcbw@redhat.com>
8264
8265         * libnm-util/nm-setting.h
8266                 - Add a 'timestamp' option to NMSettingConnection
8267                 - Add a UINT64 type
8268
8269         * libnm-util/nm-setting.c
8270                 - (uint64_to_gvalue): new function
8271                 - (nm_setting_populate_from_hash, nm_setting_hash,
8272                    default_setting_clear_secrets): handle UINT64 type
8273                 - con_table: add 'timestamp' member
8274
8275 2007-10-01  Dan Williams  <dcbw@redhat.com>
8276
8277         * src/nm-manager.c
8278                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8279                         value when the connection can be activated immediately
8280
8281 2007-10-01  Dan Williams  <dcbw@redhat.com>
8282
8283         * libnm-glib/nm-device.c
8284                 - (nm_device_class_init): actually tell glib about the carrier-changed
8285                         signal
8286
8287 2007-10-01  Dan Williams  <dcbw@redhat.com>
8288
8289         * configure.in
8290           src/marshallers/Makefile.am
8291           src/marshallers/nm-marshal.list
8292           src/marshallers/nm-marshal-main.c
8293                 - Consolidate glib marshallers into one place
8294
8295         * src/dhcp-manager/Makefile.am
8296           src/dhcp-manager/nm-dhcp-manager.c
8297           src/supplicant-manager/Makefile.am
8298           src/supplicant-manager/nm-supplicant-manager.c
8299           src/supplicant-manager/nm-supplicant-interface.c
8300           src/ppp-manager/Makefile.am
8301           src/ppp-manager/nm-ppp-manager.c
8302           src/vpn-manager/Makefile.am
8303           src/vpn-manager/nm-vpn-connection.c
8304           src/Makefile.am
8305                 - Use consolidated marshallers
8306
8307         * src/dhcp-manager/nm-dhcp-marshal.list
8308           src/dhcp-manager/nm-dhcp-marshal-main.c
8309           src/supplicant-manager/nm-supplicant-marshal-main.c
8310           src/supplicant-manager/nm-supplicant-marshal.list
8311           src/nm-marshal-main.c
8312           src/nm-marshal.list
8313           src/ppp-manager/nm-ppp-marshal-main.c
8314           src/ppp-manager/nm-ppp-marshal.list
8315           src/vpn-manager/nm-vpn-marshal-main.c
8316           src/vpn-manager/nm-vpn-marshal.list
8317                 - Remove
8318
8319 2007-10-01  Dan Williams  <dcbw@redhat.com>
8320
8321         * include/NetworkManagerVPN.h
8322                 - define VPN connection state change reason codes
8323
8324         * src/vpn-manager/Makefile.am
8325           src/vpn-manager/nm-vpn-marshal.list
8326           src/vpn-manager/nm-vpn-marshal-main.c
8327                 - Add marshallers for StateChanged signal
8328
8329         * introspection/nm-vpn-connection.xml
8330                 - New Banner property
8331                 - StateChanged signal now includes a 'reason' argument
8332
8333         * src/vpn-manager/nm-vpn-connection.c
8334           src/vpn-manager/nm-vpn-connection.h
8335                 - Add a "Banner" property that contains the returned VPN server login
8336                         banner (if any); valid only in the ACTIVATED state
8337                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8338                         a 'reason' argument and emits that reason along with the
8339                         state-changed signal
8340                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8341                 - (nm_vpn_connection_ip4_config_get): save banner for later
8342                 - (nm_vpn_connection_get_banner, get_property,
8343                    nm_vpn_connection_class_init): implement Banner property
8344
8345         * src/vpn-manager/nm-vpn-service.c
8346                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8347                         connection list because elements may get added/removed from it
8348                         while iterating over the list
8349                 - (connection_state_changed): signal now includes the 'reason' argument
8350
8351         * libnm-glib/nm-vpn-connection.c
8352           libnm-glib/nm-vpn-connection.h
8353                 - (nm_vpn_connection_get_banner): new function
8354                 - (state_changed_proxy): handle reason argument
8355
8356 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8357
8358         * src/nm-manager.c:
8359         * src/nm-manager.h:
8360         Implement device activation through NMManager.
8361         Implement "pending device activation" here - If the connection isn't found,
8362         we try to wait for up to 5 seconds for the connection to be provided.
8363         Add NMConnectionType argument to "connection-added" and "connection-removed"
8364         signals.
8365         (nm_manager_get): Remove. Finally.
8366
8367         * src/nm-activation-request.c: 
8368         * src/nm-activation-request.h: 
8369         Remove all the deferred activation code.
8370
8371         * src/nm-device.c: Remove all the deferred activation code. Once the device
8372         activation is started, it's started. Update the activation virtual function
8373         signature.
8374
8375         * src/nm-device-interface.c:
8376         * src/nm-device-interface.h:
8377         Device activation now takes only NMActRequest argument.
8378         Don't expose device activation directly on dbus, it's supposed to go through
8379         NMManager now.
8380
8381         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8382         a bit more compact.
8383         Use the new device activation methods through NMManager.
8384
8385         * introspection/nm-manager-client.xml: 
8386         * introspection/nm-manager.xml: 
8387         * libnm-glib/nm-client.c:
8388         * libnm-glib/nm-client.h:
8389         Add device activation method.
8390         
8391         * libnm-glib/nm-device.c: 
8392         * libnm-glib/nm-device.h: 
8393         * introspection/nm-device.xml: 
8394         Remove device activation method. It's done through NMManager now.
8395
8396         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8397         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8398
8399 2007-09-28  Dan Williams  <dcbw@redhat.com>
8400
8401         * libnm-glib/nm-vpn-connection.c
8402                 - (nm_vpn_connection_get_state): try to update state if the current
8403                         state is UNKNOWN
8404
8405 2007-09-27  Dan Williams  <dcbw@redhat.com>
8406
8407         Patch from Bill Nottingham
8408
8409         * src/supplicant-manager/nm-supplicant-config.c
8410                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8411                         data to the supplicant
8412
8413 2007-09-27  Dan Williams  <dcbw@redhat.com>
8414
8415         * src/NetworkManagerSystem.c
8416                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8417                         and all address manipulation here should be happening on the
8418                         _VPN_ device, not the active device
8419
8420 2007-09-26  Dan Williams  <dcbw@redhat.com>
8421
8422         * src/nm-manager.c
8423           src/nm-manager.h
8424           src/nm-activation-request.c
8425           src/nm-activation-request.h
8426                 - Move the GetSecrets stuff out of the NMManager instance because it
8427                         doesn't really need to be there and complicates things
8428
8429         * src/nm-device.c
8430                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8431                         connection-secrets-failed signal and deactivate the device if
8432                         the GetSecrets call fails
8433
8434         * src/nm-device-802-11-wireless.c
8435                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8436                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8437                         secrets and give correct hints about whether new secrets should be
8438                         asked for by the client or not
8439
8440 2007-09-26  Dan Williams  <dcbw@redhat.com>
8441
8442         * src/vpn-manager/nm-vpn-connection.c
8443                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8444                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8445                         to the secrets-updated signal of the NMConnection since updating
8446                         the secrets is done within the scope of the NMVPNConnection object
8447                         already
8448                 - (get_connection_secrets): fix an uninialized variable usage error
8449
8450 2007-09-26  Dan Williams  <dcbw@redhat.com>
8451
8452         * libnm-util/nm-setting.c
8453                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8454                         actually get updated when the user enters them
8455
8456 2007-09-26  Dan Williams  <dcbw@redhat.com>
8457
8458         * libnm-glib/nm-vpn-plugin.c
8459                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8460
8461 2007-09-26  Dan Williams  <dcbw@redhat.com>
8462
8463         * include/NetworkManagerVPN.h
8464                 - Add a NEED_AUTH state
8465
8466         * src/vpn-manager/nm-vpn-connection.c
8467                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8468                         the connection needs secrets, and if so, then ask the settings
8469                         service to fill in the secrets.  Then start the connection.
8470
8471 2007-09-26  Dan Williams  <dcbw@redhat.com>
8472
8473         * src/vpn-manager/nm-vpn-manager.c
8474                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8475
8476 2007-09-26  Dan Williams  <dcbw@redhat.com>
8477
8478         * introspection/nm-vpn-plugin.xml
8479           libnm-glib/nm-vpn-plugin.c
8480           libnm-glib/nm-vpn-plugin.h
8481                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8482                         the name of the NMSetting in an NMConnection that may require
8483                         secrets specific to that VPN plugin
8484
8485 2007-09-26  Dan Williams  <dcbw@redhat.com>
8486
8487         * src/nm-manager.c
8488           src/nm-manager.h
8489                 - (nm_manager_get_connection_secrets): make static, unused outside
8490                         the file
8491                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8492
8493 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8494
8495         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8496         method.
8497         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8498         unreference the connection.
8499
8500         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8501         passing properties hash and routes string list, pass NMConnection (in hashed form).
8502
8503         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8504         as GSList, no need to copy stuff around anymore.
8505         (nm_vpn_connection_activate): Update the plugin activation method.
8506
8507         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8508         routes argument to GSList.
8509
8510 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8511
8512         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8513         state and try to get the secrets.
8514
8515         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8516         connections from NMManager and let the device to choose the best from the list.
8517         Since the connection list is sorted by system ones first and user ones later,
8518         the devices still prefer system connections like they did before.
8519         (deactivate_old_device): Implement. When a device starts activation, we have a
8520         policy (for now at least) to deactivate any other device that might be either
8521         active or still activating.
8522
8523         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8524         It's set on construction, there will be no other way to access it.
8525
8526         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8527         device events and drive the device, not the other way around.
8528
8529         * src/nm-device-802-3-ethernet.c: Ditto.
8530
8531         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8532         sent along, pass it on to virtual functions.
8533
8534         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8535         for now, but should really be public instead of nm_device_get_iface() since iface
8536         is a property of the DeviceInterface, not Device.
8537         (impl_device_activate): Don't touch NMManager!
8538
8539 2007-09-26  Jürg Billeter  <j@bitron.ch>
8540
8541         * initscript/paldo/NetworkManager.in:
8542         * initscript/paldo/NetworkManagerDispatcher.in:
8543         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8544         (nm_system_flush_loopback_routes): update paldo backend
8545
8546 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8547
8548         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8549         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8550         which means none of the devices get brought down properly, which in turn leaves
8551         DHCP client running.
8552
8553         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8554         (supplicant_connection_timeout_cb): Ditto.
8555
8556 2007-09-25  Dan Williams  <dcbw@redhat.com>
8557
8558         * src/nm-device.c
8559                 - (device_activation_go): small hack to work around race when
8560                         activating deferred connections; should solve this in a better way
8561
8562 2007-09-25  Dan Williams  <dcbw@redhat.com>
8563
8564         * introspection/nm-device.xml
8565           libnm-glib/nm-device.c
8566           libnm-glib/nm-device.h
8567                 - Add 'Carrier' property to exported NMDevice objects
8568
8569         * src/nm-device-interface.h
8570           src/nm-device-interface.c
8571           src/nm-device.c
8572                 - Add a 'carrier' property to internal NMDevice objects
8573
8574 2007-09-25  Dan Williams  <dcbw@redhat.com>
8575
8576         * src/nm-device-802-11-wireless.c
8577                 - (ap_auth_enforced): also return the encryption status of the AP so
8578                         that callers can differentiate easily between unencrypted APs
8579                         and encrypted ones, in addition to whether the AP has an
8580                         authenticator
8581                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8582                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8583                         previously would request secrets from unencrypted APs at times
8584
8585 2007-09-25  Dan Williams  <dcbw@redhat.com>
8586
8587         * src/nm-manager.c
8588                 - (nm_manager_update_state): new function; updates state and emits
8589                         appropriate signals ensuring a state-change signal for the same state
8590                         never gets emitted twice in a row.
8591                 - (manager_device_state_changed): handle more device state to get a
8592                         better picture of the overall NM state
8593
8594 2007-09-25  Dan Williams  <dcbw@redhat.com>
8595
8596         * libnm-glib/nm-settings.c
8597           libnm-glib/nm-settings.h
8598                 - (new_error -> nm_settings_new_error): make public so that subclasses
8599                         can use the same error domain.  Also pass a valid error code to
8600                         g_error_new_literal() so that libdbus doesn't assert when converting
8601                         the GError into a DBusError
8602                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8603                    impl_connection_settings_get_settings,
8604                    impl_connection_settings_get_secrets): use new error creator
8605                         function
8606
8607 2007-09-25  Dan Williams  <dcbw@redhat.com>
8608
8609         * src/NetworkManager.c
8610                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8611
8612 2007-09-25  Dan Williams  <dcbw@redhat.com>
8613
8614         * src/supplicant-manager/nm-supplicant-manager.c
8615                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8616                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8617                    nm_supplicant_manager_startup): when the supplicant isn't running,
8618                         try to start it periodically via system bus activation.  Fixes
8619                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8620                         for the supplicant to come back
8621
8622 2007-09-25  Dan Williams  <dcbw@redhat.com>
8623
8624         Ensure that old activation requests are forgotten about; previously
8625         hitting Cancel in the password dialog would deactivate whatever device
8626         that password was requested for, even if that wasn't the currently
8627         activating connection.
8628
8629         * src/nm-manager.c
8630           src/nm-manager.h
8631                 - (nm_manager_get_connection_secrets): track the pending call
8632                         object so it can be canceled later if needed
8633                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8634                         GetSecrets call for a particular connection
8635
8636         * src/nm-activation-request.c
8637                 - (dispose): cancel any outstanding GetSecrets calls on the
8638                         connection
8639
8640 2007-09-25  Dan Williams  <dcbw@redhat.com>
8641
8642         * src/NetworkManagerPolicy.c
8643                 - (nm_policy_device_change_check): handle devices that have a
8644                         deferred activation.  These devices are not really active _yet_,
8645                         but need to be treated as such here.  Don't interrupt them
8646                         automatically.
8647
8648         * src/nm-device-interface.c
8649                 - (impl_device_activate): handle devices that have a deferred activation
8650                         like activating or active devices.  When multiple active devices
8651                         get committed, the device shouldn't be deactivated until the
8652                         connection details are available to avoid DoS and such.  Currently,
8653                         any active, activating, or deferred activation device is deactivated
8654                         here before starting the new activation request.
8655
8656 2007-09-25  Dan Williams  <dcbw@redhat.com>
8657
8658         Properly re-query secrets from the settings daemon when stuff fails.
8659
8660         * src/nm-device-802-11-wireless.c
8661                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8662                         between Shared Key and Open System auth modes
8663                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8664                    real_act_stage4_ip_config_timeout): clear existing secrets and
8665                         request new ones when something fails due to a suspected wrong key
8666                 - (real_act_stage2_config): fix for new request_new argument to
8667                         nm_manager_get_connection_secrets()
8668
8669         * src/nm-manager.c
8670           src/nm-manager.h
8671                 - (nm_manager_get_connection_secrets): return error status; pass
8672                         new request_new argument on to the settings daemon
8673
8674         * introspection/nm-settings-connection.xml
8675                 - New 'request_new' argument to the GetSecrets call that hints to the
8676                         settings daemon to ask the user for completely new secrets
8677
8678         * libnm-glib/nm-settings.c
8679           libnm-glib/nm-settings.h
8680                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8681                         argument
8682
8683 2007-09-25  Dan Williams  <dcbw@redhat.com>
8684
8685         * libnm-util/nm-connection.c
8686           libnm-util/nm-connection.h
8687                 - (nm_connection_clear_secrets): new function; clear secrets out of
8688                         each NMSetting in an NMConnection
8689
8690         * libnm-util/nm-setting.h
8691           libnm-util/nm-setting.c
8692                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8693                         secrets out of an NMSetting
8694                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8695                    nm_setting_wired_new, nm_setting_wireless_new,
8696                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8697                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8698                         to default handler default_setting_clear_secrets()
8699
8700 2007-09-25  Dan Williams  <dcbw@redhat.com>
8701
8702         * src/nm-activation-request.c
8703           src/nm-activation-request.h
8704                 - (nm_act_request_is_deferred): new function
8705
8706 2007-09-24  Dan Williams  <dcbw@redhat.com>
8707
8708         * src/nm-device-802-11-wireless.c
8709                 - (activation_success_handler): update signal strength immediately
8710                         after activation
8711
8712 2007-09-24  Dan Williams  <dcbw@redhat.com>
8713
8714         * libnm-util/nm-setting.c
8715                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8716
8717 2007-09-24  Dan Williams  <dcbw@redhat.com>
8718
8719         * src/NetworkManagerPolicy.c
8720                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8721                         device by deactivating it because it doesn't have a "best connection".
8722                         Since autoconnect=False connections aren't automatically chosen,
8723                         NM would interrupt activation of such a connection because it
8724                         would never be "best" due to autoconnect=False.
8725
8726 2007-09-24  Dan Williams  <dcbw@redhat.com>
8727
8728         * src/nm-manager.c
8729                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8730                         actually has some time to enter a key before the GetSecrets call
8731                         times out
8732
8733 2007-09-24  Dan Williams  <dcbw@redhat.com>
8734
8735         * introspection/nm-manager.xml
8736           src/nm-manager.c
8737                 - (impl_manager_legacy_state): fix 'state' method call return value
8738
8739 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8740
8741         * test/Makefile.am: Install nm-tool
8742
8743 2007-09-24  Dan Williams  <dcbw@redhat.com>
8744
8745         Patch from Ross Burton <ross@burtonini.com>
8746
8747         * test/nm-tool.c
8748           callouts/nm-dhcp-client-action.c
8749           src/nm-netlink.c
8750           src/vpn-manager/nm-vpn-connection.c
8751           libnm-glib/libnm-glib-test.c
8752                 - warning fixes
8753
8754 2007-09-24  Dan Williams  <dcbw@redhat.com>
8755
8756         * libnm-util/nm-utils.h
8757           libnm-util/nm-utils.c
8758                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8759                         remove, unused
8760
8761 2007-09-23  Dan Williams  <dcbw@redhat.com>
8762
8763         * vpn-daemons/vpnc/properties/nm-vpnc.c
8764                 - Update for new VPN properties API bits; instead of passing around
8765                         a lot of random things, everything goes into the NMConnection
8766                         object.
8767
8768 2007-09-23  Dan Williams  <dcbw@redhat.com>
8769
8770         * libnm-util/nm-setting.c
8771                 - Correctly dispose of settings objects if creating them from a hash
8772                         table fails
8773
8774 2007-09-23  Dan Williams  <dcbw@redhat.com>
8775
8776         * libnm-util/nm-setting.c
8777                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8778                         the hash table in a standard manner.  Clients of libnm-util should
8779                         only call g_hash_table_remove_all(), never destroy the hash table
8780                         and recreate it.
8781
8782 2007-09-22  Dan Williams  <dcbw@redhat.com>
8783
8784         * src/nm-device-802-11-wireless.c
8785                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8786                         real reason to do it so often, and reduces wakeups for clients.
8787
8788 2007-09-21  Dan Williams  <dcbw@redhat.com>
8789
8790         * src/nm-device-802-11-wireless.c
8791                 - (build_supplicant_config): wpa_supplicant requires the option
8792                         key_mgmt=NONE for unencrypted networks
8793                 - (real_act_stage2_config): clarify log message on activation
8794
8795 2007-09-21  Dan Williams  <dcbw@redhat.com>
8796
8797         * test/nm-supplicant-test.c
8798           test/Makefile.am
8799                 - Remove supplicant test binary; no longer applicable
8800
8801 2007-09-21  Dan Williams  <dcbw@redhat.com>
8802
8803         * src/supplicant-manager/nm-supplicant-manager.c
8804                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8805                         activate it on the system bus
8806
8807 2007-09-20  Dan Williams  <dcbw@redhat.com>
8808
8809         * initscript/RedHat/NetworkManager.in
8810                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8811
8812 2007-09-20  Dan Williams  <dcbw@redhat.com>
8813
8814         * src/nm-device.c
8815                 - (nm_device_is_activating): work around a race between auto-activation
8816                         and the user activating the same device that is being auto-activated
8817
8818 2007-09-20  Dan Williams  <dcbw@redhat.com>
8819
8820         * src/nm-device-interface.c
8821                 - (impl_device_activate): until multiple active device support lands,
8822                         ensure only one device can be active at a time
8823
8824 2007-09-20  Dan Williams  <dcbw@redhat.com>
8825
8826         * src/supplicant-manager/nm-supplicant-config.c
8827           src/supplicant-manager/nm-supplicant-config.h
8828                 - (nm_supplicant_config_add_option): hide secrets from system logs
8829
8830 2007-09-20  Dan Williams  <dcbw@redhat.com>
8831
8832         * src/NetworkManagerPolicy.c
8833                 - (nm_policy_device_change_check): re-enable the wireless device change
8834                         checking code; insted of checking for SSIDs, check for the same
8835                         connection instead
8836
8837 2007-09-20  Dan Williams  <dcbw@redhat.com>
8838
8839         * src/nm-device-802-11-wireless.c
8840                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8841                         composite link state when determining when to start the disconnection
8842                         timer; that link state is already based on the supplicant interface's
8843                         status which is exactly what's already being examined, plus the link
8844                         state is a conglomeration of various things that we don't want here
8845
8846 2007-09-20  Dan Williams  <dcbw@redhat.com>
8847
8848         * libnm-glib/nm-access-point.c
8849                 - (handle_property_changed): strength is a UCHAR
8850
8851 2007-09-20  Dan Williams  <dcbw@redhat.com>
8852
8853         * src/supplicant-manager/nm-supplicant-config.c
8854                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8855                         string list keywords too since that's what wpa_supplicant wants
8856
8857 2007-09-20  Dan Williams  <dcbw@redhat.com>
8858
8859         * libnm-util/nm-setting.c
8860                 - (convert_strv_to_slist): dupe the values in the list because since
8861                         the list is a boxed value, it'll get destroyed when it's container
8862                         (like a hash table or whatever) gets destroyed
8863
8864 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8865
8866         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8867         GSList.
8868
8869         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8870
8871         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8872         just use (g_object_set_data_full).
8873
8874         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8875         that NMSettingVPN->routes is a GSList, convert it to char **.
8876         (nm_vpn_connection_ip4_config_get): Free routes when done.
8877         (nm_vpn_connection_activate): Ditto.
8878
8879         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8880         (real_act_stage2_config): Use defined setting names.
8881
8882 2007-09-20  Dan Williams  <dcbw@redhat.com>
8883
8884         * src/nm-device-802-11-wireless.c
8885           src/nm-manager.c
8886           src/nm-manager.h
8887                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8888                         so that the device can be deactivated if secrets are wrong
8889
8890 2007-09-20  Dan Williams  <dcbw@redhat.com>
8891
8892         * introspection/nm-settings-connection.xml
8893           libnm-glib/nm-settings.c
8894           libnm-glib/nm-settings.h
8895                 - Make GetSecrets asynchronous on the server side
8896
8897 2007-09-20  Dan Williams  <dcbw@redhat.com>
8898
8899         * src/nm-manager.h
8900           src/nm-device.c
8901                 - (nm_device_activate): actually check if a given connection
8902                         exists before assuming it doesn't
8903
8904 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8905
8906         * libnm-util/nm-connection.c (register_default_creators): Use defined
8907         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8908
8909         * libnm-util/nm-setting.c: Define property name strings, use them.
8910         Implement NMSettingVPN and NMSettingVPNProperties settings.
8911         Implement NM_S_TYPE_GVALUE_HASH.
8912         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8913         (setting_connection_verify): Rename 'devtype' property to 'type'.
8914
8915         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8916         properties.
8917
8918         * src/vpn-manager/nm-vpn-service.c: Ditto.
8919
8920         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8921
8922         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8923         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8924
8925         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8926         names. NMSettingConnection->devtype got renamed to 'type'.
8927
8928         * src/nm-device-802-3-ethernet.c (find_best_connection):
8929         (real_get_best_connection): Ditto.
8930
8931         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8932
8933         * libnm-glib/nm-vpn-manager.[ch]: Update.
8934
8935 2007-09-19  Dan Williams  <dcbw@redhat.com>
8936
8937         * src/NetworkManagerAP.c
8938           src/NetworkManagerAP.h
8939           introspection/nm-access-point.xml
8940                 - Change strength-changed signal into a properties-changed signal
8941                         for all properties, not just strength.  Export that signal over dbus
8942                         so listeners don't have to poll NM for changes.
8943                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8944                         get exported over D-Bus, so break up the logic and let other bits
8945                         decided when to export the AP
8946                 - (nm_ap_new_from_ap): remove, unused
8947
8948         * src/nm-device-802-11-wireless.c
8949                 - (merge_scanned_ap): only export APs that are actually on the device
8950                         list, not every AP created internally
8951
8952         * libnm-glib/nm-access-point.c
8953           libnm-glib/nm-access-point.h
8954                 - Cache properties internally and only hit DBus when needed.  Get
8955                         property updates from NM signals
8956
8957 2007-09-16  Dan Williams  <dcbw@redhat.com>
8958
8959         * libnm-util/nm-connection.c
8960           libnm-util/nm-connection.h
8961                 - (nm_connection_for_each_setting_value): new function; iterate over
8962                         each setting's value and call a user-provided function with details
8963                         about that value
8964
8965         * libnm-util/nm-setting.c
8966           libnm-util/nm-setting.h
8967                 - (nm_setting_enumerate_values): new function; enumerate the values
8968                         of a specific NMSetting subclass for a user-provided function with
8969                         details about that value
8970                 - Change wep_tx_keyidx to a uint32
8971                 - Create settings value tables for each setting defining their type,
8972                         key name, offset into the NMSetting subclass' structure, and whether
8973                         they are required and/or a secret
8974                 - (nm_setting_populate_from_hash): generic function to populate an
8975                         NMSetting from a GHash table, make all settings use it
8976                 - (nm_setting_hash): generic function to derive a GHashTable from
8977                         an NMSetting object, make all settings use it
8978
8979 2007-09-14  Dan Williams  <dcbw@redhat.com>
8980
8981         Remove unused stuff in libnm-util
8982
8983         * configure.in
8984           libnm-util/Makefile.am
8985           libnm-util/cipher-private.h
8986           libnm-util/cipher-wep-ascii.c
8987           libnm-util/cipher-wep-ascii.h
8988           libnm-util/cipher-wep-hex.c
8989           libnm-util/cipher-wep-hex.h
8990           libnm-util/cipher-wep-passphrase.c
8991           libnm-util/cipher-wep-passphrase.h
8992           libnm-util/cipher-wpa-psk-hex.c
8993           libnm-util/cipher-wpa-psk-hex.h
8994           libnm-util/cipher-wpa-psk-passphrase.c
8995           libnm-util/cipher-wpa-psk-passphrase.h
8996           libnm-util/cipher.c
8997           libnm-util/cipher.h
8998           libnm-util/dbus-helpers.c
8999           libnm-util/dbus-helpers.h
9000           libnm-util/gnome-keyring-md5.c
9001           libnm-util/gnome-keyring-md5.h
9002           libnm-util/sha1.c
9003           libnm-util/sha1.h
9004           src/nm-device-802-11-wireless.c
9005           test/libnm-util/Makefile.am
9006           test/libnm-util/test-ciphers.c
9007           test/libnm-util/test-dbus-helpers.c
9008           test/libnm-util/test-inputs.h
9009                 - Removed
9010
9011 2007-09-14  Dan Williams  <dcbw@redhat.com>
9012
9013         * libnm-util/dbus-method-dispatcher.c
9014           libnm-util/dbus-method-dispatcher.h
9015                 - Remove, unused
9016
9017 2007-09-14  Dan Williams  <dcbw@redhat.com>
9018
9019         Implement deferred activation support in the device class.
9020
9021         * src/nm-device-interface.c
9022           src/nm-device-interface.h
9023                 - (nm_device_interface_activate): take more arguments to support
9024                         deferred activation; callers must pass one of (connection) OR
9025                         (service_name, connection_path)
9026                 - (impl_device_activate): connection validation is punted to the device
9027                         to be able to handle deferred activation.  Yes, this means errors
9028                         don't get returned from the Activate() dbus call, and yes, that
9029                         should be fixed somehow later.
9030
9031         * src/nm-device.c
9032           src/nm-device.h
9033                 - (clear_act_request): clear additional deferred activation stuff too
9034                 - (deferred_activation_timeout_cb): new function; clean up when
9035                         deferred activation times out.
9036                 - (deferred_activation_start_cb): new function; when the connection
9037                         finally becomes available, start device activation
9038                 - (nm_device_activate): attach to the right signals of the activation
9039                         request if we need to defer activation until the connection is valid
9040
9041         * src/NetworkManagerPolicy.c
9042                 - (nm_policy_device_change_check): update for additional arguments
9043                         required for nm_device_interface_activate().  Pass NULL for these
9044                         though because this function already knows exactly which
9045                         NMConnection to use
9046
9047 2007-09-14  Dan Williams  <dcbw@redhat.com>
9048
9049         Implement deferred activation handling in the NMActRequest class.  When a
9050         client wants to activate a device but must create the NMConnection details
9051         on the fly, there likely hasn't been enough time yet for NM to receive the
9052         new connection signal and grab all the connection details.  So the
9053         activation is deferred (and bounded by a timer) for a while, and if the
9054         connection appears within the window, it is activated.
9055
9056         * src/nm-activation-request.c
9057           src/nm-activation-request.h
9058                 - (nm_act_request_class_init): two new signals to support deferred
9059                         activation, to allow the listener to handle both timeout and success
9060                 - (nm_act_request_new_deferred): new function, starts the deferred
9061                         activation timeout handler and listens to the NMManager for
9062                         new-connection signals to notice when the connection comes in
9063
9064 2007-09-14  Dan Williams  <dcbw@redhat.com>
9065
9066         * src/nm-manager.h
9067           src/nm-manager.c
9068                 - (nm_manager_get_connection_service_name,
9069                    nm_manager_get_connection_dbus_path): get details about a connection
9070                         known internally by the NMManager
9071                 - (nm_manager_class_init): fix connection add/remove signal marshalers
9072                         because NMConnection is now a GObject subclass
9073                 - Use constant for the gobject data tag used on NMConnection objects for
9074                         storing the associated DBusGProxy
9075
9076 2007-09-14  Dan Williams  <dcbw@redhat.com>
9077
9078         * utils/Makefile.am
9079           utils/nm-utils.c
9080           utils/nm-utils.h
9081           src/supplicant-manager/Makefile.am
9082           src/dhcp-manager/Makefile.am
9083           src/backends/Makefile.am
9084           src/named-manager/Makefile.am
9085           src/ppp-manager/Makefile.am
9086           src/vpn-manager/Makefile.am
9087           test/libnm-util/Makefile.am
9088           test/test-common/Makefile.am
9089                 - Remove utils/; it was unused
9090
9091 2007-09-13  Dan Williams  <dcbw@redhat.com>
9092
9093         * libnm-glib/nm-vpn-manager.h
9094           libnm-glib/nm-vpn-manager.c
9095                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9096
9097 2007-09-13  Dan Williams  <dcbw@redhat.com>
9098
9099         * src/nm-device-802-3-ethernet.c
9100                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9101                         netlink monitor carrier signals on dispose, not bring down.  The
9102                         carrier signals should be handled over the entire lifetime of the
9103                         device anyway, not created/destroyed on up or down.
9104
9105 2007-09-13  Dan Williams  <dcbw@redhat.com>
9106
9107         * libnm-glib/nm-device.c
9108           libnm-glib/nm-device.h
9109                 - (nm_device_activate): take a connection object path rather than an
9110                         NMConnection because NMConnection isn't exported over D-Bus and
9111                         therefore it dbus-glib can't automatically get an object path from it
9112
9113 2007-09-13  Dan Williams  <dcbw@redhat.com>
9114
9115         * libnm-util/nm-setting.c
9116                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9117
9118 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9119
9120         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9121
9122 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9123
9124         * src/vpn-manager/nm-vpn-connection.[ch]: 
9125         * src/vpn-manager/nm-vpn-manager.[ch]:
9126         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9127         dbus-glib, GObjects, signals etc.
9128
9129         * libnm-glib/nm-vpn-manager.[ch]: 
9130         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9131         so much, rewrite these too.
9132
9133         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9134         the new introspection files.
9135
9136         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9137
9138         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9139         the header with the same name from libnm-utils.
9140
9141         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9142
9143         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9144
9145         * introspection/nm-vpn-plugin.xml: Implement.
9146
9147         * introspection/nm-vpn-connection.xml: Implement.
9148
9149         * introspection/nm-vpn-manager.xml: Implement.
9150
9151         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9152         the named manager argument, it can just as easily get it as the caller.
9153         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9154
9155         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9156
9157         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9158
9159         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9160         libnm-utils.
9161
9162         * libnm-util/nm-connection.c: Ditto.
9163
9164         * src/NetworkManagerMain.h: Remove, it's finally empty.
9165
9166         * configure.in: Remove utils/ from build.
9167
9168         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9169         of hard-coded strings.
9170
9171         * utils/: Move it over to libnm-util.
9172
9173         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9174
9175         * dispatcher-daemon/Makefile.am: Ditto.
9176
9177         * src/Makefile.am: Ditto.
9178
9179 2007-09-12  Dan Williams  <dcbw@redhat.com>
9180
9181         Wireless connections can be made with config data from the applet now.
9182         
9183         Yay.
9184
9185         * src/supplicant-manager/nm-supplicant-config.h
9186           src/supplicant-manager/nm-supplicant-config.c
9187                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9188                 - (nm_supplicant_config_add_setting_wireless,
9189                    nm_supplicant_config_add_setting_wireless_security): new functions;
9190                         add key/value pairs from the settings objects to the supplicant
9191                         config
9192
9193         * src/nm-device-802-11-wireless.c
9194                 - (cull_scan_list): fix check to not prune currently associated AP
9195                 - (build_supplicant_config, real_act_stage2_config): call the functions
9196                         of the NMSupplicantConfig that parse settings objects rather than
9197                         doing it manually here
9198
9199 2007-09-12  Dan Williams  <dcbw@redhat.com>
9200
9201         * src/supplicant-manager/nm-supplicant-interface.c
9202           src/supplicant-manager/nm-supplicant-marshal.list
9203                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9204                         "connection-error" signal arguments should be STRING not CHAR
9205
9206 2007-09-12  Dan Williams  <dcbw@redhat.com>
9207
9208         * src/NetworkManagerUtils.c
9209           src/NetworkManagerUtils.h
9210                 - (nm_utils_hexstr2bin): new function
9211
9212 2007-09-11  Dan Williams  <dcbw@redhat.com>
9213
9214         * src/nm-manager.c
9215                 - (connection_get_settings_cb): emit connection-added signal
9216                 - (connection_removed_cb): uncomment bits for system settings service,
9217                         send connection-removed when appropriate
9218                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9219                         the stack by trying to g_object_set_data() on something that's
9220                         not a GObject; handle case where settings service returns
9221                         empty settings hash table
9222
9223 2007-09-11  Dan Williams  <dcbw@redhat.com>
9224
9225         * src/NetworkManagerPolicy.c
9226                 - (connection_added, connection_removed): trigger device change checks
9227                         on connection changes
9228
9229 2007-09-11  Dan Williams  <dcbw@redhat.com>
9230
9231         * src/nm-activation-request.c
9232                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9233
9234 2007-09-11  Dan Williams  <dcbw@redhat.com>
9235
9236         * src/nm-device-802-11-wireless.c
9237                 - (real_connection_secrets_updated): fix erroneous check
9238
9239 2007-09-11  Dan Williams  <dcbw@redhat.com>
9240
9241         * introspection/nm-device.xml
9242           libnm-glib/nm-device.c
9243           libnm-glib/nm-device.c
9244                 - Fix Activate call argument borkage; Activate takes 3 arguments
9245
9246 2007-09-11  Dan Williams  <dcbw@redhat.com>
9247
9248         * libnm-glib/nm-access-point.c
9249           libnm-glib/nm-access-point.c
9250                 - (nm_access_point_get_frequency): now returns guint32 to match
9251                         property change on 2007-09-10
9252
9253 2007-09-11  Dan Williams  <dcbw@redhat.com>
9254
9255         * src/nm-device-802-11-wireless.c
9256                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9257                         somewhere defines 'index' and I missed this one when I fixed the
9258                         shadow declaration errors earlier
9259
9260 2007-09-11  Dan Williams  <dcbw@redhat.com>
9261
9262         * libnm-util/nm-connection.c
9263                 - (nm_connection_update_secrets, need_secrets_check): move
9264                         802-11-wireless-security need_secrets checks to the setting object
9265                         itself, where it belongs
9266
9267         * libnm-util/nm-setting.c
9268           libnm-util/nm-setting.h
9269                 - (nm_setting_need_secrets): new function
9270                 - (setting_wireless_security_verify,
9271                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9272                 - (setting_wireless_security_need_secrets): mostly copy code over
9273                         from nm-connection.c
9274
9275 2007-09-11  Dan Williams  <dcbw@redhat.com>
9276
9277         * libnm-util/nm-setting.c
9278           libnm-util/nm-setting.h
9279                 - (nm_setting_update_secrets): new function; add a virtual function that
9280                         subclasses can implement to update their secrets
9281                 - (setting_wireless_security_update_secrets): implement that function
9282                         for the 802-11-wireless-security subclass
9283
9284         * libnm-util/nm-connection.c
9285           libnm-util/nm-connection.h
9286                 - (nm_connection_update_secrets): update secrets for a Setting and
9287                         emit a signal on success
9288
9289         * src/nm-manager.c
9290           src/nm-manager.h
9291           src/nm-marshal.list
9292                 - (connection_get_settings_cb): enable system settings bits
9293                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9294                         to request secrets from the settings dbus service and to
9295                         push those secrets to the NMConnection itself
9296
9297         * src/nm-activation-request.c
9298           src/nm-activation-request.h
9299                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9300                         currently being activated, and proxy that signal to other listeners.
9301                         Goes through the activation request because the activation request
9302                         is the thing that manages the lifetime of the NMConnection that's
9303                         being activated.
9304
9305         * src/nm-device-802-11-wireless.c
9306                 - (real_connection_secrets_updated): implement the connection secrets
9307                         updated notification and restart activation when secrets are
9308                         received
9309                 - (real_act_stage2_config): request secrets from the settings dbus
9310                         service if secrets are needed
9311
9312         * src/nm-device.c
9313           src/nm-device.h
9314                 - (clear_act_request, nm_device_activation_cancel,
9315                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9316                         where the activation request is cleared
9317                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9318                         updated secrets signal of activation request and add a function
9319                         that subclasses can override to handle it easily
9320
9321 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9322
9323         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9324         removal of NetworkManagerAPList.
9325
9326 2007-09-10  Dan Williams  <dcbw@redhat.com>
9327
9328         * src/NetworkManagerAP.c
9329           src/NetworkManagerAP.h
9330           introspection/nm-access-point.xml
9331                 - Change 'freq' property to a guint32 instead of a double since we
9332                         weren't using the floating point bits anyway
9333
9334 2007-09-10  Dan Williams  <dcbw@redhat.com>
9335
9336         * NetworkManagerAP.c
9337           NetworkManagerAP.h
9338           NetworkManagerPolicy.c
9339           NetworkManagerSystem.c
9340           NetworkManagerUtils.c
9341           NetworkManagerUtils.h
9342           nm-device-802-11-wireless.c
9343           nm-device-802-3-ethernet.c
9344           nm-hal-manager.c
9345           nm-manager.c
9346           vpn-manager/nm-dbus-vpn.c
9347                 - Warning fixes; casts and removal of unused variables
9348
9349 2007-09-10  Dan Williams  <dcbw@redhat.com>
9350
9351         * include/NetworkManager.h
9352                 - Kill NMNetworkType; AP types don't matter any more
9353
9354         * src/NetworkManagerAPList.c
9355           src/NetworkManagerAPList.h
9356           src/Makefile.am
9357                 - Kill; NMAccessPointList has outlived it's usefulness
9358
9359         * src/NetworkManagerAP.c
9360           src/NetworkManagerAP.h
9361                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9362                         functions; check if an NMConnection object is compatible with the
9363                         settings of this AP
9364                 - (freq_to_channel, channel_to_freq): utility functions for
9365                         channel <-> frequency conversion
9366
9367         * src/nm-device.c
9368           src/nm-device.h
9369                 - (nm_device_get_best_connection): pass the specific object around
9370                          (which might be the object path of a specific AP to connect to).
9371                          The get_best_connection() call should populate this on return
9372                          if needed (wireless does).
9373
9374         * src/nm-device-802-3-ethernet.c
9375                 - (real_get_best_connection): handle specific_object argument
9376
9377         * src/NetworkManager.c
9378           src/NetworkManagerMain.h
9379                 - Remove unused includes
9380
9381         * src/nm-device-802-11-wireless.c
9382           src/nm-device-802-11-wireless.h
9383                 - Convert the ap_list into a GSList from an NMAccessPointList
9384                 - No need for caching the 'activation_ap' since this is now determined
9385                         from the specific_object of the activation request, which is
9386                         populated from the get_best_connection() call or from a user request
9387                 - (nm_device_802_11_wireless_update_bssid): fix warning
9388                 - (get_wireless_capabilities): fix error message format arguments
9389                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9390                 - (find_best_connection, real_get_best_connection): implement
9391                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9392                         move here from NetworkManagerAPList
9393                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9394                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9395                         already verified earlier
9396                 - (real_act_stage2_config): use nm_connection_need_secrets()
9397
9398         * src/NetworkManagerPolicy.c
9399                 - (nm_policy_auto_get_best_device): handle specific objects
9400                 - (create_connection): remove; automatic connection creation functionality
9401                         is handled by the Connection objects
9402                 - (nm_policy_device_change_check): handle specific_object
9403
9404         * libnm-util/nm-connection.c
9405                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9406
9407 2007-09-10  Dan Williams  <dcbw@redhat.com>
9408
9409         * src/nm-manager.c
9410                 - (query_connections): fix uninitialized variable problem that caused
9411                         segfault
9412                 - (nm_manager_add_device): take devices down on startup so that we can
9413                         be assured that nm_device_is_up() won't short-circuit the init
9414                         process.  Hack until the is_up check gets split into two pieces
9415                         that aren't behaviorally confusing.
9416
9417 2007-09-09  Dan Williams  <dcbw@redhat.com>
9418
9419         * introspection/nm-device.xml
9420                 - The 'Activate' method now takes 3 arguments, a service name for the
9421                 settings service (user or system), the object path of the connection
9422                 to activate, and the specific object to activate, if any
9423
9424         * src/nm-device-interface.c
9425                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9426                 Add error bits
9427                 - (impl_device_activate): adapt to new Activate arguments; validate
9428                 the service name and get the Connection object from the NMManager
9429                 before starting to activate the device with the specified connection
9430
9431         * src/nm-device-802-3-ethernet.c
9432                 - (real_get_best_connection): find the best connection, or create a
9433                 default one if no existing connections can be used
9434
9435         * src/NetworkManagerPolicy.c
9436                 - (nm_policy_auto_get_best_device): Get the device's best connection
9437                 and only pick the device if it has one
9438                 - (nm_policy_device_change_check): disable wireless bits for now until
9439                 wireless get_best_connection() can be implemented (replacing "best_ap");
9440                 don't create a default connection here as the device subclass will do
9441                 that if needed
9442
9443         * src/nm-manager.h
9444           src/nm-manager.c
9445                 - (nm_manager_get): make NMManager a singleton and expose the getter
9446                 internally
9447                 - Rework internal NMManager connection handling to use the same
9448                 routines for both the system and user settings services.  Most calls
9449                 take a new NMConnectionType argument specifying either system or user
9450                 connections
9451                 - (nm_manager_get_connection_by_object_path): new function; get a
9452                 connection keyed on its object path
9453
9454         * src/NetworkManager.c
9455                 - (main): use nm_manager_get()
9456
9457 2007-09-09  Dan Williams  <dcbw@redhat.com>
9458
9459         * src/nm-device.h
9460           src/nm-device.c
9461                 - (nm_device_get_best_connection): new function; get best connection
9462                         for the device at that time
9463
9464 2007-09-09  Dan Williams  <dcbw@redhat.com>
9465
9466         * src/nm-device-interface.h
9467                 - Add NMDeviceInterfaceError with an UnknownConnection error
9468
9469 2007-09-09  Dan Williams  <dcbw@redhat.com>
9470
9471         Stupid mistake on my part; object path and interface for settings service
9472         and connection objects can be the same, only the service name must be
9473         different for the system and user settings services.
9474
9475         * include/NetworkManager.h
9476           src/nm-manager.c
9477           introspection/nm-settings-connection.xml
9478           introspection/nm-settings.xml
9479           libnm-glib/nm-settings.c
9480                 - (nm_connection_settings_init, query_user_connections,
9481                    new_connection_cb): Unify NetworkManagerSettings and Connection
9482                    interface name and object path
9483
9484 2007-09-06  Dan Williams  <dcbw@redhat.com>
9485
9486         * libnm-glib/nm-object.c
9487                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9488                    nm_object_get_int_property, nm_object_get_uint_property,
9489                    nm_object_get_boolean_property, nm_object_get_byte_property,
9490                    nm_object_get_double_property, nm_object_get_byte_array_property):
9491                         clear GValues after copying their contents, fixes memory leaks
9492                         after every property access because dbus-glib copies the values
9493                         from the DBusMessage into the GValue already.
9494
9495 2007-09-06  Dan Williams  <dcbw@redhat.com>
9496
9497         * introspection/nm-access-point.xml
9498                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9499                         them to be.  There's some magic property name parsing going on in
9500                         dbus-glib that breaks up property names based on studly-caps and
9501                         puts - between words.
9502
9503         * libnm-glib/nm-access-point.c
9504                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9505                         Fix property names
9506
9507 2007-09-06  Dan Williams  <dcbw@redhat.com>
9508
9509         * src/nm-manager.c
9510                 - (nm_manager_user_connections_destroy): clear the user connections hash
9511                         table, don't destroy it
9512                 - (finalize): only destroy the hash table on NMManager finalization
9513
9514 2007-09-02  Dan Williams  <dcbw@redhat.com>
9515
9516         * include/NetworkManager.h
9517           libnm-glib/nm-settings.c
9518                 - defines for the user settings daemon D-Bus bits
9519
9520         * src/NetworkManager.c
9521                 - Remove stuff that referred to the old NetworkManagerInfo service
9522
9523         * src/vpn-manager/nm-dbus-vpn.h
9524                 - Move old NMI defines to the only place they are used still
9525
9526         * libnm-util/nm-connection.c
9527           libnm-util/nm-connection.h
9528           src/nm-activation-request.c
9529                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9530
9531         * src/nm-manager.c
9532           src/nm-manager.h
9533                 - Get connections and their settings from the user settings daemon
9534                         at the appropriate times
9535
9536 2007-09-02  Dan Williams  <dcbw@redhat.com>
9537
9538         * libnm-util/nm-setting.c
9539                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9540                 - (setting_wireless_hash): set the right value on the item
9541
9542 2007-09-02  Dan Williams  <dcbw@redhat.com>
9543
9544         * test/Makefile.am
9545           test/nminfotest.c
9546                 - Remove, no longer useful
9547
9548 2007-08-30  Dan Williams  <dcbw@redhat.com>
9549
9550         * src/Makefile.am
9551           src/NetworkManagerDbus.c
9552           src/NetworkManagerDbus.h
9553           src/vpn-manager/nm-dbus-vpn.c
9554                 - Remove, no longer necessary.  Move last bits to the only place its
9555                 used, in nm-dbus-vpn.c
9556
9557         * src/NetworkManagerAPList.c
9558           src/nm-device.c
9559           src/NetworkManager.c
9560           src/nm-device-802-11-wireless.c
9561           src/vpn-manager/nm-vpn-manager.c
9562           src/vpn-manager/nm-vpn-service.c
9563           src/NetworkManagerPolicy.c
9564           src/nm-manager.c
9565                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9566                 that was message_is_error()
9567
9568 2007-08-30  Dan Williams  <dcbw@redhat.com>
9569
9570         * libnm-util/sha1.c
9571                 - Include config.h to get defines for endiannes (gnome.org #420216)
9572
9573 2007-08-30  Dan Williams  <dcbw@redhat.com>
9574
9575         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9576
9577         * src/ppp-manager/Makefile.am
9578                 - use -fPIC (gnome.org #471825)
9579
9580 2007-08-29  Dan Williams  <dcbw@redhat.com>
9581
9582         * include/NetworkManager.h
9583                 - Keep NMConnection object path in sync
9584
9585         * libnm-glib/nm-settings.c
9586           libnm-glib/nm-settings.h
9587                 - Break D-Bus object registration out of the init function, because
9588                 every object that's exported over D-Bus needs to use the _same_
9589                 DBusConnection.  Otherwise, each object would get a different object
9590                 path tree and wouldn't be callable.
9591
9592 2007-08-29  Dan Williams  <dcbw@redhat.com>
9593
9594         * libnm-util/nm-setting.h
9595           libnm-util/nm-setting.c
9596           libnm-util/nm-connection.c
9597           src/NetworkManagerPolicy.c
9598                 - 'info' settings object should be 'connection' says the spec
9599                 at NetworkManagerConfigurationSpecification
9600
9601 2007-08-29  Dan Williams  <dcbw@redhat.com>
9602
9603         * libnm-glib/nm-settings.c
9604           libnm-glib/nm-settings.h
9605                 - make the dbus path a property of the object, and autogenerate it.
9606                 It can't be composed of the 'id' field becuase that's not available
9607                 yet during the GObject creation in nm_connection_settings_init()
9608
9609 2007-08-29  Dan Williams  <dcbw@redhat.com>
9610
9611         * introspection/nm-settings-connection.xml
9612           introspection/nm-settings.xml
9613                 - Service name -> NetworkManagerUserSettings because two services
9614                 can't share part of the same path.  I'm not really sure how we'll use
9615                 the same code with the system-settings daemon...
9616
9617 2007-08-28  Dan Williams  <dcbw@redhat.com>
9618
9619         * src/nm-device-interface.c
9620           src/nm-device-interface.h
9621                 - Kill one more bit of NMData
9622
9623 2007-08-28  Dan Williams  <dcbw@redhat.com>
9624
9625         * src/NetworkManagerSystem.h
9626           src/nm-device.c
9627           src/nm-device.h
9628           src/nm-hal-manager.c
9629           src/NetworkManager.c
9630           src/nm-device-802-11-wireless.c
9631           src/nm-hal-manager.h
9632           src/nm-device-802-3-ethernet.c
9633           src/vpn-manager/nm-vpn-service.h
9634           src/vpn-manager/nm-vpn-manager.c
9635           src/vpn-manager/nm-vpn-manager.h
9636           src/vpn-manager/nm-vpn-service.c
9637           src/nm-device-802-11-wireless.h
9638           src/NetworkManagerMain.h
9639           src/nm-device-802-3-ethernet.h
9640           src/backends/NetworkManagerGentoo.c
9641           src/backends/NetworkManagerPaldo.c
9642           src/backends/NetworkManagerFrugalware.c
9643           src/backends/NetworkManagerRedHat.c
9644           src/backends/NetworkManagerSlackware.c
9645           src/backends/NetworkManagerGeneric.c
9646           src/backends/NetworkManagerArch.c
9647           src/backends/NetworkManagerSuSE.c
9648           src/backends/NetworkManagerGeneric.h
9649           src/backends/NetworkManagerDebian.c
9650                 - Kill NMData
9651
9652 2007-08-28  Dan Williams  <dcbw@redhat.com>
9653
9654         * src/NetworkManagerMain.h
9655           src/nm-device-802-11-wireless.c
9656           src/NetworkManager.c
9657                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9658                 for now we should set the 'invalid' property on individual APs, and when
9659                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9660                 that ESS
9661
9662 2007-08-28  Dan Williams  <dcbw@redhat.com>
9663
9664         * src/NetworkManagerAP.c
9665           src/NetworkManagerAP.h
9666                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9667                         'autoconnect' property instead
9668
9669         * src/NetworkManager.c
9670           src/NetworkManagerMain.h
9671           src/NetworkManagerPolicy.c
9672           src/NetworkManagerPolicy.h
9673                 - Remove the 'allowed_ap_list', which should be replaced by 
9674                         NMConnection/NMSettings instead, since _those_ are the allowed
9675                         things that NM can connect to
9676
9677         * src/nm-device-802-11-wireless.c
9678                 - Remove both allowed_ap_list usage and 'fallback' checking
9679
9680 2007-08-28  Dan Williams  <dcbw@redhat.com>
9681
9682         * src/nm-device.c
9683           src/named-manager/nm-named-manager.c
9684           src/named-manager/nm-named-manager.h
9685           src/NetworkManager.c
9686           src/vpn-manager/nm-vpn-manager.c
9687           src/NetworkManagerMain.h
9688           src/NetworkManagerSystem.c
9689                 - Remove the named-manager object from NMData structure in preparation
9690                 for NMData's timely death.  Make the NMNamedManager the singleton that
9691                 it really is
9692
9693 2007-08-28  Dan Williams  <dcbw@redhat.com>
9694
9695         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9696         each AP's capabilities, and by NMConnection/NMSettings objects for user
9697         defined connections.
9698
9699         * include/NetworkManager.h
9700                 - Redefine 802.11 security properties.  There are now device capabilities
9701                         and AP flags and AP security flags.  It was way to unclear before.
9702
9703         * src/Makefile.am
9704           src/nm-ap-security-leap.h
9705           src/nm-ap-security-leap.c
9706           src/nm-ap-security-wpa-eap.c
9707           src/nm-ap-security-wpa-eap.h
9708           src/nm-ap-security-private.h
9709           src/nm-ap-security-wpa-psk.c
9710           src/nm-ap-security-wpa-psk.h
9711           src/nm-ap-security-wep.c
9712           src/nm-ap-security-wep.h
9713           src/nm-ap-security.c
9714           src/nm-ap-security.h
9715                 - Removed, to be replaced with NMConnection/NMSettings objects
9716
9717         * src/nm-dbus-nmi.c
9718           src/nm-dbus-nmi.h
9719                 - Removed, to be replaced by code that talks to the new info daemon
9720                         interface and gets NMConnection/NMSettings objects
9721
9722         * src/backends/NetworkManagerSuSE.c
9723                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9724                         info-daemon that does the same thing but talks the new info-daemon
9725                         D-Bus interface
9726
9727         * src/NetworkManagerAP.h
9728           src/NetworkManagerAP.c
9729           src/NetworkManagerAPList.c
9730           libnm-glib/libnm-glib-test.c
9731                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9732                         WPA/RSN
9733
9734         * libnm-glib/nm-access-point.c
9735           libnm-glib/nm-access-point.h
9736           introspection/nm-access-point.xml
9737           test/nm-tool.c
9738                 - Adjust to new flags for AP security
9739
9740         * utils/nm-utils.c
9741           utils/nm-utils.h
9742           src/vpn-manager/nm-dbus-vpn.c
9743                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9744                         stuff which is the only place it's used
9745
9746         * src/nm-device-interface.c
9747           src/nm-device-interface.h
9748           introspection/nm-device.xml
9749           src/nm-activation-request.c
9750           src/nm-activation-request.h
9751           src/nm-device.c
9752                 - Add a new 'specific_object' argument that hints to NM what actual
9753                         AP or other device-specific thing the connection should apply to.
9754                         NMConnection objects can apply to more than one actual device/AP.
9755
9756         * libnm-util/nm-connection.c
9757         * libnm-util/nm-connection.h
9758                 - Add 'have_secrets" call stubs
9759
9760         * libnm-util/cipher.h
9761                 - Move NM_AUTH_TYPE_* defines here for now
9762
9763         * src/nm-device-802-11-wireless.c
9764                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9765                         NMSettings objects
9766
9767         * src/NetworkManagerDbus.c
9768         * src/NetworkManagerPolicy.c
9769                 - Remove usage of update_allowed_networks, should be pushing data in
9770                         a different manner
9771
9772 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9773
9774         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9775         dbus-glib frees it when the call is done.
9776
9777 2007-08-26  Dan Williams  <dcbw@redhat.com>
9778
9779         * introspection/nm-device.xml
9780                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9781
9782 2007-08-26  Dan Williams  <dcbw@redhat.com>
9783
9784         * src/nm-device-802-3-ethernet.c
9785                 - (constructor): move connection of interface-connected/disconnected
9786                         signals here from real_bring_up().  Should be listening to netlink
9787                         for carrier events no matter what the initial state of the device
9788                         is.
9789
9790 2007-08-26  Dan Williams  <dcbw@redhat.com>
9791
9792         * src/nm-netlink-monitor.c
9793                 - (nm_netlink_monitor_class_init): fix marshalling types for
9794                         interface-connected/interface-disconnected
9795                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9796                         check
9797
9798 2007-08-26  Dan Williams  <dcbw@redhat.com>
9799
9800         Convert to using interface indexes as the primary method of identifying
9801         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9802         be renamed at any time.  Device object paths now refer to the device
9803         index rather than the name, and you can map those two manually if you like
9804         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9805         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9806         to use interface indexes rather than names.
9807
9808 2007-08-26  Dan Williams  <dcbw@redhat.com>
9809
9810         * src/nm-netlink-monitor.h
9811                 - Remove one last bit of wireless-event signal
9812
9813 2007-08-26  Dan Williams  <dcbw@redhat.com>
9814
9815         * src/nm-netlink-monitor.c
9816                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9817                         don't need the 'wireless-event' signal anymore since that's all
9818                         handled by wpa_supplicant
9819
9820 2007-08-25  Dan Williams  <dcbw@redhat.com>
9821
9822         It's 2007. Remove support for drivers that don't support wireless scanning.
9823
9824         * test/nm-tool.c
9825           include/NetworkManager.h
9826           src/NetworkManagerUtils.c
9827           src/NetworkManagerPolicy.c
9828           src/nm-device-802-11-wireless.c
9829                 - Remove special handling for non-scanning devices and mark them
9830                         as unsupported/unhandled
9831
9832 2007-08-20  Dan Williams  <dcbw@redhat.com>
9833
9834         * src/nm-device-802-11-wireless.c
9835           src/nm-device-802-3-ethernet.c
9836                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9837                         because when the card is pulled or the module removed, the device
9838                         is already !IFF_UP and then device-specific cleanup (removing
9839                         the supplicant interface, periodic checks, etc) never gets done
9840
9841 2007-08-20  Dan Williams  <dcbw@redhat.com>
9842
9843         * src/nm-manager.c
9844                 - (nm_manager_remove_device): bring device down before disconnecting
9845                         signal handlers, so that the 'state' signal will get broadcast when
9846                         the device enters the DOWN state
9847                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9848                         of states that cause the NMManager to recheck its state
9849
9850 2007-08-20  Dan Williams  <dcbw@redhat.com>
9851
9852         * src/supplicant-manager/nm-supplicant-interface.c
9853                 - (interface_disconnect_done): don't try to dispose of the net proxy
9854                         when it may already have been disposed of
9855
9856 2007-08-20  Dan Williams  <dcbw@redhat.com>
9857
9858         * src/nm-device-802-11-wireless.c
9859                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9860                         the SSID isn't available; this can happen when the card is pulled
9861                         or the module unloaded, during the post-removal deactivation
9862                         paths, when the ioctl returns ENODEV
9863
9864 2007-08-20  Dan Williams  <dcbw@redhat.com>
9865
9866         * src/nm-device-802-11-wireless.c
9867                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9868                         frequency, and mode match.  Applets are now responsible for grouping
9869                         access points
9870
9871 2007-08-20  Dan Williams  <dcbw@redhat.com>
9872
9873         * src/NetworkManagerAP.c
9874         * src/NetworkManagerAP.h
9875                 - (nm_ap_print_self): new function
9876
9877         * src/NetworkManagerAPList.c
9878                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9879                         to do it all here
9880         
9881 2007-08-17  Dan Williams  <dcbw@redhat.com>
9882
9883         * src/nm-device-802-3-ethernet.c
9884                 - (real_bring_down): don't try to dispose of stuff that might not
9885                         exist
9886
9887 2007-08-17  Dan Williams  <dcbw@redhat.com>
9888
9889         * src/NetworkManagerAP.c
9890                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9891                         applet.  This ensures that the case between the seen-bssids and
9892                         the bssids reported by the driver match.
9893
9894 2007-08-17  Dan Williams  <dcbw@redhat.com>
9895
9896         * src/nm-device-802-11-wireless.c
9897                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9898                         we dispose of the interface proxy in NM
9899
9900 2007-08-16  Dan Williams  <dcbw@redhat.com>
9901
9902         * libnm-glib/nm-client.c
9903                 - (nm_client_init): create VPN connections hash table with key free
9904                         function
9905                 - (proxy_vpn_connection_added): VPN connections hash table key should
9906                         be a duplicated value, not the same memory address as the VPN
9907                         connection name.  This is because the VPN connection name could
9908                         potentially be freed and set to something else during the lifetime
9909                         of the NMVPNConnection object.
9910
9911 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9912
9913         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9914         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9915         with the file descriptors. Send a child setup function to change the pppd
9916         progress group.
9917
9918 2007-08-15  Dan Williams  <dcbw@redhat.com>
9919
9920         * src/supplicant-manager/nm-supplicant-interface.c
9921                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9922                         an interface
9923                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9924                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9925                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9926                         the interface internally
9927
9928 2007-08-15  Dan Williams  <dcbw@redhat.com>
9929
9930         * src/nm-device-802-11-wireless.c
9931                 - (real_bring_down): move most of this function into device_cleanup()
9932                         so that it can be called from elsewhere
9933                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9934                         and stuff on dispose.  These would normally get cleaned up when
9935                         the device is marked down and deactivated, but when the device is
9936                         hot-unplugged, it's already down and real_down() never gets run
9937
9938 2007-08-15  Dan Williams  <dcbw@redhat.com>
9939
9940         * src/nm-dbus-nmi.c
9941                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9942                         caused a reference leak on device for which NM requested a key
9943
9944 2007-08-15  Dan Williams  <dcbw@redhat.com>
9945
9946         * libnm-glib/nm-client.c
9947                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9948
9949 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9950
9951         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9952         nothing is using it at the moment, but it'll be all useful and stuff later on.
9953
9954         * libnm-util/nm-setting.h: Define NMSettingPPP.
9955
9956         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9957
9958         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9959
9960         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9961
9962         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9963
9964         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9965
9966 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9967
9968         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9969
9970         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9971         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9972         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9973         name and different arguments and it won't compile anymore. To fix this, we now have
9974         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9975         that is new API + compatibility API and used by the daemon. The other, 
9976         nm-manager-client.xml is only the new API without compatibility bits and is used
9977         by libnm-glib to make it compile.
9978
9979         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9980
9981         * src/nm-manager.c (impl_manager_legacy_sleep)
9982         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9983         interface functions for 0.6 branch.
9984
9985 2007-08-14  Dan Williams  <dcbw@redhat.com>
9986
9987         * src/NetworkManagerAP.c
9988                 - (nm_ap_new_from_properties): fix mistaken check of return value
9989                         from memcmp (should expect 0)
9990
9991 2007-08-14  Dan Williams  <dcbw@redhat.com>
9992
9993         (force-commit to fix wrong comment and partial commit of r2685; this
9994          commit actually applies to r2685)
9995
9996         * src/NetworkManagerUtils.c
9997                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9998                         ignores trailing nulls in the SSID to work around mismatches in
9999                         expectations between WEXT and what the info-daemon passes back.  The
10000                         info-daemon would pass back the correct length, but due to the
10001                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10002                         the device would always have an SSID + 1 depending on what versions
10003                         of wpa_supplicant, the kernel, and NM you have.  This was most often
10004                         visible by just quitting the applet and relaunching, which caused
10005                         NM to reassociated to the same network over again when reloading
10006                         the save networks.
10007
10008         * src/NetworkManagerPolicy.c
10009           src/NetworkManagerUtils.h
10010           src/nm-device-802-11-wireless.c
10011                 - Update for new parameter to nm_utils_same_ssid()
10012
10013 2007-08-14  Dan Williams  <dcbw@redhat.com>
10014
10015         * src/NetworkManagerAP.c
10016                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
10017                         I encountered a BSS that wasn't just hiding it's ESSID, it was
10018                         setting the BSSID to all 0s.  That confused the heck out of NM,
10019                         plus it's useless and probably out-of-spec.
10020
10021 2007-08-14  Dan Williams  <dcbw@redhat.com>
10022
10023         * callouts/Makefile.am
10024           src/dhcp-manager/nm-dhcp-manager.c
10025           src/dhcp-manager/nm-dhcp-manager.h
10026           src/dhcp-manager/Makefile.am
10027                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10028
10029 2007-08-14  Dan Williams  <dcbw@redhat.com>
10030
10031         * src/dhcp-manager/nm-dhcp-manager.c
10032                 - (dhclient_run): don't pass -x to dhclient until we figure out if
10033                         it's really needed, get rid of unused xtra_args parameter
10034
10035 2007-08-14  Dan Williams  <dcbw@redhat.com>
10036
10037         * include/NetworkManagerVPN.h
10038           src/vpn-manager/nm-dbus-vpn.c
10039           src/vpn-manager/nm-dbus-vpn.h
10040           src/vpn-manager/nm-vpn-act-request.c
10041           src/vpn-manager/nm-vpn-act-request.h
10042           src/vpn-manager/nm-vpn-service.c
10043           src/vpn-manager/nm-vpn-service.h
10044           libnm-glib/nm-vpn-connection.c
10045           libnm-glib/nm-vpn-connection.h
10046           libnm-glib/nm-client.h
10047                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
10048                         NMVPNServiceState to clarify what they apply to
10049                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10050                         NMVPNActStage -> NMVPNConnectionState for the same reason
10051
10052         * libnm-glib/nm-client.c
10053                 - Constant + type renames from above
10054                 - Properly handle NameOwnerChanged/manager_running signals
10055                         for NM service; only emit when state really changes
10056                 - Use hash tables correctly so that the key (which was previously owned
10057                         by the D-Bus message) now has the same lifetime as the value, since
10058                         the key is now taken from the the NMVPNConnection itself.  This
10059                         really fixes the double-VPN names in the applet
10060
10061 2007-08-13  Dan Williams  <dcbw@redhat.com>
10062
10063         Patch from Michael Biebl <biebl@debian.org>
10064
10065         * po/POTFILES.in
10066           po/POTFILES.skip
10067                 - Update for vpn-properties move
10068
10069 2007-08-13  Dan Williams  <dcbw@redhat.com>
10070
10071         * libnm-glib/nm-client.c
10072                 - Convert internal VPN connection tracking from a list to a hash table
10073                         to easily avoid duplicates
10074                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10075                         must be freed by the caller, like nm_client_get_devices()
10076                 - (nm_client_remove_vpn_connection): don't let the removal signal
10077                         leak through for NMVPNConnection objects that aren't actually
10078                         tracked.
10079                 - (manager_running): throw away VPN connection list when NM goes away,
10080                         like with the device list
10081
10082 2007-08-13  Dan Williams  <dcbw@redhat.com>
10083
10084         * src/dhcp-manager/nm-dhcp-manager.c
10085                 - Stop any dhclient instance that might be already running for a
10086                         particular interface before starting an NM spawned dhclient.  Fixes
10087                         dhclient processes left over if NM crashes, stuff like that.
10088
10089 2007-08-13  Dan Williams  <dcbw@redhat.com>
10090
10091         * src/NetworkManagerAP.c
10092                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10093                         when the AP wasn't broadcasting it's SSID
10094
10095 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10096
10097         * include/NetworkManager.h: added DBus path for connection settings.
10098
10099         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10100         nm_connection_settings_signal_updated,
10101         nm_connection_settings_signal_removed): new functions to wrap the
10102         objects' signals.
10103         (nm_connection_settings_init): register GObject with DBus.
10104         (nm_connection_settings_get_dbus_object_path): new function.
10105
10106         * libnm-glib/Makefile.am: added libnmutil to link flags.
10107
10108 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10109
10110         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10111
10112         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10113         libnm_glib directory got merged with libnm-glib/.
10114
10115         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10116
10117         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10118         Rename the library from libnm-glib to libnm_glib to maintain the library API
10119         compatibility with 0.6 branch.
10120
10121         * Makefile.am: Remove gnome/ SUBDIR.
10122
10123         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10124
10125         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10126
10127         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10128
10129         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10130         anymore.
10131         Remove checks for wpa_supplicant binary, it's used over dbus.
10132         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10133
10134         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10135         Link the binaries with libnm_glib.la.
10136
10137 2007-08-12  Dan Williams  <dcbw@redhat.com>
10138
10139         * src/NetworkManagerPolicy.c
10140                 - (nm_policy_device_change_check): fix policy to deactivate old device
10141                         before activating new one, at least until the multiple active
10142                         device support lands
10143
10144 2007-08-12  Dan Williams  <dcbw@redhat.com>
10145
10146         * src/NetworkManagerPolicy.c
10147                 - (nm_policy_new): hook up to connection-added / connection-removed
10148                         signals instead of connections-changed
10149
10150 2007-08-12  Dan Williams  <dcbw@redhat.com>
10151
10152         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10153         Robert Frank <rfrank@redhat.com>
10154
10155         * src/dhcp-manager/nm-dhcp-manager.c
10156           src/dhcp-manager/nm-dhcp-manager.c
10157           src/nm-device.c
10158                 - Spawn and communicate with dhclient directly, through means of a
10159                 custom dhclient callout script.  Process callout D-Bus signals
10160                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10161                 sent via gobject signals rather than being driven by the dhcp manager
10162                 directly.
10163
10164 2007-08-12  Dan Williams  <dcbw@redhat.com>
10165
10166         * callouts/nm-dhcp-client-action.c
10167                 - (build_message): ignore non-DHCP-related environment variables
10168
10169 2007-08-12  Dan Williams  <dcbw@redhat.com>
10170
10171         * Makefile.am
10172           configure.in
10173           callouts/Makefile.am
10174           callouts/nm-dhcp-client-action.c
10175           callouts/nm-dhcp-client.conf
10176                 - Add dhclient-executed callout that takes the place of dhclient-script
10177                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10178                 NM then listens for
10179
10180 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10181
10182         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10183
10184         * libnm-glib/nm-client.h:
10185         * libnm-glib/nm-object.h:
10186         * libnm-glib/nm-vpn-connection.h:
10187         * libnm-glib/nm-settings.h:
10188         * libnm-glib/nm-device.h:
10189         * libnm-glib/nm-ip4-config.h:
10190         * libnm-glib/nm-access-point.h:
10191         * libnm-glib/nm-device-802-3-ethernet.h:
10192         * libnm-util/nm-setting.h: 
10193         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10194
10195         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10196
10197         * libnm-glib/nm-access-point.c: Strength has type char.
10198
10199         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10200         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10201
10202         * introspection/nm-access-point.xml: Strength property is char, not int.
10203
10204         * src/NetworkManagerAP.c (set_property): Set strength from char.
10205         (get_property): Handle hidden APs (with empty SSID).
10206         Get strength value from char.
10207         (nm_ap_class_init): Strength property has char type.
10208
10209 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10210
10211         * introspection/Makefile.am:
10212         * introspection/nm-settings.xml:
10213         * introspection/nm-settings-connection.xml: added Settings interfaces.
10214
10215         * libnm-glib/nm-settings.[ch]:
10216         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10217         containing the DBus implementation.
10218
10219 2007-07-26  Dan Williams  <dcbw@redhat.com>
10220
10221         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10222
10223         * src/NetworkManagerSystem.c
10224                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10225                         same subnet (#437396)
10226
10227 2007-07-26  Dan Williams  <dcbw@redhat.com>
10228
10229         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10230
10231         * gnome/vpn-properties/nm-vpn-properties.c
10232                 - Fix translatable strings (#445865)
10233
10234 2007-07-26  Dan Williams  <dcbw@redhat.com>
10235
10236         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10237
10238         * configure.in
10239                 - Remove useless junk (#412530)
10240
10241 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10242
10243         Patch from Robert Buchholz <rbu@gentoo.org>:
10244
10245         * configure.in:
10246         * Makefile.am:
10247         * introspection/Makefile.am:
10248         Make make distcheck work again.
10249
10250 2007-06-27  Dan Williams  <dcbw@redhat.com>
10251
10252         * Make SSIDs GByteArrays everywhere
10253         * Rename "essid" -> "ssid" everywhere that's appropriate
10254         * Refcount activation_ap member of the 802.11 wireless device class
10255
10256 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10257
10258         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10259
10260 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10261
10262         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10263         that we got a new AP when we just update existing AP properties.
10264
10265 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10266
10267         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10268
10269         * nm-utils.[ch]: Remove.
10270
10271         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10272         objects for easy property access and dbus connection handling.
10273
10274         * libnm-glib/nm-client.c: Derive from NMObject.
10275
10276         * libnm-glib/nm-device.c: Ditto.
10277
10278         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10279
10280         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10281
10282         * libnm-glib/nm-ip4-config.c: Ditto.
10283
10284         * libnm-glib/nm-access-point.c: Ditto.
10285
10286         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10287         comparision. Currently used by the device activation code to determine if the new
10288         activation is the same as the old one.
10289
10290         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10291         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10292         able to ask password for the AP.
10293
10294         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10295         up if the device is already connected, tear down it's connection (if it isn't the
10296         same as new one) and start the activation.
10297
10298         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10299
10300         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10301         the issue where all APs are always listed as encrypted.
10302
10303         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10304         their own registered paths.
10305
10306         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10307         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10308
10309 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10310
10311         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10312         (0 & 0 == 0, doh)
10313
10314         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10315         because the handling code will cause the next state change and signal listeners
10316         get the signals in wrong order.
10317
10318         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10319         correctly in case of pending activation.
10320
10321         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10322         Convert the essid byte array to string correctly, including the terminating NULL.
10323
10324         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10325         mode with correct types.
10326
10327         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10328         constructed info to dbus call instead of the activation request.
10329
10330 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10331
10332         Patch from Christian Persch <chpe@gnome.org>
10333
10334         * libnm-glib/Makefile.am:
10335         * dispatcher-daemon/Makefile.am:
10336         Use the correct variables, the correct paths, and correct ordering. (446315)
10337
10338 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10339
10340         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10341         argument. The activation request is easy to retrieve.
10342
10343         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10344         just to be a convenient location for devices to store random stuff.
10345
10346 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10347
10348         Patch from Alex Smith <alex@alex-smith.me.uk>
10349
10350         * src/backends/NetworkManagerFrugalware.c:
10351         Update the FrugalWare backend to fix a few segfaults. (#392642)
10352
10353 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10354
10355         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10356
10357         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10358         setting.
10359         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10360
10361 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10362
10363         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10364         automagically.
10365         Implement NMSettingIP4Config.
10366         Finish NMSettingWired by adding all known members.
10367         (setting_wired_verify): Implement.
10368         Finish NMSettingWireless by adding all known members.
10369         (setting_wireless_verify): Implement.
10370
10371         * libnm-util/nm-connection.c: Register "ipv4" setting.
10372         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10373         dump function, we can introspect the GHashTable which is used for sending connections
10374         over dbus.
10375
10376         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10377         Take GByteArray for essid, it's really not a string.
10378
10379         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10380         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10381         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10382         means overriding the values we got from DHCP.
10383         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10384         (nm_device_deactivate_quickly): Ditto.
10385
10386         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10387         for debugging.
10388
10389 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10390
10391         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10392         NMConnection.
10393
10394         * libnm-glib/nm-device-802-11-wireless.c:
10395         (nm_device_802_3_ethernet_activate): Remove.
10396
10397         * libnm-glib/nm-device-802-3-ethernet.c
10398         (nm_device_802_3_ethernet_activate): Remove.
10399
10400         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10401
10402         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10403         NMConnection.
10404
10405         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10406         activation has started.
10407         Implement the new activation using NMConnection.
10408
10409         * src/nm-activation-request.c: Store a generic connection object instead
10410         of a wireless-specific AP.
10411
10412         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10413         on device type, create a device specific connection object suitable for
10414         device activation.
10415
10416         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10417         specific check to validate the connection and on success start the
10418         activation.
10419
10420         * src/nm-device-interface.h: Add a activate virtual function to the
10421         interface definition.
10422
10423         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10424         (impl_device_activate): Implement.
10425
10426         * introspection/nm-device.xml: Add a generic device activation interface
10427         that accepts an abstract NMConnection structure that has device-specific
10428         information in it.
10429
10430         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10431         activation interface.
10432
10433         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10434         activation interface.
10435
10436         * libnm-util/nm-connection.c: 
10437         * libnm-util/nm-connection.h: 
10438         * libnm-util/nm-setting.c:
10439         * libnm-util/nm-setting.h: Add.
10440
10441         * libnm-util/Makefile.am: Build the added files.
10442
10443         * src/nm-dbus-manager.c
10444         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10445         DbusConnection argument from 'name-owner-changed' signal. The manager
10446         is already passed as a first argument to the signal and the connection
10447         is easy enough to get from it.
10448
10449         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10450         Update the signature of the function.
10451
10452         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10453         Ditto.
10454
10455         * src/NetworkManager.c: Ditto.
10456
10457         * src/named-manager/nm-named-manager.c
10458         (nm_named_manager_name_owner_changed): Ditto.
10459
10460         * src/supplicant-manager/nm-supplicant-manager.c
10461         (nm_supplicant_manager_name_owner_changed): Ditto.
10462
10463         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10464
10465         * src/dhcp-manager/nm-dhcp-manager.c
10466         (nm_dhcp_manager_name_owner_changed): Ditto.
10467
10468         * src/nm-hal-manager.c: Add a list of device detectors and creators
10469         to make it easier to add new devices. Each device type has it's own
10470         entry in the table so adding new device types is only a matter of
10471         implementing a couple of functions, one for device detection and the
10472         other for device creation.
10473
10474 2007-04-25  Dan Williams  <dcbw@redhat.com>
10475
10476         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10477                 (gnome.org #432401)
10478
10479 2007-03-30  Dan Williams  <dcbw@redhat.com>
10480
10481         * src/NetworkManagerSystem.c
10482                 - (nm_system_device_set_ip4_route): clean up and fix argument
10483                         to nm_dev_sock_open()
10484
10485 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10486
10487         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10488         data to correct types instead of always using string.
10489
10490         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10491         _not_ have NM_802_11_CAP_PROTO_NONE.
10492         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10493         is not set.
10494
10495 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10496
10497         * libnm-glib/Makefile.am: Fix the build issue.
10498
10499 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10500
10501         * libnm-glib/nm-vpn-connection.h: 
10502         * libnm-glib/nm-vpn-connection.c: Implement.
10503
10504         * libnm-glib/nm-client.c: Add VPN support.
10505
10506         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10507         handler for VPN.
10508
10509         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10510         on DBUS again.
10511
10512 2007-03-26  Dan Williams  <dcbw@redhat.com>
10513
10514         * src/NetworkManagerAPList.c
10515         * src/nm-device-802-11-wireless.c
10516         * src/NetworkManagerAP.c:
10517                 - Store last seen as glong instead of GTimeVal.
10518                 - Fix the upper bound of capabilities, it's a bitfield.
10519
10520 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10521
10522         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10523
10524         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10525         "manager-running" signal that notifies the appearance/disappearance of NM.
10526         (nm_client_sleep): Implement.
10527
10528         * libnm-glib/nm-device.c:
10529         * libnm-glib/nm-device-802-11-wireless.c: 
10530         * libnm-glib/nm-device-802-3-ethernet.c: 
10531
10532         Don't inherit from DBusGProxy, add a proxy to private
10533         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10534         for anything but their own dbus interface. DBusGProxy objects support only one
10535         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10536         interface. The nice side effect of this change is that we do not create a new
10537         DBusGProxy object for each property access.
10538
10539 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10540
10541         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10542         with zeroes before passing them to functions - the functions never do that and
10543         reading the values back may produce wrong values.
10544         (real_bring_up): Store the signal handler id ...
10545         (real_bring_down): ... So that it can be removed here.
10546         Disconnect the supplicant interface here as well.
10547         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10548         from the access point instead of old $device/Networks/$essid.
10549
10550         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10551         device state is connected (instead of just having link/carrier).
10552
10553         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10554         already easily accessible through the device.
10555
10556         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10557         store it within the object.
10558         (nm_ap_get_dbus_path): Export it to public as well.
10559
10560         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10561         of the singleton.
10562
10563 2007-03-12  Dan Williams  <dcbw@redhat.com>
10564
10565         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10566         for non-carrier-detect capable devices, and useless for carrier-detect
10567         devices since we get notifications from netlink about carrier status anyway.
10568
10569         * src/nm-device-802-3-ethernet.c
10570                 - remove 'link_source_id' member from private data
10571                 - (probe_link): remove and collapse into real_update_link()
10572                 - (nm_device_802_3_periodic_update): remove
10573                 - (real_is_up): check for sup_iface rather than link_source_id
10574                 - (real_bring_up): return gboolean for success/fail; require that
10575                         sup_iface be valid for device bringup to succeed
10576                 - (real_bring_down): zero out link signal ids
10577
10578         * src/nm-device.c
10579                 - (nm_device_activate_stage2_device_config): fail activation if device
10580                         bringup fails
10581                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10582                         fails
10583                 - (nm_device_bring_up): return success/fail
10584
10585         * src/nm-device.h
10586                 - bring_up now returns success/fail
10587
10588         * src/nm-device-802-11-wireless.c
10589                 - (real_bring_up): return success from bringup
10590
10591 2007-03-07  Dan Williams  <dcbw@redhat.com>
10592
10593         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10594         * src/nm-ap-security-wpa-psk.c
10595                 - (real_write_supplicant_config): work with PSKs that may contain
10596                         zeros in the binary format rather than treating it as a string
10597
10598 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10599
10600         * libnm-glib/nm-device-802-11-wireless.c
10601         (nm_device_802_11_wireless_get_capabilities): Implement.
10602
10603         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10604
10605         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10606
10607         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10608         reply only if it's not NULL. Not sure why this started happening right now.
10609
10610         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10611         code paths for when devices get removed on shutdown or when a device is just
10612         removed.
10613         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10614         gets freed so any signal from a device (disconnected for instance) would invoke
10615         NMState update which would crash.
10616         (nm_manager_remove_device): Bring the device down when it gets removed.
10617
10618         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10619         the unused dev_type.
10620
10621         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10622         reference to the added device, NMManager will own it (if it wants).
10623
10624         * test/nm-tool.c: Rewrite using libnm-glib.
10625
10626         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10627         We get signalled when it changes.
10628
10629         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10630         when it changes.
10631
10632         * libnm-glib/nm-device.c: Cache the device state property.
10633
10634         * libnm-glib/nm-access-point.c: Cache the strength property.
10635
10636         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10637         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10638         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10639         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10640         the device is down, activating, or activated (in case of A/B/G cards).
10641         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10642         it's all done through supplicant now.
10643
10644         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10645         counting issues with pending calls which caused leaks and crashes when
10646         interface was removed (now that the interface actually gets removed).
10647
10648         * src/nm-call-store.c: Make a copy of data before running a foreach
10649         with user callback on it - The most common usage pattern is to cancel
10650         (and thus remove) all pending calls with foreach which would modify
10651         the hash table we're iterating over.
10652
10653         * src/nm-manager.c: When a device is added, make sure it is "up". When
10654         it's removed or disabled due to disabling wireless or networking, bring
10655         it down.
10656
10657         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10658
10659         * src/nm-device-802-11-wireless.c: 
10660         * src/nm-device-802-3-ethernet.c: 
10661         * src/nm-device.c:
10662                 - Remove "init" virtual function, all gobjects have a place for that
10663                   already (constructor).
10664                 - Replace "start" virtual function with "bring_up", devices can be
10665                   brought up and down more than just on startup now.
10666                 - Add "is_up" virtual function.
10667                 - Implement one way to bring a device down instead of previous 4 different
10668                   ways, each of witch did something different.
10669
10670         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10671         all it needs is the device interface.
10672
10673         Get rid of NMData.dev_list (3 members to go).
10674         Get rif of NMData in a lot of places.
10675
10676         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10677
10678 2007-02-23  Dan Williams  <dcbw@redhat.com>
10679
10680         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10681
10682         * src/NetworkManagerAP.c
10683                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10684                         OR-ing rather than AND-ing
10685
10686 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10687
10688         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10689         "network-removed" signals.
10690
10691         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10692
10693         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10694         when receiving the signal from dbus.
10695
10696         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10697         property.
10698
10699         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10700         deactivation of the previously activated device working again.
10701
10702         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10703         and setter.
10704
10705         * src/nm-device.c (nm_device_is_activated): Remove.
10706         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10707
10708         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10709         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10710         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10711         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10712         Remove NMNetworkStatus and NMActStage enums.
10713
10714 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10715
10716         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10717         Handle device state changes and disconnect VPN if it's device deactivates.
10718
10719         * src/nm-dbus-nm.c: 
10720         * src/nm-dbus-nm.h: 
10721         * src/nm-dbus-device.c: 
10722         * src/nm-dbus-device.c: 
10723         * src/nm-dbus-net.c: 
10724         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10725
10726         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10727
10728         * src/nm-device.c (nm_device_get_by_udi):
10729         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10730         implemented in the correct location (NMManager).
10731         Rip out all the test_device stuff.
10732
10733         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10734         failure handlers, it's all done by NMDevice already.
10735
10736         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10737         Remove the iochannel hack to route the unix signals to the main thread since
10738         we're not threaded anymore.
10739
10740         * src/NetworkManagerAP.c: Implement HWAddress property.
10741
10742         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10743         automatically with dbus-glib.
10744
10745         * src/nm-netlink-monitor.c: 
10746         * src/nm-netlink-monitor.h:
10747                 - Move it low in the class hierarchy, don't reference any NM types.
10748                 - Remove private data from the header.
10749                 - Use type safe checks in public API methods.
10750                 - Make it a singleton so we don't have to pass the single reference around.
10751
10752 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10753
10754         * introspection/nm-ip4-config.xml: Implement.
10755
10756         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10757
10758         * libnm-glib/nm-ip4-config.c:
10759         * libnm-glib/nm-ip4-config.c: Implement.
10760
10761         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10762         securities. APs reference security.
10763
10764         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10765         be exported over DBUS.
10766
10767         * src/nm-device-802-3-ethernet.c: Ditto.
10768
10769         * src/NetworkManagerAP.c:
10770         * src/NetworkManagerAP.h:
10771                 - Convert to GObject, export over DBUS.
10772
10773         * src/nm-ip4-config.h:
10774         * src/nm-ip4-config.h:
10775                 - Convert to GObject, export over DBUS.
10776
10777 2007-02-12  Dan Williams  <dcbw@redhat.com>
10778
10779         Patch from Helmut Schaa <hschaa@suse.de>
10780
10781         * vpn-daemons/pptp/configure.in
10782           vpn-daemons/pptp/Makefile.am
10783           vpn-daemons/openvpn/configure.in
10784           vpn-daemons/openvpn/Makefile.am
10785           vpn-daemons/vpnc/configure.in
10786           vpn-daemons/vpnc/Makefile.am
10787                 - Add --without-gnome switch which disables building gnome bits
10788
10789 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10790
10791         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10792
10793         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10794
10795         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10796         'HwAddress'.
10797
10798         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10799
10800         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10801
10802         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10803
10804         * src/:
10805                 - Remove old low-level dbus interface implementations and replace them
10806                   with dbus-glib one.
10807
10808         * configure.in:
10809                 - Require dbus-glib >= 0.72.
10810                 - Plug in new sources to build.
10811
10812         * libnm-glib/:
10813                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10814                   to make it more convenient to use from GObject based programs.
10815
10816         * introspection/:
10817                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10818
10819 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10820
10821         * src/nm-device-802-11-wireless.c:
10822                 - Add "network-added" and "network-removed" signals.
10823                 - Use gobject boilerplate macros to define the GObject.
10824                 - Implement wireless device activation.
10825                 - Remove activation_failure_handler and activation_success_handler
10826                   and instead listen on state-changed signals and run the same code
10827                   from there.
10828
10829         * src/nm-device.c:
10830                 - Implment NMDeviceInterface::deactivate.
10831                 - Remove activation_failure_handler and activation_success_handler
10832                   virtual methods. Each device which is interested in these events
10833                   can just listen on it's state changed signals.
10834
10835         * src/NetworkManagerPolicy.c:
10836                 - Move a bit more NMData usage to NMManager.
10837                 - Remove activation scheduling bits.
10838                 - Add listeners for wireless device's "network-added" and
10839                   "network-removed" signals.
10840                 - Listen device changed signals and deactivate currently activated
10841                   device when another device start activating (for now).
10842                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10843                   for calling this, the policy code knows exactly when this should happen,
10844                   by listening on events from NMManager and NMDevices.
10845
10846         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10847         Implement.
10848
10849         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10850         method on the specific device instead of going to through policy code
10851         and determining the device type by passed in AP's existance.
10852
10853         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10854         abstract NMDevice deactivation.
10855
10856 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10857
10858         * src/NetworkManager.c:
10859                 - Set up all the shiny new managers.
10860
10861         * src/NetworkManagerPolicy.c:
10862                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10863                   classes to call into policy code, make the policy code kind of like
10864                   a supervisor that monitors what's going on and drives the whole NM.
10865
10866         * src/nm-hal-manager.c: 
10867         * src/nm-hal-manager.h:
10868                 - Collect all libhal code scattered around NM to this one class.
10869                 - Listen libhal and NMManager events and add/remove devices to
10870                   NMManager.
10871
10872         * src/nm-manager.c:
10873         * src/nm-manager.h:
10874                 - Implment a replacement for NMData. NMData is now officially
10875                 deprecated.
10876
10877 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10878
10879         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10880         * src/supplicant-manager/nm-supplicant-interface.h
10881         * src/supplicant-manager/nm-supplicant-interface.c
10882         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10883         argument to boolean from enum.
10884
10885         Make NMDevice abstract class, remove almost all references to it's
10886         subclasses (the last place gets removed with new policy manager). Add
10887         NMDeviceInterface (which NMDevice implements) so that when we have
10888         NMDevice exported over DBUS, there's a common NMDevice interface which
10889         all instances have, plus there's a device specific interface for each
10890         specific type.
10891         Remove functions (nm_device_is_802_3_ethernet) and
10892         (nm_device_is_802_11_wireless). There are already standard GObject macros
10893         for type safe checks.
10894         Use the updated supplican manager API.
10895
10896         * src/nm-device-interface.h: 
10897         * src/nm-device-interface.c: 
10898         * src/nm-call-store.h: 
10899         * src/nm-call-store.c: Implement.
10900
10901         * src/supplicant-manager/nm-supplicant-interface.c:
10902         * src/supplicant-manager/nm-supplicant-interface.h:
10903         * src/supplicant-manager/nm-supplicant-manager.c:
10904         * src/supplicant-manager/nm-supplicant-manager.h:
10905                 - Remove all private data type references from public header files.
10906                 - Remove all references to other NM classes, this class is just a
10907                   proxy between wpa_supplicant and NM so it doesn't have to know
10908                   any internals.
10909                 - Convert to dbus-glib bindings.
10910                 - Type safe checks for public methods' arguments.
10911                 - Store pending DBUS call ids to NMCallStore.
10912
10913         * src/supplicant-manager/nm-supplicant-config.c:
10914                 - Store config values in a GHashTable instead of GSList.
10915
10916         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10917
10918         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10919         singleton now.
10920
10921         * src/nm-device.c: Use the new DHCP manager API.
10922
10923         * src/nm-activation-request.c:
10924         * src/nm-activation-request.h:
10925                 - Remove all dhcp related properties and methods.
10926
10927         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10928
10929         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10930
10931         * src/dhcp-manager/nm-dhcp-manager.c:
10932         * src/dhcp-manager/nm-dhcp-manager.h:
10933                 - Convert it to GObject since we need to signal state changes.
10934                 - Remove all references to other NM classes, this class is one
10935                   of the lowest classes in our hierarchy.
10936                 - One less class to use NMActRequest.
10937                 - Make it singleton, one less user of NMData.
10938                 - Remove a couple of sleep() calls.
10939                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10940                   One less class to use the NM's custom tailored signal handlig.
10941
10942         * Makefile.am: Generate marshallers, add them to build.
10943
10944 2007-02-02  Dan Williams  <dcbw@redhat.com>
10945
10946         * configure.in
10947           gnome/Makefile.am
10948           nm-applet.desktop
10949           Makefile.am
10950                 - Remove last bits referencing gnome applet
10951
10952 2007-02-02  Dan Williams  <dcbw@redhat.com>
10953
10954         * src/vpn-manager/nm-vpn-service.c
10955                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10956                         and NBNS server addresses
10957
10958 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10959
10960         * src/nm-dbus-manager.c:
10961         * src/nm-dbus-manager.h:
10962                 - Convert all internal DBUS code to use dbus-glib bindings.
10963                 - Remove GObject properties, we don't need them here.
10964                 - Don't explicitly set things to NULL after freeing, glib is
10965                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10966                 - Make public API argument checks type safe.
10967                 - Remove unnecessary (and wrong) cast to GObject for the first
10968                   argument to g_signal_* calls - The first argument is a gpointer.
10969                 - Export DBusGConnection to other cool classes that (are going to)
10970                   use dbus-glib.
10971
10972 2007-01-26  Dan Williams  <dcbw@redhat.com>
10973
10974         * libnm-util/dbus-dict-helpers.c
10975           libnm-util/dbus-dict-helpers.h
10976                 - Coordinate style with wpa_supplicant version to minimize diff
10977                 - Add uint32 array support
10978                 - (nmu_dbus_dict_append_uint32_array): new function
10979                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10980                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10981                         version; allow adding string array elements individually
10982
10983         * test/libnm-util/test-dbus-dict-helpers.c
10984                 - Test uint32 arrays
10985
10986 2007-01-27  Jürg Billeter  <j@bitron.ch>
10987
10988         * src/backends/NetworkManagerPaldo.c
10989                 - (nm_system_update_dns): clear nscd hosts cache
10990
10991 2007-01-04  Dan Williams  <dcbw@redhat.com>
10992
10993         Threading removal related cleanups:
10994
10995         - Use the glib default main context.  Remove the device main context
10996                 member from NMDevice, and the main_context member from NMData.  Change
10997                 all the idle and timeout scheduler functions to use plain
10998                 g_idle_add() and g_timeout_add().
10999
11000         - As a side-effect of the first change, nm_dbus_manager_get() no longer
11001                 takes an argument; fix that up too.
11002
11003         - Remove all locking, which is useless since we no longer use threads.  For
11004                 example, nm_get_device_by_iface_locked() has been removed.  The global
11005                 device list lock, the AP List lock, and all static locks in
11006                 NetworkManagerPolicy.c have been removed.  The locking utility functions
11007                 in NetworkManagerUtils.c have also been removed.
11008
11009         - Other cleanups in spacing and code style
11010
11011 2007-01-01  Dan Williams  <dcbw@redhat.com>
11012
11013         Found by Bill Moss:
11014
11015         * src/supplicant-manager/nm-supplicant-interface.c
11016                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11017                         the supplicant interface wasn't already disconnected.  Always
11018                         call removeNetwork and disconnect unless the supplicant interface
11019                         is in the DISCONNECTED or INACTIVE state.
11020
11021 2006-12-28  Dan Williams  <dcbw@redhat.com>
11022
11023         Use a single thread for everything.  With the move to wpa_supplicant
11024         and communication over D-Bus, there's no reason for multiple threads.
11025         Almost all of the blocking code has been removed, with one exception in
11026         the DHCP manager and a few in the VPN manager.  This commit removes the
11027         per-device worker thread and fixes activation cancellation in the absence
11028         of threads.  Further removal of thread-related code would be removing
11029         any locking code (like the device list lock) and simplification of logic
11030         around areas of code or data structures that are currently locked.
11031
11032         * autoip.c
11033           dhcp-manager/nm-dhcp-manager.c 
11034           nm-device-802-11-wireless.c
11035           nm-device-802-3-ethernet.c
11036           nm-device.c
11037           nm-device.h
11038                 - Remove usage of multiple threads
11039
11040 2006-12-19  Dan Williams  <dcbw@redhat.com>
11041
11042         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11043         plus a few other patches from wpa_supplicant bugzilla.
11044
11045         * src/Makefile.am
11046           src/NetworkManagerPolicy.c
11047           src/NetworkManagerUtils.c
11048           src/NetworkManagerUtils.h
11049           src/nm-ap-security-leap.c
11050           src/nm-ap-security-wep.c
11051           src/nm-ap-security-wpa-eap.c
11052           src/nm-ap-security-wpa-psk.c
11053           src/nm-ap-security.c
11054           src/nm-ap-security.h
11055           src/nm-device-802-11-wireless.c
11056           src/nm-device-802-11-wireless.h
11057           src/supplicant-manager/nm-supplicant-config.c
11058           src/supplicant-manager/nm-supplicant-config.h
11059           src/supplicant-manager/nm-supplicant-interface.c
11060           src/supplicant-manager/nm-supplicant-interface.h
11061           src/supplicant-manager/nm-supplicant-marshal.list
11062           src/supplicant-manager/nm-supplicant-settings-verify.c
11063           src/supplicant-manager/nm-supplicant-settings-verify.h
11064                 - Move all connection management and association handling to
11065                         wpa_supplicant over dbus, rather than spawning a private copy
11066
11067 2006-12-19  Dan Williams  <dcbw@redhat.com>
11068
11069         * src/NetworkManagerPolicy.c
11070                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11071                         better locking of the device change check handler ID.  Incorrect
11072                         locking was causing lost device change requests
11073
11074 2006-12-18  Dan Williams  <dcbw@redhat.com>
11075
11076         * libnm-util/dbus-dict-helpers.c
11077                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11078                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
11079                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
11080
11081 2006-12-18  Dan Williams  <dcbw@redhat.com>
11082
11083         * gnome/libnm_glib/libnm_glib.c
11084                 - Change dbus_connection_close() -> dbus_connection_unref()
11085
11086 2006-12-11  Dan Williams  <dcbw@redhat.com>
11087
11088         * src/supplicant-manager/nm-supplicant-interface.c
11089                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11090                         wpa_supplicant interface state
11091                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11092                         state before transitioning to READY state
11093
11094 2006-12-04  Dan Williams  <dcbw@redhat.com>
11095
11096         * src/nm-device-802-11-wireless.c
11097                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11098                         odd length of ESSID returned from ieee80211 stack-based drivers
11099
11100 2006-12-04  Dan Williams  <dcbw@redhat.com>
11101
11102         * src/nm-device-802-11-wireless.c
11103                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11104                         IE handling blocks that cause mis-parsing of the IE
11105
11106 2006-12-04  Dan Williams  <dcbw@redhat.com>
11107
11108         * src/nm-device-802-11-wireless.c
11109                 - (init_supplicant_interface): new function; pull supplicant interface
11110                         setup code out into standalone function since it must be called from
11111                         two different places
11112                 - (real_init): sup_mgr is now in private object data; get and track
11113                         the supplicant manager object over the NMDevice subclass' lifetime
11114                         and register a signal handler for its state signals; only try to
11115                         initialize the supplicant interface if the supplicant manager is in
11116                         the IDLE state (and therefore is ready for requests)
11117                 - (request_wireless_scan): reschedule the scan request if (a) there is
11118                         no supplicant interface yet (meaning wpa_supplicant isn't running
11119                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11120                         for requests yet
11121                 - (supplicant_iface_connection_state_cb): new function; stub for
11122                         handling supplicant interface connection state signals
11123                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11124                         comes and goes
11125                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11126                         supplicant manager object that's being tracked starting with this
11127                         commit
11128
11129 2006-12-04  Dan Williams  <dcbw@redhat.com>
11130
11131         * src/supplicant-manager/nm-supplicant-interface.c
11132                 - (nm_supplicant_interface_set_property): track signal handler ID
11133                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11134
11135 2006-12-04  Dan Williams  <dcbw@redhat.com>
11136
11137         * src/supplicant-manager/nm-supplicant-interface.[ch]
11138                 - (nm_supplicant_interface_get_state): new function
11139
11140 2006-12-04  Dan Williams  <dcbw@redhat.com>
11141
11142         * src/supplicant-manager/nm-supplicant-interface.c
11143                 - (bssid_properties_cb): don't treat DBus errors as valid
11144                         scanned AP messages
11145
11146 2006-12-04  Dan Williams  <dcbw@redhat.com>
11147
11148         * src/supplicant-manager/nm-supplicant-interface.[ch]
11149                 - (nm_supplicant_interface_get_connection_state): new function
11150                 - define new supplicant connection states
11151                 - send a signal when the supplicant connection state changes
11152
11153 2006-12-03  Dan Williams  <dcbw@redhat.com>
11154
11155         * src/supplicant-manager/Makefile.am
11156           src/supplicant-manager/nm-supplicant-connection.h
11157           src/supplicant-manager/nm-supplicant-connection.c
11158           src/supplicant-manager/nm-supplicant-config.h
11159           src/supplicant-manager/nm-supplicant-config.c
11160           src/supplicant-manager/nm-supplicant-types.h
11161           src/supplicant-manager/nm-supplicant-interface.h
11162           src/supplicant-manager/nm-supplicant-interface.c
11163                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11164
11165 2006-12-03  Dan Williams  <dcbw@redhat.com>
11166
11167         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11168
11169         * po/POTFILES.in
11170           po/POTFILES.skip
11171                 - Move VPN-related translatables to .skip
11172
11173         * vpn-daemons/pptp/po/POTFILES.in
11174                 - Update with new translatables
11175
11176 2006-12-02  Dan Williams  <dcbw@redhat.com>
11177
11178         Patch from Christian Persch <chpe@gnome.org>
11179
11180         * gnome/applet/Makefile.am
11181           gnome/applet/applet-dbus-devices.c
11182           gnome/applet/applet-notifications.c
11183           gnome/applet/applet.c
11184           gnome/applet/applet.h
11185           gnome/applet/main.c
11186                 - Be a GtkStatusIcon on GTK+ >= 2.10
11187
11188 2006-12-02  Dan Williams  <dcbw@redhat.com>
11189
11190         * gnome/applet/applet.c
11191                 - (nma_update_info): fix two unecessary allocations
11192
11193 2006-12-02  Dan Williams  <dcbw@redhat.com>
11194
11195         Patch from Michael Biebl <biebl@teco.edu>
11196         * configure.in
11197           man/NetworkManager.1.in
11198           man/NetworkManagerDispatcher.1.in
11199           man/NetworkManager.8.in
11200           man/NetworkManagerDispatcher.8.in
11201                 - Add .SH NAME stanzas
11202                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11203
11204 2006-12-02  Dan Williams  <dcbw@redhat.com>
11205
11206         Patch from Christian Persch <chpe@gnome.org>
11207
11208         * configure.in
11209                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11210
11211 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11212
11213         Patch by Timo Hoenig <thoenig@suse.de>:
11214         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11215         DBUS-1.0.
11216
11217         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11218         we can't use the one from the main source directory.
11219
11220 2006-11-27  Dan Williams  <dcbw@redhat.com>
11221
11222         Patch from Christian Persch <chpe@gnome.org>
11223
11224         * gnome/applet/applet-dbus-devices.c
11225                 - (hal_info_product_cb): fix memleak; free duped string.
11226                         Gnome.org #379908
11227
11228 2006-11-27  Dan Williams  <dcbw@redhat.com>
11229
11230         Patch from Christian Persch <chpe@gnome.org>
11231
11232         * gnome/applet/menu-items.c
11233                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11234                         as gtk_progress_set_percentage is deprecated.  Should
11235                         work as far back as GTK+ 2.4.  Gnome.org #379780
11236
11237 2006-11-26  Dan Williams  <dcbw@redhat.com>
11238
11239         Scan using wpa_supplicant over DBus.
11240
11241         * src/nm-device-802-11-wireless.c
11242                 - remove wireless extensions netlink event handler bits
11243                         (wireless_event_helper, nm_device_802_11_wireless_event)
11244                 - remove wireless extensions scan event handler bits
11245                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11246                         hex2byte, hex2num, request_and_convert_scan_results,
11247                         free_process_scan_cb_data, scan_results_timeout,
11248                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11249                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11250                         and request scans from the supplicant interface rather than directly
11251                 - Move functionality of convert_scan_results() to cull_scan_list() and
11252                         supplicant_iface_scanned_ap_cb()
11253                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11254                         at the scan interval when the current scan has finished
11255                 - (supplicant_iface_state_cb): start scanning when the supplicant
11256                         interface enters the READY state, and stop scanning when it
11257                         enters the DOWN state
11258                 - (cull_scan_list): weed out old access points from the scan list
11259                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11260                         point into an NMAccessPoint and merge it into the device's scan list
11261
11262         * src/supplicant-manager/nm-supplicant-interface.c
11263           src/supplicant-manager/nm-supplicant-interface.h
11264                 - Add a new signal "scan-result" which is issued when the supplicant
11265                         notifies NM that a scan has completed
11266                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11267                         point found in the scan.  Called once for each access point that
11268                         the supplicant interface object receives from the supplicant as a
11269                         result of the "scanResults" method call
11270                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11271                         for the initial scan results
11272                 - (scan_request_cb): new function; send listeners the result
11273                         (success, error) of a wireless scan request
11274                 - (nm_supplicant_interface_request_scan): new function; ask the
11275                         supplicant to perform an immediate wireless scan
11276
11277 2006-11-25  Dan Williams  <dcbw@redhat.com>
11278
11279         * src/supplicant-manager/Makefile.am
11280                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11281                         add HAL cflags/includes and named-manager includes directory
11282
11283         * src/supplicant-manager/nm-supplicant-interface.h
11284                 - New state STARTING to handle transition from INIT to READY where
11285                         the addInterface pending call is still outstanding
11286
11287         * src/supplicant-manager/nm-supplicant-interface.c
11288                 - track pending calls differently since we may have more than one
11289                         going on at any given time
11290                 - request scan results from wpa_supplicant; but don't do it more often
11291                         than every 4 seconds.  Drivers that do background scanning
11292                         (like the 'ipw' drivers) send a continuous stream of scan completion
11293                         notifications, so we don't want to hammer the supplicant or dbus
11294                         with requests for all scan results every time we get a completion
11295                         notification.
11296
11297 2006-11-25  Dan Williams  <dcbw@redhat.com>
11298
11299         * src/supplicant-manager/nm-supplicant-types.h
11300                 - new file; move all supplicant manager object typedefs here for
11301                         #include sanity
11302
11303         * src/supplicant-manager/nm-supplicant-interface.c
11304           src/supplicant-manager/nm-supplicant-interface.h
11305                 - new file; an object that interfaces an NMDevice object to the
11306                         supplicant and handles signals from the supplicant.  This object
11307                         does all necessary DBus communication with wpa_supplicant.
11308
11309         * src/supplicant-manager/nm-supplicant-manager.c
11310           src/supplicant-manager/nm-supplicant-manager.h
11311                 - Actually do something.  Track the state of the wpa_supplicant service
11312                         and deal with its comings & goings.  Handle life events of
11313                         supplicant interfaces too.
11314                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11315
11316         * src/supplicant-manager/nm-supplicant-connection.h
11317                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11318
11319         * src/supplicant-manager/Makefile.am
11320                 - Add new files to build, and add libnm-util to includes
11321
11322         * src/nm-marshal.list
11323                 - New marshaler type: VOID:UINT,UINT
11324
11325         * src/nm-device-802-3-ethernet.c
11326                 - (real_init): grab a supplicant interface
11327                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11328                 - (supplicant_iface_state_cb): new function, stub for handling
11329                         supplicant interface state changes
11330
11331         * src/nm-device-802-11-wireless.c
11332                 - (real_init): grab a supplicant interface
11333                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11334                 - (supplicant_iface_state_cb): new function, stub for handling
11335                         supplicant interface state changes
11336
11337         * src/NetworkManager.c
11338                 - (main): create and keep the supplicant manager around for the lifetime
11339                         of NetworkManager
11340
11341         * src/Makefile.am
11342                 - Link to the supplicant manager sub-library and use the supplicant
11343                         manager includes
11344
11345 2006-11-25  Dan Williams  <dcbw@redhat.com>
11346
11347         Rework DBus manager signal handling to be more flexible.  Previously,
11348         only one signal handler could be registered for a particular interface.
11349         The DBus manager now reference counts DBus bus matches and allows multiple
11350         clients to register signal handlers for the same interface and sender.
11351
11352         * src/NetworkManager.c
11353                 - (main): track NMI signal handler ID and remove it when we quit
11354
11355         * src/NetworkManagerMain.h
11356                 - Keep track of NMI signal handler ID
11357
11358         * src/nm-dbus-manager.c
11359           src/nm-dbus-manager.h
11360                 - rework signal handling; each signal handler references one signal
11361                         match, but a signal match may be referenced by one or more
11362                         signal handlers.  Matches are refcounted and are destroyed when the
11363                         last signal handler that references the match is removed.  This is
11364                         necessary because two signal handlers may end up requiring the same
11365                         dbus bus match, so the match must live until the last signal handler
11366                         is destroyed (for example, with the wpa_supplicant network interface
11367                         dbus interface).
11368
11369         * src/dhcp-manager/nm-dhcp-manager.c
11370                 - (nm_dhcp_manager_new): track DHCP signal handler id
11371                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11372
11373         * src/vpn-manager/nm-vpn-service.c
11374                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11375                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11376
11377 2006-11-25  Dan Williams  <dcbw@redhat.com>
11378
11379         Suggested by Helmut Schaa <hschaa@suse.de>
11380
11381         * src/vpn-daemons/nm-vpn-service.c
11382                 - (supplicant_child_setup): new function
11383                 - (supplicant_exec): make child process use a new process group id
11384
11385         * src/nm-device-802-11-wireless.c
11386                 - (nm_vpn_service_child_setup): new function
11387                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11388                         process group id
11389
11390 2006-11-19  Dan Williams  <dcbw@redhat.com>
11391
11392         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11393         * gnome/vpn-properties/nm-vpn-properties.c
11394                 - clean up after renamed VPN connection
11395
11396 2006-11-19  Dan Williams  <dcbw@redhat.com>
11397
11398         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11399         * gnome/applet/applet-dbus-vpn.c
11400                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11401
11402         * gnome/vpn-properties/nm-vpn-properties.c
11403                 - (init_app): sort VPN connections
11404
11405 2006-11-09  Dan Williams  <dcbw@redhat.com>
11406
11407         * src/NetworkManagerAPList.c
11408                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11409                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11410                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11411                 broke hidden SSID matching.  Found by Bill Moss.
11412
11413 2006-10-25  Dan Williams  <dcbw@redhat.com>
11414
11415         * src/nm-dbus-nm.c
11416                 - (nm_dbus_nm_set_active_device): return an empty success message on
11417                         success, rather than falling through to the error case.
11418
11419 2006-10-25  Dan Williams  <dcbw@redhat.com>
11420
11421         * src/NetworkManagerUtils.c
11422                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11423                         "SCAN" command
11424
11425 2006-10-24  Dan Williams  <dcbw@redhat.com>
11426
11427         Reduce the number of times the Gnome applet wakes up, especially when
11428         it's doing absolutely nothing and is hidden.  Initial patch by
11429         Chris Aillon.
11430
11431         * gnome/applet/applet-dbus.c
11432                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11433                         kill the redraw timeout.  When NM starts up, start the redraw
11434                         timeout.  Also, if we get kicked off the bus for some reason,
11435                         start the reconnection timeout if one's not already running.
11436                 - (nma_dbus_init): better handling of error conditions, don't leak
11437                         a half-initialized dbus connection
11438                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11439                         the applet's data, just call nm_dbus_init_helper()
11440                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11441                         timeout that calls nma_dbus_connection_watcher()
11442                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11443                         reconnection timeout, and don't start the reconnection timeout
11444                         unconditionally anymore
11445
11446         * gnome/applet/applet-dbus.h
11447                 - Expose nma_start_dbus_connection_watch()
11448
11449         * gnome/applet/applet.c
11450                 - (nma_update_state): no longer static, called from applet-dbus.c for
11451                         immediate UI updates on certain events
11452                 - (nma_set_running): new function; take over setting applet->running,
11453                         when not running (ie, NM is not active), don't activate the redraw
11454                         timeout because we're not showing the applet anyway.  When we are
11455                         running (ie, NM is active), and only when we're running, start the
11456                         redraw timeout.
11457                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11458                         kill any reconnection timeout
11459                 - (nma_get_instance): move one-off dbus initialization code here since
11460                         nm_dbus_init_helper() gets called more than once, possibly by the
11461                         reconnection timeout function too.  And, when we start up, if we
11462                         can't get a connection to the bus, start the reconnection timeout.
11463                         But don't start the redraw timeout yet, only do that when we get
11464                         NM's state and find out if it's running or not.
11465
11466         * gnome/applet/applet.h
11467                 - Add the reconnection GSource ID
11468                 - Add prototypes for nma_set_running() and the no-longer-static
11469                         nma_update_state()
11470
11471 2006-10-24  Dan Williams  <dcbw@redhat.com>
11472
11473         * src/vpn-daemons/nm-dbus-vpnc.c
11474                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11475                         pending call tracker
11476                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11477                         pending call tracker; register one-vpn-connection update pending
11478                         call in pending call tracker
11479                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11480                         update pending call in pending call tracker
11481                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11482                         update pending call in pending call tracker; don't block waiting
11483                         for call to return
11484
11485 2006-10-19  Robert Love  <rml@novell.com>
11486
11487         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11488           refresh the cache.
11489
11490 2006-10-14  Dan Williams  <dcbw@redhat.com>
11491
11492         * src/dhcp-manager/nm-dhcp-manager.c
11493                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11494                 the dbus connection and the device object path rather than
11495                 constructing it inside both functions.  Saves a bit of memory
11496                 and clarifies a failure path.
11497                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11498                 and allocate device path here rather than each of the two
11499                 functions above.
11500
11501 2006-10-13  Dan Williams  <dcbw@redhat.com>
11502
11503         * src/NetworkManager.c
11504                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11505                 this somehow droppout in the refactor
11506
11507 2006-10-13  Dan Williams  <dcbw@redhat.com>
11508
11509         * Huge DBus refactor:
11510                 - Create a "DBus Manager" object which manages the connection and
11511                 sends signals on NameOwnerChanged and connection/disconnection events,
11512                 handles reconnection to the bus if NM gets kicked off, and abstracts
11513                 signal handling
11514                 - Remove DBusConnection members from places where they are no
11515                 longer needed due to the refactor, like the dbus-connection
11516                 property of the named manager, and from NMData
11517                 - Reformats a bunch of the code to gnome style
11518                 (8-space tabs, braces on same line as statement, 80-col width).
11519                 Consider it open season to reformat any bits to gnome style.
11520                 style that aren't already.
11521
11522 2006-10-13  Dan Williams  <dcbw@redhat.com>
11523
11524         * src/supplicant-manager/Makefile.am
11525                 - Add new files
11526
11527         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11528                 - Make it a minimal GObject
11529
11530         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11531                 - Verify settings destined for wpa_supplicant
11532
11533         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11534                 - Minimal GObject to track wpa_supplicant controlled device
11535                 connections
11536
11537 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11538
11539         * gnome/applet/applet.c: (nma_update_info),
11540         (nma_act_stage_to_pixbuf), (nma_update_state):
11541         Mark missing strings for translation. Fixes bug #343306.
11542
11543 2006-10-01  Dan Williams  <dcbw@redhat.com>
11544
11545         * src/vpn-manager/nm-vpn-manager.c
11546                 - (nm_vpn_manager_load_services): split and clean up
11547                 for readability and correctness.  Restrict VPN service
11548                 files to ending in ".name", as was meant from the
11549                 beginning (but not coded in).  Better error reporting.
11550
11551 2006-10-01  Dan Williams  <dcbw@redhat.com>
11552
11553         * utils/nm-utils.h
11554                 - Clean up formatting of debug/info/warning log messages
11555
11556 2006-09-27  Robert Love  <rml@novell.com>
11557
11558         Patch by Tambet Ingo <tambet@ximian.com>:
11559         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11560           actually work.
11561
11562 2006-09-07  Dan Williams <dcbw@redhat.com>
11563
11564         * test/Makefile.am
11565           test/libnm-util/Makefile.am
11566           test/nm-supplicant-test.c
11567                 - Add test program emulating the way NM drives wpa_supplicant
11568                 to help debug supplicant issues
11569
11570 2006-08-24  Dan Williams <dcbw@redhat.com>
11571
11572         * configure.in
11573           src/Makefile.am
11574           src/supplicant-manager/Makefile.am
11575           src/supplicant-manager/nm-supplicant-manager.c
11576           src/supplicant-manager/nm-supplicant-manager.h
11577                 - Add skeleton bits of the wpa_supplicant manager
11578
11579 2006-08-24  Dan Williams <dcbw@redhat.com>
11580
11581         Patch from Ed Catmur:
11582         * src/NetworkManagerUtils.c
11583                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11584                 if netmask is 0 (Gnome #352634)
11585
11586 2006-08-17  Robert Love  <rml@novell.com>
11587
11588         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11589           package is now DBUS-enabled and listens for the NM signals.
11590
11591 2006-08-14  Dan Williams  <dcbw@redhat.com>
11592
11593         * Patch from Christian Persch <chpe gnome org>
11594         * configure.in
11595           po/LINGUAS
11596           vpn-daemons/openvpn/po/LINGUAS
11597           vpn-daemons/openvpn/configure.in
11598           vpn-daemons/pptp/po/LINGUAS
11599           vpn-daemons/pptp/configure.in
11600           vpn-daemons/vpnc/po/LINGUAS
11601           vpn-daemons/vpnc/configure.in
11602                 - Convert to LINGUAS method so translators don't have to modify
11603                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11604                 0.35 or higher
11605
11606 2006-08-14  Dan Williams  <dcbw@redhat.com>
11607
11608         Patch from Alex Smith <alex.extreme2@gmail.com>
11609         * configure.in
11610           src/backends/Makefile.am
11611           src/backends/NetworkManagerFrugalware.c
11612                 - Add support for Frugalware
11613
11614 2006-08-13  Dan Williams  <dcbw@redhat.com>
11615
11616         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11617         * src/nm-device-802-11-wireless.c
11618                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11619                 Gnome #346875
11620
11621 2006-08-13  Dan Williams  <dcbw@redhat.com>
11622
11623         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11624         * src/nm-ap-security.c
11625           src/nm-ap-security.h
11626                 - Add authentication_required bits for subclasses to specify whether
11627                 or not real authentication is required for connections, i.e. whether
11628                 the AP rejects us when an encryption key is wrong or not.
11629
11630         * src/nm-ap-security-wep.c
11631           src/nm-ap-security-wpa-eap.c
11632           src/nm-ap-security-wpa-psk.c
11633           src/nm-ap-security-leap.c
11634                 - Implement authentication_required appropriately for each method
11635
11636         * src/nm-device-802-11-wireless.c
11637                 - Be smarter about when to request a key; for example, using a wrong key
11638                 in WEP shared key mode previously just timed out and did not request
11639                 a new key
11640
11641 2006-08-13  Dan Williams  <dcbw@redhat.com>
11642
11643         * gnome/libnm_glib/libnm_glib.c
11644                 - dbus_connection_disconnect() -> dbus_connection_close() for
11645                 dbus >= 0.90
11646
11647 2006-08-07  Dan Williams  <dcbw@redhat.com>
11648
11649         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11650         * src/NetworkManagerSystem.c
11651                 - Respect specified MTU.  Gnome #344967
11652
11653 2006-08-07  Dan Williams  <dcbw@redhat.com>
11654
11655         * src/vpn-manager/nm-vpn-service.c
11656                 - Simplify print_vpn_config() arguments
11657
11658         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11659         * src/vpn-manager/Makefile.am
11660           src/vpn-manager/nm-vpn-service.c
11661                 - Add new API for passing VPN config options as a dict. Gnome #344967
11662
11663 2006-08-06  Dan Williams  <dcbw@redhat.com>
11664
11665         * gnome/applet/applet-dbus-devices.c
11666           gnome/applet/applet-dbus-vpn.c
11667           gnome/applet/applet-dbus.c
11668           gnome/applet/applet-dbus.h
11669           src/nm-dbus-nmi.c
11670           utils/nm-utils.c
11671           utils/nm-utils.h
11672                 - Make pending call tracking code generic,
11673                 so we can use it in NM as well as the applet
11674
11675 2006-08-06  Dan Williams  <dcbw@redhat.com>
11676
11677         * src/nm-activation-request.c
11678                 - Refcount pending call objects
11679
11680 2006-08-06  Dan Williams  <dcbw@redhat.com>
11681
11682         Patch from Christan Chiesa <christanc@gmail.com>
11683         * configure.in
11684                 - Tell sha1.c to use bigendian mode on PPC
11685
11686 2006-08-04  Robert Love  <rml@novell.com>
11687
11688         Glib Memory Slices!
11689         * configure.in: Require glib 2.10 or later.
11690         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11691           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11692           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11693           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11694           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11695           Memory Slices are the greatest thing since bread slices.
11696         * src/NetworkManagerAP.c: Also, fix memory leak.
11697
11698 2006-08-01  Robert Love  <rml@novell.com>
11699
11700         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11701
11702 2006-07-31  Robert Love  <rml@novell.com>
11703
11704         * src/backends/interface_parser.c: Declarations must begin the block.
11705
11706 2006-07-24  Dan Williams  <dcbw@redhat.com>
11707
11708         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11709         * src/backends/Makefile.am
11710           src/backends/NetworkManagerArch.c
11711           src/backends/NetworkManagerDebian.c
11712           src/backends/NetworkManagerGeneric.c
11713           src/backends/NetworkManagerGeneric.h
11714           src/backends/NetworkManagerGentoo.c
11715           src/backends/NetworkManagerPaldo.c
11716           src/backends/NetworkManagerRedHat.c
11717           src/backends/NetworkManagerSlackware.c
11718           src/backends/NetworkManagerSuSE.c
11719                 - Genericize common backend functions
11720
11721 2006-07-18  Robert Love  <rml@novell.com>
11722
11723         * configure.in: Add "--with-notify" option to allow disabling of
11724           libnotify support.
11725
11726 2006-07-13  Dan Williams  <dcbw@redhat.com>
11727
11728         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11729         * gnome/applet/applet.glade
11730           gnome/applet/Makefile.am
11731           gnome/applet/nm-gconf-wso.c
11732           gnome/applet/nm-gconf-wso-leap.c
11733           gnome/applet/nm-gconf-wso-leap.h
11734           gnome/applet/wireless-security-manager.c
11735           gnome/applet/wso-leap.c
11736           gnome/applet/wso-leap.h
11737           include/NetworkManager.h
11738           libnm-util/dbus-helpers.c
11739           libnm-util/dbus-helpers.h
11740           src/Makefile.am
11741           src/NetworkManagerAP.c
11742           src/nm-ap-security.c
11743           src/nm-ap-security-leap.c
11744           src/nm-ap-security-leap.h
11745                 - Add LEAP authentication support
11746
11747 2006-07-13  Dan Williams  <dcbw@redhat.com>
11748
11749         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11750         * configure.in
11751           src/backends/NetworkManagerArch.c
11752           src/backends/NetworkManagerDebian.c
11753           src/backends/NetworkManagerGentoo.c
11754           src/backends/NetworkManagerPaldo.c
11755           src/backends/NetworkManagerRedHat.c
11756           src/backends/NetworkManagerSlackware.c
11757           src/backends/NetworkManagerSuSE.c
11758                 - Convert hardcoding of 'ip' path to configure-time
11759                         detected one
11760
11761 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11762
11763         * configure.in: added ru to ALL_LINGUAS
11764
11765 2006-07-10  Dan Williams  <dcbw@redhat.com>
11766
11767         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11768         * src/nm-device.c
11769                 - (real_act_stage3_ip_config_start): don't infinite loop when
11770                         dhcdbd isn't running (Gnome #346845)
11771
11772 2006-07-09  Dan Williams  <dcbw@redhat.com>
11773
11774         * gnome/applet/applet.c
11775                 - (nma_destroy): don't pass NULL to notify_notification_close
11776                         (RH #197917)
11777
11778 2006-07-09  Dan Williams  <dcbw@redhat.com>
11779
11780         * gnome/applet/applet.c
11781                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11782
11783 2006-07-04  Tor Krill  <tor@krill.nu>
11784
11785         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11786         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11787         (nm_system_restart_mdns_responder), (ArchReadConfig),
11788         (nm_system_device_get_system_config):
11789                 - Explicitly check for DHCP configuration
11790                 - Check if daemons are running before starting them
11791
11792 2006-06-25  Dan Williams  <dcbw@redhat.com>
11793
11794         * libnm-util/dbus-dict-helpers.[ch]
11795           test/libnm-util/test-dbus-dict-helpers.c
11796                 - Add string array support
11797
11798 2006-06-24  Dan Williams  <dcbw@redhat.com>
11799
11800         * src/dhcp-manager/nm-dhcp-manager.c
11801                 - (nm_dhcp_manager_process_signal): clean up spacing
11802
11803 2006-06-21  Dan Williams  <dcbw@redhat.com>
11804
11805         * src/nm-dbus-device.c
11806                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11807                         through dbus
11808
11809 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11810
11811         * configure.in: Added 'lv' to ALL_LINGUAS
11812
11813 2006-06-19  Dan Williams  <dcbw@redhat.com>
11814
11815         * src/NetworkManagerAP.c
11816                 - Clarify usage of user_created
11817
11818         * src/nm-ap-security-wep.c
11819           src/nm-ap-security-wpa-eap.c
11820           src/nm-ap-security-wpa-psk.c
11821           src/nm-ap-security.c
11822           src/nm-ap-security.h
11823                 - s/user_created/adhoc, because we really do mean adhoc
11824
11825         Patch from Bernard Blackham <bernard@blackham.com.au>
11826         * src/nm-device-802-11-wireless.c         
11827                 - (supplicant_send_network_config): instead of user_created,
11828                         use adhoc, and do AP_SCAN 2 for adhoc networks
11829
11830 2006-06-18  Robert Love  <rml@novell.com>
11831
11832         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11833           we have a value to set.  Gconf generates a warning if `val' is NULL.
11834         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11835           unless we actually received a valid private key file passphrase or
11836           password.  Otherwise, we don't know to later ask the applet to pull
11837           the key from the keyring.
11838
11839 2006-06-17  Dan Williams  <dcbw@redhat.com>
11840
11841         * libnm-util/dbus-dict-helpers.[ch]
11842           test/libnm-util/test-dbus-dict-helpers.c
11843                 - Fixes for zero-length byte arrays
11844                 - Replace return values of 0 with FALSE for clarity
11845                 - Test zero-length byte arrays
11846
11847 2006-06-17  Dan Williams  <dcbw@redhat.com>
11848
11849         * libnm-util/dbus-dict-helpers.[ch]
11850           test/libnm-util/test-dbus-dict-helpers.c
11851                 - Add helpers for byte arrays
11852                 - Rework bits of the testcase
11853
11854 2006-06-16  Dan Williams  <dcbw@redhat.com>
11855
11856         * libnm-util/Makefile.am
11857         * libnm-util/dbus-dict-helpers.[ch]
11858                 - Add some helpers to take the pain out of using dict types in
11859                         dbus.
11860
11861         * test/libnm-util/Makefile.am
11862         * test/libnm-util/test-dbus-dict-helpers.c
11863                 - Test cases for the dict helper functions
11864
11865 2006-06-15  Robert Love  <rml@novell.com>
11866
11867         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11868           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11869           if there is no key to pass.
11870         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11871           receiving a non-NULL key.
11872
11873 2006-06-14  Robert Love  <rml@novell.com>
11874
11875         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11876           copy the strings.
11877
11878
11879 2006-06-14  Dan Williams  <dcbw@redhat.com>
11880
11881         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11882         * src/nm-device-802-11-wireless.c
11883                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11884                         or ones where the driver is unknown
11885                 - (supplicant_exec): don't wait for supplicant startup here
11886                 - (supplicant_interface_init): finer grained polling for supplicant
11887                         startup
11888
11889 2006-06-13  Robert Love  <rml@novell.com>
11890
11891         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11892           if it is currently set to TRUE.  Otherwise, we will reset the value
11893           when we connect normally.
11894         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11895           the old BSSID is valid, too.  The recently added ESSID check may not be
11896           sufficient (we can remove it?).  What we really want to catch is the
11897           case of going from all-zeros to the BSSID of some other network, which
11898           happens on failure.
11899
11900 2006-06-09  Dan Williams  <dcbw@redhat.com>
11901
11902         * src/NetworkManagerSystem.[ch]
11903                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11904                         it was unused and pointless
11905                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11906                         fix for set_up_down_with_iface change
11907
11908         * src/vpn-manager/nm-vpn-connection.c
11909                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11910
11911         * src/backends/NetworkManagerPaldo.c
11912           src/backends/NetworkManagerRedHat.c
11913           src/backends/NetworkManagerSuSE.c
11914           src/backends/NetworkManagerArch.c
11915           src/backends/NetworkManagerDebian.c
11916           src/backends/NetworkManagerGentoo.c
11917                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11918                         appropriate
11919                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11920                         where appropriate
11921
11922 2006-06-09  Dan Williams  <dcbw@redhat.com>
11923
11924         Patch from Peter Jones:
11925         * src/nm-device-802-11-wireless.c
11926                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11927                         SSID hasn't changed from what we expect before automatically
11928                         updating the saved BSSID from a new AP
11929
11930 2006-06-08  Robert Love  <rml@novell.com>
11931
11932         Add 'fallback' support.  NetworkManager will attempt to brute-force
11933         connect to networks marked as fallback if there are no better wireless
11934         connections available.  This is useful as a method of last resort, to
11935         work around driver problems, and for use with hidden networks.
11936         * gnome/applet/applet-dbus-devices.c,
11937           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11938         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11939           pass it on via DBUS.
11940         * gnome/applet/applet.c: No fallback by default.
11941         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11942           Update other-network-dialog to add UI checkbox toggling fallback.
11943         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11944           propery from AP object.  Add "fallback" property to AP object.
11945         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11946         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11947         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11948           separate function.  Add get_best_fallback_ap() for returning an AP
11949           on which to attempt fallback.
11950         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11951         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11952
11953 2006-06-07  Robert Love  <rml@novell.com>
11954
11955         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11956           checked that the return type was GCONF_VALUE_STRING, not the correct
11957           GCONF_VALUE_BOOL, and thus it never worked.
11958         * src/NetworkManagerAPList.c: Before concluding that two networks are
11959           identical based on their BSSID, make sure that the BSSID in question
11960           is actually valid.  Specifically, an empty or all zero BSSID does not
11961           cut it.
11962         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11963           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11964           similar invariant clean up.
11965
11966 2006-06-02  Robert Love  <rml@novell.com>
11967
11968         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11969
11970 2006-05-28  Dan Williams  <dcbw@redhat.com>
11971
11972         * gnome/applet/applet.glade
11973           gnome/vpn-properties/nm-vpn-properties.glade
11974                 - Set window icons on dialogs  (Gnome.org #333420)
11975
11976 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11977
11978         * gnome/vpn-properties/nm-vpn-properties.glade:
11979         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11980         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11981         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11982                 - Make the VPN properties pages prettier and more HIG
11983                   compliant. Gnome Bug #336913.
11984
11985 2006-05-28  Dan Williams  <dcbw@redhat.com>
11986
11987         Patch from Christian Persch <chpe@gnome.org>
11988         * gnome/vpn-properties/nm-vpn-properties.c
11989         * gnome/vpn-properties/nm-vpn-properties.glade
11990                 - HIG-ification love  (Gnome.org #336846)
11991
11992 2006-05-28  Dan Williams  <dcbw@redhat.com>
11993
11994         Patch from Christian Persch <chpe@gnome.org>
11995         * configure.in
11996           gnome/vpn-properties/nm-vpn-properties.c
11997                 - (main): Fix option parsing.  Gnome.org #336847
11998
11999 2006-05-28  Dan Williams  <dcbw@redhat.com>
12000
12001         * gnome/vpn-properties/nm-vpn-properties.c
12002                 - (find_vpn_ui_by_service_name): protect against NULL service names
12003                 - (update_edit_del_sensitivity): protect against NULL service names
12004                         Gnome.org #341306
12005
12006 2006-05-28  Dan Williams  <dcbw@redhat.com>
12007
12008         Patch from Chris Fuller <crf@grandecom.net>:
12009         * src/nm-device-802-11-wireless.c
12010                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12011                         don't dispose of wireless-specific stuff unless it is actually
12012                         initialized.  Gnome.org #341263
12013
12014 2006-05-28  Dan Williams  <dcbw@redhat.com>
12015
12016         * src/NetworkManagerPolicy.c
12017                 - (nm_policy_device_change_check): don't switch devices if the "best"
12018                         AP is essentially the same as the current activation request, but
12019                         the current activation request isn't done activating yet.  Fixes
12020                         multiple requests for keyring password on startup for Gnome applet.
12021                         Gnome.org #341297
12022
12023 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
12024
12025         * src/NetworkManager.c: use GOptions instead of getopt
12026         * configure.in: bump glib required version to >= 2.6 for GOption
12027           support
12028
12029 2006-05-25  Robert Love  <rml@novell.com>
12030
12031         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12032           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
12033           instead of dumping ifdef's throughout the code.
12034         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12035           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12036           use nm_ioctl_info() in lieu.
12037
12038 2006-05-25  Robert Love  <rml@novell.com>
12039
12040         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12041         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12042           not using gcrypt.  Otherwise, we get a linker error.
12043
12044 2006-05-25  Robert Love  <rml@novell.com>
12045
12046         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12047         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12048           configure flag to disable building of the GNOME-based applet.
12049
12050 2006-05-25  Robert Love  <rml@novell.com>
12051
12052         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12053           parameter from link, because it shadows a global variable with some
12054           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
12055           should never have exported to the entire system a common four letter
12056           word.  But we here at NetworkManager are team players.  Fixes
12057           GNOME bug #336532.
12058
12059 2006-05-25  Arangel Angov <ufo@linux.net.mk>
12060
12061         * configure.in: Added mk.po, Macedonian translation.
12062
12063 2006-05-24  Robert Love  <rml@novell.com>
12064
12065         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12066           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12067           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12068
12069 2006-05-24  Robert Love  <rml@novell.com>
12070
12071         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12072           libnm-util/Makefile.am, src/Makefile.am,
12073           vpn-daemons/openvpn/auth-dialog/Makefile.am,
12074           vpn-daemons/openvpn/properties/Makefile.am,
12075           vpn-daemons/pptp/auth-dialog/Makefile.am,
12076           vpn-daemons/pptp/properties/Makefile.am,
12077           vpn-daemons/vpnc/auth-dialog/Makefile.am,
12078           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12079           user passed for --datadir, if anything, when setting the GNOME locale
12080           directory.  It should be a function of the specified datadir and not
12081           the prefix.
12082
12083 2006-05-24  Robert Love  <rml@novell.com>
12084
12085         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12086           src/NetworkManager.c: Take care to call bindtextdomain with the
12087           location of msgid files.
12088         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12089           files.
12090
12091 2006-05-22  Robert Love  <rml@novell.com>
12092
12093         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12094           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12095           99% of the time there is a real problem with wireless, and a
12096           seemingly successful connection via Zeroconf just confuses the user.
12097           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12098
12099 2006-05-22  Robert Love  <rml@novell.com>
12100
12101         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12102           autofs on interface up if NIS is configured.  On interface down, do
12103           nothing.
12104
12105 2006-05-22  Robert Love  <rml@novell.com>
12106
12107         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12108           to avoid calling g_object_unref() on stale pointers on error in
12109           nma_icons_free().  This happens because we short-circuit loaded the
12110           icons on the first failure but then free all icons.  Normally we have
12111           no issue because the icons were zero'ed out malloc, but we have stale
12112           pointer data after nma_icon_theme_changed().
12113         * gnome/applet/main.c: Return error code if nma_new() failed.
12114
12115 2060-05-21  Dan Williams  <dcbw@redhat.com>
12116
12117         * initscript/NetworkManager.in
12118                 - Ensure both dhcdbd and named are started before NM
12119
12120 2006-05-21  Dan Williams  <dcbw@redhat.com>
12121
12122         * configure.in
12123                 - Bump version to 0.7 to signify we are in 0.7 development
12124
12125 2006-05-21  Dan Williams  <dcbw@redhat.com>
12126
12127         Patch from Adam Schreiber <sadam@clemson.edu>
12128         * gnome/vpn-properties/nm-vpn-properties.c
12129                 - (main): correct Gnome program name  (gnome.org #342498)
12130
12131 2006-05-21  Dan Williams  <dcbw@redhat.com>
12132
12133         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12134
12135         * src/NetworkManagerDbus.[ch]
12136                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12137                         clarify that function's argument should be an escaped dbus object
12138                         path, and look for path segment end before returning a match
12139         * src/nm-dbus-nm.c:
12140                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12141
12142 2006-05-17  Robert Love  <rml@novell.com>
12143
12144         Functionality to differentiate Ad-Hoc networks from infrastructure
12145         networks in the applet, by displaying a special icon:
12146         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12147         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12148         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12149           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12150           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12151           networks, encrypted or not.
12152         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12153           accessor functions to get and set the mode of a given network,
12154           wireless_network_get_mode() and wireless_network_set_mode().
12155
12156 2006-05-17  Robert Love  <rml@novell.com>
12157
12158         Functionality to automatically add BSSIDs to the allowed-MAC list as
12159         one roams from access point to access point on a given network:
12160         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12161           helper function to compare two ether_addr structures and return TRUE
12162           if they contain the same MAC address.
12163         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12164           prototype.
12165         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12166           stored with the current AP.  If the BSSID has indeed changed, we
12167           send it out to the applet, allowing the allowed-MAC list to grow
12168           automatically in response to roaming.
12169
12170 2006-05-16  Robert Love  <rml@novell.com>
12171
12172         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12173           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12174
12175 2006-05-13  Dan Williams  <dcbw@redhat.com>
12176
12177         * src/nm-device-802-3-ethernet.c
12178                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12179                         carrier detect (Debian bug #366373)
12180
12181 2006-05-11  Dan Williams  <dcbw@redhat.com>
12182
12183         Patch from Michael Biebl <biebl@teco.edu>
12184         * src/backends/NetworkManagerDebian.c
12185                 - Debian backend fixups
12186
12187 2006-05-10  Robert Love  <rml@novell.com>
12188
12189         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12190
12191 2006-05-09  Robert Love  <rml@novell.com>
12192
12193         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12194           private certificate passphrase, if any, in the GNOME Keyring.
12195         * libnm-utils/dbus-helpers.c: Update.
12196
12197 2006-05-05  Dan Williams  <dcbw@redhat.com>
12198
12199         * src/nm-device-802-11-wireless.c
12200                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12201                         nm_device_802_11_wireless_disable_encryption() since that's all
12202                         we use it for anymore; we don't ever set WEP keys ourselves.
12203                 - (real_deactivate_quickly): reset SSID and encryption keys
12204                 - (real_deactivate): move SSID and encryption key reset to
12205                         real_deactivate_quickly(), which gets run before us anyway
12206
12207 2006-05-05  Robert Love  <rml@novell.com>
12208
12209         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12210           root has a wacky default of its own (or, more common, a user has a
12211           bad umask and uses su/sudo to restart NetworkManager).  Anything
12212           other than 0022 does not do what we want with, for example,
12213           resolv.conf.  This problem is amplified by our judicious use of
12214           fopen(), which uses mode 0666 -- implying that the only way to get
12215           the permissions we want is with a umask of 0022.
12216
12217 2006-05-05  Dan Williams  <dcbw@redhat.com>
12218
12219         * gnome/libnm_glib/libnm_glib.c
12220                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12221                         to reconnect; instead wait a bit more with each reconnect attempt
12222                         up to a max of one minute.
12223
12224 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12225
12226         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12227           the WirelessNetwork structure using the proper function instead of
12228           just casting it directly to (const char *) (gnome.org #336991)
12229
12230 2006-05-03  Robert Love  <rml@novell.com>
12231
12232         * src/backends/NetworkManagerSuSE.c: Respect the variable
12233           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12234           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12235           to dynamically update /etc/resolv.conf.
12236
12237 2006-05-02  Peter Jones  <pjones@redhat.com>
12238
12239         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12240
12241 2006-05-02  Robert Love  <rml@novell.com>
12242
12243         Patch by Timo Hoenig;
12244         * tests/nm-online.c: Print pretty status indicator as timeout winds
12245           down.  Also fix possible race between DBUS startup and failure
12246           return.
12247
12248 2006-05-01  Robert Love  <rml@novell.com>
12249
12250         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12251           empty, too.
12252
12253 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12254
12255         * src/nm-device.c (discover_device_type): Actually use the hal
12256         device type instead of ioctl poking
12257
12258 2006-04-26  Robert Love  <rml@novell.com>
12259
12260         * tests/nm-online.c: New file.  Simple utility that returns exit status
12261           noting whether the connection is offline or online.  If offline on
12262           start, it waits 30 seconds (or a command-line given value) for an
12263           online signal.  If it times out, it again returns offline.  This is
12264           useful for scripts that want to wait for network connections.
12265
12266 2006-04-25  Robert Love  <rml@novell.com>
12267
12268         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12269           key mode (the authentication algorithm), e.g. open or shared, when we
12270           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12271           only shared was broken.  If the user specified a shared key, set it
12272           explicitly, otherwise let wpa_supplicant go with the default.
12273
12274 2006-04-24  Dan Williams  <dcbw@redhat.com>
12275
12276         * src/nm-device-802-11-wireless.c
12277                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12278
12279 2006-04-24  Dan Williams  <dcbw@redhat.com>
12280
12281         Commit the async scanning patch
12282
12283         * src/nm-device-802-11-wireless.c
12284                 - get rid of scan_mutex
12285                 - (wireless_event_helper): act on wireless scan events
12286                 - (real_start): schedule a pending scan
12287                 - (link_to_specific_ap): fake the link to the AP during a scan
12288                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12289                         strength during scans
12290                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12291                         nm_device_set_bitrate): unused with new scanning code, disable
12292                 - (nm_device_wireless_schedule_scan): removed
12293                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12294                 - (request_and_convert_scan_results): new function; retrieve scan
12295                         results from the driver and schedule the processing function
12296                 - (scan_results_timeout): timeout triggered when card doesn't send
12297                         a scan results wireless event during a certain interval
12298                 - (schedule_scan_results_timeout): new function; schedule the scan
12299                         results timeout
12300                 - (cancel_scan_results_timeout): new function; cancel the scan
12301                         results timeout
12302                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12303                         to do the scanning.  Otherwise, just request a scan but don't
12304                         grab results here; instead schedule a timeout for scan results and
12305                         let netlink notify us of scan completion events
12306                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12307                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12308                 - (supplicant_status_cb): ignore disconnect events while scanning
12309                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12310                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12311                         timeouts
12312                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12313
12314 2006-04-24  Dan Williams  <dcbw@redhat.com>
12315
12316         * gnome/applet/applet-dbus.c
12317                 - Disable the pending call debug stuff, seems under control now
12318
12319 2006-04-20  Robert Love  <rml@novell.com>
12320
12321         Fix bug where hidden ESSID's would not show up in the applet, even
12322         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12323         because nm_policy_device_list_update_from_allowed_list() would merge
12324         the data, putting a name to the hidden networks, but never notify NMI
12325         of the changes.  Simple fix is to invoke the function
12326         nm_dbus_signal_wireless_network_change() if we make a mapping.
12327         * src/NetworkManagerAPList.c: Call the function
12328           nm_dbus_signal_wireless_network_change() if we made a successful
12329           BSSID to ESSID mapping, notifying the applet of the "new" network.
12330         * src/NetworkManagerAPList.h: Update the prototypes for both
12331           nm_ap_list_copy_essids_by_address() and
12332           nm_ap_list_copy_one_essid_by_address().
12333
12334 2006-04-20  Robert Love  <rml@novell.com>
12335
12336         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12337           not set.  Just return zero.
12338
12339 2006-04-20  Robert Love  <rml@novell.com>
12340
12341         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12342           only one copy of nm-vpn-properties is running at a time via the 'ol
12343           X selection trick.  This prevents the user from opening two "VPN
12344           Connections" windows from within the applet, which leads to mass
12345           hysteria.
12346         * clipboard.c: New file, implementing simple X selection logic.
12347         * clipboard.h: New file.
12348         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12349
12350 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12351
12352         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12353         * configure.in
12354           initscript/Gentoo/Makefile.am
12355           initscript/Gentoo/NetworkManagerDispatcher.in
12356                 - New script
12357         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12358           Gentopia
12359
12360 2006-04-16  Dan Williams  <dcbw@redhat.com>
12361
12362         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12363         * configure.in
12364           initscript/Slackware/Makefile.am
12365           initscript/Slackware/rc.networkmanager-dispatcher.in
12366           initscript/Slackware/rc.networkmanager.in
12367                 - Update slackware initscripts
12368
12369 2006-04-10  Robert Love  <rml@novell.com>
12370
12371         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12372           the "delete_event" signal on the druid's parent window and handle it
12373           our way, lest using the WM to close the druid results in a series of
12374           bloody and ultimately lethal errors.
12375
12376 2006-04-10  Robert Love  <rml@novell.com>
12377
12378         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12379           'Back' too or else the 'Forward' option is initially disabled despite
12380           valid input.
12381
12382 2006-04-06  Robert Love  <rml@novell.com>
12383
12384         Fix bad but simple bug where an active modem connection did not update
12385         NM's connection state, breaking any app that did online/offline:
12386         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12387           represented whether a dial up connection is active, or not.
12388         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12389           to modem activation and deactivation.
12390         * src/NetworkManagerDbus.c: When asked our state, do not return
12391           disconnected if the modem is active.
12392
12393 2006-04-04  Robert Love  <rml@novell.com>
12394
12395         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12396           applet.  It just confuses the crap out of people and does not make a
12397           lot of sense, as the daemon still runs.
12398
12399 2006-04-02  Tor Krill  <tor@krill.nu>
12400
12401         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12402           in start of service.
12403         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12404           get Archlinux backend up to date.
12405
12406 2006-03-29  Robert Love  <rml@novell.com>
12407
12408         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12409         to add support for per-route MSS and improve support for per-interface
12410         MTU:
12411         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12412           optionally take an MSS parameter and set it for the given route.
12413           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12414           NMIP4Config's stored MSS, if any.
12415         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12416           the interface's MTU and the route's MSS, respectively.  Add functions
12417           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12418           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12419           MSS.
12420         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12421           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12422           nm_ip4_config_set_mss.
12423         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12424           VPN daemon.
12425         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12426           Change the retval of nm_system_get_mtu to guint32.
12427         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12428           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12429           servers can specify MTU's, we should set it here if the MTU was not
12430           provided.
12431
12432 2006-03-27  Jürg Billeter  <j@bitron.ch>
12433
12434         * configure.in:
12435         * initscript/Makefile.am:
12436         * initscript/paldo/Makefile.am:
12437         * initscript/paldo/NetworkManager.in:
12438         * initscript/paldo/NetworkManagerDispatcher.in:
12439         * src/backends/Makefile.am:
12440         * src/backends/NetworkManagerPaldo.c:
12441                 - Add paldo support
12442
12443 2006-03-27  Dan Williams  <dcbw@redhat.com>
12444
12445         Patch from Christian Persch <chpe@gnome.org>
12446         * gnome/applet/applet.glade
12447                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12448
12449 2006-03-27  Dan Williams  <dcbw@redhat.com>
12450
12451         Patch from Diffe <diffie@blazebox.homeip.net>
12452         * src/backends/NetworkManagerSlackware.c
12453                 - Don't restart howl, since it's been replaced by Avahi
12454                         in most distributions
12455
12456 2006-03-27  Dan Williams  <dcbw@redhat.com>
12457
12458         Patch from Tor Krill <bugzilla@krill.nu>
12459         * configure.in
12460           initscript/Makefile.am
12461           src/backends/Makefile.am
12462           src/backends/NetworkManagerArch.c
12463           initscript/Arch/Makefile.am
12464           initscript/Arch/networkmanager-dispatcher.in
12465           initscript/Arch/networkmanager.in
12466                 - Add Arch Linux support, fixes gnome.org #335147
12467
12468 2006-03-27  Dan Williams  <dcbw@redhat.com>
12469
12470         Patch from Diffe <diffie@blazebox.homeip.net>
12471      * initscript/Slackware/rc.networkmanager
12472         - update, fixed gnome.org #333368
12473
12474 2006-03-27  Robert Love  <rml@novell.com>
12475
12476         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12477           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12478
12479 2006-03-27  Robert Love  <rml@novell.com>
12480
12481         Patch by Jürg Billeter <j@bitron.ch>:
12482         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12483           systems.
12484         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12485           as we prefer glibc over kernel headers, if possible.
12486
12487 2006-03-27  Robert Love  <rml@novell.com>
12488
12489         Patch by Jon Escombe <list@dresco.co.uk>:
12490         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12491         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12492           fail, don't bail out.  We don't expect all of the various WPA-EAP
12493           values to be present.
12494         * src/nm-ap-security.c: We need to match all capabilities for each
12495           encryption type, not any one of them.
12496
12497 2006-03-27  Robert Love  <rml@novell.com>
12498
12499         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12500           restart, not reload, ypbind.  Unfortunately there is no superior
12501           solution.
12502
12503 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12504
12505         * gnome/applet/applet-notifications.c:
12506         When displaying a notification, make sure to get rid of the
12507         previous notification so as to not have competing bubbles,
12508         and stop leaking the old one.
12509
12510         * gnome/applet/applet.c:
12511         * gnome/applet/applet.h:
12512         Add a new 'notification' member to the applet, and zero it out
12513         and free it appropriately.
12514
12515 2006-03-23  Robert Love  <rml@novell.com>
12516
12517         Patch by j <j@bootlab.org>:
12518         * gnome/applet/applet.glade: Don't set the invisible_char property,
12519           which simply overrides the GTK default.  By and by, this behavior
12520           ought to be fixed in Glade.
12521
12522 2006-03-22  Robert Love  <rml@novell.com>
12523
12524         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12525
12526 2006-03-22  Robert Love  <rml@novell.com>
12527
12528         Bug fix by Timo Hoenig <thoenig@suse.de>:
12529         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12530           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12531           and the applet going AWOL.
12532
12533 2006-03-22  Robert Love  <rml@novell.com>
12534
12535         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12536           preprocessor define and use it instead of open-coded the DHCP
12537           timeout, which is currently 25 seconds, everywhere.
12538
12539 2006-03-22  Robert Love  <rml@novell.com>
12540
12541         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12542         key exchange via WPA, ostensibly providing good security without
12543         requiring hardware that supports full WPA.  Also, add UI elements to
12544         allow the user to select the pairwise & group cipher for WPA Enterprise
12545         networks, too:
12546         * gnome/applet/applet.glade: Update glade file.
12547         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12548           key type, too, to and from gconf.
12549         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12550           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12551           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12552           the capabilities match.
12553         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12554           prototype.
12555         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12556           serialize from UI to DBUS.
12557         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12558           one element.
12559         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12560           nmu_security_serialize_wpa_eap_with_cipher(), and
12561           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12562           serialize/deserialize the key type via DBUS as the new third DBUS
12563           parameter.
12564         * libnm-util/dbus-helpers.h: Update prototypes.
12565         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12566           too.  If the key type is WEP104, do Dynamic WEP, which means
12567           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12568           pairwise and group ciphers (fixes a FIXME).
12569
12570 2006-03-21  Robert Love  <rml@novell.com>
12571
12572         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12573           nm_system_get_mtu(), which returns a user-provided or system-mandated
12574           MTU value for a given device, if any, or zero if no such value
12575           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12576           if we have a provided value.
12577         * src/nm-device.c: Set the MTU of devices.
12578         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12579         * src/backends/NetworkManagerDebian.c,
12580           src/backends/NetworkManagerGentoo.c,
12581           src/backends/NetworkManagerRedHat.c,
12582           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12583
12584 2006-03-21  Robert Love  <rml@novell.com>
12585
12586         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12587           configuration file.
12588
12589 2006-03-17  Robert Love  <rml@novell.com>
12590
12591         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12592           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12593           it, in case it is not running in the first place.  We just want its
12594           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12595
12596 2006-03-15  Robert Love  <rml@novell.com>
12597
12598         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12599           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12600           label "WEP 40/128-bit" is inconsistent because the physical key size
12601           is 40 or 104-bits, to which a 24-bit initialisation vector is
12602           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12603           to read "40/104" or "64/128".  I do not care much which, but most
12604           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12605           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12606           WEP passphrase support only handles 128-bit keys, and any future
12607           64-bit passphrase support will require a new option (no way to auto-
12608           detect the target key size), explicitly label our passphrase support
12609           "WEP 128-bit Passphrase".
12610
12611 2006-03-15  Robert Love  <rml@novell.com>
12612
12613         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12614           the system init scripts (or some other mechanism) starting it (or a
12615           compatible DBUS service) before NetworkManager runs.  This means that
12616           distributions might need to update their init scripts.  This fixes
12617           possible races and is quite a bit cleaner.
12618         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12619           starting the NetworkManager daemon.
12620
12621
12622 2006-03-14  Robert Love  <rml@novell.com>
12623
12624         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12625           before adding anything.
12626
12627 2006-03-13  Robert Love  <rml@novell.com>
12628
12629         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12630           widgets, too, if they exist, in case the user hit the back button.
12631           Fixes a bug where the details page contains the widgets of multiple
12632           VPN modules (Novell bug #157048).
12633
12634 2006-03-13  Robert Love  <rml@novell.com>
12635
12636         Patch by Timo Hoenig <thoenig@suse.de>:
12637         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12638           daemon survive DBUS restarts, too.
12639
12640 2006-03-10  Robert Love  <rml@novell.com>
12641
12642         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12643           passphrase or key.
12644         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12645           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12646           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12647           in response to "toggled" signal on new toggle.
12648
12649 2006-03-10  Robert Love  <rml@novell.com>
12650
12651         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12652           serialization if strings are NULL, lest DBUS get angry.
12653
12654 2006-03-10  Robert Love  <rml@novell.com>
12655
12656         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12657
12658 2006-03-09  Robert Love  <rml@novell.com>
12659
12660         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12661           configurations.
12662
12663 2006-03-09  Dan Williams  <dcbw@redhat.com>
12664
12665         Track pending call requests in the applet, and report how many are
12666         outstanding, and how long each completed one takes.
12667         
12668         * gnome/applet/applet-dbus-devices.c
12669           gnome/applet/applet-dbus-vpn.c
12670                 - Track pending calls
12671
12672         * gnome/applet/applet-dbus.[ch]
12673                 - Remove some unused enums
12674                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12675                         new functions to track dbus pending calls and spit out some
12676                         statistics about them
12677
12678 2006-03-09  Robert Love  <rml@novell.com>
12679
12680         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12681           nm_ap_set_timestamp() take the second and micro-second parameters as
12682           direct arguments, which avoids both a dynamic memory allocation and a
12683           structure-to-structure copy!  Add a new interface, the aptly named
12684           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12685           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12686           the return from nm_ap_get_timestamp().  New users should use the new
12687           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12688           the extreme benefit to performance.
12689         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12690           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12691
12692 2006-03-08  Robert Love  <rml@novell.com>
12693
12694         * gnome/applet/applet.glade: Hide the password entry text with
12695           asterisks.
12696
12697 2006-03-08  Robert Love  <rml@novell.com>
12698
12699         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12700           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12701           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12702           a second argument, NMData.
12703         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12704         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12705           config files as trusted.
12706
12707 2006-03-06  Robert Love  <rml@novell.com>
12708
12709         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12710         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12711           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12712           Rivera, detect if the applet was auto-started.  If so, ask the user
12713           if he or she would like to stop automatically running the applet on
12714           login.  If so, disable autostart.
12715
12716 2006-03-06  Robert Love  <rml@novell.com>
12717
12718         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12719           directory in CFLAGS so developers can actually use NetworkManager.h.
12720
12721 2006-03-06  Robert Love  <rml@novell.com>
12722
12723         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12724           open-coded integer constants.  Add state_to_string() to map a given
12725           state to a textual description, and provide that when notifying of
12726           state change.
12727         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12728           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12729           this header directly, but it is currently not installed on most
12730           systems.
12731
12732 2006-03-05  Dan Williams  <dcbw@redhat.com>
12733
12734         Process netlink messages in device subclasses rather than in
12735         NetworkManager.c.  Also add support for recognizing Wireless Events.
12736         
12737         * configure.in
12738                 - Find GLIB_GENMARSHAL
12739
12740         * src/Makefile.am
12741                 - Since we're marshalling custom types for wireless event signals,
12742                         we get to create our own marshallers using GLIB_GENMARSHAL
12743
12744         * src/NetworkManager.c
12745                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12746                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12747                         cut down somewhat.  We no longer process signals here.
12748                 - (nm_data_new): create the netlink monitor here, and remove a
12749                         useless call to nm_policy_schedule_device_change_check()
12750                 - (nm_data_free): get rid of the netlink monitor here
12751                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12752                 - (main): don't create the netlink monitor here, let nm_data_new
12753                         do that.  Call nm_policy_schedule_device_change_check() right
12754                         before we jump to the mainloop to figure out which device
12755                         to use first
12756
12757         * src/NetworkManagerSystem.[ch]
12758                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12759                         convert back and forth from interface names to interface
12760                         indexes
12761
12762         * src/nm-device-802-11-wireless.c
12763                 - (real_init): connect to wireless-event signals from the netlink
12764                         monitor object
12765                 - (nm_device_802_11_wireless_event): new function, schedule handler
12766                         for wireless event signals from the netlink monitor object.  We
12767                         want the handler to run in the device's context
12768                 - (wireless_event_helper): handle wireless-event signals from netlink
12769                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12770                         signal handler
12771
12772         * src/nm-device-802-11-wireless.h
12773                 - remove unused prototype for nm_device_802_11_wireless_new
12774
12775         * src/nm-device-802-3-ethernet.c
12776                 - (real_init): new function; set up signal handlers for link events
12777                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12778                         handler for netlink link activated events on device's main loop
12779                 - (link_activated_helper): when we get a link activated event, set
12780                         the device's link to be active
12781                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12782                         handler for netlink link deactivated events on device's main loop
12783                 - (link_deactivated_helper): when we get a link deactivated event, set
12784                         the device's link to be inactive
12785                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12786                         dispose
12787
12788         * src/nm-device-802-3-ethernet.h
12789                 - remove unused prototype for nm_device_802_3_ethernet_new
12790
12791         * src/nm-device.[ch]
12792                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12793                         but locks the device list
12794                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12795
12796         * src/nm-netlink-monitor.[ch]
12797                 - (nm_netlink_monitor_class_install_signals): New signal
12798                         "wireless-event"
12799                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12800                         at the device list
12801                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12802
12803         * src/nm-marshal-main.c
12804                 - Include generated nm-marshal.c and nm-marshal.h
12805
12806         * src/nm-marshal.list
12807                 - List of custom marshal functions
12808
12809 2006-03-05  Dan Williams  <dcbw@redhat.com>
12810
12811         * gnome/applet/applet-notifications.h
12812                 - Protect prototype of nma_send_event_notification() because it
12813                         includes libnotify-specific types
12814                 - Include libnotify/libnotify.h too, since we technically need it
12815
12816         * gnome/applet/applet.c
12817                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12818                 - (nma_show_vpn_login_banner_dialog): add some error checking
12819
12820 2006-03-04  Dan Williams  <dcbw@redhat.com>
12821
12822         Clean up activation cancellation.  Should be a lot faster now.  Observed
12823         an issue with wireless devices between stage 2 and 3 of activation, where
12824         activation would be cancelled, but the device thread wouldn't notice until
12825         the supplicant association timed out.  Reorganize activation such that
12826         a cancellation handler gets immediately scheduled in the device's thread,
12827         and devices have a chance to perform any custom cleanup too.
12828
12829         * src/nm-device.[ch]
12830                 - (activation_cancel_handler): new device-type-specific function
12831                         for cleaning up device-type-specific stuff on cancellation
12832                 - (cancel_activation): removed
12833                 - (nm_device_activation_cancel): subsume functionality of
12834                         real_cancel_activation, but instead of doing anything, punt
12835                         operation to a handler that's run in device-thread context
12836                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12837                         a warning message
12838                 - (activation_handle_cancel_helper): cancellation handler run in
12839                         device-thread context, calls device-type-specific cancelation,
12840                         then tears down the activation request
12841                 - (real_activation_cancel_handler): generic cancellation handler,
12842                         deals with cancelling any in-process DHCP request
12843                 - (nm_device_activate_stage1_device_prepare,
12844                    nm_device_activate_stage2_device_config,
12845                    nm_device_activate_stage3_ip_config_start,
12846                    nm_device_activate_stage4_ip_config_get,
12847                    nm_device_activate_stage4_ip_config_timeout,
12848                    nm_device_activate_stage5_ip_commit): don't call
12849                         nm_device_schedule_activation_handle_cancel() any more, since
12850                         cancellation will have been already scheduled for us by
12851                         nm_device_activation_cancel().  Just exit the function and
12852                         assume that the cancel handler will be called next.
12853
12854         * src/nm-device-802-3-ethernet.c
12855                 - (real_act_stage2_config): remove; didn't do anything anyway
12856
12857         * src/nm-device-802-11-wireless.c
12858                 - (supplicant_status_cb): ensure we don't do anything if the activation
12859                         got cancelled
12860                 - (real_activation_cancel_handler): implement; cancel user key request
12861                         on activation cancellation
12862
12863 2006-03-04  Dan Williams  <dcbw@redhat.com>
12864
12865         * src/nm-device-802-11-wireless.c
12866                 - (supplicant_send_network_config): assume that drivers that don't
12867                         support WPA pretty much suck, and can't handle NM scanning
12868                         along with wpa_supplicant.
12869
12870 2006-03-03  Robert Love  <rml@novell.com>
12871
12872         * configure.in: Bump version to 0.6.0.
12873         * NEWS: Update.
12874
12875 2006-03-03  Robert Love  <rml@novell.com>
12876
12877         * configure.in: Require DBUS 0.60 or later.
12878
12879 2006-03-03  Dan Williams  <dcbw@redhat.com>
12880
12881         Fix a crash if an "Other wireless network" was chosen, failed, then
12882         chosen again from the applet's menu.  If the other network wasn't
12883         noticed in a scan, it wouldn't have any capabilities, but would still
12884         be listed because the user forced the network.  To fix this, we set
12885         sensible capabilities on the forced network, which will get overwritten
12886         with the correct ones if the network shows up later in a scan.
12887         
12888         * src/nm-ap-security.h
12889                 - Add a new "get_default_capabilities_func" member to the
12890                         NMAPSecurity class
12891
12892         * src/nm-ap-security.c
12893                 - (nm_ap_security_get_default_capabilities): new function
12894
12895         * src/nm-ap-security.c
12896           src/nm-ap-security-wep.c
12897           src/nm-ap-security-wpa-psk.c
12898           src/nm-ap-security-wpa-eap.c
12899                 - Implement get_default_capabilities_func() for all, which
12900                         uses the information contained in a specific NMAPSecurity
12901                         object to determine default AP capabilites necessary
12902                         to support that object
12903
12904         As a secondary measure, we now prune artificial access points that fail
12905         to be activated right away.  The thing failed, and we have no scan data for
12906         it, so it's pretty much useless since security information is only saved
12907         in the applets when a connection is successful.
12908
12909         * src/NetworkManagerAPList.c
12910                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12911                         not artificial.  If we see it, it's no longer a figment of the
12912                         user's imagination :)
12913
12914         * src/NetworkManagerPolicy.c
12915                 - (nm_policy_activation_failed): send along the failed AP if we
12916                         have it
12917
12918         * src/nm-device-802-11-wireless.c
12919                 - (real_activation_failure_handler): remove artificial APs from
12920                         the device list, because activation failed
12921
12922 2006-03-02  Robert Love  <rml@novell.com>
12923
12924         Add support for retrieving both the per-device speed and the
12925         per-network maximum supported rate.  Then change the getProperties
12926         DBUS API for both networks and devices to report this informaiton.
12927         Finally, display the information via both nm-applet and nm-tool:
12928         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12929           and set it.
12930         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12931           Information' dialog.
12932         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12933         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12934           network_device_get_speed() and network_device_set_speed() for
12935           retrieving and setting, respectively, a network device's current
12936           speed.
12937         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12938         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12939           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12940           not matter (yet) what the units are, because we only feed it its own
12941           output.  Implement SIOCGIRATE and set the per-network maximum
12942           supported rate during scanning.
12943         * src/nm-device-802-11-wireless.h: Export the function
12944           nm_device_802_11_wireless_get_bitrate().
12945         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12946           function nm_device_802_3_ethernet_get_speed() for returning an
12947           802.3's current speed, in Mb/s.
12948         * test/nm-tool.c: Display the per-device current speed, if available,
12949           and the per-network maximum rate.
12950
12951 2006-03-02  Dan Williams  <dcbw@redhat.com>
12952
12953         * src/nm-device-802-11-wireless.c
12954                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12955                         card when it gets initialized.  Since devices don't get added to
12956                         the scan list until they are initialized, this function wasn't
12957                         setting the intitial scan interval correctly, and was leaving
12958                         it at 0.  This caused cards to get many scan requests in a short
12959                         amount of time when they were initialized
12960
12961 2006-03-02  Robert Love  <rml@novell.com>
12962
12963         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12964           active device.  But do not do what we used to do and override the
12965           state, which caused the dreaded icon race of '05.
12966
12967 2006-03-02  Robert Love  <rml@novell.com>
12968
12969         Commit Dan's update of my previous commit:
12970         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12971           set_mode() function itself does the check.  But do only set the
12972           frequency if in Ad-Hoc mode.
12973
12974 2006-03-02  Robert Love  <rml@novell.com>
12975
12976         Patch by Brian Magnuson <magnuson@rcn.com>:
12977         * src/nm-device-802-11-wireless.c: During scanning, only set the
12978           wireless mode to infrastructure if it is not currently in
12979           infrastructure mode.  For some driver, setting the mode is a costly
12980           operation, apparently.
12981
12982 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12983
12984         * Makefile.am: use the correct dir for autostart mechanism.
12985
12986 2006-02-28  Dan Williams  <dcbw@redhat.com>
12987
12988         Patch from Brian Magnuson <magnuson@rcn.com>
12989         * gnome/applet/applet.c
12990                 - (nma_show_vpn_failure_dialog): fix errors left over from
12991                         libnotify support changes
12992
12993 2006-02-28  Dan Williams  <dcbw@redhat.com>
12994
12995         * src/vpn-manager/nm-vpn-act-request.[ch]
12996                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12997                         just one value
12998                 - (nm_vpn_act_request_is_failed): new function; return whether or
12999                         not the vpn activation request has failed
13000
13001         * src/vpn-manager/nm-vpn-manager.c 
13002                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13003                         daemon to kill the connection when the activation request fails.
13004                         Fixes issue where NM would get confused if the VPN activation
13005                         request timed out, and would not allow further VPN connections
13006                         on that service.
13007
13008 2006-02-28  Dan Williams  <dcbw@redhat.com>
13009
13010         * gnome/applet/applet.c
13011                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13012                         overlapping connection requests, disable all VPN menu items
13013                         but the active VPN connection
13014
13015 2006-02-28  Dan Williams  <dcbw@redhat.com>
13016
13017         * src/vpn-manager/nm-vpn-connection.c
13018                 - (nm_vpn_connection_set_parent_device): fix C&P error which
13019                         called g_object_unref() on the connection's parent device
13020                         when it should have been ref-ed instead.  Fixes crash with
13021                         repeated vpn connect requests
13022
13023 2006-02-28  Christopher Aillon  <caillon@redhat.com>
13024
13025         * gnome/applet/applet.glade:
13026         Mark a few strings non-translatable, since they shouldn't be.
13027
13028 2006-02-28  Dan Williams  <dcbw@redhat.com>
13029
13030         * src/vpn-manager/nm-vpn-service.c
13031                 - (nm_vpn_service_start_connection): if the vpn service daemon is
13032                         already running, don't blindly ask it to connect, but wait until
13033                         it's in the STOPPED state first.  Fixes an assertion when user
13034                         starts a second vpn connection without stopping the first.
13035                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13036                         dbus service exists before continuing with the connection
13037                         process, and reduce latency while waiting for it to become
13038                         available
13039                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13040                         waiting for the vpn service daemon to become available
13041                 - General log message cleanups; show progress via "Stage x of 4"
13042                         rather than not telling anyone how many stages there are
13043
13044 2006-02-28  Robert Love  <rml@novell.com>
13045
13046         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13047         * src/backends/NetworkManagerSuSE.c: Implement the interface
13048           nm_system_should_modify_resolv_conf() for SUSE.
13049         * src/backends/NetworkManagerDebian.c,
13050           src/backends/NetworkManagerGentoo.c,
13051           src/backends/NetworkManagerRedHat.c,
13052           src/backends/NetworkManagerSlackware.c: Add stub.
13053         * src/named-manager/Makefile.am: Grab includes from src.
13054         * src/named-manager/nm-named-manager.c: Allow backends to disable the
13055           automatic updating of resolv.conf.  This is useful for testing,
13056           broken static configurations, and administrator lock-down.
13057
13058 2006-02-28  Dan Williams  <dcbw@redhat.com>
13059
13060         * src/nm-device-802-11-wireless.c
13061                 - Move all the wpa_supplicant-related management stuff into its
13062                         own struct, just for oranization's sake
13063                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13064                         to a GIOChannel/GSource
13065                 - (supplicant_log_stdout): new function; grab output from the
13066                         wpa_supplicant stdout pipe and write it to our logs.
13067
13068 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13069
13070         * src/nm-device-802-11-wireless.c:
13071         Err, fix thinko in my previous commit.
13072
13073 2006-02-28  Robert Love  <rml@novell.com>
13074
13075         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13076
13077 2006-02-28  Robert Love  <rml@novell.com>
13078
13079         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13080           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13081           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13082           deserializers are responsible for freeing the returned DBUS strings.
13083
13084 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13085
13086         * src/nm-device-802-11-wireless.c:
13087         The scan list is being pruned prematurely.  We should prune after
13088         the device has gone MIA for three scans, not one.  Split out the
13089         interval to realtime seconds function to better serve this.
13090
13091 2006-02-27  Robert Love  <rml@novell.com>
13092
13093         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13094           Open the pid file O_TRUNC, so if it already exists we truncate it to
13095           zero length.  Also, be more verbose about warnings generated during
13096           writing out the pid file.  Finally, always write out the pid file if
13097           in daemon mode.  Use "--pid-file" to override the default.
13098
13099 2006-02-27  Robert Love  <rml@novell.com>
13100
13101         Patch by R. Vinay <rvinay@novell.com>:
13102         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13103           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13104           Novell bug #153628).
13105           
13106 2006-02-27  Robert Love  <rml@novell.com>
13107
13108         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13109           entry so user can hit <ENTER> after entering passphrase (Novell bug
13110           #153738).
13111
13112 2006-02-27  Dan Williams  <dcbw@redhat.com>
13113
13114         * gnome/applet/*
13115                 - Mass search/replace of:
13116                         nmwa -> nma
13117                         NMWirelessApplet -> NMApplet
13118                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13119                    (it ain't just for wireless anymore, ma!)
13120                 - Fix duplicate function name printing when using nm_warning
13121                 - wireless-applet.glade -> applet.glade
13122
13123 2006-02-27  Dan Williams  <dcbw@redhat.com>
13124
13125         * dispatcher-daemon/NetworkManagerDispatcher.c
13126                 - Accept --pid-file with a path to a pidfile, write it out on
13127                         startup, and delete it on shutdown
13128
13129         * src/NetworkManager.c
13130                 - Accept --pid-file with a path to a pidfile, write it out on
13131                         startup, and delete it on shutdown
13132                 - Move nm_print_usage() lower
13133
13134         * initscripts/RedHat/NetworkManager.in
13135                 - Use new --pid-file option
13136                 - Fix service stopping to wait a bit for NM to quit
13137
13138         * initscripts/RedHat/NetworkManagerDispatcher.in
13139                 - Use new --pid-file option
13140
13141 2006-02-26  Dan Williams  <dcbw@redhat.com>
13142
13143         * src/Makefile.am
13144                 - make and install nm-crash-logger
13145
13146         * src/nm-logging.[ch]
13147                 - New files; consolidate logging and crash handling
13148
13149         * src/nm-crash-logger.c
13150           src/gdb-cmd
13151                 - Standalong crashlogger for NM, grab a backtrace
13152                         using GDB
13153
13154         * src/NetworkManager.[ch]
13155                 - Remove signal handling and put it into nm-logging.c
13156
13157 2006-02-26  Dan Williams  <dcbw@redhat.com>
13158
13159         * configure.in
13160           gnome/applet/Makefile.am
13161                 - Conditionalize all the notify stuff
13162
13163         Merge most of Chris Aillon's notification patch:
13164         
13165         * gnome/applet/applet-notifications.[ch]
13166                 - New files; show a notification
13167         
13168         * gnome/applet/applet-dbus-devices.[ch]
13169                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13170                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13171                         new functions, do the right thing when a device change occurs
13172
13173         * gnome/applet/applet-dbus.c
13174                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13175                         signals, so we can handle them specially
13176
13177         * gnome/applet/applet.[ch]
13178                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13179                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13180                 - (nmwa_notify_state): remove
13181                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13182                         notification work is now done when the appropriate dbus signals
13183                         are received.
13184                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13185                         defer execution of the notification/dialog stuff.  That was an
13186                         artifact of the previous multi-threaded nature of the applet
13187                         and is now pointless.
13188                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13189                         no longer needed.  Function folded into applet-notifications.c
13190
13191         * src/NetworkManagerPolicy.c
13192                 - (nm_policy_activation_finish): send the AP along with the device
13193                         status change signal, if the connection is wireless.  Should
13194                         fix the race where applet would show a connection to "unknown"
13195
13196 2006-02-25  Robert Love  <rml@novell.com>
13197
13198         Add WPA Enterprise support:
13199         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13200           nm-gconf-wso-wpa-eap.h.
13201         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13202           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13203           serialization and deserialization.
13204         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13205           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13206           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13207         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13208           settings related to WPA Enterprise.
13209         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13210           instantiate WPA Enterprise wireless-security-option.
13211         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13212           Implement WPA Enterprise wireless-security-option object.
13213         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13214           defines.  Cleanup.
13215         * libnm-util/cipher-wpa-psk-hex.c,
13216           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13217         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13218           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13219           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13220           including the cipher to DBUS method, and
13221           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13222           to output.
13223         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13224           nm-ap-security-wpa-eap.h
13225         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13226           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13227         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13228           files.  Implement NMAPSecurityWPA_EAP object.
13229         * src/nm-ap-security-wpa-psk.c: Cleanup.
13230         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13231           an NMAPSecurityWPA_EAP object via the method
13232           nm_ap_security_wpa_eap_new_deserialize().
13233         * src/nm-dbus-nm.c: Cleanup.
13234         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13235           WPA Enterprise support.
13236
13237 2006-02-24  Robert Love  <rml@novell.com>
13238
13239         Patch from Timo Hoenig <thoenig@suse.de>:
13240         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13241
13242 2006-02-24  Robert Love  <rml@novell.com>
13243
13244         Patch from Dan Winship <danw@novell.com>:
13245         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13246           area to transparent.
13247
13248 2006-02-21  Dan Williams  <dcbw@redhat.com>
13249
13250         * gnome/applet/applet.[ch]
13251           gnome/applet/applet-dbus.c
13252                 - Implement notification support for VPN messages too
13253
13254 2006-02-21  Dan Williams  <dcbw@redhat.com>
13255
13256         * gnome/applet/applet-dbus-info.c
13257                 - Clean up warning messages to not double-print the function
13258
13259 2006-02-21  Dan Williams  <dcbw@redhat.com>
13260
13261         * gnome/applet/applet-compat.c
13262                 - (convert_one_entry): accept entries without a key_type and
13263                         convert them to unencrypted networks
13264
13265 2006-02-21  Dan Williams  <dcbw@redhat.com>
13266
13267         * gnome/libnm_glib/libnm_glib.c
13268                 - Use __func__ everywhere we can
13269                 - Code cleanups
13270                 - Use dbus pending calls rather than blocking
13271                 - Reduce busywaits for our thread to start and stop
13272                         (gnome.org #330562)
13273                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13274                         stomp on others using the default shared dbus connection.
13275                         Fixes #rh177546# and gnome.org #326572
13276
13277 2006-02-21  Dan Williams  <dcbw@redhat.com>
13278
13279         Patch from Rodney Dawes <dobey@novell.com>
13280         * configure.in
13281           gnome/applet/Makefile.am
13282           gnome/applet/applet.c
13283                 - Add libnotify support if '--enable-notify=yes' is passed
13284                   at configure time
13285
13286 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13287
13288         * configure.in (ALL_LINGUAS): ko added. (Korean)
13289
13290 2006-02-15  Robert Love  <rml@novell.com>
13291
13292         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13293           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13294           and WPA_SUPPLICANT_CONTROL_SOCKET.
13295         
13296 2006-02-15  Robert Love  <rml@novell.com>
13297
13298         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13299           information about what connection stage we are at, provide the total
13300           number of stages, e.g. "Stage 2 of 5", so users know how far along
13301           they are if they experience problems.
13302
13303 2006-02-15  Robert Love  <rml@novell.com>
13304
13305         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13306           define to $sysconfdir.
13307         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13308           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13309           type of VPN and then editing another results in a mangled dialog
13310           box containing the widgets from both VPNs (fixes Novell #150854).
13311           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13312
13313 2006-02-14  Robert Love  <rml@novell.com>
13314
13315         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13316           syslog's file descriptor.
13317
13318 2006-02-14  Robert Love  <rml@novell.com>
13319
13320         Fix bug around since the change to "deal with APs changing settings on
13321         us," checked in on the fifth of February in the year of the dog, 
13322         wherein connecting to non-broadcast encrypted networks always fails
13323         because nm_ap_get_encrypted() always returns FALSE, even when the user
13324         provided a key, because the newly-created fake AP does not have any
13325         capabilities set, which is a sypmtom of security settings not matching
13326         capabilities (Novell bug #150784):
13327         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13328           nm_ap_add_capabilities_from_security(), which sets the given AP's
13329           capabilities off the given security settings.  Also improve our
13330           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13331           NM_AUTH_CIPHER_AUTO.
13332         * src/nm-device-802-11-wireless.c: Call the function
13333           nm_ap_add_capabilities_from_security() to ensure that capabilities
13334           match newly updated security settings.
13335
13336 2006-02-14  Robert Love  <rml@novell.com>
13337
13338         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13339           error as a string, not an integer, if possible; do not print the
13340           function name twice; always give the interface, if possible; misc.
13341           cleanup.
13342
13343 2006-02-12  Dan Williams  <dcbw@redhat.com>
13344
13345         Patch from Tom Parker <palfrey@tevp.net>
13346         * src/NetworkManagerSystem.h
13347                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13348                         no longer used
13349
13350         * src/backends/NetworkManagerDebian.c
13351                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13352                         unused variables
13353
13354 2006-02-12  Dan Williams  <dcbw@redhat.com>
13355
13356         * vpn-daemons/openvpn/intltool-extract.in
13357           vpn-daemons/openvpn/intltool-merge.in
13358           vpn-daemons/openvpn/intltool-update.in
13359           vpn-daemons/pptp/intltool-extract.in
13360           vpn-daemons/pptp/intltool-merge.in
13361           vpn-daemons/pptp/intltool-update.in
13362                 - Remove from CVS, they should get created by intltoolize,
13363                         shouldn't they?
13364
13365 2006-02-12  Dan Williams  <dcbw@redhat.com>
13366
13367         * vpn-daemons/pptp/src/pppd/patchlevel.h
13368         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13369                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13370                         Makefile-defined VERSION
13371
13372 2006-02-09  Dan Williams  <dcbw@redhat.com>
13373
13374         Patch from: Vinay A R <rvinay@novell.com>
13375         * src/vpn-manager/nm-vpn-act-request.[ch]
13376                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13377                         IPSec VPNs require them for std gateway.
13378                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13379                         and 'user_routes_count'
13380                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13381                         defined routes  from NMVPNActRequest object, returns the string
13382                         array of routes.
13383
13384         * src/vpn-manager/nm-vpn-manager.[ch]
13385                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13386                         for 'user_routes' and 'user_routes_count'
13387         
13388         * src/vpn-manager/nm-dbus-vpn.c
13389                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13390                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13391         
13392         * src/vpn-manager/nm-vpn-service.c
13393                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13394                         the vpn daemon
13395
13396         Modifications by Dan:
13397         * src/vpn-manager/nm-vpn-service.c
13398                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13399                         arrays into dbus
13400
13401         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13402         * vpn-daemons/pptp/src/nm-pptp-service.c
13403         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13404                 - Grab user routes from dbus message
13405                 - Free all string arrays we got from dbus
13406
13407 2006-02-07  Robert Love  <rml@novell.com>
13408
13409         Patch by Stefan Seyfried <seife@suse.de>:
13410         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13411
13412 2006-02-06  Robert Love  <rml@novell.com>
13413
13414         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13415
13416 2006-02-06  Robert Love  <rml@novell.com>
13417
13418         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13419           test ">=" is never false.  If no newline is found, we loop forever.
13420           We can just check for ">" because the following if() will see the
13421           zero-th argument if the while() gets that far.
13422
13423 2006-02-05  Dan Williams  <dcbw@redhat.com>
13424
13425         Refine handling of non-broadcast networks.
13426
13427         * src/NetworkManagerAPList.c
13428                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13429                         property from scanned AP to the AP from the device list
13430
13431         * src/nm-device-802-11-wireless.c
13432                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13433                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13434                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13435                         networks since those don't have APs.
13436                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13437                         AP as non-SSID-broadcasting
13438                 - (process_scan_results): don't handle non-SSID-broadcasting here
13439
13440 2006-02-05  Dan Williams  <dcbw@redhat.com>
13441
13442         * src/nm-device-802-11-wireless.c
13443                 - (get_supplicant_timeout): new function; return
13444                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13445                         14 channels.  These are likely a/b/g cards, like Atheros, and
13446                         slow as hell to scan.
13447                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13448                         get_supplicant_timeout()
13449
13450 2006-02-05  Dan Williams  <dcbw@redhat.com>
13451
13452         * src/dhcp-manager/nm-dhcp-manager.c
13453                 - Loose a commit race with Robert; make sure size check
13454                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13455
13456 2006-02-05  Robert Love  <rml@novell.com>
13457
13458         Patch by Christoph Brill <chrisbrill@gmx.net>:
13459         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13460           with DHCP_SERVICE_NAME.
13461
13462 2006-02-05  Dan Williams  <dcbw@redhat.com>
13463
13464         Remove anything having to do with device_setup_func from the
13465         AP security objects, since it's no longer used.
13466
13467         * src/nm-ap-security.h
13468                 - Kill device_setup_func and nm_ap_security_device_setup()
13469
13470         * src/nm-ap-security-wep.c
13471           src/nm-ap-security-wpa-psk.c
13472                 - (real_device_setup): remove
13473
13474         * src/nm-ap-security.c
13475                 - (real_device_setup): remove
13476                 - (nm_ap_security_device_setup): remove
13477
13478         * src/nm-device-802-11-wireless.[ch]
13479                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13480                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13481                         and done by wpa_supplicant now anyway
13482
13483 2006-02-05  Dan Williams  <dcbw@redhat.com>
13484
13485         * src/nm-device-802-11-wireless.c
13486                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13487                         settings on us.  Previously NM would loop asking for the
13488                         key but getting the same one back.  Now, if the NMI-supplied
13489                         cipher doesn't overlap with the scanned AP capabilities,
13490                         we request a completely new key from the user.
13491
13492 2006-02-05  Dan Williams  <dcbw@redhat.com>
13493
13494         * src/NetworkManagerUtils.c
13495                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13496                         Handle newline killing better
13497
13498 2006-02-05  Dan Williams  <dcbw@redhat.com>
13499
13500         * gnome/applet/nm-gconf-wso.c
13501                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13502                         of unencrypted access point security info.
13503
13504 2006-02-03  Robert Love  <rml@novell.com>
13505
13506         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13507           user's encryption key, so we print the err_msg_cmd not the command,
13508           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13509           sense.
13510
13511 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13512
13513         * initscript/RedHat/NetworkManagerDispatcher.in:
13514         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13515         Patch from Dan Walsh <dwalsh@redhat.com>
13516
13517 2006-02-03  Robert Love  <rml@novell.com>
13518
13519         * dispatcher-daemon/NetworkManagerDispatcher.c,
13520           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13521           but use the sysconfdir.
13522
13523 2006-02-03  Robert Love  <rml@novell.com>
13524
13525         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13526           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13527           'char *'.
13528         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13529           nm_ip4_config_get_hostname() and
13530           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13531         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13532           leak g_strdup() result.
13533
13534 2006-02-03  Robert Love  <rml@novell.com>
13535
13536         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13537           broadcast == TRUE.  Also, copy broadcast and artificial properties
13538           from source network to destination in nm_ap_copy().
13539         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13540           since we now default new networks to non-hidden.
13541
13542 2006-02-03  Dan Williams  <dcbw@redhat.com>
13543
13544         * gnome/applet/main.c
13545                 - (main): change the NEVER->ALWAYS so we start at the
13546                         beginning of the session, if being session-managed
13547
13548 2006-02-03  Dan Williams  <dcbw@redhat.com>
13549
13550         * gnome/applet/main.c
13551                 - (main): in a variation on Robert's patch, change
13552                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13553                         he wants.
13554
13555 2006-02-02  Robert Love  <rml@novell.com>
13556
13557         * src/Makefile.am: If we aren't going to create the run directory at,
13558           uh, run-time, create it during install.  Then users just doing
13559           'make install' are cool, too.  While we are here, create the
13560           dispatcher.d directory, too.
13561         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13562           the exact run directory.
13563         * Makefile.am: Install nm-applet.desktop.
13564
13565 2006-02-02  Robert Love  <rml@novell.com>
13566
13567         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13568           structure, which denotes whether or not the AP is hidden.  This is a
13569           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13570           can show up in the scan list.  Add nm_ap_get_broadcast() and
13571           nm_ap_set_broadcast() accessor interfaces.
13572         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13573           nm_ap_set_broadcast().
13574         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13575           "getProperties" method, which denotes whether or not the given
13576           network is hidden.
13577         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13578           an artificial network.  Set broadcast to TRUE when scanning returns
13579           an ESSID and FALSE when not.
13580         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13581           from "getProperties" method on a network.  Possible TODO is to
13582           somehow display this.
13583         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13584
13585 2006-02-02  Dan Williams  <dcbw@redhat.com>
13586
13587         * src/nm-device-802-11-wireless.c
13588                 - (supplicant_interface_init): don't try to create
13589                         /var/run/NetworkManager, since that should be done by
13590                         the distro package.  Causes problems for stuff like SELinux
13591
13592 2006-02-02  Robert Love  <rml@novell.com>
13593
13594         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13595         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13596           Check for and handle empty string for iface.
13597
13598 2006-02-01  Robert Love  <rml@novell.com>
13599
13600         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13601           manpage.
13602
13603 2006-01-31  Dan Williams  <dcbw@redhat.com>
13604
13605         * nm-applet.desktop
13606                 - Add --sm-disable to Exec arguments, presuming that when
13607                         using autostart, we don't want session management
13608
13609 2006-01-31  Robert Love  <rml@novell.com>
13610
13611         * src/NetworkManagerAP.c: Add two new manufacturer default network
13612           names: linksys-a and linksys-g.  These are found (at least) on the
13613           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13614           own ESSID.
13615
13616 2006-01-31  Robert Love  <rml@novell.com>
13617
13618         * src/NetworkManagerAP.c: Optimize the function
13619           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13620           machine code.  This is the first in a series of code tweaks aiming to
13621           generate better machine code and make NetworkManager all the better.
13622           Just kidding.  Who has time to go through the assembly generated for
13623           every function?  I certainly don't.  I have a wife, a kid, a job,
13624           a mortgage, a mistress.  But this function was so bad, I was called
13625           to arms.  Like the book.
13626
13627 2006-01-31  Robert Love  <rml@novell.com>
13628
13629         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13630           AP is not broadcasting, to scan with probe request frames.  Required
13631           for non-broadcast networks.
13632
13633 2006-01-31  Robert Love  <rml@novell.com>
13634
13635         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13636           preprocessor define (still 20s).  Fix message text in nm_info()
13637           s/too too/took too/.
13638
13639 2006-01-30  Dan Williams  <dcbw@redhat.com>
13640
13641         * src/nm-device-802-11-wireless.c
13642                 - (supplicant_monitor_start): increase connect/auth timeout to
13643                         20 seconds from 10 seconds
13644
13645 2006-01-30  Dan Williams  <dcbw@redhat.com>
13646
13647         * src/Makefile.am
13648                 - Define LOCALSTATEDIR
13649
13650         * src/nm-device-802-11-wireless.c
13651                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13652                         socket where we want it to
13653
13654         * src/wpa_ctrl.[ch]
13655                 - (wpa_ctrl_open): accept location to put local control socket
13656
13657 2006-01-30  Robert Love  <rml@novell.com>
13658
13659         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13660           get_ip4_string() for "domain_name".
13661
13662 2006-01-30  Robert Love  <rml@novell.com>
13663
13664         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13665           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13666           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13667           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13668           support for "Automatic" pairwise and group cipher configuration by
13669           letting wpa_supplicant handle the details.  Add UI elements, new
13670           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13671           charm.  Note this does more than add a nice feature, it fixes a bug.
13672           Apparently, some people have AP's where the pairwise cipher does not
13673           match the group cipher.  Insane, but true.
13674
13675 2006-01-30  Dan Williams  <dcbw@redhat.com>
13676
13677         * gnome/applet/applet-dbus-devices.c
13678                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13679                         functions, grab device driver name from NetworkManager
13680                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13681
13682         * gnome/applet/applet.c
13683                 - (nmwa_update_info): show driver name in Connection Information
13684                         dialog
13685
13686         * gnome/applet/nm-device.[ch]
13687                 - (network_device_get_driver, network_device_set_driver): add
13688                         accessors for driver name
13689
13690         * gnome/applet/wireless-applet.glade
13691                 - Add line for driver name to Connection Information dialog
13692
13693         * src/nm-dbus-device.c
13694                 - (nm_dbus_device_get_driver): new function to return driver name
13695                 - (nm_dbus_device_methods): hook up driver name function to dbus
13696
13697         * test/nm-tool.c
13698                 - (get_driver_name): new function
13699                 - (detail_device): grab and show driver name
13700
13701 2006-01-30  Robert Love  <rml@novell.com>
13702
13703         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13704           does not parse the markup if it is not part of the format.
13705
13706 2006-01-30  Robert Love  <rml@novell.com>
13707
13708         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13709           FALSE, we have no security options for this dialog, so we throw up
13710           an error dialog instead of a broken passphrase dialog.  Fixes
13711           Novell #138404.
13712         * gnome/applet/wireless-security-manager.c,
13713           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13714           does not add any security options, not even NONE, print a warning
13715           and return FALSE.  This let's functions constructing a dialog bail
13716           out if the device's capabilities and the network's requirements have
13717           zero overlap.
13718
13719 2006-01-27  Robert Love  <rml@novell.com>
13720
13721         * configure.in: Require wpa_supplicant.  Detect location of binary and
13722           use it.  Override with "--with-wpa_supplicant=foo".
13723         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13724           path to wpa_supplicant but use the auto-detected or user-provided
13725           value from configure.
13726
13727 2006-01-27  Robert Love  <rml@novell.com>
13728
13729         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13730           but the DHCP server did not return a hostname, try to look up our
13731           name via DNS and set the system hostname to that.
13732
13733 2006-01-27  Dan Williams  <dcbw@redhat.com>
13734
13735         * src/backends/NetworkManagerRedHat.c
13736                 - Add NM_CONTROLLED system network script support for RH/Fedora
13737
13738 2006-01-27  Dan Williams  <dcbw@redhat.com>
13739
13740         * src/backends/NetworkManagerGentoo.c
13741                 - (nm_system_device_get_disabled): add missing function.
13742                         Gnome BZ #328780
13743
13744 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13745
13746         * configure.in: Added vi in ALL_LINGUAS line.
13747         
13748 2006-01-26  Robert Love  <rml@novell.com>
13749
13750         * src/Makefile.am, src/kernel-types.h: Now that two different source
13751           files are feeling the crack-addled leakage of kernel types such as
13752           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13753           types in user-space -- define a header and include it as needed.
13754         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13755         * src/nm-device-802-3-ethernet.h: Remove defines.
13756         * src/wpa.c: Remove defines and include kernel-types.h.
13757
13758 2006-01-26  Robert Love  <rml@novell.com>
13759
13760         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13761           work.
13762
13763 2006-01-26  Robert Love  <rml@novell.com>
13764
13765         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13766         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13767           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13768           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13769           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13770           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13771           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13772           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13773           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13774           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13775           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13776           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13777           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13778           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13779           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13780           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13781           Kill unused variables, labels, and static functions.  Don't pass
13782           string literals as the format string for printf-like functions.
13783
13784 2006-01-25  Dan Williams  <dcbw@redhat.com>
13785
13786         * gnome/applet/wireless-applet.glade
13787                 - Remove WPA2 Checkbox
13788
13789         * gnome/applet/wireless-security-manager.c
13790                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13791                         This means the Wireless Security menu now has two WPA options,
13792                         one for "WPA Personal" and one for "WPA2 Personal"
13793
13794         * gnome/applet/wso-wpa-psk.[ch]
13795                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13796                         'wpa2' argument to determine WPA version to use
13797                 - (append_dbus_params_func): pass stored WPA version to cipher
13798                         rather than using the (removed) checkbox
13799
13800 2006-01-24  Robert Love  <rml@novell.com>
13801
13802         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13803           before we g_strdup(), not the ultimate string.
13804
13805 2006-01-23  Dan Williams  <dcbw@redhat.com>
13806
13807         * src/NetworkManagerAP.[ch]
13808                 - (nm_ap_new_from_ap): copy original essid too
13809                 - (nm_ap_unref): free original essid
13810                 - (nm_ap_get_orig_essid): new function
13811                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13812                         but keep original essid around too
13813
13814         * src/nm-device-802-11-wireless.c
13815                 - (supplicant_send_network_config): send wpa_supplicant the
13816                         _original_ essid, and not as a string, but in hex.  Should
13817                         allow us to connect to more APs that use wierd character
13818                         encodings for their essids
13819
13820         * utils/nm-utils.[ch]
13821                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13822                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13823                         use the current locale as a hint for what encoding the essid
13824                         might be in.  Obviously not 100% accurate, but the idea here is
13825                         that if a user's locale is ex. ja_JP, they are more likely than
13826                         not to be in Japan, where access points will likely be in some
13827                         Japanese encoding.
13828
13829 2006-01-23  Dan Williams  <dcbw@redhat.com>
13830
13831         * libnm-util/cipher-private.h
13832           libnm-util/cipher.c
13833           libnm-util/cipher.h
13834                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13835
13836 2006-01-23  Robert Love  <rml@novell.com>
13837
13838         Patch by Timo Hoenig <thoenig@suse.de>:
13839         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13840           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13841           by DHCP and pass it to the backends, allowing distribution-specific
13842           behavior with respect to the DHCP-supplied hostname (if nothing else,
13843           some distributions might not want to set the hostname).
13844         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13845           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13846           Also update our NIS behavior.
13847         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13848           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13849           Add stub functions.
13850
13851 2006-01-23  Robert Love  <rml@novell.com>
13852
13853         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13854           gnome-session does autostart.  TODO: We need to install this to
13855           $prefix/share/autostart/.
13856
13857 2006-01-22  Dan Williams  <dcbw@redhat.com>
13858
13859         * src/NetworkManagerAP.[ch]
13860           src/nm-dbus-nmi.c
13861           src/nm-device-802-11-wireless.c         
13862                 - Make nm_ap_get_essid return "const char *"
13863
13864 2006-01-22  Dan Williams  <dcbw@redhat.com>
13865
13866         * src/NetworkManagerAP.[ch]
13867                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13868
13869         * src/NetworkManagerAPList.[ch]
13870                 - (nm_ap_list_diff): removed
13871                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13872                         deal with access points changing essids on us
13873
13874         * src/nm-device-802-11-wireless.c
13875                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13876                         src/NetworkManagerAPList.c
13877                 - (real_can_interrupt_activation): new function; allow interruption
13878                         of device activation if we are waiting for a network key
13879
13880         * src/NetworkManagerPolicy.c
13881                 - (nm_policy_device_change_check): allow interruption of currently
13882                         activating devices if the device allows it.  Previous behavior
13883                         would refuse to activate a just-plugged wired device if a
13884                         wireless device was waiting for a key.
13885
13886         * src/nm-device.[ch]
13887                 - (nm_device_can_interrupt_activation): new function; ask devices
13888                         whether their activation can be interrupted
13889
13890 2006-01-20  Robert Love  <rml@novell.com>
13891
13892         * Makefile.am, configure.in: Add new man subdirectory.
13893         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13894           man/Makefile.am: Add man pages for NetworkManager and its
13895           crime-solving bumbling buddy, NetworkManagerDispatcher.
13896         * man/.cvsignore: Add.
13897         * initscript/Debian/NetworkManager,
13898           initscript/Gentoo/NetworkManager.in,
13899           initscript/RedHat/NetworkManager.in,
13900           initscript/RedHat/NetworkManagerDispatcher.in,
13901           initscript/SUSE/networkmanager-dispatcher.in,
13902           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13903
13904 2006-01-20  Robert Love  <rml@novell.com>
13905
13906         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13907           instead of queuing.  This prevents the running of multiple NM
13908           daemons concurrently, which does not work whatsoever and results in
13909           neither daemon working correctly.  Also, we don't handle queuing and
13910           name-owner-changes, anyhow.
13911
13912 2006-01-20  Robert Love  <rml@novell.com>
13913
13914         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13915         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13916           to sbin, not bin.
13917
13918 2006-01-19  Robert Love  <rml@novell.com>
13919
13920         * configure.in: Require hal 0.5.0 or later.
13921
13922 2006-01-18  Robert Love  <rml@novell.com>
13923
13924         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13925           Allow backends to flag a device (in whatever distro-dependent way
13926           they so desire) as disabled.  NM will ignore any such device.
13927         * src/backends/NetworkManagerDebian.c,
13928           src/backends/NetworkManagerRedHat.c,
13929           src/backends/NetworkManagerSlackware.c: Add stub function
13930           nm_system_device_get_disabled() that always returns FALSE (enabled).
13931         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13932           SUSE-specific configuration structure.  Fill it in from the
13933           NM_CONTROLLED variable in the system networking scripts.  If this var
13934           exists and is "no", we ignore the device.
13935
13936 2006-01-17  Robert Love  <rml@novell.com>
13937
13938         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13939           identical for NM.  For a full discussion, see the thread at
13940           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13941
13942 2006-01-17  Dan Williams  <dcbw@redhat.com>
13943
13944         * src/nm-device.c
13945                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13946                         function.  Fixes crash when wired DHCP fails.
13947
13948 2006-01-16  Robert Love  <rml@novell.com>
13949
13950         * src/Makefile.am: Don't install NMLoadModules
13951         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13952           from src/ to test/ as no one uses it anymore.  Note that I would be
13953           fine with removing it altogether.
13954
13955 2006-01-16  Robert Love  <rml@novell.com>
13956
13957         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13958           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13959           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13960           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13961           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13962           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13963           declarations, ever.
13964         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13965           NM_STATE_DISCONNECTED is zero).
13966
13967 2006-01-16  Robert Love  <rml@novell.com>
13968
13969         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13970           uninitialized parameter and buffer overflow.  Novell #143496.
13971
13972 2006-01-16  Dan Williams  <dcbw@redhat.com>
13973
13974         Apply the PtP Address bits of a patch from Tim Niemueller
13975
13976         * src/nm-ip4-config.[ch]
13977                 - Add ip4_ptp_address member to object
13978                 - (nm_ip4_config_copy): copy ptp address too
13979                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13980                         new functions
13981                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13982                         rather than local tunnel ip address
13983
13984         * src/vpn-manager/nm-vpn-service.c
13985                 - (print_vpn_config): update for PtP address
13986                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13987                         DBusMessageIters in preparation for getting routes from the VPN
13988                         service daemons too
13989
13990         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13991                 - (send_config_info): update for PtP address, clean up code
13992                 - (main): update for PtP address, clean up code, fix typo
13993
13994         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13995                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13996
13997         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13998                 - (pptp_ip_up): update for PtP address
13999
14000         * vpn-daemons/pptp/src/nm-pptp-service.c
14001                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14002
14003         * vpn-daemons/vpnc/src/nm-vpnc-service.c
14004                 - (print_vpn_config): update for PtP address
14005                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14006
14007 2006-01-16  Dan Williams  <dcbw@redhat.com>
14008
14009         * gnome/applet/applet.c
14010                 - (nmwa_add_networks_helper): don't indicate an active network
14011                         if NM is disconnected or asleep
14012
14013 2006-01-16  Dan Williams  <dcbw@redhat.com>
14014
14015         * src/NetworkManagerPolicy.c
14016                 - (nm_policy_device_change_check): switch devices if we lose the link
14017                         on an ethernet device. 
14018
14019 2006-01-16  Dan Williams  <dcbw@redhat.com>
14020
14021         * gnome/applet/wso-wpa-psk-hex.[ch]
14022                 - Renamed -> wso-wpa-psk.[ch]
14023
14024         * gnome/applet/wso-wpa-psk.[ch]
14025                 - New files
14026
14027         * gnome/applet/wso-wpa-psk-passphrase.[ch]
14028                 - Removed, rolled into wso-wpa-psk.[ch]
14029
14030         * gnome/applet/Makefile.am
14031                 - Updated for above changes
14032
14033         * gnome/applet/wireless-applet.glade
14034                 - Consolidate WPA-PSK options into one notebook
14035                         widget, and make dialogs invisible by default
14036                         to fix screen oddities
14037
14038         * gnome/applet/wireless-security-manager.c
14039                 - (wsm_set_capabilities): create the new wpa-psk widget rather
14040                         than both the old hex & passphrase ones
14041
14042 2006-01-16  Dan Williams  <dcbw@redhat.com>
14043
14044         * gnome/applet/other-network-dialog.c
14045                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14046
14047 2006-01-16  Dan Williams  <dcbw@redhat.com>
14048
14049         * gnome/applet/applet.c
14050                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14051                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14052                         prevention to realize window before trying to get server
14053                         time
14054
14055         * gnome/applet/other-network-dialog.c
14056                 - (nmwa_other_network_dialog_run): fix up focus-stealing
14057                         prevention to realize window before trying to get server
14058                         time
14059
14060         * gnome/applet/passphrase-dialog.c
14061                 - (nmi_passphrase_dialog_new): fix up focus-stealing
14062                         prevention to realize window before trying to get server
14063                         time
14064
14065 2006-01-16  Robert Love  <rml@novell.com>
14066
14067         Patch from Timo Hoenig  <thoenig@suse.de:
14068         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14069           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14070           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14071           libnm-util/dbus-helpers.h: add checks whether headers are used
14072           within a C++ build.
14073
14074 2006-01-16  Dan Williams  <dcbw@redhat.com>
14075
14076         * gnome/applet/wireless-security-option.c
14077                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14078
14079 2006-01-16  Dan Williams  <dcbw@redhat.com>
14080
14081         * libnm-util/cipher-wpa-psk-passphrase.c
14082                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14083                         be 8 - 63 characters inclusive
14084
14085 2006-01-16  Dan Williams  <dcbw@redhat.com>
14086
14087         * src/nm-dbus-nm.c
14088                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14089
14090 2006-01-13  Robert Love  <rml@novell.com>
14091
14092         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14093         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14094           modules that do not use an interface.
14095
14096 2006-01-13  Dan Williams  <dcbw@redhat.com>
14097
14098         * src/nm-device.c
14099           src/nm-device.h
14100                 - Allow subclasses to implement deactivate_quickly()
14101                 - (nm_device_deactivate_quickly): call subclass
14102                         deactivate_quickly() methods
14103                 - (nm_device_set_active_link): small cleanups, and don't
14104                         deactivate the device right away because we risk a deadlock
14105                         when called from device thread, waiting for the device
14106                         thread to cancel activation
14107
14108         * src/nm-device-802-11-wireless.c
14109                 - (real_deactivate_quickly): new function
14110                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14111                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14112                         so that we kill the supplicant when we sleep too
14113                 - (supplicant_interface_init): work around naive naming attempts of
14114                         wpa_ctrl when naming sockets
14115
14116 2006-01-13  Dan Williams  <dcbw@redhat.com>
14117
14118         * src/nm-device-802-11-wireless.c
14119                 - (supplicant_cleanup): delete old device control sockets too
14120                 - (supplicant_get_device_socket_path): new function to consolidate
14121                         locations that need a path to a device's control socket
14122
14123 2006-01-12  Robert Love  <rml@novell.com>
14124
14125         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14126           description so that the description is unique for each
14127           pair (device,provider).  Fixes Novell #142773.
14128
14129 2006-01-12  Dan Williams  <dcbw@redhat.com>
14130
14131         * src/nm-device-802-11-wireless.c
14132                 - (supplicant_exec): ensure GError is correctly initialized
14133                         Reported by Diego González (gnome.org #326708)
14134
14135 2006-01-11  Robert Love  <rml@novell.com>
14136
14137         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14138           define if_mii(), open code the same results, and do so without any
14139           type punning.
14140
14141 2006-01-11  Robert Love  <rml@novell.com>
14142
14143         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14144           that wso_foo_new() returned non-NULL.  Instead, only append the new
14145           wso to wsm->options if the wso is non-NULL.  The crux is that we
14146           assume that the relevant key types are implied by WEP and WPA as
14147           appropriate.  To be sure, they should be, but we should not expect
14148           drivers to not be oozing piles of wolf fecal matter.
14149
14150 2006-01-11  Robert Love  <rml@novell.com>
14151
14152         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14153         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14154           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14155           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14156           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14157           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14158           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14159         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14160           comparing values within DBL_EPSILON.  Also fix shadowed variable
14161           usage.
14162
14163 2006-01-11  Dan Williams  <dcbw@redhat.com>
14164
14165         Add options for WPA2 and WPA1+CCMP (AES).
14166
14167         * gnome/applet/wireless-applet.glade
14168                 - Add UI bits for WPA+CCMP
14169
14170         * gnome/applet/other-network-dialog.c
14171                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14172                         and don't allow creation of WPA2 Ad-Hoc networks since
14173                         wpa_supplicant doesn't support them
14174
14175         * gnome/applet/wireless-security-manager.c
14176                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14177                         on to the specific wireless security option being created
14178
14179         * gnome/applet/wireless-security-option.[ch]
14180                 - (wso_wpa_create_key_type_model): new utility function to create
14181                         the model required for WPA Key Type combo box
14182
14183         * gnome/applet/wso-private.h
14184           gnome/applet/wireless-security-option.h
14185                 - Move private function prototypes into wso-private.h
14186
14187         * gnome/applet/wso-wpa-psk-hex.[ch]
14188           gnome/applet/wso-wpa-psk-passphrase.[ch]
14189                 - (append_dbus_params_func): get WPA version from checkbox and pass
14190                         it to the dbus serialization helper
14191                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14192                         key type combo changes
14193                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14194                         model and options
14195
14196         * libnm-util/cipher-wpa-psk-hex.c
14197           libnm-util/cipher-wpa-psk-passphrase.c
14198                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14199                         new function; allow the cipher to be changed after object creation
14200
14201         * src/nm-ap-security-wpa-psk.c
14202                 - (set_description): Do WPA2 descriptions too
14203
14204         * src/nm-ap-security.c
14205                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14206
14207 2006-01-11  Robert Love  <rml@novell.com>
14208
14209         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14210           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14211           from the ifreq structure in lieu of an open coded solution.  Removes
14212           a life-threatening type-punning.
14213         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14214           types, ever, whatsoever, baby.
14215
14216 2006-01-11  Robert Love  <rml@novell.com>
14217
14218         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14219           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14220           assignments to applet->nm_state into a new nmwa_set_state() function
14221           for both cleanliness and to help debugging.
14222
14223 2006-01-10  Robert Love  <rml@novell.com>
14224
14225         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14226           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14227           seconds, exclusive.  That is, we want to sleep x seconds such that
14228           1 < x < 2.
14229
14230 2006-01-10  Robert Love  <rml@novell.com>
14231
14232         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14233           the attr fields according to the example in the email available at
14234           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14235           Conversely, we do have to free 'name', so we do so, fixing a leak.
14236
14237 2006-01-10  Robert Love  <rml@novell.com>
14238
14239         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14240           sure that we close the socket!
14241
14242 2006-01-10  Robert Love  <rml@novell.com>
14243
14244         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14245           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14246           src/nm-device.c: Fix a FIXME!  Reimplement the function
14247           nm_device_update_hw_address() in device subclass variants,
14248           nm_device_802_3_ethernet_set_address() and
14249           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14250           This fixes the existing bug where MAC addresses are all zeros.
14251
14252 2006-01-10  Robert Love  <rml@novell.com>
14253
14254         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14255           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14256           option to give users ability to globally disconnect and put NM to
14257           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14258           clean disconnect.
14259
14260 2006-01-09  Robert Love  <rml@novell.com>
14261
14262         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14263           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14264           User-space does not supply these types, so we have to define them
14265           ourselves.  The relevant kernel maintainer refused to accept a patch
14266           switching these headers to the proper C99 types.
14267
14268 2006-01-09  Dan Williams  <dcbw@redhat.com>
14269
14270         Apply Robert's 'tray icon redo' patch with fixes
14271         * gnome/applet/applet.c
14272           gnome/applet/applet.h
14273                 - Instead of using a menu bar + menu item, simulate menu
14274                         behavior using a popup menu.  Highlight the area around
14275                         the icon more like a menu too, by playing with the
14276                         applet's size requisition
14277
14278 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14279         * libnm-util/dbus-helpers.c
14280           libnm-util/dbus-helpers.h
14281                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14282                         to 'exception_namespace' (:namespace is a keyword in
14283                         C++)
14284
14285 2006-01-09  Dan Williams  <dcbw@redhat.com>
14286
14287         * src/NetworkManagerPolicy.c
14288                 - (nm_policy_device_change_check): don't autoswitch away from
14289                         Ad-Hoc networks, since there's really no concept of
14290                         "link"
14291
14292         * src/nm-dbus-nm.c
14293                 - (nm_dbus_nm_create_wireless_network): mark created networks
14294                         as Ad-Hoc networks
14295
14296         * src/nm-device-802-11-wireless.c
14297                 - (real_activation_success_handler): add user-created Ad-Hoc
14298                         networks to the device's scan list
14299
14300 2006-01-08  Dan Williams  <dcbw@redhat.com>
14301
14302         We now require a patch for wpa_supplicant to support Ad-Hoc
14303         networks:
14304           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14305
14306         * src/nm-device-802-11-wireless.c
14307                 - (supplicant_send_network_config): turn off wpa_supplicant's
14308                         scanning.  Fixes Ad-Hoc networks.
14309
14310 2006-01-08  Dan Williams  <dcbw@redhat.com>
14311
14312         * src/nm-ap-security.c
14313           src/nm-ap-security.h
14314                 - Add a user_created argument to the write_supplicant_config
14315                         functions
14316
14317         * src/nm-ap-security-wep.c
14318           src/nm-ap-security-wpa-psk.c
14319           src/nm-device-802-11-wireless.c
14320                 - Make Ad-Hoc mode somewhat work, at least write the
14321                         correct options to wpa_supplicant
14322
14323 2006-01-08  Dan Williams  <dcbw@redhat.com>
14324
14325         * src/nm-device-802-11-wireless.c
14326                 - Remove unused code from the old device activation path
14327
14328 2006-01-08  Dan Williams  <dcbw@redhat.com>
14329
14330         * libnm-util/dbus-helpers.c
14331                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14332                         dbus when key == NULL
14333
14334 2006-01-08  Dan Williams  <dcbw@redhat.com>
14335
14336         * gnome/applet/nm-gconf-wso-wpa-psk.c
14337                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14338                         correct arguments to nmu_security_deserialize_wpa_psk()
14339
14340         * src/nm-ap-security-wpa-psk.c
14341                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14342                         arguments to nmu_security_deserialize_wpa_psk()
14343
14344 2006-01-08  Dan Williams  <dcbw@redhat.com>
14345
14346         * gnome/applet/wso-wpa-psk-hex.c
14347           gnome/applet/wso-wpa-psk-passphrase.c
14348                 - Hook up the append_dbus_params_func() function
14349
14350 2006-01-08  Dan Williams  <dcbw@redhat.com>
14351
14352         * src/nm-device-802-11-wireless.c
14353                 - (get_wireless_capabilities): correctly detect driver WPA
14354                         capabilities
14355
14356 2006-01-08  Dan Williams  <dcbw@redhat.com>
14357
14358         * gnome/applet/Makefile.am
14359           gnome/applet/wso-wpa-psk-hex.c
14360           gnome/applet/wso-wpa-psk-hex.h
14361                 - New files, implement WPA-PSK Hex key input
14362
14363         * gnome/applet/wireless-applet.glade
14364                 - Change existing wpa-psk stuff to wpa-psk-hex
14365                 - Add new widgets for wpa-psk-passphrase
14366
14367         * gnome/applet/wireless-security-manager.c
14368                 - (wsm_set_capabilities): enable WPA options
14369
14370         * gnome/applet/wso-wpa-psk-passphrase.c
14371                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14372                         for WPA-PSK passphrase
14373
14374 2006-01-08  Dan Williams  <dcbw@redhat.com>
14375
14376         * include/NetworkManager.h
14377                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14378                         applet/info-daemons
14379
14380         * gnome/applet/passphrase-dialog.c
14381                 - Use the constant.  Fixes a bug where the arguments to
14382                         dbus_message_new_error() were incorrect
14383
14384         * src/nm-dbus-nmi.c
14385                 - Use the constant
14386
14387 2006-01-07  Dan Williams  <dcbw@redhat.com>
14388
14389         * src/nm-device-802-11-wireless.c
14390                 - Add a link timeout so we allow the supplicant time to
14391                         reassociate if it can, before we deactivate the card
14392                 - Fix up link status and link updating so things work better
14393
14394 2006-01-07  Dan Williams  <dcbw@redhat.com>
14395
14396         * src/nm-device-802-11-wireless.c
14397                 - Switch over to using wpa_supplicant
14398                 - Add a timeout of 10s for association of the supplicant
14399                 - Start the monitor callback of the supplicant
14400
14401 2006-01-07  Dan Williams  <dcbw@redhat.com>
14402
14403         * src/NetworkManagerUtils.c
14404                 - (nm_utils_supplicant_request,
14405                   nm_utils_supplicant_request_with_check):
14406                         pass correct buffer length to wpa_ctrl_request()
14407
14408 2006-01-07  Dan Williams  <dcbw@redhat.com>
14409
14410         * src/nm-device-private.h
14411           src/nm-device.c
14412                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14413                         this function available to subclasses
14414
14415 2006-01-06  Robert Love  <rml@novell.com>
14416
14417         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14418           user plugging in a network cable signals their preference for to
14419           switch, unless the user explicitly selected a wireless network and
14420           therefore signaled their preference for said wireless network over
14421           wired.  In other words, do exactly what makes sense.
14422
14423 2006-01-06  Robert Love  <rml@novell.com>
14424
14425         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14426           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14427           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14428           showing up in my greps.
14429
14430 2006-01-06  Robert Love  <rml@novell.com>
14431
14432         * gnome/applet/applet-dbus-devices.c,
14433           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14434           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14435           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14436           New Network' both failed in the non-encrypted case because we were
14437           not appending the security options to the DBUS message.  And
14438           'Connect to Other' was also failing in the encrypted case because
14439           we were not incrementing to the next DBUS parameter.  All fixed.
14440           Thanks to dcdw for some debugging help.
14441
14442 2006-01-06  Robert Love  <rml@novell.com>
14443
14444         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14445           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14446           hangup code and add per-device hangup.  Tie last commit into the
14447           GNOME applet.  TODO:  Save, understand, and respond to the state of
14448           each dialup device.
14449
14450 2006-01-06  Robert Love  <rml@novell.com>
14451
14452         Patch by Timo Hoenig <thoenig@suse.de>:
14453         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14454           hangup specific dialup devices.
14455         * src/backends/NetworkManagerDebian.c,
14456           src/backends/NetworkManagerGentoo.c,
14457           src/backends/NetworkManagerRedHat.c,
14458           src/backends/NetworkManagerSlackware.c: Add stub backend.
14459         * src/backends/NetworkManagerRedHat.c,
14460           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14461           hangup specific dialup devices.
14462
14463 2006-01-04  Robert Love  <rml@novell.com>
14464
14465         * gnome/applet/applet-dbus-devices.c,
14466           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14467           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14468           connections.
14469
14470 2006-01-04  Dan Williams  <dcbw@redhat.com>
14471
14472         First dump of wpa_supplicant-related code.  It's not hooked up to
14473         anything yet though.  Thanks to Kay Sievers for
14474         wpa_supplicant_wrapper.c, which formed the basis for this work,
14475         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14476
14477         * src/Makefile.am
14478           src/wpa_ctrl.[ch]
14479                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14480
14481         * src/NetworkManagerUtils.[ch]
14482                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14483                         Add convenience functions for talking to wpa_supplicant
14484
14485         * src/nm-ap-security.[ch]
14486           src/nm-ap-security-wep.c
14487           src/nm-ap-security-wpa-psk.[ch]
14488                 - Update and implement real_write_supplicant_config functions
14489                         in all security types
14490                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14491                         nm-ap-security-wpa-psk.c
14492
14493         * src/nm-device-802-11-wireless.c
14494                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14495                    wpa_supplicant_start, wpa_supplicant_interface_init,
14496                    wpa_supplicant_send_network_config): add functions to talk to
14497                         wpa_supplicant and write network config to it
14498
14499 2006-01-04  Robert Love  <rml@novell.com>
14500
14501         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14502           values so that distribution-backends can differentiate between the
14503           various types (modem, ISDN, et cetera) of dialup device that they
14504           support.
14505         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14506           needed.
14507
14508 2006-01-03  Dan Williams  <dcbw@redhat.com>
14509
14510         * src/NetworkManagerPolicy.c
14511           src/nm-device.[ch]
14512           src/nm-device-802-11-wireless.c
14513                 - Move wireless-specific activation failure and success code
14514                         into wireless device class
14515
14516 2006-01-03  Robert Love  <rml@novell.com>
14517
14518         Patch by Preggna S:
14519         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14520           IPsec does not require that a VPN client be bound to an interface,
14521           due to the use of the in-kernel IPSec bits.  So make the tunnel
14522           device optional.
14523
14524 2006-01-03  Dan Williams  <dcbw@redhat.com>
14525
14526         * src/NetworkManagerAP.c
14527                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14528                         the WPA IE specifies that WEP is supported
14529
14530         * src/nm-device-802-11-wireless.c
14531                 - (process_scan_results): don't mark an AP as supporting WEP
14532                         if there's already other encryption capability info
14533
14534 2006-01-03  Dan Williams  <dcbw@redhat.com>
14535
14536         * src/dhcp-manager/nm-dhcp-manager.c
14537                 - Recognize activation cancellation when waiting for DHCP
14538                         configuration from dhcdbd
14539                 - Ignore non-dhcdbd messages
14540
14541         * src/nm-device.c
14542                 - (real_act_stage3_ip_config_start): return to correct behavior
14543                         of letting the dhcp-manager notify us of failure or
14544                         success rather than incorrectly doing that ourselves
14545                 - (nm_device_activate_stage4_ip_config_get): deal with
14546                         activation cancellation a bit earlier
14547
14548 2006-01-03  Dan Williams  <dcbw@redhat.com>
14549
14550         * src/nm-device-802-11-wireless.c
14551           src/nm-device.[ch]
14552                 - Add hooks to subclasses for stage3_ip_config_start and
14553                         stage4_ip_config_timeout
14554
14555         * src/nm-device-802-3-ethernet.c
14556                 - (real_get_generic_capabilities): make devices NM-supported
14557                         by default
14558
14559 2006-01-03  Robert Love  <rml@novell.com>
14560
14561         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14562           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14563           latter cannot differentiate between error and the address -1; misc.
14564           clean up.
14565
14566 2006-01-03  Dan Williams  <dcbw@redhat.com>
14567
14568         * src/NetworkManager.c
14569                 - Move link-checking/probing into the device subclasses
14570                         themselves
14571
14572         * src/nm-device.[ch]
14573           src/nm-device-802-11-wireless.c
14574           src/nm-device-802-3-ethernet.c
14575                 - Do periodic link checking in device subclasses rather
14576                         than being triggered from NetworkManager.c
14577                 - discover_wireless_capabilities -> get_wireless_capabilities
14578                 - discover_generic_capabilities -> get_generic_capabilities
14579                 - Device subclass activation routines now return a value of type
14580                         NMActStageReturn to indicate what step to perform next
14581                 - Devices now override stage4_get_ip4_config if they choose
14582
14583 2006-01-01  Dan Williams  <dcbw@redhat.com>
14584
14585         * src/nm-device-802-11-wireless.c
14586                 - (real_init): don't chain up to parent init because we don't
14587                         need to do that anymore
14588
14589         * src/nm-device.c
14590                 - (discover_device_type): fix arguments to ioctl() to correctly
14591                         pass interface name
14592                 - (nm_device_new): consolidate generic device initialization into
14593                         nm_device_new()
14594                 - (real_init): remove, consolidated to nm_device_new()
14595                 - (nm_device_deactivate, real_deactivate): consolidate
14596
14597 2006-01-01  Dan Williams  <dcbw@redhat.com>
14598
14599         * src/nm-activation-request.c
14600                 - Change dhcp_state member of the NMActRequest structure
14601                         from guint8 to guint32
14602
14603         * src/dhcp-manager/nm-dhcp-manager.[ch]
14604                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14605                         than guint8 to match the dbus argument.  Turns out we were
14606                         overwriting memory since we were passing in only a guint8
14607
14608 2005-12-31  Dan Williams  <dcbw@redhat.com>
14609
14610         * refactor NMDevice into a GObject-based framework with separate
14611                 objects for wired and wireless.  The following files are no
14612                 longer used but should stick around for a bit so we don't
14613                 loose code through the cracks:
14614                         NetworkManagerDevice.c
14615                         NetworkManagerDevice.h
14616                         NetworkManagerWireless.c
14617                         NetworkManagerWireless.h
14618
14619         The intent here is to allow each device type to manage its own
14620         connection & activation life-cycle, ie to allow wireless devices
14621         to interface with wpa_supplicant, etc.  There's a fair bit of
14622         encapsulation breakage right now that should gradually get pulled
14623         back into each device, along with things like periodic property
14624         updates and link probing.
14625
14626 2005-12-29  Dan Williams  <dcbw@redhat.com>
14627
14628         * include/NetworkManager.h
14629                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14630                         between networks that don't have any encryption at all
14631
14632 2005-12-29  Dan Williams  <dcbw@redhat.com>
14633
14634         * test/test-common.c
14635           test/test-common.h
14636           test/Makefile.am
14637                 - Move to a test-common subdirectory
14638
14639         * test/libnm-util/test-ciphers.c
14640                 - Move test data to test-inputs.h
14641                 - Test WPA ciphers too
14642
14643         * test/libnm-util/test-dbus-helpers.c
14644                 - Test serialization/deserialization of ciphers
14645
14646 2005-12-29  Dan Williams  <dcbw@redhat.com>
14647
14648         * gnome/applet/applet-dbus-devices.c
14649                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14650                         in dbus calls to NM
14651                 - Set capabilities on WirelessNetwork objects
14652                 - Receive and save type-specific device capabilities too
14653
14654         * gnome/applet/applet-dbus-info.c
14655           gnome/applet/applet-dbus.c
14656                 - Passphrase dialog no longer a singleton; new instance gets created
14657                         on each request.  Updates to deal with that.
14658
14659         * gnome/applet/applet.c
14660                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14661                         than single 'encrypted' flag
14662                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14663                         menu items
14664                 - Passphrase dialog updates per above
14665
14666         * gnome/applet/menu-items.c
14667                 - (network_menu_item_update): use AP capabilities to determine
14668                         encryption
14669
14670         * gnome/applet/nm-device.[ch]
14671                 - Add accessors for type-specific device capabilities
14672
14673         * gnome/applet/other-network-dialog.c
14674                 - Rework to respect device capabilities.  i.e., if the device doesn't
14675                         support WPA, remove that option from the security dropdown
14676
14677         * gnome/applet/passphrase-dialog.c
14678                 - Massive rework so that a new instance is created each time
14679                         it's used, to support wireless network capabilities
14680
14681         * gnome/applet/wireless-network.[ch]
14682                 - Add accessors and members for wireless network capabilities
14683
14684         * gnome/applet/wireless-security-manager.[ch]
14685                 - (wsm_set_capabilities): called after creation to set which
14686                         security options get shown to the user
14687
14688 2005-12-29  Dan Williams  <dcbw@redhat.com>
14689
14690         * libnm-util/cipher-wpa-psk-passphrase.c
14691                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14692                         like other ciphers
14693
14694 2005-12-23  Dan Williams  <dcbw@redhat.com>
14695
14696         * gnome/applet/applet-dbus-info.c
14697                 - (nmi_dbus_get_key_for_network): if there's no entry in
14698                         GConf for a network, assume we want a new key
14699                 - (nmi_save_network_info): serialize wireless security info
14700                         into GConf so its saved
14701
14702         * src/nm-dbus-nm.c
14703                 - Fix warning as we may not be passed security info when
14704                         connecting to a wireless network
14705
14706 2005-12-23  Dan Williams  <dcbw@redhat.com>
14707
14708         * gnome/applet/applet-compat.c
14709                 - Fix bugs in GConf entry conversion
14710
14711         * gnome/applet/applet-dbus-info.c
14712                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14713                         list being zero-length
14714
14715         * libnm-util/cipher-*
14716           libnm-util/dbus-helpers.c
14717                 - All ciphers must now return hashed keys as UTF-8 valid
14718                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14719                         through dbus as strings too.
14720                 - Consolidate various functions that do bin->hex and hex->bin
14721                         conversion into cipher.c
14722
14723         * src/nm-ap-security-wep.c
14724           src/nm-ap-security-wpa-psk.c
14725                 - Handle NULL keys since we may not know keys right away
14726
14727         * src/nm-dbus-nmi.c
14728                 - (nm_dbus_get_network_data_cb): actually advance to the start
14729                         of the wireless security info before we try to deserialize it
14730
14731         * libnm-util/test-ciphers.c
14732                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14733
14734 2005-12-22  Dan Williams  <dcbw@redhat.com>
14735
14736         * gnome/applet/applet-compat.[ch]
14737                 - Convert old-format GConf and keyring entries
14738                         when the applet starts up.
14739
14740         * gnome/applet/applet.c
14741                 - (nmwa_get_instance): Call the conversion function
14742                         on startup before dbus is initialized
14743
14744 2005-12-22  Dan Williams  <dcbw@redhat.com>
14745
14746         * gnome/applet/applet-dbus-info.c
14747                 - Remove nmi_dbus_create_error_message() in favor of
14748                         nmu_create_dbus_error_message()
14749                 - (nmi_dbus_get_network_properties): Error message cleanups
14750                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14751                         gconf key rather than 'addresses', since they really are BSSIDs
14752                 - (nmi_dbus_get_network_properties): Dispose of the security
14753                         object when we're done with it
14754
14755 2005-12-21  Dan Williams  <dcbw@redhat.com>
14756
14757         * Consolidate the info-daemon's "updateNetworkInfo" and
14758                 "addNetworkAddress" calls into just "updateNetworkInfo"
14759
14760 2005-12-21  Dan Williams  <dcbw@redhat.com>
14761
14762         * Make connection after key retrieval work again
14763
14764 2005-12-21  Dan Williams  <dcbw@redhat.com>
14765
14766         * gnome/applet/nm-gconf-wso*
14767                 - Make the serialize functions return gboolean
14768                         rather than int
14769
14770         * gnome/applet/nm-gconf-wso.c
14771                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14772                         parent class handling so we don't segfault
14773
14774         * src/NetworkManagerAP.[ch]
14775                 - (nm_ap_get_capabilities): new function, return capabilities
14776                         now that something can use them
14777                 - (nm_ap_set_encrypted): assume that an access point supports
14778                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14779                         we even tell whether it just supports WEP40?
14780
14781         * src/NetworkManagerDevice.c
14782                 - (ap_need_key): resurrect and update for the New World Order
14783                 - (nm_device_wireless_get_activation_ap): if we're not given
14784                         security info to use, create some based on access point
14785                         capabilities
14786
14787         * src/nm-ap-security-wep.c
14788                 - (nm_ap_security_wep_new_from_ap): create a new object
14789                         based on a certain access point's capabilities
14790
14791         * src/nm-ap-security.c
14792                 - (nm_ap_security_new_from_ap): delegate creation of a new
14793                         object based on access point capabilities to a subclass
14794                 - (nm_ap_security_copy_properties): don't segfault if we
14795                         don't have a key yet
14796
14797         * src/nm-dbus-nm.c
14798                 - (nm_dbus_nm_set_active_device): provide more informative
14799                         output when errors occur.  Also construct security info
14800                         for a given access point if we weren't given any
14801
14802 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14803
14804         * configure.in: Added Lithuanian to ALL_LINGUAS.
14805
14806 2005-12-21  Dan Williams  <dcbw@redhat.com>
14807
14808         * test/libnm-util
14809                 - Add some testcases for WEP ciphers
14810
14811 2005-12-17  Dan Williams  <dcbw@redhat.com>
14812
14813         * Fix bugs
14814
14815 2005-12-17  Dan Williams  <dcbw@redhat.com>
14816
14817         * include/NetworkManager.h
14818                 - Finally kill NMEncKeyType
14819
14820         * gnome/applet/applet-dbus-info.c
14821                 - (nmi_save_network_info): convert to NMGConfWSO
14822
14823         * gnome/applet/nm-gconf-wso-*.c
14824                 - Implement gconf serialization functions
14825
14826         * src/NetworkManagerPolicy.c
14827                 - (nm_policy_activation_finish): fix up meaning of
14828                         automatic/user_requested
14829
14830 2005-12-17  Dan Williams  <dcbw@redhat.com>
14831
14832         * gnome/applet/*
14833                 - More applet cleanups
14834                 - Use the dbus-method-dispatcher
14835
14836         * libnm-util/dbus-method-dispatcher.[ch]
14837                 - Generalize the implementation from NM in
14838                         NetworkManagerUtils.c
14839
14840 2005-12-16  Dan Williams  <dcbw@redhat.com>
14841
14842         * gnome/applet/*
14843                 - Fix up the passphrase dialog to use all the
14844                         WirelessSecurityOption stuff (untested)
14845
14846 2005-12-16  Dan Williams  <dcbw@redhat.com>
14847
14848         * Move nm_gconf_get_*_helper() functions to separate files,
14849                 gconf-helpers.c & gconf-helpers.h
14850
14851         * New NMGConfWSO objects for managing the gconf side of things.
14852                 Eventually these should be merged with the
14853                 WirelessSecurityOption objects and a common base (that can
14854                 serialize/deserialize from dbus & gconf) should be
14855                 refactored out, but for now they are separate.
14856
14857 2005-12-16  Robert Love  <rml@novell.com>
14858
14859         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14860           binaries unless they exist (nm_spawn_process() emits a warning if
14861           asked to spawn a non-existant process).
14862
14863 2005-12-16  Dan Williams  <dcbw@redhat.com>
14864
14865         * gnome/applet/applet-dbus-info.c
14866                 - Clean up lots of gconf-related code
14867
14868 2005-12-16  Robert Love  <rml@novell.com>
14869
14870         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14871
14872 2005-12-16  Dan Williams  <dcbw@redhat.com>
14873
14874         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14875
14876         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14877                 bits still to be done)
14878
14879 2005-12-16  Dan Williams  <dcbw@redhat.com>
14880
14881         * Finally move info-daemon related stuff out of
14882                 NetworkManagerDbus.c to nm-dbus-nmi.c
14883
14884 2005-12-16  Dan Williams  <dcbw@redhat.com>
14885
14886         * Kill auth_method for access points, since that's now done
14887                 by NMAPSecurity objects
14888
14889         * Add a copy-constructor of sorts to NMAPSecurity
14890                 (how do you do this properly in glib???)
14891
14892 2005-12-15  Dan Williams  <dcbw@redhat.com>
14893
14894         * Exorcise encryption key hashing on APs
14895         * Use libnm-util's serialization/deserialization in both the
14896                 applet and NM
14897         * Random other stuff
14898
14899 2005-12-15  Robert Love  <rml@novell.com>
14900
14901         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14902           is being added to the icon naming spec, so let's use that (Tango CVS
14903           has the icon).  Because it is new, however, we fall back to the
14904           current "gnome-lockscreen" if the new icon is not around, thus
14905           behavior is the same.
14906         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14907           factory junk.
14908
14909 2005-12-15  Robert Love  <rml@novell.com>
14910
14911         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14912           well, help to give.  Couple other misc. bits.
14913
14914 2005-12-15  Dan Williams  <dcbw@redhat.com>
14915
14916         * libnm-util/dbus-helpers.[ch]
14917                 - Make this the one-stop-shop for serializing/deserializing
14918                         AP & connection security settings over dbus.  Both NM
14919                         and applets should use this to ensure consistent dbus
14920                         API going forwared.
14921
14922 2005-12-15  Robert Love  <rml@novell.com>
14923
14924         Patch by Timo Hoenig  <thoenig@suse.de>:
14925         * src/NetworkManagerDbus.c
14926                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14927                         if HAL jumps off the system bus.  Otherwise libdbus
14928                         (dbus_connection_dispatch) will try to run the filter
14929                         function of our libhal context which is already freed.
14930
14931 2005-12-15  Alexander Shopov  <ash@contact.bg>
14932
14933         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14934
14935 2005-12-14  Dan Williams  <dcbw@redhat.com>
14936
14937         * include/NetworkManager.h
14938           src/NetworkManagerWireless.c
14939                 - Rearrange 802.11 wireless-specific capabilities again
14940
14941         * src/Makefile.am
14942                 - Forgot to add wpa.c/wpa.h to the makefiles
14943
14944         * src/NetworkManagerAP.[ch]
14945                 - Implement access point capabilities and parse the
14946                         WPA/RSN IEs into the capability bitfield
14947                 - Switch the "encrypted" attribute to utilize the bitfield
14948                         and capabilities rather than being independent
14949
14950         * src/NetworkManagerDevice.c
14951                 - (nm_device_wireless_get_activation_ap): break it horribly
14952                         until we can push NMAPSecurity objects into access point
14953                         objects and through the activation chain
14954                 - Stuff WPA & RSN IEs into AP capabilities
14955
14956         * src/nm-dbus-nm.c
14957                 - Take a shot at actually making setActiveDevice work
14958
14959         * src/wpa.[ch]
14960                 - Make the API a bit saner
14961
14962 2005-12-14  Dan Williams  <dcbw@redhat.com>
14963
14964         * include/NetworkManager.h
14965                 - Add 802.11-specific capability for 802.1x key
14966                         management
14967
14968         * src/wpa.[ch]
14969                 - Pull in WPA IE and RSN IE parsing code from
14970                         wpa_supplicant so we can determine access point
14971                         capabilities
14972                 - Move WPA-related constants here from NetworkManagerAP.h
14973                         and NetworkManagerDevice.c
14974
14975         * src/NetworkManagerDevice.c
14976           src/NetworkManagerAP.[ch]
14977                 - Use WPA-related constants from wpa.h
14978
14979 2005-12-14  Dan Williams  <dcbw@redhat.com>
14980
14981         * include/NetworkManager.h
14982                 - Update and split 802.11 wireless-specific capabilities from
14983                         generic device capabilities
14984
14985         * src/NetworkManagerDevice.c
14986           src/NetworkManagerDevicePrivate.h
14987                 - (nm_device_wireless_discover_capabilities): Move 802.11
14988                         wireless-specific capability checks to
14989                         NetworkManagerWireless.c
14990                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14991                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14992
14993         * src/NetworkManagerWireless.[ch]
14994                 - (nm_802_11_wireless_discover_capabilities): Check extended
14995                         802.11 wireless-specific capabilities of the driver
14996
14997 2005-12-14  Robert Love  <rml@novell.com>
14998
14999         Patch from Stefan Scheler <sscheler@suse.de>:
15000         * src/NetworkManagerDevice.c: call backend code to activate and
15001           deactivate NIS.
15002         * src/NetworkManagerSystem.h: add new NIS interfaces.
15003         * src/backends/NetworkManagerDebian.c,
15004           src/backends/NetworkManagerGentoo.c,
15005           src/backends/NetworkManagerRedHat.c,
15006           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15007           support.
15008         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15009
15010 2005-12-14  Dan Williams  <dcbw@redhat.com>
15011
15012         * src/nm-ap-security*.[ch]
15013                 - Add AP security abstractions to NetworkManager
15014
15015         * src/nm-dbus-device.c
15016                 - Begin to parse new format dbus messages from the applet
15017                         and construct an AP security object from the message
15018
15019         * libnm-util/dbus-helpers.c
15020                 - Use message iters so we can append the key as a fixed
15021                         array of bytes, which actually works rather than
15022                         using dbus_message_append_args() as we were before
15023
15024 2005-12-14  Dan Williams  <dcbw@redhat.com>
15025
15026         * src/NetworkManagerDbus.c
15027           gnome/applet/applet-dbus.c
15028                 - Fix up dbus service replacement options.  The applet
15029                         should allow replacement, NM itself should not.
15030
15031 2005-12-13  Robert Love  <rml@novell.com>
15032
15033         * src/named-manager/nm-named-manager.c: Revert earlier commit.
15034           Instead, fail silently if config is NULL by not asserting and not
15035           returning FALSE.  Also, make sure we always fclose() the file.
15036
15037 2005-12-13  Robert Love  <rml@novell.com>
15038
15039         Patch by Stefan Scheler <sscheler@suse.de>:
15040         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
15041            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15042            via DHCP.  Still need the backends to commit the NIS domain name and
15043            and servers to yp.conf as needed.
15044
15045 2005-12-13  Robert Love  <rml@novell.com>
15046
15047         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15048           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15049
15050 2005-12-13  Robert Love  <rml@novell.com>
15051
15052         * src/named-manager/nm-named-manager.c: Don't unref the config until
15053           after we call rewrite_resolv_conf(), because get_last_default_domain()
15054           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
15055           `config != NULL' failed" assertion failures and "Could not commit DNS
15056           changes" warnings.
15057
15058 2005-12-12  Dan Williams  <dcbw@redhat.com>
15059
15060         * libnm-util/dbus-helpers.[ch]
15061           libnm-util/Makefile.am
15062                 - new helper calls to consolidate locations where
15063                         NM's setDevice method is called
15064
15065         * gnome/applet/applet-dbus-devices.c
15066           gnome/applet/wireless-security-option.c
15067           gnome/applet/wso-*
15068                 - Implement dbus message param append function for
15069                         all wireless security options
15070
15071 2005-12-12  Robert Love  <rml@novell.com>
15072
15073         * libnm-util/cipher-wep-passphrase.c,
15074           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15075           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15076           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15077           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15078           When handling keys, we don't care what the sign is.  The compiler
15079           guarantees us that we get our 8-bits, which is all we care about.
15080         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
15081
15082 2005-12-12  Dan Williams  <dcbw@redhat.com>
15083
15084         * gnome/applet/applet-dbus-devices.[ch]
15085           gnome/applet/applet.c
15086           gnome/applet/other-network-dialog.c
15087           gnome/applet/wireless-security-manager.[ch]
15088           gnome/applet/wireless-security-option.[ch]
15089           gnome/applet/wso-*
15090                 - Push the wireless security options further into the applet
15091
15092 2005-12-12  Robert Love  <rml@novell.com>
15093
15094         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15095           return any name servers.  That is perfectly valid.  (Novell #134369).
15096
15097 2005-12-11  Dan Williams  <dcbw@redhat.com>
15098
15099         * gnome/applet/wso-*
15100           gnome/applet/wireless-security-option.*
15101           gnome/applet/Makefile.am
15102                 - split each security option out so we can eventually
15103                         have each one build up their own dbus message
15104                         arguments to send to NM
15105
15106 2005-12-11  Dan Williams  <dcbw@redhat.com>
15107
15108         * Make validation of the key work correctly
15109
15110 2005-12-11  Dan Williams  <dcbw@redhat.com>
15111
15112         * Hook more bits of the Other Network Dialog up to the
15113                 wireless security manager stuff, and restructure
15114                 bits of the dialog so there's less code.
15115
15116 2005-12-10  Dan Williams  <dcbw@redhat.com>
15117
15118         * gnome/applet/Makefile.am
15119                 - Add libnm-util to includes
15120                 - Add libnm-util to link list
15121                 - Add wireless-security-common.* to compile list
15122
15123         * gnome/applet/other-network-dialog.c
15124                 - Convert to using the WirelessSecurityManager code and
15125                         widgets
15126
15127         * gnome/applet/passphrase-dialog.c
15128                 - Comment out references to stuff in the glade file that
15129                         cause runtime errors until it can be fixed up
15130                         to use the WirelessSecurityManager code
15131
15132         * gnome/applet/wireless-applet.glade
15133                 - Rename some widgets
15134                 - Add widgets for the WirelessSecurityManager code
15135                 - Remove passphrase-related stuff since that's now
15136                         handled by the WirelessSecurityManager code
15137
15138 2005-12-10  Dan Williams  <dcbw@redhat.com>
15139
15140         * gnome/applet/applet-dbus-devices.c
15141                 - Print out error message details for dbus pending call callbacks
15142                 - Move nmwa_dbus_update_devices() up
15143
15144         * gnome/applet/applet-dbus-vpn.c
15145                 - Print out error message details for dbus pending call callbacks
15146
15147 2005-12-10  Dan Williams  <dcbw@redhat.com>
15148
15149         * libnm-util/*
15150                 - More fixups
15151                 - Remove cipher-manager.* because we don't need it
15152                 - Forgot to add gnome-keyring-md5 files to compile list
15153
15154 2005-12-09  Dan Williams  <dcbw@redhat.com>
15155
15156         * libnm-util/*
15157           configure.in
15158           Makefile.am
15159                 - Add a utility library for clients of NetworkManager.  It's
15160                         only targetted at applets for the moment, and contains
15161                         a generalized 802.11 cipher framework for different
15162                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15163
15164 2005-12-09  Robert Love  <rml@novell.com>
15165
15166         * src/NetworkManagerDevice.c: handle error better in
15167           nm_device_set_mode().
15168
15169 2005-12-08  Robert Love  <rml@novell.com>
15170
15171         * include/NetworkManager.h: add WPA capabilities constants
15172         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15173           or WPA2 and add the capabilities bits as appropriate.
15174
15175 2005-12-08  Robert Love  <rml@novell.com>
15176
15177         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15178           NetworkManagerDispatcher.
15179         * configure.in, initscript/SUSE/.cvsignore,
15180           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15181           initscript.
15182
15183 2005-12-08  Robert Love  <rml@novell.com>
15184
15185         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15186
15187 2005-12-08  Robert Love  <rml@novell.com>
15188
15189         * src/NetworkManagerDevice.c: We want to fall back on and default to
15190           IW_MODE_AUTO, not -1, which is more in line with our previous
15191           behavior.  Otherwise, we try to set the wireless mode to -1 in
15192           nm_device_set_mode().
15193
15194 2005-12-07  Robert Love  <rml@novell.com>
15195
15196         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15197           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15198           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15199           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15200           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15201           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15202           zero.
15203
15204 2005-12-07  Robert Love  <rml@novell.com>
15205
15206         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15207           supplied IP is invalid, fall back to DHCP.
15208
15209 2005-12-07  Dan Williams  <dcbw@redhat.com>
15210
15211         * Convert NETWORK_MODE_* constants to IW_MODE_*
15212         * Make all the get_mode/set_mode functions take and return 'int'
15213         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15214
15215 2005-12-07  Robert Love  <rml@novell.com>
15216
15217         * src/NetworkManagerDevice.c: strncpy() buffer check.
15218         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15219
15220 2005-12-06  Dan Williams  <dcbw@redhat.com>
15221
15222         * gnome/applet/applet-dbus.c
15223                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15224
15225         * gnome/applet/applet-dbus-vpn.c
15226                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15227                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15228                         to TRUE here if stage was ACTIVATED
15229
15230 2005-12-06  Dan Williams  <dcbw@redhat.com>
15231
15232         * Change nm_device_is_* functions to better names:
15233                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15234                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15235
15236 2005-12-06  Dan Williams  <dcbw@redhat.com>
15237
15238         * Change naming of NMDeviceType to something more sensible:
15239                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15240                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15241                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15242
15243 2005-12-06  Dan Williams  <dcbw@redhat.com>
15244
15245         * Move NetworkManager.h -> include/NetworkManager.h
15246         * Split out VPN stuff into include/NetworkManagerVPN.h
15247         * Fix up makefiles to include new location
15248         * Fix up sources to include NetworkManagerVPN.h
15249
15250 2005-12-06  Dan Williams  <dcbw@redhat.com>
15251
15252         Various changes in the applet to move VPN connection "state" -> "stage",
15253         which it actually is.  I'd like to change the signal as well when we
15254         break compat in the near future.
15255
15256 2005-12-06  Dan Williams  <dcbw@redhat.com>
15257
15258         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15259         * initscript/Slackware/rc.networkmanager
15260                 - Cosmetic fix
15261
15262         * src/backends/NetworkManagerSlackware.c
15263                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15264                         interfaces
15265
15266 2005-12-05  Robert Love  <rml@novell.com>
15267
15268         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15269           to free, particularly here as it just barfs.
15270
15271 2005-12-05  Dan Williams  <dcbw@redhat.com>
15272
15273         * gnome/applet/applet-dbus.c
15274                 - Work with dbus 0.6 too
15275
15276 2005-12-03  Dan Williams  <dcbw@redhat.com>
15277
15278         * src/NetworkManagerUtils.[ch]
15279           src/nm-ip4-config.c
15280                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15281                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15282
15283 2005-12-01  Robert Love  <rml@novell.com>
15284
15285         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15286           need a NULL for the '...' parameter, too, to fill the so-called
15287           sentinel.
15288
15289 2005-12-01  Robert Love  <rml@novell.com>
15290
15291         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15292           interface is already gone, so don't call rtnl_link_change() to down
15293           it (which will segfault, anyhow).
15294
15295 2005-11-22  Robert Love  <rml@novell.com>
15296
15297         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15298           gateway is not set, just print a little note.  Configurations without
15299           gateways are valid.
15300
15301 2005-11-22  Robert Love  <rml@novell.com>
15302
15303         * README: update
15304
15305 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15306
15307         * configure.in: Added Finnish translation to ALL_LINGUAS
15308
15309 2005-11-14  Robert Love  <rml@novell.com>
15310
15311         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15312           Niemueller <tim@niemueller.de>.
15313
15314 2005-11-08  Dan Williams  <dcbw@redhat.com>
15315
15316         Patch from Bill Moss <bmoss@clemson.edu>
15317         * src/NetworkManagerDevice.c
15318                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15319                         of nm_policy_schedule_activation_finish() to prevent a
15320                         race condition that causes the link to be dropped
15321
15322 2005-11-08  Dan Williams  <dcbw@redhat.com>
15323
15324         Patch from Bill Moss <bmoss@clemson.edu>
15325         * src/NetworkManagerAPList.c
15326           src/NetworkManagerDevice.c
15327           src/NetworkManagerDbus.c
15328                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15329                         we get more readable ether/mac addresses
15330
15331 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15332
15333         * gnome/applet/main.c: Don't set the restart command.  This fixes
15334         the issue where the restart command was getting copies of all its
15335         arguments for each time the applet was restarted.
15336
15337 2005-11-02  Robert Love  <rml@novell.com>
15338
15339         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15340           if the widget state differs from our saved state.  This ensures we
15341           do not enter an endless loop of death and destruction.  Also, this
15342           guarantees us that we enforce the widget state.
15343
15344 2005-11-02  Robert Love  <rml@novell.com>
15345
15346         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15347         * gnome/applet/applet-dbus-devices.c: invoke the new function
15348           nmwa_enable_wireless_set_active() to ensure that the state of the
15349           'Enable Wireless' checkbox matches the daemon's state.  This is a
15350           concern because the daemon remembers the state.
15351
15352 2005-11-02  Robert Love  <rml@novell.com>
15353
15354         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15355           Enabled", as checkboxes should be actions/commands not positive
15356           statements, otherwise they are confusing in the unselected case.  See
15357           examples in GNOME HIG, Chapter 6.
15358
15359 2005-11-02  Robert Love  <rml@novell.com>
15360
15361         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15362           show a list of wireless networks or the wireless devices or the
15363           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15364           a bad bug: If wireless is disabled and the user picks a wireless
15365           network, NM will switch to the network, only to immediately switch
15366           back, as wireless is disabled.  This also reassures people that NM
15367           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15368
15369 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15370
15371         * gnome/applet/applet.c:
15372         * gnome/applet/applet.h:
15373         Partial backout of Dan's timeout animation patch.
15374         Timeout IDs cannot legally be 0, so revert the code in place to handle
15375         a timeout ID of 0 to denote the timeout isn't running.
15376
15377 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15378
15379         * src/NetworkManagerPolicy.c:
15380         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15381
15382 2005-10-28  Robert Love  <rml@novell.com>
15383
15384         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15385           "Import Saved Configuration..." to make it clear that importing is
15386           not the next step, but an option.  As an aside, a nice TODO would be
15387           to move Importing out of the vpn-specific dialog and into the main
15388           property editor, as Importing goes with Adding, but that will require
15389           some rearchitecting of the VPN stuff I suspect.
15390
15391 2005-10-27  Dan Williams  <dcbw@redhat.com>
15392
15393         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15394         we should replace most of the distro-specific backend code
15395         with libnl stuff.
15396
15397         Get it here:  http://people.suug.ch/~tgr/libnl/
15398
15399         * configure.in
15400           src/Makefile.am
15401                 - Add checks for libnl pkgconfig file
15402                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15403
15404         * src/NetworkManagerSystem.c
15405           src/nm-ip4-config.[ch]
15406                 - Use libnl rather than ioctl() for most things
15407                 - Remove unused functions
15408
15409 2005-10-27  Robert Love  <rml@novell.com>
15410
15411         * src/backends/NetworkManagerSuSE.c: fix warning message text
15412
15413 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15414
15415         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15416
15417 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15418
15419         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15420         project page <http://www.gnome.org/projects/NetworkManager/>
15421
15422 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15423
15424         * gnome/applet.c: Also use translator credits if we don't have
15425         the new GtkAboutDialog (older versions of GTK+)
15426
15427 2005-10-26  Robert Love  <rml@novell.com>
15428
15429         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15430           failure; correct usage text for "--no-daemon"
15431
15432 2005-10-25  Dan Williams  <dcbw@redhat.com>
15433
15434         * src/NetworkManagerDevice.c
15435                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15436                         no scan results
15437                 - (free_process_scan_cb_data): unref the device when freeing results
15438                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15439                         so we don't unref the device underneath ourselves
15440
15441 2005-10-25  Dan Williams  <dcbw@redhat.com>
15442
15443         * Back out 2005-10-24 commit from Tor Krill.  Patch
15444                 causes nameservers never to be removed from named.
15445
15446 2005-10-24  Dan Williams  <dcbw@redhat.com>
15447
15448         Clean up wireless scanning and wireless link probing.
15449
15450         * src/NetworkManagerDevice.c
15451                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15452                         just see if there's an activation request on the device, and check the
15453                         current link against the activation request access point's ESSID.
15454                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15455                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15456                         don't call process_scan_results() on zero-length data
15457                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15458                         15 seconds (from 10)
15459
15460 2005-10-24  Dan Williams  <dcbw@redhat.com>
15461
15462         Cleanup some applet stuff:
15463
15464         - Animation timeouts.  If NM died while the applet was animating,
15465                 the applet would not hide itself.  This is now fixed.
15466
15467         - Remove some dead code
15468
15469         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15470                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15471
15472         - Track animation timeout using a gboolean rather than the timeout's
15473                 ID, since timeout IDs can legally be 0.
15474
15475 2005-10-24  Dan Williams  <dcbw@redhat.com>
15476
15477         * src/backends/interface_parser.c
15478                 - Add void to function declarations that need it
15479                         to match patch from Engin AYDOGAN
15480
15481         * src/backends/interface_parser.h
15482                 - Remove unused prototype for ifparser_interfaces()
15483
15484         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15485         * src/backends/interface_parser.h:
15486                 - Compile fixes for gcc 4.0.2 (add void)
15487
15488 2005-10-24  Dan Williams  <dcbw@redhat.com>
15489
15490         Patch from Tor Krill <tor@krill.nu>
15491         * src/named-manager/nm-named-manager.c
15492                 - Write more than just the first nameserver to /etc/resolv.conf
15493                 - Write out valid /etc/resolv.conf on exit
15494
15495 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15496
15497         * gnome/applet/applet-dbus-vpn.c:
15498         Get rid of spurious newlines in debug console output
15499
15500 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15501
15502         * src/backends/NetworkManagerGentoo.c:
15503         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15504
15505 2005-10-20  Robert Love  <rml@novell.com>
15506
15507         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15508           direct comparison of floating point values, which is never correct.
15509           Also some misc. cleanup.
15510
15511 2005-10-19  Robert Love  <rml@novell.com>
15512
15513         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15514
15515 2005-10-19  Robert Love  <rml@novell.com>
15516
15517         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15518           sensitivity of the buttons.  Specificaly, do the right thing if
15519           there are no entries.
15520
15521 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15522
15523         * configure.in: Update check for adequate wireless-tools
15524         with an AC_TRY_COMPILE for the new symbols we use.
15525
15526 2005-10-19  Dan Williams  <dcbw@redhat.com>
15527
15528         * src/NetworkManagerDevice.c
15529                 - (process_scan_results): don't drop the last (or only)
15530                         access point we see
15531
15532 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15533
15534         * src/backends/NetworkManagerSlackware.c:
15535         Patch from Nico <lordllucifer@gmail.com>
15536                 - Update the Slackware backend.
15537
15538 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15539
15540         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15541         if we've got GLib 2.8.0
15542
15543 2005-10-18  Robert Love  <rml@novell.com>
15544
15545         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15546           function nm_schedule_state_change_signal_broadcast() when we
15547           deactivate a device, too.
15548
15549 2005-10-18  Robert Love  <rml@novell.com>
15550
15551         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15552           be used uninitialized.
15553
15554 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15555
15556         * test/libnm_glib_test.c: Test unregistering, too.
15557
15558 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15559
15560         * configure.in: Bump to 0.5.0
15561
15562 2005-10-17  Dan Williams  <dcbw@redhat.com>
15563
15564         * NetworkManager.h
15565                 - Remove WPA-related constants so they aren't part of the
15566                         upcoming release.
15567
15568 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15569
15570         * gnome/applet/applet.c:
15571         * gnome/applet/applet.h:
15572         Desensitize the 'Connection Information' menu item when there is
15573         no active connection.
15574
15575 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15576
15577         * gnome/libnm_glib/libnm_glib.c:
15578         Make libnm_glib_unregister_callback () actually unregister the callback
15579
15580 2005-10-17  Robert Love  <rml@novell.com>
15581
15582         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15583           two seconds -- tries is updated every 1/10 of a second, not every
15584           second..
15585
15586 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15587
15588         * gnome/applet/applet-dbus-info.c:
15589         Let D-BUS know that we haven't handled a message when we haven't.
15590
15591 2005-10-17  Robert Love  <rml@novell.com>
15592
15593         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15594           in order to remain 64-bit clean.
15595
15596 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15597
15598         * gnome/applet/applet-dbus-info.c:
15599         Find network encryption keys asynchronously
15600
15601 2005-10-17  Robert Love  <rml@novell.com>
15602
15603         * src/backends/NetworkManagerDebian.c,
15604           src/backends/NetworkManagerRedHat,
15605           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15606           comment delimiter.
15607
15608 2005-10-17  Robert Love  <rml@novell.com>
15609
15610         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15611           "/etc"
15612
15613 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15614
15615         * src/NetworkManagerDevice.c: (process_scan_results)
15616         Fix logic that checks to see whether we have an ESSID.
15617
15618 2005-10-15  Dan Williams  <dcbw@redhat.com>
15619
15620         Move scanning code into NetworkManager rather than use iwlib's
15621         iw_scan() function, so that we can figure out AP capabilities.
15622
15623         * NetworkManager.h
15624                 - Add AP capability bits
15625
15626         * src/NetworkManagerAP.[ch]
15627                 - Add capability field to NMAccessPoint structure
15628                 - Add WPA & RSN Information Element fields and accessor
15629                         functions to NMAccessPoint
15630
15631         * src/NetworkManagerDevice.c
15632                 - Remove usage of iw_scan
15633                 - Add scanning code to NetworkManager rather than use
15634                         iw_scan() from iwlib
15635
15636         * src/NetworkManagerUtils.[ch]
15637                 - (nm_dispose_scan_results): remove, unused
15638
15639 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15640
15641         * gnome/libnm_glib/libnm_glib.c:
15642         * gnome/libnm_glib/libnm_glib.h:
15643         Use guint instead of gint for callback IDs.
15644
15645 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15646
15647         * gnome/applet/applet.c:
15648         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15649         every 1000ms.  It will unconditionally call nmwa_update_state which
15650         kills the existing animation timeout and registers a new one with a
15651         callback to draw a new frame every 100ms.  There are 11 connecting
15652         icon frames, so the last 2 frames kept getting dropped.  Only reset
15653         the animation timeout if we aren't animating.
15654
15655 2005-10-11  Dan Williams  <dcbw@redhat.com>
15656
15657         * gnome/applet/applet-dbus-devices.c
15658                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15659                         We want to grab the product & vendor from net.physical_dev
15660                         rather than info.parent.
15661
15662 2005-10-11  Dan Williams  <dcbw@redhat.com>
15663
15664         * src/NetworkManagerDevice.c
15665                 - Use the driver's WE version for scanning rather than
15666                         the WE version NM was compiled with.  Fixes random
15667                         crashes in iw_scan () in iwlib.
15668
15669 2005-10-10  Dan Williams  <dcbw@redhat.com>
15670
15671         * Remove nm_system_load_device_modules() from backend files
15672                 and from NetworkManager.c
15673
15674 2005-10-10  Dan Williams  <dcbw@redhat.com>
15675
15676         * src/NetworkManagerPolicy.c
15677                 - Fix some bugs introduced by the capabilities patch
15678
15679 2005-10-10  Dan Williams  <dcbw@redhat.com>
15680
15681         * gnome/applet/applet-dbus-info.c
15682                 - (nmi_dbus_get_network_key): hide the menu when putting up
15683                         the keyring dialog.  (not sure if the code is right...)
15684
15685 2005-10-09  Dan Williams  <dcbw@redhat.com>
15686
15687         Patch from Bill Moss <bmoss@clemson.edu>
15688         * src/NetworkManagerDevice.c
15689                 - (nm_device_set_user_key_for_network): don't try to set auth
15690                         mode on the AP from the allowed list if it's NULL
15691
15692 2005-10-09  Dan Williams  <dcbw@redhat.com>
15693
15694         * Replace the "driver support level" stuff with capabilities.  The
15695                 capability field is a bitfield that is more flexible than the
15696                 old driver support level thing.  It's mostly so we can easily
15697                 figure out what supports WPA and what doesn't, but should be
15698                 quite useful later.
15699
15700 2005-10-09  Dan Williams  <dcbw@redhat.com>
15701
15702         * test/nmtest.c
15703                 - Removed
15704
15705         * test/nm-tool.c
15706           test/Makefile.am
15707                 - Added new "nm-tool" tool that gives quite a bit more
15708                         information
15709
15710 2005-10-07  Robert Love  <rml@novell.com>
15711
15712         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15713           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15714           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15715           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15716           appropriate
15717
15718 2005-10-07  Robert Love  <rml@novell.com>
15719
15720         * configure.in: Change our compile flags for the betterment of mankind.
15721           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15722           prototype is very bad on 64-bit platforms as types default to int but
15723           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15724           "-Wmissing-declarations" to warn if we define an exported function
15725           but fail to put it in a header.
15726
15727 2005-10-07  Robert Love  <rml@novell.com>
15728
15729         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15730           by the name nm_update_device_wireless_timeouts() and once tried,
15731           without success, to steal my pet turtle.
15732
15733 2005-10-07  Robert Love  <rml@novell.com>
15734
15735         * Cleanup prototypes: put some functions in header files and mark
15736           others as 'static' -- feel free to invert
15737         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15738           nm_vpn_manager_vpn_connection_list_copy()
15739         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15740           nm_vpn_service_get_dbus_connection()
15741         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15742           nm_vpn_manager_vpn_connection_list_copy()
15743         * src/vpn-manager/nm-vpn-service.c: make
15744           nm_vpn_service_act_request_failed() and
15745           nm_vpn_service_stage2_daemon_wait() static
15746         * src/vpn-manager/nm-vpn-service.h: add prototype for
15747           nm_vpn_service_get_dbus_connection()
15748
15749 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15750
15751         * gnome/applet/applet.c:
15752         * gnome/applet/applet.h:
15753         * gnome/applet/icons/Makefile.am:
15754         Convey information about the current connection stage in the
15755         icons themselves instead of creating a separate progress bar.
15756
15757 2005-10-04  Robert Love  <rml@novell.com>
15758
15759         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15760           convert an ether_addr structure's MAC into a string, because the
15761           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15762           versus 07:3B:04, while the former will not.
15763
15764 2005-10-04  Robert Love  <rml@novell.com>
15765
15766         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15767           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15768           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15769           default route in the 'Connection Information' dialog, send primary
15770           and secondary name servers in in "getProperties" DBUS method, add
15771           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15772           secondary domain name servers are crucial pieces of information
15773           that a user might need in debugging a network problem.
15774
15775 2005-10-04  Robert Love  <rml@novell.com>
15776
15777         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15778           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15779           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15780           default route in the 'Connection Information' dialog, send default
15781           route in "getProperties" DBUS method, add network_device_set_route(),
15782           and network_device_get_route().  The Gateway is a crucial piece of
15783           connection-related information that a user might need in debugging a
15784           network problem.
15785
15786 2005-10-03  Robert Love  <rml@novell.com>
15787
15788         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15789           NULL.
15790
15791 2005-10-02  Dan Williams  <dcbw@redhat.com>
15792
15793         * Shorten time taken to sleep by fastpathing bits of device deactivation
15794                 necessary for sleep.
15795
15796         * Fix issue where deactivating a device might deactivate the active
15797                 VPN connection, even if the VPN was not using the device.
15798
15799 2005-10-02  Dan Williams  <dcbw@redhat.com>
15800
15801         * gnome/applet/applet.c
15802                 - Adjust signal strength -> icon mapping values slightly
15803                         (so that 51% signal doesn't show a 75% icon) by adding
15804                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15805                         shows 50% icon, etc.
15806
15807 2005-09-29  Robert Love  <rml@novell.com>
15808
15809         * src/NetworkManager.c: removed unused variable.
15810
15811 2005-09-28  Dan Williams  <dcbw@redhat.com>
15812
15813         Support for named + DBus, using Red Hat DBus patches for named.  You
15814         can find those patches here, with "dbus" in the patch's filename:
15815
15816                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15817
15818         Don't forget the named dbus service file either.
15819
15820         Instead of writing a config file and spawing a named process, NM will
15821         use an already-running dbus-enabled named if it finds one.  NM will
15822         update named's forwarder configuration on the fly using dbus.
15823
15824         If there is no dbus-enabled named running, NM will automatically fall
15825         back to writing the most-recent DNS server information to /etc/resolv.conf
15826         and calling nm_system_update_dns() to kick the system's resolver.
15827
15828         Accordingly, all named-related configure-time options have been removed.
15829
15830 2005-09-26  Robert Love  <rml@novell.com>
15831
15832         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15833           ISDN support!
15834         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15835           bug in error path if "ASKPASSWORD" is "no".
15836
15837 2005-09-26  Robert Love  <rml@novell.com>
15838
15839         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15840           comment in /etc/resolv.conf -- ';' is not.
15841
15842 2005-09-19  Dan Williams  <dcbw@redhat.com>
15843
15844         * src/backends/NetworkManagerRedHat.c:
15845         * src/backends/NetworkManagerDebian.c:
15846         * src/backends/NetworkManagerSlackware.c:
15847         * src/backends/NetworkManagerGentoo.c:
15848         * src/backends/NetworkManagerSUSE.c:
15849         Fix invocations of "/sbin/ip address" to use short form instead
15850
15851 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15852
15853         * src/nm-dbus-device.c: Don't assert when getting
15854         addresses of a not yet connected interface.
15855
15856         * gnome/applet/applet.c: Free icons if loading fails.
15857         Use translator-credits so translators can make themselves known.
15858
15859 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15860
15861         * src/NetworkManagerAP.c:
15862         * src/NetworkManagerAP.h:
15863         * src/NetworkManagerDevice.c:
15864         Set a blacklist for certain common manufacturer default ESSIDs:
15865         APs with these ESSIDs are extremely likely to be completely
15866         different networks: connecting to one should not make NM
15867         auto-connect to every other AP with the same default ESSID.
15868
15869 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15870
15871         * gnome/applet/wireless-applet.glade:
15872         The passphrase entry should also activate the default
15873
15874         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15875
15876         * gnome/applet/applet-dbus-devices.c:
15877         * gnome/applet/applet.c:
15878         * gnome/applet/nm-device.c:
15879         * gnome/applet/nm-device.h:
15880         * src/NetworkManagerUtils.c:
15881         * src/NetworkManagerUtils.h:
15882         * src/nm-dbus-device.c:
15883         I've got a fever, and the only cure for it is less ioctl.
15884         Make NM push IP data rather than make the applet open a socket
15885         to the device.
15886
15887 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15888
15889         * gnome/applet/applet.c:
15890         * gnome/applet/applet-dbus-devices.c:
15891         * gnome/applet/applet-dbus-info.c:
15892         * gnome/applet/passphrase-dialog.c:
15893         * gnome/libnm_glib/libnm_glib.c:
15894         * gnome/vpn-properties/nm-vpn-properties.c:
15895         * src/autoip.c:
15896         * src/backends/NetworkManagerRedHat.c:
15897         * src/named-manager/nm-named-manager.c:
15898         * src/NetworkManagerAPList.c:
15899         * src/NetworkManager.c:
15900         * src/NetworkManagerDbus.c:
15901         * src/NetworkManagerDevice.c:
15902         * src/NetworkManagerPolicy.c:
15903         * src/NetworkManagerSystem.c:
15904         * src/nm-dbus-device.c:
15905         * src/nm-dbus-nm.c:
15906         * src/vpn-manager/nm-vpn-manager.c:
15907         * src/vpn-manager/nm-vpn-service.c:
15908         * test/libnm_glib_test.c:
15909         * test/nminfotest.c:
15910         * test/nmtestdevices.c:
15911         Fix a bunch of 'unused variable' compiler warnings
15912
15913         * NetworkManager.h:
15914         * gnome/applet/applet-dbus-info.c:
15915         * gnome/applet/applet-dbus-info.h:
15916         * gnome/applet/applet.c:
15917         * gnome/applet/applet.h:
15918         * src/NetworkManager.c:
15919         * src/NetworkManagerDbus.c:
15920         * src/NetworkManagerDbus.h:
15921         * src/NetworkManagerDevice.c:
15922         * src/NetworkManagerDevice.h:
15923         * src/NetworkManagerMain.h:
15924         * src/NetworkManagerWireless.c:
15925         * src/NetworkManagerWireless.h:
15926         * src/nm-dbus-nm.c:
15927         Make NetworkManager be smart about how frequently to scan
15928         based on its current state.  Remove the UI for choosing when
15929         to scan.  Scanning still may disabled completely by the user
15930         via the "Wireless Enabled" menu item.
15931
15932 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15933
15934         * gnome/applet/applet.c:
15935         Also overlay the vpn connecting icons onto the wired icon,
15936         when appropriate.
15937
15938         * gnome/vpn-properties/nm-vpn-properties.glade:
15939         Clean up a few strings to use better grammar and proper casing.
15940
15941 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15942
15943         * gnome/applet/vpn-connection.c:
15944         * gnome/applet/vpn-connection.h:
15945         Add nmwa_vpn_connection_is_activating ()
15946
15947         * gnome/applet/applet.c:
15948         * gnome/applet/applet.h:
15949         * gnome/applet/icons/nm-vpn-connecting*.png:
15950         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15951         the user know something's happening between clicking the VPN item and it
15952         actually being connected.
15953
15954 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15955
15956         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15957         failure case as well.
15958
15959 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15960
15961         * gnome/panel/eggtrayicon.[ch]:
15962         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15963
15964 2005-09-07  Dan Williams  <dcbw@redhat.com>
15965
15966         Patch from Bill Moss <bmoss@clemson.edu>
15967         * src/applet-dbus.c
15968                 - (nmwa_dbus_filter): strip whitespace from beginning
15969                         and end of VPN login banner
15970
15971 2005-09-07  Dan Williams  <dcbw@redhat.com>
15972
15973         * The great VPN Manager rewrite of 2005
15974
15975 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15976
15977         * gnome/applet/menu-items.c:
15978         * gnome/applet/nm-device.c:
15979         * gnome/applet/wireless-network.c:
15980         * gnome/libnm_glib/libnm_glib.c:
15981         * src/NetworkManagerDbusUtils.c:
15982         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15983         g_malloc0 doesn't return NULL
15984
15985 2005-09-06  Dan Williams  <dcbw@redhat.com>
15986
15987         Patch from Tomislav Vujec <tvujec@redhat.com>
15988         * src/NetworkManagerDevice.c
15989                 - (nm_get_device_by_udi): don't return a device when we
15990                         actually didn't find what we were looking for
15991
15992 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15993
15994         * gnome/applet/applet-dbus-devices.c:
15995         * gnome/applet/applet-dbus-devices.h:
15996         * gnome/applet/applet-dbus.c:
15997         * src/NetworkManagerDbus.c:
15998         * src/NetworkManagerDbus.h:
15999         * src/NetworkManagerDevice.c:
16000         * src/nm-dbus-device.c:
16001         Make NM push updates about active device strength when it changes,
16002         rather than having the applet poll every 2s.
16003
16004 2005-09-05  Christopher Aillon  <caillon@redhat.com>
16005
16006         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16007         network_device_set_strength
16008
16009 2005-09-04  Dan Williams  <dcbw@redhat.com>
16010
16011         Patch from Bill Nottingham <notting@redhat.com>
16012         * src/NetworkManagerDevice.c
16013                 - (nm_device_activation_cancel): reset the quit_activation flag
16014
16015 2005-09-04  Dan Williams  <dcbw@redhat.com>
16016
16017         * src/nm-activation-request.c
16018                 - (nm_act_request_unref): actually free the structure,
16019                         which we didn't seem to be doing before
16020
16021 2005-09-04  Dan Williams  <dcbw@redhat.com>
16022
16023         Patch from John Palmieri <johnp@redhat.com>
16024         * gnome/applet/applet-dbus-devices.c
16025                 - Fix up unreffing of DBusMessage objects
16026
16027 2005-09-04  Dan Williams  <dcbw@redhat.com>
16028
16029         Patch from John Palmieri <johnp@redhat.com>
16030         * gnome/applet/nm-device.c
16031                 - (nm_device_unref): clear network_device's memory _before_ freeing it
16032
16033 2005-09-02  Christopher Aillon  <caillon@redhat.com>
16034
16035         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16036
16037 2005-09-02  Bill Nottingham  <notting@redhat.com>
16038
16039         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16040
16041 2005-09-01  Dan Williams  <dcbw@redhat.com>
16042
16043         * src/NetworkManager.c
16044                 - (nm_remove_device_from_list): rename to nm_remove_device
16045                 - (nm_hal_device_removed): call nm_remove_device()
16046
16047         * src/NetworkManagerDevice.c
16048                 - Change the NMWirelessScanCB member 'reschedule' which
16049                         wasn't used to 'force' to indicate that we need to
16050                         force a scan when adding a device
16051
16052         * src/nm-dbus-nm.c
16053                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16054                         from the device list
16055                 - (nm_dbus_nm_wake): Re-add all devices to the device list
16056
16057 2005-09-01  Robert Love  <rml@novell.com>
16058
16059         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16060           and the check "!iface" in the error case is probably never true.
16061
16062 2005-09-01  Dan Williams  <dcbw@redhat.com>
16063
16064         Patch from Bill Nottingham <notting@redhat.com>
16065         * src/backends/NetworkManagerRedHat.c
16066                 - Add initial dialup support to Red Hat/Fedora backend
16067
16068 2005-09-01  Dan Williams  <dcbw@redhat.com>
16069
16070         * gnome/applet/applet-dbus-devices.c
16071                 - Sort both wireless networks and devices again, which got
16072                         broken when removing threading
16073
16074 2005-09-01  Christopher Aillon  <caillon@redhat.com>
16075
16076         * gnome/applet/applet.c:
16077         Only show the "Stop/Start All Wireless Devices" menuitem
16078         if we actually have wireless devices.
16079
16080         * gnome/applet/applet-dbus-info.c:
16081         * gnome/applet/applet.c:
16082         * gnome/applet/other-network-dialog.c:
16083         * gnome/applet/vpn-password-dialog.c:
16084         Drop the gtk_dialog_run () calls in favor of connecting to
16085         "response" signals, needed now that the applet is not threaded.
16086
16087 2005-08-31  Dan Williams  <dcbw@redhat.com>
16088
16089         Patch from Bill Moss <bmoss@clemson.edu>
16090         * src/NetworkManagerDevice.c
16091                 - (nm_device_wireless_scan): fix scan timeout values
16092
16093 2005-08-30  Dan Williams  <dcbw@redhat.com>
16094
16095         * gnome/applet/wireless-applet.glade
16096                 - HIG-ify the Other Wireless Networks dialog a bit more
16097                 - Fix some potential segfaults in the info dialog
16098
16099 2005-08-30  Dan Williams  <dcbw@redhat.com>
16100
16101         * gnome/applet/applet-dbus-devices.c
16102                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16103
16104 2005-08-30  Dan Williams  <dcbw@redhat.com>
16105
16106         * gnome/applet/applet-dbus.[ch]
16107                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16108                         they weren't being used anyway
16109
16110 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16111
16112         * test/nmtestdevices.c: (print_usage), (main):
16113         Check the number of arguments, and fix a typo
16114
16115 2005-08-29  Dan Williams  <dcbw@redhat.com>
16116
16117         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16118         * gnome/applet/applet.c
16119                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16120
16121 2005-08-29  Dan Williams  <dcbw@redhat.com>
16122
16123         * gnome/applet/*
16124                 - Don't use threads any more.  Anything that blocks
16125                         (like gtk_dialog_run()) will  have to get fixed up which
16126                         should happen quickly.  We really only had threads to make
16127                         the animation smooth, and when everything got converted over
16128                         to DBus Pending Calls, the need for threads kind of went away
16129
16130 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16131
16132         * gnome/applet/applet.c: Draw VPN connections as radio items
16133         since we don't yet support multiple VPNs.
16134         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16135         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16136
16137 2005-08-29  Dan Williams  <dcbw@redhat.com>
16138
16139         Patch from j@bootlab.org
16140         - Make --without-named work
16141         - Make --with-dhcdbd work correctly
16142
16143 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16144
16145         * configure.in: Added "ca" to ALL_LINGUAS.
16146
16147 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16148
16149         * Fix up VPN state handling between the applet and NetworkManager,
16150                 so that the applet doesn't show a VPN as connected when one
16151                 really is not
16152                         - The applet no longer has a pointer to the active VPN's
16153                                 name, but tracks each VPNs state individually
16154                         - NM no longer has a "getActiveVPNConnection" method
16155                         - NM no longer broadcasts the "VPNConnectionChange" signal
16156                         - NM now broadcasts a "VPNConnectionStateChange" signal
16157                                 whenever the state of a VPN changes
16158
16159 2005-08-26  Dan Williams <dcbw@redhat.com>
16160
16161         * gnome/applet/applet-dbus-devices.c
16162           gnome/applet/applet-dbus-vpn.c
16163                 - Remove calls to dbus_pending_call_ref() because we already
16164                         "own" the pending call
16165                 - Remove calls to dbus_pending_call_get_completed() because
16166                         when we are in the callback, the pending call is completed
16167                         by definition
16168
16169 2005-08-22  Dan Williams <dcbw@redhat.com>
16170
16171         Patch by Bill Moss <bmoss@clemson.edu>
16172         * src/dhcp-manager/nm-dhcp-manager.c
16173                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16174                         some time to send out a RELEASE if they like
16175
16176 2005-08-22  Dan Williams <dcbw@redhat.com>
16177
16178         Noticed by Bill Moss <bmoss@clemson.edu>
16179         * src/NetworkManagerDbus.c
16180                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16181                         instead of just cancelling its activation
16182
16183         * src/NetworkManagerDevice.c
16184                 - (nm_device_deactivate): some small cleanups
16185                 - (nm_device_set_user_key_for_network): deactivate the device
16186                         instead of just cancelling its activation
16187
16188 2005-08-22  Dan Williams <dcbw@redhat.com>
16189
16190         Noticed by Bill Moss <bmoss@clemson.edu>
16191         * src/NetworkManagerDevice.c
16192                 - (nm_device_wireless_scan): fix scan timeout, we were
16193                         waiting way too long for scans to complete
16194
16195 2005-08-22  Dan Williams <dcbw@redhat.com>
16196
16197         Patch from j@bootlab.org:
16198         * src/backends/NetworkManagerDebian.c
16199                 - Make the Debian backend work for static IP again
16200
16201 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16202
16203         * gnome/applet/other-network-dialog.c:
16204         The "Create New Network" and "Connect to Other Network"
16205         dialogs share alot of code, but shouldn't share a window
16206         title.  Give them different ones.
16207
16208         * gnome/applet/wireless-applet.glade:
16209         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16210         Some more minor UI tweaks.
16211
16212 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16213
16214         * gnome/applet/other-network-dialog.c:
16215         * gnome/applet/wireless-applet.glade:
16216         Also need mnemonic widgets, and underline enabled.
16217
16218 2005-08-19  Dan Williams <dcbw@redhat.com>
16219
16220         * vpn-daemons/vpnc/nm-vpnc-service.c
16221                 - (vpnc_watch_cb): remove no-longer-relevant comment
16222                 - (write_config_option): new function, helper to write
16223                         config options to vpnc's stdin
16224                 - (nm_vpnc_config_write): use the new helper, make the
16225                         code shorter
16226
16227 2005-08-19  Christopher Aillon <caillon@redhat.com>
16228
16229         * gnome/applet/passphrase-dialog.c:
16230         * gnome/applet/wireless-applet.glade:
16231         Make the passphrase dialog response based, and treat
16232         responses other than OK (such as Esc, [X]) as a cancel.
16233
16234 2005-08-18  Christopher Aillon <caillon@redhat.com>
16235
16236         * initscript/Gentoo/NetworkManager:
16237         * initscript/RedHat/NetworkManager:
16238         * initscript/RedHat/NetworkManagerDispatcher:
16239         * initscript/SUSE/networkmanager:
16240         CVS remove these in place of .in replacements
16241
16242         * configure.in:
16243         * initscript/Gentoo/NetworkManager.in:
16244         * initscript/RedHat/NetworkManager.in:
16245         * initscript/RedHat/NetworkManagerDispatcher.in:
16246         * initscript/SUSE/networkmanager.in:
16247         These scripts now are generated so they work still when
16248         NM is built using a bindir other than /usr/bin
16249
16250 2005-08-18  Dan Williams <dcbw@redhat.com>
16251
16252         * gnome/applet/main.c
16253                 - Revert previous change for --no-session since
16254                         --sm-disable does the same thing
16255
16256 2005-08-18  Dan Williams <dcbw@redhat.com>
16257
16258         * gnome/applet/applet-dbus-info.c
16259                 - (nmi_dbus_create_error_message): new function
16260                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16261                         functions.  Also don't check for both device _and_ network before
16262                         asking for a user's key, because we may not have gotten all our
16263                         networks back from NM quite yet (due to the dbus pending calls
16264                         coming in later).  Fixes a hang in NM/nm-applet.
16265
16266         * src/NetworkManagerDbus.c
16267                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16268                         slightly more sane manner, even though we are still broken for
16269                         certain other error conditions.
16270                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16271                         to the info-daemon too
16272
16273         * src/NetworkManagerDevice.c
16274                 - Fix some debug messages to be info messages instead
16275
16276 2005-08-18  Dan Williams <dcbw@redhat.com>
16277
16278         * gnome/applet/main.c
16279                 - Add new "--no-session" parameter that disables applet
16280                         session management, ie for testing
16281
16282 2005-08-18  Christopher Aillon <caillon@redhat.com>
16283
16284         * gnome/applet/other-network-dialog.c:
16285         * gnome/applet/wireless-applet.glade: More mnemonics
16286
16287 2005-08-17  Robert Love  <rml@novell.com>
16288
16289         * initscript/SUSE/networkmanager: update
16290
16291 2005-08-17  Dan Williams  <dcbw@redhat.com>
16292
16293         * Tag NM_0_4_1_RELEASE
16294
16295 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16296
16297         * gnome/applet/applet.c: More translatable string cleanup
16298
16299
16300 2005-08-17  Dan Williams  <dcbw@redhat.com>
16301
16302         * gnome/applet/applet-dbus-info.c
16303                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16304                         from the dbus message, which tells us to unconditionally
16305                         ask the user for a new key.  Otherwise, we pull the key from
16306                         the keyring and return it.  If we fail to get the key from the
16307                         keyring, we ask the user for a new key.
16308                 - (nmi_dbus_get_network_key): new function to grab the key for
16309                         an essid from the keyring.
16310                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16311                         Also, don't return any key in the dbus message.
16312
16313         * src/NetworkManagerDbus.[ch]
16314                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16315                         indicate that we unconditionally want a new key.  This function
16316                         is now also used to get keys from the info-daemon which are
16317                         pre-stored, not just for asking the user for a new key.  The
16318                         "new_key" parameter indicates whether or not we wish to ask the
16319                         user for a new key.
16320                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16321                         info-daemon in the return message, so use NULL instead.  The
16322                         key will be filled in at connect time by calling
16323                         nm_dbus_get_user_key_for_network()
16324
16325         * src/NetworkManagerDevice.c
16326                 - (nm_device_wireless_configure): update for "new_key" param to
16327                         nm_dbus_get_user_key_for_network().  We initially set new_key
16328                         to FALSE to see if we have a stored key in the info-daemon, but
16329                         if the connection is unsuccessful at this stage we request a
16330                         new one
16331
16332 2005-08-17  Dan Williams  <dcbw@redhat.com>
16333
16334         * gnome/applet/icons/nm-no-connection.png
16335           gnome/applet/icons/nm-device-wired.png
16336                 - Use Diana's new RJ45 connector icons
16337
16338 2005-08-17  Dan Williams  <dcbw@redhat.com>
16339
16340         * src/NetworkManagerPolicy.c
16341                 - (nm_policy_device_change_check): clarify switching rules if
16342                         both new and old devices are valid; mainly, don't switch
16343                         away from user-requested wireless connection back to a wired
16344                         one
16345
16346 2005-08-17  Dan Williams  <dcbw@redhat.com>
16347
16348         * gnome/applet/Makefile.am
16349                 - Relocate the applet to /usr/bin since it is no longer
16350                         executed by anything, but directly by the user
16351
16352 2005-08-17  Dan Williams  <dcbw@redhat.com>
16353
16354         Patch from Bill Moss <bmoss@clemson.edu>
16355
16356         * gnome/applet/applet-dbus-info.[ch]
16357                 - (nmi_save_network_info): save timestamp for network if it
16358                         was a change requested by the user
16359                 - (nmi_dbus_update_network_info): get user_requested from dbus
16360                         message and pass to nmi_save_network_info()
16361
16362         * gnome/applet/applet.c
16363                 - (nmwa_update_network_timestamp): remove
16364                 - (nmwa_menu_item_activate): don't set timestamp on networks
16365                         here, only after a successful connect in nmi_save_network_info()
16366
16367         * src/NetworkManagerDbus.[ch]
16368                 - (nm_dbus_update_network_info): pass user_requested into the 
16369                         dbus message
16370
16371         * src/NetworkManagerPolicy.c
16372                 - (nm_policy_activation_finish): pass user_requested to
16373                         nm_dbus_update_network_info()
16374
16375 2005-08-16  Robert Love  <rml@novell.com>
16376
16377         * gnome/applet/applet.c: Better "Dial Up" menu item.
16378
16379 2005-08-16  Robert Love  <rml@novell.com>
16380
16381         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16382           "Connection Information" menu item.
16383
16384 2005-08-16  Dan Williams  <dcbw@redhat.com>
16385
16386         Patch from j@bootlab.org
16387         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16388
16389         * configure.in: allow specifying the path to dhcdbd
16390
16391 2005-08-16  Robert Love  <rml@novell.com>
16392
16393         Patch from j@bootlab.org
16394         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16395           src/backends/interface_parser.h: Debian dialup support.
16396
16397 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16398
16399         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16400         * gnome/applet/applet.c: Add some mnemonics for VPNC
16401
16402         * vpn-daemons/.cvsignore: fix this up a little bit
16403
16404 2005-08-16  Robert Love  <rml@novell.com>
16405
16406         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16407           support.
16408
16409 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16410
16411         * gnome/applet/applet.c: Split markup out of translatable strings
16412         and clean up logic a little bit.  (fixes #309012)
16413
16414 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16415
16416         * gnome/vpn-properties/nm-vpn-properties.c:
16417         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16418         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16419         Makeshift fix to remove newlines from translatable strings.
16420         Note that we now return an allocated string, so callers of
16421         get_confirmation_details () must now call g_free () on the
16422         result. (fixes #309033).
16423
16424 2005-08-12  Robert Love  <rml@novell.com>
16425
16426         * gnome/applet/applet-dbus.c: remove newlines from translatable
16427           strings--not needed here anyway. (fix b.g.o #309011)
16428         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16429
16430 2005-08-11  Robert Love  <rml@novell.com>
16431
16432         * gnome/applet/applet.c: mark string as translatable.
16433
16434 2005-08-11  Robert Love  <rml@novell.com>
16435
16436         * initscript/SUSE/networkmanager: update.
16437
16438 2005-08-11  Dan Williams  <dcbw@redhat.com>
16439
16440         * src/nm-dhcp-manager.c
16441                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16442                         an gateway returned from DHCP, try to use the address of the DHCP
16443                         server as the gateway instead.  Found by Ralf Ertzinger.
16444
16445 2005-08-10  Robert Love  <rml@novell.com>
16446
16447         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16448           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16449
16450 2005-08-10  Dan Williams  <dcbw@redhat.com>
16451
16452         Patch from Bill Moss <bmoss@clemson.edu>
16453         * Consolidate writes of access point information updates to the info daemon
16454                 so that we only do it when the connection to the access point was
16455                 successful.  Also consolidates updates to GConf in the Gnome applet.
16456
16457         * src/nm-netlink-monitor.c
16458                 - Silence compile warning when calling g_object_new()
16459
16460 2005-08-08  Dan Williams  <dcbw@redhat.com>
16461
16462         Patch from Steev <steev@steev.net>:
16463         * src/backends/NetworkManagerGentoo.c
16464                 - Stub new dialup backend functions
16465
16466 2005-08-08  Dan Williams  <dcbw@redhat.com>
16467
16468         Patch from Colin Slater:
16469         * src/backends/NetworkManagerGentoo.c
16470                 - (nm_system_update_dns): Fix exit status check for restarting
16471                         nscd
16472
16473 2005-08-05  Robert Love  <rml@novell.com>
16474
16475         * NetworkManager.h,
16476           gnome/applet/applet-dbus-devices.c,
16477           gnome/applet/applet-dbus-devices.h,
16478           gnome/applet/applet-dbus.c,
16479           gnome/applet/applet.c,
16480           gnome/applet/applet.h,
16481           src/NetworkManager.c,
16482           src/NetworkManagerMain.h,
16483           src/NetworkManagerSystem.h,
16484           src/backends/NetworkManagerRedHat.c,
16485           src/backends/NetworkManagerSuSE.c,
16486           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16487
16488 2005-08-05  Robert Love  <rml@novell.com>
16489
16490         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16491           machine's hostname to make adhoc creation idiot-proof.
16492
16493 2005-08-04  Robert Love  <rml@novell.com>
16494
16495         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16496           freed.
16497
16498 2005-08-04  Dan Williams  <dcbw@redhat.com>
16499
16500         * gnome/applet/applet-dbus-info.c
16501           gnome/applet/applet-dbus-info.h
16502                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16503                         to store key, key type, and auth method rather than just auth method
16504                 - (nmi_dbus_update_network_info): new function
16505                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16506
16507         * gnome/applet/passphrase-dialog.c
16508                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16509                         of saving the info ourselves
16510
16511         * gnome/libnm_glib/libnm_glib.c
16512                 - Remove the stupid version check for dbus
16513
16514         * src/NetworkManagerAP.c
16515           src/NetworkManagerAP.h
16516                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16517
16518         * src/NetworkManagerDbus.c
16519           src/NetworkManagerDbus.h
16520                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16521                         more than just the auth method
16522
16523         * src/NetworkManagerDevice.c
16524                 - Update network info at the appropriate times
16525
16526 2005-07-29  Ray Strode  <rstrode@redhat.com>
16527
16528         * src/NetworkManager.c (nm_info_handler): don't use input as format
16529         string (Spotted by Ian Jackson).
16530
16531 2005-07-27  Dan Williams  <dcbw@redhat.com>
16532
16533         * src/nm-dbus-nm.c
16534           src/nm-dbus-net.c
16535                 - Random cleanups of spacing
16536
16537         * gnome/applet/applet.h
16538           gnome/applet/other-network-dialog.c
16539           gnome/applet/passphrase-dialog.c
16540                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16541
16542         Patch from Bill Moss:
16543                 - Make Other Wireless Networks work again with encryption keys
16544
16545 2005-07-26  Dan Williams  <dcbw@redhat.com>
16546
16547         Patch from Steev <steev@steev.net>:
16548         * src/backends/NetworkManagerGentoo.c
16549           src/backends/Makefile.am
16550                 - Fix up Gentoo backend
16551
16552 2005-07-26  Robert Love  <rml@novell.com>
16553
16554         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16555
16556 2005-07-25  Robert Love  <rml@novell.com>
16557
16558         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16559           in the same group as the wireless networks, since they are all
16560           mutually exclusive.
16561
16562 2005-07-24  Ray Strode  <rstrode@redhat.com>
16563
16564         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16565         remove unneeded NULL arg from g_object_new().  Any
16566         warnings caused by not having the extra NULL are just a
16567         result of a bug in glib 2.7.0 - 2.7.2.
16568
16569 2005-07-22  Robert Love  <rml@novell.com>
16570
16571         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16572
16573 2005-07-22  Robert Love  <rml@novell.com>
16574
16575         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16576           parameters (gcc 4.0.2 warning fix).
16577
16578 2005-07-18  Robert Love  <rml@novell.com>
16579
16580         Suggested by Aaron Bockover (abockover@novell.com)
16581         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16582           s/Ascii/ASCII
16583         * gnome/applet/passphrase-dialog.c: ditto
16584         * gnome/applet/wireless-applet.glade: ditto
16585
16586 2005-07-13  Dan Williams  <dcbw@redhat.com>
16587
16588         Patch from Ray Strode <halfline@gmail.com>
16589         * vpn-daemons/vpnc/nm-vpnc-service.c
16590                 - Don't let vpnc daemonize, fixes some races with PID file reading
16591
16592 2005-07-13  Dan Williams  <dcbw@redhat.com>
16593
16594         Patch from Ray Strode <halfline@gmail.com>
16595         * Random cleanups for strict CFLAGS
16596
16597 2005-07-07  Dan Williams  <dcbw@redhat.com>
16598
16599         Patch from Derek Atkins <warlord@MIT.EDU>
16600         * src/nm-dbus-net.c:
16601                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16602
16603 2005-07-07  Dan Williams  <dcbw@redhat.com>
16604
16605         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16606         * src/backends/NetworkManagerGentoo.c
16607                 - Gentoo backend Static IP nameserver fixes
16608                 - General Gentoo backend goodness
16609
16610 2005-07-07  Dan Williams  <dcbw@redhat.com>
16611
16612         Patch from Bastien Nocera:
16613         * gnome/applet/applet.c
16614                 - Fix up error reporting when icons or glade files are missing
16615
16616 2005-07-07  Robert Love  <rml@novell.com>
16617
16618         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16619           are not any VPN connections above it.
16620
16621 2005-07-07  Robert Love  <rml@novell.com>
16622
16623         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16624
16625 2005-07-05  Robert Love  <rml@novell.com>
16626
16627         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16628           zero.
16629
16630 2005-07-05  Robert Love  <rml@novell.com>
16631
16632         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16633           on wired or unencrypted wireless.
16634
16635 2005-07-01  Robert Love  <rml@novell.com>
16636
16637         * src/NetworkManagerSystem.c: Print the error via strerror().
16638
16639 2005-06-30  Robert Love  <rml@novell.com>
16640
16641         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16642           then exit if the glade file is not found.  currently the application
16643           just hangs.
16644
16645 2005-06-30  Robert Love  <rml@novell.com>
16646
16647         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16648           explicitly up all interfaces on wake from sleep.
16649
16650 2005-06-30  Robert Love  <rml@novell.com>
16651
16652         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16653           with information about the currently active connection.
16654         * gnome/applet/applet.h: (ditto)
16655         * gnome/applet/wireless-applet.glade: (ditto), new file
16656
16657 2005-06-30  Robert Love  <rml@novell.com>
16658
16659         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16660         * src/nm-dbus-nm.c: print when we sleep and wake up.
16661         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16662         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16663           in /sbin unless D-BUS is, folks).
16664         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16665
16666 2005-06-27  Robert Love  <rml@novell.com>
16667
16668         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16669           case.
16670
16671 2005-06-27  Robert Love  <rml@novell.com>
16672
16673         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16674           items radios.
16675
16676 2005-06-26  Robert Love  <rml@novell.com>
16677
16678         * src/NetworkManagerDevice.c: be specific about which device in
16679           nm_info() message.
16680
16681 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16682
16683         * src/nm-netlink-monitor.c: correct spelling error.
16684
16685 2005-06-23  Robert Love  <rml@novell.com>
16686
16687         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16688         * gnome/applet/passphrase-dialog.c: more of that keyring!
16689
16690 2005-06-23  Robert Love  <rml@novell.com>
16691
16692         * configure.in: remove extraneous GNOMEKEYRING directives.
16693         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16694         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16695         * gnome/applet/passphrase-dialog.c: whitespace.
16696
16697 2005-06-23  Robert Love  <rml@novell.com>
16698
16699         * src/NetworkManagerDevice.c: division in assignment was flipped.
16700
16701 2005-06-23  David Zeuthen  <david@fubar.dk>
16702
16703         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16704         signal to the child to indicate that we got what we wanted when we
16705         see two new-lines right after each other.
16706         (nmwa_vpn_request_password): Pass a structure with several members
16707         instead of just the passwords
16708
16709 2005-06-23  Dan Williams <dcbw@redhat.com>
16710
16711         * src/NetworkManager.c
16712           src/NetworkManagerMain.h
16713                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16714                 - (nm_hal_init): new function, init libhal context then add devices
16715                 - (nm_hal_deinit): new function, clean up libhal context
16716                 - (nm_data_free): Move Hal cleanup here
16717                 - (main): check whether Hal is running, and if so, get a list of
16718                         network devices from it
16719
16720         * src/NetworkManagerDbus.c
16721                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16722                         and when it appears, get a list of network devices from it.  If
16723                         Hal goes away, clean up the libhal context
16724
16725 2005-06-22  Robert Love  <rml@novell.com>
16726
16727         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16728           permissions of scripts before executing.
16729
16730 2005-06-21  Robert Love  <rml@novell.com>
16731
16732         * initscript/SUSE/networkmanager: update.
16733         * src/backends/NetworkManagerSuSE.c: cleanup.
16734
16735 2005-06-21  Robert Love <rml@novell.com>
16736
16737         * gnome/applet/applet.c: use menu mnemonics.
16738         * gnome/applet/menu-items.c: (ditto)
16739
16740 2005-06-21  Robert Love  <rml@novell.com>
16741
16742         * applet/applet-dbus-devices.c: mark non-static functions static.
16743         * applet/applet-dbus-vpn.c: (ditto)
16744         * applet/applet.c: (ditto)
16745         * applet/nm-device.h: (ditto)
16746         * applet/other-network-dialog.c: (ditto)
16747         * applet/passphrase-dialog.c: (ditto)
16748         * NetworkManager.c: (ditto)
16749         * NetworkManagerDbus.c: (ditto)
16750         * NetworkManagerDevice.c: (ditto)
16751         * NetworkManagerPolicy.c: (ditto)
16752         * NetworkManagerUtils.c: (ditto)
16753         * NetworkManagerWireless.c: (ditto)
16754         * NetworkManagerWireless.h: (ditto)
16755         * nm-netlink-monitor.c: (ditto)
16756         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16757         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16758         * autoip.c: include autoip.h.
16759         * autoip.h: new file.  define get_autoip().
16760         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16761         * NetworkManagerDbus.h: remove duplicate definitions.
16762
16763 2005-06-20  Robert Love  <rml@novell.com>
16764
16765         * Makefile.am: Add missing intltool-foo.in generated files to
16766           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16767           with the start of stuff to cleanup on 'distclea'.
16768         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16769           stuff right and 'distcheck' works.
16770         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16771           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16772           Makefile.am for each.  And systray/Makefile needs to be redone.
16773
16774 2005-06-19  Dan Williams <dcbw@redhat.com>
16775
16776         * src/NetworkManagerDevice.c
16777         - (nm_device_wireless_process_scan_results): scan every 20s when
16778           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16779
16780 2005-06-19  Dan Williams <dcbw@redhat.com>
16781
16782         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16783
16784 2005-06-18  Ray Strode <rstrode@redhat.com>
16785
16786         * src/nm-netlink-monitor.c 
16787         (nm_netlink_monitor_event_handler): check for the presence
16788         of either error condition not both. 
16789         
16790         (nm_netlink_monitor_error_handler): emit error signal if
16791         error occurs.
16792
16793         (nm_netlink_monitor_event_handler),
16794         (nm_netlink_monitor_error_handler),
16795         (nm_netlink_monitor_disconnect_handler): if an 
16796         assertion fails disconnect the event handler to prevent 
16797         infinite loops.
16798
16799         * src/nm-netlink-monitor.h: add new error condition
16800         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16801
16802 2005-06-18  Ray Strode <rstrode@redhat.com>
16803
16804         * src/nm-netlink-monitor.c 
16805         (nm_netlink_monitor_event_handler): remove bogus < 0
16806         check on unsigned value and return early if the kernel
16807         didn't send any bytes.
16808
16809 2005-06-17  Robert Love  <rml@novell.com>
16810
16811         * initscript/SUSE/networkmanager: Change the Provides and default
16812         run levels
16813
16814 2005-06-16  Dan Williams <dcbw@redhat.com>
16815
16816         Patch from Robert Love:
16817         * gnome/applet/applet.c
16818                 - Beautify some applet menu item names
16819
16820 2005-06-17  David Zeuthen  <davidz@redhat.com>
16821
16822         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16823         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16824         Also add new methods can_export, import_file and export.
16825
16826         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16827         to the main UI
16828
16829         * gnome/vpn-properties/nm-vpn-properties.c:
16830         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16831         nm-vpn-ui-interface.h.
16832         (update_edit_del_sensitivity): Also update "Export" sensitivity
16833         (add_vpn_connection): Also add new SVC_NAME column
16834         (import_settings): New function
16835         (retrieve_data_from_selected_connection): New function
16836         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16837         this function
16838         (export_cb): New function
16839         (init_app): Also setup the "export" widget
16840         (main): Support the --import-service and --import-file commandline
16841         arguments
16842
16843         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16844         D-BUS 0.34
16845
16846 2005-06-16  Dan Williams <dcbw@redhat.com>
16847
16848         Patch from Robert Love:
16849         * gnome/applet/menu-items.c
16850                 - (network_menu_item_new): pass -1 as wireless network
16851                         menu items height size request rather than ascent / 2
16852
16853 2005-06-16  Dan Williams <dcbw@redhat.com>
16854
16855         * Clean up wording in Wireless Scan Methods menu items and constants
16856
16857 2005-06-16  Robert Love  <rml@novell.com>
16858
16859         * po/POTFILES.in
16860                 - remove gtkcell* files
16861
16862 2005-06-15  Dan Williams <dcbw@redhat.com>
16863
16864         Patch from Robert Love: make the applet stetic
16865
16866         * gnome/applet/Makefile.am
16867                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16868
16869         * gnome/applet/gtkcellview.h
16870           gnome/applet/gtkcellview.c
16871           gnome/applet/gtkcellrendererprogress.h
16872           gnome/applet/gtkcellrendererprogress.c
16873                 - Removed
16874
16875         * gnome/applet/menu-items.c
16876                 - Progress bars are 5:1 size ratio
16877                 - Use GTK progress bars rather than internal ones
16878
16879 2005-06-15  Dan Williams <dcbw@redhat.com>
16880
16881         Patch from Robert Love:
16882         * initscript/SUSE/networkmanager
16883                 - Fix typo
16884
16885 2005-06-15  Dan Williams <dcbw@redhat.com>
16886
16887         * src/backends/NetworkManagerSuSE.c
16888           src/backends/NetworkManagerRedHat.c
16889           src/backends/NetworkManagerDebian.c
16890                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16891
16892 2005-06-15  Dan Williams <dcbw@redhat.com>
16893
16894         * src/backends/NetworkManagerDebian.c
16895                 - Add nm_system_device_get_use_dhcp() to debian backend
16896
16897         Patch from Kay Sievers:
16898         * src/backends/NetworkManagerSuSE.c
16899                 - Update debian backend for static IP nameservers
16900
16901         * src/NetworkManagerDevice.c
16902                 - Actually set the device to use static IP or DHCP rather
16903                         than always DHCP
16904
16905 2005-06-15  Dan Williams <dcbw@redhat.com>
16906
16907         Patch from Thom May:
16908         * src/backends/NetworkManagerDebian.c
16909                 - Update debian backend for static IP nameservers
16910
16911 2005-06-15  Dan Williams <dcbw@redhat.com>
16912
16913         Patches from Robert Love:
16914         * gnome/applet/wireless-applet.glade
16915                 - Tighten up wording
16916
16917         * src/NetworkManagerDevice.c
16918                 - Remove misplaced ';'
16919
16920         * configure.in
16921           initscript/Makefile.am
16922           initscript/SUSE/Makefile.am
16923           initscript/SUSE/networkmanager
16924                 - Add SUSE initscript
16925
16926 2005-06-12  David Zeuthen  <davidz@redhat.com>
16927
16928         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16929
16930         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16931
16932         * gnome/vpn-properties/nm-vpn-properties.c: New file
16933
16934         * gnome/vpn-properties/Makefile.am: New file
16935
16936         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16937         array of passwords
16938
16939         * src/vpn-manager/nm-vpn-manager.c
16940         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16941         instead of just a single one
16942
16943         * src/vpn-manager/nm-dbus-vpn.c:
16944         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16945         here
16946         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16947
16948         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16949         Change the interface here to give a list of passwords. Also, don't
16950         require username, but do require service
16951
16952         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16953         the binary for the auth-dialog and use that instead of putting up a
16954         dialog asking for a single password
16955
16956         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16957         however do remember the service
16958
16959         * gnome/applet/main.c (main): Setup i18n
16960
16961         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16962         connection to '%s'" to the tooltip if we are connected using VPN
16963         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16964         key to determine whether we the auth-dialog needs to
16965         reprompt. Also cope with the fact that the auth-dialog now returns
16966         an array of passwords.
16967         (nmwa_menu_configure_vpn_item_activate): New handler for
16968         "Configure VPN..." menu item
16969         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16970         (is_vpn_available): New function to determine if we got any
16971         NM-compatible VPN software installed
16972         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16973         items only if we have NM-compatible VPN software installed
16974         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16975         logic for detecting when VPN connections are removed
16976
16977         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16978         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16979         since these are defined elsewhere
16980
16981         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16982         function used to keep track of whether the last attempt succeded
16983         (nmwa_dbus_filter): Update last_attempt according to whether the
16984         VPN connection could be established or not
16985
16986         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16987         Change prototype to take an array of passwords, not just a single
16988         password
16989
16990         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16991         update service, not user
16992         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16993         dbus_active_vpn_name is not NULL before using it
16994         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16995         string array instead of assuming a single password
16996
16997         * gnome/applet/applet-dbus-info.c:
16998         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16999         user name; don't read from gconf
17000
17001         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
17002         VPN_NAME_FILES_DIR
17003
17004         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17005
17006         * configure.in: Add checks for gmodule-2.0.
17007         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17008         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17009         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
17010         for details
17011
17012         * vpn-daemons/Makefile.am: Removed
17013
17014         * vpn-daemons/README: New file to describe extensions points for VPN
17015         software
17016
17017 2005-06-10  Dan Williams <dcbw@redhat.com>
17018
17019         * src/backends/NetworkManagerRedHat.c
17020                 - (get_current_profile_name): new function, grab current network profile name from
17021                         /etc/sysconfig/network
17022                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17023                         update an IP4 Config structure's settings from it
17024                 - (nm_system_device_get_system_config): if we're using static IP on this device,
17025                         get DNS info from current network profile
17026
17027 2005-06-09  Dan Williams <dcbw@redhat.com>
17028
17029         Patch from Robert Love:
17030         * src/NetworkManagerDevice.c
17031           src/NetworkManagerUtils.c
17032                 - 64-bit build fixes
17033
17034 2005-06-09  Dan Williams <dcbw@redhat.com>
17035
17036         Patch from Kay Sievers and Robert Love:
17037         * configure.in
17038           src/backends/Makefile.am
17039           src/backends/NetworkManagerSuSE.c
17040                 - Add SuSE support
17041
17042 2005-06-09  Dan Williams <dcbw@redhat.com>
17043
17044         * NetworkManager.h
17045                 - Add NMWirelessScanMethod enum for scan methods
17046
17047         * gnome/applet/applet-dbus-devices.c
17048                 - (nmwa_dbus_update_scanning_enabled_cb): remove
17049                 - (nmwa_dbus_update_scanning_enabled): remove
17050                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17051                         since it got removed
17052                 - (nmwa_dbus_enable_scanning): remove
17053
17054         * gnome/applet/applet-dbus-info.c
17055                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17056                         update the wireless scanning method from NMI
17057                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17058                         method value to NetworkManager
17059                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17060
17061         * gnome/applet/applet-dbus-info.h
17062                 - Add prototype for nmi_dbus_signal_update_scan_method
17063
17064         * gnome/applet/applet.c
17065                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17066                         Wireless Scanning menu based on current wireless scan method
17067                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17068                         signal for Wireless Scanning menu items, tell NetworkManager the new method
17069                         and update our menu items to make sure the right one is checked
17070                 - (nmwa_set_scanning_enabled_cb): remove
17071                 - (nmwa_context_menu_update): remove references to pause_scanning_item
17072                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17073                         Scanning menu item
17074                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17075                         from GConf
17076                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17077                         so we get notified of preference values too
17078                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17079
17080         * gnome/applet/applet.h
17081                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17082                 - Add wireless scan method member to applet data
17083                 - Remove pause_scanning_item, add Wireless Scanning submenu
17084
17085         * src/NetworkManager.c
17086                 - (nm_data_new): default to NM_SCAN_METHOD_ON
17087                 - (main): grab scanning method from NMI if we can
17088
17089         * src/NetworkManagerDbus.c
17090                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17091                         nm_dbus_update_wireless_scan_method()
17092                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17093                         from NMI
17094                 - (nm_dbus_nmi_is_running): redundant function, removed
17095                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17096                         when NMI comes back
17097
17098         * src/NetworkManagerDevice.c
17099                 - (nm_device_is_activated): return TRUE if the device is activated
17100                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17101                         and we are activated
17102
17103         * src/nm-dbus-nm.c
17104                 - (nm_dbus_nm_set_scanning_enabled): removed
17105                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17106                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17107
17108 2005-06-09  Dan Williams <dcbw@redhat.com>
17109
17110         * NetworkManager.h
17111           src/vpn-manager/nm-vpn-service.c
17112                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17113
17114 2005-05-27  Dan Williams <dcbw@redhat.com>
17115
17116         * vpn-daemons/vpnc/nm-vpnc-service.c
17117                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17118                         Should fix the bug where the VPN connection terminates the first time.
17119
17120 2005-05-20  Dan Williams <dcbw@redhat.com>
17121
17122         * NetworkManager.h
17123                 - Differentiate VPN config signals between bad VPN config options
17124                         and bad IP config
17125
17126         * gnome/applet/applet-dbus-info.h
17127                 - Add prototypes for wireless network and vpn connection update functions
17128
17129         * gnome/applet/applet-dbus.c
17130                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17131
17132         * gnome/applet/applet.c
17133                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17134                         error signals
17135                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17136                         propogation to NetworkManager
17137                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17138                         notify propogation to NetworkManager
17139
17140         * src/NetworkManagerDbus.c
17141                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17142                         are updating so a network can be removed from it if necessary
17143
17144         * src/vpn-manager/nm-vpn-manager.c
17145                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17146
17147         * vpn-daemons/vpnc/nm-vpnc-service.c
17148                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17149                 - (nm_vpnc_dbus_signal_launch_failed): remove
17150                 - (nm_vpnc_dbus_signal_connect_failed): remove
17151                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17152                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17153                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17154                         for new generalized error signal function, remove config file stuff
17155                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17156                         we can write configuration options to it
17157                 - (nm_vpnc_config_file_generate): removed
17158                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17159                 - (nm_vpnc_config_options_validate): validate the config options we receive
17160                         from NetworkManager to block potential exploits
17161                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17162                         starting vpnc
17163                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17164                         to NetworkManager
17165
17166 2005-05-16  Dan Williams  <dcbw@redhat.com>
17167
17168         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17169                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17170                         is not "connect"
17171
17172 2005-05-16  Dan Williams  <dcbw@redhat.com>
17173
17174         Patch from Tomislav Vujec <tvujec@redhat.com>
17175         * gnome/applet/applet-dbus-info.c
17176                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17177                         GConf and pass them to NetworkManager.  New key is 'routes' under
17178                         the VPN connection, and should be a string list
17179
17180         * src/NetworkManagerSystem.c
17181                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17182                         set them on the device when we set the rest of the VPN config.  Ensure
17183                         they are in the correct format since they are passed directly to the
17184                         command line.
17185
17186         * src/backends/NetworkManagerRedHat.c
17187           src/backends/NetworkManagerDebian.c
17188                 - (nm_system_device_add_route_via_device_with_iface): new function
17189
17190         * src/vpn-manager/nm-dbus-vpn.c
17191                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17192
17193         * src/vpn-manager/nm-vpn-manager.c
17194                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17195                         them into the IP4 config functions
17196
17197 2005-05-15  Dan Williams  <dcbw@redhat.com>
17198
17199         From Filip Miletic:
17200         * po/sr.po
17201           po/sr@Latn.po
17202           configure.in
17203                 - Serbian translation added
17204
17205 2005-05-15  Dan Williams  <dcbw@redhat.com>
17206
17207         * dispatcher-daemon/NetworkManagerDispatcher.c
17208                 - (main): sync arguments with NetworkManager and the applet, now use
17209                         "--no-daemon" rather than "daemon=no"
17210                 - (nmd_print_usage): Fix script path in usage message
17211
17212 2005-05-15  Dan Williams  <dcbw@redhat.com>
17213
17214         * src/NetworkManagerDevice.[ch]
17215           src/NetworkManagerPolicy.c
17216           src/NetworkManager.c
17217           src/nm-dbus-nm.c
17218                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17219                         longer send the DeviceNoLongerActive signal unconditionally, but only
17220                         when the device is actually active.
17221
17222         * dispatcher-daemon/NetworkManagerDispatcher.c
17223                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17224                         and simplify the logic
17225                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17226                         we free it later on
17227
17228         * initscript/RedHat/Makefile.am
17229           initscript/RedHat/NetworkManagerDispatcher
17230                 - Add initscript for NetworkManagerDispatcher
17231
17232
17233         Patch from Bill Moss:
17234         * dispatcher-daemon/NetworkManagerDispatcher.c
17235                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17236
17237         * src/NetworkManagerDbus.c
17238                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17239                         and DeviceNowActive gets signaled, then the device has a new IP address
17240                         anyway.  There's no need for a separate signal.
17241
17242         * src/NetworkManagerDevice.c
17243                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17244
17245         * src/NetworkManagerPolicy.c
17246                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17247                         activates successfully.  This kind of went missing when I reworked the
17248                         activation code.
17249
17250 2005-05-15  Dan Williams  <dcbw@redhat.com>
17251
17252         * configure.in
17253                 - Check for dhcdbd and error if its not found
17254
17255         * src/dhcp-manager/Makefile.am
17256           src/dhcp-manager/nm-dhcp-manager.c
17257                 - Use path to dhcdbd that configure found
17258
17259 2005-05-14  Dan Williams  <dcbw@redhat.com>
17260
17261         * gnome/applet/nm-device.c
17262                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17263                         sort wireless networks alphabetically
17264
17265         * gnome/applet/applet-dbus-devices.c
17266                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17267                         before copying them over to the GUI
17268
17269 2005-05-14  Dan Williams  <dcbw@redhat.com>
17270
17271         * src/NetworkManager.c
17272                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17273                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17274                         the device list, as does nm_get_active_device() which is called from
17275                         nm_vpn_manager_deactivate_vpn_connection().
17276
17277 2005-05-14  Dan Williams  <dcbw@redhat.com>
17278
17279         * NetworkManager.h
17280                 - Add signals for VPN Launch and Connect failures
17281
17282         * gnome/applet/applet-dbus.c
17283                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17284
17285         * gnome/applet/applet.c
17286                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17287                         function to handle all VPN failure messages
17288                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17289                         function to hanlde all VPN failure  messages
17290                 - (show_warning_dialog): work around focus-stealing prevention
17291
17292         * gnome/applet/other-network-dialog.c
17293           gnome/applet/passphrase-dialog.c
17294                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17295                         problem where it never enabled for ASCII Key and Hex Key types
17296
17297         * gnome/applet/wireless-applet.glade
17298                 - Add window title to Other Wireless Network Dialog
17299
17300         * src/vpn-manager/nm-dbus-vpn.c
17301                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17302                         function to handle all VPN failure messages
17303
17304         * src/vpn-manager/nm-vpn-manager.c
17305                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17306
17307         * vpn-daemons/vpnc/nm-vpnc-service.c
17308                 - (nm_vpnc_dbus_signal_launch_failed): new function
17309                 - (nm_vpnc_dbus_signal_connect_failed): new function
17310                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17311                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17312                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17313                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17314
17315 2005-05-11  Dan Williams  <dcbw@redhat.com>
17316
17317         * vpn-daemons/vpnc/nm-vpnc-service.c
17318                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17319                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17320                         file exists before trying to write it out.
17321
17322 2005-05-10  Dan Williams  <dcbw@redhat.com>
17323
17324     * gnome/applet/applet-dbus-device.c
17325         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17326             prevented just entering ESSID and leaving key and key type up to
17327             NetworkManager (which should have them already cached)
17328
17329 2005-05-08  Dan Williams  <dcbw@redhat.com>
17330
17331         * src/NetworkManagerPolicy.c
17332                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17333                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17334                         fix a situation where NM is told to terminate and the device stops activation,
17335                         but the main thread isn't aware of that because it would never have run
17336                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17337                         had already quit.
17338
17339         * src/NetworkManagerDevice.c
17340                 - (nm_device_probe_wired_link_state): cosmetic fixes
17341                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17342                         we've failed to activate or been canceled.
17343                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17344
17345 2005-05-08  Dan Williams  <dcbw@redhat.com>
17346
17347         * src/NetworkManagerWireless.c
17348                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17349                         value of WEXT quality structures, and add a debug message when we cannot
17350                         determine any quality % at all
17351
17352 2005-05-08  Dan Williams  <dcbw@redhat.com>
17353
17354         * src/dhcp-manager/nm-dhcp-manager.c
17355                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17356                         it goes down.
17357
17358 2005-05-06  Dan Williams  <dcbw@redhat.com>
17359
17360         * gnome/applet/applet-dbus-device.c
17361           gnome/applet/applet-dbus-info.c
17362           gnome/applet/applet-dbus.c
17363           gnome/applet/applet.c
17364           gnome/applet/applet.h
17365                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17366
17367         * gnome/applet/applet-dbus.c
17368                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17369                         so we notice when wired device's carriers come back on.  Should
17370                         fix issue with wired devices being grayed out even if the cable
17371                         is in, for devices that support carrier detection.
17372
17373         * gnome/applet/applet.c
17374                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17375                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17376                         tooltip message
17377                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17378                         Fix situation where applet wouldn't respond to menu selections
17379
17380         * src/NetworkManager.c
17381           src/NetworkManagerDevice.c
17382           src/NetworkManagerDbus.c
17383           src/NetworkManagerDbus.h
17384                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17385
17386         * src/NetworkManagerDbus.c
17387                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17388                         Remove, no longer used or relevant
17389                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17390                 - (nm_dbus_schedule_device_status_change_signal): add
17391
17392         * src/NetworkManagerDevice.c
17393                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17394                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17395                         ie don't deactivate them unless explicitly told to by the user.  Also send
17396                         CARRIER_OFF / CARRIER_ON signals when link changes
17397                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17398                         Don't print error message when device is no longer around
17399                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17400                         not just during activation
17401
17402         * src/NetworkManagerPolicy.c
17403                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17404                         auto-device-selection.
17405                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17406
17407         * src/NetworkManagerSystem.c
17408                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17409                         is no longer present (Bill Moss)
17410
17411         * src/backends/shvar.c
17412                 - (svOpenFile): Open read-only to make SELinux happy
17413
17414         * src/backends/NetworkManagerRedHat.c
17415                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17416                         the path to the ifcfg-* files
17417
17418 2005-05-05  Dan Williams  <dcbw@redhat.com>
17419
17420         * Expose activation stages to NetworkManager clients, like the applet
17421         * Add Diana's progress icons to the applet, cued off NM activation stage
17422         * Use more descriptive tooltips, cued off NM activation stage
17423
17424 2005-05-05  Ray Strode  <rstrode@redhat.com>
17425
17426         * src/nm-netlink-monitor.c:
17427                 - Use clear_event_source instead of g_nullify_pointer() again.
17428
17429 2005-05-05  Dan Williams  <dcbw@redhat.com>
17430
17431         * gnome/applet/main.c
17432                 - Fix session management so the applet is actually managed now
17433
17434         * gnome/applet/passphrase-dialog.c
17435                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17436
17437 2005-05-05  Dan Williams  <dcbw@redhat.com>
17438
17439         Patch from Bill Moss:
17440         * gnome/libnm_glib/libnm_glib.c
17441                 - Fix for dbus-0.33
17442
17443 2005-05-05  Dan Williams  <dcbw@redhat.com>
17444
17445         Suggestion from Bill Moss:
17446         * src/NetworkManagerSystem.c
17447                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17448
17449
17450         * src/NetworkManager.c
17451                 - (nm_data_free): move destruction of the various managers after
17452                         release of device list, because deactivating and freeing a device
17453                         requires at least the named manager
17454                 - (nm_poll_and_update_wireless_link_state):
17455                   (nm_device_link_activated):
17456                   (nm_device_link_deactivated):
17457                         don't grab the device list lock when actually updating device
17458                         link status or strength, since nm_device_set_link_active()
17459                         needs to call nm_get_active_device(), which also locks the device list.
17460
17461         * src/NetworkManagerDevice.c
17462                 - (nm_device_set_link_active): if a device's link switches from off->on,
17463                         and it's wired, and the active device is wireless (or there is no
17464                         active device), activate the new device whose link just came on
17465                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17466                         my only calling the link to the current ap "failed" when more than 2
17467                         consecutive link checks have failed
17468
17469 2005-05-04  Dan Williams  <dcbw@redhat.com>
17470
17471         * src/NetworkManagerDevice.c
17472                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17473                         but let link_to_specific_ap() do the locking where it needs
17474
17475         Patch from Bill Moss:
17476         * src/NetworkManagerSystem.c
17477                 - Set MTU of VPN devices to 1412
17478
17479 2005-05-04  Dan Williams  <dcbw@redhat.com>
17480
17481         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17482
17483         * Fix some holes in device activation and retaining the currently connected
17484                 access point
17485
17486 2005-05-03  Dan Williams  <dcbw@redhat.com>
17487
17488         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17489           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17490           means you need dhcdbd, which you can get here (get the latest one):
17491
17492                 http://people.redhat.com/jvdias/dhcdbd/
17493
17494           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17495           interface as dhcdbd.
17496
17497         * Rewrite device activation to facilitate the new DHCP infrastructure and
17498           future improvements.  Its now "activation request" based, ie there is a single
17499           activation request composed of the device, access point, and other info which
17500           follows the entire activation process.  There are 5 stages of the activation
17501           process which correspond to:
17502
17503                 1) Device preparation
17504                 2) Device configuration (bring it up, set ESSID/Key/etc)
17505                 3) IP Config Start (fire off DHCP if we're using it)
17506                 4) IP Config Get (grab config from DHCP or static config files)
17507                 5) IP Config Commit (set device's IP address, DNS, etc)
17508
17509           Note that there is no longer a "scanning" step, since the access point must
17510           be known _before_ activation starts.  If the access point drops out or does
17511           not exist for some reason, the entire activation process fails and must be
17512           restarted for a different access point or device.
17513
17514         Patch from Bill Moss:
17515         * gnome/applet/applet.c
17516                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17517
17518 2005-04-27  Dan Williams  <dcbw@redhat.com>
17519
17520         * gnome/applet/applet-dbus-vpn.c
17521           gnome/applet/applet.c
17522           gnome/applet/applet.h
17523                 - Fix up active VPN handling so that we reliably know when a VPN
17524                         connection has been deactivated
17525
17526         * src/vpn-manager/nm-vpn-manager.c
17527                 - Remove duplicate VPNConnectionChange signal
17528
17529 2005-04-27  Dan Williams  <dcbw@redhat.com>
17530
17531         Patch from Peter Jones:
17532         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17533
17534         Patch from Bill Moss:
17535         * src/NetworkManagerSystem.c
17536                 - Fix checking of return value from ioctl()
17537
17538 2005-04-27  Dan Williams  <dcbw@redhat.com>
17539
17540         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17541         * Warn and exit if icons cannot be found
17542
17543 2005-04-27  Dan Williams  <dcbw@redhat.com>
17544
17545         Patch from Tom Parker:
17546         * Update debian backend
17547
17548 2005-04-27  Dan Williams  <dcbw@redhat.com>
17549
17550         * Merge the applet and the info-daemon, and move the converged
17551                 applet under gnome/applet
17552         * Move libnm_glib to gnome/libnm_glib
17553         * Convert most dbus calls between the applet, info-daemon, and NM
17554                 into async calls
17555         * Fix a few things valgrind noticed
17556         * Make NM broadcast state more reliably
17557
17558 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17559
17560         * configure.in: Added ne in ALL_LINGUAS
17561
17562 2005-04-15  Dan Williams  <dcbw@redhat.com>
17563
17564         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17565                 code for dbus 0.2x versions
17566
17567 2005-04-15  Dan Williams  <dcbw@redhat.com>
17568
17569         Patches from Tom Parker:
17570         - Fix memleaks
17571         - Join with worker thread rather than polling for its exit
17572
17573         Patch from Bill Moss:
17574         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17575
17576 2005-04-15  Dan Williams  <dcbw@redhat.com>
17577
17578         - Fixes to pass 'make distcheck'
17579
17580 2005-04-15  Dan Williams  <dcbw@redhat.com>
17581
17582         Initial VPN Support
17583                 - supports 'vpnc'
17584                 - reworks device IP configuration, backend files have changed and will need
17585                         to be updated for all distributions.  I will try to do what I can for
17586                         them, but I cannot test them.
17587
17588         - Move named directory to src/named-manager
17589         - Make backends directory self-contained
17590
17591 2005-04-06  Dan Williams  <dcbw@redhat.com>
17592
17593         Add debug code for socket/file descriptor leaks.  We register every socket
17594         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17595         list of sockets that we forgot to close on shutdown.  This also consolidates
17596         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17597
17598 2005-04-06  Dan Williams  <dcbw@redhat.com>
17599
17600         * dhcpcd/dhcpcd.c
17601                 - (dhcp_interface_free): fix a file descriptor leak that may have
17602                         caused network drivers to not unload due to refcounts > 0
17603
17604 2005-04-04  Dan Williams  <dcbw@redhat.com>
17605
17606         * panel-applet/NMWirelessAppletDbus.c
17607                 - (nmwa_dbus_call_nm_method): remove some commented code
17608
17609         * src/NetworkManagerAPList.[ch]
17610                 - (nm_ap_list_remove_ap_by_essid): new function
17611
17612         * src/NetworkManagerDevice.c
17613                 - (nm_device_wireless_force_use): remove access points from the ignore list
17614                         when the user forces them
17615
17616         * src/nm-dbus-device.c
17617                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17618
17619 2005-04-04  Dan Williams  <dcbw@redhat.com>
17620
17621         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17622
17623 2005-04-04  Dan Williams  <dcbw@redhat.com>
17624
17625         * src/NetworkManagerDevice.c:
17626                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17627                         of only erroring after the second consecutive scan times out.  Also
17628                         don't exit when the card requires more time than we can give it, just
17629                         log the event and continue.
17630
17631 2005-04-01  Steve Murphy  <murf@e-tools.com>
17632
17633         * configure.in: Added "rw" to ALL_LINGUAS.
17634
17635 2005-04-01  Dan Williams <dcbw@redhat.com>
17636
17637         Perform scans during device activation, if needed.  Both activation 
17638         and scans run in the same GMainContext.  Therefore, if an access point
17639         is not found by the time the device starts activation, it will not
17640         be available until after activation.  We now try to scan during
17641         activation (in nm_wa_test) every 15s so that all available access
17642         points are more likely to be found and available for the activation
17643         procedure.
17644
17645         Also change nm_wireless_link_state_handle() to only update the "best"
17646         AP if we are not forcing a device and if we are not about to change
17647         state.  This attempts to work around a race when forcing a device,
17648         where the forced AP would get cleared out too soon by the link state
17649         checking timeout in the main thread, and the activation attempt with
17650         that AP would fail.
17651
17652 2005-04-01  Dan Williams <dcbw@redhat.com>
17653
17654         * po/POTFILES.in
17655                 - Update with new translatables
17656
17657 2005-03-31  Dan Williams <dcbw@redhat.com>
17658
17659         * panel-applet/NMWirelessAppletDbus.c
17660                 - Fix device names now that hal has changed device parenting for
17661                         network devices.
17662
17663 2005-03-31  Dan Williams <dcbw@redhat.com>
17664
17665         Tighten up handling of wireless devices that don't support wireless
17666         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17667         hadn't been doing pseudo-scanning for a while either and would just
17668         spin waiting for an access point.  They are now manual devices where
17669         the user must choose the access point from the menu every time.  All
17670         "allowed" access points are listed in the applet's menu regardless
17671         of whether or not they can be seen by the card, since it can't scan
17672         anyway.
17673
17674         * src/NetworkManager.c
17675                 - (nm_wireless_link_state_handle): new function, but only update
17676                         the "best" ap for non-scanning devices when its not activating,
17677                         and when no device is being forced on the card
17678                 - (nm_link_state_monitor): split wireless link state handling out
17679                         into separate function
17680
17681         * src/NetworkManagerDevice.c
17682                 - (nm_device_copy_allowed_to_dev_list): new function
17683                 - (nm_device_new): populate non-scanning cards' AP lists with
17684                         access points from the "allowed" list
17685                 - (nm_device_new): don't start a scanning timeout for devices that
17686                         can't scan
17687                 - (nm_device_activation_schedule_finish): new parameter, should be
17688                         the AP that failed to be connected to, pass it on to the
17689                         activation finish function in NetworkManagerPolicy.c
17690                 - (nm_device_activate_wireless): don't ever try to get a new AP
17691                         for non-scanning devices, just fail.  The user must choose
17692                         a new access point manually.
17693                 - (nm_device_activate): grab the AP that failed connection and
17694                         pass it on
17695                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17696                         a link to it, user must manually choose a new one
17697                 - (nm_device_do_pseudo_scan): remove function
17698                 - (nm_device_wireless_process_scan_results): remove bits for non-
17699                         scanning cards since they never get here
17700                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17701                         and fake the scan list for test devices a bit earlier
17702
17703         * src/NetworkManagerPolicy.c
17704                 - (nm_policy_activation_finish): use the failed_ap that we get
17705                         passed rather than getting the best_ap from the card, which
17706                         may have changed since we were scheduled
17707                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17708                         update their scan list directly from the allowed list when
17709                         we get updates to the allowed list from NetworkManagerInfo
17710
17711         * src/NetworkManagerPolicy.h
17712                 - New member for failed access point in NMActivationResult
17713
17714   -------------------------------------
17715
17716         Driver Notification patch: notifies the user when their driver
17717                 sucks.  Gives them the option to ignore further insertions
17718                 of the card that has the sucky driver.
17719
17720         * NetworkManager.h
17721                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17722                         enum and replace it with NO_CARRIER_DETECT and
17723                         NO_WIRELESS_SCAN
17724
17725         * panel-applet/NMWirelessApplet.[ch]
17726                 - Merge essid.glade -> wireless-applet.glade
17727                 - Implement the "Your driver sucks" notification dialog
17728
17729         * panel-applet/NMWirelessAppletDbus.c
17730                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17731                 - Grab hardware address for each device from NM too
17732                 - Check whether the driver for each device sucks or not whenever
17733                         a new device is noticed
17734
17735         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17736                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17737
17738         * src/NetworkManager.c
17739                 - Fix a double-unref on device removal
17740
17741         * src/NetworkManagerUtils.c
17742                 - Set appropriate driver support level on a device that doesn't
17743                         support scanning or carrier detection
17744
17745         * src/nm-dbus-device.c
17746                 - New "getHWAddress" dbus method on devices
17747                 - getSupportsCarrierDetect -> getDriverSupportLevel
17748
17749 2005-03-31  Dan Williams <dcbw@redhat.com>
17750
17751         * src/NetworkManagerDevice.c
17752                 - (nm_device_wireless_scan): Fix leak of scan results in some
17753                         instances
17754
17755 2005-03-29  Dan Williams <dcbw@redhat.com>
17756
17757         * src/NetworkManager.c
17758                 - (nm_poll_and_update_wireless_link_state): make code less indented
17759
17760         Patch from Bill Moss:
17761         * src/NetworkManager.c
17762                 - (nm_device_update_link_state): Update signal strength on wireless
17763                         devices every time we update link state too.
17764
17765 2005-03-29  Dan Williams <dcbw@redhat.com>
17766
17767         * src/NetworkManagerDevice.c
17768                 - (nm_device_set_essid): Work around Orinoco cards which need
17769                         extra time after setting the ESSID
17770
17771 2005-03-29  Dan Williams <dcbw@redhat.com>
17772
17773         * src/NetworkManagerDevice.c
17774                 - Merge one more bit of Peter Jones' completion patch
17775
17776 2005-03-29  Dan Williams <dcbw@redhat.com>
17777
17778         * src/NetworkManagerDevice.c
17779                 - (nm_device_force_use): Fix possible segfault
17780
17781 2005-03-29  Dan Williams <dcbw@redhat.com>
17782
17783         * src/NetworkManagerDevice.c
17784                 - Use iw_get_ext() where we should rather than iw_set_ext()
17785
17786 2005-03-29  Dan Williams <dcbw@redhat.com>
17787
17788         * src/NetworkManagerDevice.c
17789                 - (nm_device_set_up_down): remove check for unsupported devices
17790                         that caused NM to not bring devices up when they were
17791                         added to the device list.
17792
17793 2005-03-28  Dan Williams <dcbw@redhat.com>
17794
17795         * src/NetworkManagerDevice.c
17796                 - (mdio_read): Fix two bugs that caused all devices to fail
17797                         the MII carrier detection support checks
17798
17799 2005-03-26  Dan Williams <dcbw@redhat.com>
17800
17801         * src/NetworkManagerDevice.c
17802                 - (nm_device_wireless_scan): Remove duplicated scanning code
17803
17804 2005-03-25  Dan Williams <dcbw@redhat.com>
17805
17806         * panel-applet/NMWirelessApplet.c
17807                 - (nmwa_about_cb): Add some more contributors
17808                 - (nmwa_update_state): show the applet when there's no connection
17809                 - Enable the "Stop/Resume all wireless devices" option in the
17810                         context menu
17811                 - New "no connection" icon
17812
17813         * src/NetworkManager.c
17814                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17815                         wireless is disabled or we're asleep
17816
17817         * src/NetworkManagerDHCP.c
17818                 - Remove trailing "\n" on debug messages
17819
17820         * src/NetworkManagerDbus.c
17821                 - (nm_dbus_network_status_from_data): new state "asleep"
17822
17823         * src/NetworkManagerDevice.c
17824                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17825                         latency and wait times for most operations
17826                 - (nm_device_wireless_scan): Don't scan when asleep
17827
17828         * src/NetworkManagerPolicy.c
17829                 - (nm_policy_get_best_device): return no device when asleep
17830                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17831                         for all wireless devices on update, not just active device
17832
17833         * src/NetworkManagerUtils.c
17834                 - Merge Peter Jones' "completion" patch
17835
17836         * src/nm-dbus-nm.c
17837                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17838                         we're told to disable them
17839                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17840
17841         * utils/nm-utils.h
17842                 - New variants of the warn/info/error/debug print functions that can take
17843                         variables rather than static strings
17844
17845 2005-03-24  Dan Williams <dcbw@redhat.com>
17846
17847         * src/NetworkManagerUtils.c
17848                 - (nm_get_device_driver_name): driver names are now on the parents of
17849                         "Network Interface" objects, so look for them there
17850
17851 2005-03-24  Dan Williams <dcbw@redhat.com>
17852
17853         * test/nmtest.c
17854                 - Escape some forgotten object paths before we shove them through dbus
17855
17856 2005-03-24  Dan Williams <dcbw@redhat.com>
17857
17858         * dhcpcd/dhcpcd.[ch]
17859           src/NetworkManagerDHCP.c
17860                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17861                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17862
17863         * src/NetworkManagerDbus.c
17864                 - spacing cleanups
17865
17866         * src/nm-dbus-dhcp.c
17867                 - Make the API suck less.  There is now only 1 type of each function,
17868                         ie only "getInteger" and no longer also "getIntegerv".  All types
17869                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17870                         that will never have more than 1 element.  This should simplify
17871                         things greatly.
17872
17873         * test/nm-dhcp-opt-test.c
17874                 - Make the tool not segfault
17875                 - adapt to new DHCP Options API
17876
17877 2005-03-22  Dan Williams <dcbw@redhat.com>
17878
17879         * src/NetworkManager.c
17880                 - (nm_wired_link_deactivated): actually ignore netlink events from
17881                         wireless devices.
17882
17883 2005-03-22  Dan Williams <dcbw@redhat.com>
17884
17885         * src/NetworkManager.c
17886                 - (nm_wired_link_activated): actually ignore netlink events from
17887                         wireless devices.
17888
17889 2005-03-17  Dan Williams <dcbw@redhat.com>
17890
17891         Patch from Tom Parker:
17892         * src/nm-netlink-monitor.c
17893                 - Include unistd.h
17894         * info-daemon/NetworkManagerInfoDbus.c
17895                 - (nmi_dbus_update_network_auth_method): free GConf values
17896
17897         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17898         * src/NetworkManagerDevice.c
17899                 - (nm_device_set_wireless_config): wait for successful
17900                         association longer for some cards (Atheros a/b/g)
17901
17902 2005-03-15  Ray Strode  <rstrode@redhat.com>
17903
17904         * src/NetworkManager.c:
17905         (sigterm_pipe_handler):
17906         remove bogus FIXME
17907
17908 2005-03-15  Ray Strode  <rstrode@redhat.com>
17909
17910         * src/NetworkManagerDbus.c:
17911         Fix some sign weirdness that gcc4 doesn't like,
17912         and add a header file so PPC can hopefully find
17913         SIGTRAP
17914
17915 2005-03-14  Ray Strode  <rstrode@redhat.com>
17916         
17917         Fourth (probably working) cut at porting to
17918         dbus 0.30 api and new hal. This cut adds
17919         some new logging macros to make debugging
17920         easier.
17921
17922         * dispatcher-daemon/NetworkManagerDispatcher.c:
17923         * info-daemon/NetworkmanagerInfo.c:
17924         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17925         * info-daemon/NetworkManagerInfoVPN.c:
17926         * src/NetworkManager.c:
17927         * src/NetworkManagerAP.c:
17928         * src/NetworkManagerAPList.c:
17929         * src/NetworkManagerDHCP.c:
17930         * src/NetworkManagerDbus.c:
17931         * src/NetworkManagerDevice.c:
17932         * src/NetworkManagerPolicy.c:
17933         * src/NetworkManagerSystem.c:
17934         * src/NetworkManagerUtils.c:
17935         * src/NetworkManagerWireless.c:
17936         * src/autoip.c:
17937         * src/nm-dbus-nm.c:
17938         * src/backends/NetworkManagerDebian.c:
17939         * src/backends/NetworkManagerGentoo.c:
17940         * src/backends/NetworkManagerRedHat.c:
17941         * src/backends/NetworkManagerSlackware.c:
17942         use new logging macros.
17943
17944         * dispatcher-daemon/NetworkManagerDispatcher.c:
17945         (nmd_dbus_filter): s/dbus_free/g_free/
17946
17947         * info-daemon/Makefile.am: link in utils library.
17948         * info-daemon/NetworkmanagerInfo.c: use new logging 
17949         macros.
17950         (nmi_dbus_get_network): don't assume enumerations
17951         are 32-bit.
17952         (nmi_dbus_nmi_message_handler): don't free what 
17953         doesn't belong to us.
17954
17955         * libnm_glib/libnm_glib.c:
17956         (libnm_glib_get_nm_status): 
17957         (libnm_glib_init): don't free what doesn't
17958         belong to us.
17959         (libnm_glib_dbus): strdup result, so it doesn't get
17960         lost when message is unref'd.
17961
17962         * panel-applet/NMWirelessAppletDbus.c:
17963         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17964
17965         * src/NetworkManager.c:
17966         (nm_monitor_wired_link_state): request initial status 
17967         dump of all cards when we start up, instead of relying
17968         on /sys/.../carrier.
17969         (nm_info_handler), (nm_set_up_log_handlers): 
17970         log handlers to specify what syslog priorites 
17971         the logging macros default to.
17972
17973         * src/NetworkManagerAPList.c: 
17974         (nm_ap_list_populate_from_nmi):
17975         s/dbus_free_string_array/g_strfreev/
17976
17977         * src/NetworkManagerDbus.c:
17978         (nm_dbus_get_network_object):
17979         validate d-bus message argument types.
17980         Advance message iterator after reading argument,
17981         prepend instead of append to GSList.
17982
17983         * src/NetworkManagerDevice.c:
17984         (nm_device_probe_wired_link_status):
17985         remove redundant /sys in /sys path. remove wrong
17986         contents == NULL means has carrier assumption.
17987
17988         * src/nm-netlink-monitor.c 
17989         (nm_netlink_monitor_request_status): implement
17990         function to ask kernel to dump interface link
17991         status over netlink socket.
17992
17993         * test/*.c: s/dbus_free/g_free/
17994
17995         * utils/nm-utils.h:
17996         (nm_print_backtrace): new macro to print backtrace.
17997         (nm_get_timestamp): new macro to get sub-second precise
17998         unix timestamp.
17999         (nm_info), (nm_debug), (nm_warning), (nm_error):
18000         new logging functions. nm_info just prints,
18001         nm_debug includes timestamp and function,
18002         nm_warning includes function, nm_error includes
18003         backtrace and sigtrap.
18004
18005 2005-03-11  Ray Strode  <rstrode@redhat.com>
18006
18007         Third (unfinished, partially working) cut at porting to 
18008         dbus 0.30 api and new hal.
18009
18010         * info-daemon/NetworkManagerInfoDbus.c:
18011                 don't free null arrays.
18012
18013         * panel-applet/NMWirelessAppletDbus.c: 
18014         * src/nm-dbus-device.c:
18015         * src/nm-dbus-net.c: 
18016         * src/NetworkManagerDbus.c: more 
18017         STRING -> OBJECT_PATH fun
18018         * src/NetworkManagerDevice.c:
18019         * src/NetworkManagerDevice.h:
18020         (rename nm_device_get_link_active): rename to 
18021         nm_device_has_active_link
18022         (nm_device_wireless_link_active): rename to
18023         nm_device_probe_wireless_link_state
18024         (nm_device_wired_link_active): rename to
18025         nm_device_probe_wired_link_state.  Rewrite to
18026         use carrier file since hal doesn't maintain
18027         link state anymore.
18028         (nm_device_update_link_active): rename to
18029         nm_device_update_link_state
18030         * src/NetworkManagerPolicy.c 
18031           (nm_policy_activation_finish): check for NULL
18032           MAC address.
18033
18034         * src/Makefile.am:
18035         * src/NetworkManagerMain.h: 
18036         * src/NetworkManager.c:
18037         * src/nm-netlink-monitor.c:
18038         * src/nm-netlink-monitor.h: New class to support
18039         monitoring wired ethernet link status, since HAL
18040         doesn't export that information anymore.
18041
18042 2005-03-09  Ray Strode  <rstrode@redhat.com>
18043
18044         Second (unfinished, unworking) cut at porting to 
18045         dbus 0.30 api.
18046
18047         * dispatcher-daemon/NetworkManagerDispatcher.c:
18048         * info-daemon/NetworkManagerInfoDbus.c:
18049         * panel-applet/NMWirelessAppletDbus.c:
18050         * src/NetworkManagerDbusUtils.c:
18051         * src/NetworkManagerDbusUtils.h:
18052         * src/nm-dbus-device.c:
18053         * src/nm-dbus-nm.c:
18054         * test/nmtest.c: support dbus "object path" type
18055
18056         * configure.in: 
18057         * Makefile.am:
18058         * info-daemon/Makefile.am:
18059         * libnm_glib/Makefile.am:
18060         * panel-applet/Makefile.am:
18061         * dispatcher-daemon/Makefile.am
18062         * src/Makefile.am:
18063         * test/Makefile.am:
18064         * utils/Makefile.am: 
18065         * utils/nm-utils.c: 
18066         * utils/nm-utils.h: new utils static lib
18067
18068 2005-03-07  Ray Strode  <rstrode@redhat.com>
18069
18070         * info-daemon/NetworkManagerInfoDbus.c:
18071         * libnm_glib/libnm_glib.c:
18072         * panel-applet/NMWirelessAppletDbus.c:
18073         * src/NetworkManager.c:
18074         * src/NetworkManagerDbus.c:
18075         * src/NetworkManagerDevice.c:
18076         * src/NetworkManagerUtils.c:
18077         * src/nm-dbus-device.c:
18078         * src/nm-dbus-dhcp.c:
18079         * src/nm-dbus-net.c:
18080         * src/nm-dbus-nm.c:
18081         * test/nminfotest.c:
18082         First (unfinished, unworking) cut at porting to dbus 0.30 api.
18083
18084 2005-03-04  Dan Williams  <dcbw@redhat.com>
18085
18086         * configure.in
18087                 - Mark HEAD as 0.4
18088
18089 2005-03-04  Dan Williams  <dcbw@redhat.com>
18090
18091         Patch from Peter Jones:
18092         - Make stuff work with gcc 4.0
18093
18094 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18095
18096         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18097
18098 2005-02-27  Jim Huang  <jserv@kaffe.org>
18099
18100         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18101
18102 2005-02-27  Dan Williams  <dcbw@redhat.com>
18103
18104         Patch from Bill Moss:
18105         * panel-applet/NMWirelessAppletDbus.c
18106                 - Make sure strength for current access point is up-to-date when we
18107                         update the gui data model
18108
18109 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18110
18111         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18112
18113 2005-02-27  Dan Williams  <dcbw@redhat.com>
18114
18115         * src/backends/NetworkManagerRedHat.c
18116                 - (nm_system_init): Kill any dhclient processes lying around as well
18117                         as stopping 'nifd' if its already been started.  NetworkManager
18118                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18119
18120 2005-02-27  Dan Williams  <dcbw@redhat.com>
18121
18122         * panel-applet/NMWirelessApplet.c
18123                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18124                         dbus data model, not the GUI data model twice.
18125
18126 2005-02-27  Dan Williams  <dcbw@redhat.com>
18127
18128         * panel-applet/NMWirelessApplet.[ch]
18129           panel-applet/NMWirelessAppletDbus.[ch]
18130                 - Move to incremental network updates.  Instead of blowing away our list
18131                         of devices every time we get a signal from NetworkManager, we now
18132                         incrementally add/remove networks when NetworkManager notifies us that
18133                         a new network has appeared or disappered.  Strength updates now happen
18134                         on-the-fly for each access point as well.  There are now two copies of
18135                         data from NetworkManager: one for the dbus side, and one for the gui side.
18136                         When the dbus side data is modified, it is copied over to the gui side
18137                         so we don't have to hold the data_mutex for long periods of time (and
18138                         therefore block animation of the applet's icon).
18139                 - Clean up some memleaks too
18140
18141         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18142                 - Minor code beautification
18143
18144         * src/NetworkManagerAPList.c
18145                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18146                         completely new and whether or not an existing one's strength was updated.
18147                         Try to fix multiple access points and signal strength by using the highest
18148                         signal strength in each scan for any given ESSID.
18149
18150         * src/NetworkManagerDbus.[ch]
18151                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18152                         wireless networks; now we have only WirelessNetworkUpdate which includes
18153                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18154                 - Kill usage of DbusMessageIter
18155
18156         * src/NetworkManagerDevice.c
18157                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18158                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18159                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18160                         currently associated with from the network list.
18161                 - Update for new signals during scan, send out Appeared, Disappeared, or
18162                         StrengthChanged when necessary.
18163
18164 2005-02-25  Dan Williams  <dcbw@redhat.com>
18165
18166         * README
18167                 - Line break the README
18168
18169 2005-02-25  Dan Williams  <dcbw@redhat.com>
18170
18171         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18172                 - Remove usage of gtk_window_set_default_size()
18173
18174         * panel-applet/essid.glade
18175                 - Stick default size here
18176                 - Add in random crap that current glade wants to add in now
18177
18178 2005-02-25  Dan Williams  <dcbw@redhat.com>
18179
18180         * src/backends/NetworkManagerRedHat.c
18181                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18182                         and that we actually tell nscd to reload the hosts cache when it changes
18183
18184 2005-02-25  Dan Williams  <dcbw@redhat.com>
18185
18186         * info-daemon/NetworkManagerInfoDbus.c
18187                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18188
18189         * test/nminfotest.c
18190                 - Whack usage of DbusMessageIter
18191                 - Clean up DbusError and DbusMessage handling and freeing
18192                 - Remove unused unregister handler
18193
18194         * test/nmtest.c
18195                 - Whack usage of DbusMessageIter
18196
18197         * test/nmtestdevices.c
18198                 - Whack usage of DbusMessageIter
18199
18200 2005-02-25  Dan Williams  <dcbw@redhat.com>
18201
18202         * NetworkManager.h
18203                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18204                         signal
18205
18206 2005-02-25  Dan Williams  <dcbw@redhat.com>
18207
18208         * named/nm-named-manager.c
18209                 - Ensure that pid and watch variables for child named process get cleared out
18210                         when the child goes away.
18211
18212 2005-02-22  Dan Williams  <dcbw@redhat.com>
18213
18214         * src/NetworkManagerPolicy.c
18215                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18216                         and NULL out data->active_device so that we have to choose another one.
18217                         This may make NetworkManager keep attempting to connect to a wired network
18218                         if it fails, but if it keeps failing the wired network has more problems than
18219                         just NetworkManager.
18220
18221         * src/backends/NetworkManagerRedHat.c
18222                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18223                         is already running
18224
18225         * named/nm-named-manager.c
18226                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18227                         named so that the distro can flush whatever name service caching
18228                         daemon it uses
18229
18230 2005-02-21  Dan Williams  <dcbw@redhat.com>
18231
18232         * src/NetworkManagerDHCP.[ch]
18233                 - (nm_device_dhcp_remove_timeouts): new function
18234
18235         * src/NetworkManagerDevice.c
18236                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18237                         remove the DHCP timeouts.
18238
18239 2005-02-21  Dan Williams  <dcbw@redhat.com>
18240
18241         * panel-applet/NMWirelessApplet.[ch]
18242           panel-applet/menu-info.[ch]
18243                 - Give the panel applet some major love: menu items are no longer
18244                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18245                         This allows the applet to actually reflect theme changes correctly,
18246                         since themeing of subclassed items in GTK _sucks_.
18247
18248 2005-02-18  Dan Williams  <dcbw@redhat.com>
18249
18250         * libnm_glib/libnm_glib.[ch]
18251           test/libnm_glib_test.c
18252                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18253                         and its data, and doesn't have to free the callback data anymore
18254
18255 2005-02-18  Dan Williams  <dcbw@redhat.com>
18256
18257         * panel-applet/NMWirelessApplet.c
18258                 - Revert 2005-02-18 William Jon McCann fix for standard
18259                         copyright string until it passes 'make distcheck'.
18260                         With standard copyright string, xgettext complains
18261                         about "Non-ASCII string at ...".
18262
18263 2005-02-18  Dan Williams  <dcbw@redhat.com>
18264
18265         * panel-applet/essid.glade
18266           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18267                 - Correct spelling of "adaptor"->"adapter"
18268
18269 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18270
18271         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18272         (nmwa_about_cb): Use standard copyright string.  Update comment
18273         text to reflect that it is a notification area applet.  Remove
18274         leading newline in authors list.
18275         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18276         instead of on parent menu item activation.  Fixes #167550.
18277
18278 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18279
18280         * panel-applet/essid.glade: Capitalize items as per HIG.
18281           Fixes #167632
18282
18283 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18284
18285         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18286         files for GTK 2.4 or lower, since now public in GTK 2.6.
18287
18288         * panel-applet/essid.glade: Don't specify window size.
18289         
18290 2005-02-17  Dan Williams  <dcbw@redhat.com>
18291
18292         Caught by Bill Moss:
18293         * dhcpcd/client.c
18294                 - Time remaining for DHCP transaction calculation was incorrectly
18295                         inside a #ifdef DEBUG
18296
18297 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18298
18299         * configure.in: Added fr (French) to ALL_LINGUAS.
18300
18301 2005-02-14  Dan Williams  <dcbw@redhat.com>
18302
18303         * src/NetworkManagerDHCP.c
18304                 - (set_domain_searches): Fix free of invalid pointer
18305
18306 2005-02-14  Dan Williams  <dcbw@redhat.com>
18307
18308         Patch from Peter Jones:
18309         * dhcpcd/client.c
18310                 - Ensure we return RET_DHCP_CEASED everywhere we should
18311         * dhcpcd/udpipgen.c
18312                 - Use faster TOS for IP packets
18313                 - Don't set ip_id since we're UDP
18314
18315         Patch from Tomislav Vujec:
18316         * src/nm-dbus-dhcp.c
18317           test/nm-dhcp-opt-test.c
18318                 - Clean up warnings to enable cvs tree compilation.
18319
18320 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18321
18322         * configure.in
18323           po/hr.po
18324                 - Add the Croatian locale.
18325
18326 2005-02-14  Colin Walters  <walters@verbum.org>
18327
18328         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18329         list of domains to search.
18330         
18331         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18332
18333 2005-02-13  Dan Williams  <dcbw@redhat.com>
18334
18335         * dhcpcd/client.c
18336                 - Debug output cleanups of DHCP option printing and parsing.
18337
18338 2005-02-13  Dan Williams  <dcbw@redhat.com>
18339
18340         Patch from Dan Reed:  DHCP options D-BUS API
18341                 Exposes the DHCP options that a device receives to clients over D-BUS.
18342
18343         * configure.in
18344                 - A few cleanups
18345
18346         * dhcpcd/client.h
18347                 - Correct names, option length, and types for DHCP options
18348
18349         * dhcpcd/dhcpcd.[ch]
18350                 - Clarify function names that access DHCP options & data
18351
18352         * src/NetworkManagerDHCP.c
18353                 - Use new DHCP data access functions
18354
18355         * src/NetworkManagerDbus.c
18356                 - Message handler for DHCP functions
18357
18358         * src/nm-dbus-dhcp.[ch] (new)
18359                 - DHCP dbus methods
18360
18361         * test/nm-dhcp-opt-test.c
18362                 - Test DHCP D-BUS API and return all present DHCP options
18363
18364 2005-02-12  Dan Williams  <dcbw@redhat.com>
18365
18366         * test/Makefile.am
18367           test/nmclienttest.c
18368           test/nmtest.c
18369                 - Move nmclienttest.c -> nmtest.c
18370
18371 2005-02-12  Dan Williams  <dcbw@redhat.com>
18372
18373         * dhcpcd/buildmsg.c
18374                 - Pad DHCP packets until they are at least 300 bytes in size.
18375
18376 2005-02-11  Dan Williams  <dcbw@redhat.com>
18377
18378         * dhcpcd/client.c
18379                 - (dhcp_init): only print out client ID and class ID if they are specified
18380
18381         * src/NetworkManagerDbus.[ch]
18382           src/nm-dbus-nm.[ch]
18383           src/nm-dbus-device.[ch]
18384           src/nm-dbus-net.[ch]
18385                 - Move NM, Device, and Net functions to separate files and use the
18386                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18387                         method dispatching
18388
18389         * src/NetworkManagerDbusUtils.c
18390                 - Add new validate_method called before each dispatch (if present)
18391                         that can validate the method call
18392
18393         * src/NetworkManagerWireless.c
18394                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18395                         levels never to be evaluated
18396
18397         Patch from j@bootlab.org
18398         * src/NetworkManagerDevice.c
18399                 - Add typedef for "u64"
18400
18401         * src/backends/NetworkManagerDebian.c
18402                 - Copy in Dave Woodhouse's fixes for IPv6
18403
18404 2005-02-11  Dan Williams  <dcbw@redhat.com>
18405
18406         Patch from Dave Woodhouse for IPv6:
18407         * src/NetworkManagerUtils.c
18408                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18409                         and multicast addresses
18410
18411         * src/NetworkManagerDevice.c
18412                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18413                         after bringing up a card.
18414
18415 2005-02-10  Dan Williams  <dcbw@redhat.com>
18416
18417         Patch from Dave Woodhouse:
18418         * src/NetworkManagerSystem.h
18419           src/backends/NetworkManagerDebian.c
18420           src/backends/NetworkManagerGentoo.c
18421           src/backends/NetworkManagerSlackware.c
18422                 - New nm_system_device_add_ip6_link_address() function to add link-local
18423                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18424
18425         * src/backends/NetworkManagerRedHat.c
18426                 - (nm_system_device_add_ip6_link_address): implement
18427                 - (nm_system_device_flush_addresses): revert to previous behavior of
18428                         flushing all addresses
18429
18430 2005-02-10  Dan Williams  <dcbw@redhat.com>
18431
18432         Patch from Tom Parker:
18433         * src/NetworkManagerDevice.c
18434                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18435                         mii.h headers are broken, and instead use our own typedefs
18436
18437 2005-02-10  Dan Williams  <dcbw@redhat.com>
18438
18439         * dhcpcd/buildmsg.c
18440                 - (fill_host_and_class_id): only fill in client and class IDs if
18441                         they are set by callers.
18442
18443         * dhcpcd/client.c
18444                 - (class_id_setup): don't autogenerate a class ID, only use one
18445                         we're given, if any.
18446                 - (client_id_setup): don't autogenerate a client ID, only use one
18447                         we're given, if any.
18448
18449         * dhcpcd/dhcpcd.c
18450                 - (dhcp_interface_init): ensure that client options are correctly
18451                         NULL terminated
18452
18453         * src/NetworkManagerDHCP.c
18454                 - (nm_device_dhcp_request): pass hostname to dhcp library
18455
18456 2005-02-10  Dan Williams  <dcbw@redhat.com>
18457
18458         * dhcpcd/client.c
18459                 - #rh147661# Don't send kernel version in DHCP requests
18460
18461         * src/NetworkManagerSystem.h
18462           src/backends/NetworkManagerDebian.c
18463           src/backends/NetworkManagerGentoo.c
18464           src/backends/NetworkManagerRedHat.c
18465           src/backends/NetworkManagerSlackware.c
18466                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18467                         functions, they are no longer used anyway
18468
18469         * src/backends/NetworkManagerRedHat.c
18470                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18471                         addresses in an attempt to keep IPv6 local-scope addresses around
18472
18473 2005-02-10  Dan Williams  <dcbw@redhat.com>
18474
18475         * src/NetworkManager.c
18476                 - (nm_create_device_and_add_to_list): change the add message slightly
18477
18478         * src/NetworkManagerUtils.c
18479                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18480                         Return driver name to calling function
18481                 - (nm_get_driver_support_level): print out the driver a device is using
18482                         during the support check
18483
18484         Patch from Dave Woodhouse:
18485         * dhcpcd/udpipgen.c
18486                 - (in_cksum): copy last byte of odd-sized packets into a
18487                         'u_short' rather than a 'u_char', should fix wrong checksums
18488                         on big-endian platforms
18489
18490 2005-02-09  Dan Williams  <dcbw@redhat.com>
18491
18492         * Clean up usage of GSList objects and looping through their members
18493         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18494                 now.
18495         * Fix problem where even if scanning was turned off, card would still
18496                 cycle through frequencies.
18497
18498 2005-02-08  Dan Williams  <dcbw@redhat.com>
18499
18500         * panel-applet/NMWirelessApplet.c
18501                 - Fix for gtk 2.4
18502
18503 2005-02-08  Dan Williams  <dcbw@redhat.com>
18504
18505         Patch from Bill Moss
18506         * panel-applet/NMWirelessApplet.c
18507                 - Restore correct ESSID in tooltips
18508
18509 2005-02-07  Dan Williams  <dcbw@redhat.com>
18510
18511         * panel-applet/NMWirelessApplet.[ch]
18512                 - Add a context menu that contains:
18513                         Pause/Resume Wireless Scanning
18514                         Stop/Start All Wireless Devices
18515                         About...
18516                 - Grab active device strength off active device,
18517                         not its network
18518
18519         * panel-applet/NMWirelessAppletDbus.[ch]
18520                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18521                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18522                 - Update active device strength every 2 seconds, not every 1 second
18523
18524         * panel-applet/menu-info.c
18525                 - Only disable wired devices in the menu when they support carrier detection,
18526                         and don't currently have a link.  Non-carrier-detect devices will always
18527                         remain choosable
18528
18529         * src/Makefile.am
18530           src/NetworkManagerDbusUtils.[ch]
18531                 - Add new new dbus utils sources
18532
18533         * src/NetworkManager.c
18534                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18535                         with the boolean parameter
18536                 - Set scanning_enabled & wireless_enabled to TRUE
18537
18538         * src/NetworkManagerDbus.c
18539                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18540                 - Implement scanning & wireless enable/disable calls
18541                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18542
18543         * src/NetworkManagerDevice.c
18544                 - New link detection stuff again...
18545                         o  Create device's mainloop earlier (but don't run it earlier)
18546                         o  Hook up new carrier-detect support stuff
18547                         o  Add in the ethtool & mii support detection code
18548                 - Don't scan if scanning is disabled
18549
18550         * src/NetworkManagerPolicy.c
18551                 - Never automatically choose a device that doesn't support carrier detection
18552                 - Don't automatically choose a wireless device if wireless is disabled
18553
18554 2005-02-07  Dan Williams  <dcbw@redhat.com>
18555
18556         * libnm_glib/libnm_glib.c
18557                 - Small cleanup in element list iteration
18558
18559 2005-02-07  Dan Williams  <dcbw@redhat.com>
18560
18561         * src/NetworkManagerWireless.c
18562                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18563                         to be in line with the WEXT quality specification
18564
18565 2005-02-02  Dan Williams  <dcbw@redhat.com>
18566
18567         Patch from Nathan Fredrickson <nathan@silverorange.com>
18568         * Fix up compile for deprecation of libgnomeui
18569                 - Switch to <glib/gi18n.h> from <libintl.h>
18570                 - Remove <libgnomeui/libgnomeui.h> includes
18571                 - Use gtk_window_set_default_icon_from_file() rather than
18572                         gnome_window_set_default_icon_from_file()
18573
18574         * named/nm-named-manager.c
18575                 - (generate_named_conf): Fix return-nothing in non-void
18576                         function
18577
18578 2005-02-02  Dan Williams  <dcbw@redhat.com>
18579
18580         * Clean up unused variables and the like
18581
18582 2005-02-02  Dan Williams  <dcbw@redhat.com>
18583
18584         * src/NetworkManagerAPList.c
18585                 - (nm_ap_list_merge_scanned_ap): merge strength too
18586
18587         * src/NetworkManagerUtils.c
18588                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18589                         of locking issues by printing out prettier information than g_mutex_lock
18590                 - Print out names of mutexes registered with nm_register_mutex_desc()
18591                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18592                         us to seemingly block here for too long
18593
18594         * src/NetworkManager.c
18595           src/NetworkManagerAPList.c
18596           src/NetworkManagerDevice.c
18597                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18598                         so we get better debug information printed
18599
18600         * src/NetworkManagerDbus.c
18601                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18602                         since it sometimes has locking side effects
18603                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18604                         from 10s
18605                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18606                         we don't need a switch.  This gets called often enough that we can't block
18607                         until the scan mutex is acquired, because we'll block on device activation
18608                         and a few other things, which hangs main thread for too long.
18609
18610         * src/NetworkManagerPolicy.c
18611                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18612                         nm_device_need_ap_switch() will be called               
18613
18614 2005-02-02  Dan Williams  <dcbw@redhat.com>
18615
18616         * panel-applet/NMWirelessApplet.c
18617                 - Display name of wireless network we are connecting to or connected to
18618                         in the tooltip of the applet
18619
18620 2005-02-02  Dan Williams  <dcbw@redhat.com>
18621
18622         * src/NetworkManagerDHCP.c
18623                 - Hopefully fix double-default-route problem by cleaning up the default
18624                         route added by DHCP code right before the DHCP transaction begins
18625
18626 2005-02-02  Dan Williams  <dcbw@redhat.com>
18627
18628         * named/nm-named-manager.c
18629                 - Write out valid resolv.conf when we exit
18630
18631 2005-02-01  Dan Williams  <dcbw@redhat.com>
18632
18633         Patch from Colin Walters:
18634         * named/nm-named-manager.c
18635                 - Make multi-domain search options work
18636
18637 2005-01-31  Dan Williams  <dcbw@redhat.com>
18638
18639         * info-daemon/NetworkManagerInfoDbus.c
18640                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18641
18642         * src/NetworkManagerDevice.c
18643                 - (nm_device_new): Don't store the entire range struct, use only what we need
18644                         (which is currently avg_quality, max_quality, and frequencies).  Also
18645                         zero device structure when we've free'd it to maybe expose errors down
18646                         the line.
18647                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18648                         quality data from the card since quality will be useless during a scan.
18649                         Call updated wireless qual-to-percent function with values stored in
18650                         nm_device_new() earlier.
18651                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18652                         nm_device_get_bad_crypt_packets())
18653                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18654                         nm_device_new()
18655                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18656                         list if available.  Problem was this: when the WEP key is wrong, NM will
18657                         try OS then SK modes, and then get stuck in SK mode after that.  This
18658                         should reset it.
18659                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18660                         function
18661
18662         * src/NetworkManagerWireless.c
18663                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18664                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18665                         if that's all present, otherwise fall back to signal-to-noise ratios.
18666
18667 2005-01-29  Dan Williams  <dcbw@redhat.com>
18668
18669         * initscript/RedHat/NetworkManager
18670                 - Don't spit out sysctl stuff to console
18671
18672         * libnm_glib/libnm_glib.c
18673                 - (libnm_glib_init): call dbus_g_thread_init()
18674
18675         * panel-applet/NMWirelessAppletDbus.c
18676                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18677
18678         * src/NetworkManager.c
18679                 - (main): call dbus_g_thread_init()
18680
18681         * src/NetworkManagerAPList.c
18682                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18683                         so we can actually see what's there in a normal syslog
18684
18685         * src/NetworkManagerDevice.c
18686                 - (nm_device_activate_wireless): print out the "waiting for access point"
18687                         message only once, then say what access point we actually got after
18688                         the wait.
18689                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18690                         function, wait until the scan is done.  Scans may change the ESSID of
18691                         the card, making this function think we need to switch access points
18692                 - (nm_device_wireless_process_scan_results): for artificial access points
18693                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18694                         prevents collisions with the scanning code, which may change the card's
18695                         ESSID and cause the access point to get dropped from the device's AP
18696                         list.  Also increase the keep-around time to 2m from 60s since the max
18697                         scan interval could be 60s in some cases.
18698
18699         * src/NetworkManagerPolicy.c
18700                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18701                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18702                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18703                         between NM and NMI.
18704
18705 2005-01-27  Dan Williams  <dcbw@redhat.com>
18706
18707         * info-daemon/NetworkManagerInfoDbus.c
18708                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18709                         GConf, make a minimal entry for it (essid & timestamp)
18710
18711         * src/NetworkManagerAPList.c
18712                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18713                         NetworkManagerInfo isn't running
18714
18715         * src/NetworkManagerDbus.[ch]
18716                 - (nm_dbus_nmi_is_running): new function
18717
18718         * src/NetworkManagerDevice.c
18719                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18720                         address to garbage.
18721
18722         * src/NetworkManagerPolicy.c
18723                 - (nm_policy_activation_finish): On successful activation, make sure
18724                         the "best" AP has a MAC address, and don't tell NMI to add the
18725                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18726                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18727                         access point after refreshing our allowed list if it doesn't already
18728                         have a "best" access point.
18729
18730 2005-01-25  Dan Williams  <dcbw@redhat.com>
18731
18732         * panel-applet/NMWirelessAppletDbus.c
18733                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18734                         so we check for NM_DBUS_SERVICE rather than not for it
18735
18736         * libnm_glib/libnm_glib.c
18737                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18738                         ServiceOwnerChanged signal
18739
18740 2005-01-25  Dan Williams  <dcbw@redhat.com>
18741
18742         * configure.in
18743                 - Check DBUS version in configure, and set the C macros
18744                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18745
18746         * info-daemon/NetworkManagerInfoDbus.c
18747                 - Remove #if 0-d section of code that quit NMI if NM went away.
18748
18749         * panel-applet/NMWirelessAppletDbus.c
18750                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18751
18752         * src/NetworkManager.c
18753           src/NetworkManagerMain.h
18754           src/NetworkManagerDbus.c
18755                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18756                 - Make updating of our Allowed Wireless Network lists from NMI
18757                         an idle function in the main thread now, with a high priority.
18758
18759 2005-01-24  Dan Williams  <dcbw@redhat.com>
18760
18761         * panel-applet/gtkcellview.[ch]
18762           panel-applet/menu-info.c
18763                 - Fix GTK version checks to be <= rather than <
18764
18765         * test/Makefile.am
18766                 - Include the libtool archive of libnm_glib rather than
18767                         trying to pull in the .so
18768
18769 2005-01-24  Dan Williams  <dcbw@redhat.com>
18770
18771         * src/NetworkManagerDevice.c
18772           src/NetworkManagerDevicePrivate.h
18773                 - Block nm_device_new() until our device's worker thread has had a
18774                         chance to start up.  Fixes a race between main thread and worker
18775                         thread starting that caused activation requests to get lost.
18776
18777 2005-01-24  Dan Williams  <dcbw@redhat.com>
18778
18779         * initscript/RedHat/NetworkManager
18780                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18781                         to add the NM startup script at priority 50, which was
18782                         way too early
18783
18784 2005-01-24  Colin Walters  <walters@redhat.com>
18785
18786         * named/named.conf: Use any port for query source instead of
18787         restricting to port 53.
18788
18789 2005-01-24  Dan Williams  <dcbw@redhat.com>
18790
18791         * initscript/RedHat/NetworkManager
18792                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18793                         to add the NM startup script at priority 50, which was
18794                         way too early
18795
18796 2005-01-24  Dan Williams  <dcbw@redhat.com>
18797
18798         Patch from Tom Parker <palfrey@tevp.net>
18799         * Fix up compile warnings & errors in the wireless applet
18800
18801 2005-01-24  Dan Williams  <dcbw@redhat.com>
18802
18803         * panel-applet/NMWirelessApplet.c
18804                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18805
18806 2005-01-24  Dan Williams  <dcbw@redhat.com>
18807
18808         * panel-applet/gtkcellview.[ch]
18809                 - Only compile these files for GTK 2.4 or lower, since 
18810                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18811                         when choosing "Other Wireless Networks" from the panel
18812                         applet menu
18813
18814 2005-01-21  Dan Williams  <dcbw@redhat.com>
18815
18816         * src/NetworkManager.c
18817                 - Daemonize earlier so that glib doesn't get confused (?)
18818
18819 2005-01-21  Dan Williams  <dcbw@redhat.com>
18820
18821         * panel-applet/NMWirelessApplet.[ch]
18822           panel-applet/NMWirelessAppletDbus.c
18823           panel-applet/menu-info.c
18824           src/NetworkManagerDevice.c
18825                 - Disable wired devices in the menu when they have no link.
18826
18827 2005-01-21  Dan Williams  <dcbw@redhat.com>
18828
18829         * Cache last-known-good wireless authentication method in
18830                 NetworkManagerInfo, and use that method first during
18831                 wireless device activation.  Should speed up devices that
18832                 need Shared Key authentication method since Open System is
18833                 now the default.
18834
18835         * Remove the hack to not do full activation on wired connections
18836                 that are active when we launch, it causes too many problems
18837                 with name resolution and was a hack in the first place.
18838
18839         * Re-work wireless device activation again somewhat to have a
18840                 clearer chain of events and to use last-known-good
18841                 authentication method of the access point.  Also provide
18842                 better status throughout activation to ensure the applet
18843                 can tell the user exactly what's going on.
18844
18845         * Remove the "find wireless network" code and now simply attempt
18846                 to activate with that access point.  This reduces the delay
18847                 between selecting "Other wireless Network" and actually
18848                 connecting to that network.
18849
18850         * Correctly stop the device's worker thread when its removed.
18851
18852 2005-01-21  Dan Williams  <dcbw@redhat.com>
18853
18854         * dhcpcd/client.c
18855                 - Clean up some of the debug messages
18856
18857 2005-01-21  Dan Williams  <dcbw@redhat.com>
18858
18859         * Add new icons, more frames of animation
18860         * Remove some hacks to get the panel applet to display correct
18861                 status, an NM update will soon follow that will fix the
18862                 real issue.
18863
18864 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18865
18866         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18867         the first include for working i18n. Also, don't include it in .h files
18868         * panel-applet/NMWirelessApplet.h: Same
18869         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18870         * panel-applet/menu-info.c: Same
18871
18872 2005-01-18  Dan Williams <dcbw@redhat.com>
18873
18874         * dhcpcd/client.c
18875                 - Remove some debug messages
18876                 - Wrap others in #ifdef DEBUG/#endif
18877
18878         * src/NetworkManager.c
18879                 - Remove some debug messages
18880                 - Clarify some debug messages
18881                 - Remove code related to old single-thread wireless scanning
18882
18883         * src/NetworkManagerAP.[ch]
18884                 - New AP property "last_seen" to track how recently an AP was
18885                         found in a scan
18886                 - Start using 'const' more in function arguments
18887
18888         * src/NetworkManagerAPList.[ch]
18889                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18890                         of an AP found in an AP list from a source AP, or if not found
18891                         in the list add the source AP
18892                 - (nm_ap_list_combine): remove, no longer needed
18893
18894         * src/NetworkManagerDevice.c
18895                 - Each device now has a "worker" thread from start to end of its life.
18896                         Scanning for wireless devices now happens in that thread,
18897                         not in a single "wireless scanning thread" for all devices as
18898                         previously.  Activation consists of adding an idle handler to the
18899                         thread's main loop/context, which gets run at the next available
18900                         opportunity.
18901                 - Wireless scanning is also simplified, there is now only one list of
18902                         access points per wireless device, and APs older than 60s are
18903                         removed from the list.  Previously, we kept results for the last
18904                         3 scans and merged whole lists, which was complicated.
18905                 - Cleaned up activation debug messages.
18906                 - Wireless activation and access-point search routines now use Open System
18907                         authentication before trying Shared Key.
18908                 - Removed some code in nm_device_update_best_ap() that could cause cards
18909                         to loose their link to the access point.
18910                 - Scanning now uses a backoff algorithm, where the inverval becomes
18911                         progressively longer between scans when the list of scanned access
18912                         points doesn't change.  A change will revert to the shortest scan
18913                         interval (20s).
18914
18915         * src/NetworkManagerWireless.[ch]
18916                 - Remove code related to old single-thread wireless scanning
18917
18918 2005-01-18  Colin Walters  <walters@redhat.com>
18919
18920         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18921         of older nameservers.
18922
18923 2005-01-18  Colin Walters  <walters@redhat.com>
18924
18925         * named/nm-named-manager.c (generate_named_conf): Many fixes
18926         to config file generation.
18927         (safer_kill): Remove, was too much trouble for little gain.
18928         (nm_named_manager_start): Run named as NM_NAMED_USER.
18929
18930         * configure.in: Add option --with-named-user.
18931
18932 2005-01-14  Colin Walters  <walters@redhat.com>
18933
18934         Patch from ed@catmur.co.uk (Ed Catmur)
18935
18936         * named/nm-named-manager.c: Add "context" property.
18937         Use it to add child watch source in specific GMainContext.
18938
18939         * src/NetworkManager.c (nm_data_new): Initialize
18940         named with correct main context.  Start named only
18941         after forking.
18942
18943 2005-01-14  Colin Walters  <walters@redhat.com>
18944
18945         * named/nm-named-manager.c (generate_named_conf): Write config
18946         and pid files into NM_NAMED_DATA_DIR; this allows things to
18947         work better with FC3 named SELinux policy.  Also fix up silly
18948         format error.
18949
18950         * configure.in: Add --with-named-dir option.
18951
18952 2005-01-14  Colin Walters  <walters@redhat.com>
18953
18954         * configure.in: Make named support require passing --with-named.
18955
18956         * named/nm-named-manager.c: Support writing resolv.conf directly
18957         without running named.
18958
18959 2005-01-13  Dan Williams <dcbw@redhat.com>
18960
18961         * named/nm-named-manager.c
18962                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18963
18964         * src/NetworkManagerDevice.c
18965                 - Rework wireless link detection code to be more reliable
18966
18967 2005-01-12  Dan Williams <dcbw@redhat.com>
18968
18969         * initscripts/RedHat/NetworkManager
18970                 - Change initial level to "-" rather than "345" so that
18971                         we don't activate ourselves by default on install
18972
18973 2005-01-12  Dan Williams <dcbw@redhat.com>
18974
18975         * libnm_glib/
18976                 - Client library for applications using glib
18977
18978         * configure.in
18979           various Makefiles
18980                 - Split NM_CFLAGS and NM_LIBS into separate variables
18981                         like DBUS_*, HAL_* and GLIB_*
18982
18983         * src/NetworkManager.c
18984           src/NetworkManagerMain.h
18985                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18986                         broadcast a status changed signal over DBUS from the main thread.
18987                         Still unused anywhere for the moment.
18988
18989         Patch from j@bootlab.org
18990         * panel_applet/NMWirelessAppletDbus.c
18991           src/NetworkManagerDbus.c
18992                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18993                         for the "getMode" method call
18994
18995 2005-01-10  Dan Williams <dcbw@redhat.com>
18996
18997         * src/NetworkManagerDevice.c
18998                 - Minor fixups & corrections to "auto" frequency mode, make it
18999                         less chatty with syslog
19000
19001 2005-01-10  Dan Williams <dcbw@redhat.com>
19002
19003         * src/NetworkManagerDevice.c
19004                 - Implement "auto" frequency/channel support, since cards like Atheros
19005                         can't use other frequencies at all when you've told it to use a
19006                         specific one, even for scanning.
19007                 - Grab the scan mutex around places where we can't tolerate wireless
19008                         settings changing underneath us, like nm_device_wireless_network_exists()
19009                         and nm_device_activate_wireless()
19010
19011         * src/NetworkManagerWireless.c
19012                 - Back scan interval off to 20s instead of 14s
19013
19014 2005-01-09  Dan Williams <dcbw@redhat.com>
19015
19016         * src/NetworkManagerDevice.c
19017                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19018                         already set.  Stops some drivers like Atmel from continually
19019                         reloading the firmware, which they do upon every configuration
19020                         change.
19021
19022 2005-01-09  Dan Williams <dcbw@redhat.com>
19023
19024         * dhcpcd/client.c
19025                 - Use correct timeout value
19026
19027         * info-daemon/NetworkManagerInfoDbus.c
19028           src/NetworkManagerDbus.c
19029                 - Consolidate communication between NM and NMI by doing only 1 dbus
19030                         method call to get Wireless Network info from NMI instead of 6
19031
19032         * src/NetworkManager.c
19033                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19034                         when we didn't have an AP to use, we'd wait for one forever without
19035                         quitting
19036
19037         * src/NetworkManagerDevice.c
19038                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19039                         activation, dhcp might not have started yet but we don't quit activation
19040                         before starting it, so the quit signal gets lost
19041
19042 2005-01-07  Dan Williams <dcbw@redhat.com>
19043
19044         * dhcpcd/client.c
19045                 - Rework the DHCP client code to be much less chatty when
19046                         it receives non-DHCP UDP packets during the DHCP run
19047                         (reported by and preliminary patches from Bill Moss)
19048
19049         * Move wireless scanning to a separate thread.  This thread forwards the
19050                 results to the main thread when done where they are integrated into
19051                 the device's access point lists.  This keeps the main thread (which
19052                 does all the DBUS communication) from being blocked for long periods
19053                 of time by wireless scanning.
19054
19055         * Make state modification an idle routine in the main loop, and trigger
19056                 state changes rather than polling for them.
19057
19058         * src/backends/NetworkManagerGentoo.c
19059                 - Fix up invalid C90 code (reported by Christoph Ruessler)
19060
19061         * src/NetworkManagerDevice.c
19062                 - Revert IPv6 patch for wired devices from 2004-12-22 for
19063                         router advertisements, causing problems and infinite loop
19064                         during "best" device determination due to link going up/down
19065                         (reported by Bill Moss)
19066
19067         Apply patch from Peter Jones
19068         * src/NetworkManagerDevice.c
19069                 - Shortcut for link-checking for ipw2x00 cards
19070                 - Split out association check into separate routine
19071
19072 2004-01-05  Colin Walters  <walters@redhat.com>
19073
19074         * named/named.conf: Add PID_FILE.
19075
19076         * named/nm-named-manager.c: Always generate a pid
19077         file, since older BIND versions don't support
19078         "pid-file none".
19079
19080 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
19081
19082         * configure.in (ALL_LINGUAS): Added ja (Japanese).
19083
19084 2004-12-22  Dan Williams <dcbw@redhat.com>
19085
19086         * src/NetworkManagerDevice.c
19087                 - Silently fail when setting bitrate doesn't work
19088
19089
19090         Patches from j@bootlab.org:
19091         * src/backends/NetworkManagerDebian
19092                 - Update backend to match functionality in RedHat backend
19093         * src/NetworkManagerDevice.c
19094                 - Take down then bring up wired devices after connection so
19095                 they send out ipv6 router advertisements
19096
19097 2004-12-21  Colin Walters  <walters@verbum.org>
19098
19099         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19100         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19101
19102 2004-12-21  Colin Walters  <walters@redhat.com>
19103
19104         * configure.in: Correct named detection.
19105
19106 2004-12-21  Colin Walters  <walters@redhat.com>
19107
19108         * src/NetworkManager.c (nm_data_new): Initialize named.
19109         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19110         the mainloop when these signals are received.
19111         (nm_data_free): Unref named.
19112         (sigterm_handler, sigterm_pipe_handler): New functions for
19113         exiting mainloop.
19114         
19115         * src/NetworkManagerMain.h (NMData): Add signal handling and
19116         nameserver bits.
19117
19118         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19119         unref.
19120
19121         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19122         set nameservers from DHCP response data.
19123         (set_domain_search): Set domain search from DHCP response.
19124         (nm_device_dhcp_configure): Invoke them.
19125
19126         * src/NetworkManagerSystem.c
19127         (nm_system_device_update_resolv_conf): Delete.  Deleting
19128         code is totally sweet.
19129
19130         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19131
19132         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19133         implements an object which controls a nameserver.  Currently
19134         uses bind 9.
19135
19136         * configure.in: Check for named.
19137
19138         * Makefile.am (SUBDIRS): Add named dir.
19139
19140         * named/named.conf: New template config file.
19141
19142 2004-12-20  Colin Walters  <walters@redhat.com>
19143
19144         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19145         instead of '='.
19146
19147 2004-12-17  Dan Williams  <dcbw@redhat.com>
19148
19149         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19150                 link-local addresses instead of doing DHCP.
19151
19152         * In the panel applet, there's a new "Create new Wireless Network..." item
19153
19154         * The panel applet also sticks around now even if NetworkManager dies, but
19155                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19156                 a bug, I'll fix that later.
19157
19158         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19159                 lookups after a switch rather than actually doing them.
19160
19161         * Clean up some of those warnings in nm_ap_list_* functions
19162
19163         * Delay between scans changed to 15s instead of 10s
19164
19165 2004-12-15  Dan Williams  <dcbw@redhat.com>
19166
19167         Patch from Tom Parker
19168         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19169                 address
19170
19171         * Longer pause after setting ESSID on cards that support a larger number
19172                 of channels to give the card time to find the right channel
19173
19174         * Add system hook to restart mDNSResponder (or whatever the local implementation
19175                 of Multicast DNS is) when we activate interfaces
19176
19177 2004-12-15  Dan Williams  <dcbw@redhat.com>
19178
19179         * Rework the DHCP code again to revert to sending full ethernet frames
19180                 rather then relying on the kernel to do the right thing with our
19181                 packets.
19182
19183 2004-12-06  Dan Williams  <dcbw@redhat.com>
19184
19185         * dhcpcd/client.c
19186                 - Fix some minor errors in dhcp_handle_transaction() that caused
19187                         unexpected early timeouts of DHCP transactions
19188
19189         * dhcpcd/client.h
19190                 - DHCP retransmit time from 4s -> 5s
19191
19192 2004-12-05  Dan Williams  <dcbw@redhat.com>
19193
19194         * Major rework of the DHCP code, taking some cues from pump.  We don't
19195                 write raw Ethernet packets anymore, which simplifies the code quite
19196                 a bit.  The new code should be more robust, not hang in recvfrom()
19197                 as much, and generally work better.  This also means that we need
19198                 to force HAL/dbus to use a created GMainContext rather than the
19199                 default context, since having the DHCP renew/rebind thread using
19200                 its own GMainContext seemed to give dbus a fit.  There is also more
19201                 debugging information printed from the DHCP loop to help with future
19202                 problems.
19203
19204         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19205                 assume that the default gateway should be the DHCP server.
19206
19207         Patch from Matthew Schick <matt oss-institute org>
19208         * src/backends/NetworkManagerGentoo.c
19209                 - Fix compilation error due to missing "ip4_broadcast"
19210
19211 2004-12-03  Dan Williams  <dcbw@redhat.com>
19212
19213         * initscript/Makefile.am
19214         * initscript/Debian/NetworkManager
19215         * initscript/Gentoo/NetworkManager
19216         * initscript/RedHat/NetworkManager
19217         * initscript/NMLaunchHelper.c
19218                 - Remove NMLaunchHelper, if you need to wait until the network
19219                         comes up, use the dead code from CVS.
19220
19221 2004-12-01  Colin Walters  <walters@redhat.com>
19222         
19223         * configure.in: Suck in gcc warnings code from Rhythmbox,
19224         but use fewer default flags, and in particular add -Wno-unused,
19225         since the codebase has a lot of unused variables.
19226
19227         * test/nmtestdevices.c (create_device): 
19228         * test/nminfotest.c (get_network_string_property) 
19229         (get_networks_of_type): 
19230         * test/nmclienttest.c (main): 
19231         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19232         * initscript/NMLaunchHelper.c (get_nm_status): 
19233         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19234         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19235         Fix declarations after statements.
19236
19237 2004-12-01  Colin Walters  <walters@redhat.com>
19238
19239         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19240         (nmi_dbus_get_vpn_userpass): New method.
19241         (nmi_dbus_nmi_message_handler): Invoke it.
19242
19243         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19244
19245         * info-daemon/NetworkManagerInfoVPN.h,
19246         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19247         to requests for VPN passwords.
19248
19249         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19250
19251 2004-12-01  Colin Walters  <walters@redhat.com>
19252
19253         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19254         includes.
19255
19256 2004-12-01  Colin Walters  <walters@redhat.com>
19257
19258         * panel-applet/NMWirelessAppletDbus.c
19259         (nmwa_dbus_update_active_device_strength): Fix missing
19260         return value.
19261
19262 2004-12-01  Colin Walters  <walters@redhat.com>
19263
19264         * panel-applet/NMWirelessApplet.c: Add missing include.
19265
19266 2004-12-01  Colin Walters  <walters@redhat.com>
19267
19268         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19269         Remove useless CLAMP (); the value is unsigned, and the case tests
19270         qual->qual < 100, so the value must always be between 0 and 100.
19271
19272 2004-12-01  Colin Walters  <walters@redhat.com>
19273
19274         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19275
19276 2004-11-22  Colin Walters  <walters@verbum.org>
19277
19278         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19279         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19280         which is essentially a noop since nscd caches hosts on disk too.
19281         
19282 2004-11-22  Colin Walters  <walters@redhat.com>
19283
19284         * src/Makefile.am (NetworkManager_SOURCES): Add
19285         NetworkManagerDevicePrivate.h.
19286
19287 2004-11-22  Dan Williams <dcbw@redhat.com>
19288
19289         * src/NetworkManagerDevicePrivate.h
19290                 - Split out the NMDevice struct to a different file so that stuff like
19291                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19292
19293         * dhcpcd/client.c
19294                 - fprintf->syslog
19295                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19296                         need to cancel the dhcp request during the send and recv
19297
19298         * dhcpcd/client.h
19299                 - Move the DHCP option enum to dhcpcd.h
19300
19301         * src/NetworkManagerDHCP.c
19302                 - Split out the actual IP/netmask/etc setting code
19303                 - New Renew/Rebind functions
19304                 - New timer setup function for renew/rebind operations
19305
19306         * src/NetworkManagerDevice.c
19307                 - For device activation, if we are using DHCP then keep the activation thread
19308                         alive until device deactivation.  We need to renew/rebind the DHCP address
19309                         after the T1 (renew) and T2 (rebind) times have expired.
19310                 - Increase some timeouts after bringing wireless cards up/down
19311
19312 2004-11-17  Dan Williams <dcbw@redhat.com>
19313
19314         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19315                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19316                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19317                 show known access points that don't broadcast their ESSID in the menus without
19318                 any user intervention whatsoever.
19319
19320         * info-daemon/NetworkManagerInfoDbus.c
19321                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19322                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19323
19324         * src/NetworkManagerAP.[ch]
19325                 - Add a "user_addresses" data member to the NMAccessPoint structure
19326                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19327                         the user_addresses data member
19328
19329         * src/NetworkManagerAPList.c
19330                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19331                         the AP's reported address
19332                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19333
19334         * src/NetworkManagerDHCP.c
19335                 - Increase DHCP timeout from 25s -> 30s
19336
19337         * src/NetworkManagerDbus.[ch]
19338                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19339                         user addresses
19340
19341         * src/NetworkManagerDevice.c
19342                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19343                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19344                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19345                         So, we take the card down to clear it out.
19346                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19347                         too, since that's where the user_addresses are
19348
19349         * src/NetworkManagerPolicy.c
19350                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19351                         that wireless networks' user_addresses list upon successful activation
19352
19353 2004-11-16  Dan Williams <dcbw@redhat.com>
19354
19355         * src/NetworkManagerDevice.[ch]
19356                 - (nm_device_clear_activation_fail): new function
19357
19358         * src/NetworkManagerPolicy.c
19359                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19360                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19361
19362 2004-11-16  Dan Williams <dcbw@redhat.com>
19363
19364         * src/NetworkManagerDevice.c
19365                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19366                         leak the structure, better updating of now_scanning status
19367                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19368
19369 2004-11-15  Dan Williams <dcbw@redhat.com>
19370
19371         Major rework of link detection code.  We now use DHCP
19372         as part of the link detection which proves to be much more robust,
19373         and also supports Open System authentication for wireless networks.
19374
19375         We no longer use external DHCP client programs.  Instead, we use 
19376         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19377         which was written by:
19378                 Yoichi Hariguchi <yoichi@fore.com>
19379                 Sergei Viznyuk <sv@phystech.com>
19380                 http://www.phystech.com/download/
19381         It resides in the "dhcpcd" directory and was refactored into a general
19382         purpose DHCP client library by me.
19383
19384         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19385         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19386
19387 2004-11-15  Dan Williams <dcbw@redhat.com>
19388
19389         Patch from Tom Parker <palfrey@tevp.net>:
19390
19391         * src/NetworkManagerDevice.c
19392                 - Less output to console when no access
19393                         points are found during a scan
19394
19395 2004-11-15  Dan Williams <dcbw@redhat.com>
19396
19397         Patch from Tom Parker <palfrey@tevp.net>:
19398
19399         * src/backends/interface_parser.c
19400                 - Use g_strdup ()
19401                 - Check for inp == NULL
19402                 - use syslog ()
19403
19404 2004-11-13  Colin Walters  <walters@redhat.com>
19405
19406         Patch from Tom Parker <palfrey@tevp.net>:
19407
19408         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19409         
19410         * src/backends/NetworkManagerRedHat.c: Switch to
19411         including shvar.h instead of shvar.c.
19412
19413         * src/backends/NetworkManagerDebian.c: Don't include
19414         interface_parser.c in source file.
19415
19416         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19417         and interface_parser.[ch].
19418         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19419         Include shvar.c and shvar.h here.
19420         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19421         interface_parser.c and interface_parser.h here.
19422
19423 2004-11-12  Colin Walters  <walters@redhat.com>
19424
19425         * configure.in: Strip out TARGET_DISTRO and
19426         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19427         conditionals.
19428
19429         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19430         (libnmbackend_la_SOURCES): Use Automake conditionals
19431         to add distro-specific files.
19432
19433         * initscript/Makefile.am (SUBDIRS): Update to
19434         use conditionals.
19435
19436 2004-11-12  Colin Walters  <walters@redhat.com>
19437
19438         Patches from j bootlab org
19439
19440         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19441         Add interface_parser.[ch].
19442
19443         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19444         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19445
19446 2004-11-12  Colin Walters  <walters@redhat.com>
19447
19448         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19449         call to nmi_dbus_is_running too, not necessary anymore.
19450         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19451         pick up exit().
19452
19453 2004-11-11  Colin Walters  <walters@verbum.org>
19454
19455         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19456         Delete.
19457         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19458         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19459         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19460         This avoids a race condition that made it pretty easily
19461         possible to get two NetworkManagerInfo daemons running.
19462
19463 2004-11-11  Colin Walters  <walters@verbum.org>
19464         
19465         * src/NetworkManager.c (main): Use daemon(3).
19466
19467         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19468
19469         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19470
19471 2004-11-10 Dan Williams <dcbw@redhat.com>
19472
19473         Patches from j bootlab org
19474         * src/NetworkManagerDevice.c
19475                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19476                         whether the card has a link or not, some cards are slow
19477                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19478
19479         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19480                 - Disable the "Login" button on the passphrase dialog until the user
19481                         enters a valid passphrase or key
19482
19483         Patches from Tom Parker <palfrey tevp net>
19484         * src/backends/NetworkManagerDebian.c
19485                 - Add static IP support to the debian backend
19486
19487         * src/backends/interface_parser.[ch]
19488                 - Parse debian interface config files
19489
19490 2004-11-08 Dan Williams <dcbw@redhat.com>
19491
19492         * src/NetworkManagerDevice.c
19493                 - Some random fprintf->syslog conversions
19494                 - (nm_device_wireless_network_exists): double-check for network
19495                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19496
19497         * src/NetworkManagerWireless.[ch]
19498                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19499                         so that the binary->ascii conversion works (if unsigned, the bitshift
19500                         will fill with zeros, which is what's required).  Also mask bitshift
19501                         result with 0xF for futher assurance.
19502
19503 2004-11-06 Dan Williams <dcbw@redhat.com>
19504
19505         * src/NetworkManagerUtils.c
19506                 - (nm_get_wireless_driver_support_level): default to
19507                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19508                         flip this when changing from whitelist->blacklist of
19509                         wireless drivers
19510
19511 2004-11-05 Dan Williams <dcbw@redhat.com>
19512
19513         Patch from Robert Paskowitz:
19514         * src/backends/NetworkManagerGentoo.c
19515                 - Update static IP config code
19516
19517 2004-11-05 Dan Williams <dcbw@redhat.com>
19518
19519         * info-daemon/NetworkManagerInfoDbus.c
19520           src/NetworkManagerDbus.[ch]
19521           src/NetworkManagerDevice.c
19522                 - Keep track of the # of attempts to get the WEP key
19523                         from the user and pass that along to the info daemon
19524
19525 2004-11-05 Dan Williams <dcbw@redhat.com>
19526
19527         * src/NetworkManagerUtils.c
19528                 - Blacklist wireless cards rather than whitelisting them.
19529                 - Grab driver name from HAL rather than trying to find it
19530                         ourselves.
19531
19532 2004-11-03 Dan Williams <dcbw@redhat.com>
19533
19534         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19535                 - Disable OK button until valid data is entered
19536                         for encryption stuff too
19537
19538         * panel-applet/NMWirelessApplet.c
19539                 - Report card strength for current AP if the card
19540                         doesn't report strength data for scanned access
19541                         points
19542
19543         * src/NetworkManagerDevice.c
19544                 - Smooth out cards reported quality, Atmel card was
19545                         intermittently reporting no quality data but soon
19546                         recovers
19547
19548         * src/NetworkManagerWireless.c
19549                 - Better quality data percentage calculation.  Atmel
19550                         cards (mine at least) seem to report the quality
19551                         in percentage format already, so honor that
19552
19553         Patch from <j@bootlab.org>
19554         * NetworkManager.h
19555           info-daemon/NetworkManagerInfoPassphraseDialog.c
19556           info-daemon/passphrase.glade
19557           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19558           panel-applet/essid.glade
19559           src/NetworkManagerAP.c
19560           src/NetworkManagerDevice.c
19561           src/NetworkManagerWireless.[ch]
19562                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19563
19564 2004-11-03 Dan Williams <dcbw@redhat.com>
19565
19566         * src/NetworkManagerDevice.[ch]
19567                 - (nm_device_set_enc_key): Add parameter to set Authentication
19568                         Mode (Open System, Shared Key, or None).  We're still using
19569                         Shared Key for now though.
19570
19571 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19572
19573         * panel-applet/menu-info.c: change from bold text to light
19574         colored, may cause problems with some themes, i've tested a lot
19575         and they seem fine. 
19576
19577         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19578
19579 2004-11-01  Colin Walters  <walters@verbum.org>
19580
19581         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19582         (nm_wireless_128bit_key_from_passphrase): Add const.
19583
19584         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19585         (nm_ap_set_enc_key_source): Add const.
19586         
19587 2004-11-01  Colin Walters  <walters@verbum.org>
19588
19589         * .cvsignore: Update.
19590
19591 2004-10-29 Dan Williams <dcbw@redhat.com>
19592
19593         * src/NetworkManagerDevice.c
19594                 - (nm_device_wireless_network_exists): Actually use the encryption
19595                         key we got from the applet when attempting to find a wireless network
19596                 - Don't bring devices down so much since on some cards it triggers
19597                         firmware hotplugs each time
19598
19599         * src/NetworkManagerDbus.c
19600                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19601                         from the caller
19602
19603 2004-10-29 Dan Williams <dcbw@redhat.com>
19604
19605         * src/NetworkManager.c
19606                 - (nm_hal_device_property_modified): unlock a locked active
19607                         wireless device when a wired connection gets a link.
19608                         (Means you'll switch to wired whenever you plug in no
19609                         matter what).
19610
19611 2004-10-29 Dan Williams <dcbw@redhat.com>
19612
19613         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19614                 - New files, implement the "Other wireless network" dialog
19615
19616         * panel-applet/NMWirelessApplet.c
19617                 - Move "other wireless network" dialog to separate file
19618
19619         * panel-applet/NMWirelessAppletDbus.[ch]
19620                 - Take key and key_type paramaters for the set_device function
19621
19622         * panel-applet/essid.glade
19623                 - Add UI bits for encryption settings
19624
19625         * src/NetworkManagerDbus.c
19626                 - Retrieve key and key_type params for "setActiveDevice" method call
19627                         and pass them on
19628                 - unref AP returned from nm_device_get_best_ap() when needed
19629
19630         * src/NetworkManagerDevice.c
19631                 - (nm_device_get_best_ap): ref the ap before returning it
19632                 - unref AP returned from nm_device_get_best_ap() when needed
19633                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19634                         need to call nm_device_get_best_ap() here, it was pretty much
19635                         redundant anyway
19636                 - (AP_NEED_KEY): break second link check condition out into separate
19637                         function, and fix segfault when ap->enc_key_source was NULL
19638                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19639                         pass them along to nm_device_wireless_network_exists().  If the
19640                         network does exist, set the passed-in key+key_type on the AP
19641
19642         * src/NetworkManagerPolicy.c
19643                 - unref AP returned from nm_device_get_best_ap() when needed
19644
19645 2004-10-28 Dan Williams <dcbw@redhat.com>
19646
19647         * src/NetworkManagerUtils.c
19648                 - (nm_spawn_process): Fix a potential dereference of NULL
19649
19650         Patches from Peter Jones:
19651
19652         * src/NetworkManagerDevice.c
19653                 - (nm_device_test_wireless_extensions): Better check for
19654                         wireless devices
19655
19656         * src/NetworkManagerUtils.c
19657                 - (nm_spawn_process): Pass in valid stdout and stderr so
19658                         executed programs don't randomly SIGPIPE and fail
19659                 - (nm_get_wired_driver_support_level): quash hal warning
19660                         when checking for USB ethernet device
19661
19662 2004-10-27 Dan Williams <dcbw@redhat.com>
19663
19664         * info-daemon/NetworkManagerInfo.c
19665           info-daemon/NetworkManagerInfoDbus.c
19666           info-daemon/NetworkManagerInfoPassphraseDialog.c
19667           panel-applet/NMWirelessApplet.c
19668                 - Properly escape gconf keys
19669
19670         * src/NetworkManager.c
19671                 - remove unused variables
19672
19673         * src/NetworkManagerAP.c
19674                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19675                         refcount since it got set in nm_ap_new()
19676
19677         * src/NetworkManagerAPList.c
19678                 - (nm_ap_list_combine): Give up ownership of newly created
19679                         access points to the ap list, fixes memleak
19680
19681         * src/NetworkManagerDevice.c
19682                 - Remove cached_ap_list4 member since its not really needed
19683                 - (nm_device_wireless_network_exists): Try to get correct
19684                         encryption status of a found AP if its already in our
19685                         device list
19686                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19687                         memory allocs/deallocs a bit clearer and shorter-lived
19688
19689 2004-10-26 Ray Strode <rstrode@redhat.com>
19690
19691         * panel-applet/NMWirelessApplet.c:
19692           (custom_essid_item_selected):  kill some compiler
19693         warnings 
19694
19695 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19696
19697         * info-daemon/NetworkManagerInfoDbus.c
19698                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19699                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19700
19701 2004-10-23 Dan Williams <dcbw@redhat.com>
19702
19703         * info-daemon/NetworkManagerInfoDbus.c
19704                 - Trap the "DeviceActivationFailed" signal
19705
19706         * docs/NetworkManager DBUS API.txt
19707                 - Add "DeviceActivationFailed" signal
19708
19709         * panel-applet/NMWirelessAppletDbus.c
19710                 - Quash the "NetworkManager service not available" message
19711
19712         * src/NetworkManagerDbus.[ch]
19713                 - Add the "DeviceActivationFailed" signal
19714
19715         * src/NetworkManagerDevice.c
19716                 - Add support for activation_failed flag
19717                 - Fix deadlock where activation thread didn't clean itself up, making
19718                         main thread still believe it was alive forever (didn't reset activation
19719                         flags like activating, just_activated, etc when IP configuration
19720                         failed)
19721
19722         * src/NetworkManagerPolicy.c
19723                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19724                         for wireless networks, try to fall back to some other access point
19725
19726 2004-10-23 Dan Williams <dcbw@redhat.com>
19727
19728         * panel-applet/NMWirelessApplet.[ch]
19729                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19730                         to the applet object, so we can get tooltips
19731                 - Add tooltips (RH #136866)
19732
19733         * src/NetworkManagerDevice.c
19734                 - When trying to find a wireless network, try to connect with encryption
19735                         turned on first, so that we can more accurately detect whether or not
19736                         we need to use encryption for the actual association later on
19737
19738 2004-10-21 Dan Williams <dcbw@redhat.com>
19739
19740         * Add some support for telling NetworkManagerInfo to tell the user
19741                 that they are using a device that's not fully supported
19742
19743         * Fix some assertions in debug messages due to null access point args
19744
19745 2004-10-21 Dan Williams <dcbw@redhat.com>
19746
19747         * src/NetworkManagerDevice.c
19748                 - Don't try to activate/bring up/down unsupported
19749                         devices
19750
19751         * src/NetworkManagerUtils.c
19752                 - Fix case of PCI ID checks for driver support levels
19753
19754 2004-10-21 Dan Williams <dcbw@redhat.com>
19755
19756         * NetworkManager.h
19757                 - New file, now contains commonly used structures and bits
19758                         for the dbus API of NetworkManager
19759
19760         * Makefile.am
19761                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19762
19763         * src/NetworkManager.h
19764                 - Rename -> src/NetworkManagerMain.c
19765
19766         * Various fixups all around to use NetworkManager.h and new
19767                 src/NetworkManagerMain.h, remove redundant bits that got
19768                 moved into NetworkManager.h
19769
19770         * src/NetworkManagerDevice.[ch]
19771           src/NetworkManagerUtils.[ch]
19772           src/NetworkManagerPolicy.c
19773           src/NetworkManagerDbus.c
19774                 - Whitelist wireless drivers, and blacklist some wired
19775                         drivers.  Also blacklist cipsec and ethernet-over-usb
19776                         devices at this time (RH #135722, RH #135648)
19777                 - Don't leak unsupported devices out over dbus, or allow
19778                         them to be set as the active device.  Skip over them
19779                         during automatic device picking
19780
19781         * test/nmclienttest.c
19782                 - Clean up the dbus code a lot
19783
19784 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19785
19786         * configure.in: post release bump.
19787
19788 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19789
19790         * configure.in:
19791         * NEWS: Released NetworkManager-0.3.1
19792
19793 2004-10-18 Dan Williams <dcbw@redhat.com>
19794
19795         Patches from Thom May:
19796         * test/nmtestdevices.c
19797                 - Include <string.h>
19798         * src/backends/NetworkManagerDebian.c:
19799                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19800                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19801                         Move to using g_strdup_printf rather than arbitrary buffers
19802                 - (nm_system_device_setup_static_ip4_config) Implement function.
19803                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19804
19805 2004-10-17 Dan Williams <dcbw@redhat.com>
19806
19807         * info-daemon/NetworkManagerInfoDbus.c
19808                 - Display name of network in the "network not found" dialog
19809
19810         * panel-applet/NMWirelessAppletDbus.c
19811                 - (nmwa_dbus_call_nm_method): new function replaces all other
19812                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19813                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19814                         consolidated into nmwa_dbus_get_object_name()
19815
19816 2004-10-15 Dan Williams <dcbw@redhat.com>
19817
19818         * src/NetworkManagerDbus.c
19819           info-daemon/NetworkManagerInfoDbus.c
19820                 - Display an error dialog when the user tries to use an
19821                         "Other wireless network" that's not found.
19822
19823 2004-10-15 Dan Williams <dcbw@redhat.com>
19824
19825         * panel-applet/NMWirelessApplet.[ch]
19826                 - Fix up corner cases in applet state, making it
19827                         look more responsive.  Change state to "connecting" when
19828                         the user is forcing a device too.
19829
19830 2004-10-15 Dan Williams <dcbw@redhat.com>
19831
19832         * src/NetworkManagerAPList.c
19833                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19834
19835         * src/NetworkManagerDbus.c
19836                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19837
19838         * src/NetworkManagerDevice.c
19839                 - Disown APs after the device's AP list takes ownership
19840
19841 2004-10-15 Dan Williams <dcbw@redhat.com>
19842
19843         * panel-applet/NMWirelessApplet.c
19844                 - Update our applet state from the GUI thread
19845
19846         * panel-applet/NMWirelessAppletDbus.c
19847                 - Greatly simplify the locking to make the GUI thread
19848                         smoother.  Update a private copy of the device list
19849                         and active device and only when done talking to
19850                         NetworkManager turn it over to the GUI thread.
19851
19852 2004-10-15 Dan Williams <dcbw@redhat.com>
19853
19854         * src/NetworkManagerAP.[ch]
19855                 - Add "artificial" get/set functions, set for APs that
19856                         aren't discovered as part of a scan but instead
19857                         discovered by force-setting the ESSID
19858
19859         * src/NetworkManagerDevice.[ch]
19860                 - (nm_device_wireless_network_exists): pass back whether
19861                         or not the discovered AP was encrypted.  Also, try
19862                         falling back to encrypted mode on the card if unencrypted
19863                         association doesn't work
19864                 - (nm_device_find_and_use_essid): If the network requested
19865                         did in fact exists, but it wasn't in our scan list, add
19866                         an "artificial" entry for it.  Some Cisco cards don't
19867                         see non-ESSID-broadcasting APs in their scan but can still
19868                         associate with them if you know the ESSID, this works around
19869                         that behavior
19870                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19871                         to scan if the card is currently associated with that AP
19872
19873 2004-10-15 Dan Williams <dcbw@redhat.com>
19874
19875         ---- We have a website ----
19876         http://people.redhat.com/dcbw/NetworkManager
19877
19878         Patch from Robert Paskowitz:
19879         * src/NetworkManager.c
19880                 - (main): Make sure we are run as root
19881         * src/NetworkManagerDevice.c
19882                 - Fix type in ad-hoc setting function
19883
19884         Patch from Thom May:
19885         * src/backends/NetworkManagerDebian.c
19886                 - Make Debian backend compile again
19887
19888 2004-10-14 Dan Williams <dcbw@redhat.com>
19889
19890         * Tagged NetworkManager-0_3
19891
19892 2004-10-14 Dan Williams <dcbw@redhat.com>
19893
19894         Patch from Robert Paskowitz:
19895         * NEWS
19896           src/NetworkManagerDevice.[ch]
19897           src/backends/NetworkManagerDebian.c
19898           src/backends/NetworkManagerGentoo.c
19899           src/backends/NetworkManagerRedHat.c
19900           src/backends/NetworkManagerSlackware.c
19901                 - Add support for grabbing and using a broadcast address
19902                         from system config files
19903                 - Some Gentoo backend fixes for grabbing network config
19904                 - Fix LOG_WARN->LOG_WARNING
19905
19906 2004-10-14 Dan Williams <dcbw@redhat.com>
19907
19908         * NEWS: a few small fixes in the credits
19909
19910 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19911
19912         * NEWS: prep for release.
19913
19914 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19915
19916         * panel-applet/NMWirelessAppletDbus.c
19917         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19918
19919 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19920
19921         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19922         applet->state == APPLET_STATE_NO_NM animation.
19923
19924         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19925         set the text correctly.
19926
19927 2004-10-14 Dan Williams <dcbw@redhat.com>
19928
19929         * src/NetworkManager.c
19930                 - Only accept and manager 802.3 and 802.11 devices
19931
19932         * src/NetworkManagerDbus.[ch]
19933                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19934                         logic into NetworkManagerDevice.c
19935                 - (nm_dbus_network_status_from_data): new function
19936                 - (nm_dbus_signal_network_status_change): new function, unused for now
19937                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19938
19939         * src/NetworkManagerDevice.[ch]
19940                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19941                         a random ESSID.
19942
19943 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19944
19945         * info-daemon/NetworkManagerInfo.c 
19946                 - (main): Added session management
19947
19948 2004-10-14 Dan Williams <dcbw@redhat.com>
19949
19950         * panel-applet/NMWirelessAppletDbus.[ch]
19951                 - Expose network_device_[un]ref()
19952                 - Expose wireless_network_[un]ref()
19953                 - (wireless_network_new_with_essid): new function, create and return
19954                         a wireless network with a particular essid
19955
19956         * panel-applet/NMWirelessApplet.c
19957                 - Hook up the "other network" dialog to do something
19958
19959 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19960
19961         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19962         doesn't work yet, but it looks okay.
19963
19964         * panel-applet/icons/*png: Resize to 22x22 and install in the
19965         right place.
19966
19967 2004-10-13 Dan Williams <dcbw@redhat.com>
19968
19969         * panel-applet/NMWirelessApplet.c
19970                 - Add function to print out applet_state in a readable
19971                         manner
19972
19973         * src/NetworkManager.c
19974                 - (main): Don't segfault when nm_dbus_init() fails, we had
19975                         a left-over call to hal_shutdown() into which we passed NULL
19976
19977         * src/NetworkManagerAP.c
19978                 - (nm_ap_set_essid): Allow NULL essids
19979
19980         * src/NetworkManagerAPList.[ch]
19981                 - More use of nm_ap_list_[un]lock ()
19982                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19983                         network/essid, just return nothing.  Also skip over NULL
19984                         essid access points in the list when searching
19985                 - (nm_ap_list_get_ap_by_address): new function
19986                 - (nm_ap_list_update_network): set the access point's key source to
19987                         NULL when the key returned from NetworkManagerInfo is NULL or
19988                         of 0 length
19989                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19990                         copy timestamp over too
19991                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19992                         find the correct ESSID for a blank-essid access point by searching
19993                         through another list and matching access point MAC addresses
19994                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19995
19996         * src/NetworkManagerDbus.c
19997                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19998                         may specify.  This is mainly for access points that don't
19999                         broadcast their essid.  So if the user tells us to associate with
20000                         some random ESSID that's not in our access point list, we find
20001                         out if the access point does in fact exist (by attempting association
20002                         and then matching that access point's MAC address with the essid the
20003                         user gave us) and then we switch to it.
20004                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20005                         to the returned list of networks for the "getNetworks" method
20006
20007         * src/NetworkManagerDevice.[ch]
20008                 - Extra debugging info for link detection
20009                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20010                         based on MAC address
20011                 - (nm_device_get_path_for_ap): ignore blank-essid access points
20012                 - (nm_device_wireless_network_exists): new function, find out whether
20013                         a random ESSID exists by attempting to associate with it
20014                 - (nm_device_do_normal_scan): allow blank-essid access points in our
20015                         device list as long as they have an AP MAC address we can use.
20016                         Also send WirelessNetwork[Dis]Appeared signals for non-active
20017                         devices too.  Lets the applet update more frequently.
20018
20019         * src/backends/NetworkManagerGentoo.c
20020                 - Patch from: Robert Paskowitz
20021                         - Update backend code for Gentoo
20022                         - Implement nm_system_device_update_config_info ()
20023
20024         * test/nmclienttest.c
20025                 - (set_network_device): new function, takes a command-line argument
20026                         and tells NetworkManager to use that wireless network
20027
20028 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20029
20030         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20031         if the notification icon crashes 5 times within 5 seconds of each respawn 
20032
20033 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
20034
20035         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20036         g_print.
20037
20038 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
20039
20040         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20041
20042         * panel-applet/NMWirelessApplet.c: (animation_timeout),
20043         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20044         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20045         Change the name of the icons.
20046
20047         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20048         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20049         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20050         (nm_menu_wireless_expose_event): Really bad hack to get the style
20051         to draw in the right color.
20052
20053 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20054
20055         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
20056         Notification if it crashes
20057
20058 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
20059
20060         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
20061         (nmwa_dbus_get_string): remove unused functions
20062
20063         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20064         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20065         remove unused functions
20066
20067         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20068
20069 2004-10-12 Dan Williams <dcbw@redhat.com>
20070
20071         * panel-applet/NMWirelessAppletDbus.c
20072                 - New functions:
20073                         wireless_network_new
20074                         wireless_network_copy
20075                         network_device_new
20076                         network_device_copy
20077
20078         * src/NetworkManagerDevice.[ch]
20079                 - New functions:
20080                         nm_device_set_mode_managed
20081                         nm_device_set_mode_adhoc
20082                 - Use these functions where appropriate
20083                 - When creating a new wireless device, force the card
20084                         to managed/Infrastructure mode as soon as possible
20085
20086 2004-10-12 Dan Williams <dcbw@redhat.com>
20087
20088         * src/NetworkManagerDevice.c
20089                 - Force wireless cards into Infrastructure mode before we use them
20090
20091 2004-10-12 Dan Williams <dcbw@redhat.com>
20092
20093         * TODO
20094                 - Remove bit about static IP address support
20095
20096         * src/NetworkManagerUtils.c
20097                 - (nm_spawn_process): Add some error reporting
20098
20099         * src/NetworkManagerDevice.c
20100                 - (nm_device_activation_configure_ip): hook up to the static config
20101                         routines in the backends
20102
20103         * src/backends/NetworkManagerRedHat.c
20104                 - (nm_system_device_update_config_info): use shvar.c routines to
20105                         parse the config file iformation, not our own
20106                 - (nm_system_device_setup_static_ip4_config): new function, based
20107                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20108                         with a static IP address and gateway
20109
20110         * src/backends/shvar.[ch]
20111                 - Parser (filched from initscripts package) for ifcfg-* files
20112
20113         * src/backends/NetworkManagerSystem.h
20114           src/backends/NetworkManagerGentoo.c
20115           src/backends/NetworkManagerDebian.c
20116           src/backends/NetworkManagerSlackware.c
20117                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20118
20119 2004-10-11 Dan Williams <dcbw@redhat.com>
20120
20121         * TODO
20122                 - Remove bit about more robust AP diffing since I just implemented it
20123
20124 2004-10-11 Dan Williams <dcbw@redhat.com>
20125
20126         * src/NetworkManagerAP.c
20127                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20128                         enough RAM to allocate new AP structures, but return NULL instead
20129
20130         * src/NetworkManagerAPList.[ch]
20131                 - (nm_ap_list_is_empty): new function
20132                 - (nm_ap_list_combine): new function, combine two access point lists
20133                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20134                         into another
20135
20136         * src/NetworkManagerDevice.[ch]
20137                 - Rename some functions to be clearer:
20138                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20139                         nm_device_just_activated     -> nm_device_is_just_activated
20140                         nm_device_activating         -> nm_device_is_activating
20141                         nm_device_now_scanning       -> nm_device_is_scanning
20142                 - Cache the last 4 scans so that the access point list is more stable.
20143                         We combine the lastest two scans and use that as the AP list,
20144                         and diff that combined list against the combination of the earliest
20145                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20146
20147 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20148
20149         * info-daemon/NWManagerInfo.h
20150                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20151
20152         * info-daemon/NWManagerInfoDbus.c
20153                 - (shutdown_callback): new function
20154                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20155                         if NetworkManager goes away.  Kill the timeout
20156                         if NetworkManager restarts before the 30 seconds
20157                         are up.
20158                 - (nmi_dbus_service_init): 
20159                         - call gtk_main_quit if NetworkManager is not running
20160                         - add filters to monitor dbus service creations and
20161                                 deletions
20162         
20163 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20164
20165         * panel-applet/NMWirelessApplet.c
20166                 - (nmwa_update_state): Hide notification icon if we are only
20167                         showing one wired card and no wireless interfaces 
20168                         (Red Hat Bug #134895)
20169
20170         * panel-applet/NMWirelessAppletDbus.c
20171                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20172
20173         * info-daemon/NWManagerInfo.c
20174                 - (main): Terminated the notification_icon_cmd array with a NULL
20175
20176 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20177
20178         * configure.in (ALL_LINGUAS): Added de (German).
20179
20180 2004-10-08 Dan Williams <dcbw@redaht.com>
20181
20182         * src/NetworkManagerDevice.c
20183                 - Be a bit more robust about link checking, ie make sure that
20184                         the WEP key we were given actually has some data in it
20185
20186 2004-10-08 Dan Williams <dcbw@redhat.com>
20187
20188         * info-daemon/NetworkManagerInfo.c (main):
20189                 - Initialize GError object to NULL
20190
20191 2004-10-08 Dan Williams <dcbw@redhat.com>
20192
20193         * panel-applet/NMWirelessAppletDbus.c
20194                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20195
20196 2004-10-08 Dan Williams <dcbw@redhat.com>
20197
20198         * info-daemon/NetworkManagerInfo.[ch]
20199           info-dameon/NetworkManagerInfoDbus.[ch]
20200           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20201                 - Preserve original label text in the passphrase dialog so that
20202                         it actually gets updated with the new network name the next
20203                         time around.  Previously, we were overwriting it so you'd get
20204                         the wrong network name to enter a key for
20205                 - Add a "Key Type" combo to the passphrase dialog, user selects
20206                         encryption key type now, type is stored in GConf too
20207                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20208
20209         * src/NetworkManagerAP.[ch]
20210                 - Remove all the encyption method magic.  It's now set by the user
20211                         and NetworkManager retrieves the type of encryption key from
20212                         NetworkManagerInfo
20213
20214         * src/NetworkManagerAPList.[ch]
20215           src/NetworkManagerDbus.[ch]
20216                 - Adjust to new way of setting encryption key and method
20217                 - Pull encryption method down from NMI along with key
20218
20219         * src/NetworkManagerDevice.[ch]
20220                 - Removed encryption method fallback magic as the method is now
20221                         determined by the user.  This greatly simplifies the connection
20222                         logic.
20223                 - More robust connection/link logic.  Besides removing the encryption
20224                         method fallback magic, check whether or not the card is receiving
20225                         invalidly encrypted packets, which usually indicates that we have
20226                         a bad WEP key set.
20227                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20228
20229         * test/nminfotest.c
20230                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20231
20232 2004-10-07 Dan Williams <dcbw@redhat.com>
20233
20234         * info-daemon/NetworkManagerInfo.conf
20235                 - Allow root user to run NMI too
20236
20237 2004-10-06 Dan Williams <dcbw@redhat.com>
20238
20239         * src/NetworkManagerDevice.[ch]
20240           src/NetworkManagerDbus.c
20241           doc/NetworkManager DBUS API.txt
20242                 - Add a new status tag "scanning", which is set when there
20243                         is no active network connection, but NetworkManager is
20244                         looking for an access point to associate with
20245
20246         * panel-applet/main.c
20247                 - Cast the applet appropriately for gtk_widget_show_all ()
20248
20249 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20250
20251         * panel-applet/eggtrayicon.[ch]:
20252         * panel-applet/main.c: Add missing file
20253
20254 2004-10-04 Dan Williams <dcbw@redhat.com>
20255
20256         * src/NetworkManagerDevice.[ch]
20257                 - Add a slightly more robust method of determining if the WEP key
20258                         is correct or not, by checking the WEP-discarded packet count
20259                         on the card
20260
20261         * info-daemon/NetworkManagerInfo.c
20262                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20263                         un-escape values we pull out rather than escaping them
20264
20265 2004-10-03  Marcel Telka  <marcel@telka.sk>
20266
20267         * configure.in (ALL_LINGUAS): Added sk.
20268
20269 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20270
20271         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20272         and feel.  We should be back to working, and have a good, clean
20273         look.
20274
20275 2004-09-30 Dan Williams <dcbw@redhat.com>
20276
20277         * info-daemon/NetworkManagerInfo.c
20278           info-daemon/NetworkManagerInfoDbus.c
20279           test/nminfotest.c
20280                 - Escape ESSIDs in gconf
20281
20282         * src/NetworkManagerDevice.c
20283                 - Fix pseudo-scanning to use netowrk list from info daemon
20284
20285 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20286
20287         * configure.in: Add a temporary --enable-notification-icon.  This
20288         will prolly go away.
20289
20290         * info-daemon/Makefile.am:
20291         * info-daemon/NetworkManagerInfo.c:
20292         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20293
20294         * panel-applet/Makefile.am:
20295         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20296         * panel-applet/NMWirelessApplet.h:
20297
20298 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20299
20300         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20301         before 'select custom ESSID'.
20302
20303         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20304         fully complete, but syncing in prep for merge.
20305
20306         * panel-applet/icons/*png: New images
20307
20308 2004-09-28 Dan Williams <dcbw@redhat.com>
20309
20310         * src/NetworkManager.c
20311           src/NetworkManagerDevice.c
20312           src/NetworkManagerPolicy.c
20313                 - Don't blow away an active wired connection on startup
20314
20315 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20316
20317         Changes from J5
20318         
20319         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20320
20321         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20322         syslog output
20323
20324 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20325
20326         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20327         have a wireless card.
20328
20329 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20330
20331         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20332         Also, get the right device strings.
20333
20334 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20335
20336         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20337         the logic to make this right.
20338
20339         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20340         devices so that wired networks are always first.
20341
20342 2004-09-22    <clarkbw@cvs.gnome.org>
20343
20344         * initscript/Debian/.cvsignore:
20345         * initscript/Slackware/.cvsignore:
20346         Added new cvsignores for Makefile, Makefile.in
20347         
20348         * test/.cvsignore:
20349         Added nmtestdevices
20350         
20351         * src/NetworkManagerDevice.c: 
20352         * src/NetworkManager.c: 
20353         Updated the wireless/wired HAL device strings from net.ethernet to
20354         net.80203 or net.80211 depending on wired or wireless respectively
20355         
20356         * examples/python/NetworkManager.py: 
20357         s/Quality/Strength/
20358
20359         * examples/python/systray/network_tray.py:
20360         Lots of little changes and fixes.  been rotting for a while so I
20361         figured I'd finally sync them all with CVS
20362
20363 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20364
20365         * configure.in: Add graphics
20366
20367         * panel-applet/Makefile.am: Add graphics
20368
20369         * panel-applet/icons/*: Add graphics
20370
20371         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20372         the icons fully lined up.
20373
20374         * panel-applet/menu-info.c: 
20375         * panel-applet/menu-info.h: Add another menu type.
20376
20377 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20378
20379         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20380
20381         * panel-applet/menu-item.[ch]: Wireless menu item.
20382
20383 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20384
20385         * info-daemon/NetworkManagerInfo.conf
20386                 - Created a more robust security policy for the DBus service
20387                         - everything is denied by default
20388                         - root can own and send to the service
20389                         - users logged in at the console can send to the service
20390
20391 2004-09-13  Dan Williams <dcbw@redhat.com>
20392
20393         * src/NetworkManagerDevice.c
20394                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20395                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20396                         the latter
20397
20398 2004-09-13  Dan Williams <dcbw@redhat.com>
20399
20400         * TODO: fix typo
20401
20402         * docs/NetworkManager DBUS API.txt
20403                 - Update for new signal strength changes
20404
20405         * panel-applet/NMWirelessApplet.c
20406                 - Make panel icon show strength of the current connection
20407                 - Cleanups and memleak fixes
20408
20409         * panel-applet/NMWirelessApplet.h
20410                 - Add data members for signal strength on devices and networks
20411
20412         * panel-applet/NMWirelessAppletDbus.c
20413                 - Free more DBusErrors
20414                 - Update for new signal strength changes
20415                 - Make devices and networks more like real objects, use ref/unref methods
20416                 - Actually unlock the mutex when updating the active device
20417
20418         * src/NetworkManagerAP.c
20419                 - Change AP functions and data members from "quality"->"strength"
20420
20421         * src/NetworkManagerDbus.c
20422                 - Kill "getMaxQuality" and "getQuality" methods
20423                 - Add "getStrength" methods for Networks and Devices
20424
20425         * src/NetworkManagerDevice.[ch]
20426                 - Add accessors for device strength
20427                 - Add functions to update strength for a device.  Note that not all drivers
20428                         actually support signal strength for scanned access points (Atmel drivers
20429                         being one)
20430                 - Calculate signal strength for each AP during scan
20431
20432         * src/NetworkManagerWireless.[ch]
20433                 - Add function to return signal strength % from a device and a raw quality struct
20434
20435         * test/nmclienttest.c
20436                 - Update for new signal strength changes
20437
20438 2004-09-11  Dan Williams <dcbw@redhat.com>
20439
20440         * src/NetworkManager.c
20441                 - Fix race condition between initscripts and NM on card insertion
20442                         which could cause a card to keep an IP address and routes around
20443                         even when it was not the active device
20444
20445         * src/NetworkManagerDbus.c
20446                 - Fix compile errors, free more DBusErrors
20447
20448 2004-09-11  Dan Williams <dcbw@redhat.com>
20449
20450         * docs/NetworkManager DBUS API.txt
20451                 - Add an explanation of NM's API
20452
20453         * src/NetworkManagerDbus.c
20454                 - Free some more DBusErrors if needed
20455
20456 2004-09-11  Dan Williams <dcbw@redhat.com>
20457
20458         * panel-applet/NMWirelessApplet.c
20459           panel-applet/NMWirelessAppletDbus.c
20460                 - Start using NetworkDevice/WirelessNetwork structures in more places
20461                 - Update for unified device/network forcing in NetworkManager
20462
20463         * src/NetworkManager.c
20464                 - some code consolidation
20465
20466         * src/NetworkManagerDbus.c
20467                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20468                         or two arguments:  the first is the NM ID of the device to switch to,
20469                         and the second (optional) argument is the ESSID of a wireless network
20470                         to use as well.
20471                 - Get rid of "setNetwork" method due to above change
20472
20473         * src/NetworkManagerDevice.c
20474                 - (nm_device_new): perform scan and update best AP on device creation
20475                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20476                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20477                         spin waiting for cancellation to finish before returning
20478
20479         * src/NetworkManagerPolicy.c
20480                 - Changes here clarify the situations in which a device switch occurs, and 
20481                         make sure to keep using a forced device and network if the user gives
20482                         us one
20483                 - Remove old unused code
20484
20485 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20486
20487         * configure.in: Added Danish (da) to ALL_LINGUAS.
20488
20489 2004-09-09  Dan Williams <dcbw@redhat.com>
20490
20491         * panel-applet/NMWirelessAppletDbus.c
20492                 - Pull fresh devices and networks from NM when wireless networks
20493                         change.  Provides faster feedback of a forced wireless network
20494
20495         * src/NetworkManagerDbus.c
20496                 - Return error when "getMaxQuality" is called on a wired device
20497                 - Make best_ap freezing actually work again, and signal cancellation
20498                         of activation if there's already a device activation when the user
20499                         freezes the best_ap
20500
20501         * src/NetworkManagerDevice.c
20502                 - Don't clear out the best_ap for wireless devices when the link goes
20503                         down, that's done elsewhere
20504                 - Kill any dhcp daemons when cancelling device activation since they
20505                         may be stuck waiting for a DHCP address, and since we're cancelling
20506                         activation we don't care about that anymore
20507
20508         * src/NetworkManagerPolicy.c
20509                 - Make sure to unref the device we ref earlier (we refed it to make sure
20510                         it stuck around during device activation and such)
20511                 - If we were going to change the best device, but its activating currently
20512                         (and therefore the change didn't occur due to the check earlier)
20513                         we mark the state changed to we come back to it later when device
20514                         activation has canceled and its no longer activating
20515
20516         * src/backends/NetworkManagerRedHat.c
20517                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20518
20519 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20520
20521         * info-daemon/passphrase.glade: 
20522         set passphrase input to activates_default : True
20523
20524         * examples/python/systray/network_tray.py
20525         (network_tray.sort_networks):
20526
20527         Added support for having wireless always scanning
20528
20529 2004-09-09  Dan Williams <dcbw@redhat.com>
20530
20531         NOTE: this commit changes the behavior of wireless devices in
20532         NetworkManager.  They are now up all the time, scanning all
20533         the time.  Only the active device has an IP address and routing
20534         information set up however.  Also, NetworkManager will no longer
20535         opportunistically switch wireless networks when a better one
20536         comes in range, it will remain associated with one wireless network
20537         until that one drops out.
20538
20539         * panel-applet/NMWirelessApplet.c
20540           panel-applet/NMWirelessAppletDbus.c
20541                 - List all wireless cards and their respective networks
20542
20543         * src/NMLoadModules
20544                 - Use full path to /sbin/ip
20545
20546         * src/NetworkManager.c
20547                 - Keep wireless devices up all the time so they can scan
20548
20549         * src/NetworkManagerDbus.c
20550                 - On a WirelessNetworkUpdate signal from NMI, don't update
20551                         the "best" AP
20552
20553         * src/NetworkManagerDevice.c
20554                 - (nm_device_set_link_active): clear out the best ap for
20555                         wireless devices when the link is set to FALSE
20556                 - Scan on all wireless cards, all the time
20557                 - (nm_device_activation_worker): split out the wireless card
20558                         link-waiting code to a separate function
20559                 - Keep wireless cards up even if device activation fails
20560                 - Don't update the "best" ap as much
20561
20562         * src/NetworkManagerPolicy.c
20563                 - Don't update the best ap when checking if its frozen,
20564                         let link checking clear out a frozen best ap for us
20565
20566         * src/NetworkManagerWireless.c
20567                 - Scan on all wireless cards, all the time
20568
20569 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20570
20571         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20572
20573 2004-09-09  Ankit Patel <ankit@redhat.com>
20574
20575         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20576
20577 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20578
20579         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20580
20581 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20582
20583         * examples/python/NetworkManager.py: 
20584         added CONNECTED, CONNECTING, and DISCONNECTED states
20585         added methods to return number of devices of a single type
20586
20587         * examples/python/systray/network_tray.py: 
20588         did some tweaks to get the menu looking near what it is supposed
20589         to look like.  Also did a Airo card hack to make it show the
20590         correct AP quality
20591
20592 2004-09-08  Dan Williams <dcbw@redhat.com>
20593
20594         * panel-applet/no-networkmanager.png
20595           panel-applet/Makefile.am
20596           panel-applet/NMWirelessApplet.c
20597                 - Add a "NetworkManager not running" icon and use it
20598                 - Use new consolidated GConf keys rather than Preferred/Trusted
20599
20600         * TODO: update
20601
20602         * info-daemon/NetworkManagerInfo.c
20603           info-daemon/NetworkManagerInfoDbus.[ch]
20604           info-daemon/NetworkManagerInfoPassphraseDialog.c
20605                 - There are now no longer two separate lists of wireless networks,
20606                         but one list where each network is "trusted" or not trusted
20607                 - Add a "getNetworkTrusted" dbus method
20608                 - "WirelessNetworkUpdate" signal now sent rather than
20609                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20610                 - Start freeing some dbus errors (not completed yet)
20611
20612         * info-daemon/passphrase.glade
20613                 - Remove the "don't show" hints for pager and taskbar
20614                 - Add a title since its going to be in the taskbar
20615
20616         * src/NetworkManager.[ch]
20617           src/NetworkManagerAPList.[ch]
20618                 - There are now no longer two separate lists of wireless networks,
20619                         but one list where each network is "trusted" or not trusted
20620
20621         * src/NetworkManagerAP.[ch]
20622                 - Add get/set "trusted" accessors and data bit
20623
20624         * src/NetworkManagerDbus.[ch]
20625                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20626                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20627
20628         * src/NetworkManagerDevice.[ch]
20629                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20630                 - (nm_device_new): Get device config from backend when initializing devices
20631                 - (nm_device_activation_worker): Split out device configuration on
20632                         activation to deal with static/dynamic IP differences, and try encryption
20633                         fallbacks on a device if the encryption method for the best AP is not good
20634                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20635                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20636
20637         * src/NetworkManagerWireless.c
20638                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20639
20640         * src/backends/NetworkManagerRedHat.c
20641           src/backends/NetworkManagerSystem.h
20642                 - (nm_system_device_update_config_info): Add function to get device configuration
20643                         from system data in ifcfg-* files
20644
20645         * src/backends/NetworkManagerDebian.c
20646           src/backends/NetworkManagerGentoo.c
20647           src/backends/NetworkManagerSlackware.c
20648                 - Add stub functions for getting device configuration
20649
20650 2004-09-07  Dan Williams <dcbw@redhat.com>
20651
20652         * src/backends/NetworkManagerRedhat.c
20653           src/backends/NetworkManagerSlackware.c
20654                 - Use full path to /sbin/ip everywhere
20655
20656 2004-09-07  Dan Williams <dcbw@redhat.com>
20657
20658         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20659
20660         * configure.in
20661           initscript/Makefile.am
20662           initscript/Slackware/Makfile.am
20663           initscript/Slackware/rc.networkmanager
20664           src/Makefile.am
20665           src/backends/NetworkManagerSlackware.c
20666                 - Add Slackware support
20667
20668 2004-09-07  Dan Williams <dcbw@redhat.com>
20669
20670         Patches below from:
20671                 <j@bootlab.org>
20672                 Mark Roach <mrroach@okmaybe.com>
20673                 Thom May <thom@debian.org>
20674
20675         * configure.in
20676           initscript/Debian/NetworkManager
20677           initscript/Debian/Makefile.am
20678                 - Initscript for Debian
20679
20680         * src/backends/NetworkManagerDebian.c
20681                 - Add missing system init function to allow compilation
20682                         on Debian
20683
20684 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20685
20686         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20687
20688 2004-09-03  Akagic Amila <bono@linux.org.ba>
20689
20690         * configure.in: Added 'bs' to ALL_LINGUAS.
20691
20692 2004-09-02  Colin Walters  <walters@verbum.org>
20693
20694         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20695         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20696         g_strdup_printf instead of arbitrarily sized buffers.
20697
20698 2004-09-01  Colin Walters  <walters@verbum.org>
20699
20700         * NetworkManager.pc.in: New file.
20701
20702         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20703
20704 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20705         
20706         * configure.in: Punjabi(pa) is added to po/.
20707
20708 2004-08-31  Dan Williams <dcbw@redhat.com>
20709
20710         * Remove 'debug' extern global from all files since we now
20711                 use syslog()
20712
20713         * src/NetworkManager.[ch]
20714                 - Break out routine that get the net.interface property from HAL,
20715                         removing that logic from nm_create_device_and_add_to_list()
20716                 - (nm_create_device_and_add_to_list): make this a bit more general so
20717                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20718                         the create of test devices.
20719                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20720                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20721                         which makes NetworkManager listen for dbus commands to create test
20722                         devices, which have no backing hardware.  Use when you're on a plane
20723                         for example, and/or forgot your wireless card at home.  Test devices
20724                         _cannot_ be created unless NM is started with --enable-test-devices.
20725
20726         * src/NetworkManagerDbus.[ch]
20727                 - New "getLinkActive" method for devices
20728                 - New "setLinkActive" method for devices (only works on test devices)
20729                 - New "createTestDevice" method on NetworkManager object to create a test
20730                         device of a specified type (ie wired, wireless).  UDI is created from
20731                         scratch, as is the interface name.  Only works when NM is started with
20732                         --enable-test-devices switch.
20733                 - New "removeTestDevice" method on NetworkManager object which removes a
20734                         test device.  Only works when NM is started with --enable-test-devices
20735
20736         * src/NetworkManagerDevice.[ch]
20737                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20738                         whether a device is a test device or not, and what its link status is.
20739                 - Deal with test devices in most functions.  For those that work directly on hardware
20740                         special-case test devices.
20741                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20742                         command-line.
20743                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20744                         checking to separate functions to facilitate test device link checking.
20745                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20746                         don't make a distinction between System Authentication and Encryption
20747                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20748                         on the card.  We don't deal with Shared Key auth yet.
20749                 - (nm_device_activation_worker): split the activation cancel check logic out into
20750                         a separate routine nm_device_activation_cancel_if_needed()
20751                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20752                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20753                         a list of fake access points that they can "see"
20754                 - (nm_device_is_test_device): return whether or not a device is a test device
20755
20756         * src/NetworkManagerPolicy.c
20757                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20758                         previously if you "locked"/forced NM to use a wireless device but then
20759                         selected a wireless network for NM to use, it would switch to a wired device.
20760                         So, if the active device is wireless and it has a "forced" best AP, use it
20761                         if the "forced" best AP is still valid
20762                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20763                         there were no usable network devices, or the last one was removed
20764
20765         * src/backends/NetworkManager*.c
20766                 - Deal with test devices, mostly just return success for operations like getting
20767                         a DHCP address
20768
20769         * test/nmtestdevices.c
20770                 - Test tool to create/remove/link-switch test devices
20771
20772 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20773
20774         * examples/python/NetworkManager.py: 
20775         added convience functions has_wired_device and has_wireless_device
20776
20777         * examples/python/systray/network_tray.py: 
20778         cleaned up a bunch of cruft, added support for listing wireless
20779         networks just like the real applet.  This is probably all I'm
20780         going to work on this applet from now on.
20781         TODO: add support for actually changing networks and devices
20782
20783         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20784         changed "nm.networks" into a dict from a list so I can store all
20785         the cool information about networks in there
20786
20787         * examples/python/systray/network_tray.py: 
20788         Added nice message when you try to run without running make first
20789
20790         * examples/python/NetworkManager.py: 
20791         Bug fixes to the code so we get all the device information
20792         that we need in get_device()
20793         
20794         * examples/python/NMTester.py: 
20795         Fixed _print_device_list to print_device_list
20796
20797 2004-08-29  Seth Nickell  <seth@gnome.org>
20798
20799         * configure.in:
20800
20801         Actually properly setup the Debian backend in configure.
20802         
20803 2004-08-29  Colin Walters  <walters@verbum.org>
20804
20805         * test/nminfotest.c: Include string.h and stdlib.h.
20806         (get_network_string_property, get_networks_of_type): Return NULL.
20807
20808         * test/nmclienttest.c (get_device_name, get_active_device): Return
20809         NULL.
20810
20811         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20812         use strlen, fgets always NULL-terminates the string.
20813
20814         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20815         dbus_message_get_member): Remove /* in comment.
20816
20817         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20818
20819         * src/NetworkManager.c (quit): Unused, delete.
20820         (nm_data_free): Cast arg to GFunc.
20821
20822         * panel-applet/NMWirelessAppletDbus.c: Need to include
20823         string.h, and dbus-glib-lowlevel.h (the latter is needed
20824         for dbus_connection_setup_with_g_main at present).
20825         (nmwa_dbus_update_wireless_network_list): Parenthesize
20826         assignment in conditional.
20827         (nmwa_dbus_worker): Return NULL.
20828
20829         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20830         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20831         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20832         (nmwa_populate_menu): Return NULL on failure, instead of just
20833         return;
20834
20835         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20836
20837         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20838         variables.
20839
20840         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20841         delete.
20842         
20843 2004-08-29  Colin Walters  <walters@verbum.org>
20844
20845         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20846         a GTimeVal instead of time_t.  This is easier to work with,
20847         since time_t may be a long or double, we don't know.
20848
20849         * src/NetworkManagerDbus.h: Update prototype.
20850         
20851         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20852         instead of time_t.
20853         (nm_ap_get_timestamp): Update to return GTimeVal.
20854         (nm_ap_set_timestamp): Update to take GTimeVal.
20855         
20856         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20857         to handle GTimeVal.
20858
20859         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20860         GTimeVal change.
20861         (nm_ap_list_print_members): Fix warnings in printf format.
20862
20863 2004-08-29  Colin Walters  <walters@verbum.org>
20864         
20865         * panel-applet/NMWirelessApplet.c: Include config.h.
20866
20867 2004-08-29  Colin Walters  <walters@verbum.org>
20868
20869         * configure.in: Generate config.h.
20870
20871         * configure.in: Dump dependency on OpenSSL; we can't
20872         use it since this package is GPL:
20873         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20874         Instead, check for libgcrypt, use it if available,
20875         otherwise use included MD5 code.
20876
20877         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20878         Suck in from gnome-keyring, munge a bit.
20879         
20880         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20881         gnome-keyring-md5.h gnome-keyring-md5.c.
20882         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20883
20884         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20885         libgcrypt or included gnome-keyring md5 bits.
20886         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20887
20888 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20889
20890         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20891
20892 2004-08-27  Bryan Clark  <bclark@redhat.com>
20893
20894         * examples/python/systray/Makefile: 
20895
20896         Updated the clean section
20897         
20898         * examples/python/systray/trayiconmodule.c: 
20899         * examples/python/systray/trayicon.override: 
20900         * examples/python/systray/network_tray.py: 
20901         * examples/python/systray/eggtrayicon.h: 
20902         * examples/python/systray/eggtrayicon.c: 
20903         * examples/python/systray/Makefile: 
20904         * examples/python/README: 
20905         * examples/python/NetworkManager.py: 
20906         * examples/python/NMTester.py: 
20907
20908         Initial commit of these python example files
20909
20910 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20911
20912         * panel-applet/NMWirelessApplet.c
20913                 - Make current device bold
20914                 - Show more user-friendly device name if we got one from hal
20915
20916         * panel-applet/NMWirelessAppletDbus.c
20917                 - Grab "info.product" key from hal for network devices
20918                 - Cache the current active device
20919
20920 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20921
20922         * configure.in: Added en_CA to ALL_LINGUAS.
20923
20924 2004-08-27  Christian Rose  <menthos@menthos.com>
20925
20926         * configure.in: Added "sv" to ALL_LINGUAS.
20927
20928 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20929
20930         * Tag NetworkManager-0.2
20931
20932 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20933
20934         * initscripts/Makefile.am
20935         * configure.in: Make pass distcheck
20936
20937         * po/ChangeLog: added
20938
20939 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20940
20941         * panel-applet/NMWirelessApplet.c
20942                 - Remove debugging code
20943                 - Enable device switching from menus
20944
20945         * panel-applet/NMWirelessAppletDbus.[ch]
20946                 - Method for asking NM to switch devices
20947
20948         * src/NetworkManagerDevice.c
20949                 - Set dev->activating earlier, avoids race between
20950                         the dbus signal of "DeviceActivating" and setting
20951                         dev->activating (which is what NM's "status" method call
20952                         looks at)
20953
20954 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20955
20956         * panel-applet/NMWirelessApplet.[ch]
20957                 - Rework menu code to add devices to menu, and to show
20958                         signal strength for each access point.  Code cleanups
20959                         too.
20960
20961         * panel-applet/NMWirelessAppletDbus.c
20962                 - Grab network devices from NetworkManager too
20963                 - Grab quality information from NM for wireless networks
20964
20965         * src/NetworkManagerDbus.[ch]
20966                 - Add dbus methods for getting the HAL UDI from a device and
20967                         for getting its base quality, if its wireless
20968                 - Consolidate some functions (wireless network notifications,
20969                         device notifications)
20970                 - Add method for requesting NM to use a particular device
20971
20972         * src/NetworkManager.c
20973                 - Change for function consolidations from NetworkManagerDbus.c
20974                 - Implement active device locking and user-requested devices
20975                         (ie, tell NM to use a particular device instead of the one
20976                         it autochose)
20977
20978         * src/NetworkManagerDevice.c
20979                 - Add method for getting the base quality of a device, if its
20980                         wireless
20981                 - Grab device base quailty info from iwlib during scans
20982
20983         * src/NetworkManagerPolicy.c
20984                 - Use a user-requested device rather than the auto-chosen device
20985                         if we are told to
20986
20987 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20988
20989         * Makefile.am: add po as a supdir
20990
20991         * autogen.sh: use gnome-autogen.sh
20992
20993         * initscript/Gentoo/.cvsignore:
20994         * initscript/RedHat/.cvsignore: Shut up cvs
20995
20996         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20997
20998         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20999         (nmwa_fill): Use gettext.
21000
21001         * configure.in: add gettext support
21002         * po/.cvsignore:
21003         * po/NetworkManager.pot:
21004         * po/POTFILES.in:
21005
21006 2004-08-26  Seth Nickell  <seth@gnome.org>
21007
21008         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21009         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21010         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21011         (nmwa_dispose_menu_items), (nmwa_populate_menu),
21012         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21013         * panel-applet/NMWirelessApplet.h:
21014
21015         Use a menu bar instead of a button for the main clickable
21016         thingy.
21017         
21018 2004-08-25  Dan Williams <dcbw@redhat.com>
21019
21020         * src/NetworkManagerDevice.c
21021                 - (nm_device_set_enc_key): always set device to "open" mode instead of
21022                         turning encryption off, because the Cisco driver doesn't associate
21023                         with WEP-enabled access points unless we are in "open"
21024
21025 2004-08-25  Dan Williams <dcbw@redhat.com>
21026
21027         * src/NetworkManagerWireless.c
21028                 - Don't try to defererence blank passphrases
21029
21030 2004-08-25  Dan Williams <dcbw@redhat.com>
21031
21032         * panel-applet/NMWirelessApplet.c
21033                 - Rebuild the menu whenever a user clicks
21034
21035 2004-08-25  Dan Williams <dcbw@redhat.com>
21036
21037         * panel-applet/NMWirelessApplet.c
21038                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21039                         when NM isn't around or when its not connected
21040
21041         * src/NetworkManagerDevice.c
21042                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21043                         canceled.
21044
21045 2004-08-25  Dan Williams <dcbw@redhat.com>
21046
21047         * panel-applet/NMWirelessAppletDbus.c
21048                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21049                         for getting encryption, and don't stop on "val" once we've gotten it
21050                         from NetworkManager.  Short form:  encryption should now show up.
21051
21052 2004-08-25  Dan Williams <dcbw@redhat.com>
21053
21054         * panel-applet/NMWirelessApplet.c
21055                 - Set ESSID on a gconf trusted network too when force-setting the wireless
21056                         network to associate with
21057
21058 2004-08-25  Dan Williams <dcbw@redhat.com>
21059
21060         * panel-applet/*
21061                 - Rework the panel applet to do all DBUS communication in a separate
21062                         thread
21063
21064 2004-08-25  Dan Williams <dcbw@redhat.com>
21065
21066         * info-daemon/NetworkManagerInfo.[ch]
21067                 - Remove "get_next_priority" function
21068
21069         * info-daemon/NetworkManagerInfoDbus.[ch]
21070                 - Convert "priority" functions to "timestamp"
21071
21072 2004-08-25  Dan Williams <dcbw@redhat.com>
21073
21074         * src/NetworkManagerAP.[ch]
21075                 - Add a "enc_method_good" member and accessors to an Access Point
21076                         to signal when we've found the correct encryption method
21077                         for an access point
21078                 - Add a "timestamp" member and accessors, remove "priority" member
21079                         and accessors (use timestamps instead)
21080                 - Rename "wep_key"->"enc_key"
21081                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21082                         for a specified encryption method using the access points
21083                         source encryption key/passphrase
21084
21085         * src/NetworkManagerAPList.c
21086                 - When updating a network with dbus, grab timestamp now instead of
21087                         priority
21088
21089         * src/NetworkManagerDBus.[ch]
21090                 - Add signal for "DeviceActivating"
21091                 - Switch priority->timestamp
21092
21093         * src/NetworkManagerDevice.c
21094                 - Change references of "wep_key" -> "enc_key" or "key"
21095                 - Signal DeviceActivating when starting activation
21096                 - When activating a wireless device, if the access point we are connecting
21097                         to is encrypted, and we have a source key, try to generate a mangled
21098                         key and use that (ie, generate real WEP key from a passphrase)
21099                 - Rework device activation to fallback to other encryption methods if
21100                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21101                         first, then if that doesn't work fall back to direct hex key).
21102                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21103                         priority.  We now prefer the latest access point used, rather than using
21104                         a priority scheme
21105                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21106                         points we've just discovered, and merge in correct info from the global
21107                         access point lists
21108
21109 2004-08-25  Seth Nickell  <seth@gnome.org>
21110
21111         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21112         Debian support.
21113         
21114         * src/Makefile.am:
21115         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21116         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21117         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21118         (nm_system_delete_default_route),
21119         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21120         (nm_system_load_device_modules):
21121
21122 2004-08-24  Dan Willemsen <dan@willemsen.us>
21123
21124         * src/NetworkManager.c
21125           src/backends/NetworkManagerGentoo.c
21126           src/backends/NetworkManagerRedHat.c
21127           src/backends/NetworkManagerSystem.h
21128                 - Implement preliminary Gentoo support, adding a
21129                         nm_system_init function to the backend specification
21130
21131         * configure.in
21132                 - Distribution auto-detection, lowercase any user-fed
21133                         distribution names
21134
21135         * initscript/.cvsignore
21136           initscript/Makefile.am
21137           initscript/RedHat/Makefile.am
21138           initscript/RedHat/NetworkManager
21139           initscript/Gentoo/Makefile.am
21140           initscript/Gentoo/NetworkManager
21141                 - Refactored initscript code separately for each
21142                         distribution
21143
21144 2004-08-23  Dan Williams <dcbw@redhat.com>
21145
21146         * configure.in
21147           src/Makefile.am
21148           src/NetworkManagerDevice.c
21149           src/NetworkManager.c
21150           src/NetworkManagerUtils.[ch]
21151           src/backends/NetworkManagerSystem.h
21152           src/backends/NetworkManagerRedHat.c
21153           src/backends/NetworkManagerGentoo.c
21154                 - Refactor system-specific code into separate backends for
21155                         each distribution
21156
21157 2004-08-23  Dan Willemsen <dan@willemsen.us>
21158
21159         * dispatcher-daemon/NetworkManagerDispatcher.c
21160           info-daemon/NetworkManagerInfo.[ch]
21161           info-daemon/NetworkManagerInfoDbus.c
21162           info-daemon/NetworkManagerInfoPassphraseDialog.c
21163           src/NetworkManager.c
21164           src/NetworkManagerAP.c
21165           src/NetworkManagerAPList.c
21166           src/NetworkManagerDbus.c
21167           src/NetworkManagerDevice.c
21168           src/NetworkManagerPolicy.c
21169           src/NetworkManagerUtils.[ch]
21170           src/NetworkManagerWireless.c
21171                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21172
21173         * src/NetworkManager.c
21174                 - Fixed usage wording for --no-daemon
21175
21176 2004-08-23  Dan Williams <dcbw@redhat.com>
21177
21178         * panel-applet/NMWirelessApplet.c
21179                 - Update our state every second to get more responsive panel icon
21180                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21181                         was causing our marching ants status blips to never move when
21182                         looking for a wireless network
21183
21184         * src/NetworkManagerDevice.c
21185                 - (nm_device_activation_begin): return if activation has already begun
21186                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21187                         trusted/preferred network into the device's access point when the
21188                         scan list is processed
21189
21190 2004-08-23  Dan Williams <dcbw@redhat.com>
21191
21192         * initscript/NetworkManager
21193                 - Use NMLaunchHelper rather than sleeping
21194
21195         * initscript/NMLaunchHelper.c
21196           Makefile.am
21197                 - Add helper program that exits only when NM activates a device,
21198                         or 10 seconds have passed, whichever happens first.  This
21199                         stops the boot processes until we have a network connection,
21200                         which NM can't do because it daemonizes and brings the connection
21201                         up in the background.  Allows stuff like NFS to not die.
21202
21203 2004-08-20  Dan Williams <dcbw@redhat.com>
21204
21205         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21206                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21207                         for a network, set the essid as well since it may not exist yet
21208                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21209                         since WEP keys/passphrases are long and prone to entry-error
21210
21211         * panel-applet/Makefile.am
21212           panel-applet/wired.png
21213                 - Add (pulled from system-config-network temporarily)
21214
21215         * panel-applet/NMWirelessApplet.[ch]
21216                 - Show wired picture when a wired connection is used
21217                 - Rename wireless icon enums, adding WIRELESS
21218
21219         * src/NetworkManagerDevice.c
21220                 - (nm_device_activate_wireless): unset encryption before bringing
21221                         down the card and setting the essid
21222                 - (nm_device_activatin_worker): request a key from the user if the
21223                         AP we are connecting to is encrypted but we don't have a key
21224                         for it yet
21225                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21226                         strcmp() that prevented a user-entered key from actually getting
21227                         used
21228
21229 2004-08-16  Dan Williams <dcbw@redhat.com>
21230
21231         * initscript/NetworkManager
21232                 - Check for /sbin/ip
21233                 - Do sysctl magic that network service does
21234                 - sleep 4s after start to allow network time to come up [hack]
21235
21236         * src/Makefile.am
21237           src/NMLoadModules
21238                 - Load all network device kernel modules (hal doesn't know devices
21239                         are ethernet until the module is loaded, and therefore we don't know)
21240
21241         * src/NetworkManager.c
21242                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21243                         network devices, and bring up the loopback device explicitly
21244
21245         * src/NetworkManagerUtils.[ch]
21246                 - (nm_enable_loopback): new function
21247
21248 2004-08-13  Dan Williams <dcbw@redhat.com>
21249
21250         * configure.in
21251           panel-applet/Makefile.am
21252                 - Fix up cleanfiles and server_DATA/server_in_files
21253
21254         * README
21255                 - Update with some comments on theory of operation
21256
21257         * CONTRIBUTING
21258           Makefile.am
21259                 - Add CONTRIBUTING
21260
21261 2004-08-12  Dan Williams <dcbw@redhat.com>
21262
21263         * info-daemon/passphrase.glade
21264                 - Set window title to " "
21265
21266         * panel-applet/Makefile.am
21267           panel-applet/keyring.png
21268                 - Deliver to correct place
21269
21270         * panel-applet/NMWirelessApplet.[ch]
21271                 - Add comments
21272                 - Remove applet->have_active_device as its no longer used
21273                 - (nmwa_load_theme): load keyring.png too
21274                 - (error_dialog): remove
21275                 - (show_warning_dialog): subsume functionality of error dialog too
21276                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21277                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21278                         the networks menu
21279                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21280                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21281                         and when we get broadcasts of changed wireless access points only, not when the
21282                         user clicks on the button to display the menu (too long of a wait)
21283                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21284                         networks that are encrypted
21285                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21286                         menu item with g_object_set_data()
21287
21288         * panel-applet/NMWirelessAppletDbus.[ch]
21289                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21290                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21291                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21292                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21293                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21294                         activation/deactivation signals and rebuild the menu when they happen
21295
21296         * src/NetworkManager.c
21297                 - (main): use new nm_spawn_process() rather than system()
21298
21299         * src/NetworkManagerDbus.c
21300                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21301                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21302                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21303                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21304                         to freeze the best_ap.
21305
21306         * src/NetworkManagerDevice.[ch]
21307                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21308                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21309                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21310                         ap list
21311
21312         * src/NetworkManagerUtils.[ch]
21313                 - (nm_spawn_process): add replacement for system() usage
21314
21315 2004-08-11  Dan Williams <dcbw@redhat.com>
21316
21317         * panel-applet/NMWirelessApplet.[ch]
21318                 - Fix up copyright and credits to include Bastien and Eskil,
21319                         who created the gnome-applets wireless applet, from whose
21320                         skeleton this one was created
21321                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21322                         pixmap to draw is computed during nmwa_update_state()
21323                 - Applet now shows itself all the time due to panel packing issues
21324                         which caused the applet to previously never come back after hiding.
21325                         When a wired device is the active device, the applet shows "not connected"
21326
21327         * panel-applet/NMWirelessAppletDbus.[ch]
21328                 - Clean up error messages and show what function they are from
21329                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21330                 - Add new device type getters, and a status getter
21331
21332         * src/NetworkManagerDbus.c
21333                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21334                         network is actually in the device's ap list
21335                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21336
21337         * src/NetworkManagerDevice.c
21338                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21339                         card
21340
21341         * test/nmclienttest.c
21342                 - Report status of NetworkManager too
21343
21344 2004-08-11  Dan Williams <dcbw@redhat.com>
21345
21346         * info-daemon/NetworkManagerInfo.c:
21347                 - (main): clean up Seth's code style
21348
21349         * info-daemon/NetworkManagerInfoDbus.c:
21350                 - Use the more aptly-named path/service/interface constants from NetworkManager
21351                 - Don't return empty strings ("") as object paths ever, instead return errors
21352
21353         * panel-applet/NMWirelessApplet.c:
21354                 - Clean up Seth's code style
21355
21356         * src/NetworkManager.[ch]
21357                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21358                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21359
21360         * src/NetworkManagerAPList.[ch]
21361                 - Move Iter struct right above the iter functions to preserve opacity
21362                 - (nm_ap_list_remove_ap): implement
21363                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21364                         remove AP if NetworkManagerInfo doesn't know anything about it
21365                 - (nm_ap_list_diff): user NMAPList iterators
21366                 - (nm_ap_list_print_members): implement debugging function
21367
21368         * src/NetworkManagerDbus.[ch]
21369                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21370                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21371                         and move the actual key setting stuff into NetworkManagerDevice.c
21372                 - (nm_dbus_get_network_priority): return -1 now on errors
21373                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21374                         get lost, and force the active device to update its "best" ap when AP lists change
21375                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21376                         method call due to pending_device member removal
21377
21378         * src/NetworkManagerDevice.[ch]
21379                 - Move NMDevice structure to the top
21380                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21381                 - Remove Pending Action stuff from everywhere
21382                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21383                         activation for us.  This thread blocks until all conditions for activation have
21384                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21385                         then setup up the interface and runs dhclient.  We have to do this because there
21386                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21387                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21388                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21389                         can tell nm_device_activation_worker() that we've got a key
21390                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21391                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21392                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21393                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21394
21395         * src/NetworkManagerPolicy.c
21396                 - Remove anything to do with pending_device
21397                 - Adjust device activation to deal with activation-in-worker-thread
21398
21399         * src/NetworkManagerUtils.c
21400                 - Clean up locking debugging a bit
21401
21402         * src/NetworkManagerWireless.[ch]
21403                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21404                         was badly named and is better as a device function
21405
21406         * panel-applet/.cvsignore: add
21407
21408 2004-08-09  Seth Nickell  <seth@gnome.org>
21409
21410         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21411         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21412         (nmwa_new):
21413         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21414
21415         Don't load the menus until clicked on (also removes a call outside
21416         normal code paths at first load).
21417
21418         Hide applet when NM is not present.
21419         
21420         Improve printf debugging stuff.
21421         
21422 2004-08-09  Dan Williams <dcbw@redhat.com>
21423
21424         * dispatcher-daemon/NetworkManagerDispatcher.c:
21425                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21426                 - Use constants for NetworkManager interface, service, and path
21427
21428 2004-08-09  Dan Williams <dcbw@redhat.com>
21429
21430         * src/NetworkManagerDbus.c:
21431                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21432                         instead return an error message
21433                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21434                         on a wired device.  Also never return an empty object path, instead return an error message
21435
21436 2004-08-06  Seth Nickell  <seth@gnome.org>
21437
21438         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21439
21440         Check the error code when getting a connection.
21441         
21442         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21443
21444         Check if the NM service exists when initializing (rather than
21445         assuming it does not).
21446         
21447         * src/NetworkManagerDbus.c: (nm_dbus_init):
21448
21449         Don't acquire the well-known service name until we have
21450         registered object/path handlers and can actually receive
21451         calls.
21452         
21453 2004-08-06  Dan Williams <dcbw@redhat.com>
21454
21455         * panel-applet/*
21456                 - Add panel applet
21457
21458         * src/NetworkManagerPolicy.c
21459           src/NetworkManager.c
21460                 - Get access point lists from NetworkManagerInfo on-demand,
21461                         and look for ServiceCreate/ServiceDeleted signals to see when
21462                         we should query NMI for lists
21463         * src/NetworkManagerAPList.c
21464                 - Make sure to init the list's mutex
21465                 - Convert traversals of the list over to the list iter functions
21466
21467         * src/NetworkManagerDbus.[ch]
21468                 - Use more aptly-named path/service/interface constants
21469                 - Treat both active and pending devices the same for "getActiveDevice"
21470                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21471
21472         * src/NetworkManagerDevice.c
21473                 - Honor "ignored" network list when picking best ap to use
21474
21475 2004-08-06  Seth Nickell  <seth@gnome.org>
21476
21477         * aclocal.m4:
21478
21479         Autogenerated, remove from CVS.
21480         
21481         * autogen.sh:
21482
21483         Don't hardcode automake version.
21484         
21485         * configure.in:
21486         * info-daemon/Makefile.am:
21487         * info-daemon/NetworkManagerInfo.c: (main):
21488
21489         Use GnomeProgram et al. for doing session management.
21490         Use popt stuff for argument parsing rather than doing
21491         it manugally.
21492         
21493 2004-08-05  Dan Williams <dcbw@redhat.com>
21494
21495         * test/nminfotest.c
21496                 - Update to new NMI dbus API, check different network types
21497
21498         * info-daemon/NetworkManagerInfoDbus.c
21499                 - Update to new NM dbus API, ie network type sent in query message
21500
21501 2004-08-05  Dan Williams <dcbw@redhat.com>
21502
21503         * An assload of changes
21504
21505 2004-08-02  Dan Williams <dcbw@redhat.com>
21506
21507         * TODO
21508                 - new task: proper logging support
21509
21510         * info-daemon/NetworkManagerInfo.c
21511                 - Correct spelling of "canceled"
21512                 - Correct casting of objects for g_signal_connect()
21513
21514         * info-daemon/NetworkManagerInfoDbus.c
21515                 - Add defines for NetworkManager namespace and object path, and use them
21516                 - Add filter function to trap new signals from NetworkManager:
21517                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21518
21519         * info-daemon/passphrase.glade
21520                 - Change name of "ok" button to "Login to Network..."
21521                 - Mark invisible
21522
21523         * src/NetworkManager.c
21524                 - Code and debug message cleanups
21525                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21526                 - (nm_add_initial_devices) Check returned string array of devices
21527                         and don't try to add devices if array is NULL
21528                 - (main) Initialize libhal a bit later, make code a bit clearer
21529
21530         * src/NetworkManagerAP.[ch]
21531                 - New accessor and data member "matched": used to speed up AP list
21532                         diffing
21533                 - New accessor and data member "enc_method": will be used during key
21534                         fallback to cache which passphrase->key conversion actually works
21535                         so we don't have to do it every time
21536
21537         * src/NetworkManagerAPList.[ch]
21538                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21539                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21540                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21541                         dbus in response to those differences
21542
21543         * src/NetworkManagerDbus.[ch]
21544                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21545                         make an object path for that access point (NOTE that we don't yet check to
21546                         make sure that access point is actually in the device's AP list yet)
21547                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21548                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21549                         New: signal appearance/disappearance of wireless networks
21550                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21551                         key entry
21552
21553         * src/NetworkManagerDevice.[ch]
21554                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21555                 - (nm_device_ap_list_get) New: return the AP list (static function)
21556                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21557                         new one resulting from the scan with the old one
21558
21559         * src/NetworkManagerWireless.c
21560                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21561
21562         * test/nminfotest.c
21563                 - #define object paths and namespaces and use the #defines rather than static strings
21564                 - Test out user-key functionality of NetworkManagerInfo too
21565
21566 2004-07-29  Dan Williams <dcbw@redhat.com>
21567
21568         * info-daemon/NetworkManagerInfoDbus.c
21569           src/NetworkManagerDbus.c
21570                 - Update to current DBus (ie don't use decomposed paths when registering
21571                         object paths/fallbacks)
21572
21573 2004-07-27  Dan Williams <dcbw@redhat.com>
21574
21575         * Remove various Makefile.in files
21576
21577         * TODO
21578                 - Add some more items
21579
21580         * configure.in
21581                 - Add checks for OpenSSL/md5 headers and libs
21582
21583         * src/Makefile.am
21584                 - Use OpenSSL CFLAGS
21585
21586         * src/NetworkManagerAP.[ch]
21587                 - Remove 'stamp' functions, replace with 'invalid' functions
21588                         to support user cancelling WEP key entry
21589
21590         * src/NetworkManagerDbus.c
21591                 - Remove 'stamp' return functions
21592                 - Treat returned user key as a passphrase and convert to a WEP key,
21593                         but don't actually use the WEP key yet.  We use the returned user
21594                         key as a hexadecimal WEP key until we can figure out a UI for
21595                         passphrase-vs-hex key
21596
21597         * src/NetworkManagerWireless.[ch]
21598                 - Add passphrase-to-128bit-key function
21599
21600 2004-07-27  Dan Williams <dcbw@redhat.com>
21601
21602         * TODO
21603                 - Add a couple of items
21604
21605 2004-07-27  Dan Williams <dcbw@redhat.com>
21606
21607         * info-daemon/NetworkManagerInfo.c
21608                 - Update allowed network's GConf key when user enters a WEP key explicitly
21609
21610         * info-daemon/NetworkManagerDbus.c
21611                 - Fix some comments
21612                 - nmi_dbus_get_allowed_networks(): kill warning
21613
21614 2004-07-27  Dan Williams <dcbw@redhat.com>
21615
21616         * initscript/Makefile.in
21617                 - Remove
21618
21619         * initscript/Makefile.am
21620                 - Add correct rules to install the init.d initscript
21621
21622         * info-daemon/NetworkManagerInfoDbus.c
21623                 - Remove debug fprintf
21624
21625         * src/NetworkManagerDbus.[ch]
21626                 - Remove debug fprintfs
21627                 - Add macros for NetworkManagerInfo object path/namespace
21628                 - Use said macros instead of constant strings
21629
21630 2004-07-27  Dan Williams <dcbw@redhat.com>
21631
21632         * initscript/.cvsignore
21633                 - Add
21634
21635         * info-daemon/Makefile.am
21636                 - Install .glade files and keyring.png
21637                 - Fix stupid omission of a \ that caused half the flags not to be
21638                         passed to gcc
21639
21640         * info-daemon/NetworkManagerInfo.c
21641                 - gtk_signal_connect->g_signal_connect
21642                 - Alert NetworkManagerInfo to new glade file location
21643
21644 2004-07-27  Dan Williams <dcbw@redhat.com>
21645
21646         * test/nmclienttest.c
21647           test/nminfotest.c
21648                 - Add missing <dbus/dbus.h> headers
21649                 - Add GPL message at top
21650
21651 2004-07-27  Dan Williams <dcbw@redhat.com>
21652
21653         * src/NetworkManagerAPList.[ch]
21654           src/Makefile.am
21655                 - Add.  Deal with allowed network list additions, deletions, and updates
21656
21657         * dispatcher-daemon/NetworkManagerDispatcher.c
21658                 - Add missing <dbus/dbus.h> header
21659
21660         * info-daemon/NetworkManagerInfo.[ch]
21661                 - Add missing <dbus/dbus.h> header
21662                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21663                         network change
21664                 - Better error checking
21665
21666         * info-daemon/NetworkManagerInfoDbus.[ch]
21667                 - Add missing <dbus/dbus.h> header
21668                 - Convert to using dbus_message_append_args/dbus_message_get_args
21669                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21670                         that an allowed network changed.  We don't want to signal on individual
21671                         keys _inside_ an allowed network really, just want NM to query the info
21672                         daemon for updated info on all keys.
21673                 - Better error checking
21674
21675         * src/NetworkManager.[ch]
21676                 - Add missing <dbus/dbus.h> header
21677                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21678                 - Zero out NMData structure on free
21679                 - No longer use a thread for allowed_ap_list updating, instead its now done
21680                         through dbus queries against NetworkManagerInfo
21681                 - Populate allowed_ap_list initially before adding existing network devices
21682                         to the device list, so wireless devices can get their "best" AP
21683
21684         * src/NetworkManagerDbus.[ch]
21685                 - Convert to using dbus_message_append_args/dbus_message_get_args
21686                 - Better error checking
21687                 - Implement Allowed Network info functions to request allowed network
21688                         info from NetworkManagerInfo
21689                 - Implement the filter function to process signals from NetworkManagerInfo
21690                         about changing allowed networks
21691
21692         * src/NetworkManagerDevice.c
21693                 - Fix file descriptor leak in nm_device_update_ip4_address()
21694
21695 2004-07-27  Dan Williams <dcbw@redhat.com>
21696
21697         * .cvsignore
21698           src/.cvsignore
21699           test/.cvsignore
21700           dispatcher-daemon/.cvsignore
21701           info-daemon/.cvsignore
21702                 - Add .cvsignore files to reduce noise when diffing
21703
21704 2004-07-24  Dan Williams <dcbw@redhat.com>
21705
21706         * src/NetworkManager.[ch]
21707           src/NetworkManagerDbus.[ch]
21708           src/NetworkManagerDevice.[ch]
21709           src/NetworkManagerPolicy.c
21710           src/NetworkManagerWireless.[ch]
21711                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21712                 - Pass the NMData application data structure through all calls
21713                         that need it so we can get rid of nm_get_global_data()
21714                 - Change deallocation of the allowed_ap_list GSList in preparation
21715                         for not completely clearing it every time we get an update,
21716                         but instead getting incremental updates via GConf/dbus
21717
21718 2004-07-22  Dan Williams <dcbw@redhat.com>
21719
21720         * configure.in
21721                 - Add checks for GConf libs & headers & flags
21722
21723         * info-daemon/Makefile.am
21724                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21725
21726         * info-daemon/NetworkManagerInfo.[ch]
21727                 - Don't use gquarks for data storage, just use normal data storage
21728                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21729
21730         * info-daemon/NetworkManagerDbus.[ch]
21731                 - Add method call for getting allowed networks
21732                 - Add method calls for getting an allowed network's essid, priority, and key
21733                 - Hook the method calls up to GConf
21734                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21735                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21736                 
21737         * src/NetworkManagerDbus.[ch]
21738                 - Switch for enumeration of networks to using essid instead
21739
21740         * test/Makefile.am
21741           test/nminfotest.c
21742                 - Add test program for NetworkManagerInfo
21743
21744 2004-07-19  Dan Williams <dcbw@redhat.com>
21745
21746         * src/NetworkManagerDbus.c
21747                 - Switch from indexed device paths to names.  Less code, more efficient.
21748                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21749
21750 2004-07-19  Dan Williams <dcbw@redhat.com>
21751
21752         * dispatcher-daemon/NetworkManagerDispatcher.c
21753                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21754
21755 2004-07-19  Dan Williams <dcbw@redhat.com>
21756
21757         * Makefile.am
21758                 - Add info-daemon directory
21759
21760         * configure.in
21761                 - Check for glade libs and headers
21762                 - Add info-daemon directory
21763
21764         * src/NetworkManagerAP.c
21765                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21766                         copied over to the new AP.
21767
21768         * src/NetworkManagerDbus.c
21769           src/NetworkManagerDbus.h
21770                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21771                 - Remove nm_dbus_signal_need_key_for_network()
21772                 - Add disabled code for asynchronous user wep key callbacks
21773                 - Add functions for getting, setting, and cancelling user key operations
21774                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21775                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21776
21777         * src/NetworkManagerDevice.c
21778           src/NetworkManagerDevice.h
21779                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21780                         logic is in device activation now
21781                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21782                         key is wrong) trigger get-user-key pending action
21783                 - Implement get-user-key pending action stuff, tie to dbus messages
21784                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21785                 - Add nm_device_ap_list_get_ap_by_essid()
21786                 - Instead of copying "best" access points, ref them instead so that the key we set
21787                         sticks around
21788
21789         * src/NetworkManagerPolicy.c
21790                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21791                 - Don't cancel pending actions on a device if its the same device as last iteration
21792                 - Only promote pending_device->active_device if activation was successfull
21793
21794         * src/Makefile.am
21795                 - Rename nmclienttest->nmtest
21796
21797         * info-daemon/Makefile.am
21798           info-daemon/NetworkManagerInfo.c
21799           info-daemon/NetworkManagerInfo.h
21800           info-daemon/NetworkManagerInfoDbus.c
21801           info-daemon/NetworkManagerInfoDbus.h
21802           info-daemon/passphrase.glade
21803           info-daemon/NetworkManagerInfo.conf
21804           info-daemon/keyring.png
21805                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21806                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21807                         lists to NetworkManager by proxying user's GConf
21808           
21809
21810 2004-07-15  Dan Williams <dcbw@redhat.com>
21811
21812         * src/Makefile.am
21813                 - Turn on warnings
21814
21815         * src/NetworkManager.c
21816                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21817                         that doing the deactivation ourselves
21818                 - Cancel an pending actions on a device if its being removed
21819                 - Break up link state checking a bit, make non-active wireless cards
21820                         deactivated to save power
21821                 - Remove unused variables
21822
21823         * src/NetworkManager.h
21824                 - Add support for "pending" device
21825
21826         * src/NetworkManagerAP.h
21827           src/NetworkManagerAP.c
21828                 - Add support for determining whether and AP has encryption enabled or not
21829                 - AP address is now "struct ether_addr" rather than a string
21830
21831         * src/NetworkManagerDbus.h
21832           src/NetworkManagerDbus.c
21833                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21834                 - Changes for AP address from struct ether_addr->string
21835
21836         * src/NetworkManagerDevice.h
21837           src/NetworkManagerDevice.c
21838                 - Remove unused variables, fix warnings
21839                 - Add support for Pending Actions (things that block a device from being "active"
21840                         until they are completed).
21841                 - First pending action:  Get a WEP key from the user
21842                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21843                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21844                 - Update wireless link checking to try to determine if the AP we are associated
21845                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21846                         trigger the GetUserKey pending action on the device
21847                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21848                         up in that case, otherwise we can't scan or link-check on it
21849                 - Add IP address change notifications at appropriate points (still needs some work)
21850                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21851
21852         * src/NetworkManagerPolicy.h
21853           src/NetworkManagerPolicy.c
21854                 - Split out "best" access point determiniation into separate function
21855                 - Make device activation 2-stage:  first the device is pending, then
21856                         in the next iteration through it becomes "active" unless it has
21857                         pending actions
21858
21859         * src/NetworkManagerUtils.h
21860           src/NetworkManagerUtils.c
21861                 - Clean up unused variables and warnings
21862                 - Wrap our debug macros in {} to prevent possible confusion
21863
21864         * src/NetworkManagerWireless.c
21865                 - Forgot to return current best priority, which lead to last available AP always
21866                         being chosen no matter what its priority was.  Corrected.
21867
21868 2004-07-15  Dan Williams <dcbw@redhat.com>
21869
21870         * dispatcher-daemon/Makefile.am
21871                 - Turn on warnings
21872
21873         * dispatcher-daemon/NetworkManagerDispatcher.c
21874                 - Remove unused variables due to warnings
21875                 - Fix some comments
21876                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21877
21878 2004-07-06  Dan Williams <dcbw@redhat.com>
21879
21880         * src/NetworkManager.c
21881                 - Add IPv4 address update for active device during link state check
21882                 - Don't allow wireless cards to be powered up when they are not the
21883                         active device
21884
21885         * src/NetworkManagerDbus.c
21886           src/NetworkManagerDbus.h
21887                 - Add DBUS IPv4 address change signal
21888                 - Add DBUS IPv4 address get method for devices
21889
21890         * src/NetworkManagerDevice.c
21891                 - Make setting the WEP key actually work
21892                 - Move IP address get/set/update stuff here, per-device
21893                 - Power down/bring down wireless device when deactivated
21894                 - For scanning wireless devices, if first scan returned ENODATA, try again
21895
21896         * src/NetworkManagerPolicy.c
21897                 - Only set the WEP key for an allowed access point if there is one.
21898                         We were setting it to be blank if one wasn't specified.
21899
21900         * src/NetworkManagerUtils.h
21901           src/NetworkManagerUtils.c
21902                 - Move the IP address stuff to NetworkManagerDevice.c
21903
21904         * dispatcher-daemon/NetworkManagerDispatcher.c
21905                 - Add device IPv4 address change notification stuff
21906
21907 2004-07-05  Dan Williams <dcbw@redhat.com>
21908
21909         * dispatcher-daemon/NetworkManagerDispatcher.c
21910                 - A bit more descriptive state message
21911                 - Don't segfault when reading directory
21912
21913         * src/NetworkManager.h
21914                 - Remove NMData desired_ap member, its now
21915                         per-device rather than global
21916
21917         * src/NetworkManager.c
21918                 - Remove references to desired_ap
21919                 - Move the allowed AP list refresh stuff into a thread
21920
21921         * src/NetworkManagerDevice.c
21922           src/NetworkManagerDevice.h
21923                 - Each wireless device now has a "best ap"
21924                 - Make device activate/deactivate functions per-device
21925                 - Make wireless scanning per-device
21926                 - Add IPv4 address discover functions, stub IPv6 ones
21927                 - Move ethernet address validation functions to NetworkManagerUtils.c
21928                 - Add wireless access point accessor function
21929                 - Get/Set functions for "best ap"
21930
21931         * src/NetworkManagerPolicy.c
21932                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21933                 - Deal with per-device "best ap" rather than data->desired_apa
21934                 - Implement allowed access point worker thread
21935                 - Add nm_policy_essid_is_allowed() function
21936
21937         * src/NetworkManagerUtils.c
21938           src/NetworkManagerUtils.h
21939                 - Add nm_ethernet_address_is_valid() function
21940                 - Add IPv4/IPv6 address get functions
21941
21942         * src/NetworkManagerWireless.c
21943           src/NetworkManagerWireless.h
21944                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21945
21946 2004-06-29  Dan Williams <dcbw@redhat.com>
21947
21948         * dispatcher-daemon/NetworkManagerDispatcher.c
21949                 - Implement script callout functionality
21950
21951 2004-06-24  Dan Williams <dcbw@redhat.com>
21952
21953         * NetworkManager.c
21954             - Spacing cleanups
21955             - Flush device routes and ip addresses when added to the device list
21956
21957         * NetworkManagerDbus.c
21958             - Spacing cleanups
21959             - Add missing returns in the two signal functions
21960         
21961         * NetworkManagerPolicy.c
21962             - Spacing and variable cleanups
21963
21964 2004-06-24  Dan Williams <dcbw@redhat.com>
21965
21966         * Makefile.am
21967           Makefile.in
21968           configure.in
21969           dispatcher-daemon/Makefile.am
21970           dispatcher-daemon/Makefile.in
21971           dispatcher-daemon/NetworkManagerDispatcher.c
21972             - Add a daemon that receives signals from NetworkManager
21973                         and will (eventually) call scripts in /etc/somewhere
21974                         when devices go up or down.
21975         
21976         * NetworkManager.c
21977             - Spacing cleanups
21978             - Flush device routes and ip addresses when added to the device list
21979
21980         * NetworkManagerDbus.c
21981             - Spacing cleanups
21982             - Add missing returns in the two signal functions
21983         
21984         * NetworkManagerPolicy.c
21985             - Spacing and variable cleanups
21986             - Rename nm_policy_switch_interface->nm_policy_switch_device
21987             - nm_policy_switch_device():
21988                                 Use kill (pid) instead of system ("kill <pid>")
21989             - nm_state_modification_monitor():
21990                                 Add wireless essid to output of debug statements
21991                                 Correct typo in device compare to switch or not (should be !=)
21992                                 Don't sleep after sending "no longer active" signal, was useless
21993
21994 2004-06-24  Dan Williams <dcbw@redhat.com>
21995
21996         * Initial import