2008-11-19 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-19  Dan Williams  <dcbw@redhat.com>
2
3         * libnm-util/nm-connection.c
4           libnm-util/nm-connection.h
5                 - (nm_connection_replace_settings): take a GError
6
7         * libnm-glib/nm-settings.c
8           libnm-glib/nm-dbus-connection.c
9           src/nm-manager.c
10           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
11           system-settings/plugins/keyfile/nm-keyfile-connection.c
12           system-settings/plugins/keyfile/plugin.c
13                 - Handle, or don't handle, errors from nm_connection_replace_settings()
14
15 2008-11-19  Dan Williams  <dcbw@redhat.com>
16
17         * libnm-util/libnm-util.ver
18           libnm-util/nm-connection.c
19                 - (nm_setting_register, nm_setting_unregister): unexport; they are
20                         private and don't have a use outside libnm-util
21
22 2008-11-17  Dan Williams  <dcbw@redhat.com>
23
24         * src/nm-hso-gsm-device.c
25                 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
26                         devices
27
28 2008-11-17  Dan Williams  <dcbw@redhat.com>
29
30         * system-settings/plugins/ifcfg-fedora/reader.c
31                 - (read_mac_address): clean up
32                 - (make_wireless_setting): pass NULL array to read_mac_address() like it
33                         expects
34
35         * system-settings/plugins/ifcfg-fedora/plugin.c
36                 - (read_one_connection): don't segfault on NULL errors
37
38 2008-11-14  Dan Williams  <dcbw@redhat.com>
39
40         * Tag 0.7.0-rc2
41
42 2008-11-14  Dan Williams  <dcbw@redhat.com>
43
44         Handle gateways on different subnets
45
46         * src/NetworkManagerSystem.c
47                 - (add_ip4_route_to_gateway): gateway route should be link scope and
48                         a host route
49                 - (replace_default_ip4_route): use a destination address too; gateway
50                         address should be /0; don't leak the gateway route object
51
52 2008-11-14  Dan Williams  <dcbw@redhat.com>
53
54         * libnm-glib/libnm_glib.ver
55           libnm-glib/nm-dbus-settings-system.c
56           libnm-glib/nm-dbus-settings-system.h
57                 - Add libnm-glib bits for CanModify
58
59 2008-11-14  Dan Williams  <dcbw@redhat.com>
60
61         * introspection/nm-settings-system.xml
62           system-settings/src/dbus-settings.c
63           system-settings/src/dbus-settings.h
64                 - Add a "CanModify" property to indicate if any plugins support
65                         connection modification
66
67 2008-11-14  Dan Williams  <dcbw@redhat.com>
68
69         Relicense libnm-glib to LGPLv2+ with agreement from contributors
70
71 2008-11-14  Dan Williams  <dcbw@redhat.com>
72
73         * vpn-manager/nm-vpn-connection.c
74                 - (plugin_state_changed): clear VPN secrets on error to ensure they
75                         are always requested from the settings service (rh #429287)
76
77 2008-11-13  Dan Williams  <dcbw@redhat.com>
78
79         * libnm-util/crypto.c
80                 - (crypto_get_private_key_data): fix bad initial arg type checking
81                         from pkcs#12 patch
82
83 2008-11-13  Dan Williams  <dcbw@redhat.com>
84
85         Add support for PKCS#12 private keys (bgo #558982)
86
87         * libnm-util/crypto.c
88           libnm-util/crypto.h
89                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
90                         take a GByteArray instead of a filename
91                 - (file_to_g_byte_array): handle private key files too
92                 - (decrypt_key): take a GByteArray rather than data + len
93                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
94                         one function that takes a filename, and one that takes raw data;
95                         detect pkcs#12 files as well
96                 - (crypto_load_and_verify_certificate): detect file type
97                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
98                         functions
99
100         * libnm-util/crypto_gnutls.c
101                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
102                         whereby tail padding was incorrectly handled, leading to erroneous
103                         successes when trying to decrypt the data
104                 - (crypto_verify_cert): rework somewhat
105                 - (crypto_verify_pkcs12): validate pkcs#12 keys
106
107         * libnm-util/crypto_nss.c
108                 - (crypto_init): enable various pkcs#12 ciphers
109                 - (crypto_decrypt): take a GByteArray rather than data + len
110                 - (crypto_verify_cert): clean up
111                 - (crypto_verify_pkcs12): validate pkcs#12 keys
112
113         * libnm-util/test-crypto.c
114                 - Handle pkcs#12 keys
115
116         * libnm-util/nm-setting-8021x.c
117           libnm-util/nm-setting-8021x.h
118           libnm-util/libnm-util.ver
119                 - Add two new properties, 'private-key-password' and
120                         'phase2-private-key-password', to be used in conjunction with
121                         pkcs#12 keys
122                 - (nm_setting_802_1x_set_ca_cert_from_file,
123                    nm_setting_802_1x_set_client_cert_from_file,
124                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
125                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
126                         type
127                 - (nm_setting_802_1x_get_private_key_password,
128                    nm_setting_802_1x_get_phase2_private_key_password): return private
129                         key passwords
130                 - (nm_setting_802_1x_set_private_key_from_file,
131                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
132                         key from a file, and update the private key password at the same time
133                 - (nm_setting_802_1x_get_private_key_type,
134                    nm_setting_802_1x_get_phase2_private_key_type): return the private
135                         key type
136
137         * src/supplicant-manager/nm-supplicant-settings-verify.c
138                 - Whitelist private key passwords
139
140         * src/supplicant-manager/nm-supplicant-config.c
141                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
142                         add the private key password to the supplicant config, but do not
143                         add the client certificate (as required by wpa_supplicant)
144
145 2008-11-12  Tambet Ingo  <tambet@gmail.com>
146
147         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
148         (add_secrets): Don't add empty secrets to the secrets hash table.
149
150 2008-11-07  Dan Williams  <dcbw@redhat.com>
151
152         * libnm-util/nm-setting-wireless.c
153                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
154                         that cased this function to return garbage, breaking hidden AP
155                         detection
156
157 2008-11-07  Dan Williams  <dcbw@redhat.com>
158
159         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
160
161         * src/NetworkManagerSystem.c
162           src/NetworkManagerSystem.h
163                 - (nm_system_device_set_ip4_route): return the route that was added
164                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
165                         public, clean up, and return the route that was added
166                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
167                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
168                         flags to allow only certain attributes of the NMIP4Config to be
169                         applied
170
171         * src/nm-device.c
172                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
173                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
174                         what's really changed between the old and new configs; don't export
175                         the new IP4 config on failure; always send the DNS info to the
176                         named manager
177
178         * src/vpn-manager/nm-vpn-connection.c
179                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
180                         parent device's IP4Config and re-add the VPN gateway route when it
181                         changes
182                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
183                         nm_system_apply_ip4_config() no longer does) and cache it for later
184                 - (connection_state_changed): move cleanup code to its own function
185                 - (vpn_cleanup): delete any previously added VPN gateway route; and
186                         re-apply the parent device's addresses and routes using
187                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
188
189 2008-11-07  Dan Williams  <dcbw@redhat.com>
190
191         * src/nm-ip4-config.c
192           src/nm-ip4-config.h
193                 - (nm_ip4_config_diff): new function; return the difference between two
194                         IP4 configs
195                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
196
197 2008-11-05  Dan Williams  <dcbw@redhat.com>
198
199         * nm-ip4-config.c
200           nm-ip4-config.h
201                 - (nm_ip4_config_compare): compare two IP4 configs
202
203 2008-11-05  Dan Williams  <dcbw@redhat.com>
204
205         * src/NetworkManagerPolicy.c
206                 - (update_etc_hosts): only add newline if not the last line of the file
207                         (Jonathan Miner)
208
209 2008-11-05  Dan Williams  <dcbw@redhat.com>
210
211         * src/dhcp-manager/nm-dhcp-dhclient.c
212                 - (get_leasefile_for_iface): move lease files back to where dhclient
213                         puts them
214
215 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
216
217         * initscripts/Debian/NetworkManager
218                 - Update to what Debian is actually using
219
220 2008-11-05  Tambet Ingo  <tambet@gmail.com>
221
222         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
223
224 2008-11-03  Dan Williams  <dcbw@redhat.com>
225
226         * system-settings/src/main.c
227                 - (add_default_dhcp_connection): make the fallback connection read-only
228
229         * libnm-glib/nm-settings.c
230           libnm-glib/nm-settings.h
231                 - Add detailed errors
232                 - (impl_exported_connection_update, impl_exported_connection_delete):
233                         return an error if the connection is read-only
234
235         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
236           system-settings/plugins/keyfile/nm-keyfile-connection.c
237           system-settings/src/main.c
238                 - Use more detailed errors
239
240         * system-settings/src/nm-system-config-error.c
241           system-settings/src/nm-system-config-error.h
242           system-settings/src/dbus-settings.c
243                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
244                         NM_SETTINGS_ERROR_INVALID_CONNECTION
245
246 2008-11-02  Dan Williams  <dcbw@redhat.com>
247
248         * Add license headers to everything in src/
249
250 2008-11-02  Dan Williams  <dcbw@redhat.com>
251
252         * Tag 0.7.0-rc1
253
254 2008-11-02  Dan Williams  <dcbw@redhat.com>
255
256         * src/NetworkManagerAP.c
257                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
258                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
259                         secrets when connecting to an encrypted network failed
260
261 2008-10-30  Dan Williams  <dcbw@redhat.com>
262
263         * libnm-util/libnm-util.ver
264           libnm-util/nm-setting-ip6-config.c
265           libnm-util/nm-setting-ip6-config.h
266           libnm-util/Makefile.am
267                 - Make properties private and add accessor functions
268                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
269
270         * libnm-util/nm-connection.c
271           libnm-util/nm-utils.c
272           libnm-util/nm-utils.h
273                 - Ignore IPv6 stuff for now
274
275 2008-10-30  Dan Williams  <dcbw@redhat.com>
276
277         * libnm-util/libnm-util.ver
278           libnm-util/nm-setting-8021x.c
279           libnm-util/nm-setting-8021x.h
280                 - Make properties private and add accessor functions
281
282         * src/supplicant-manager/nm-supplicant-config.c
283           system-settings/plugins/ifcfg-suse/parser.c
284                 - Use 802.1x setting accessors
285
286 2008-10-30  Dan Williams  <dcbw@redhat.com>
287
288         * libnm-util/libnm-util.ver
289           libnm-util/nm-setting-wireless-security.c
290           libnm-util/nm-setting-wireless-security.h
291                 - Make properties private and add accessor functions
292
293         * libnm-util/nm-setting-wireless.c
294           src/NetworkManagerAP.c
295           src/nm-device-wifi.c
296           src/supplicant-manager/nm-supplicant-config.c
297           system-settings/plugins/ifcfg-fedora/reader.c
298           system-settings/plugins/ifcfg-suse/parser.c
299                 - Use wireless security accessors
300
301 2008-10-30  Dan Williams  <dcbw@redhat.com>
302
303         * src/nm-device-ethernet.c
304           src/nm-device-wifi.c
305           src/nm-device.c
306           src/ppp-manager/nm-ppp-manager.c
307                 - Harmonize return checking of ioctl
308
309         * system-settings/plugins/ifcfg-fedora/reader.c
310                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
311
312 2008-10-30  Dan Williams  <dcbw@redhat.com>
313
314         * src/ppp-manager/nm-ppp-manager.c
315                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
316                         ppp_generic module to create it (bgo #533064)
317
318 2008-10-30  Dan Williams  <dcbw@redhat.com>
319
320         Patch from Alexander Sack <asac@canonical.com>
321
322         Fix "ppp connections don't honour ip4 connection settings"
323
324         * src/nm-device-ethernet.c
325                 - (real_act_stage4_get_ip4_config): merge ip4config settings
326                         with results from ppp manager
327
328         * src/nm-serial-device.c
329                 - (real_act_stage4_get_ip4_config): merge ip4config settings
330                         with results from ppp manager
331
332 2008-10-29  Dan Williams  <dcbw@redhat.com>
333
334         * libnm-util/libnm-util.ver
335           libnm-util/nm-setting-ip4-config.c
336           libnm-util/nm-setting-ip4-config.h
337                 - Make properties private and add accessor functions
338
339         * callouts/nm-dispatcher-action.c
340           libnm-glib/libnm-glib-test.c
341           libnm-util/nm-utils.c
342           src/NetworkManagerPolicy.c
343           src/NetworkManagerSystem.c
344           src/NetworkManagerUtils.c
345           src/dhcp-manager/nm-dhcp-dhclient.c
346           src/dhcp-manager/nm-dhcp-manager.c
347           src/dnsmasq-manager/nm-dnsmasq-manager.c
348           src/nm-device-wifi.c
349           src/nm-device.c
350           src/nm-hso-gsm-device.c
351           src/nm-ip4-config.c
352           src/nm-ip4-config.h
353           src/ppp-manager/nm-ppp-manager.c
354           src/vpn-manager/nm-vpn-connection.c
355           system-settings/plugins/ifcfg-fedora/reader.c
356           system-settings/plugins/ifcfg-suse/parser.c
357           system-settings/plugins/ifcfg-suse/plugin.c
358           system-settings/plugins/ifupdown/parser.c
359           test/nm-tool.c
360           vpn-daemons/vpnc/properties/nm-vpnc.c
361                 - Use IP4 accessor functions
362
363 2008-10-29  Tambet Ingo  <tambet@gmail.com>
364
365         Half of it by Dan Williams <dcbw@redhat.com>
366
367         * libnm-util/libnm-util.ver
368         libnm-util/nm-setting-vpn.c
369         libnm-util/nm-setting-vpn.h
370                 - Make properties private and add accessor functions.
371
372         * src/vpn-manager/nm-vpn-connection.c
373         src/vpn-manager/nm-vpn-manager.c
374         system-settings/plugins/keyfile/reader.c
375         vpn-daemons/openvpn/properties/auth-helpers.c
376         vpn-daemons/openvpn/properties/import-export.c
377         vpn-daemons/openvpn/properties/nm-openvpn.c
378         vpn-daemons/openvpn/src/nm-openvpn-service.c
379         vpn-daemons/pptp/auth-dialog/main.c
380         vpn-daemons/pptp/properties/advanced-dialog.c
381         vpn-daemons/pptp/properties/nm-pptp.c
382         vpn-daemons/pptp/src/nm-pptp-service.c
383         vpn-daemons/vpnc/properties/nm-vpnc.c
384         vpn-daemons/vpnc/src/nm-vpnc-service.c
385                 - Use VPN setting accessors.
386
387 2008-10-28  Dan Williams  <dcbw@redhat.com>
388
389         Patch from Tambet Ingo <tambet@gmail.com>
390
391         * libnm-util/libnm-util.ver
392           libnm-util/nm-setting-wireless.c
393           libnm-util/nm-setting-wireless.h
394                 - Make properties private and add accessor functions
395
396         * src/NetworkManagerAP.c
397           src/nm-device-wifi.c
398           src/nm-manager.c
399           src/supplicant-manager/nm-supplicant-config.c
400           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
401           system-settings/plugins/ifcfg-fedora/reader.c
402           system-settings/plugins/ifcfg-suse/parser.c
403           system-settings/plugins/ifupdown/parser.c
404                 - Use wireless setting accessors
405
406 2008-10-27  Dan Williams  <dcbw@redhat.com>
407
408         Patch from Tambet Ingo <tambet@gmail.com>
409
410         * libnm-util/libnm-util.ver
411           libnm-util/nm-setting-ppp.c
412           libnm-util/nm-setting-ppp.h
413                 - Make properties private and add accessor functions
414
415         * src/ppp-manager/nm-ppp-manager.c
416                 - Use ppp setting accessors
417
418 2008-10-27  Dan Williams  <dcbw@redhat.com>
419
420         Patch from Tambet Ingo <tambet@gmail.com>
421
422         * libnm-util/nm-setting.h
423           libnm-util/nm-setting.c
424                 - Make properties private and add accessor functions
425
426         * libnm-util/nm-connection.c
427           libnm-util/nm-setting-8021x.c
428           libnm-util/nm-setting-cdma.c
429           libnm-util/nm-setting-connection.c
430           libnm-util/nm-setting-gsm.c
431           libnm-util/nm-setting-ip4-config.c
432           libnm-util/nm-setting-ip6-config.c
433           libnm-util/nm-setting-ppp.c
434           libnm-util/nm-setting-pppoe.c
435           libnm-util/nm-setting-serial.c
436           libnm-util/nm-setting-template.c
437           libnm-util/nm-setting-vpn.c
438           libnm-util/nm-setting-wired.c
439           libnm-util/nm-setting-wireless-security.c
440           libnm-util/nm-setting-wireless.c
441           system-settings/plugins/keyfile/reader.c
442           system-settings/plugins/keyfile/writer.c
443                 - Use setting accessors
444
445 2008-10-27  Dan Williams  <dcbw@redhat.com>
446
447         * libnm-util/libnm-util.ver
448           libnm-util/nm-setting-connection.c
449           libnm-util/nm-setting-connection.h
450                 - Add a 'read-only' property that indicates the connection cannot be
451                         modified
452
453         * system-settings/plugins/ifcfg-fedora/reader.c
454           system-settings/plugins/ifcfg-suse/parser.c
455           system-settings/plugins/ifupdown/parser.c
456                 - These plugins are read-only at the moment
457
458         * system-settings/plugins/keyfile/reader.c
459           system-settings/plugins/keyfile/writer.c
460                 - Read-only shouldn't get saved out to files or read in from them
461
462 2008-10-27  Tambet Ingo  <tambet@gmail.com>
463
464         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
465         correct speed reporting for fast devices (kernel >= 2.6.27).
466
467 2008-10-26  Dan Williams  <dcbw@redhat.com>
468
469         Attempt to compensate for modems that don't enable full AT parsing before
470         the PIN has been entered.
471
472         * src/nm-gsm-device.c
473                 - (init_modem): accept different init strings
474                 - (init_done): try different init strings on failure
475                 - (check_pin_done): on PIN success, do full modem init
476
477 2008-10-26  Dan Williams  <dcbw@redhat.com>
478
479         Patch from Tambet Ingo <tambet@gmail.com>
480
481         * libnm-util/libnm-util.ver
482           libnm-util/nm-setting-connection.c
483           libnm-util/nm-setting-connection.h
484                 - Make properties private and add accessor functions
485
486         * src/NetworkManagerPolicy.c
487           src/nm-cdma-device.c
488           src/nm-device-ethernet.c
489           src/nm-device-interface.c
490           src/nm-device-wifi.c
491           src/nm-gsm-device.c
492           src/nm-manager.c
493           src/ppp-manager/nm-ppp-manager.c
494           src/vpn-manager/nm-vpn-connection.c
495           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
496           system-settings/plugins/ifcfg-fedora/plugin.c
497           system-settings/plugins/ifcfg-fedora/reader.c
498           system-settings/plugins/ifcfg-suse/parser.c
499           system-settings/plugins/ifupdown/parser.c
500           system-settings/plugins/keyfile/nm-keyfile-connection.c
501           system-settings/plugins/keyfile/plugin.c
502           system-settings/plugins/keyfile/writer.c
503           system-settings/src/main.c
504                 - Use those accessors
505
506 2008-10-26  Dan Williams  <dcbw@redhat.com>
507
508         Patch from Tambet Ingo <tambet@gmail.com>
509
510         * libnm-util/libnm-util.ver
511           libnm-util/nm-setting-gsm.c
512           libnm-util/nm-setting-gsm.h
513                 - Make properties private and add accessor functions
514
515         * src/nm-gsm-device.c
516           src/nm-hso-gsm-device.c
517           src/ppp-manager/nm-ppp-manager.c
518                 - Use those accessors
519
520 2008-10-26  Dan Williams  <dcbw@redhat.com>
521
522         Patch from Tambet Ingo <tambet@gmail.com>
523
524         * libnm-util/libnm-util.ver
525           libnm-util/nm-setting-cdma.c
526           libnm-util/nm-setting-cdma.h
527                 - Make properties private and add accessor functions
528
529         * src/nm-cdma-device.c
530           src/ppp-manager/nm-ppp-manager.c
531                 - Use those accessors
532
533 2008-10-26  Dan Williams  <dcbw@redhat.com>
534
535         Patch from Tambet Ingo <tambet@gmail.com>
536
537         * libnm-util/libnm-util.ver
538           libnm-util/nm-setting-pppoe.c
539           libnm-util/nm-setting-pppoe.h
540                 - Make properties private and add accessor functions
541
542         * src/nm-device-ethernet.c
543           src/ppp-manager/nm-ppp-manager.c
544                 - Use those accessors
545
546 2008-10-26  Dan Williams  <dcbw@redhat.com>
547
548         Patch from Tambet Ingo <tambet@gmail.com>
549
550         * libnm-util/libnm-util.ver
551           libnm-util/nm-setting-wired.c
552           libnm-util/nm-setting-wired.h
553                 - Make properties private and add accessor functions
554
555         * src/nm-device-ethernet.c
556           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
557           system-settings/plugins/ifcfg-suse/parser.c
558           system-settings/src/main.c
559                 - Use those accessors
560
561 2008-10-26  Dan Williams  <dcbw@redhat.com>
562
563         Patch from Tambet Ingo <tambet@gmail.com>
564
565         * libnm-util/libnm-util.ver
566           libnm-util/nm-setting-serial.c
567           libnm-util/nm-setting-serial.h
568           src/nm-serial-device.c
569                 - Make properties private and use accessors instead
570
571 2008-10-26  Dan Williams  <dcbw@redhat.com>
572
573         * src/supplicant-manager/nm-supplicant-interface.c
574           src/supplicant-manager/nm-supplicant-interface.h
575           src/supplicant-manager/nm-supplicant-manager.c
576           src/supplicant-manager/nm-supplicant-manager.h
577                 - Add state-to-string conversion functions
578
579         * src/nm-device-wifi.c
580           src/nm-device-ethernet.c
581                 - Normalize state info logging and use strings instead of numbers
582
583 2008-10-26  Dan Williams  <dcbw@redhat.com>
584
585         * src/NetworkManagerPolicy.c
586                 - (update_routing_and_dns): ignore host routes when determining whether
587                         a VPN connection should own the default route (bgo #552594)
588
589 2008-10-24  Dan Williams  <dcbw@redhat.com>
590
591         * src/nm-gsm-device.c
592                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
593
594 2008-10-23  Dan Williams  <dcbw@redhat.com>
595
596         * src/ppp-manager/nm-ppp-manager.c
597                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
598                         add really important stuff to the command line to ensure that NM
599                         overrides /etc/ppp/options (bgo #556781)
600
601 2008-10-22  Dan Williams  <dcbw@redhat.com>
602
603         * src/NetworkManagerSystem.c
604           src/nm-device.c
605                 - Use the device's IP interface where appropriate (Per Hallsmark)
606
607 2008-10-22  Dan Williams  <dcbw@redhat.com>
608
609         * src/nm-gsm-device.c
610                 - (schedule_automatic_registration_again): use a short timeout here
611                         instead of an idle handler to avoid using too much CPU polling for
612                         something we should be waiting a bit for anyway
613
614 2008-10-22  Dan Williams  <dcbw@redhat.com>
615
616         * include/NetworkManager.h
617           introspection/nm-device.xml
618                 - Add device state change reason for carrier changes
619
620         * src/nm-device-ethernet.c
621                 - (set_carrier): use the carrier change reason when changing device
622                         state in response to carrier changes
623
624 2008-10-21  Dan Williams  <dcbw@redhat.com>
625
626         * src/NetworkManagerPolicy.c
627                 - (update_etc_hosts): don't leak errors, and ensure that
628                         g_file_set_contents() gets a valid error placeholder (rh #461933)
629
630 2008-10-21  Dan Williams  <dcbw@redhat.com>
631
632         * src/nm-manager.c
633                 - (free_get_settings_info): don't use the DBusGProxy which could be
634                         disposed of by the time the function is called
635                 - (internal_new_connection_cb): save connection scope
636                 - (connection_get_settings_cb): don't replace a connection unless it's
637                         actually different from the existing one; fixes an issue where
638                         killing the settings service wouldn't deactivate an active connection
639                         provided by that settings service, because it was using a connection
640                         that had already been replaced in the system or user hash
641
642 2008-10-21  Dan Williams  <dcbw@redhat.com>
643
644         * src/NetworkManager.c
645                 - (main): keep the DHCP manager around since it's a singleton; fixes
646                         a use-after-free exposed by r4196 since the DHCP manager singleton
647                         variable isn't cleared when the DHCP manager object is finalized
648
649 2008-10-20  Dan Williams  <dcbw@redhat.com>
650
651         * libnm-util/nm-setting-wireless-security.c
652                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
653
654 2008-10-20  Dan Williams  <dcbw@redhat.com>
655
656         * src/supplicant-manager/nm-supplicant-config.c
657                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
658
659 2008-10-20  Dan Williams  <dcbw@redhat.com>
660
661         * src/dhcp-manager/nm-dhcp-manager.c
662                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
663                         manager object already refs it once
664                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
665                         also get cleaned up by nm_dhcp_device_destroy() to prevent
666                         double-frees
667
668 2008-10-20  Dan Williams  <dcbw@redhat.com>
669
670         * src/nm-manager.c
671                 - (initial_get_connections): use private dbus manager, don't keep
672                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
673                         manager object.
674
675 2008-10-18  Dan Williams  <dcbw@redhat.com>
676
677         * libnm-glib/nm-settings.c
678           libnm-glib/nm-settings.h
679                 - Rename the "get_secrets" virtual function "service_get_secrets" to
680                         clarify when it's used; NMExportedConnetion is a base-class for both
681                         the client and service side, which is sort of confusing, and
682                         get_secrets only makes sense on the service side.
683
684         * libnm-glib/nm-dbus-connection.c
685                 - (get_secrets): remove, unused, and clients need to do extra work to
686                         get secrets anyway since the call can block on the remote side
687
688         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
689           system-settings/plugins/keyfile/nm-keyfile-connection.c
690                 - Fix up for get_secrets -> service_get_secrets
691
692 2008-10-16  Dan Williams  <dcbw@redhat.com>
693
694         * src/nm-device-wifi.c
695                 - (constructor): correctly determine encryption capabilities
696
697 2008-10-15  Dan Williams  <dcbw@redhat.com>
698
699         * src/nm-device-wifi.c
700                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
701                         (Johannes Berg)
702
703 2008-10-15  Dan Williams  <dcbw@redhat.com>
704
705         * src/NetworkManagerSystem.c
706                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
707                         if the ip4_dest is in a smaller subnet contained within a subnet
708                         the machine is currently on, the destination is in the same subnet
709                 - (nm_system_device_set_ip4_route): move subnet checks to callers
710                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
711                         subnet as the parent device, and if so, don't add the direct
712                         host route via the parent device's gateway (bgo #481620)
713                 - (nm_system_apply_ip4_config): check whether the route to be added
714                         is contained within a subnet the device is already on
715
716 2008-10-11  Dan Williams  <dcbw@redhat.com>
717
718         * include/NetworkManager.h
719           introspection/nm-device.xml
720           include/NetworkManagerVPN.h
721                 - Add a few more state reasons for the device deactivated state
722
723         * src/nm-device-interface.c
724           src/nm-device-interface.h
725                 - (nm_device_interface_deactivate): add a 'reason' argument
726
727         * src/nm-device.c
728           src/nm-device.h
729                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
730                 - (nm_device_state_changed): pass the state change reason to
731                         nm_device_take_down()
732                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
733                         to the state change function
734
735         * src/nm-manager.c
736           src/nm-manager.h
737                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
738                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
739                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
740                         something reasonable along to VPN deactivation
741
742         * src/vpn-manager/nm-vpn-manager.c
743           src/vpn-manager/nm-vpn-manager.h
744                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
745                         pass that along to nm_vpn_connection_disconnect()
746
747 2008-10-11  Dan Williams  <dcbw@redhat.com>
748
749         * src/nm-device-wifi.c
750                 - (can_scan): remove old madwifi hack for not scanning while connected
751
752 2008-10-11  Dan Williams  <dcbw@redhat.com>
753
754         Add support for VPN subnet gateways (bgo #549196)
755
756         * include/NetworkManager.h
757                 - Add key for internal VPN subnet gateway
758
759         * src/vpn-manager/nm-vpn-connection.c
760                 - (ip_address_to_string): return a const from a static buffer so we
761                         don't leak a lot of strings
762                 - (print_vpn_config): print internal VPN gateway as well
763                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
764                         VPN service too
765                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
766
767         * src/NetworkManagerSystem.c
768           src/NetworkManagerSystem.h
769                 - (nm_system_device_replace_default_ip4_route): split into two, one for
770                         VPN connections and one for normal devices
771                 - (replace_default_ip4_route): break out route stuff into its own function
772                 - (nm_system_replace_default_ip4_route_vpn,
773                    nm_system_replace_default_ip4_route): simplify by having two cases,
774                         one for VPNs and one for normal devices
775
776         * src/NetworkManagerPolicy.c
777                 - (update_routing_and_dns): simplify, use split default route replacement
778                         functions
779
780 2008-10-10  Dan Williams  <dcbw@redhat.com>
781
782         Rework default route handling to consolidate decisions in the policy,
783         and to take active VPN connections into account when changing the default
784         route (bgo #545912)
785
786         * src/NetworkManager.c
787                 - (main): pass the vpn_manager to the policy so it knows about active
788                         VPN connections; clean up the named manager which wasn't done before
789
790         * src/NetworkManagerPolicy.c
791           src/NetworkManagerPolicy.h
792                 - (nm_policy_new): get a clue about the vpn_manager
793                 - (update_default_route): remove, fold into update_routing_and_dns()
794                 - (update_routing_and_dns): handle active VPN connections too; an
795                         active VPN connection becomes the default route if it does not have
796                         server-specified or user-specified custom routes.  Otherwise, the
797                         best active device gets the default route
798                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
799                    nm_policy_destroy): track VPN connection activation and deactivation
800                         and update the default route when appropriate
801
802         * src/NetworkManagerSystem.c
803           src/NetworkManagerSystem.h
804                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
805                         in the VPN connection itself
806                 - (nm_system_vpn_device_set_from_ip4_config,
807                    nm_system_device_set_from_ip4_config): merge together to make
808                         nm_system_apply_ip4_config()
809                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
810                         via the parent device
811                 - (nm_system_apply_ip4_config): simplify
812                 - (add_ip4_route_to_gateway): new function; add a direct route to the
813                         gateway if needed
814                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
815                         route stuff out into add_ip4_route_to_gateway() for clarity
816
817         * src/nm-device.c
818                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
819
820         * src/vpn-manager/nm-vpn-connection.c
821           src/vpn-manager/nm-vpn-connection.h
822                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
823                    nm_vpn_connection_get_parent_device): add
824                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
825                         device explicit
826                 - (connection_state_changed): update the named manager now that
827                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
828                         useful on errors
829
830         * src/vpn-manager/nm-vpn-manager.c
831           src/vpn-manager/nm-vpn-manager.h
832                 - Add a 'connection-activated' signal
833                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
834                         policy to find out about active VPN connections
835
836 2008-10-10  Tambet Ingo  <tambet@gmail.com>
837
838         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
839         a daemon to prevent NM logging spew on console on startup and shutdown (due
840         to dependency loop between NM and syslog).
841
842 2008-10-10  Alexander Sack  <asac@ubuntu.com>
843
844         Implement managed mode. We bind devices configured in /etc/network/interfaces
845         to their connections by updating wired/wireless setting with the
846         mac address of the device.
847
848         * system-settings/plugins/ifupdown/plugin.c
849                 - (get_net_address_for_udi): implement function to retrieve MAC
850                         address of udi from hal in GByteArray format
851                 - (bind_device_to_connection): bind mac address of device to
852                         wired/wireless system connection
853                 - (hal_device_added_cb): call bind_device_to_connection for
854                         system connections with a matching interface.name
855                 - (hal_device_added_cb): ensure that all code paths
856                         properly free the "iface" string.
857
858 2008-10-10  Alexander Sack  <asac@ubuntu.com>
859
860         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
861         mode of the ifupdown system config plugin.
862
863         * system-settings/plugins/ifupdown/plugin.c
864                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
865                         private unmanage_well_known state field accordingly
866
867 2008-10-10  Alexander Sack  <asac@ubuntu.com>
868
869         Implement unmanaged mode that will prevent all devices in the
870         well_known_udis set from being touched by NetworkManager
871
872         * system-settings/plugins/ifupdown/plugin.c
873                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
874                         unmanage_well_known field used to turn on/off unmanaged
875                         mode
876                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
877                         signal when well_known_udis get added/removed
878                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
879                         if we are in unmanaged mode
880
881 2008-10-10  Alexander Sack  <asac@ubuntu.com>
882
883         Add support to track network devices that have a configuration
884         with a matching interface.name in /etc/network/interfaces
885
886         * system-settings/plugins/ifupdown/plugin.c
887                 - (typedef struct SCPluginIfupdownPrivate): add hash table
888                         to track |well_known_udis|
889                 - (get_iface_for_udi): helper function to get interface.name
890                         for a udi
891                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
892                         that add and remove devices to and from the well_known_udis
893                         set depending on whether their |interface.name| matches
894                         any interface definition in /etc/network/interfaces
895                 - (SCPluginIfupdown_init): connect callbacks from above with
896                         hal_mgr and setup well_known_udis hashtable
897                 - (GObject__dispose): destroy well_known_udis hashtable
898                 - (hal_device_added_cb2): implement wrapper callback with GFunc
899                         signature. user_data is supposed to be a triple (hal_mgr,
900                         config and devtype)
901                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
902                         startup and call hal_device_added_cb2
903
904 2008-10-10  Alexander Sack  <asac@ubuntu.com>
905
906         Remove implementation for not used NMSystemConfigInterface callback functions
907         in ifupdown plugin
908
909         * system-settings/plugins/ifupdown/plugin.c
910                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
911                 - (SCPluginIfupdown_connection_added): removed
912
913 2008-10-08  Dan Williams  <dcbw@redhat.com>
914
915         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
916
917         * src/NetworkManagerUtils.c
918                 - (nm_utils_call_dispatcher): add a 'hostname' action
919
920         * src/NetworkManagerPolicy.c
921                 - (set_system_hostname): dispatch hostname changes
922
923         * callouts/nm-dispatcher-action.c
924                 - (nm_dispatcher_action): handle 'hostname' actions
925
926 2008-10-08  Dan Williams  <dcbw@redhat.com>
927
928         * src/NetworkManagerSystem.c
929                 - (find_route): ref the route so it doesn't get destroyed when the cache
930                         is cleared
931                 - (nm_system_device_set_priority): unref the route here after it's done
932                         being used
933
934 2008-10-08  Dan Williams  <dcbw@redhat.com>
935
936         * src/nm-serial-device.c
937                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
938
939 2008-10-08  Tambet Ingo  <tambet@gmail.com>
940
941         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
942         connection with new settings before saving it.
943
944 2008-10-06  Dan Williams  <dcbw@redhat.com>
945
946         * src/nm-ip4-config.c
947           src/nm-ip4-config.h
948                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
949
950         * src/nm-device-interface.c
951                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
952                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
953                         by using '/' for the object path
954
955         * src/nm-device.c
956                 - (src/nm-device.c): marshal missing/unexported ip4-config through
957                         dbus as '/' since dbus-glib can't handle NULL objects nor can
958                         dbus handle NULL object paths
959
960 2008-10-03  Alexander Sack  <asac@ubuntu.com>
961
962         Implement system hostname support for debian/ubuntu
963
964         * system-settings/plugins/ifupdown/plugin.c
965                 - (GObject__get_property): extend announced capabilities; add
966                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
967                 - (GObject__set_property,write_system_hostname): implement
968                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
969                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
970                    update_system_hostname, get_hostname):
971                         implement hostname property that watches and
972                         parses /etc/hostname
973
974 2008-10-03  Alexander Sack  <asac@ubuntu.com>
975
976         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
977           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
978           system-settings/plugins/ifcfg-fedora/Makefile.am
979           system-settings/src/nm-inotify-helper.c
980           system-settings/src/nm-inotify-helper.h
981           src/Makefile.am
982                 - Move ifcfg-fedora inotify helpers to the system settings service so
983                         they are available to all plugins
984
985 2008-10-03  Alexander Sack  <asac@ubuntu.com>
986
987         Implement support for wep-tx-keyidx in ifupdown system
988         config plugin.
989
990         * system-settings/plugins/ifupdown/parser.c
991                 - (update_wireless_security_setting_from_if_block): introduce
992                         free_type_mapping func table; rename a few local
993                         variables to improve readability; add wpa security mapping
994                         for wep-tx-keyidx property
995                 - (string_to_gpointerint): new function used for the auto_type_mapping
996                         of new wep-tx-keyidx property
997                 - (slist_free_all): free func used for mapped slist types
998
999 2008-10-03  Alexander Sack  <asac@ubuntu.com>
1000
1001         * system-settings/src/main.c:
1002                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1003                         always used as the hash key; fixes a crash when removing wired
1004                         devices
1005
1006 2008-10-02  Dan Williams  <dcbw@redhat.com>
1007
1008         * src/nm-gsm-device.c
1009                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1010                         pass the required GSM secret along via user_data rather than keeping
1011                         it around in the private data where it sometimes didn't get cleared
1012                 - (real_get_ppp_name): implement using the GSM username
1013
1014 2008-10-02  Dan Williams  <dcbw@redhat.com>
1015
1016         * src/ppp-manager/nm-ppp-manager.c
1017           src/ppp-manager/nm-ppp-manager.h
1018                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1019                         the settings daemon for completely new ones
1020                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1021                         local PPP peer name; allow PPP debuging by launching NM with
1022                         the environment variable NM_PPP_DEBUG defined
1023                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1024                         create_pppd_cmd_line()
1025
1026         * src/nm-serial-device.c
1027           src/nm-serial-device.h
1028                 - New 'get_ppp_name' function for subclasses to implement to return the
1029                         local PPP peer name
1030                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1031                         and pass that name to the PPP manager
1032
1033         * src/nm-device-ethernet.c
1034                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1035                         the local peer name
1036
1037         * src/nm-cdma-device.c
1038                 - (real_get_ppp_name): implement using the CDMA username
1039
1040 2008-10-02  Dan Williams  <dcbw@redhat.com>
1041
1042         Patch from Alexander Sack <asac ubuntu com>
1043
1044         * system-settings/plugins/ifupdown/parser.c
1045                 - Implement more graceful ip4 config parsing for cases where
1046                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1047                   by using default values
1048
1049 2008-10-02  Dan Williams  <dcbw@redhat.com>
1050
1051         * src/NetworkManagerPolicy.c
1052                 - (device_state_changed): when marking a connection invalid, clear its
1053                         secrets too so that fresh secrets get requested the next time
1054
1055 2008-10-01  Dan Williams  <dcbw@redhat.com>
1056
1057         * system-settings/src/dbus-settings.c
1058                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1059                         a fallback if no plugin provides a hostname
1060                 - (get_property): fall back to cached hostname if no plugin provides
1061                         a hostname
1062
1063 2008-10-01  Dan Williams  <dcbw@redhat.com>
1064
1065         Fix setting value comparison issue that caused some settings to look the
1066         same when they were really different (rh #464417)
1067
1068         * libnm-util/nm-param-spec-specialized.c
1069                 - (type_is_fixed_size): return fundamental size of the fixed type too
1070                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1071                         in the comparison so that the _entire_ fixed type collection gets
1072                         compared rather than just the first 'len1' bytes
1073
1074 2008-09-30  Dan Williams  <dcbw@redhat.com>
1075
1076         * src/NetworkManagerPolicy.c
1077                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1078                         idle handler could have already run and freed the LookupThread
1079                         structure
1080
1081 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1082
1083         * src/nm-device.c (nm_device_get_priority): Implement.
1084         (nm_device_set_ip4_config): Send the device priority to system ip4 
1085         config setter.
1086
1087         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1088         Add priority argument and if it's >= 0, set the priority of the network
1089         route added automatically by netlink (or kernel?).
1090         (nm_system_device_set_priority): Implement.
1091
1092         * src/NetworkManagerPolicy.c (get_best_device): Use 
1093         nm_device_get_priority() instead of home-grown version. Revert the
1094         meaning, best priority is the lowest one.
1095
1096 2008-09-29  Dan Williams  <dcbw@redhat.com>
1097
1098         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1099         when it returns EAGAIN (rh #362421)
1100
1101         * src/nm-device-wifi.c
1102                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1103                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1104
1105 2008-09-28  Dan Williams  <dcbw@redhat.com>
1106
1107         * src/nm-serial-device.c
1108           src/nm-serial-device.h
1109                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1110                         cleaned at the right times when subclasses close the serial port too
1111                 - (nm_serial_device_send_command): use a default send delay; don't
1112                         spin forever on EAGAIN
1113                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1114                         remove, no longer used
1115                 - (find_response): return the matched response if any
1116                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1117                         while doing so
1118                 - (wait_for_reply_done): pass the matched response to the callback
1119                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1120                         handling
1121                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1122                         const since they never get modified
1123                 - (cleanup_device): split out common cleanup stuff to a new function
1124                 - (real_deactivate_quickly, finalize): use cleanup_device()
1125
1126         * src/nm-gsm-device.c
1127                 - (modem_get_reply): remove, unused
1128                 - (set_apn): give the card a bit more time to respond
1129                 - (manual_registration_again, schedule_manual_registration_again,
1130                    manual_registration_response, manual_registration): handle manual
1131                         registration timeouts better by retrying registration a few times
1132                         because cards are a bit slow after CFUN=1
1133                 - (automatic_registration_get_network, get_network_response): use
1134                         modem_wait_for_reply() because it interacts better with the serial
1135                         buffer and does more intelligent matching; need to wait for 'OK'
1136                         rather than just matching terminators
1137                 - (schedule_automatic_registration_again,
1138                    automatic_registration_response, automatic_registration): retry
1139                         registration a few times on timeout or "searching" because cards
1140                         take a bit to find a network after being powered up with CFUN=1
1141                 - (power_up_response, power_up, init_full_done, enter_pin,
1142                    check_pin_done): power up the card with CFUN=1 before trying to
1143                         register with the network
1144                 - (init_modem_full, init_modem): use more standard 3G init strings
1145
1146         * src/nm-hso-gsm-device.c
1147                 - (modem_get_reply): remove, unused
1148                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1149                         modem_wait_for_reply() to match actual responses instead of single
1150                         termination characters; it doesn't leave stuff in the serial buffer
1151                         that might confuse later calls
1152                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1153                         to ensure that the call is really disconnected and not leave extra
1154                         stuff in the serial buffer
1155
1156         * src/nm-cdma-device.c
1157                 - (power_up_response, power_up, init_done): try Sierra-style modem
1158                         power up before attempting to connect
1159
1160 2008-09-27  Dan Williams  <dcbw@redhat.com>
1161
1162         * libnm-util/nm-setting-gsm.c
1163                 - (verify): verify GSM network ID
1164
1165 2008-09-25  Dan Williams  <dcbw@redhat.com>
1166
1167         * libnm-util/nm-setting-gsm.c
1168           libnm-util/nm-setting-gsm.h
1169                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1170                         technology terms (bgo #551361)
1171
1172 2008-09-25  Dan Williams  <dcbw@redhat.com>
1173
1174         Fix bgo #549401 (inspired by patch from Alexander Sack)
1175
1176         * src/nm-device-ethernet.c
1177                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1178                 - (remove_supplicant_interface_error_handler): remove the supplicant
1179                         error idle callback too
1180                 - (supplicant_interface_release): rename from supplicant_interface_clean
1181                         to match nm-device-wifi.c; clean up supplicant interface-related
1182                         state tasks when the supplicant interface is disposed of
1183                 - (schedule_state_handler): add scheduled tasks to a list so they can
1184                         be cleaned up later
1185                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1186                    supplicant_iface_connection_state_cb_handler): use
1187                         finish_supplicant_task() to clean up each completed task
1188                 - (supplicant_iface_connection_error_cb_handler,
1189                    supplicant_connection_timeout_cb): clear source id when the task is
1190                         complete
1191                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1192                         later cleanup
1193                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1194                         tasks
1195
1196         * src/nm-device-wifi.c
1197                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1198                 - (remove_supplicant_interface_error_handler): remove the supplicant
1199                         error idle callback too
1200                 - (supplicant_interface_release): clean up supplicant interface-related
1201                         state tasks when the supplicant interface is disposed of
1202                 - (schedule_state_handler): add scheduled tasks to a list so they can
1203                         be cleaned up later
1204                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1205                    supplicant_iface_connection_state_cb_handler): use
1206                         finish_supplicant_task() to clean up each completed task
1207                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1208                         the task is complete
1209                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1210                         later cleanup
1211                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1212
1213 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1214
1215         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1216         method and get/set hostname property.
1217
1218 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1219
1220         * src/supplicant-manager/nm-supplicant-interface.c
1221         (nm_supplicant_interface_disconnect): Don't increment the reference 
1222         count when disconnecting. The problem is on shutdown, when the replies
1223         to these commands do not arrive before NM exits, resulting on never
1224         calling supplicant interface's dispose(), which removes the interface
1225         from supplicant.
1226
1227 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1228
1229         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1230         all the public function arguments.
1231
1232 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1233
1234         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1235         "Failure" signal from VPN plugins, store the failure reason, and
1236         use it when the state is changed to failure.
1237
1238         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1239         description.
1240
1241         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1242         reason to the end of the list to not break the API.
1243         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1244         so it can be shared by plugins and daemon.
1245
1246 2008-09-18  Dan Williams  <dcbw@redhat.com>
1247
1248         Patch from Alexander Sack <asac@ubuntu.com>
1249
1250         * configure.in
1251           system-settings/plugins/Makefile.am
1252           system-settings/plugins/ifupdown/Makefile.am
1253           system-settings/plugins/ifupdown/interface_parser.c
1254           system-settings/plugins/ifupdown/interface_parser.h
1255           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1256           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1257           system-settings/plugins/ifupdown/parser.c
1258           system-settings/plugins/ifupdown/parser.h
1259           system-settings/plugins/ifupdown/plugin.c
1260           system-settings/plugins/ifupdown/plugin.h
1261                 - Implement a Debian/Ubuntu legacy network configuration plugin
1262                         (gnome.org #551941)
1263
1264 2008-09-18  Dan Williams  <dcbw@redhat.com>
1265
1266         Implement support for honoring configured and automatic hostnames, and for
1267         setting the configured hostname.
1268
1269         * introspection/nm-ip4-config.xml
1270           src/nm-ip4-config.c
1271           src/nm-ip4-config.h
1272           src/dhcp-manager/nm-dhcp-manager.c
1273                 - Remove useless hostname property; it's not really part of the IPv4
1274                         config
1275
1276         * introspection/nm-settings-system.xml
1277           libnm-glib/nm-dbus-settings-system.c
1278           libnm-glib/nm-dbus-settings-system.h
1279                 - Add SetHostname() call to system settings D-Bus interface
1280                 - Add Hostname property to system settings D-Bus interface
1281                 - (nm_dbus_settings_system_save_hostname,
1282                    nm_dbus_settings_system_get_hostname): implement
1283
1284         * src/nm-device.c
1285           src/nm-device.h
1286                 - (nm_device_get_dhcp4_config): implement
1287
1288         * src/nm-manager.c
1289           src/nm-manager.h
1290                 - Fetch and track system settings service hostname changes, and proxy
1291                         the changes via a GObject property of the manager
1292
1293         * system-settings/src/nm-system-config-interface.c
1294           system-settings/src/nm-system-config-interface.h
1295                 - Replace nm_system_config_interface_supports_add() with a capabilities
1296                         bitfield
1297
1298         * system-settings/src/nm-system-config-error.c
1299           system-settings/src/nm-system-config-error.h
1300                 - Add additional errors
1301
1302         * system-settings/src/dbus-settings.c
1303           system-settings/src/dbus-settings.h
1304                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1305                         property; first plugin returning a hostname wins
1306                 - (impl_settings_add_connection): use plugin capabilities instead of
1307                         nm_system_config_interface_supports_add()
1308                 - (impl_settings_save_hostname): implement hostname saving
1309
1310         * src/NetworkManagerPolicy.c
1311                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1312                    lookup_thread_die): implement an asynchronous hostname lookup thread
1313                         which given an IPv4 address tries to look up the hostname for that
1314                         address with reverse DNS
1315                 - (get_best_device): split out best device code from
1316                         update_routing_and_dns()
1317                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1318                         to preserve the 127.0.0.1 reverse mapping that so many things require
1319                 - (set_system_hostname): set a given hostname
1320                 - (update_system_hostname): implement hostname policy; a configured
1321                         hostname (from the system settings service) is used if available,
1322                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1323                         If there was no automatically determined hostname, reverse DNS of
1324                         the best device's IP address will be used, and as a last resort the
1325                         hostname 'localhost.localdomain' is set.
1326                 - (update_routing_and_dns): use get_best_device(); update the system
1327                         hostname when the network config changes
1328                 - (hostname_changed): update system hostname if the system settings
1329                         service signals a hostname change
1330                 - (nm_policy_new): list for system settings service hostname changes
1331                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1332                         gets told to die
1333
1334         * system-settings/plugins/keyfile/plugin.c
1335           system-settings/plugins/ifcfg-suse/plugin.c
1336                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1337                         capabilities properties
1338
1339         * system-settings/plugins/ifcfg-fedora/shvar.c
1340                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1341                         writes out /etc/sysconfig/network now
1342
1343         * system-settings/plugins/ifcfg-fedora/plugin.c
1344                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1345                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1346                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1347                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1348                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1349                         hostname get/set and capabilities get
1350
1351 2008-09-18  Dan Williams  <dcbw@redhat.com>
1352
1353         * libnm-util/nm-setting-wireless.c
1354                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1355                         group ciphers if the wireless-security setting explicitly specified
1356                         them, effectively making the default be "all ciphers"  (idea from
1357                         Alexander Sack)
1358
1359 2008-09-15  Dan Williams  <dcbw@redhat.com>
1360
1361         Patch from Alexander Sack <asac@ubuntu.com>
1362
1363         * src/named-manager/nm-named-manager.c
1364                 - (dispatch_resolvconf): respect resolvconf exit code
1365
1366 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1367
1368         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1369         again. Add some debugging.
1370
1371 2008-09-11  Dan Williams  <dcbw@redhat.com>
1372
1373         * system-settings/plugins/keyfile/plugin.c
1374                 - (update_connection_settings): update connection manually, since
1375                         nm_exported_connection_update() does authentication
1376                 - (dir_changed): update_connection_settings() doesn't need to return
1377                         an error
1378
1379 2008-09-09  Dan Williams  <dcbw@redhat.com>
1380
1381         * libnm-glib/nm-vpn-plugin-ui-interface.c
1382           libnm-glib/nm-vpn-plugin-ui-interface.h
1383           libnm-glib/libnm_glib_vpn.ver
1384                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1385                         should clean up resources related to the connection (like keyring
1386                         secrets)
1387                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1388                         should save user-scope secrets (like to the keyring)
1389
1390 2008-09-08  Dan Williams  <dcbw@redhat.com>
1391
1392         Patch from Alexander Sack <asac@ubuntu.com>
1393
1394         * libnm-util/crypto_gnutls.c
1395           libnm-util/crypto_nss.c
1396                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1397
1398         * libnm-util/nm-utils.c
1399           libnm-util/nm-utils.h
1400           libnm-util/libnm-util.ver
1401                 - (nm_utils_init): initialize libnm-util
1402                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1403
1404         * libnm-util/nm-setting-8021x.c
1405                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1406
1407 2008-09-05  Dan Williams  <dcbw@redhat.com>
1408
1409         Patch from Roy Marples <roy@marples.name> and others
1410
1411         * configure.in
1412           src/named-manager/nm-named-manager.c
1413                 - Add support for resolvconf; use --with-resolvconf at configure time
1414                         to enable it
1415
1416 2008-09-05  Dan Williams  <dcbw@redhat.com>
1417
1418         * libnm-util/crypto_nss.c
1419           libnm-util/crypto_gnutls.c
1420           libnm-util/crypto.h
1421                 - (crypto_init): return error when init fails
1422
1423 2008-09-05  Dan Williams  <dcbw@redhat.com>
1424
1425         * libnm-glib/nm-device-wifi.c
1426                 - (access_point_removed_proxy): clean up the active access point too
1427                         just in case the active ap changed signal didn't come through yet
1428                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1429
1430 2008-09-05  Dan Williams  <dcbw@redhat.com>
1431
1432         * libnm-glib/nm-client.c
1433                 - (constructor): get initial state after we know whether NM is running
1434                         or not
1435
1436 2008-09-05  Dan Williams  <dcbw@redhat.com>
1437
1438         * libnm-glib/nm-ip4-config.c
1439           libnm-glib/nm-dhcp4-config.c
1440                 - (finalize): clean up the DBusGProxy
1441
1442 2008-09-04  Dan Williams  <dcbw@redhat.com>
1443
1444         * src/nm-ip4-config.c
1445           src/nm-ip4-config.h
1446                 - (nm_ip4_config_new): don't export over D-Bus here
1447                 - (nm_ip4_config_export): new function; export the config over D-Bus
1448                 - (nm_ip4_config_is_exported): new function
1449
1450         * src/nm-device.c
1451                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1452                         objects by balancing the IP4Config constructor; the device holds
1453                         a reference to the IP4Config already
1454                 - (nm_device_set_ip4_config): export the IP4Config when needed
1455
1456 2008-09-04  Dan Williams  <dcbw@redhat.com>
1457
1458         * src/supplicant-manager/nm-supplicant-settings-verify.c
1459                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1460
1461 2008-09-04  Dan Williams  <dcbw@redhat.com>
1462
1463         * libnm-util/nm-setting-vpn.c
1464           libnm-util/nm-setting-vpn.h
1465                 - Split VPN secrets from VPN data so that settings services can actually
1466                         figure out that they are secrets and store them accordingly
1467
1468         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1469           system-settings/plugins/keyfile/reader.c
1470           system-settings/plugins/keyfile/reader.h
1471           system-settings/plugins/keyfile/writer.c
1472                 - Store VPN secrets separately from VPN data so that they can be fetched
1473                         on demand
1474                 - Implement the get_secrets() call so that (a) secrets don't leak out
1475                         to unprivileged callers, and (b) secrets can be sent to privileged
1476                         callers when needed
1477
1478         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1479                 - Handle split VPN secrets
1480
1481 2008-08-27  Dan Williams  <dcbw@redhat.com>
1482
1483         * system-settings/plugins/ifcfg-fedora/reader.c
1484                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1485
1486 2008-08-27  Dan Williams  <dcbw@redhat.com>
1487
1488         Ensure zombie children get cleaned up.  To get notifications when children
1489         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1490         that requires calling waitpid() yourself if you've removed the child watch
1491         handler before the process has actually died, which NM needs to do in a few
1492         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1493         cleans up after the child when required.  Should fix problems trying to
1494         activate mobile broadband connections after a previous failure.
1495
1496         * src/dhcp-manager/nm-dhcp-dhclient.c
1497           src/dhcp-manager/nm-dhcp-dhcpcd.c
1498                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1499
1500         * src/dhcp-manager/nm-dhcp-manager.c
1501                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1502                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1503                         block on child quitting, since the non-blocking functionality was
1504                         never actually used
1505
1506         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1507                 - (dm_watch_cb): child is already reaped here
1508                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1509
1510         * src/nm-device.c
1511                 - (aipd_cleanup): block until child is dead
1512
1513         * src/named-manager/nm-named-manager.c
1514                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1515                         event bothering to watch the child
1516
1517         * src/ppp-manager/nm-ppp-manager.c
1518                 - (ppp_watch_cb): child is already reaped here
1519                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1520
1521         * src/vpn-manager/nm-vpn-service.c
1522                 - (vpn_service_watch_cb): child is already reaped here
1523                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1524                         status of the child is actually tracked
1525                 - (ensure_killed, finalize): block until child is dead
1526
1527 2008-08-26  Dan Williams  <dcbw@redhat.com>
1528
1529         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1530                 - (update): Update filename of the connection if the connection id
1531                         was changed
1532
1533         * system-settings/plugins/keyfile/plugin.c
1534                 - (dir_changed): first pass at handling connection renames correctly
1535
1536         * system-settings/plugins/keyfile/writer.c
1537           system-settings/plugins/keyfile/writer.h
1538                 - (write_connection): replace '/' with '*' when writing out the filename
1539                         from the connection id
1540
1541 2008-08-26  Dan Williams  <dcbw@redhat.com>
1542
1543         Add connection UUIDs, since connection names can be changed, and since
1544         old-style connection IDs could change over the life of the connection.  The
1545         UUID should be assigned at connection creation time, be stable for a given
1546         connection, and should be unique among all connections for a given settings
1547         service.
1548
1549         * configure.in
1550           libnm-util/Makefile.am
1551                 - Require libuuid
1552
1553         * introspection/nm-exported-connection.xml
1554                 - Remove "GetID" method
1555
1556         * libnm-glib/nm-dbus-connection.c
1557           libnm-glib/nm-settings.c
1558           libnm-glib/nm-settings.h
1559                 - Remove id-related stuff
1560
1561         * libnm-util/nm-utils.c
1562           libnm-util/nm-utils.h
1563           libnm-util/libnm-util.ver
1564                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1565                         utility functions to generate UUIDs
1566
1567         * libnm-util/nm-setting-connection.c
1568           libnm-util/nm-setting-connection.h
1569                 - Add 'uuid' member to the connection setting
1570                 - (verify): require valid 'uuid' for a valid connection
1571
1572         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1573           system-settings/plugins/ifcfg-fedora/reader.c
1574           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1575           system-settings/plugins/ifcfg-suse/parser.c
1576           system-settings/plugins/keyfile/nm-keyfile-connection.c
1577           system-settings/src/main.c
1578                 - Remove id-related stuff
1579                 - Give connections UUIDs where needed
1580
1581 2008-08-25  Dan Williams  <dcbw@redhat.com>
1582
1583         * libnm-util/crypto_gnutls.c
1584           libnm-util/crypto_nss.c
1585                 - (crypto_init, crypto_deinit): refcount init/deinit
1586                 - (crypto_md5_hash): allow NULL salt
1587
1588 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1589
1590         * libnm-glib/Makefile.am
1591           libnm-util/Makefile.am
1592           libnm-glib/libnm_glib.ver
1593           libnm-glib/libnm_glib_vpn.ver
1594           libnm-util/libnm-util.ver
1595                 - Use linker version scripts to control the list of exported 
1596                 symbols. List each exported symbol explicitely.
1597         * libnm-util/Makefile.am
1598                 - Fix compilation of the test-crypto binary. The crypto
1599                 functions are no longer part of the libnm-util API. Add 
1600                 crypto_*.c to test_crypto_SOURCES and link against the correct
1601                 crypto libraries.
1602
1603 2008-08-19  Dan Williams  <dcbw@redhat.com>
1604
1605         * configure.in
1606           test/Makefile.am
1607                 - Don't build test/test-common
1608                 - Remove unused stuff
1609
1610         * test/nm-set-fallback
1611           test/nmtestdevices.c
1612           test/test-common/.cvsignore
1613           test/test-common/Makefile.am
1614           test/test-common/test-common.c
1615           test/test-common/test-common.h
1616                 - delete
1617
1618 2008-08-18  Dan Williams  <dcbw@redhat.com>
1619
1620         * libnm-util/nm-utils.c
1621           libnm-util/nm-utils.h
1622                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1623                         export anything that needs to be converted with this function
1624
1625         * src/dhcp-manager/nm-dhcp-manager.c
1626                 - (garray_to_string): convert a byte array to a UTF-8 string with
1627                         minimal validation; the DHCP client sends it in ASCII anyway
1628                 - (get_option, copy_option): use garray_to_string()
1629
1630 2008-08-18  Dan Williams  <dcbw@redhat.com>
1631
1632         * include/NetworkManager.h
1633           introspection/nm-device.xml
1634                 - Add a "missing firmware" device state reason
1635
1636         * src/NetworkManagerSystem.c
1637           src/NetworkManagerSystem.h
1638                 - (nm_system_device_set_up_down): add a no_firmware argument
1639                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1640                         IFF_UP is ENOENT, that almost always means missing firmware
1641
1642         * src/backends/NetworkManagerGeneric.c
1643           src/nm-device-ethernet.c
1644           src/nm-device-private.h
1645           src/nm-device-wifi.c
1646           src/nm-device.c
1647           src/nm-device.h
1648           src/nm-hso-gsm-device.c
1649           src/vpn-manager/nm-vpn-connection.c
1650                 - Pass no_firmware along; check it where appropriate
1651
1652 2008-08-18  Dan Williams  <dcbw@redhat.com>
1653
1654         Patch from Robert Buchholz <rbu@gentoo.org>
1655
1656         * autogen.sh
1657           configure.in
1658                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1659                         1003.1-1988, allowing for file names longer than 99 characters
1660
1661 2008-08-17  Dan Williams  <dcbw@redhat.com>
1662
1663         * include/NetworkManager.h
1664           introspection/nm-device.xml
1665           src/nm-gsm-device.c
1666                 - Finer-grained GSM registration failure error codes
1667
1668 2008-08-17  Dan Williams  <dcbw@redhat.com>
1669
1670         * callouts/Makefile.am
1671           src/Makefile.am
1672                 - Move dispatcher directory creation to callouts/Makefile.am
1673
1674         * system-settings/plugins/keyfile/Makefile.am
1675                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1676
1677 2008-08-15  Dan Williams  <dcbw@redhat.com>
1678
1679         Do connection sharing in a cleaner manner; all required iptables rules
1680         are now stored in the activation request and pertain only to the device
1681         which is being shared to other computers. (rh #458625)
1682
1683         * src/nm-activation-request.c
1684           src/nm-activation-request.h
1685                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1686                         the activation request which will get torn down automatically when
1687                         the activation request dies
1688                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1689                         is started, and tear them down when sharing is stopped
1690
1691         * src/nm-device.c
1692                 - (start_sharing): start up sharing by doing the required iptables magic
1693                 - (share_init): poke the right bits of the kernel and load the right
1694                         modules for NAT
1695                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1696                         connection if it's a 'shared' connection
1697
1698         * src/NetworkManagerPolicy.c
1699                 - Remove all sharing stuff; done in the device code itself
1700
1701 2008-08-15  Dan Williams  <dcbw@redhat.com>
1702
1703         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1704                 - (create_dm_cmd_line): send the right router address
1705
1706 2008-08-15  Dan Williams  <dcbw@redhat.com>
1707
1708         * src/ppp-manager/nm-ppp-manager.c
1709                 - (pppd_timed_out): ensure timeouts fail the connection
1710
1711 2008-08-14  Dan Williams  <dcbw@redhat.com>
1712
1713         * src/nm-properties-changed-signal.c
1714           src/nm-properties-changed-signal.h
1715                 - Add a property spec flag for "don't export this property" in
1716                         property changed signals
1717
1718         * src/nm-hso-gsm-device.c
1719           src/nm-gsm-device.c
1720           src/nm-cdma-device.c
1721                 - Don't export monitor interface or netdev interface properties
1722
1723 2008-08-14  Dan Williams  <dcbw@redhat.com>
1724
1725         * src/NetworkManagerPolicy.c
1726                 - (update_routing_and_dns): 'hso' devices can be default even if they
1727                         don't have a gateway
1728
1729 2008-08-14  Dan Williams  <dcbw@redhat.com>
1730
1731         * src/nm-device.c
1732                 - (nm_device_deactivate_quickly): tear down activation request after
1733                         calling device-specific deactivation
1734
1735         * src/nm-hso-gsm-device.c
1736                 - (real_deactivate_quickly): terminate connection when deactivating
1737
1738 2008-08-14  Dan Williams  <dcbw@redhat.com>
1739
1740         * src/nm-activation-request.h
1741                 - Add HSO secrets caller
1742
1743         * src/nm-gsm-device.c
1744           src/nm-gsm-device.h
1745                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1746                         something to the callback function
1747                 - (set_apn, set_apn_done): call class dial function, not a static one
1748                 - (nm_gsm_device_class_init): add a class 'dial' function
1749
1750         * src/nm-hal-manager.c
1751                 - (get_hso_netdev): find the hso-driven hardware's net device
1752                 - (modem_device_creator): recognize hso-driven hardware and create the
1753                         right type of device object for it
1754
1755         * src/Makefile.am
1756           src/nm-hso-gsm-device.c
1757           src/nm-hso-gsm-device.h
1758                 - Implement support for devices driven by the 'hso' driver as a subclass
1759                         of NMGsmDevice
1760
1761 2008-08-14  Dan Williams  <dcbw@redhat.com>
1762
1763         * src/NetworkManagerSystem.c
1764                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1765                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1766                         success if the operation really was successful
1767
1768 2008-08-14  Dan Williams  <dcbw@redhat.com>
1769
1770         * src/nm-netlink-monitor.c
1771           src/nm-netlink-monitor.h
1772           src/nm-device-ethernet.c
1773                 - (nm_netlink_monitor_request_status): return an error on failure
1774                 - (constructor): don't segfault on missing error
1775
1776 2008-08-13  Dan Williams  <dcbw@redhat.com>
1777
1778         * callouts/nm-dispatcher-action.c
1779                 - Add IP4 config info to script environment
1780
1781 2008-08-12  Dan Williams  <dcbw@redhat.com>
1782
1783         * src/nm-device.c
1784                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1785                         that want to use DHCP hostnames should use dispatcher scripts
1786                         for that
1787
1788         * src/NetworkManagerSystem.h
1789           src/backends/NetworkManagerArch.c
1790           src/backends/NetworkManagerDebian.c
1791           src/backends/NetworkManagerFrugalware.c
1792           src/backends/NetworkManagerGeneric.c
1793           src/backends/NetworkManagerGeneric.h
1794           src/backends/NetworkManagerGentoo.c
1795           src/backends/NetworkManagerMandriva.c
1796           src/backends/NetworkManagerPaldo.c
1797           src/backends/NetworkManagerRedHat.c
1798           src/backends/NetworkManagerSlackware.c
1799           src/backends/NetworkManagerSuSE.c
1800                 - Remove nm_system_set_hostname(), no longer used
1801           
1802         * src/backends/Makefile.am
1803           src/backends/shvar.c
1804           src/backends/shvar.h
1805                 - Remove shvar.*; no longer used
1806
1807 2008-08-12  Dan Williams  <dcbw@redhat.com>
1808
1809         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1810         hostname is updated at runtime.  Distros or users who want hostname updates
1811         can use dispatcher scripts to update the hostname if they need it.
1812
1813 2008-08-12  Dan Williams  <dcbw@redhat.com>
1814
1815         * introspection/nm-settings-system.xml
1816           system-settings/src/dbus-settings.c
1817           system-settings/src/dbus-settings.h
1818                 - Add a 'Hostname' property (rw) which represents the configured
1819                         hostname and domain of the system, if any
1820
1821         * system-settings/src/nm-system-config-error.c
1822           system-settings/src/nm-system-config-error.h
1823           system-settings/src/nm-system-config-interface.c
1824           system-settings/src/nm-system-config-interface.h
1825                 - Add a 'hostname' property to the plugin interface
1826                 - Add a method to send updated hostname to plugins to save in their
1827                         backing configuration store
1828
1829         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1830           system-settings/plugins/keyfile/plugin.c
1831           system-settings/plugins/keyfile/writer.c
1832           system-settings/plugins/keyfile/writer.h
1833           system-settings/plugins/ifcfg-suse/plugin.c
1834                 - Add minimal hostname support
1835
1836         * system-settings/plugins/ifcfg-fedora/plugin.c
1837                 - Add support for updating system hostname in /etc/sysconfig/network
1838
1839 2008-08-12  Dan Williams  <dcbw@redhat.com>
1840
1841         * system-settings/plugins/ifcfg-fedora/shvar.c
1842           system-settings/plugins/ifcfg-fedora/shvar.c
1843                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1844
1845 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1846
1847         * Makefile.am: Fix distcheck.
1848
1849 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1850
1851         * libnm-glib/*.c. Document some more.
1852
1853 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1854
1855         Start documenting libnm-glib public API using gtk-doc.
1856
1857         * libnm-glib/nm-serial-device.c: 
1858         * libnm-glib/nm-object.c: 
1859         * libnm-glib/nm-gsm-device.c: 
1860         * libnm-glib/nm-device.c: 
1861         * libnm-glib/nm-device-wifi.c: 
1862         * libnm-glib/nm-device-ethernet.c: 
1863         * libnm-glib/nm-client.c: 
1864         * libnm-glib/nm-cdma-device.c: Document the public API.
1865
1866         * docs/libnm-glib/libnm-glib.types: Implement.
1867
1868         * docs/libnm-glib/Makefile.am: Implement.
1869
1870         * autogen.sh: 
1871         * configure.in: 
1872         * Makefile.am: Add gtk-doc support.
1873
1874 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1875
1876         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1877
1878         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1879         the composite result of all the IP4 configurations and call a distro
1880         specific update_resolv_conf().
1881         (update_resolv_conf): Implement one for directly writing to 
1882         /etc/resolv.conf and one for opensuse to call netconfig.
1883
1884 2008-08-11  Dan Williams  <dcbw@redhat.com>
1885
1886         * src/ppp-manager/nm-ppp-manager.c
1887                 - (impl_ppp_manager_need_secrets): pass interface as required
1888
1889 2008-08-11  Dan Williams  <dcbw@redhat.com>
1890
1891         Merge the vpn-properties setting with the vpn setting since it was pointless
1892         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1893         of string:string (instead of string:variant) so that system settings plugins
1894         can have an easier time dealing with the arbitrary key/value pairs.
1895
1896 2008-08-11  Dan Williams  <dcbw@redhat.com>
1897
1898         * libnm-util/nm-utils.c
1899                 - (nm_utils_register_value_transformations): add value transform for
1900                         a hash table of string:string
1901
1902 2008-08-10  Dan Williams  <dcbw@redhat.com>
1903
1904         * libnm-glib/nm-vpn-plugin.c
1905                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1906                         an idle handler so the Connect reply gets delivered before the
1907                         stop StateChanged signal
1908
1909 2008-08-10  Dan Williams  <dcbw@redhat.com>
1910
1911         * src/nm-ip4-config.c
1912                 - (get_property): use common ip4 address/route conversion functions
1913                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1914                         copy the new route here, not take ownership
1915
1916 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1917
1918         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1919         Update the IP4 setting's method name.
1920
1921 2008-08-07  Dan Williams  <dcbw@redhat.com>
1922
1923         * introspection/nm-ip4-config.xml
1924           libnm-glib/libnm-glib-test.c
1925           libnm-glib/nm-ip4-config.c
1926           libnm-glib/nm-ip4-config.h
1927           src/NetworkManagerSystem.h
1928           src/backends/NetworkManagerArch.c
1929           src/backends/NetworkManagerDebian.c
1930           src/backends/NetworkManagerFrugalware.c
1931           src/backends/NetworkManagerGeneric.c
1932           src/backends/NetworkManagerGeneric.h
1933           src/backends/NetworkManagerGentoo.c
1934           src/backends/NetworkManagerMandriva.c
1935           src/backends/NetworkManagerPaldo.c
1936           src/backends/NetworkManagerRedHat.c
1937           src/backends/NetworkManagerSlackware.c
1938           src/backends/NetworkManagerSuSE.c
1939           src/dhcp-manager/nm-dhcp-manager.c
1940           src/nm-device.c
1941           src/nm-ip4-config.c
1942           src/nm-ip4-config.h
1943                 - Remove NIS logic; should be done from dispatcher scripts instead
1944
1945 2008-08-07  Dan Williams  <dcbw@redhat.com>
1946
1947         * src/dhcp-manager/nm-dhcp-manager.c
1948                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1949                         mis-handling of DHCP responses that returned more than one router
1950                         (found by Grant Williamson)
1951
1952 2008-08-07  Dan Williams  <dcbw@redhat.com>
1953
1954         * callouts/nm-dispatcher-action.c
1955                 - (nm_dispatcher_action): grab device path and create the device; pass
1956                         the device's DHCP4 config to script caller
1957                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1958                         scripts
1959
1960         * libnm-glib/nm-dhcp4-config.c
1961           libnm-glib/nm-dhcp4-config.h
1962                 - (nm_dhcp4_config_get_options): expose
1963                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1964
1965 2008-08-07  Dan Williams  <dcbw@redhat.com>
1966
1967         * include/NetworkManager.h
1968                 - Add the DHCP4Config D-Bus interface
1969
1970         * libnm-glib/Makefile.am
1971           libnm-glib/nm-dhcp4-config.c
1972           libnm-glib/nm-dhcp4-config.h
1973                 - Handle DHCP4 config objects exported by NM over D-Bus
1974
1975         * libnm-glib/nm-device.c
1976           libnm-glib/nm-device.h
1977                 - Add a 'dhcp4-config' property
1978
1979         * libnm-glib/libnm-glib-test.c
1980                 - Print out DHCP4 config for devices
1981                 - Fix some crashes when no connections are active
1982
1983         * src/nm-device-interface.c
1984           src/nm-device.c
1985           src/nm-dhcp4-config.c
1986           src/nm-dhcp4-config.h
1987                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1988                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1989                         doesn't let us do when the property type is G_TYPE_OBJECT
1990
1991 2008-08-07  Dan Williams  <dcbw@redhat.com>
1992
1993         * src/NetworkManager.c
1994           src/NetworkManagerSystem.h
1995           src/backends/NetworkManagerArch.c
1996           src/backends/NetworkManagerDebian.c
1997           src/backends/NetworkManagerFrugalware.c
1998           src/backends/NetworkManagerGeneric.c
1999           src/backends/NetworkManagerGeneric.h
2000           src/backends/NetworkManagerGentoo.c
2001           src/backends/NetworkManagerMandriva.c
2002           src/backends/NetworkManagerPaldo.c
2003           src/backends/NetworkManagerRedHat.c
2004           src/backends/NetworkManagerSlackware.c
2005           src/backends/NetworkManagerSuSE.c
2006                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2007
2008 2008-08-06  Dan Williams  <dcbw@redhat.com>
2009
2010         * libnm-glib/nm-ip4-config.c
2011           libnm-glib/nm-ip4-config.h
2012                 - Add 'routes' property
2013
2014         * libnm-util/nm-setting-vpn.c
2015           libnm-util/nm-setting-vpn.h
2016                 - Remove 'routes' property
2017
2018         * libnm-util/nm-setting-ip4-config.c
2019           libnm-util/nm-setting-ip4-config.h
2020                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2021                 - Add 'ignore-auto-routes' property
2022                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
2023                         accomodate route metrics
2024                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2025
2026         * libnm-util/nm-utils.c
2027           libnm-util/nm-utils.h
2028                 - Add helpers for marshalling IP4 routes
2029
2030         * src/NetworkManagerUtils.c
2031                 - (nm_utils_merge_ip4_config): handle property renames and new route
2032                         structure
2033
2034         * src/NetworkManagerSystem.c
2035                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2036                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
2037
2038         * src/dhcp-manager/nm-dhcp-manager.c
2039                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2040
2041         * system-settings/plugins/ifcfg-fedora/reader.c
2042           system-settings/plugins/ifcfg-fedora/writer.c
2043                 - Handle routes separately from addresses now that routes have a different
2044                         format
2045
2046         * introspection/nm-ip4-config.xml
2047           src/nm-ip4-config.c
2048           src/nm-ip4-config.h
2049                 - Rename internal routing functions
2050                 - 'static-routes' renamed to 'routes'
2051
2052 2008-08-04  Dan Williams  <dcbw@redhat.com>
2053
2054         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2055
2056         * src/NetworkManager.c
2057           src/nm-manager.c
2058           src/nm-manager.h
2059                 - More explicitly make the NMManager a singleton
2060
2061 2008-08-04  Dan Williams  <dcbw@redhat.com>
2062
2063         * libnm-util/nm-connection.c
2064           libnm-util/nm-connection.h
2065                 - (nm_connection_verify): return error on missing 'connection' setting
2066                         (found by Sjoerd Simons)
2067
2068 2008-08-04  Dan Williams  <dcbw@redhat.com>
2069
2070         Handle multiple concurrent PPP connections.
2071
2072         * src/ppp-manager/nm-ppp-manager.c
2073           src/ppp-manager/nm-ppp-manager.h
2074                 - (constructor): only PPP Manager request bus name once; each
2075                         NMPPPManager object gets a unique object path
2076                 - (nm_ppp_manager_class_init, get_property, set_property,
2077                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2078                         at construct time
2079                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2080                         remove timeout until PPP manager gets an IP4 config
2081                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2082                         the plugin can call back to this specific PPP manager instance
2083
2084         * src/nm-device-ethernet.c
2085           src/nm-serial-device.c
2086                 - Pass parent device in nm_ppp_manager_new()
2087
2088         * src/nm-gsm-device.c
2089           src/nm-cdma-device.c
2090                 - (device_state_changed): don't close serial device on NEED_AUTH
2091                         state changed, that's not a failure case like the rest are
2092
2093         * src/ppp-manager/nm-pppd-plugin.c
2094                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2095                         binds one interface to any pppd process, thus the correct index
2096                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2097                         problems; try harder to get a peer address in spite of pppd
2098                 - (plugin_init): use 'ipparam' as the object path back to our specific
2099                         PPP manager instance
2100
2101 2008-08-04  Dan Williams  <dcbw@redhat.com>
2102
2103         * src/ppp-manager/nm-ppp-manager.c
2104                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2105                         since the GSM and CDMA settings now implement need_secrets, we can
2106                         rely on them to do the right thing.  Where secrets are not required,
2107                         just pass empty strings back to the pppd plugin.
2108                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2109                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2110                         on successful IP4 config receipt
2111
2112 2008-08-04  Dan Williams  <dcbw@redhat.com>
2113
2114         * libnm-util/nm-setting-cdma.c
2115           libnm-util/nm-setting-gsm.c
2116                 - (verify): validate username & password if they exist
2117                 - (need_secrets): if username given, require a password too
2118
2119 2008-08-04  Dan Williams  <dcbw@redhat.com>
2120
2121         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2122                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2123                         manpage says about --listen-address without --interface
2124                         (bgo #546033)
2125
2126 2008-08-01  Dan Williams  <dcbw@redhat.com>
2127
2128         * libnm-glib/nm-device.c
2129                 - (proxy_get_string): util function for querying a HAL property
2130                 - (get_ancestor_device): split out from get_product_and_vendor()
2131                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2132                         from PCI devices by querying subsys properties
2133                 - (nm_device_update_description): simplify
2134
2135 2008-08-01  Dan Williams  <dcbw@redhat.com>
2136
2137         * libnm-util/nm-setting-ip4-config.c
2138           libnm-util/nm-setting-ip4-config.h
2139                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2140                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2141                         settings, and they don't necessarily use DHCP.
2142
2143         * src/NetworkManagerPolicy.c
2144           src/nm-device.c
2145           system-settings/plugins/ifcfg-fedora/reader.c
2146           system-settings/plugins/ifcfg-suse/parser.c
2147                 - Fixup for method changes
2148
2149 2008-07-31  Dan Williams  <dcbw@redhat.com>
2150
2151         * src/nm-activation-request.c
2152           src/vpn-manager/nm-vpn-connection.c
2153                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2154                         itself should be attached to the activation request or the VPN
2155                         connection, not the NMConnection object, since the call is not
2156                         expected to live as long as the NMConnection itself
2157
2158 2008-07-31  Dan Williams  <dcbw@redhat.com>
2159
2160         * src/nm-device-wifi.c
2161                 - (real_act_stage2_config): fix issue where association would continue
2162                         even though secrets were needed; 'goto out' was in wrong scope and
2163                         result of handle_auth_or_fail() should have been dumped directly to
2164                         'ret' to ensure that the association was postponed until secrets
2165                         are available
2166
2167 2008-07-31  Dan Williams  <dcbw@redhat.com>
2168
2169         * system-settings/plugins/ifcfg-fedora/plugin.c
2170           system-settings/plugins/ifcfg-fedora/reader.c
2171                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2172                         valid NM connection
2173
2174 2008-07-29  Dan Williams  <dcbw@redhat.com>
2175
2176         * src/nm-gsm-device.c
2177                 - (automatic_registration_response, automatic_registration): recognize
2178                         denied registration and reorder responses
2179
2180 2008-07-29  Dan Williams  <dcbw@redhat.com>
2181
2182         * src/nm-serial-device.c
2183                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2184                         time(2) is used for current time, which returns seconds, we shouldn't
2185                         be multiplying by 1000.
2186
2187 2008-07-28  Dan Williams  <dcbw@redhat.com>
2188
2189         Patch from Fabrice Bellet <fabrice@bellet.info>
2190
2191         * src/NetworkManagerSystem.c
2192                 - (route_in_same_subnet): mask addresses and compare them so that the
2193                         function actually does what it says it's going to do (rh #456685)
2194
2195 2008-07-27  Dan Williams  <dcbw@redhat.com>
2196
2197         * libnm-util/nm-setting-ip6-config.c
2198                 - (set_property): add missing break that caused routes to be overwritten
2199                         with addresses
2200
2201         * libnm-util/nm-setting-ip6-config.c
2202                 - (verify): validate routes and return GError everywhere on invalid setting
2203                 - (finalize): don't leak routes
2204                 - (set_property): add missing break that caused routes to be overwritten
2205                         with addresses
2206
2207 2008-07-27  Dan Williams  <dcbw@redhat.com>
2208
2209         * libnm-util/*
2210                 - Relicense to LGPLv2+
2211
2212 2008-07-27  Dan Williams  <dcbw@redhat.com>
2213
2214         * system-settings/plugins/ifcfg-fedora/reader.c
2215                 - (make_ip4_setting): fix parsing automatic configs
2216
2217 2008-07-27  Dan Williams  <dcbw@redhat.com>
2218
2219         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2220           src/nm-device.c
2221           src/ppp-manager/nm-ppp-manager.c
2222                 - Ensure child process gets reaped.  The child watch function may be
2223                         removed from the mainloop before the child gets killed, so we have
2224                         to make sure the child is reaped when it's told to die intentionally
2225
2226 2008-07-27  Dan Williams  <dcbw@redhat.com>
2227
2228         Patch from Roy Marples <roy@marples.name>
2229
2230         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2231                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2232
2233 2008-07-27  Dan Williams  <dcbw@redhat.com>
2234
2235         * src/nm-gsm-device.c
2236                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2237                         Huawei devices turn echo back on after CPIN (rh #456770)
2238
2239 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2240
2241         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2242         format argument to g_set_error() call.
2243
2244         * src/backends/interface_parser.[ch]: Remove.
2245
2246         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2247
2248 2008-07-21  Dan Williams  <dcbw@redhat.com>
2249
2250         * src/ppp-manager/nm-ppp-manager.c
2251                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2252                         to prevent pppd from picking up some random local address from an
2253                         interface that doesn't have anything to do with the one we're
2254                         interested in (rh #455348)
2255
2256 2008-07-17  Dan Williams  <dcbw@redhat.com>
2257
2258         * libnm-util/nm-utils.c
2259                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2260                         by locale
2261                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2262                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2263
2264 2008-07-17  Dan Williams  <dcbw@redhat.com>
2265
2266         * introspection/Makefile.am
2267           introspection/nm-device.xml
2268           introspection/nm-dhcp4-config.xml
2269                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2270                         itself
2271         * src/nm-device-interface.c
2272           src/nm-device-interface.h
2273                 - Add the DHCP4Config property
2274
2275         * src/nm-device.c
2276                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2277                         D-Bus clients when it changes
2278
2279         * src/nm-dhcp4-config.c
2280           src/nm-dhcp4-config.h
2281                 - Simple object to store DHCP4 options, export them over D-Bus, and
2282                         notify when they change
2283
2284         * src/dhcp-manager/nm-dhcp-manager.c
2285           src/dhcp-manager/nm-dhcp-manager.h
2286                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2287                         filter server-returned DHCP options into an NMDHCP4Config object
2288
2289 2008-07-16  Dan Williams  <dcbw@redhat.com>
2290
2291         * introspection/nm-device.xml
2292                 - Add device state reasons
2293
2294 2008-07-16  Dan Williams  <dcbw@redhat.com>
2295
2296         Patch from Roy Marples <roy@marples.name>
2297
2298         * configure.in
2299                 - Add --with-dhcp-client option
2300
2301         * src/dhcp-manager/Makefile.am
2302                 - pass DHCP_CLIENT_PATH on compile line
2303
2304         * src/dhcp-manager/nm-dhcp-manager.c
2305           src/dhcp-manager/nm-dhcp-manager.h
2306                 - Genericize for both dhcpcd and dhclient
2307
2308         * src/dhcp-manager/nm-dhcp-dhclient.c
2309                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2310
2311         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2312                 - Implement support for dhcpcd too
2313
2314 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2315
2316         * system-settings/src/nm-system-config-interface.c 
2317         (nm_system_config_interface_supports_add): Implement.
2318         (nm_system_config_interface_add_connection): Return a boolean to notify
2319         of errors.
2320
2321         * system-settings/src/nm-polkit-helpers.c: 
2322         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2323         a separate file.
2324
2325         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2326         Return an error when none of the plugins support add or if addition
2327         failed for some reason.
2328
2329         * system-settings/src/nm-system-config-error.h: 
2330         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2331         here from nm-polkit-helpers.[ch].
2332
2333         * system-settings/src/Makefile.am: Build new files.
2334
2335         * system-settings/plugins/keyfile/reader.c 
2336         (read_array_of_array_of_uint): Make it more general so that it would
2337         work for routes as well.
2338
2339         * system-settings/plugins/keyfile/writer.c
2340         (write_array_of_array_of_uint): Ditto.
2341         Fix the netmask/prefix writing.
2342
2343         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2344         boolean to notify errors.
2345
2346         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2347         Return more specific error.
2348         (delete): Ditto.
2349
2350 2008-07-11  Dan Williams  <dcbw@redhat.com>
2351
2352         Modify the NMDevice::state-changed signal to include the previous state
2353         and reason. Enables the applet to provide more information why device
2354         activation failed.
2355
2356 2008-07-09  Dan Williams  <dcbw@redhat.com>
2357
2358         * callouts/Makefile.am
2359           callouts/nm-avahi-autoipd-action.c
2360           callouts/nm-avahi-autoipd.conf
2361                 - avahi-autoipd callout to send options back to NM
2362
2363         * src/autoip.c
2364           src/autoip.h
2365                 - remove
2366
2367         * src/nm-device.c
2368           src/nm-device-private.h
2369           src/nm-manager.c
2370                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2371                         old custom stuff
2372
2373 2008-07-07  Dan Williams  <dcbw@redhat.com>
2374
2375         * system-settings/plugins/ifcfg-fedora/reader.c
2376                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2377                         handle PREFIX too; clean up
2378
2379 2008-07-07  Dan Williams  <dcbw@redhat.com>
2380
2381         Convert to using IPv4 prefixes instead of netmasks.
2382
2383 2008-07-03  Dan Williams  <dcbw@redhat.com>
2384
2385         * libnm-util/nm-setting-ip4-config.c
2386           libnm-util/nm-setting-ip4-config.h
2387                 - Add properties for DHCP Client Identifier and DHCP Hostname
2388
2389         * src/dhcp-manager/nm-dhcp-manager.c
2390           src/dhcp-manager/nm-dhcp-manager.h
2391                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2392                         setting as an argument to pass on to the dhclient config file
2393                         creation function
2394                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2395                         DHCP is torn down
2396                 - (dhclient_run): punt config file handling to create_dhclient_config()
2397                 - (create_dhclient_config): create an interface-specific dhclient
2398                         config file since there may need to be interface-specific options
2399                         passed to dhclient
2400                 - (merge_dhclient_config): merge normal distro dhclient config file and
2401                         add options from the connection
2402                 - (nm_dhcp_device_new): generate the interface specific dhclient
2403                         config file path once
2404                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2405                         dhclient config file path
2406
2407         * src/nm-device.c
2408                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2409                         DHCP manager when starting DHCP
2410
2411 2008-07-02  Dan Williams  <dcbw@redhat.com>
2412
2413         * libnm-util/nm-setting-8021x.c
2414                 - (verify): allow forcing the PEAP label to 0
2415
2416 2008-07-02  Dan Williams  <dcbw@redhat.com>
2417
2418         * introspection/nm-active-connection.xml
2419           introspection/nm-vpn-connection.xml
2420           libnm-glib/nm-active-connection.c
2421           src/nm-activation-request.c
2422           src/nm-active-connection.h
2423           src/vpn-manager/nm-vpn-connection.c
2424                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2425                         and libnm-glib API since sharing didn't get implemented that way
2426
2427 2008-07-02  Dan Williams  <dcbw@redhat.com>
2428
2429         * src/nm-device-wifi.c
2430                 - (can_scan): don't scan when a shared connection is activated since
2431                         that makes drivers mad (causing disconnects); also NM doesn't need
2432                         to hedge against disconnects by keeping up-to-date network topology
2433                         because the connection originates from the local machine, and thus
2434                         there should be no disconnects
2435
2436 2008-07-01  Dan Williams  <dcbw@redhat.com>
2437
2438         Fix mobile broadband username/password issues.  NM was never requesting
2439         mobile broadband secrets, nor was it passing back the username and password
2440         if it had them.
2441
2442         * marshallers/nm-marshal.list
2443                 - Add some new types for activation request objects
2444
2445         * src/nm-activation-request.c
2446           src/nm-activation-request.h
2447                 - (get_secrets_cb): pass the caller type in the signal
2448                 - (nm_act_request_request_connection_secrets): take a caller type, so
2449                         that GetSecrets() reply handlers know who asked for the secrets in
2450                         the first place; use secret hints too so the settings service can
2451                         figure out exactly what NM wants (ie, PIN or the PPP password)
2452
2453         * src/ppp-manager/nm-ppp-manager.c
2454           src/ppp-manager/nm-ppp-manager.h
2455                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2456                         detect needed secrets when the secret could be blank, like GSM/CDMA
2457                         passwords.  So always ask for secrets, and send a hint as to what
2458                         secret we really want.
2459                 - (nm_ppp_manager_update_secrets): make function more generic by making
2460                         the device specific class figure out the username and password, and
2461                         accept an error argument to return back over D-Bus
2462
2463         * src/nm-device-wifi.c
2464                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2465                         nm_act_request_request_connection_secrets()
2466                 - (real_connection_secrets_updated): update for 'caller' changes
2467
2468         * src/nm-device.c
2469           src/nm-device.h
2470                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2471                         for 'caller' changes
2472
2473         * src/nm-device-ethernet.c
2474                 - (real_connection_secrets_updated): update for 'caller' changes and
2475                         move logic for getting PPPoE username and password here before
2476                         calling nm_ppp_manager_update_secrets()
2477                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2478                         nm_act_request_request_connection_secrets()
2479
2480         * src/nm-cdma-device.c
2481                 - (real_connection_secrets_updated): pass username and password back
2482                         to the PPP manager when required
2483
2484         * src/nm-gsm-device.c
2485                 - (enter_pin): send the required secret name to the settings service
2486                 - (real_connection_secrets_updated): pass username and password back
2487                         to the PPP manager when required
2488
2489 2008-06-30  Dan Williams  <dcbw@redhat.com>
2490
2491         * src/nm-device-wifi.c
2492                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2493
2494 2008-06-30  Dan Williams  <dcbw@redhat.com>
2495
2496         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2497         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2498         priv->supplicant.iface.  When either condition is false, the device should
2499         transition back to UNAVAILABLE because it cannot be used.
2500
2501         * src/nm-device-wifi.c
2502                 - (constructor): cleanup; connect to supplicant manager here since the
2503                         supplicant manager is always around
2504                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2505                         ensure the supplicant manager is in the IDLE state
2506                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2507                         cancel any pending scans too
2508                 - (real_bring_up): don't set up the supplicnat interface here, because
2509                         we need the supplicant interface at times when the device may not
2510                         be "up"
2511                 - (real_take_down): just remove the periodic source
2512                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2513                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2514                         do anything if there's no supplicant interface
2515                 - (cleanup_association_attempt): cleanup
2516                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2517                         the interface enters the READY state; transition to UNAVAILABLE
2518                         state when the interface goes down because the device can't be used
2519                         without a supplicant interface
2520                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2521                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2522                         acquire the supplicant interface and transition to DISCONNECTED
2523                         if the radio isn't killed
2524                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2525                 - (state_changed_cb): release any existing supplicant interface; if the
2526                         radio is enabled then try to acquire a new supplicant interface;
2527                         if the radio is enabled and a supplicant interface has been acquired,
2528                         we can transition to DISCONNECTED
2529                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2530                         don't enable the radio, because HAL probably lied to us about the
2531                         killswitch being off.  If bringing the hardware up worked, then
2532                         try to grab a supplicant interface, and if that was successful,
2533                         transition to DISCONNECTED
2534
2535 2008-06-30  Dan Williams  <dcbw@redhat.com>
2536
2537         * src/supplicant-manager/nm-supplicant-interface.c
2538                 - (request_scan_results, nm_supplicant_interface_dispose,
2539                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2540                         the id of the timeout, not a GSource
2541
2542 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2543
2544         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2545         bunch of typoes introduced by "Patch from David Cantrell 
2546         <dcantrell@redhat.com> and me".
2547
2548 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2549
2550         * src/nm-serial-device.c: 
2551         * src/nm-gsm-device.c: 
2552         * src/nm-cdma-device.c: Move the pending call handling to a common location
2553         in serial device. Handle setting device state to failed in one place as well.
2554
2555 2008-06-29  Dan Williams <dcbw@redhat.com>
2556
2557         * src/nm-hal-manager.c
2558                 - Rework killswitch handling to query killswitch status immediately
2559                         when the first killswitch is added, so that rfkill state is
2560                         known as early as possible
2561                 - Also treat failure of GetPower() as rfkill when the dbus method
2562                         call times out (but not when the HAL callout returns an error)
2563
2564 2008-06-26  Dan Williams <dcbw@redhat.com>
2565
2566         Patch from David Cantrell <dcantrell@redhat.com> and me
2567
2568         * include/nm-dbus-glib-types.h
2569                 - Add IP6 address types
2570
2571         * libnm-util/Makefile.am
2572           libnm-util/nm-setting-ip6-config.c
2573           libnm-util/nm-setting-ip6-config.h
2574                 - Add IP6 settings object
2575
2576         * libnm-util/nm-connection.c
2577                 - (register_default_settings): register ip6 settings object
2578
2579         * libnm-util/nm-utils.c
2580           libnm-util/nm-utils.h
2581                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2582                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2583                         ip6 address conversion functions
2584         
2585 2008-06-26  Dan Williams <dcbw@redhat.com>
2586
2587         Patch from David Cantrell <dcantrell@redhat.com>
2588         
2589         * Use inet_ntop() and inet_pton() everwhere and check for errors
2590
2591 2008-06-26  Dan Williams <dcbw@redhat.com>
2592
2593         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2594
2595 2008-06-26  Dan Williams <dcbw@redhat.com>
2596
2597         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2598
2599         * src/nm-device-wifi.c
2600                 - (link_timeout_cb): don't ignore disconnects due to scanning
2601                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2602                         a longer timeout when scanning; avoids case where supplicant can't
2603                         find the AP and just keeps scanning forever but isn't connected
2604
2605 2008-06-26  Dan Williams <dcbw@redhat.com>
2606
2607         Patch from Michael Biebl <biebl@debian.org>
2608
2609         * Clean up build system stuff
2610
2611 2008-06-23  Christian Persch  <chpe@gnome.org>
2612
2613         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2614         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2615         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2616         (impl_get_object):
2617         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2618         (impl_get_object):
2619         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2620         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2621         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2622         (impl_get_object):
2623         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2624         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2625         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2626         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2627         * vpn-daemons/pptp/properties/vpnui_opt.c:
2628         (vpnui_opt_connect_signals):
2629         * vpn-daemons/pptp/properties/vpnui_opt.h:
2630         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2631         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2632         deprecated gtk type macros. Bug #539325.
2633
2634 2008-06-20  Dan Williams  <dcbw@redhat.com>
2635
2636         * libnm-glib/nm-vpn-plugin-ui-interface.c
2637           libnm-glib/nm-vpn-plugin-ui-interface.h
2638                 - 'validity-changed' -> 'changed' to work better with the connection
2639                         editor.  Plugin UI widgets should emit 'changed' whenever their
2640                         UI values change in a meaningful way.
2641                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2642                         update_connection member now returns validity of the UI widget
2643
2644 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2645
2646         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2647
2648 2008-06-17  Dan Williams  <dcbw@redhat.com>
2649
2650         * libnm-glib/nm-vpn-plugin-ui-interface.c
2651           libnm-glib/nm-vpn-plugin-ui-interface.h
2652                 - Add "desc" property for longer descriptions of the VPN plugin
2653
2654 2008-06-16  Dan Williams  <dcbw@redhat.com>
2655
2656         * configure.in
2657           libnm-glib/libnm_glib_vpn.pc.in
2658                 - add a .pc file for libnm_glib_vpn
2659
2660         * libnm-glib/nm-vpn-plugin-ui-interface.c
2661           libnm-glib/nm-vpn-plugin-ui-interface.h
2662                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2663                         rework it substantially
2664
2665 2008-06-12  Dan Williams  <dcbw@redhat.com>
2666
2667         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2668         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2669         returns a descriptive GError when verification fails.
2670
2671 2008-06-11  Dan Williams  <dcbw@redhat.com>
2672
2673         Patch from Tambet Ingo <tambet@gmail.com>
2674
2675         * libnm-util/nm-setting-gsm.c
2676                 - (verify): validate APN
2677
2678         * src/nm-gsm-device.c
2679                 - (manual_registration_done): start setting APN if needed
2680                 - (set_apn, set_apn_done): set the APN
2681                 - (do_dial): use the APN when dialing
2682
2683 2008-06-11  Dan Williams  <dcbw@redhat.com>
2684
2685         * src/NetworkManagerSystem.c
2686                 - (nm_system_device_set_ip4_route,
2687                    nm_system_device_replace_default_ip4_route): check for the right
2688                         return value from rtnl_route_add() to know when to add a gateway
2689                         route (from Tambet)
2690
2691 2008-06-11  Dan Williams  <dcbw@redhat.com>
2692
2693         * src/NetworkManagerPolicy.c
2694                 - do_ipt_cmd -> do_cmd
2695                 - (sharing_init): use do_cmd() instead of system()
2696
2697 2008-06-10  Dan Williams  <dcbw@redhat.com>
2698
2699         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2700         and use "wifi" everwhere instead.
2701
2702 2008-06-10  Dan Williams  <dcbw@redhat.com>
2703
2704         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2705
2706 2008-06-10  Dan Williams  <dcbw@redhat.com>
2707
2708         Patch from Tambet Ingo <tambet@gmail.com>
2709
2710         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2711                 changes.
2712
2713         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2714                 a signal to emit these changes over dbus.
2715
2716         * src/Makefile.am: Genereate nm-serial-device-glue.
2717
2718         * libnm-glib/nm-serial-device.[ch]: Implement.
2719
2720         * libnm-glib/nm-cdma-device.[ch]
2721           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2722
2723         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2724
2725         * introspection/nm-device-serial.xml: Implement.
2726
2727         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2728
2729         * introspection/Makefile.am: Add nm-device-serial.xml.
2730
2731         * include/NetworkManager.h: Add a DBus interface for serial device.
2732
2733 2008-06-10  Dan Williams  <dcbw@redhat.com>
2734
2735         * configure.in
2736                 - Add TARGET_* define to config.h to distinguish distros
2737
2738         * src/dhcp-manager/nm-dhcp-manager.c
2739                 - (dhclient_run): use distro-specific path for dhclient config file
2740
2741 2008-06-09  Dan Williams  <dcbw@redhat.com>
2742
2743         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2744           src/dnsmasq-manager/nm-dnsmasq-manager.h
2745                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2746                         calculate the addresses passed to dnsmasq instead of hard-coding
2747                         them
2748
2749         * src/nm-device.c
2750                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2751                         IP addresses for shared connections to guard against shared
2752                         connection address collisions
2753                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2754                         error conditions
2755                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2756                         the dnsmasq manager
2757
2758 2008-06-09  Dan Williams  <dcbw@redhat.com>
2759
2760         * src/NetworkManagerPolicy.c
2761                 - (update_routing_and_dns): set the default connection _after_ unsetting
2762                         default on all non-default connections so that two connections can
2763                         never be default at the same time
2764                 - (device_state_changed): start and stop connection sharing when
2765                         needed
2766                 - (active_connection_default_changed): restart or stop sharing when
2767                         the default connection changes to keep shared connections always
2768                         NAT-ed through the default connection
2769                 - (check_sharing): handle activation/deactivation of shared connections
2770                 - (sharing_restart): atom-bomb approach to connection sharing until we
2771                         can use libnl; reinit all sharing when the default connection or
2772                         shared connections change
2773                 - (sharing_init, sharing_stop): evil functions that init and deinit
2774                         iptables
2775
2776 2008-06-09  Dan Williams  <dcbw@redhat.com>
2777
2778         * src/nm-activation-request.c
2779           src/nm-activation-request.h
2780                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2781                    nm_act_request_get_device): new functions to facilitate connection
2782                         sharing
2783
2784 2008-06-09  Dan Williams  <dcbw@redhat.com>
2785
2786         * src/nm-device.c
2787                 - (clear_act_request): unset the 'default' property of the activation
2788                         request when clearing it to ensure the property changed signal gets
2789                         delivered and handled
2790
2791 2008-06-09  Dan Williams  <dcbw@redhat.com>
2792
2793         * libnm-glib/nm-device-802-11-wireless.c
2794                 - (access_point_removed_proxy): actually unref the AP after removing
2795                         it from the device's AP list.  Fixes refcounting bug for APs that
2796                         caused them to get mixed up in the applet's menu.
2797
2798 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2799
2800         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2801         (nm_dhcp_device_destroy): Destroy the device options hash table.
2802
2803 2008-06-06  Dan Williams <dcbw@redhat.com>
2804
2805         * system-settings/src/nm-polkit-helpers.c
2806                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2807                         unref the context if the initialization fails; also avoid spew when
2808                         the error isn't set
2809
2810 2008-06-06  Dan Williams <dcbw@redhat.com>
2811
2812         Patch from Tambet Ingo  <tambet@gmail.com>
2813
2814         * src/NetworkManagerSystem.c
2815           src/NetworkManagerSystem.h
2816                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2817                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2818                 - (nm_system_device_set_ip4_route): clean up
2819                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2820
2821         * src/nm-device.c
2822                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2823
2824         * src/vpn-manager/nm-vpn-connection.c
2825                 - (ip_address_to_string): new function
2826                 - (print_vpn_config): use ip_address_to_string
2827                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2828                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2829
2830         * include/NetworkManagerVPN.h
2831                 - Add 'routes' key
2832
2833 2008-06-05  Dan Williams <dcbw@redhat.com>
2834
2835         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2836
2837         * test/nm-tool.c
2838                 - Show which device is the default device
2839
2840 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2841
2842         Fix memory leaks.
2843
2844         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2845         Free data returned from dbus method call.
2846
2847         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2848         dbus_g_method_get_sender() returns a duplicated string, free it 
2849         when done.
2850         (check_polkit_privileges): Looks like policykit sometimes returns
2851         error and non-null return value, don't leak errors in that case.
2852
2853         * system-settings/src/main.c (find_plugin): Don't leak existing 
2854         plugin names.
2855         (load_stuff): Don't leak device list and list items.
2856         (have_connection_for_device): Don't leak connection list.
2857
2858         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2859         Free the data received from g_keyfile_get_*.
2860
2861         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2862         the key when the security object is updated.
2863
2864         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2865         Free data returned from dbus method call.
2866         (iface_state_cb): Ditto.
2867         (add_network_cb): Ditto.
2868         (nm_supplicant_interface_add_cb): Don't make another copy of already
2869         duplicated object path.
2870         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2871         when done.
2872
2873         * src/supplicant-manager/nm-supplicant-config.c 
2874         (ADD_STRING_LIST_VAL): Fix a memory leak.
2875
2876         * src/nm-manager.c (free_get_settings_info): Free the allocated
2877         memory slice.
2878         (list_connections_cb): Free data returned from dbus method call.
2879         (system_settings_get_unmanaged_devices_cb): Ditto.
2880
2881         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2882
2883         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2884         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2885         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2886         of the GList.
2887
2888         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2889         arguments after the object is created.
2890
2891 2008-06-04  Dan Williams <dcbw@redhat.com>
2892
2893         * libnm-util/Makefile.am
2894                 - Don't distribute nm-param-spec-specialized.h
2895
2896 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2897
2898         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2899
2900         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2901         NMIP4Address, update the getters and setters.
2902
2903         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2904         Use the updated NMIP4Config routes api.
2905
2906         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2907         static routes as well.
2908
2909         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2910         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2911         routes api.
2912
2913 2008-05-30  Dan Williams <dcbw@redhat.com>
2914
2915         * src/named-manager/nm-named-manager.c
2916           src/named-manager/nm-named-manager.h
2917                 - Remove stale/obsolete bits for controlling bind over DBus
2918
2919 2008-05-29  Dan Williams <dcbw@redhat.com>
2920
2921         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2922           src/dnsmasq-manager/nm-dnsmasq-manager.h
2923                 - (nm_dnsmasq_manager_new): move iface argument here
2924                 - (constructor): remove, not needed
2925                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2926                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2927
2928         * src/nm-device.c
2929                 - (real_act_stage4_get_ip4_config,
2930                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2931                         changes
2932
2933 2008-05-29  Dan Williams <dcbw@redhat.com>
2934
2935         * src/nm-device.c
2936                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2937                         something happens to dnsmasq
2938                 - (nm_device_new_ip4_shared_config): new function; create a new
2939                         ip4-config for shared connections.  Shared connections always use a
2940                         fixed static IP address.
2941                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2942                         autoip connections by actually using the returned ip4-config and
2943                         not leaking it
2944                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2945                         connections
2946                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2947                         if its active
2948
2949 2008-05-29  Dan Williams <dcbw@redhat.com>
2950
2951         * src/nm-device-802-11-wireless.c
2952                 - (real_get_best_auto_connection): auto-activate 'shared' method
2953                         connections too
2954
2955 2008-05-29  Dan Williams <dcbw@redhat.com>
2956
2957         * libnm-util/nm-setting-ip4-config.c
2958           libnm-util/nm-setting-ip4-config.h
2959                 - Add a 'shared' method to indicate that this connection should be
2960                         brought up with a DHCP and proxy DNS server to facilitate
2961                         connection sharing.
2962                 - (verify): 'shared' method doesn't allow DNS or searches either
2963
2964 2008-05-29  Dan Williams <dcbw@redhat.com>
2965
2966         * configure.in
2967           src/Makefile.am
2968           src/dnsmasq-manager/Makefile.am
2969           src/dnsmasq-manager/nm-dnsmasq-manager.c
2970           src/dnsmasq-manager/nm-dnsmasq-manager.h
2971                 - Add a dnsmasq daemon manager to facilitate connection sharing
2972
2973 2008-05-29  Dan Williams <dcbw@redhat.com>
2974
2975         * src/nm-device-private.h
2976                 - Remove unused prototypes and clean up
2977
2978         * src/nm-device.c
2979                 - Remove anything related to system_config_data, which is no longer used
2980                 - (nm_device_new_ip4_autoip_config): make static
2981
2982 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2983
2984         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2985         (file_changed): Fix a bug where suse system settings plugin didn't
2986         update the connections automatically when the files changed.
2987
2988 2008-05-28  Dan Williams  <dcbw@redhat.com>
2989
2990         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2991
2992 2008-05-28  Dan Williams  <dcbw@redhat.com>
2993
2994         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2995
2996         * src/NetworkManagerSystem.c
2997                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2998                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2999                         was causing -EINVAL errors since the libnl code actually does flush
3000                         the routes on VPN interfaces now
3001
3002         * src/backends/NetworkManagerArch.c
3003           src/backends/NetworkManagerDebian.c
3004           src/backends/NetworkManagerFrugalware.c
3005           src/backends/NetworkManagerGeneric.c
3006           src/backends/NetworkManagerGentoo.c
3007           src/backends/NetworkManagerMandriva.c
3008           src/backends/NetworkManagerPaldo.c
3009           src/backends/NetworkManagerRedHat.c
3010           src/backends/NetworkManagerSlackware.c
3011           src/backends/NetworkManagerSuSE.c
3012                 - (nm_system_device_flush_ip4_routes,
3013                    nm_system_device_flush_ip4_routes_with_iface): remove
3014
3015 2008-05-28  Dan Williams  <dcbw@redhat.com>
3016
3017         * libnm-util/nm-setting-wireless.c
3018           libnm-util/nm-setting-wireless.h
3019                 - (set_property, get_property, nm_setting_wireless_class_init): add the
3020                         'adhoc-create' property, which when TRUE indicates that NM should
3021                         create this connection as an adhoc wifi network if it's not found
3022                         as an adhoc network during scanning.  Can be used to auto-create
3023                         adhoc networks when used in combination with autoconnect.
3024
3025 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3026
3027         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3028
3029         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3030         checked, it doesn't work on some devices.
3031
3032 2008-05-28  Tambet Ingo  <tambet@gmail.com>
3033
3034         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
3035         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3036
3037         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3038         Use inet_aton() everywhere to improve error detection.
3039         Don't fall back to 'dhcp_server_identifier' if the gateway is not
3040         provided.
3041
3042 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3043
3044         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3045         Fix a typo.
3046
3047 2008-05-26  Tambet Ingo  <tambet@gmail.com>
3048
3049         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3050         reference counting issue.
3051
3052 2008-05-23  Dan Williams  <dcbw@redhat.com>
3053
3054         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3055
3056         * src/backends/NetworkManagerGeneric.c
3057                 - (nm_generic_enable_loopback): use libnl
3058
3059 2008-05-23  Dan Williams  <dcbw@redhat.com>
3060
3061         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3062
3063         * src/NetworkManagerSystem.h
3064           src/backends/NetworkManagerArch.c
3065           src/backends/NetworkManagerDebian.c
3066           src/backends/NetworkManagerFrugalware.c
3067           src/backends/NetworkManagerGentoo.c
3068           src/backends/NetworkManagerMandriva.c
3069           src/backends/NetworkManagerPaldo.c
3070           src/backends/NetworkManagerRedHat.c
3071           src/backends/NetworkManagerSlackware.c
3072           src/backends/NetworkManagerSuSE.c
3073                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3074                    nm_system_flush_arp_cache): remove, unused
3075
3076         * src/backends/NetworkManagerGeneric.c
3077           src/backends/NetworkManagerGeneric.h
3078                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3079                    nm_generic_flush_arp_cache): remove, unused
3080
3081 2008-05-23  Dan Williams  <dcbw@redhat.com>
3082
3083         * system-settings/plugins/ifcfg-fedora/reader.c
3084                 - (make_ip4_setting): honor PEERDNS setting
3085
3086 2008-05-23  Dan Williams  <dcbw@redhat.com>
3087
3088         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3089
3090         * src/NetworkManagerSystem.c
3091                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3092                         libnl
3093
3094         * src/backends/NetworkManagerArch.c
3095           src/backends/NetworkManagerDebian.c
3096           src/backends/NetworkManagerFrugalware.c
3097           src/backends/NetworkManagerGentoo.c
3098           src/backends/NetworkManagerMandriva.c
3099           src/backends/NetworkManagerPaldo.c
3100           src/backends/NetworkManagerRedHat.c
3101           src/backends/NetworkManagerSlackware.c
3102           src/backends/NetworkManagerSuSE.c
3103                 - (nm_system_device_flush_ip4_addresses,
3104                    nm_system_device_flush_ip4_addresses_with_iface): remove
3105
3106         * src/backends/NetworkManagerGeneric.c
3107                 - (nm_generic_device_flush_ip4_addresses,
3108                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3109
3110 2008-05-23  Dan Williams  <dcbw@redhat.com>
3111
3112         * src/supplicant-manager/nm-supplicant-settings-verify.c
3113                 - Switch 'bssid' from bytes to keyword type
3114                 - (validate_type_keyword): allow NULL keyword lists
3115
3116         * src/supplicant-manager/nm-supplicant-config.c
3117                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3118                         a byte array to string form, which is what the supplicant expects
3119
3120 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3121
3122         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3123         information received from DHCP.
3124
3125         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3126         to make it possible to ignore the DNS information (both servers and 
3127         searches) returned by DHCP server.
3128
3129         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3130         name servers and searches if "ignore_dhcp_dns" is set.
3131
3132         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3133         (nm_ip4_config_reset_searches): Implement.
3134
3135 2008-05-22  Dan Williams  <dcbw@redhat.com>
3136
3137         Remove anything mDNS related.  This is better done from a distro-specific
3138         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3139         avahi, since avahi can handle interface changes just fine using netlink.
3140
3141         * configure.in
3142                 - Remove --with-mdns-provider
3143
3144         * src/NetworkManagerPolicy.c
3145                 - (global_state_changed): don't restart the mdns provider
3146
3147         * src/NetworkManagerSystem.h
3148           src/backends/NetworkManagerArch.c
3149           src/backends/NetworkManagerDebian.c
3150           src/backends/NetworkManagerFrugalware.c
3151           src/backends/NetworkManagerGentoo.c
3152           src/backends/NetworkManagerMandriva.c
3153           src/backends/NetworkManagerPaldo.c
3154           src/backends/NetworkManagerRedHat.c
3155           src/backends/NetworkManagerSlackware.c
3156           src/backends/NetworkManagerSuSE.c
3157                 - (nm_system_restart_mdns_responder): remove
3158
3159         * src/backends/NetworkManagerGeneric.c
3160           src/backends/NetworkManagerGeneric.h
3161                 - (nm_generic_restart_mdns_responder): remove
3162
3163 2008-05-22  Dan Williams  <dcbw@redhat.com>
3164
3165         * configure.in
3166                 - clean up crypto options; just use --with-crypto=nss or
3167                         --with-crypto=gnutls
3168
3169 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3170
3171         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3172         anymore, do it right away.
3173
3174 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3175
3176         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3177         serial device open when we're not connecting or connected.
3178
3179         * src/nm-cdma-device.c (device_state_changed): Ditto.
3180
3181 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3182
3183         Don't remove all devices on waking up, sync with HAL.
3184
3185         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3186         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3187         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3188
3189 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3190
3191         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3192         If the default gateway is unreachable, add a route to gateway and try
3193         again.
3194
3195 2008-05-20  Dan Williams  <dcbw@redhat.com>
3196
3197         * system-settings/plugins/ifcfg-fedora/reader.c
3198                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3199
3200 2008-05-19  Dan Williams  <dcbw@redhat.com>
3201
3202         * system-settings/plugins/ifcfg-fedora/reader.c
3203                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3204                         if the ifcfg doesn't specify one (rh #446527)
3205
3206 2008-05-19  Dan Williams  <dcbw@redhat.com>
3207
3208         Make the system settings service exit when the bus goes away.  Since it's
3209         a bus-activated service, it's lifetime is limited to the bus that activated
3210         it (rh #444976).
3211
3212         * system-settings/src/Makefile.am
3213           system-settings/src/nm-system-config-hal-manager-private.h
3214                 - Remove nm-system-config-hal-manager-private.h
3215
3216         * system-settings/src/nm-system-config-hal-manager.c
3217                 - (nm_system_config_hal_manager_reinit_dbus,
3218                    nm_system_config_hal_manager_deinit_dbus): remove
3219
3220         * system-settings/src/main.c
3221                 - (dbus_reconnect): remove
3222                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3223                 - (destroy_cb): just quit when the bus goes away
3224                 - (start_dbus_service, dbus_init): simplify
3225                 - (main): destroy the wired devices hash table after destroying
3226                         the HAL manager so we don't have to disconnect signals from the
3227                         HAL manager
3228
3229 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3230
3231         Move crypto functions from nm-applet to libnm-util.
3232
3233         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3234         (nm_setting_802_1x_set_client_cert)
3235         (nm_setting_802_1x_set_phase2_ca_cert)
3236         (nm_setting_802_1x_set_phase2_client_cert)
3237         (nm_setting_802_1x_set_private_key)
3238         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3239         file (or private key and it's password), read the certificate data.
3240
3241         * libnm-util/crypto_nss.c: 
3242         * libnm-util/crypto_gnutls.c: 
3243         * libnm-util/crypto.[ch]: Move here from nm-applet.
3244
3245         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3246
3247         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3248         Imlement WPA-EAP configuration reading from sysconfig.
3249
3250 2008-05-16  Dan Williams  <dcbw@redhat.com>
3251
3252         * src/nm-device-802-11-wireless.c
3253                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3254                         wireless
3255
3256 2008-05-14  Dan Williams  <dcbw@redhat.com>
3257
3258         Fix Linus' bug in rh #134886
3259
3260         * src/nm-device-802-3-ethernet.c
3261                 - (constructor): request initial carrier state
3262
3263         * src/nm-netlink-monitor.c
3264                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3265                         signals after refilling the link cache.  Because the refill is a 
3266                         synchronous operation, the normal message hander won't get called
3267                         since libnl has already consumed the messages.
3268                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3269
3270 2008-05-14  Dan Williams  <dcbw@redhat.com>
3271
3272         * src/NetworkManagerSystem.c
3273                 - (nm_system_device_is_up_with_iface): clean up
3274
3275 2008-05-13  Dan Williams  <dcbw@redhat.com>
3276
3277         Fix refcounting issues over sleep/wake when a VPN connection was active that
3278         caused NM to try registering an object path for a device upon wake that was
3279         the same as an already registered object path.
3280
3281         * src/nm-device.c
3282                 - (nm_device_take_down): properly handle cases where the device is
3283                         no longer active but was just active, and therefore must be
3284                         deactivated.  When a device moves to unmanaged mode, this function
3285                         previously would not deactivate the device, because the state was
3286                         already unmanaged by the time this function was called.
3287
3288         * src/vpn-manager/nm-vpn-connection.c
3289                 - (device_state_changed): properly handle multiple devices states in
3290                         which the device is now deactivated.  Code previously didn't handle
3291                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3292                         UNMANAGED states.
3293
3294 2008-05-13  Dan Williams  <dcbw@redhat.com>
3295
3296         * src/nm-device-private.h
3297           src/nm-device.c
3298                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3299
3300         * src/nm-device-802-11-wireless.c
3301                 - (nm_device_802_11_wireless_set_enabled): take devices up
3302                         and down as appropriate for the rfkill state
3303
3304 2008-05-13  Dan Williams  <dcbw@redhat.com>
3305
3306         * marshallers/nm-marshal.list
3307                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3308
3309         * system-settings/plugins/ifcfg-fedora/Makefile.am
3310           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3311           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3312                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3313                         events.  Solely for use watching ifcfg files to pick up changes
3314                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3315
3316         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3317                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3318                         file contents change
3319                 - (finalize): clean up inotify watches
3320                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3321                         and the connection ifcfg for changes on their hardlinks
3322                 - (files_changed_cb): proxy the changed signal back out to listeners
3323
3324         * system-settings/plugins/ifcfg-fedora/plugin.c
3325                 - (dir_changed): 
3326                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3327                         changes
3328                 - (read_one_connection): connect to change signals on the new connection
3329                 - (dir_changed, connection_changed_handler,
3330                    handle_connection_remove_or_new): break out connection change
3331                         handling and connection new/remove handling so it can be used from
3332                         both the GFileMonitor callback and the NMIfcfgConnection changed
3333                         signals
3334
3335         * system-settings/plugins/ifcfg-fedora/reader.c
3336           system-settings/plugins/ifcfg-fedora/reader.h
3337                 - (connection_from_file): return the keyfile path the connection would use
3338
3339 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3340
3341         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3342         single PolKitContext which is shared by all. PolKitContext::unref leaks
3343         just about everything, including all open file descriptiors and results
3344         in 99% cpu usage when data arrives to any of the fds that don't belong
3345         to any context anymore.
3346
3347 2008-05-12  Dan Williams  <dcbw@redhat.com>
3348
3349         * gfilemonitor/glocaldirectorymonitor.c
3350           gfilemonitor/glocaldirectorymonitor.h
3351                 - (g_local_directory_monitor_constructor): actually subscribe to the
3352                         watch
3353                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3354
3355         * gfilemonitor/glocalfilemonitor.c
3356           gfilemonitor/glocalfilemonitor.h
3357                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3358                 - (_g_local_file_monitor_new): ensure that inotify is started up
3359
3360 2008-05-11  Dan Williams  <dcbw@redhat.com>
3361
3362         * configure.in
3363                 - record PolicyKit version
3364
3365         * system-settings/src/nm-polkit-helpers.c
3366                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3367                         with PolicyKit <= 0.6
3368
3369 2008-05-11  Dan Williams  <dcbw@redhat.com>
3370
3371         Update Fedora system-settings plugin to support latest API and use
3372         GFileMonitor rather than home-rolled inotify code.
3373
3374         * system-settings/plugins/ifcfg-fedora/Makefile.am
3375           system-settings/plugins/ifcfg-fedora/common.h
3376           system-settings/plugins/ifcfg-fedora/plugin.c
3377                 - Update to latest system settings plugin API; use GIO instead of
3378                         custom inotify code; use NMIfcfgConnection objects instead of
3379                         ConnectionData structures tacked onto NMConnection objects
3380
3381         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3382           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3383                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3384                         connections
3385
3386         * system-settings/plugins/ifcfg-fedora/reader.c
3387           system-settings/plugins/ifcfg-fedora/reader.h
3388                 - Move ifcfg parsing bits here from parser.c
3389
3390         * system-settings/plugins/ifcfg-fedora/parser.c
3391           system-settings/plugins/ifcfg-fedora/parser.h
3392                 - Remove; most code moved to reader.c
3393
3394 2008-05-11  Dan Williams  <dcbw@redhat.com>
3395
3396         * configure.in
3397           Makefile.am
3398           gfilemonitor/*
3399                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3400                         implementation, so that the same change monitoring code can be used
3401                         on systems without glib-2.14 (like Fedora 8)
3402
3403         * system-settings/plugins/keyfile/Makefile.am
3404           system-settings/plugins/keyfile/plugin.c
3405           system-settings/plugins/ifcfg-suse/Makefile.am
3406           system-settings/plugins/ifcfg-suse/plugin.c
3407                 - Use private gfilemonitor code if GIO is not present
3408
3409 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3410
3411         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3412         NMExportedConnection's 'update' and 'delete' and return error with
3413         descriptive message.
3414
3415 2008-05-08  Dan Williams  <dcbw@redhat.com>
3416
3417         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3418
3419         * src/nm-gsm-device.c
3420           src/nm-cdma-device.c
3421                 - (real_get_best_auto_connection): implement; allow autoconnection
3422                         to GSM & CDMA devices
3423
3424 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3425
3426         Use PolicyKit to authorize the system settings' AddConnection method
3427         and the system settings connections' Update and Delete methods.
3428         
3429         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3430         (impl_exported_connection_delete, nm_exported_connection_update)
3431         (nm_exported_connection_delete): Return boolean and fill GError
3432         to notify the callers of the reasons why it might have failed.
3433
3434         * libnm-glib/nm-dbus-settings-system.c
3435         (nm_dbus_settings_system_add_connection): Return the error from dbus
3436         call so that the callers can see why it failed.
3437
3438         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3439         signatures.
3440
3441         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3442
3443         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3444         abstract base class that checks PolicyKit permissions.
3445
3446         * system-settings/src/dbus-settings.c:
3447         (impl_settings_add_connection): Check the policy before carring out
3448         the request.
3449
3450         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3451         Inherit from NMSysconfigConnection, check the policies before
3452         allowing updating or removing.
3453
3454         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3455         Inherit from NMSysconfigConnection.
3456
3457         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3458         "Delete" methods with async flag so that the implementations can get
3459         access to DBusGMethodInvocation.
3460
3461         * system-settings/src/dbus-settings.c 
3462         (settings_add_connection_check_privileges): Implement.
3463         (impl_settings_add_connection): Check the privileges before adding a new
3464         connection. Improve error reporting.
3465
3466         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3467         async so that the implementation can access DBusGMethodInvocation.
3468
3469         * configure.in: Check for PolicyKit.
3470
3471         * policy/org.freedesktop.network-manager-settings.system.policy: 
3472         New file.
3473
3474         * policy/Makefile.am: Install the policy file.
3475
3476         * configure.in: Add 'policy' subdir.
3477
3478 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3479
3480         Rewrite the suse system settings plugin.
3481
3482         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3483
3484         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3485
3486         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3487
3488         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3489
3490         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3491
3492         * system-settings/src/main.c (load_plugins): Improve error reporting.
3493
3494         * system-settings/src/sha1.[ch] Add.
3495
3496         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3497
3498 2008-05-07  Dan Williams  <dcbw@redhat.com>
3499
3500         * system-settings/plugins/keyfile/reader.c
3501                 - (read_one_setting_value): handle IP address items separately
3502                 - (read_array_of_uint): read IPv4 DNS option as a string array
3503                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3504                         array
3505
3506         * system-settings/plugins/keyfile/writer.c
3507                 - (write_setting_value): handle IP address items separately
3508                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3509                         not an array of uint, so that it's user-editable
3510                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3511                         arrays, so they are user-editable
3512
3513 2008-05-07  Dan Williams  <dcbw@redhat.com>
3514
3515         * system-settings/plugins/keyfile/Makefile.am
3516                 - Change location of the keyfile plugin settings to
3517                         /etc/NetworkManager/system-connections
3518
3519 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3520
3521         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3522
3523         * system-settings/plugins/keyfile/plugin.c: Work with
3524         NMKeyfileConnections.
3525
3526         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3527         Plugins are supposed to return NMExportedConnections now and handle the
3528         updated(), removed(), and GetSecrets().
3529         Store the internal list of connections in hash table to make it easier
3530         to find duplicates.
3531
3532 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3533
3534         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3535         for multiple IP addresses.
3536
3537 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3538
3539         Patch from André Lemos.
3540
3541         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3542         corruption.
3543
3544 2008-05-06  Dan Williams  <dcbw@redhat.com>
3545
3546         * src/dhcp-manager/nm-dhcp-manager.c
3547                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3548                         NMIP4Config to support multiple IP addresses
3549
3550         * src/NetworkManagerUtils.c
3551                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3552
3553         * src/nm-ip4-config.c
3554           src/nm-ip4-config.h
3555                 - Store a list of IPv4 address/netmask/gateway tuples
3556                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3557                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3558                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3559                    nm_ip4_config_set_address): remove
3560                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3561                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3562                         new functions; handle multiple IPv4 addresses
3563
3564         * src/nm-device.c
3565           src/ppp-manager/nm-ppp-manager.c
3566           src/vpn-manager/nm-vpn-connection.c
3567           src/NetworkManagerPolicy.c
3568           test/nm-tool.c
3569           libnm-glib/libnm-glib-test.c
3570                 - update for changes to NMIP4Config for multiple IPv4 addresses
3571
3572         * src/NetworkManagerSystem.c
3573                 - (nm_system_device_set_ip4_route): don't add the route if any address
3574                         is on the same subnet as the destination
3575                 - (check_one_address): ignore the exact match, just match family and
3576                         interface index
3577                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3578                         an interface
3579                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3580                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3581
3582         * introspection/nm-ip4-config.xml
3583                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3584                 - Add 'addresses' property which is an array of (uuu) tuples of
3585                         address/netmask/gateway
3586
3587         * libnm-util/nm-setting-ip4-config.c
3588                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3589
3590         * libnm-glib/nm-ip4-config.c
3591           libnm-glib/nm-ip4-config.h
3592                 - Handle D-Bus interface changes to support multiple IP addresses
3593
3594 2008-05-06  Dan Williams  <dcbw@redhat.com>
3595
3596         * libnm-util/nm-utils.c
3597           libnm-util/nm-utils.h
3598                 - (nm_utils_ip4_addresses_from_gvalue,
3599                    nm_utils_ip4_addresses_to_gvalue): new functions
3600
3601 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3602
3603         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3604         the returned connection paths.
3605
3606 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3607
3608         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3609         "PropertiesChanged" signal signature.
3610
3611         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3612         defined in nm-dbus-glib-types.h.
3613         Don't register the connection on dbus, we're a proxy class to 
3614         communicate with an already registered connection over dbus.
3615
3616 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3617
3618         Implement new subclasses of NMSettings and NMExportedConnection to make
3619         it easier for the applet to access and modify system settings.
3620
3621         * libnm-glib/nm-dbus-connection.[ch]:
3622         * libnm-glib/nm-dbus-settings.[ch]:
3623         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3624
3625         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3626         bindings and glue.
3627
3628         * include/NetworkManager.h: Define the system settings DBus interface.
3629
3630 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3631
3632         Implement additional C API for exported connections to make them identical
3633         with the DBus API. Change the (list_connections) virtual function to be
3634         more usable from C - instead of requiring implementers to return a GPtrArray
3635         of dbus paths, return a list of connections.
3636
3637         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3638         (nm_settings_list_connections):
3639         (nm_exported_connection_new):
3640         (nm_exported_connection_update):
3641         (nm_exported_connection_delete): Implement.
3642
3643         (impl_settings_list_connections):
3644         (impl_exported_connection_update):
3645         (impl_exported_connection_delete): Use the new public functions to make 
3646         sure the C and dbus interfaces stay in sync.
3647
3648         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3649         connections.
3650
3651 2008-05-02  Dan Williams  <dcbw@redhat.com>
3652
3653         * system-settings/plugins/ifcfg-fedora/plugin.c
3654                 - (dispose): use right unref call on the DBusGConnection
3655
3656 2008-05-02  Dan Williams  <dcbw@redhat.com>
3657
3658         * src/nm-serial-device.c
3659                 - (find_terminator): don't compare the whole line, just the size of the
3660                         terminator, since some modems put stuff after the terminator, like
3661                         "CONNECT 9600"
3662
3663 2008-05-01  Dan Williams  <dcbw@redhat.com>
3664
3665         Patch from Michael Biebl <biebl@debian.org>
3666
3667         * callouts/Makefile.am
3668           callouts/org.freedesktop.nm_dispatcher.service.in
3669           system-settings/src/Makefile.am
3670           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3671                 - use the right install location for dbus-activated stuff
3672
3673 2008-04-30  Dan Williams  <dcbw@redhat.com>
3674
3675         * src/nm-gsm-device.c
3676                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3677                         PIN or PUK
3678
3679 2008-04-30  Dan Williams  <dcbw@redhat.com>
3680
3681         * src/nm-manager.c
3682                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3683
3684 2008-04-30  Dan Williams  <dcbw@redhat.com>
3685
3686         * src/nm-device-802-3-ethernet.c
3687           src/nm-device-802-11-wireless.c
3688                 - (real_is_up): return true instead of chaining up to unimplemented
3689                         parent method
3690
3691 2008-04-30  Dan Williams  <dcbw@redhat.com>
3692
3693         * src/NetworkManagerSystem.c
3694           src/NetworkManagerSystem.h
3695                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3696                         functions to check device flags for IFF_UP
3697
3698         * src/nm-serial-device.c
3699                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3700                         implement is_up
3701
3702         * src/nm-device-802-3-ethernet.c
3703           src/nm-device-802-11-wireless.c
3704                 - (real_hw_is_up): call nm_system_device_is_up()
3705
3706         * src/nm-device.c
3707                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3708                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3709                         does not implement
3710
3711 2008-04-29  Dan Williams  <dcbw@redhat.com>
3712
3713         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3714
3715         * marshallers/nm-marshal.list
3716                 - Add marshaller
3717
3718         * src/NetworkManager.c
3719                 - (main): let the NMManager handle the NMHalManager
3720
3721         * src/nm-hal-manager.c
3722           src/nm-hal-manager.h
3723                 - convert to a GObject, and emit singals when stuff changes.  Let the
3724                         NMManager handle the signals, instead of the NMHalManager calling
3725                         into the NMManager.  
3726
3727         * src/nm-manager.c
3728           src/nm-manager.h
3729                 - (remove_one_device): consolidate device removals here
3730                 - (dispose): use remove_one_device()
3731                 - (nm_manager_get_device_by_udi): make static
3732                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3733                         manager for devices at startup or wakeup time
3734                 - (nm_manager_new): create and monitor the HAL manager
3735                 - (hal_manager_udi_added_cb): new function; do what
3736                         nm_manager_add_device() used to do when signalled by the hal manager
3737                 - (hal_manager_udi_removed_cb): new function; do what
3738                         nm_manager_remove_device() used to do when signalled by the hal
3739                         manager
3740                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3741                         hal manager
3742                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3743                         in our device list that aren't known to HAL
3744                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3745                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3746                         commits ago
3747                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3748                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3749                    nm_manager_wireless_hardware_enabled,
3750                    nm_manager_set_wireless_hardware_enabled): remove, unused
3751
3752 2008-04-28  Dan Williams  <dcbw@redhat.com>
3753
3754         Fix the device up/down ambiguities.  Up/down state used to be a
3755         conglomeration of hardware state (IFF_UP) and any device-specific things
3756         (supplicant, periodic timers, etc) that the device used to indicate
3757         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3758         reason, then the device specific stuff wouldn't get run, and the device
3759         would be stuck.
3760
3761         * src/nm-device.c
3762           src/nm-device.h
3763                 - Create hw_is_up, hw_bring_up, and hw_take_down
3764                 - Rename bring_down -> take_down
3765                 - (real_hw_is_up): check interface flags for IFF_UP
3766                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3767                 - (nm_device_is_up): make static; only used locally
3768                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3769                         if the device is already up; if the device isn't up, bring it up
3770                 - (nm_device_hw_take_down): just take down hardware
3771                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3772                 - (nm_device_take_down): always deactivate device when called; always
3773                         try to take hardware down too
3774                 - (nm_device_state_changed): take device down when entering unmanaged
3775                         state from a higher state
3776
3777         * src/nm-device-802-11-wireless.c
3778                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3779                         check IFF_UP really
3780                 - (real_take_down, supplicant_iface_state_cb_handler, 
3781                    supplicant_iface_connection_state_cb_handler,
3782                    supplicant_mgr_state_cb_handler): fix some messages
3783
3784         * src/nm-device-802-3-ethernet.c
3785                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3786                         check IFF_UP really
3787
3788 2008-04-28  Dan Williams  <dcbw@redhat.com>
3789
3790         * src/nm-manager.c
3791           src/nm-manager.h
3792                 - (nm_manager_error_get_type): add new error
3793                 - (nm_manager_remove_device): don't bother taking down the device here,
3794                         the state change from unmanaging the device will do it
3795                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3796                         uses it; when going to sleep, just unmanage the device instead of
3797                         taking it down, because stuff will cleaned up correctly when the
3798                         device gets unmanaged
3799
3800 2008-04-28  Dan Williams  <dcbw@redhat.com>
3801
3802         * src/nm-hal-manager.c
3803                 - (add_initial_devices): convert to a GSourceFunc prototype
3804                 - (nm_manager_state_changed): when coming out of sleep, punt the
3805                         device re-addition to an idle handler to let D-Bus events go out
3806                         first, fixing a potential dbus-glib assert if the old device was
3807                         not yet disposed (due to references held while emitting the D-Bus
3808                         signals) but the new device was found, because the mainloop didn't
3809                         run between signal emission and add_initial_devices()
3810
3811 2008-04-27  Dan Williams  <dcbw@redhat.com>
3812
3813         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3814
3815         * initscript/paldo/NetworkManager.in
3816           initscript/SUSE/networkmanager.in
3817                 - Remove last bits of dhcdbd
3818
3819 2008-04-27  Dan Williams  <dcbw@redhat.com>
3820
3821         * src/nm-device-802-11-wireless.c
3822                 - (link_timeout_cb): don't ask for secrets when disconnected during
3823                         association/authentication phase, drivers are still just too crappy
3824
3825 2008-04-27  Dan Williams  <dcbw@redhat.com>
3826
3827         * Makefile.am
3828           configure.in
3829           dispatcher-daemon/Makefile.am
3830           dispatcher-daemon/NetworkManagerDispatcher.c
3831           initscript/Arch/Makefile.am
3832           initscript/Arch/networkmanager-dispatcher.in
3833           initscript/Gentoo/Makefile.am
3834           initscript/Gentoo/NetworkManagerDispatcher.in
3835           initscript/Mandriva/Makefile.am
3836           initscript/Mandriva/networkmanagerdispatcher.in
3837           initscript/RedHat/Makefile.am
3838           initscript/RedHat/NetworkManagerDispatcher.in
3839           initscript/SUSE/Makefile.am
3840           initscript/SUSE/networkmanager-dispatcher.in
3841           initscript/Slackware/Makefile.am
3842           initscript/Slackware/rc.networkmanager-dispatcher.in
3843           initscript/paldo/Makefile.am
3844           initscript/paldo/NetworkManagerDispatcher.in
3845           man/Makefile.am
3846           man/NetworkManagerDispatcher.8.in
3847                 - Remove the dispatcher daemon
3848
3849 2008-04-27  Dan Williams  <dcbw@redhat.com>
3850
3851         * callouts/Makefile.am
3852           callouts/nm-dispatcher-action.c
3853           callouts/nm-dispatcher-action.h
3854           callouts/nm-dispatcher.conf
3855           callouts/nm-dispatcher.xml
3856           callouts/org.freedesktop.nm_dispatcher.service
3857                 - Re-implement the dispatcher as a system-bus activated service that
3858                         NM calls on-demand, rather than an always running daemon
3859
3860         * src/Makefile.am
3861                 - Add callouts dir to includes to pick up dispatcher defines
3862
3863         * src/nm-device.c
3864                 - (nm_device_state_changed): call dispatcher on device activated/
3865                         deactivated
3866
3867         * src/vpn-manager/nm-vpn-connection.c
3868                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3869                         go up and down
3870
3871         * src/NetworkManagerUtils.c
3872           src/NetworkManagerUtils.h
3873                 - (nm_utils_call_dispatcher): helper to call dispatcher
3874
3875 2008-04-27  Dan Williams  <dcbw@redhat.com>
3876
3877         * src/NetworkManagerUtils.c
3878           src/NetworkManagerUtils.h
3879                 - remove unneeded includes
3880                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3881                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3882                    nm_timeval_cmp, nm_timeval_add): remove, unused
3883                 - clean up formatting
3884                 - (nm_spawn_process): de-uglify
3885
3886         * src/nm-device-802-11-wireless.c
3887                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3888
3889 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3890
3891         * initscript/Gentoo/NetworkManager.in:
3892                 Fix for starting the daemon.
3893
3894 2008-04-25  Dan Williams  <dcbw@redhat.com>
3895
3896         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3897
3898         * src/NetworkManagerSystem.c
3899                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3900
3901 2008-04-25  Dan Williams  <dcbw@redhat.com>
3902
3903         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3904
3905         * src/NetworkManagerSystem.c
3906                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3907                         implementation of nm_system_device_replace_default_route()
3908
3909         * src/NetworkManagerPolicy.c
3910                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3911
3912         * src/backends/NetworkManagerArch.c
3913           src/backends/NetworkManagerDebian.c
3914           src/backends/NetworkManagerFrugalware.c
3915           src/backends/NetworkManagerGeneric.c
3916           src/backends/NetworkManagerGeneric.h
3917           src/backends/NetworkManagerGentoo.c
3918           src/backends/NetworkManagerMandriva.c
3919           src/backends/NetworkManagerPaldo.c
3920           src/backends/NetworkManagerRedHat.c
3921           src/backends/NetworkManagerSlackware.c
3922           src/backends/NetworkManagerSuSE.c
3923                 - (nm_system_device_replace_default_route): remove
3924
3925 2008-04-25  Dan Williams  <dcbw@redhat.com>
3926
3927         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3928
3929         * src/NetworkManagerSystem.c
3930                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3931                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3932                         replace nm_system_device_add_route_via_device_with_iface() in the
3933                         backends
3934
3935         * src/backends/NetworkManagerArch.c
3936           src/backends/NetworkManagerDebian.c
3937           src/backends/NetworkManagerFrugalware.c
3938           src/backends/NetworkManagerGeneric.c
3939           src/backends/NetworkManagerGeneric.h
3940           src/backends/NetworkManagerGentoo.c
3941           src/backends/NetworkManagerMandriva.c
3942           src/backends/NetworkManagerPaldo.c
3943           src/backends/NetworkManagerRedHat.c
3944           src/backends/NetworkManagerSlackware.c
3945           src/backends/NetworkManagerSuSE.c
3946                 - Remove nm_system_device_add_route_via_device_with_iface()
3947
3948 2008-04-25  Dan Williams  <dcbw@redhat.com>
3949
3950         * system-settings/plugins/ifcfg-fedora/parser.c
3951                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3952
3953 2008-04-24  Dan Williams  <dcbw@redhat.com>
3954
3955         * dispatcher-daemon/NetworkManagerDispatcher.c
3956                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3957
3958 2008-04-24  Dan Williams  <dcbw@redhat.com>
3959
3960         * initscript/RedHat/NetworkManager.in
3961           initscript/RedHat/NetworkManagerDispatcher.in
3962                 - Be active at runlevel 2
3963                 - Adjust priorities earlier
3964
3965 2008-04-22  Dan Williams  <dcbw@redhat.com>
3966
3967         * src/NetworkManagerPolicy.c
3968                 - (update_routing_and_dns): when checking for a gateway, look at the
3969                         composite IP4 config, not the connection's ip4-config setting, which
3970                         doesn't include DHCP-returned information
3971
3972 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3973
3974         Implement GKeyFile system settings plugin.
3975         Implement writing system settings (currently supported only by GKeyFile plugin).
3976
3977         * system-settings/src/main.c: 
3978         * system-settings/src/dbus-settings.c: Move the communication with plugins
3979         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3980         plugins for adding/updating/removing connections.
3981
3982         * system-settings/src/nm-system-config-interface.c
3983         (nm_system_config_interface_add_connection): Implement
3984         (nm_system_config_interface_update_connection): Implement.
3985         (nm_system_config_interface_remove_connection): Implement.
3986
3987         * system-settings/plugins/keyfile/Makefile.am:
3988         * system-settings/plugins/keyfile/plugin.[ch]:
3989         * system-settings/plugins/keyfile/writer.[ch]:
3990         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3991
3992         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3993
3994         * configure.in: Generate GKeyFile Makefile.
3995
3996         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3997         corruption, need to duplicate the returned string.
3998         (impl_exported_connection_update): Implement.
3999         (impl_exported_connection_delete): Implement.
4000
4001         * introspection/nm-settings-system.xml: Add "AddConnection" method.
4002
4003         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4004
4005 2008-04-22  Dan Williams  <dcbw@redhat.com>
4006
4007         Patch from Charles R. Anderson (cra@wpi.edu)
4008
4009         * src/NetworkManagerPolicy.c
4010                 - (update_routing_and_dns): don't select devices without a gateway
4011                         as having the default route (rh #437338)
4012
4013 2008-04-21  Dan Williams  <dcbw@redhat.com>
4014
4015         * src/nm-activation-request.c
4016           src/nm-activation-request.h
4017                 - (dispose): ensure to disconnect from the device's state-changed signal
4018                         when appropriate so the signal doesn't get handled by an already
4019                         disposed NMActRequest
4020                 - (device_state_changed): update is_default here too just to make sure
4021                         default is only True when the child device is activated
4022                 - (nm_act_request_set_default): new function
4023
4024         * src/NetworkManagerPolicy.c
4025                 - (update_routing_and_dns): set 'default' on the active connection which
4026                         has the default route and DNS
4027
4028 2008-04-21  Dan Williams  <dcbw@redhat.com>
4029
4030         * src/NetworkManagerPolicy.c
4031                 - (device_state_changed): update routing and DNS when a device goes
4032                         into unmanaged or unavailable states too (like rfkill or carrier loss)
4033
4034 2008-04-21  Dan Williams  <dcbw@redhat.com>
4035
4036         * include/NetworkManager.h
4037                 - Add NMActiveConnectionState enum
4038
4039         * introspection/nm-active-connection.xml
4040           introspection/nm-vpn-connection.xml
4041                 - Add 'State' property for overall active connection state
4042                 - Add 'Default' property, when True means this active connection
4043                         has the default route
4044                 - Add PropertyChanged signals so changes actually go out over the bus
4045
4046         * src/nm-active-connection.h
4047                 - Add defines for State & Default properties
4048
4049         * src/nm-activation-request.c
4050                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4051                         signal to determine active connection state
4052
4053         * src/vpn-manager/nm-vpn-connection.c
4054           src/vpn-manager/nm-vpn-connection.h
4055           src/vpn-manager/nm-vpn-manager.c
4056           src/vpn-manager/nm-vpn-service.c
4057                 - Rename old 'state' to 'vpn-state'
4058                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4059                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4060                         'vpn-state-changed' signal
4061
4062         * libnm-glib/nm-active-connection.c
4063           libnm-glib/nm-active-connection.h
4064                 - Add new 'state' and 'default' properties and accessors
4065
4066         * libnm-glib/nm-vpn-connection.c
4067           libnm-glib/nm-vpn-connection.h
4068                 - Rename old 'state' property to 'vpn-state'
4069                 - Add new 'state' and 'default' properties and accessors
4070
4071 2008-04-21  Dan Williams  <dcbw@redhat.com>
4072
4073         * src/nm-ip4-config.c
4074                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4075                         not specified (rh #443474)
4076
4077 2008-04-20  Dan Williams  <dcbw@redhat.com>
4078
4079         * src/NetworkManagerUtils.c
4080           src/NetworkManagerUtils.h
4081                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4082                         NMSettingIP4Config to an NMIP4Config object
4083
4084         * src/nm-device.c
4085                 - (merge_ip4_config): move to NetworkManagerUtils.c
4086
4087         * src/vpn-manager/nm-vpn-connection.c
4088                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4089                         too
4090
4091 2008-04-18  Dan Williams  <dcbw@redhat.com>
4092
4093         * libnm-util/nm-setting-ppp.c
4094           libnm-util/nm-setting-ppp.h
4095                 - Add 'no-vj-comp' option for TCP header compression
4096                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4097                         uint32
4098
4099 2008-04-18  Dan Williams  <dcbw@redhat.com>
4100
4101         * libnm-util/nm-setting-ppp.c
4102           libnm-util/nm-setting-ppp.h
4103           src/ppp-manager/nm-ppp-manager.c
4104                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4105
4106 2008-04-18  Dan Williams  <dcbw@redhat.com>
4107
4108         * libnm-util/nm-setting-ppp.c
4109           libnm-util/nm-setting-ppp.h
4110           src/ppp-manager/nm-ppp-manager.c
4111                 - Remove the 'usepeerdns' option and always request DNS servers from
4112                         the PPP server; the connection chooses to use/override/ignore the
4113                         DNS servers returned from the PPP server
4114
4115 2008-04-18  Dan Williams  <dcbw@redhat.com>
4116
4117         * libnm-util/nm-setting-ppp.c
4118           libnm-util/nm-setting-ppp.h
4119           src/ppp-manager/nm-ppp-manager.c
4120                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4121                         it seems to have been an erroneous addition to the PPTP plugin in
4122                         the first place (from which the ppp-manager is derived)
4123
4124 2008-04-17  Dan Williams  <dcbw@redhat.com>
4125
4126         * libnm-util/nm-setting-pppoe.c
4127                 - (verify): require a PPP setting too
4128
4129         * src/ppp-manager/nm-ppp-manager.c
4130                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4131                         segfaulting
4132
4133 2008-04-17  Dan Williams  <dcbw@redhat.com>
4134
4135         * src/nm-device.c
4136                 - (nm_device_state_changed): do deactivation and and promotion to
4137                         unavailable here, so that the device gets cleaned up before the
4138                         manager runs and starts emitting signals; do the
4139                         FAILED->DISCONNECTED transition from an idle handler rather than
4140                         immediately to guard against recursion
4141                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4142                         FAILED->DISCONNECTED handler if it's scheduled
4143
4144 2008-04-17  Dan Williams  <dcbw@redhat.com>
4145
4146         * src/nm-device-802-11-wireless.c
4147                 - (state_changed_cb): clear AP list when device transitions to
4148                         unavailable or unmanaged
4149                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4150                         since this is already done in device_cleanup()
4151                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4152                         isn't available or managed
4153                 - (device_cleanup): use remove_all_aps()
4154                 - (remove_all_aps): consolidate code removing all APs
4155
4156 2008-04-17  Dan Williams  <dcbw@redhat.com>
4157
4158         * src/nm-serial-device.c
4159           src/nm-serial-device.h
4160                 - (wait_for_reply_got_data): break input into lines, and search each
4161                         line for responses _and_ terminator strings; also make sure that
4162                         the read loop doesn't continue after the timeout is supposed to fire
4163                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4164
4165         * src/nm-gsm-device.c
4166           src/nm-cdma-device.c
4167                 - Send terminators to nm_serial_device_wait_for_reply()
4168
4169 2008-04-16  Dan Williams  <dcbw@redhat.com>
4170
4171         Patch from 陈鑫 <znscnchen@gmail.com>
4172
4173         * src/ppp-manager/nm-pppd-plugin.c
4174                 - (get_credentials): return correct value for success; handle case where
4175                         pppd just does some checking but doesn't want a password
4176                 - (plugin_init): make CHAP work too
4177
4178 2008-04-16  Dan Williams  <dcbw@redhat.com>
4179
4180         Patch from 陈鑫 <znscnchen@gmail.com>
4181
4182         * src/ppp-manager/nm-ppp-manager.c
4183                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4184
4185 2008-04-16  Dan Williams  <dcbw@redhat.com>
4186
4187         Patch from 陈鑫 <znscnchen@gmail.com>
4188
4189         * src/nm-device-802-3-ethernet.c
4190                 - (real_deactivate_quickly): clear the IP interface name on
4191                         deactivation, otherwise the wrong interface might get used later
4192                         for routing and IP management
4193
4194 2008-04-15  Dan Williams  <dcbw@redhat.com>
4195
4196         * libnm-glib/nm-device.c
4197                 - (get_product_and_vendor): handle serial devices correctly
4198                 - (nm_device_update_description): pass device to get_product_and_vendor()
4199
4200 2008-04-15  Dan Williams  <dcbw@redhat.com>
4201
4202         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4203
4204         * src/NetworkManagerSystem.h
4205           src/backends/NetworkManagerArch.c
4206           src/backends/NetworkManagerDebian.c
4207           src/backends/NetworkManagerFrugalware.c
4208           src/backends/NetworkManagerGeneric.c
4209           src/backends/NetworkManagerGeneric.h
4210           src/backends/NetworkManagerGentoo.c
4211           src/backends/NetworkManagerMandriva.c
4212           src/backends/NetworkManagerPaldo.c
4213           src/backends/NetworkManagerRedHat.c
4214           src/backends/NetworkManagerSlackware.c
4215           src/backends/NetworkManagerSuSE.c
4216           src/nm-device.c
4217                 - (nm_generic_device_add_ip6_link_address,
4218                    nm_system_device_add_ip6_link_address): remove
4219
4220 2008-04-15  Dan Williams  <dcbw@redhat.com>
4221
4222         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4223
4224         * src/backends/NetworkManagerArch.c
4225           src/backends/NetworkManagerDebian.c
4226           src/backends/NetworkManagerFrugalware.c
4227           src/backends/NetworkManagerGeneric.c
4228           src/backends/NetworkManagerGeneric.h
4229           src/backends/NetworkManagerGentoo.c
4230           src/backends/NetworkManagerMandriva.c
4231           src/backends/NetworkManagerPaldo.c
4232           src/backends/NetworkManagerRedHat.c
4233           src/backends/NetworkManagerSlackware.c
4234           src/backends/NetworkManagerSuSE.c
4235           src/NetworkManagerSystem.h
4236                 - flush_routes -> flush_ip4_routes
4237                 - flush_addresses -> flush_ip4_addresses
4238
4239         * src/NetworkManagerSystem.c
4240           src/nm-device.c
4241           src/vpn-manager/nm-vpn-connection.c
4242                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4243
4244 2008-04-15  Dan Williams  <dcbw@redhat.com>
4245
4246         Remove exposure of wireless-tools mode types in the API.
4247
4248         * include/NetworkManager.h
4249                 - Define NM80211Mode enum
4250
4251         * introspection/generic-types.xml
4252                 - Describe NM_802_11_MODE enum
4253                 - Remove IW_MODE_* enum
4254
4255         * introspection/nm-access-point.xml
4256           libnm-glib/nm-access-point.c
4257           libnm-glib/nm-access-point.h
4258                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4259
4260         * introspection/nm-device-802-11-wireless.xml
4261           libnm-glib/nm-device-802-11-wireless.c
4262           libnm-glib/nm-device-802-11-wireless.h
4263                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4264
4265         * libnm-util/nm-setting-wireless.c
4266           src/NetworkManagerAP.c
4267           src/NetworkManagerAP.h
4268           src/nm-device-802-11-wireless.c
4269           src/nm-device-802-11-wireless.h
4270           test/nm-tool.c
4271                 - Use NM80211Mode not IW_MODE_*
4272
4273 2008-04-15  Dan Williams  <dcbw@redhat.com>
4274
4275         Enhance nm-online based on a patch from Bill Nottingham.
4276
4277         * test/nm-online.c
4278                 - Add a '-q' option
4279                 - Add help messages and option summary
4280                 - Add long-format options
4281                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4282
4283 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4284
4285         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4286
4287         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4288
4289 2008-04-15  Dan Williams  <dcbw@redhat.com>
4290
4291         * nm-setting-ip4-config.c
4292                 - (ip4_addresses_from_gvalue): handle NULL address array
4293
4294         * nm-setting-8021x.c
4295                 - (verify_tls, verify_ttls): warn on failed verification
4296
4297 2008-04-10  Dan Williams  <dcbw@redhat.com>
4298
4299         * src/nm-gsm-device.c
4300                 - (automatic_registration): accept "+CREG: 0,0"
4301                 - (automatic_registration_response): fail on "+CREG: 0,0"
4302
4303 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4304
4305         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4306
4307 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4308
4309         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4310         Make it compile again by commenting out broken code that at first didn't work and
4311         now didn't compile either.
4312
4313 2008-04-08  Dan Williams  <dcbw@redhat.com>
4314
4315         * libnm-glib/nm-object-cache.c
4316           libnm-glib/nm-settings.c
4317           src/dhcp-manager/nm-dhcp-manager.c
4318           system-settings/plugins/ifcfg-fedora/plugin.c
4319           system-settings/plugins/ifcfg-suse/plugin.c
4320           system-settings/src/nm-system-config-hal-manager.c
4321           libnm-util/nm-utils.c
4322                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4323                         not threadsafe anyway
4324
4325 2008-04-08  Dan Williams  <dcbw@redhat.com>
4326
4327         * system-settings/src/main.c
4328                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4329                         callbacks take a device type too
4330
4331 2008-04-08  Dan Williams  <dcbw@redhat.com>
4332
4333         The system settings service will now create a new default DHCP connection
4334         for wired devices that have no existing applicable connection.
4335
4336         * system-settings/src/nm-system-config-hal-manager.c
4337           system-settings/src/nm-system-config-hal-manager.h
4338                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4339
4340         * system-settings/src/dbus-settings.c
4341           system-settings/src/dbus-settings.h
4342                 - (nm_sysconfig_settings_get_connections): new function
4343                 - (nm_sysconfig_settings_is_device_managed): new function
4344
4345         * system-settings/src/main.c
4346                 - (load_stuff): check for wired devices that need a default connection
4347                 - (get_details_for_udi): get interface and MAC address from HAL
4348                 - (add_default_dhcp_connection): add a default connection for a wired
4349                         device if needed
4350                 - (device_added_cb, device_removed_cb): do the right thing with
4351                         wired devices and their default connections on HAL device events
4352
4353 2008-04-07  Dan Williams  <dcbw@redhat.com>
4354
4355         * libnm-glib/nm-device.c
4356           libnm-glib/nm-device.h
4357                 - Proxy the 'managed' property
4358
4359 2008-04-07  Dan Williams  <dcbw@redhat.com>
4360
4361         * src/nm-gsm-device.c
4362           src/nm-cdma-device.c
4363                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4364                         handler to transition to DISCONNECTED
4365
4366 2008-04-07  Dan Williams  <dcbw@redhat.com>
4367
4368         Patch from Bill Nottingham
4369
4370         * dispatcher-daemon/NetworkManagerDispatcher.c
4371                 - ignore backup/packaging crufy (rh #440143)
4372
4373 2008-04-07  Dan Williams  <dcbw@redhat.com>
4374
4375         * include/NetworkManager.h
4376                 - Remove the DOWN and CANCELLED device states
4377                 - Add UNMANAGED and UNAVAILABLE device states
4378                 - Document the device states
4379
4380         * introspection/nm-device.xml
4381           src/nm-device-interface.c
4382           src/nm-device-interface.h
4383                 - Add the 'managed' property
4384
4385         * test/nm-tool.c
4386                 - (detail_device): print out device state
4387
4388         * src/NetworkManagerSystem.h
4389           src/backends/NetworkManagerArch.c
4390           src/backends/NetworkManagerDebian.c
4391           src/backends/NetworkManagerFrugalware.c
4392           src/backends/NetworkManagerGentoo.c
4393           src/backends/NetworkManagerMandriva.c
4394           src/backends/NetworkManagerPaldo.c
4395           src/backends/NetworkManagerRedHat.c
4396           src/backends/NetworkManagerSlackware.c
4397           src/backends/NetworkManagerSuSE.c
4398                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4399                    nm_system_device_free_system_config): remove; they were unused and
4400                         their functionality should be re-implemented in each distro's
4401                         system settings service plugin 
4402
4403         * src/nm-gsm-device.c
4404           src/nm-gsm-device.h
4405           src/nm-cdma-device.c
4406           src/nm-cdma-device.h
4407                 - (*_new): take the 'managed' argument
4408
4409         * src/nm-device.c
4410                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4411                 - (nm_device_init): start in unmanaged state, not disconnected
4412                 - (constructor): don't start device until the system settings service
4413                         has had a chance to figure out if the device is managed or not
4414                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4415                         don't set device state here, let callers handle that as appropriate
4416                 - (nm_device_dispose): don't touch the device if it's not managed
4417                 - (set_property, get_property, nm_device_class_init): implement the
4418                         'managed' property
4419                 - (nm_device_state_changed): bring the device up if its now managed,
4420                         and deactivate it if it used to be active
4421                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4422                         with the managed state
4423
4424         * src/nm-hal-manager.c
4425                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4426                         take initial managed state and pass it along to device constructors
4427                 - (create_device_and_add_to_list): get managed state and pass to
4428                         type creators
4429
4430         * src/nm-device-802-11-wireless.c
4431                 - (real_can_activate): fold in most of
4432                         nm_device_802_11_wireless_can_activate()
4433                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4434                 - (link_timeout_cb): instead of deactivating, change device state and
4435                         let the device state handler to it
4436                 - (real_update_hw_address): clean up
4437                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4438                         handler to transition to DISCONNECTED if the device isn't rfkilled
4439
4440         * src/nm-device-802-3-ethernet.c
4441                 - (set_carrier): move above callers and get rid of prototype
4442                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4443                         idle handler to transition to DISCONNECTED if the device has a
4444                         carrier
4445                 - (real_update_hw_address): clean up
4446                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4447                         deactivation directly as deactivation doesn't change state anymore
4448
4449         * src/NetworkManagerPolicy.c
4450                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4451                         the NMManager and wireless devices work that out themselves now
4452                 - (device_state_changed): change to a switch and update for new device
4453                         states
4454                 - (device_carrier_changed): remove; device handles this now through
4455                         state changes
4456                 - (device_added): don't care about carrier any more; the initial
4457                         activation check will happen when the device transitions to
4458                         DISCONNECTED
4459
4460         * src/nm-manager.c
4461                 - (dispose): clear unmanaged devices
4462                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4463                         the managed property on each device when needed
4464                 - (system_settings_properties_changed_cb): handle signals from the
4465                         system settings service
4466                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4467                         getting the unmanaged device list method call
4468                 - (query_unmanaged_devices): ask the system settings service for its
4469                         list of unmanaged devices
4470                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4471                         devices
4472                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4473                         devices directly and let them handle the necessary state transitions
4474                 - (manager_device_state_changed): update for new device states
4475                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4476                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4477                 - (nm_manager_activate_connection): return error if the device is
4478                         unmanaged
4479                 - (nm_manager_sleep): handle new device states correctly; don't change
4480                         the state of unavailable/unmanaged devices
4481
4482         * libnm-glib/nm-device-802-11-wireless.c
4483                 - (state_changed_cb): update for new device states
4484
4485 2008-04-07  Dan Williams  <dcbw@redhat.com>
4486
4487         * marshallers/nm-marshal.list
4488                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4489
4490 2008-04-07  Dan Williams  <dcbw@redhat.com>
4491
4492         * system-settings/src/main.c
4493                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4494                         plugins to the dbus settings object
4495                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4496                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4497                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4498                 - (main): switch default logging to syslog with a 'debug' option to
4499                         output to console; start up the HAL manager
4500
4501 2008-04-07  Dan Williams  <dcbw@redhat.com>
4502
4503         * introspection/nm-settings-system.xml
4504           introspection/Makefile.am
4505                 - Define the unmanaged devices interface for the system settings service
4506
4507         * system-settings/src/nm-system-config-hal-manager.c
4508           system-settings/src/nm-system-config-hal-manager.h
4509           system-settings/src/nm-system-config-hal-manager-private.h
4510           system-settings/src/Makefile.am
4511                 - Add a lightweight HAL manager object for tracking network devices for
4512                         the purpose of determining unmanaged devices and which devices need
4513                         the default DHCP connections
4514
4515         * system-settings/src/nm-system-config-interface.c
4516           system-settings/src/nm-system-config-interface.h
4517                 - (nm_system_config_interface_init): add the HAL manager as an argument
4518                 - (nm_system_config_interface_get_unmanaged_devices): implement
4519                 - Define 'unmanaged-devices-changed' signal
4520
4521         * system-settings/src/dbus-settings.c
4522           system-settings/src/dbus-settings.h
4523                 - Implement the unmanaged devices interface; some cleanups
4524
4525         * system-settings/plugins/ifcfg-suse/plugin.c
4526                 - Fixup for plugin interface changes
4527
4528         * system-settings/plugins/ifcfg-fedora/plugin.c
4529                 - (get_ether_device_udi): new function; find the device that has
4530                         a specified MAC address and return its UDI
4531                 - (get_udi_for_connection): new function; try to find the specific
4532                         device a connection is locked to, if any
4533                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4534                         response to HAL events
4535                 - (get_unmanaged_devices): new function; return unmanaged device list
4536                 - (build_one_connection): set the connection's locked device, if any
4537                 - (write_auto_wired_connection): remove
4538                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4539                 - (handle_connection_changed): alert listeners that the unmanaged device
4540                         list has changed
4541                 - (init): fixup for plugin interface changes, implement unmanaged devices
4542
4543         * system-settings/plugins/ifcfg-fedora/parser.c
4544           system-settings/plugins/ifcfg-fedora/parser.h
4545                 - (connection_data_free): clean up connection UDI
4546
4547 2008-04-07  Dan Williams  <dcbw@redhat.com>
4548
4549         * system-settings/plugins/ifcfg-fedora/parser.c
4550                 - (make_ip4_setting): fix parsing of DNS servers
4551
4552 2008-04-05  Dan Williams  <dcbw@redhat.com>
4553
4554         * Makefile.am
4555           configure.in
4556           marshallers/Makefile.am
4557           marshallers/nm-marshal-main.c
4558           marshallers/nm-marshal.list
4559                 - Consolidate marshallers
4560
4561         * libnm-glib/nm-marshal-main.c
4562           libnm-glib/nm-marshal.list
4563           src/marshallers/Makefile.am
4564           src/marshallers/nm-marshal-main.c
4565           src/marshallers/nm-marshal.list
4566                 - Remove
4567
4568         * libnm-glib/Makefile.am
4569           src/Makefile.am
4570           src/dhcp-manager/Makefile.am
4571           src/ppp-manager/Makefile.am
4572           src/supplicant-manager/Makefile.am
4573           src/vpn-manager/Makefile.am
4574                 - Use consolidated marshallers
4575
4576 2008-04-04  Dan Williams  <dcbw@redhat.com>
4577
4578         * src/nm-hal-manager.c
4579           src/nm-hal-manager.h
4580                 - (hal_init): don't look for hardware here
4581                 - (nm_hal_manager_start): new function; look for hardware here instead,
4582                         which can be done at a later time than hal_init()
4583
4584         * src/NetworkManager.c
4585                 - (main): start HAL manager after entering the main loop
4586
4587 2008-04-03  Dan Williams  <dcbw@redhat.com>
4588
4589         * libnm-glib/nm-settings.c
4590           libnm-glib/nm-settings.h
4591             - (nm_exported_connection_get_id): new function
4592                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4593
4594 2008-04-02  Dan Williams  <dcbw@redhat.com>
4595
4596         * src/nm-device-interface.c
4597           src/nm-device-interface.h
4598           src/nm-device.c
4599           src/nm-device.h
4600                 - Rename check_connection_conflicts() to check_connection_compatible()
4601
4602         * src/nm-device-802-11-wireless.c
4603                 - (real_check_connection_conflicts): remove
4604                 - (real_check_connection_compatible): implement; match MAC address
4605
4606         * src/nm-device-802-3-ethernet.c
4607                 - (real_check_connection_conflicts): remove
4608                 - (real_check_connection_compatible): implement; match MAC address
4609                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4610
4611         * src/nm-manager.c
4612                 - (check_connection_allowed): remove; unused until PolicyKit integration
4613                 - (internal_activate_device): check whether the connection is compatible
4614                         with the device before trying to activate it
4615
4616 2008-04-02  Dan Williams  <dcbw@redhat.com>
4617
4618         * system-settings/plugins/ifcfg-fedora/parser.c
4619                 - (read_mac_address): new function; read in MAC address and stuff it
4620                         into the connection
4621                 - (add_one_wep_key): remove debug spew
4622                 - (make_wireless_security_setting): validate the default TX key; don't
4623                         add the wireless-security setting if the connection doesn't need
4624                         security; don't leak the keys shvarFile on error cases
4625                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4626                         address
4627
4628 2008-04-02  Dan Williams  <dcbw@redhat.com>
4629
4630         * libnm-util/nm-setting-connection.c
4631           libnm-util/nm-setting-connection.h
4632                 - (set_property, get_property, nm_setting_connection_class_init): remove
4633                         the 'lockdown' property; it's functionality will be replaced by
4634                         PolicyKit instead
4635
4636 2008-04-01  Dan Williams  <dcbw@redhat.com>
4637
4638         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4639
4640         * configure.in
4641           initscript/Makefile.am
4642           initscript/Mandriva/Makefile.am
4643           initscript/Mandriva/networkmanager.in
4644           initscript/Mandriva/networkmanagerdispatcher.in
4645           src/backends/Makefile.am
4646           src/backends/NetworkManagerMandriva.c
4647           system-settings/plugins/Makefile.am
4648                 - Add Mandriva support
4649
4650 2008-03-31  Dan Williams  <dcbw@redhat.com>
4651
4652         * src/vpn-manager/nm-vpn-service.c
4653                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4654                         errors can be passed back to the caller; also no longer scheduled
4655                         as an idle handler, but called directly; and bump up VPN service
4656                         spawn timeout, 2s is really short
4657                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4658                         but call it directly so that errors are reported on return from
4659                         ActivateConnection() and don't get lost.  If scheduled as an idle
4660                         handler, clients don't have the time to query NM for the new VPN
4661                         connection's properties before the VPN connection is torn down again
4662                         if the service couldn't be launched, and therefore launch errors
4663                         get lost.
4664
4665 2008-03-31  Dan Williams  <dcbw@redhat.com>
4666
4667         * src/vpn-manager/nm-vpn-connection.c
4668                 - (device_state_changed): send correct state on device failure too
4669                 - (plugin_state_changed): failed state means unexpected disconnection,
4670                         thus if the service goes away while the VPN connection is activated
4671                         that's a failure too
4672
4673 2008-03-31  Dan Williams  <dcbw@redhat.com>
4674
4675         * src/vpn-manager/nm-vpn-manager.c
4676           src/vpn-manager/nm-vpn-manager.h
4677                 - Make VPNManager errors more available; add a service-start-failed error
4678
4679 2008-03-31  Dan Williams  <dcbw@redhat.com>
4680
4681         * libnm-glib/nm-client.c
4682           libnm-glib/nm-client.h
4683                 - (activate_cb): pass the new active connection to callback; fix
4684                         message when no callback is specified
4685
4686 2008-03-30  Dan Williams  <dcbw@redhat.com>
4687
4688         * libnm-util/nm-setting-wireless-security.c
4689                 - (need_secrets): only require key0 if the transmit key index is also
4690                         0
4691                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4692
4693 2008-03-29  Dan Williams  <dcbw@redhat.com>
4694
4695         * libnm-util/nm-setting-8021x.c
4696           libnm-util/nm-setting-ip4-config.c
4697           libnm-util/nm-setting-vpn-properties.c
4698           libnm-util/nm-setting-vpn.c
4699           libnm-util/nm-setting-wireless-security.c
4700           libnm-util/nm-setting-wireless.c
4701           libnm-util/nm-utils.c
4702           src/dhcp-manager/nm-dhcp-manager.c
4703           src/nm-activation-request.c
4704           src/nm-ip4-config.c
4705           src/nm-manager.c
4706           src/nm-properties-changed-signal.c
4707           src/ppp-manager/nm-pppd-plugin.c
4708           src/supplicant-manager/nm-supplicant-interface.c
4709           src/vpn-manager/nm-vpn-connection.c
4710                 - consistently use nm-dbus-glib-types.h
4711
4712 2008-03-29  Dan Williams  <dcbw@redhat.com>
4713
4714         * src/vpn-manager/nm-vpn-connection.c
4715                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4716                         not string
4717
4718         * src/nm-activation-request.c
4719                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4720                         not string
4721
4722 2008-03-29  Dan Williams  <dcbw@redhat.com>
4723
4724         * libnm-glib/nm-device-802-11-wireless.c
4725                 - (access_point_added_proxy): create new APs if not found
4726
4727 2008-03-29  Dan Williams  <dcbw@redhat.com>
4728
4729         * libnm-glib/nm-client.c
4730                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4731                         before freeing them
4732
4733 2008-03-29  Dan Williams  <dcbw@redhat.com>
4734
4735         * system-settings/plugins/ifcfg-fedora/parser.c
4736                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4737                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4738
4739 2008-03-29  Dan Williams  <dcbw@redhat.com>
4740
4741         * system-settings/plugins/ifcfg-fedora/parser.c
4742                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4743
4744 2008-03-27  Dan Williams  <dcbw@redhat.com>
4745
4746         * nm-object.c
4747                 - (nm_object_queue_notify): don't notify multiple times for the same
4748                         property
4749
4750         * nm-object-private.h
4751                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4752                         if it has zero elements
4753
4754         * nm-ip4-config.c
4755                 - (finalize): use g_ptr_array_foreach() when freeing domains
4756                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4757
4758         * nm-active-connection.c
4759                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4760
4761         * nm-device-802-11-wireless.c
4762           nm-device-802-11-wireless.h
4763                 - (nm_device_802_11_wireless_get_access_points): return const; use
4764                         handle_ptr_array_return()
4765
4766         * nm-types.c
4767                 - (nm_object_array_demarshal): always create an array, even of length
4768                         zero, to distinguish between "NM returned no items" and "haven't
4769                         asked NM yet"
4770
4771         * nm-client.c
4772                 - (dispose): free active connections too
4773                 - (proxy_name_owner_changed): free active connections too when NM goes
4774                         away
4775                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4776                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4777
4778 2008-03-26  Dan Williams  <dcbw@redhat.com>
4779
4780         Rework VPN connection handling for a more consistent D-Bus API.  The
4781         VPNManager object has been removed, and active VPN connections are now the
4782         same as any other active connection.  The Manager object's ActivateConnection
4783         and DeactivateConnection methods are used to start and stop a VPN connection,
4784         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4785         When activating a VPN connection, pass the path of the active connection
4786         to which the VPN connection is tied in the 'specific_object' argument.
4787
4788         Consequently, the libnm-glib API has been reworked to match this arrangement,
4789         with the VPNManager object removed, and the NMVPNConnection objects now
4790         being subclasses of NMActiveConnection.
4791
4792 2008-03-25  Dan Williams  <dcbw@redhat.com>
4793
4794         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4795
4796         * initscript/Arch/networkmanager.in
4797           initscript/Arch/networkmanager-dispatcher.in
4798                 - Updates for Arch Linux (gnome.org #523701)
4799
4800 2008-03-25  Dan Williams  <dcbw@redhat.com>
4801
4802         * libnm-glib/nm-ip4-config.c
4803           libnm-glib/nm-active-connection.c
4804           libnm-glib/nm-access-point.c
4805                 - Use nm_object_queue_notify() instead of g_object_notify()
4806
4807         * libnm-glib/nm-device.c
4808                 - (demarshal_ip4_config): distinguish between successful but missing
4809                         ip4-config request, and unsuccessful and missing ip4-config request
4810                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4811                         path
4812                 - Use nm_object_queue_notify() instead of g_object_notify()
4813
4814         * libnm-glib/nm-device-802-11-wireless.c
4815                 - (demarshal_active_ap): distinguish between successfull but missing
4816                         active-ap request, and unsuccessful and missing active-ap request
4817                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4818                         code
4819                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4820                         for the NMClient to notify the device that wireless is disabled,
4821                         and therefore to clear the AP list and active AP
4822                 - Use nm_object_queue_notify() instead of g_object_notify()
4823
4824         * libnm-glib/nm-client.c
4825                 - (poke_wireless_devices_with_rf_status): new function
4826                 - (update_wireless_status): notify wireless devices of the rfkill status
4827                         so they can clean up if needed
4828                 - Use nm_object_queue_notify() instead of g_object_notify()
4829
4830 2008-03-25  Dan Williams  <dcbw@redhat.com>
4831
4832         * libnm-glib/nm-object.c
4833           libnm-glib/nm-object-private.h
4834                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4835                         signals to an idle handler
4836                 - (nm_object_get_property): add a timeout to the D-Bus method call
4837
4838 2008-03-25  Dan Williams  <dcbw@redhat.com>
4839
4840         * introspection/nm-device-cdma.xml
4841           introspection/nm-device-gsm.xml
4842           introspection/Makefile.am
4843           introspection/all.xml
4844                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4845
4846         * src/nm-gsm-device.h
4847           src/nm-gsm-device.c
4848           src/nm-cdma-device.h
4849           src/nm-cdma-device.c
4850           src/Makefile.am
4851                 - Implement PropertiesChanged signals
4852
4853         * libnm-glib/nm-cdma-device.c
4854           libnm-glib/nm-cdma-device.c
4855                 - Attach to PropertiesChanged signals
4856
4857 2008-03-24  Dan Williams  <dcbw@redhat.com>
4858
4859         * libnm-glib/nm-client.c
4860                 - (client_device_added_proxy): add new devices to the internal device
4861                         list so they appear to clients
4862
4863 2008-03-24  Dan Williams  <dcbw@redhat.com>
4864
4865         Massive fixup of libnm-glib to:
4866         a) have all objects (with the exception of VPN) cache their properties and
4867                 update them asynchronously on PropertiesChanged signals from NM
4868         b) return internal const data for most attributes/properties instead of
4869                 allocated values that the caller must free
4870         c) cache wrapped objects such that a given D-Bus path will always map to the
4871                 same GObject returned by libnm-glib
4872         d) remove a few signals and move them to GObject property notifications
4873         e) match recent NM D-Bus API changes for activation/deactivation
4874         f) remove some private functions from libnm-glib headers
4875
4876 2008-03-20  Dan Williams  <dcbw@redhat.com>
4877
4878         * src/nm-manager.c
4879                 - (nm_manager_update_state, manager_device_state_changed,
4880                    nm_manager_activate_device, connection_added_default_handler,
4881                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4882                         queue PropertyChanged singals when the active connections change
4883
4884 2008-03-20  Dan Williams  <dcbw@redhat.com>
4885
4886         * introspection/nm-manager.xml
4887           introspection/nm-manager-client.xml
4888                 - (ActivateConnection): return the object path of the active connection
4889                         on success
4890                 - (GetActiveConnections): remove
4891                 - (DeactivateConnection): new function; deactivate a currently active
4892                         connection
4893                 - Add an ActiveConnections property which returns an array of
4894                         active connection object paths
4895
4896         * introspection/nm-device.xml
4897                 - (Deactivate): remove
4898
4899         * introspection/all.xml
4900                 - Add ActiveConnection introspection
4901
4902         * introspection/nm-active-connection.xml
4903                 - Add the ActiveConnection object
4904
4905         * include/NetworkManager.h
4906                 - Add the Connection.Active D-Bus interface
4907
4908         * src/nm-device-interface.c
4909                 - (impl_device_deactivate): remove
4910
4911         * src/nm-activation-request.c
4912           src/nm-activation-request.c
4913           src/Makefile.am
4914                 - Implement the Connection.Active D-Bus interface
4915
4916         * src/nm-manager.c
4917                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4918                 - (nm_manager_activate_device): return the active connection path
4919                 - (connection_added_default_handler, impl_manager_activate_connection):
4920                         return the active connection to the caller
4921                 - (add_one_connection_element, impl_manager_get_active_connections):
4922                         remove
4923                 - (impl_manager_deactivate_connection): new function; deactivate an
4924                         active connection
4925
4926         * libnm-glib/nm-device.c
4927           libnm-glib/nm-device.h
4928                 - Remove Deactivate() function
4929
4930 2008-03-19  Dan Williams  <dcbw@redhat.com>
4931
4932         * introspection/nm-manager.xml
4933           introspection/nm-manager-client.xml
4934                 - Rename the ActivateDevice method to ActivateConnection to better
4935                         reflect it's usage; it's arguments get reordered a bit too
4936                 - Convert GetActiveConnections method return from a struct to a dict
4937
4938         * include/NetworkManager.h
4939                 - Define the dict keys for return value of GetActiveConnections
4940
4941         * src/nm-manager.c
4942                 - impl_manager_activate_device -> impl_manager_activate_connection
4943                 - (add_one_connection_element): return a populated hash table, not
4944                         a structure
4945
4946         * libnm-glib/nm-client.c
4947           libnm-glib/nm-client.h
4948                 - nm_client_activate_device -> nm_client_activate_connection
4949                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4950                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4951                         instead of the custom structures.  Each element of the returned list
4952                         must be freed with nm_client_free_active_connections_element()
4953
4954 2008-03-18  Dan Williams  <dcbw@redhat.com>
4955
4956         * system-settings/plugins/ifcfg-fedora/parser.c
4957           system-settings/plugins/ifcfg-fedora/parser.h
4958           system-settings/plugins/ifcfg-fedora/plugin.c
4959                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4960                         profiles.  DNS servers and searches must now be stored in the ifcfg
4961                         files themselves
4962
4963 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4964
4965         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4966         print out username and password, it's supposed to be a secret.
4967
4968         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4969         request and set the device state accordingly.
4970
4971 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4972
4973         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4974
4975         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4976
4977 2008-03-18  Dan Williams  <dcbw@redhat.com>
4978
4979         * src/vpn-manager/nm-vpn-connection.c
4980                 - (get_secrets_cb): handle new GetSecrets return format
4981
4982 2008-03-18  Dan Williams  <dcbw@redhat.com>
4983
4984         Adapt system settings service for split 802.1x.
4985
4986         * system-settings/src/nm-system-config-interface.h
4987                 - clarify return value of get_secrets()
4988
4989         * system-settings/src/dbus-settings.c
4990                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4991                 - (check_for_secrets): check if there actually secrets returned by a
4992                         plugin
4993                 - (exported_connection_get_secrets): just return the plugin-returned
4994                         hash of settings' secrets if it looks valid
4995
4996         * system-settings/plugins/ifcfg-fedora/plugin.c
4997                 - (get_secrets): add split secrets with correct format to reply hash
4998
4999         * system-settings/plugins/ifcfg-fedora/parser.c
5000           system-settings/plugins/ifcfg-fedora/parser.h
5001                 - (copy_one_cdata_secret, connection_data_copy_secrets,
5002                    connection_data_free, connection_data_add): keep secrets for
5003                         different settings in different hashes
5004
5005 2008-03-17  Tambet Ingo  <tambet@gmail.com>
5006
5007         Clean up activating device deactivation.
5008
5009         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5010         should be done whether the device activation gets cancelled or the device
5011         is just getting deactivated.
5012         (nm_device_activation_cancel): Remove.
5013         (nm_device_deactivate_quickly): Handle the case where device is activating.
5014
5015         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5016         It does the exact same thing as real_deactivate_quickly().
5017
5018 2008-03-17  Dan Williams  <dcbw@redhat.com>
5019
5020         Split the 802.1x bits out of the wireless-security setting so they are
5021         generalized enough for wired 802.1x to use too.
5022
5023         * introspection/nm-exported-connection.xml
5024                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5025                         of just a hash of the secrets for one setting
5026
5027         * libnm-util/nm-setting-wireless-security.c
5028           libnm-util/nm-setting-wireless-security.h
5029                 - Remove 802.1x-specific stuff
5030                 - Added leap-username and leap-password properties for old-school LEAP
5031
5032         * src/nm-device.c
5033           src/nm-device.h
5034                 - (connection_secrets_updated_cb): take a list of updated settings names,
5035                         not just one
5036
5037         * src/supplicant-manager/nm-supplicant-config.c
5038           src/supplicant-manager/nm-supplicant-config.h
5039                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5040                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5041                         to nm_supplicant_config_add_setting_8021x()
5042                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5043                         the supplicant config
5044
5045         * src/nm-device-802-11-wireless.c
5046                 - (build_supplicant_config): pass in the 802.1x setting too, if any
5047                 - (real_connection_secrets_updated): take a list of updated settings
5048                         names, not just one
5049
5050         * src/nm-device-802-3-ethernet.c
5051           src/nm-cdma-device.c
5052           src/nm-gsm-device.c
5053                 - (real_connection_secrets_updated_cb): take a list of updated settings
5054                         names, not just one
5055
5056         * src/nm-activation-request.c
5057           src/nm-activation-request.h
5058                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5059                         now passes a list of updated settings names, not just one
5060                 - (update_one_setting): new function; handle one updated setting
5061                 - (get_secrets_cb): handle multiple settings returned from the
5062                         settings service; have to be careful of ordering here as there are
5063                         some dependencies between settings (ex. wireless-security and 802.1x
5064                         in some cases)
5065
5066         * src/marshallers/nm-marshal.list
5067                 - new marshaller for connection-secrets-updated signal
5068
5069         * libnm-util/nm-setting-8021x.c
5070                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5071                         methods
5072                 - (verify): a valid 'eap' property is now required
5073
5074         * libnm-util/nm-connection.c
5075                 - (register_default_settings): add priorities to settings; there are
5076                         some dependencies between settings, and during the need_secrets
5077                         calls this priority needs to be respected.  For example, only the
5078                         wireless-security setting knows whether or not the connection is
5079                         going to use 802.1x or now, so it must be asked for secrets before
5080                         any existing 802.1x setting is
5081                 - (nm_connection_lookup_setting_type): expose
5082
5083         * libnm-util/nm-setting-wireless.c
5084                 - (verify): should verify even if all_settings is NULL; otherwise won't
5085                         catch the case where there is missing security
5086
5087         * libnm-util/nm-setting-wireless-security.c
5088                 - Remove everything to do with 802.1x
5089                 - Add old-school LEAP specific properties for username and password
5090                 - (need_secrets): rework LEAP secrets checking
5091                 - (verify): rework for LEAP and 802.1x verification
5092
5093 2008-03-17  Dan Williams  <dcbw@redhat.com>
5094
5095         * src/NetworkManagerPolicy.c
5096                 - (auto_activate_device): always remove the current activation check
5097                         from the pending activation list, otherwise when the policy gets
5098                         destroyed on NM exit it will attempt to free the already freed
5099                         activation check
5100
5101 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5102
5103         * src/backends/NetworkManagerSlackware.c 
5104         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5105
5106         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5107
5108 2008-03-14  Dan Williams  <dcbw@redhat.com>
5109
5110         * src/nm-manager.c
5111                 - (nm_device_interface_get_iface): g_object_get() will return an
5112                         allocated value, so this function must not return const
5113                 - (nm_device_interface_activate): free returned iface
5114
5115 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5116
5117         * libnm-util/Makefile.am: Add new files to build.
5118
5119         * libnm-util/nm-connection.c: Register NMSetting8021x.
5120
5121         * libnm-util/nm-setting-8021x.c
5122         * libnm-util/nm-setting-8021x.h: Implement.
5123
5124 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5125
5126         * libnm-util/Makefile.am: Add new files to build.
5127
5128         * libnm-util/nm-connection.c: Register NMSetting8021x.
5129
5130         * libnm-util/nm-setting-8021x.c
5131         * libnm-util/nm-setting-8021x.h: Implement.
5132
5133 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5134
5135         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5136         data.
5137
5138 2008-03-14  Dan Williams  <dcbw@redhat.com>
5139
5140         * include/wireless-helper.h
5141           include/Makefile.am
5142                 - One place for all the junk needed for #including wireless.h
5143
5144         * test/nm-tool.c
5145           src/NetworkManagerAP.c
5146           src/wpa.c
5147           src/Makefile.am
5148           libnm-util/nm-utils.c
5149           libnm-util/nm-setting-wireless.c
5150           libnm-glib/nm-device-802-11-wireless.c
5151           libnm-glib/nm-access-point.c
5152           libnm-glib/libnm-glib-test.c
5153                 - include wireless-helper.h, not iwlib.h
5154
5155         * configure.in
5156                 - Don't need libiw really, just need to check for wireless.h
5157
5158         * src/kernel-types.h
5159                 - Remove; used types moved into wpa.c
5160
5161         * src/nm-device-802-11-wireless.c
5162                 - (nm_device_802_11_wireless_update_signal_strength,
5163                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5164                    nm_device_802_11_wireless_set_mode,
5165                    nm_device_802_11_wireless_get_frequency,
5166                    nm_device_802_11_wireless_get_ssid,
5167                    nm_device_802_11_wireless_set_ssid,
5168                    nm_device_802_11_wireless_get_bitrate,
5169                    nm_device_802_11_wireless_get_bssid,
5170                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5171                         instead of iwlib functions
5172
5173 2008-03-14  Dan Williams  <dcbw@redhat.com>
5174
5175         * src/ppp-manager/nm-ppp-manager.c
5176                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5177                         should only take the DBusGMethodInvocation argument, not user/pass
5178                         too.  With dbus-glib, async functions only take 2 C arguments since
5179                         the real dbus method arguments get passed back with
5180                         dbus_g_method_return()
5181
5182 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5183
5184         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5185         Adapt the changes of NMSettingIP4Config.
5186
5187 2008-03-13  Dan Williams  <dcbw@redhat.com>
5188
5189         * src/NetworkManagerUtils.c
5190           src/NetworkManagerUtils.h
5191                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5192
5193         * src/NetworkManagerAP.c
5194           src/nm-device-802-11-wireless.c
5195           src/nm-device-802-3-ethernet.c
5196                 - s/iw_ether_ntop/nm_ether_ntop/g
5197
5198 2008-03-13  Dan Williams  <dcbw@redhat.com>
5199
5200         * src/NetworkManagerPolicy.c
5201                 - (update_routing_and_dns): never set the default route through an
5202                         IPv4LL addressed device
5203
5204 2008-03-13  Dan Williams  <dcbw@redhat.com>
5205
5206         * NetworkManagerUtils.c
5207           NetworkManagerUtils.h
5208                 - Remove NMSock stuff
5209                 - Remove the completion stuff
5210
5211         * nm-device.c
5212           nm-device.h
5213           NetworkManager.c
5214           NetworkManagerSystem.c
5215           autoip.c
5216           nm-device-802-11-wireless.c
5217           nm-device-802-3-ethernet.c
5218                 - Remove NMSock and completion stuff
5219                 - Remove nm_ioctl_info()
5220
5221 2008-03-12  Dan Williams  <dcbw@redhat.com>
5222
5223         * src/nm-device.c
5224                 - (merge_ip4_config): avoid duplicates
5225
5226 2008-03-12  Dan Williams  <dcbw@redhat.com>
5227
5228         * libnm-util/nm-setting-ip4-config.c
5229           libnm-util/nm-setting-ip4-config.h
5230                 - Remove 'manual' and 'autoip' properties
5231                 - Add 'method' property
5232                 - (verify): fix verification with 'method'
5233                 - (finalize): free 'method'
5234                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5235                         up for 'method'
5236
5237         * src/nm-device.c
5238                 - (real_act_stage3_ip_config_start): check IP4Config method
5239                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5240                         the future
5241                 - (merge_ip4_config): IP settings are valid with DHCP too
5242                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5243                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5244
5245         * src/nm-device-802-11-wireless.c
5246                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5247                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5248                         only on demand
5249
5250         * system-settings/plugins/ifcfg-fedora/parser.c
5251           system-settings/plugins/ifcfg-suse/parser.c
5252                 - (make_ip4_setting): fix up for 'method'
5253
5254 2008-03-12  Dan Williams  <dcbw@redhat.com>
5255
5256         * system-settings/plugins/ifcfg-fedora/parser.c
5257           system-settings/plugins/ifcfg-fedora/parser.h
5258                 - (get_ifcfg_name): ignore more file suffixes
5259                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5260
5261 2008-03-12  Dan Williams  <dcbw@redhat.com>
5262
5263         * configure.in
5264                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5265
5266 2008-03-12  Dan Williams  <dcbw@redhat.com>
5267
5268         * system-settings/plugins/ifcfg-fedora/plugin.c
5269                 - (write_auto_wired_connection): new function; write out an auto
5270                         wired connection file since the applet isn't doing it any more
5271                 - (reload_all_connections): write out the auto wired connection file
5272                         if there aren't any wired connections already
5273                 - (init): don't leak a GError
5274
5275 2008-03-12  Dan Williams  <dcbw@redhat.com>
5276
5277         * src/nm-device-interface.c
5278                 - (nm_device_interface_activate): print the ID of the connection
5279                         that's about to be activated
5280
5281 2008-03-12  Dan Williams  <dcbw@redhat.com>
5282
5283         Harmonize the 802.11 bitrate API
5284
5285         * introspection/nm-access-point.xml
5286                 - 'Rate' -> 'MaxBitrate'; clarify units
5287
5288         * introspection/nm-device-802-11-wireless.xml
5289                 - Clarify units of 'Bitrate'
5290
5291         * src/NetworkManagerAP.c
5292           src/NetworkManagerAP.h
5293                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5294                         property to 'max-bitrate'
5295                 - (foreach_property_cb): convert rate to Kb/s
5296
5297         * src/nm-device-802-11-wireless.c
5298                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5299
5300         * libnm-glib/nm-access-point.c
5301           libnm-glib/nm-access-point.h
5302                 - 'rate' -> 'max-bitrate'
5303
5304         * test/nm-tool.c
5305           libnm-glib/libnm-glib-test.c
5306                 - Fix up for these changes
5307
5308 2008-03-12  Dan Williams  <dcbw@redhat.com>
5309
5310         * src/nm-device.c
5311                 - (nm_device_set_ip4_config): don't send property notifications when
5312                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5313                         which dbus-glib can't parse because the value is NULL, which isn't
5314                         a legal object path.  Setting the IP4 config to NULL is only
5315                         valid when deactivating a device anyway, so the device state change
5316                         will alert listeners that the ip4 config is invalid.
5317
5318 2008-03-12  Dan Williams  <dcbw@redhat.com>
5319
5320         * src/nm-properties-changed-signal.c
5321                 - (add_to_string): better handling of NULL objects
5322
5323 2008-03-12  Dan Williams  <dcbw@redhat.com>
5324
5325         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5326         convert the libnm-glib NMDevice8023Ethernet to cached properties
5327
5328         * introspection/nm-device-802-3-ethernet.xml
5329                 - New 'Carrier' property
5330                 - New 'PropertiesChanged' signal
5331
5332         * introspection/nm-device.xml
5333                 - Remove 'Carrier' property
5334                 - Remove 'CarrierChanged' signal
5335
5336         * src/nm-device-interface.c
5337           src/nm-device-interface.h
5338                 - (nm_device_interface_init): remove 'carrier' property and
5339                         'carrier-changed' signal
5340
5341         * src/nm-device.c
5342           src/nm-device.h
5343                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5344                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5345                         the link here; wired device will handle that
5346                 - (handle_dhcp_lease_change): don't bother updating link here
5347                 - (get_property, nm_device_class_init): remove carrier property
5348
5349         * src/nm-device-802-11-wireless.c
5350                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5351                         real_update_link(); wireless devices don't use carrier at all
5352                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5353                    supplicant_iface_connection_state_cb_handler,
5354                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5355
5356         * src/nm-device-802-3-ethernet.c
5357           src/nm-device-802-3-ethernet.h
5358                 - (nm_device_802_3_ethernet_carrier_on,
5359                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5360                         instead of nm_device_set_carrier()
5361                 - (device_state_changed): update link from sysfs on activation;
5362                         replaces real_update_link()
5363                 - (real_update_link): remove, replaced by device_state_changed()
5364                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5365                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5366                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5367                         new get_carrier function
5368                 - (get_property): add 'carrier' property
5369                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5370                         hook into property-changed signal helper
5371
5372         * src/NetworkManagerPolicy.c
5373                 - (device_carrier_changed): will only ever be called with a wired device
5374                 - (device_added): only hook up to carrier-changed for wired devices
5375
5376         * libnm-glib/nm-device.c
5377           libnm-glib/nm-device.h
5378                 - (constructor, nm_device_class_init): remove carrier-changed signal
5379                 - (device_carrier_changed_proxy): remove; unused
5380                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5381
5382         * libnm-glib/nm-device-802-3-ethernet.c
5383           libnm-glib/nm-device-802-3-ethernet.h
5384                 - Convert to cached properties like AP and Wireless objects
5385                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5386                         instead of a 'char *', return value should not be freed
5387                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5388                 - (constructor): hook into properties-changed helper
5389                 - (set_property, get_property): new functions
5390                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5391
5392         * test/nm-tool.c
5393                 - (detail_device): strdup the wired hardware address too since it's
5394                         cached now
5395
5396         * libnm-glib/libnm-glib-test.c
5397                 - (dump_wired): strdup the wired hardware address too since it's
5398                         cached now
5399
5400 2008-03-12  Dan Williams  <dcbw@redhat.com>
5401
5402         * libnm-util/nm-setting-ip4-config.c
5403           libnm-util/nm-setting-ip4-config.h
5404                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5405                         the 'autoip' property from the spec
5406
5407 2008-03-11  Dan Williams  <dcbw@redhat.com>
5408
5409         * src/backends/NetworkManagerGeneric.c
5410           src/backends/NetworkManagerGeneric.h
5411                 - (nm_generic_device_get_use_dhcp): remove
5412
5413 2008-03-11  Dan Williams  <dcbw@redhat.com>
5414
5415         * src/nm-device.c
5416                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5417                         already in nm_device_set_ip4_config()
5418                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5419                         due to a DHCP rebind fails
5420                 - (nm_device_set_ip4_config): send property notifications when the
5421                         ip4 config changes
5422                 - (get_property): only report IP4Config property during valid states
5423
5424         * src/NetworkManagerPolicy.c
5425                 - (update_routing_and_dns): ignore devices that don't have an ip4
5426                         config; add parameter 'force_update' to allow callers to specify
5427                         that changes should be made even if the default device doesn't change
5428                 - (device_ip4_config_changed): update DNS and routing when the device's
5429                         IP4Config changes, like for DHCP updates
5430                 - (device_added): listen for ip4-config property changes
5431
5432 2008-03-11  Dan Williams  <dcbw@redhat.com>
5433
5434         Fix address handling as a result of DHCP rebind/renew/reboot.
5435
5436         * src/NetworkManagerSystem.c
5437                 - (check_one_address): delete an address if it doesn't match a given
5438                         one for the same interface
5439                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5440                         be smarter about flushing addresses (only flush ones that don't
5441                         match the one we're about to apply)
5442
5443         * src/backends/NetworkManagerDebian.c
5444           src/backends/NetworkManagerSuSE.c
5445           src/backends/NetworkManagerArch.c
5446           src/backends/NetworkManagerSlackware.c
5447           src/backends/NetworkManagerRedHat.c
5448           src/backends/NetworkManagerPaldo.c
5449           src/backends/NetworkManagerFrugalware.c
5450           src/backends/NetworkManagerGentoo.c
5451                 - (nm_system_delete_default_route): remove
5452
5453         * src/backends/NetworkManagerGeneric.c
5454           src/backends/NetworkManagerGeneric.h
5455                 - (nm_generic_enable_loopback): fix the loopback device label
5456                 - (nm_generic_delete_default_route): remove; no longer used
5457
5458 2008-03-11  Dan Williams  <dcbw@redhat.com>
5459
5460         * src/nm-device-interface.h
5461                 - Delimit property name words with '-', otherwise g_object_notify()
5462                         doesn't work the way we expect
5463
5464 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5465
5466         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5467
5468 2008-03-11  Dan Williams  <dcbw@redhat.com>
5469
5470         * src/NetworkManagerPolicy.c
5471                 - (update_routing_and_dns): don't change anything if the default device
5472                         hasn't changed; print something out when switching the default route
5473                         and DNS
5474
5475 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5476
5477         Implement PPPoE.
5478
5479         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5480         setting. Use "nic-$eth".
5481
5482         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5483         the device is activating here to fix a race condition.
5484
5485         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5486
5487         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5488         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5489         (nm_ppp_manager_start): Take activation request instead of connection, we might
5490         need it for asking secrets.
5491         (nm_ppp_manager_update_secrets): Implement.
5492
5493         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5494         ppp manager start. It might be needed for asking secrets.
5495
5496         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5497         (ppp_state_changed): Handle pppd daemon disappearing.
5498         (pppoe_stage2_config): Send activation request to ppp manager start.
5499
5500         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5501
5502         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5503         username and password.
5504         
5505 2008-03-10  Dan Williams  <dcbw@redhat.com>
5506
5507         * src/nm-device.c
5508                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5509                         response to a DHCP lease change
5510                 - (dhcp_state_changed): handle DHCP lease changes while activated
5511                 - (nm_device_set_ip4_config): remove a previously set named config
5512                         when setting an ip4 config
5513
5514 2008-03-10  Dan Williams  <dcbw@redhat.com>
5515
5516         * src/nm-serial-device.c
5517                 - (nm_serial_device_send_command): report errno on error
5518                 - (get_reply_got_data): limit the size of the overall buffer
5519                 - (wait_for_reply_info_destroy): destroy result string
5520                 - (wait_for_reply_got_data): append received data to an overall buffer
5521                         until timeout, filled buffer, or error instead of keeping a per-call
5522                         buffer.  Some devices send data slowly enough that this function
5523                         gets called multiple times for the same command stream.
5524                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5525                         wait_for_reply_got_data() here
5526
5527 2008-03-10  Dan Williams  <dcbw@redhat.com>
5528
5529         * src/nm-cdma-device.c
5530                 - (do_dial, init_modem): handle errors from
5531                         nm_serial_device_send_command_string()
5532
5533         * src/nm-gsm-device.c
5534                 - (do_dial, manual_registration, automatic_registration_get_network,
5535                    automatic_registration, enter_pin, check_pin, init_modem): handle
5536                         errors from nm_serial_device_send_command_string()
5537
5538 2008-03-10  Dan Williams  <dcbw@redhat.com>
5539
5540         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5541
5542         * src/named-manager/nm-named-manager.c
5543                 - (compute_searches): prefer searches before domains
5544                 - (compute_domain): new function
5545                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5546                 - (merge_one_ip4_config): if there are no searches in the source config,
5547                         merge domains of the source config into the target config
5548                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5549
5550 2008-03-10  Dan Williams  <dcbw@redhat.com>
5551
5552         * src/nm-serial-device.c
5553                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5554                 - (wait_for_reply_got_data): try to handle slower serial devices where
5555                         the reply is broken up into multiple reads by concatenating replies
5556                         together until either an error is received or the search string is
5557                         found
5558
5559 2008-03-10  Dan Williams  <dcbw@redhat.com>
5560
5561         * src/nm-device.c
5562                 - (nm_device_bring_down): deactivate the device if it's activating too,
5563                         not just if it's already activated.  This makes sure that everything
5564                         from an association attempt is cleaned up (like DHCP for example)
5565
5566 2008-03-10  Dan Williams  <dcbw@redhat.com>
5567
5568         * src/nm-serial-device.c
5569                 - (config_fd): report error from TCSETA
5570                 - (nm_serial_device_open): fail when config_fd() fails
5571
5572 2008-03-10  Dan Williams  <dcbw@redhat.com>
5573
5574         * src/nm-ip4-config.c
5575                 - (nm_ip4_config_init): allocate searches list
5576                 - (finalize): free searches list
5577
5578 2008-03-09  Dan Williams  <dcbw@redhat.com>
5579
5580         Patch from Bas Zoetekouw <bas@debian.org>
5581
5582         * src/dhcp-manager/nm-dhcp-manager.c
5583                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5584
5585 2008-03-09  Dan Williams  <dcbw@redhat.com>
5586
5587         Patch from Bas Zoetekouw <bas@debian.org>
5588
5589         * src/nm-ip4-config.c
5590           src/nm-ip4-config.h
5591                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5592                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5593                         domains.  'searches' is the correct way to store multiple search
5594                         domains, whereas 'domains' is really just supposed to store one
5595                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5596                         search domains to the client.
5597                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5598
5599 2008-03-09  Dan Williams  <dcbw@redhat.com>
5600
5601         * src/dhcp-manager/nm-dhcp-manager.c
5602                 - (dhclient_run): send interface-specific config files to dhclient
5603
5604 2008-03-07  Dan Williams  <dcbw@redhat.com>
5605
5606         * system-settings/plugins/ifcfg-fedora/parser.c
5607                 - (is_wireless_device): new function; test a device for wireless
5608                         extensions
5609                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5610                         test the device for wireless extensions to determine the type
5611
5612 2008-03-07  Dan Williams  <dcbw@redhat.com>
5613
5614         Change manager's StateChange signal to StateChanged for consistency.
5615
5616         * introspection/nm-manager.xml
5617                 - Add 'StateChanged' signal
5618                 - Move 'StateChange' down to the deprecated section
5619
5620         * src/nm-hal-manager.c
5621                 - (nm_hal_manager_new): connect to 'state-changed' instead
5622
5623         * src/NetworkManagerPolicy.c
5624                 - (nm_policy_new): connect to 'state-changed' instead
5625
5626         * src/nm-manager.c
5627           src/nm-manager.h
5628                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5629                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5630                         of 'state-change'
5631
5632         * libnm-glib/nm-client.c
5633           libnm-glib/nm-client.h
5634                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5635                         track and proxy 'state-changed' instead of 'state-change'
5636
5637 2008-03-07  Dan Williams  <dcbw@redhat.com>
5638
5639         First pass of multiple active device support.  Expect bugs.
5640
5641         * src/nm-ip4-config.c
5642           src/nm-ip4-config.h
5643                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5644                         there are better ways to do this in the named manager
5645
5646         * src/nm-device.c
5647           src/nm-device.h
5648                 - (nm_device_can_activate): return whether the device can activate a
5649                         connection right now; taking into account things like carrier state
5650                         and rfkill state
5651                 - (nm_device_get_best_auto_connection): renamed from
5652                         nm_device_get_best_connection
5653                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5654                         device subclasses themselves, so that each device can override the
5655                         MTU from it's NMSetting subclass if needed
5656                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5657                         in NetworkManagerSystem.c, not here
5658
5659         * src/named-manager/nm-named-manager.c
5660           src/named-manager/nm-named-manager.h
5661                 - (nm_named_manager_name_owner_changed,
5662                    nm_named_manager_dbus_connection_changed): fix for changes to
5663                         rewrite_resolv_conf()
5664                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5665                         from parameter list
5666                 - (merge_one_ip4_config): new function; merge ip4 configs together
5667                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5668                         ip4 configs; the VPN config takes precedence, then the best
5669                         device config, then the rest of the configs
5670                 - (get_domain_for_config): take the NMNamedManager as an argument
5671                         to check whether the config is the VPN config
5672                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5673                         attribute from ip4 configs
5674                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5675                 - (remove_ip4_config_from_named): fix for changes to
5676                         get_domain_for_config()
5677                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5678                         based on its type; callers must pass in the type now
5679                 - (get_last_default_domain): remove, unused
5680                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5681
5682         * src/nm-device-802-11-wireless.c
5683                 - (real_can_activate): new function
5684                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5685                 - (real_act_stage4_get_ip4_config): handle MTU override
5686
5687         * src/nm-device-802-3-ethernet.c
5688                 - (real_can_activate): new function
5689                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5690                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5691
5692         * src/vpn-manager/nm-vpn-connection.c
5693                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5694                         attribute on the ip4 config
5695
5696         * src/NetworkManagerPolicy.c
5697                 - (nm_policy_auto_get_best_device): remove
5698                 - (nm_policy_device_change_check): remove
5699                 - (update_default_route): new function; set the default route via
5700                         the specified device
5701                 - (get_device_priority): new function; return the priority number of
5702                         a device type WRT which one should have the default route.  Order is
5703                         (highest to lowest)  wired, wireless, GSM, CDMA.
5704                 - (update_routing_and_dns): new function; determine which device should
5705                         have the default route, then update the routing table and DNS
5706                 - (maybe_auto_activate_device): new function; if a device is now
5707                         available for activation, find out what connection it would like to
5708                         activate and do it
5709                 - (schedule_activate_check): new function; if a device can be activated
5710                         now, schedule the activation.  Each device may have only one
5711                         pending activation at a given time.
5712                 - (device_state_changed): if activation was canceled, try again,
5713                         possibly with another connection; if the device was activated,
5714                         update routing and DNS; if the device was deactivated, try again
5715                         with another connection
5716                 - (device_carrier_changed): if there is no carrier, deactivate the
5717                         device; otherwise schedule an activation check for the device
5718                 - (wireless_networks_changed): schedule an activation check for the
5719                         device
5720                 - (device_added): keep track of the signal handler IDs so they can
5721                         be removed when the device goes away
5722                 - (device_removed): remove any signal handlers that might be attached
5723                         to the device; update routing and DNS
5724                 - (schedule_activate_all): new function
5725                 - (connections_added, connection_added, connection_updated): when
5726                         connections change, schedule all devices for an activation check
5727                 - (connection_removed): when a device is deactivated because its
5728                         connection was removed, schedule another activation check for it
5729                 - (nm_policy_destroy): destroy pending activations and disconnect
5730                         all device signal handlers
5731
5732         * src/nm-manager.c
5733                 - (nm_manager_activate_device): if the device was already actived,
5734                         deactivate it
5735                 - (deactivate_old_device): remove
5736                 - (connection_added_default_handler, impl_manager_activate_device):
5737                         don't deactivate other devices when activating this one
5738
5739         * src/backends/NetworkManagerGentoo.c
5740           src/backends/NetworkManagerFrugalware.c
5741           src/backends/NetworkManagerPaldo.c
5742           src/backends/NetworkManagerRedHat.c
5743           src/backends/NetworkManagerSlackware.c
5744           src/backends/NetworkManagerArch.c
5745           src/backends/NetworkManagerSuSE.c
5746           src/backends/NetworkManagerDebian.c
5747                 - (nm_system_get_mtu): remove; MTU should be provided through the
5748                         distro's system settings service plugin instead
5749                 - (nm_system_device_add_default_route_via_device): remove
5750                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5751                 - (nm_system_device_replace_default_route): new function; call
5752                         generic implementation
5753
5754         * src/backends/NetworkManagerGeneric.c
5755           src/backends/NetworkManagerGeneric.h
5756                 - (nm_generic_device_add_default_route_via_device,
5757                    nm_generic_device_add_default_route_via_device_with_iface): remove
5758                 - (nm_generic_device_replace_default_route): replace the default route
5759                         with the given route via some gateway
5760
5761         * src/NetworkManagerSystem.c
5762           src/NetworkManagerSystem.h
5763                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5764                         to routing and DNS; but set the MTU here
5765                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5766                         ip_iface of the active device; use the standard MTU setting function
5767                 - (nm_system_set_mtu): remove
5768                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5769
5770 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5771
5772         Rework the interaction between ppp manager and pppd plugin. Register a well
5773         known DBUS service in manager and let the plugin call it's methods instead
5774         of listening plugin's signals.
5775
5776         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5777         of emitting signals.
5778
5779         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5780
5781         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5782
5783         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5784         nm_ppp_manager_start().
5785
5786         * introspection/nm-ppp-manager.xml: New file.
5787
5788         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5789         the case correctly where driver is trying to send -1 for the speed, which gets
5790         casted to u16 and thus is always > 0.
5791
5792 2008-03-07  Dan Williams  <dcbw@redhat.com>
5793
5794         * src/nm-hal-manager.c
5795                 - (nm_get_device_driver_name): use net.originating_device first, fall
5796                         back to physical device.  HAL has deprecated physical_device.
5797
5798         * libnm-glib/nm-device.c
5799                 - (get_product_and_vendor): use net.originating_device first, fall
5800                         back to physical device.  HAL has deprecated physical_device.
5801                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5802
5803 2008-03-07  Dan Williams  <dcbw@redhat.com>
5804
5805         * src/nm-netlink.c
5806                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5807                         last commit; fix that
5808                 - (get_link_cache): print error string
5809
5810 2008-03-07  Dan Williams  <dcbw@redhat.com>
5811
5812         * src/nm-netlink.c
5813                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5814                         don't need this hack any more (Benoit Boissinot)
5815
5816 2008-03-06  Dan Williams  <dcbw@redhat.com>
5817
5818         * autogen.sh
5819                 - Die gnome-common, die
5820
5821 2008-03-04  Dan Williams  <dcbw@redhat.com>
5822
5823         Patch from Michael Biebl <biebl@debian.org>
5824
5825         * NetworkManager.pc.in
5826                 - doesn't actually depend on dbus-1
5827
5828         * libnm-util/nm-utils.h
5829                 - remove unused #include <dbus/dbus.h>
5830
5831         * libnm-glib/libnm_glib.pc.in
5832                 - depends on glib and dbus-glib
5833
5834 2008-03-02  Dan Williams  <dcbw@redhat.com>
5835
5836         * src/NetworkManagerPolicy.c
5837                 - s/device_state_changed_idle_id/update_state_id/
5838
5839 2008-03-02  Dan Williams  <dcbw@redhat.com>
5840
5841         * src/nm-device.c
5842           src/nm-device.h
5843           src/nm-device-802-11-wireless.c
5844           src/nm-device-802-3-ethernet.c
5845           src/NetworkManagerPolicy.c
5846                 - s/link_active/carrier
5847                 - nm_device_set_active_link() -> nm_device_set_carrier()
5848                 - nm_device_has_active_link() -> nm_device_get_carrier()
5849
5850 2008-03-02  Dan Williams  <dcbw@redhat.com>
5851
5852         * system-settings/plugins/ifcfg-fedora/parser.c
5853                 - (make_wireless_setting): fail connection creation on missing SSID
5854
5855 2008-02-29  Dan Williams  <dcbw@redhat.com>
5856
5857         * src/NetworkManagerPolicy.c
5858                 - (nm_policy_device_change_check): ensure that a previously active
5859                         device with a system connection has a link before denying a switch
5860                         to a user connection
5861
5862 2008-02-29  Dan Williams  <dcbw@redhat.com>
5863
5864         * src/nm-device-802-11-wireless.c
5865                 - (link_timeout_cb): try again if scanning; deactivate the device when
5866                         activated if the link dies
5867                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5868                         15 seconds
5869
5870 2008-02-29  Dan Williams  <dcbw@redhat.com>
5871
5872         * src/nm-device-802-11-wireless.c
5873           src/nm-device-802-11-wireless.h
5874                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5875                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5876                 - (device_cleanup): reset the scan interval lower when the device
5877                         deactivates
5878                 - (can_scan): base decision mostly off device state, not supplicant
5879                         interface state since the supplicant interface state isn't a
5880                         great indicator of whether the device is active or not
5881                 - (request_wireless_scan): clean up; schedule the next scan here
5882                 - (schedule_scan): only back the scan interval off if a new scan
5883                         actually gets scheduled; and make scan intervals tighter when the
5884                         device is disconnected
5885                 - (supplicant_iface_state_cb_handler): fold in the bits of
5886                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5887                         interval to minimum
5888                 - (activation_success_handler): reset scan interval to something
5889                         reasonable 
5890
5891 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5892
5893         reviewed by: Steev <steev@steev.net>
5894
5895         * configure.in:
5896         * src/backends/NetworkManagerGentoo.c:
5897         (nm_system_restart_mdns_responder):
5898                 Howl is no longer a supported mDNS provider
5899
5900 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5901
5902         Get rid of a bunch of unused distro specific functions.
5903
5904 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5905
5906         Implement suse plugin for system settings daemon.
5907
5908         * system-settings/plugins/ifcfg-suse/*: Implement.
5909
5910         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5911         suse.
5912
5913         * configure.in: Check (without failing) for gio.
5914         Create ifcfg-suse plugin's Makefile.
5915
5916 2008-02-20  Dan Williams  <dcbw@redhat.com>
5917
5918         * libnm-util/nm-connection.c
5919           libnm-util/nm-connection.h
5920                 - (nm_connection_compare): accept compare flags and pass them to the
5921                         setting compare function
5922
5923         * libnm-util/nm-setting.c
5924           libnm-util/nm-setting.h
5925                 - (nm_setting_compare): accept compare flags; ignore properties that are
5926                         marked fuzzy
5927
5928         * libnm-util/nm-setting-connection.c
5929           libnm-util/nm-setting-wireless.c
5930           libnm-util/nm-setting-ppp.c
5931           libnm-util/nm-setting-wired.c
5932                 - Mark some setting properties as ignorable when doing a fuzzy compare
5933
5934         * src/nm-device.c
5935                 - (device_activation_precheck): use exact compare
5936
5937 2008-02-20  Dan Williams  <dcbw@redhat.com>
5938
5939         * src/NetworkManagerPolicy.c
5940                 - (nm_policy_device_change_check): get scope off the connection, not
5941                         using the manager helper
5942
5943         * src/nm-manager.c
5944           src/nm-manager.h
5945                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5946                 - (connection_get_settings_cb): set scope and path on connection, not
5947                         using GObject data items
5948                 - (get_connection_for_proxy): don't need to return path, since that
5949                         can be gotten from the connection
5950                 - (get_connection_for_proxy): get path off the connection, not from
5951                         parameters
5952                 - (connection_removed_cb, connection_updated_cb): don't need to get
5953                         path from get_connection_for_proxy(); get scope off the connection
5954                         instead of using GObject data items
5955                 - (connection_added_default_handler, add_one_connection_element): use
5956                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5957                 - (nm_manager_get_connection_dbus_path): remove
5958                 - (nm_manager_get_connection_scope): remove
5959
5960 2008-02-20  Dan Williams  <dcbw@redhat.com>
5961
5962         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5963                 on confusing names
5964
5965         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5966                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5967                 NMExportedConnection
5968
5969         * Internally rename NMConnectionType -> NMConnectionScope
5970
5971         * Provide default implementations of the 'get_id' and 'get_settings' methods
5972                 of NMExportedConnection
5973
5974 2008-02-15  Dan Williams  <dcbw@redhat.com>
5975
5976         * src/nm-device-802-11-wireless.c
5977                 - (device_cleanup): release the AP list here too so that the AP list
5978                         doesn't survive across suspend/resume and up/down.  There is some
5979                         room for optimization, for example blow the list away when the card
5980                         brought back up, but only if the device has only been down for a
5981                         minute or more.
5982
5983 2008-02-15  Dan Williams  <dcbw@redhat.com>
5984
5985         * src/nm-hal-manager.c
5986                 - (modem_device_creator): recognize new HAL modem capabilities
5987
5988 2008-02-12  Dan Williams  <dcbw@redhat.com>
5989
5990         * system-settings/plugins/ifcfg-fedora/plugin.c
5991                 - (watch_path): handle IN_DELETE_SELF too
5992                 - (handle_connection_changed): notify when removing a connection
5993                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5994                         case of a file moving out of the profile directory
5995
5996 2008-02-12  Dan Williams  <dcbw@redhat.com>
5997
5998         * system-settings/plugins/ifcfg-fedora/parser.c
5999                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6000
6001 2008-02-12  Dan Williams  <dcbw@redhat.com>
6002
6003         * libnm-util/nm-utils.c
6004                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6005                         just any empty array
6006
6007 2008-02-12  Dan Williams  <dcbw@redhat.com>
6008
6009         * system-settings/src/nm-system-config-interface.c
6010           system-settings/src/nm-system-config-interface.h
6011                 - (load_connections): get_connections() should now return an allocated
6012                         GSList that the system settings service will free
6013
6014         * system-settings/plugins/ifcfg-fedora/plugin.c
6015           system-settings/plugins/ifcfg-fedora/parser.h
6016           system-settings/plugins/ifcfg-fedora/parser.c
6017                 - Fix up inotify issues; handle keys-* files, handle new files appearing
6018                         in the profile directory, handle resolv.conf file changes
6019
6020 2008-02-10  Dan Williams  <dcbw@redhat.com>
6021
6022         * src/nm-device-802-3-ethernet.c
6023                 - (real_bring_up): save the supplicant interface state signal id
6024                 - (real_bring_down): disconnect from the supplicant interface state
6025                         signal
6026
6027 2008-02-07  Dan Williams  <dcbw@redhat.com>
6028
6029         * initscript/RedHat/NetworkManager.in
6030           initscript/RedHat/NetworkManagerDispatcher.in
6031                 - Add new-style LSB init headers
6032
6033 2008-02-07  Dan Williams  <dcbw@redhat.com>
6034
6035         * system-settings/src/dbus-settings.c
6036           system-settings/src/dbus-settings.h
6037                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6038                         table of secrets
6039                 - (connection_settings_get_secrets): consolidate error returns into
6040                         one place; use the new get_secrets() plugin interface function to
6041                         get secrets from the plugin itself rather than using GObject data
6042                         magic
6043
6044         * system-settings/src/main.c
6045                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6046                    load_connections): keep a private list of the plugin-returned
6047                         connections, don't use the plugin's GSList
6048
6049         * system-settings/plugins/ifcfg-fedora/plugin.c
6050                 - (watch_path): watch the path, not the filename (duh)
6051                 - (reload_all_connections): use the direct hash/equal functions; the
6052                         ones for int aren't appropriate here
6053                 - (get_secrets, system_config_interface_init): implement the
6054                         get_secrets() function
6055                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6056                         now in the connection's ConnectionData instead of being a GObject
6057                         data property
6058                 - (handle_profile_item_changed): ifcfg file path is now in the
6059                         connection's ConnectionData instead of being a GObject data property;
6060                         be sure to copy secrets over from the new connection to the existing
6061                         connection when updating the connection's settings
6062                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6063                         file descriptor
6064
6065         * system-settings/plugins/ifcfg-fedora/parser.c
6066           system-settings/plugins/ifcfg-fedora/parser.h
6067                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6068                    connection_data_copy_secrets, connection_data_free,
6069                    connection_data_add): new functions; connection data manipulation
6070                 - (make_wireless_security_setting): stuff secrets into the
6071                         connection data, not as GObject data items; make sure to close
6072                         the keys ifcfg file
6073                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6074                         connection data to the connection
6075
6076 2008-02-07  Dan Williams  <dcbw@redhat.com>
6077
6078         * system-settings/src/nm-system-config-interface.c
6079           system-settings/src/nm-system-config-interface.h
6080                 - Add a get_secrets() interface function to retrieve secrets for a
6081                         specific setting of a specific connection.  Document the interface
6082                         a bit more too.
6083
6084 2008-02-07  Dan Williams  <dcbw@redhat.com>
6085
6086         * src/nm-device-802-11-wireless.c
6087                 - (handle_auth_or_fail): new function; consolidate device activation
6088                         failure check after a certain number of failures getting secrets
6089                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6090                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6091                         the connection if secrets were requested more than a few times
6092                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6093                         tries here; otherwise they are cleared before the IP configure
6094                         timeout, which happens with open system WEP when key is wrong
6095                 - (activation_success_handler): clear wireless secrets tries here too
6096
6097 2008-02-07  Dan Williams  <dcbw@redhat.com>
6098
6099         * src/NetworkManagerPolicy.c
6100                 - (connection_updated): clear invalid tag when connection gets updated
6101                         to allow that connection to be tried again
6102                 - (nm_policy_new): save signal ids so they can be disconnected when
6103                         the policy is destroyed
6104                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6105                         and disconnect all signals from the manager object so that none
6106                         of the policy functions gets called after the policy is destroyed
6107
6108 2008-02-06  Dan Williams  <dcbw@redhat.com>
6109
6110         * src/nm-manager.c
6111                 - (finalize): remove devices a bit earlier; clean up system settings
6112                         poke
6113                 - (nm_manager_name_owner_changed): clean up system settings poke when
6114                         the service appears, and try to restart it if it fails
6115                 - (poke_system_settings_daemon_cb): try to get the system settings
6116                         service started through D-Bus service activation
6117                 - (initial_get_connections): start the system settings daemon if it's
6118                         not already running
6119
6120 2008-02-05  Dan Williams  <dcbw@redhat.com>
6121
6122         * src/supplicant-manager/nm-supplicant-config.c
6123                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6124                         broadcast networks too
6125
6126 2008-02-04  Dan Williams  <dcbw@redhat.com>
6127
6128         * system-settings/plugins/ifcfg-fedora/parser.c
6129                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6130                         need key_mgmt set too
6131                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6132                         .bak files; ensure that an error is set whenever NULL gets returned
6133
6134 2008-02-04  Dan Williams  <dcbw@redhat.com>
6135
6136         * system-settings/src/Makefile.am
6137                 - Install D-Bus service activation file for the system settings
6138                         service
6139
6140         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6141                 - D-Bus service activation file for system settings service
6142
6143 2008-02-04  Dan Williams  <dcbw@redhat.com>
6144
6145         * system-settings/src/main.c
6146                 - (parse_config_file): parse a config file
6147                 - (main): accept --config option and read plugins from config file
6148
6149 2008-02-04  Dan Williams  <dcbw@redhat.com>
6150
6151         * system-settings/plugins/ifcfg-fedora/plugin.c
6152                 - Change reported name to 'ifcfg-fedora'
6153                 - Use IFCFG_PLUGIN_NAME
6154
6155         * system-settings/plugins/ifcfg-fedora/plugin.c
6156                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6157
6158 2008-02-04  Dan Williams  <dcbw@redhat.com>
6159
6160         * system-settings/plugins/ifcfg-fedora/parser.c
6161                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6162                 - (make_connection_setting): use get_ifcfg_name()
6163                 - (make_wireless_security_setting): handle shadow key files
6164                 - (get_one_wep_key): treat empty string as NULL
6165
6166 2008-02-04  Dan Williams  <dcbw@redhat.com>
6167
6168         * src/supplicant-manager/nm-supplicant-manager.c
6169                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6170                         glib automatically reschedule
6171                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6172                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6173                         the supplicant
6174
6175 2008-02-01  Dan Williams  <dcbw@redhat.com>
6176
6177         * src/NetworkManagerPolicy.c
6178                 - (device_state_changed): schedule a change check when a device gets
6179                         deactivated so something happens if you disconnect GSM/CDMA
6180
6181 2008-01-31  Dan Williams  <dcbw@redhat.com>
6182
6183         * src/nm-device-802-11-wireless.h
6184           src/nm-device-802-11-wireless.c
6185                 - (ap_list_get_ap_by_ssid, is_associated,
6186                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6187                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6188                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6189                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6190                         function
6191
6192 2008-01-30  Dan Williams  <dcbw@redhat.com>
6193
6194         * system-settings/plugins/ifcfg
6195         * system-settings/plugins/ifcfg-fedora
6196                 - Move the ifcfg plugin to ifcfg-fedora
6197
6198 2008-01-24  Dan Williams  <dcbw@redhat.com>
6199
6200         * libnm-glib/nm-device-802-11-wireless.c
6201                 - (get_access_point): move the "/" check here; check for invalid path
6202                         too
6203                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6204                         to get_access_point()
6205                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6206                         to send signals for non-existent access points
6207
6208 2008-01-24  Dan Williams  <dcbw@redhat.com>
6209
6210         * libnm-glib/nm-device-802-11-wireless.c
6211                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6212
6213 2008-01-23  Dan Williams  <dcbw@redhat.com>
6214
6215         * libnm-glib/libnm_glib.c
6216                 - (libnm_glib_init): make thread joinable
6217                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6218
6219 2008-01-23  Dan Williams  <dcbw@redhat.com>
6220
6221         * test/libnm_glib_test.c
6222                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6223                 - (main): set up signal handlers; call libnm_glib_shutdown
6224
6225 2008-01-21  Dan Williams  <dcbw@redhat.com>
6226
6227         * include/NetworkManager.h
6228                 - Add CDMA mobile broadband card device type
6229
6230         * src/nm-hal-manager.c
6231                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6232                         must now be tagged with 'cdma' or 'gsm' capability
6233
6234         * src/nm-cdma-device.c
6235           src/nm-cdma-device.h
6236           src/Makefile.am
6237                 - Add the CDMA mobile broadband card device class
6238
6239         * libnm-util/nm-connection.c
6240                 - (register_default_settings): add NMSettingCdma
6241
6242         * libnm-util/nm-setting-cdma.c
6243           libnm-util/nm-setting-cdma.h
6244           libnm-util/Makefile.am
6245                 - Add the CDMA mobile broadband card setting class
6246
6247         * libnm-glib/nm-cdma-device.c
6248           libnm-glib/nm-cdma-device.h
6249           libnm-glib/Makefile.am
6250                 - Add the CDMA mobile broadband card GLib proxy class
6251
6252         * libnm-glib/nm-client.c
6253                 - (get_device): handle CDMA devices too
6254
6255 2008-01-21  Dan Williams  <dcbw@redhat.com>
6256
6257         * src/ppp-manager/nm-ppp-manager.c
6258                 - (ip4_config_get): set peer address too
6259
6260         * src/ppp-manager/nm-pppd-plugin.c
6261                 - (nm_ip_up): try harder to get the peer's address
6262
6263         * src/NetworkManagerSystem.c
6264                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6265                         address, use that too.  Otherwise, some PPP connections won't work.
6266
6267 2008-01-19  Dan Williams  <dcbw@redhat.com>
6268
6269         * src/NetworkManagerPolicy.c
6270                 - (nm_policy_device_change_check): system connections override user
6271                         connections; don't activate a user connection if there's a currently
6272                         active system connection, and new, better system connections always
6273                         interrupt user connections
6274
6275 2008-01-19  Dan Williams  <dcbw@redhat.com>
6276
6277         * src/nm-manager.h
6278                 - (nm_manager_get_connection_type): new function
6279
6280 2008-01-19  Dan Williams  <dcbw@redhat.com>
6281
6282         * src/nm-device-802-11-wireless.c
6283                 - (real_get_best_connection): collapse find_best_connection() into this
6284                         function
6285
6286 2008-01-19  Dan Williams  <dcbw@redhat.com>
6287
6288         * src/nm-device-802-3-ethernet.c
6289                 - (real_get_best_connection): collapse find_best_connection() into this
6290                         function
6291
6292 2008-01-18  Dan Williams  <dcbw@redhat.com>
6293
6294         * src/nm-device-802-3-ethernet.c
6295                 - (find_best_connection): check MAC address too
6296                 - (real_get_best_connection): let autoconnect=True connections activate
6297                         for devices that don't have carrier detection
6298
6299         * src/nm-device-802-11-wireless.c
6300                 - (find_best_connection): check MAC address too
6301
6302 2008-01-18  Dan Williams  <dcbw@redhat.com>
6303
6304         * system-settings/plugins/ifcfg/parser.c
6305                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6306
6307 2008-01-17  Dan Williams  <dcbw@redhat.com>
6308
6309         * src/nm-device-802-3-ethernet.c
6310                 - (nm_device_802_3_ethernet_carrier_on,
6311                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6312                         carrier events that might come in for devices that don't support
6313                         carrier detect
6314
6315 2008-01-17  Dan Williams  <dcbw@redhat.com>
6316
6317         * src/nm-device-interface.c
6318                 - (nm_device_interface_check_connection_conflicts): need to actually
6319                         get the interface, not cast to the object
6320
6321         * src/nm-device.c
6322                 - (nm_device_check_connection_conflicts): need to get the device class,
6323                         not cast the device to the device class
6324
6325 2008-01-17  Dan Williams  <dcbw@redhat.com>
6326
6327         * src/nm-device-802-11-wireless.c
6328                 - (real_check_connection_conflicts): ignore connections that aren't
6329                         wireless connections
6330
6331 2008-01-17  Dan Williams  <dcbw@redhat.com>
6332
6333         * src/NetworkManagerPolicy.c
6334                 - (nm_policy_device_change_check): clear change check idle here
6335                 - (device_change_check_done): remove
6336                 - (schedule_change_check): simplify
6337
6338 2008-01-17  Dan Williams  <dcbw@redhat.com>
6339
6340         * src/nm-manager.c
6341                 - (check_connection_allowed): take an NMDeviceInterface instead of
6342                         an NMDevice object as an argument
6343                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6344                         check_connection_allowed()
6345
6346 2008-01-13  Dan Williams  <dcbw@redhat.com>
6347
6348         * libnm-glib/nm-device-802-11-wireless.c
6349                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6350
6351 2008-01-12  Dan Williams  <dcbw@redhat.com>
6352
6353         * src/nm-device-802-11-wireless.c
6354                 - (activation_success_handler): if a match was found in the scan list
6355                         and that match is a hidden AP, update that AP's SSID
6356
6357 2008-01-11  Dan Williams  <dcbw@redhat.com>
6358
6359         * src/NetworkManagerAP.c
6360                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6361
6362         * src/nm-device-802-11-wireless.c
6363                 - (get_active_ap): do two passes over the scan list if the caller
6364                         requests that hidden APs get matched too; during the second pass
6365                         when matching hidden APs, ignore the SSID since hidden APs in the
6366                         scan list don't have an SSID yet
6367                 - (periodic_update): move some checks to
6368                         nm_device_802_11_periodic_update() because not all callers need them
6369                 - (nm_device_802_11_periodic_update): move some checks here from
6370                         perodic_update()
6371                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6372                         matching on incoming scan results, because the fake AP's flags
6373                         might be slightly different (yet still compatible) with the incoming
6374                         scan result's flags and they might actually be the same AP; update
6375                         the rate on merged APs too
6376                 - (activation_success_handler): update the frequency of the fake AP
6377                         on successful connection; match hidden APs too since if the
6378                         current AP is fake, there might already be a scan result in the
6379                         scan list for the desired AP, just without it's SSID filled in yet
6380
6381 2008-01-10  Dan Williams  <dcbw@redhat.com>
6382
6383         * src/NetworkManagerAP.c
6384                 - (foreach_property_cb): catch more hidden SSID formats
6385
6386 2008-01-10  Dan Williams  <dcbw@redhat.com>
6387
6388         Fix gnome.org #464215.  Requires the kernel patch titled
6389         "Introduce WEXT scan capabilities" but will handle the patch not being
6390         present, you'll just continue to have problems with hidden SSIDs when
6391         using mac80211-based drivers.
6392
6393         * src/supplicant-manager/nm-supplicant-config.h
6394           src/supplicant-manager/nm-supplicant-config.c
6395                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6396                         whether the driver supports SSID scans or not.  If it does, and if
6397                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6398
6399         * src/nm-device-802-11-wireless.c
6400                 - (constructor): check whether or not the driver supports SSID scans
6401                 - (build_supplicant_config): pass driver SSID scan capability when
6402                         building the wireless bits of the supplicant config
6403
6404 2008-01-09  Dan Williams  <dcbw@redhat.com>
6405
6406         * src/nm-device.c
6407           src/nm-device.h
6408                 - (device_activation_precheck, check_connection_complete): remove this
6409                         virtual function; incomplete connections should be invalid by
6410                         definition, complete-ness should be checked in the setting's
6411                         verify function
6412
6413         * src/nm-serial-device.c
6414           src/nm-gsm-device.c
6415                 - (real_check_connection_complete): remove
6416
6417         * libnm-util/nm-setting-serial.c
6418                 - (verify): new function; ensure there is a PPP setting too
6419
6420         * libnm-util/nm-setting-gsm.c
6421                 - (verify): ensure there is a serial setting too
6422
6423 2008-01-06  Dan Williams  <dcbw@redhat.com>
6424
6425         * src/dhcp-manager/nm-dhcp-manager.c
6426                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6427                         (gnome.org #332953)
6428
6429 2008-01-04  Dan Williams  <dcbw@redhat.com>
6430
6431         * src/named-manager/nm-named-manager.c
6432                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6433                         nameservers if the secondary config doesn't have any
6434                         (gnome.org #346833)
6435
6436 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6437
6438         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6439         with G_PARAM_CONSTRUCT so that they get the default values.
6440
6441         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6442         the monitoring device and prints out the output for now. Or more precicely, doesn't
6443         do absolutely anything right now since the montoring device argument is never set.
6444
6445         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6446         requires it's own knob to turn it on.
6447         (config_fd): Add NMSettingSerial to the arguments list.
6448         (nm_serial_device_open): Ditto.
6449         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6450         (nm_serial_device_get_io_channel): Implement.
6451
6452         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6453         a new reference every time (and forgetting to release it sometimes) is a pain and
6454         it's not like NMManager could work without dbus.
6455         (nm_manager_add_device): Register the added device on dbus here.
6456
6457         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6458         device.
6459
6460         * src/nm-device.c (constructor): Don't export the device here, instead export
6461         it when it's added to the NMManager's device list.
6462
6463 2007-12-31  Dan Williams  <dcbw@redhat.com>
6464
6465         * src/nm-device-interface.c
6466           src/nm-device-interface.h
6467                 - (nm_device_interface_check_connection_conflicts): new function
6468
6469         * src/nm-device.c
6470           src/nm-device.h
6471                 - (nm_device_check_connection_conflicts): new function
6472                 - (device_activation_precheck): don't require subclasses to implement
6473                         check_connection_complete()
6474                 - check_connection() -> check_connection_complete()
6475
6476         * src/nm-device-802-11-wireless.c
6477                 - (real_check_connection): remove; unused
6478                 - (real_check_connection_conflicts): implement, handle lockdown for
6479                         system connections
6480
6481         * src/nm-device-802-3-ethernet.c
6482                 - (real_check_connection): remove; unused
6483
6484         * src/nm-manager.c
6485                 - (check_connection_allowed): new function
6486                 - (nm_manager_activate_device): ensure the connection being requested
6487                         is allowed to be activated
6488
6489         * src/nm-serial-device.c
6490           src/nm-gsm-device.c
6491                 - real_check_connection() -> real_check_connection_complete()
6492
6493 2007-12-27  Dan Williams  <dcbw@redhat.com>
6494
6495         * src/nm-device-interface.c
6496           src/nm-device-interface.h
6497                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6498                         normalize and expand errors
6499                 - (nm_device_interface_init): register errors so they can be marshalled
6500                         through dbus-glib
6501                 - (nm_device_interface_activate): ensure that failure of activation
6502                         returns an error
6503
6504         * src/nm-device.c
6505           src/nm-device.h
6506                 - (device_activation_precheck): implementations of check_connection()
6507                         now take a GError and must fill it in if the check fails.  Return
6508                         more descriptive error if the requested connection is already
6509                         activating
6510                 - (nm_device_activate): actually try to return descriptive errors on
6511                         failures
6512
6513         * src/nm-device-802-11-wireless.c
6514           src/nm-device-802-3-ethernet.c
6515           src/nm-serial-device.c
6516           src/nm-gsm-device.c
6517                 - (real_check_connection): return more descriptive errors on failure
6518
6519         * src/NetworkManagerPolicy.c
6520                 - (nm_policy_device_change_check): print activation errors in the logs
6521
6522         * src/nm-manager.c
6523                 - (nm_manager_error_quark, nm_manager_error_get_type,
6524                    nm_manager_class_init): new errors
6525                 - (nm_manager_activate_device): handle errors
6526                 - (nm_manager_error_new): removed
6527                 - (wait_for_connection_expired, connection_added_default_handler,
6528                    impl_manager_activate_device): better error handling
6529
6530 2007-12-27  Dan Williams  <dcbw@redhat.com>
6531
6532         Fixes gnome.org #466954
6533
6534         * src/supplicant-manager/nm-supplicant-settings-verify.c
6535                 - Allow 'frequency' network property
6536
6537         * src/supplicant-manager/nm-supplicant-config.c
6538           src/supplicant-manager/nm-supplicant-config.h
6539                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6540                         for callers to specify the frequency an Ad-Hoc network should operate
6541                         on.  Some drivers require this to successfully create an Ad-Hoc
6542                         network.
6543
6544         * src/nm-device-802-11-wireless.c
6545                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6546                         guint32 value in MHz
6547                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6548                         iw_freq_to_uint32()
6549                 - (find_supported_frequency): new function; find a free supported
6550                         frequency for a user-created Ad-Hoc network
6551                 - (build_supplicant_config): if no frequency was specified for a user-
6552                         created Ad-Hoc network, find a free one to use
6553                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6554                         a specific object as user-created
6555
6556 2007-12-27  Dan Williams  <dcbw@redhat.com>
6557
6558         * libnm-util/nm-utils.c
6559           libnm-util/nm-utils.h
6560                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6561                         for adhoc networks
6562
6563 2007-12-24  Dan Williams  <dcbw@redhat.com>
6564
6565         * libnm-util/nm-setting-wireless.c
6566                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6567                         185, 187, 188, 192, and 196
6568
6569 2007-12-24  Dan Williams  <dcbw@redhat.com>
6570
6571         * src/nm-device-802-11-wireless.c
6572                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6573                         a channel # instead of a frequency
6574
6575 2007-12-24  Dan Williams  <dcbw@redhat.com>
6576
6577         * src/NetworkManagerAP.c
6578           src/NetworkManagerAP.h
6579                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6580                 - (freq_to_channel): handle split band tables
6581                 - (channel_to_freq): handle split band tables, take a band argument
6582
6583 2007-12-24  Dan Williams  <dcbw@redhat.com>
6584
6585         * libnm-util/nm-setting-connection.h
6586           libnm-util/nm-setting-connection.c
6587                 - Add 'lockdown' member
6588
6589 2007-12-22  Dan Williams  <dcbw@redhat.com>
6590
6591         * libnm-util/nm-setting-wireless.c
6592                 - (nm_setting_wireless_class_init): add missing 'rate' property
6593                         specification
6594
6595 2007-12-18  Dan Williams  <dcbw@redhat.com>
6596
6597         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6598
6599         * src/nm-netlink-monitor.c
6600           src/nm-netlink-monitor.h
6601                 - Remove handrolled netlink, use libnl instead
6602
6603         * src/nm-device-802-3-ethernet.c
6604                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6605                    nm_device_802_3_ethernet_carrier_on): use new names
6606
6607 2007-12-17  Dan Williams  <dcbw@redhat.com>
6608
6609         * configure.in
6610                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6611                         and fixes memory leaks)
6612
6613         * src/nm-netlink.c
6614                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6615                         automatically handle the netlink PID
6616
6617 2007-12-17  Dan Williams  <dcbw@redhat.com>
6618
6619         Patch from Michael Biebl <biebl@debian.org>
6620
6621         * configure.in
6622           src/ppp-manager/Makefile.am
6623                 - fix up install dir of pppd plugin
6624                 - clean up configure.in a bit
6625
6626 2007-12-12  Dan Williams  <dcbw@redhat.com>
6627
6628         * system-settings/src/nm-system-settings.conf
6629                 - Allow non-root clients (like the applet) to read settings
6630
6631 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6632
6633         * Replace all occurences of 'UMTS' with 'GSM'.
6634
6635 2007-12-07  Dan Williams  <dcbw@redhat.com>
6636
6637         * src/nm-serial-device.c
6638                 - (real_is_up): serial devices are always "up"
6639
6640 2007-12-07  Dan Williams  <dcbw@redhat.com>
6641
6642         * src/nm-netlink.c
6643           src/NetworkManagerSystem.c
6644                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6645                         twice (gnome.org #491047)
6646                 - Make more robust against allocation-related failures should they occur
6647
6648 2007-12-07  Dan Williams  <dcbw@redhat.com>
6649
6650         Noticed by Christian Persch <chpe@gnome.org>
6651
6652         Always chain up to parent object in dispose and finalize handlers.
6653                 (gnome.org #433112)
6654
6655 2007-12-07  Dan Williams  <dcbw@redhat.com>
6656
6657         * src/nm-device-802-11-wireless.c
6658                 - Wrap #include of linux/mii.h to fix redefined structures due to
6659                         incorrect kernel headers (gnome.org #350061)
6660
6661 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6662
6663         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6664         before doing anything else.
6665         (init_modem): Move modem initialization here.
6666
6667         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6668         (nm_serial_device_flash): Implement.
6669
6670         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6671         changes signal is "StateChanged" and not "Status".
6672         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6673
6674 2007-12-06  Dan Williams  <dcbw@redhat.com>
6675
6676         * src/supplicant-manager/nm-supplicant-config.c
6677                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6678                         to only send some options when they make sense; also send phase2
6679                         option to the supplicant (possible fix for rh #399631)
6680
6681 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6682
6683         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6684         arguments: This whole file shouldn't really know anything about NMDevices, it
6685         should deal only with device interfaces. Devices might have different ifaces for
6686         different stuff and this place shouldn't know anything about it.
6687
6688         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6689         (global_state_changed): Implement. In the current NM it's not really important,
6690         but will be required in the case of multiple active devices. (Or even better,
6691         if stuff like that gets moved out from NM).
6692
6693         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6694         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6695         instead.
6696
6697         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6698         devices like serial devices (ttyS0 and ppp0 for example).
6699         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6700         set.
6701         (nm_device_set_ip_iface): Implement.
6702         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6703         after setting ip4_config from here ...
6704         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6705         than this function should call nm_system_device_set_from_ip4_config() because no
6706         other code has enough information on which arguments to use. So instead, other code
6707         could just set the new ip4 config using this function and everyone is happy.
6708
6709         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6710         if we happen to get deactivated while something is pending.
6711         (automatic_registration): Handle the response that indicates pending network
6712         registration and wait until the pending registration is done.
6713         (real_deactivate_quickly): If there's a pending operation, cancel it.
6714
6715         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6716         (real_deactivate_quickly): ... and remove it when it's down.
6717         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6718         it if needed.
6719         (nm_serial_device_wait_for_reply): Ditto.
6720
6721 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6722
6723         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6724         (get_network_done): Remove newline, nm_info() does it already.
6725         (real_act_stage1_prepare): Turn the modem echo off.
6726
6727         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6728         device, set the route to the device interface. This is a hack.
6729
6730         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6731         return, no need for a new-line.
6732         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6733         Change the device iface here (ugh).
6734         (real_act_stage4_get_ip4_config): Implement.
6735         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6736         Restore the device iface.
6737
6738         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6739         device is not wired or wireless (eg, automatically upped) device.
6740
6741         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6742         it isn't.
6743         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6744
6745         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6746         before calling it's is_device_fn().
6747
6748 2007-12-05  Dan Williams  <dcbw@redhat.com>
6749
6750         * libnm-util/nm-utils.c
6751                 - (nm_utils_register_value_transformations,
6752                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6753                         GHashTables of GValues too
6754
6755 2007-12-04  Dan Williams  <dcbw@redhat.com>
6756
6757         * initscript/RedHat/NetworkManager.in
6758                 - No longer start named; it's D-Bus interface is going away
6759
6760 2007-12-04  Dan Williams  <dcbw@redhat.com>
6761
6762         Patch from Michael Biebl <biebl@debian.org>
6763
6764         * system-settings/plugins/ifcfg/Makefile.am
6765           system-settings/src/main.c
6766           system-settings/src/Makefile.am
6767                 - Put system settings plugins in NM plugins dir
6768
6769         * src/ppp-manager/Makefile.am
6770           src/ppp-manager/nm-ppp-manager.c
6771                 - Move pppd plugin to NM plugins dir
6772
6773 2007-12-04  Dan Williams  <dcbw@redhat.com>
6774
6775         * libnm-util/nm-setting-vpn-properties.h
6776                 - Clarify usage of the 'data' member of the setting
6777
6778         * libnm-util/nm-setting-vpn-properties.c
6779                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6780                 - (set_property): just remove all the settings; don't recreate the has
6781                 - (update_one_secret): don't need to create the hash table here since
6782                         it should always be present
6783
6784 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6785
6786         Implement PIN and PUK requesting.
6787
6788         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6789         (enter_pin): Handle PIN and PUK requests.
6790         (real_act_stage1_prepare): Clear the secret type.
6791         (real_connection_secrets_updated): Implement this class method to get
6792         notified when new secrets arrive.
6793         (nm_umts_device_class_init): Add private data back to the umts device class
6794         to store the required secret type.
6795
6796 2007-12-01  Dan Williams  <dcbw@redhat.com>
6797
6798         * system-settings/plugins/ifcfg/parser.c
6799                 - (parser_parse_file): don't try to verify NULL connections
6800
6801 2007-12-01  Dan Williams  <dcbw@redhat.com>
6802
6803         * system-settings/src/main.c
6804                 - (load_connections, add_connection_to_settings): actually export
6805                         plugin-provided connections over D-Bus so NM can get them
6806
6807 2007-12-01  Dan Williams  <dcbw@redhat.com>
6808
6809         * system-settings/plugins/ifcfg/parser.c
6810           system-settings/plugins/ifcfg/parser.h
6811           system-settings/plugins/ifcfg/plugin.c
6812                 - Hook up more inotify bits (untested)
6813
6814 2007-11-29  Dan Williams  <dcbw@redhat.com>
6815
6816         * system-settings/src/nm-system-config-interface.h
6817           system-settings/src/nm-system-config-interface.c
6818                 - (nm_system_config_interface_init,
6819                    nm_system_config_interface_get_connections): add
6820
6821         * system-settings/src/main.c
6822                 - (load_plugins, load_connections, main): use a GSList for plugins
6823                         to ensure priority ordering
6824
6825         * system-settings/plugins/ifcfg/parser.c
6826                 - (ifcfg_error_quark): move to plugin.c, and rename
6827
6828         * system-settings/plugins/ifcfg/plugin.h
6829           system-settings/plugins/ifcfg/plugin.c
6830                 - (ifcfg_plugin_error_quark): move here from parser.c
6831                 - rework connection loading and initialization
6832                 - Add preliminary inotify support for network profile config file
6833
6834 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6835
6836         Merge the beginnings of the new GSM card support.
6837
6838         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6839         ppp watch source before killing pppd - If this happens from g_object_unref()
6840         then the ppp manager is already destroyed by the time the watch callback runs.
6841
6842         * src/nm-hal-manager.c: Add a device_type_name string to the device
6843         creators, so that we can print a nice human readable string when a
6844         device is added.
6845
6846         * src/nm-umts-device.c (automatic_registration_get_network): Query
6847         for the activated network, not much is done with the result thought.
6848
6849         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6850         (ppp_ip4_config): Change the device state to activated here for now.
6851         (real_check_connection): Make sure the connection includes ppp setting.
6852
6853         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6854
6855         * libnm-glib/Makefile.am: Add the new files to build.
6856
6857         * libnm-glib/nm-umts-device.c: 
6858         * libnm-glib/nm-umts-device.h: Implement.
6859
6860 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6861
6862         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6863         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6864
6865         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6866         the timeout source - this function is only called when the timeout source has
6867         been removed.
6868         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6869         to be big enough to contain the terminating zero element as well.
6870         The timeout argument is meant to be in seconds now.
6871         (real_deactivate_quickly): Implement.
6872
6873         * src/NetworkManager.conf: Allow root to own 
6874         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6875
6876         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6877         (not unsigned ints).
6878
6879         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6880         small issue with parity bounds - capital letters have lower ascii codes
6881         than lower case letters.
6882
6883         * libnm-util/nm-connection.c (register_default_settings): Register serial
6884         and umts settings.
6885
6886 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6887
6888         Remove the "index" property from devices as not all device types have this.
6889
6890         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6891
6892         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6893         (wired_device_creator): Get the device interface from hal to create the device.
6894         (wireless_device_creator): Ditto.
6895
6896         * src/nm-device.c (nm_device_init): Remove the index member.
6897         (constructor): Remove the checks for index property, make interface property
6898         a require constructor property.
6899         Use the HAL udi for DBus path for devices.
6900         (nm_device_get_index): Remove.
6901         (set_property): Remove index handling.
6902         (get_property): Ditto.
6903         (nm_device_get_dbus_path): Remove.
6904
6905         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6906         property.
6907
6908         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6909         Access the device index through it's interface.
6910         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6911         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6912         index argument. Add interface argument.
6913
6914         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6915         the useless test_dev argument. Remove index argument. Add interface arugment.
6916
6917         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6918         device index through interface.
6919         (nm_system_set_mtu): Ditto.
6920
6921         * introspection/nm-device.xml: Remove the "Index" property.
6922
6923 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6924
6925         * src/nm-serial-device.c: 
6926         * src/nm-serial-device.c: 
6927         * src/nm-umts-device.c:
6928         * src/nm-umts-device.h: Implement.
6929
6930         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6931         allocated by libhal.
6932         (modem_device_creator): Implement.
6933         (register_built_in_creators): Register the modem creator.
6934
6935         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6936         Remove the unused test_dev argument.
6937
6938         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6939
6940         * src/Makefile.am: Add new files to build.
6941         Link in ppp-manager.
6942
6943         * libnm-util/nm-setting-umts.c: 
6944         * libnm-util/nm-setting-umts.h: 
6945         * libnm-util/nm-setting-serial.c: 
6946         * libnm-util/nm-setting-serial.h: Implement.
6947
6948         * libnm-util/Makefile.am: Add new files to build.
6949
6950 2007-11-28  Dan Williams  <dcbw@redhat.com>
6951
6952         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6953
6954         Support DHCP-provided static routes.
6955
6956         * src/nm-ip4-config.h
6957           src/nm-ip4-config.c
6958                 - Add get/set functions for static routes
6959
6960         * src/dhcp-manager/nm-dhcp-manager.c
6961                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6962                         DHCP response
6963
6964         * src/NetworkManagerSystem.c
6965                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6966                         interface when applying the IP4Config
6967
6968 2007-11-28  Dan Williams  <dcbw@redhat.com>
6969
6970         * src/nm-device-802-11-wireless.c
6971                 - (real_act_stage1_prepare): mark APs created for hidden networks
6972                         as non-broadcasting
6973
6974 2007-11-27  Dan Williams  <dcbw@redhat.com>
6975
6976         * system-settings/src/nm-system-config-interface.h
6977                 - Note how to store secrets on NMSetting objects
6978
6979         * system-settings/src/dbus-settings.c
6980                 - (connection_settings_get_secrets): implement
6981
6982 2007-11-27  Dan Williams  <dcbw@redhat.com>
6983
6984         * system-settings/plugins/ifcfg/Makefile.am
6985           system-settings/plugins/ifcfg/parser.c
6986           system-settings/plugins/ifcfg/parser.h
6987           system-settings/plugins/ifcfg/plugin.c
6988                 - Parse wireless connections too
6989
6990         * system-settings/src/dbus-settings.c
6991           system-settings/src/dbus-settings.h
6992           system-settings/src/main.c
6993                 - Handle connection update/removal if the plugin supports it
6994
6995 2007-11-27  Dan Williams  <dcbw@redhat.com>
6996
6997         * src/nm-dbus-manager.h
6998           src/nm-hal-manager.c
6999                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7000                         do it for them
7001
7002         * src/Makefile.am
7003           src/NetworkManagerDbusUtils.c
7004           src/NetworkManagerDbusUtils.h
7005                 - Remove these two source files; they are unused
7006
7007 2007-11-27  Dan Williams  <dcbw@redhat.com>
7008
7009         * src/vpn-manager/nm-vpn-manager.c
7010                 - (impl_vpn_manager_connect): fix system settings check (found by
7011                         James M. Leddy)
7012
7013 2007-11-26  Dan Williams  <dcbw@redhat.com>
7014
7015         * Fix warnings so everything compiles with --enable-more-warnings
7016
7017 2007-11-25  Dan Williams  <dcbw@redhat.com>
7018
7019         * system-settings/*
7020                 - Rework structure and code to use GModule-loaded plugins and a plugin
7021                         interface that plugins export to the system settings service
7022
7023 2007-11-21  Dan Williams  <dcbw@redhat.com>
7024
7025         * system-settings/*
7026                 - Add Soren's system settings service.  Needs work for distros other
7027                         than Fedora; the backends from NM should mostly migrate to here
7028                         and be converted to GObjects
7029
7030 2007-11-21  Dan Williams  <dcbw@redhat.com>
7031
7032         * libnm-util/nm-setting-vpn-properties.c
7033                 - (set_property): must deep-copy the given settings hash, otherwise
7034                         double-free errors occur when the setting is disposed of
7035
7036 2007-11-21  Dan Williams  <dcbw@redhat.com>
7037
7038         * src/vpn-manager/nm-vpn-act-request.h
7039           src/vpn-manager/nm-vpn-act-request.c
7040                 - Remove; unused
7041
7042 2007-11-20  Dan Williams  <dcbw@redhat.com>
7043
7044         * libnm-util/nm-utils.c
7045                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7046                    nm_utils_convert_ip4_addr_struct_array_to_string,
7047                    nm_utils_register_value_transformations): print out the readable
7048                         values of more types of properties of NMSettings subclasses
7049
7050 2007-11-20  Dan Williams  <dcbw@redhat.com>
7051
7052         * libnm-util/nm-setting-ip4-config.c
7053                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7054                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7055                         marshal GValueArrays inside collections, so switch to types that it
7056                         can actually marshal/demarshal
7057
7058 2007-11-16  Dan Williams  <dcbw@redhat.com>
7059
7060         * libnm-util/nm-setting-wireless-security.c
7061                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7062                         minimal verification of EAP methods too
7063                 - (verify): verify phase1 eap methods too
7064
7065 2007-11-15  Dan Williams  <dcbw@redhat.com>
7066
7067         * libnm-glib/nm-device.h
7068           libnm-glib/nm-device.c
7069                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7070                         const char *
7071
7072 2007-11-15  Dan Williams  <dcbw@redhat.com>
7073
7074         * libnm-glib/nm-device.c
7075                 - (get_product_and_vendor): don't try to free things that should be
7076                         freed
7077
7078 2007-11-15  Dan Williams  <dcbw@redhat.com>
7079
7080         * src/NetworkManagerUtils.c
7081                 - (nm_ethernet_address_is_valid): unbreak previous fix
7082
7083 2007-11-15  Dan Williams  <dcbw@redhat.com>
7084
7085         * src/supplicant-manager/nm-supplicant-config.c
7086                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7087                         options
7088
7089 2007-11-15  Dan Williams  <dcbw@redhat.com>
7090
7091         * src/NetworkManagerUtils.c
7092                 - (nm_ethernet_address_is_valid): fix style, clarify
7093                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7094
7095         * src/nm-device-802-11-wireless.c
7096                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7097                 - (nm_device_802_11_wireless_get_ssid,
7098                    nm_device_802_11_wireless_get_bssid,
7099                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7100                         before calling the ioctl; fixes valgrind-reported jump depends on
7101                         uninitialized value errors
7102
7103 2007-11-15  Dan Williams  <dcbw@redhat.com>
7104
7105         * libnm-util/nm-setting.c
7106                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7107                         unecessary to serialize 'name'
7108
7109         * src/nm-activation-request.c
7110                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7111                         the GetSecrets call
7112
7113 2007-11-15  Dan Williams  <dcbw@redhat.com>
7114
7115         * libnm-util/nm-setting-connection.h
7116           libnm-util/nm-setting-connection.c
7117                 - Rename the 'name' property to 'id', because it conflicted with the
7118                         NMSetting superclass' 'name' property.
7119
7120         * libnm-util/nm-setting.c
7121                 - (nm_setting_to_hash): serialize the 'name' property
7122                 - (one_property_cb): ignore 'name' on deserialization of a connection
7123
7124         * src/nm-device-802-11-wireless.c
7125           src/vpn-manager/nm-vpn-connection.c
7126           src/NetworkManagerPolicy.c
7127                 - Fix up for NMSettingConnection 'name'->'id' changes
7128
7129 2007-11-13  Dan Williams  <dcbw@redhat.com>
7130
7131         * libnm-glib/nm-device-802-11-wireless.h
7132           libnm-glib/nm-device-802-11-wireless.c
7133                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7134
7135         * test/nm-tool.c
7136           libnm-glib/libnm-glib-test.c
7137                 - Fixes for above change
7138
7139 2007-11-12  Dan Williams  <dcbw@redhat.com>
7140
7141         * src/supplicant-manager/nm-supplicant-settings-verify.c
7142                 - Allow fragment_size option
7143
7144         * src/supplicant-manager/nm-supplicant-settings-verify.c
7145                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7146                         EAP fragment size than the default to help some TLS connections
7147
7148 2007-11-12  Dan Williams  <dcbw@redhat.com>
7149
7150         Make certs actually work.  The private key is now a secret, and should be
7151         decrypted when requested by NM.  The private key and phase2 private key
7152         passwords are no longer interesting to NM because they should be used by
7153         the settings service to decrypt the private key itself before passing it
7154         to NM, and hence have been removed as fields.
7155
7156         * libnm-util/nm-setting-wireless-security.h
7157           libnm-util/nm-setting-wireless-security.c
7158                 - Remove private-key-passwd and phase2-private-key-passwd from
7159                         properties
7160                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7161                    need_secrets): use property #defines instead strings to keep things
7162                         consistent
7163                 - (need_secrets_tls): if a client certificate is present but no
7164                         private key, request the private key
7165                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7166                         remove private key password stuff, mark private keys as secret
7167
7168         * src/supplicant-manager/nm-supplicant-settings-verify.c
7169                 - Remove private_key_passwd and private_key2_passwd from opt_table
7170
7171 2007-11-09  Dan Williams  <dcbw@redhat.com>
7172
7173         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7174         Since the vpn-properties are managed and known by the VPN daemons themselves,
7175         libnm-util doesn't know what's secret and what's in the setting's 'data'
7176         member.
7177
7178         * libnm-util/nm-setting.h
7179           libnm-util/nm-setting.c
7180                 - Add the ability for subclasses to override update_one_secret
7181
7182         * libnm-util/nm-setting-vpn-properties.c
7183                 - Override update_one_secret and just copy the values into the
7184                         internal table
7185
7186 2007-11-09  Dan Williams  <dcbw@redhat.com>
7187
7188         * libnm-glib/nm-settings.h
7189           libnm-glib/nm-settings.c
7190                 - (nm_settings_new_error): remove
7191                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7192                         clients should use g_set_error() with NM_SETTINGS_ERROR
7193
7194 2007-11-09  Dan Williams  <dcbw@redhat.com>
7195
7196         * src/supplicant-manager/nm-supplicant-config.c
7197                 - (nm_supplicant_config_add_setting_wireless_security): private key
7198                         passwords are never sent to wpa_supplicant, because the supplicant
7199                         should never be reading random files from the disk.  Clients like
7200                         the applet are required to decrypt the private keys and send NM
7201                         the decrypted blobs.
7202
7203 2007-11-08  Dan Williams  <dcbw@redhat.com>
7204
7205         * libnm-util/nm-setting-wireless-security.h
7206           libnm-util/nm-setting-wireless-security.c
7207                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7208                         members to 802-11-wireless-security structure.  This should be used
7209                         to indicate that the values in private-key and phase2-private-key
7210                         are already decrypted by the user agent, and that no
7211                         private-key-passwd or phase2-private-key-passwd should be expected.
7212                         It is not meant to be a stored configuration value, but meant to
7213                         be set when the conneciton is sent to NM over dbus.
7214
7215 2007-11-08  Dan Williams  <dcbw@redhat.com>
7216
7217         * libnm-util/nm-connection.h
7218           libnm-util/nm-connection.c
7219                 - (nm_connection_need_secrets): add argument to return hints
7220
7221         * src/nm-device-802-11-wireless.c
7222                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7223                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7224                         nm_connection_need_secrets() change
7225
7226 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7227
7228         Rework NMSetting structures: Move each setting to it's own file.
7229         Convert to GObject. Remove home grown setting types and use GTypes.
7230         Use GObject property introspection for hash conversion, enumerating
7231         properties, etc.
7232
7233         * libnm-util/nm-setting-connection.[ch]
7234         * libnm-util/nm-setting-ip4-config.[ch]
7235         * libnm-util/nm-setting-ppp.[ch]
7236         * libnm-util/nm-setting-vpn.[ch]
7237         * libnm-util/nm-setting-vpn-properties.[ch]
7238         * libnm-util/nm-setting-wired.[ch]
7239         * libnm-util/nm-setting-wireless.[ch]
7240         * libnm-util/nm-setting-wireless-security.[ch]
7241
7242         New files, each containing a setting.
7243
7244         * libnm-util/nm-setting-template.[ch]: A template for creating new
7245         settings. To use it, just replace 'template' with the new setting
7246         name, and you're half-way done.
7247
7248         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7249         introspection instead of internal types and tables.
7250
7251         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7252
7253         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7254         GValue types defined by dbus-glib for composed types like collections,
7255         structures and maps.
7256
7257         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7258         a setting from connection takes the setting type now. Also, since
7259         the settings are in multiple files, include relevant settings.
7260
7261 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7262
7263         * configure.in:
7264         * src/backends/NetworkManagerGentoo.c:
7265         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7266         providers in Gentoo.
7267
7268 2007-10-31  Dan Williams  <dcbw@redhat.com>
7269
7270         * libnm-util/nm-connection.c
7271                 - (gvalue_to_string): handle UINT32 arrays
7272
7273 2007-10-31  Dan Williams  <dcbw@redhat.com>
7274
7275         * libnm-glib/nm-device.h
7276           libnm-glib/nm-device.c
7277                 - (nm_device_get_description): remove
7278                 - (nm_device_get_product, nm_device_get_vendor): add
7279                 - (nm_device_update_description): new function (private); walk HAL
7280                         devices to get product and vendor IDs for a specific device
7281
7282 2007-10-31  Dan Williams  <dcbw@redhat.com>
7283
7284         * src/nm-device-802-11-wireless.c
7285                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7286
7287 2007-10-29  Dan Williams  <dcbw@redhat.com>
7288
7289         * src/nm-hal-manager.c
7290                 - (device_added, device_new_capability): ignore device additions while
7291                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7292                         kernel module is unloaded and reloaded and recognized by NM again.
7293
7294 2007-10-26  Dan Williams  <dcbw@redhat.com>
7295
7296         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7297
7298         * src/NetworkManagerAP.c
7299           src/NetworkManagerAP.h
7300           libnm-glib/nm-access-point.c
7301           libnm-glib/nm-access-point.h
7302                 - Make 'rate' property a guint32 to better match with WEXT and
7303                         wpa_supplicant and to allow representation of higher bitrates
7304
7305         * src/nm-device-802-11-wireless.c
7306           introspection/nm-device-802-11-wireless.xml
7307           libnm-glib/nm-device-802-11-wireless.c
7308           libnm-glib/nm-device-802-11-wireless.h
7309                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7310
7311         * src/nm-device-802-3-ethernet.c
7312           src/nm-device-802-3-ethernet.h
7313           introspection/nm-device-802-3-ethernet.xml
7314           libnm-glib/nm-device-802-3-ethernet.c
7315           libnm-glib/nm-device-802-3-ethernet.h
7316                 - Make 'speed' property a guint32 to match other speed/rate types
7317                 - Make nm_device_802_3_ethernet_get_speed() static
7318
7319         * test/nm-tool.c
7320                 - Update for the changes above
7321
7322 2007-10-26  Dan Williams  <dcbw@redhat.com>
7323
7324         * src/named-manager/nm-named-manager.c
7325                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7326                     not calling fclose() twice on some error conditions
7327
7328 2007-10-26  Dan Williams  <dcbw@redhat.com>
7329
7330         * src/nm-activation-request.c
7331                 - (dispose): clean up indentation; get the right DBusGProxy object to
7332                         cancel the GetSecrets pending call on.  Need to use the Secrets
7333                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7334                         pending call doesn't get canceled, and pressing Cancel in the
7335                         applet's password dialog could cause get_secrets_cb() to be called
7336                         after the activation request has already been destroyed
7337
7338 2007-10-24  Dan Williams  <dcbw@redhat.com>
7339
7340         * src/supplicant-manager/nm-supplicant-config.c
7341                 - (nm_supplicant_config_add_blob): pass blob data and length for
7342                         verification
7343                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7344
7345 2007-10-24  Dan Williams  <dcbw@redhat.com>
7346
7347         * src/supplicant-manager/nm-supplicant-settings-verify.c
7348                 - (opt_table): max length for certificates should be 65536
7349
7350 2007-10-24  Dan Williams  <dcbw@redhat.com>
7351
7352         * src/supplicant-manager/nm-supplicant-interface.c
7353                 - (blob_free): correctly free blob data after use
7354                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7355
7356 2007-10-24  Dan Williams  <dcbw@redhat.com>
7357
7358         * libnm-util/nm-setting.c
7359                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7360                         EAP method need secrets
7361
7362 2007-10-24  Dan Williams  <dcbw@redhat.com>
7363
7364         * src/backends/NetworkManagerRedHat.c
7365                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7366
7367 2007-10-23  Dan Williams  <dcbw@redhat.com>
7368
7369         * libnm-util/nm-setting.c
7370           libnm-util/nm-setting.c
7371                 - (nm_setting_compare): implement
7372                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7373                    compare_one_hash_gvalue): compare the contents of a setting
7374
7375         * libnm-util/nm-connection.c
7376                 - (nm_connection_compare): implement
7377
7378 2007-10-23  Dan Williams  <dcbw@redhat.com>
7379
7380         * src/nm-activation-request.c
7381                 - (get_secrets_cb): handle getting a setting back that is more than
7382                         just secrets (ie, user changed auth or EAP method or something)
7383
7384 2007-10-23  Dan Williams  <dcbw@redhat.com>
7385
7386         * libnm-util/nm-setting.c
7387           libnm-util/nm-setting.h
7388                 - (nm_setting_verify): new function; verify one setting
7389                 - (nm_settings_verify_all): rename from nm_settings_verify()
7390                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7391                         all_settings
7392
7393         * libnm-util/nm-connection.c
7394                 - (nm_connection_replace_settings, nm_connection_verify,
7395                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7396
7397 2007-10-23  Dan Williams  <dcbw@redhat.com>
7398
7399         * src/nm-device-802-11-wireless.c
7400                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7401                         desired behavior
7402
7403 2007-10-23  Dan Williams  <dcbw@redhat.com>
7404
7405         * src/supplicant-manager/nm-supplicant-settings-verify.c
7406                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7407                         nm-settings.c
7408
7409 2007-10-23  Dan Williams  <dcbw@redhat.com>
7410
7411         * src/nm-device-802-11-wireless.c
7412                 - (real_act_stage2_config): after the first association failure,
7413                         if the connection still needs secrets ask the user for them
7414                         explicitly.  After the fourth association failure due to bad
7415                         secrets, fail the connection entirely.  Handles the GetSecrets
7416                         loop that NM gets into when the provided secrets don't match up
7417                         with the connection details.
7418
7419 2007-10-23  Dan Williams  <dcbw@redhat.com>
7420
7421         * src/supplicant-manager/nm-supplicant-config.c
7422                 - (nm_supplicant_config_add_setting_wireless_security): only add
7423                         WPA-specific options when WPA is in use
7424
7425 2007-10-23  Dan Williams  <dcbw@redhat.com>
7426
7427         * src/supplicant-manager/nm-supplicant-config.c
7428                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7429                         secret doesn't need to be unhexified
7430
7431 2007-10-23  Dan Williams  <dcbw@redhat.com>
7432
7433         * libnm-util/nm-setting.c
7434                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7435                         before trying to do something with it
7436
7437 2007-10-23  Dan Williams  <dcbw@redhat.com>
7438
7439         * src/nm-device-802-11-wireless.c
7440                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7441
7442 2007-10-23  Dan Williams  <dcbw@redhat.com>
7443
7444         * src/nm-device-802-11-wireless.c
7445                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7446                         non-SSID-broadcasting APs
7447
7448 2007-10-23  Dan Williams  <dcbw@redhat.com>
7449
7450         * src/NetworkManagerAP.c
7451                 - (match_cipher, security_compatible): remove
7452                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7453                         libnm-util instead
7454
7455 2007-10-23  Dan Williams  <dcbw@redhat.com>
7456
7457         * libnm-util/nm-utils.c
7458           libnm-util/nm-utils.h
7459                 - (nm_utils_ap_security_compatible): common function for checking
7460                         whether a specific AP is compatible with an NMConnection
7461
7462 2007-10-23  Dan Williams  <dcbw@redhat.com>
7463
7464         * libnm-util/nm-setting.c
7465                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7466                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7467                    need_secrets_password, setting_wireless_security_verify): fix
7468                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7469                         secrets logic for each supported EAP method
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): fix wpa_supplicant
7475                         config option name, should be "private_key2_passwd"
7476
7477 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7478
7479         Implement support for static IP addresses, additional/overridden DNS and
7480         DNS domain search lists.
7481
7482         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7483         (ip4_addresses_to_gvalue): Implement.
7484         (convert_array_to_byte_array): Implement.
7485         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7486         NM_S_TYPE_IP4_ADDRESSES.
7487         (nm_setting_hash): Ditto.
7488         (default_setting_clear_secrets): Add a default case for the switch: IP address
7489         shouldn't be secret, ever.
7490         (setting_ip4_config_verify): Update, requires addresses in case of manual
7491         configurations.
7492         (setting_ip4_config_destroy): Free stuff.
7493
7494         * src/nm-device.c (merge_ip4_config): Implement.
7495         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7496
7497 2007-10-22  Dan Williams  <dcbw@redhat.com>
7498
7499         * libnm-util/nm-setting.c
7500                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7501                         pairwise cipher options for Dynamic WEP
7502
7503 2007-10-21  Dan Williams  <dcbw@redhat.com>
7504
7505         * src/NetworkManagerAP.c
7506           src/NetworkManagerAP.h
7507                 - Rename 'articifical' -> 'fake' since that's what they are until
7508                         noticed in scans
7509                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7510                         from the attributes in an NMConnection object
7511                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7512                         WPA Enterprise
7513                 - (nm_ap_match_in_list): find a matching AP in a scan list
7514
7515         * src/nm-device-802-11-wireless.c
7516                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7517                         AP when searching the scan list; match on frequency and mode too
7518                 - (nm_device_802_11_wireless_get_frequency): implement
7519                 - (merge_scanned_ap): replace duplicate matching logic with
7520                         nm_ap_match_in_list()
7521                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7522                         the user is trying to connect to a hidden network that is not yet
7523                         known from the scan list
7524                 - (activation_success_handler): now that the card knows the AP's BSSID,
7525                         there may already be a scanned AP in the scan list that is what
7526                         we really wanted to connect to, but didn't know at the time.  Use
7527                         that instead of the 'fake' AP created at activation start and get
7528                         rid of the 'fake' AP 
7529                 - (cull_scan_list): don't remove fake APs
7530
7531 2007-10-21  Dan Williams  <dcbw@redhat.com>
7532
7533         * src/nm-activation-request.h
7534           src/nm-activation-request.c
7535                 - (nm_act_request_set_specific_object): new function; allow setting the
7536                         specific object if one isn't set yet
7537
7538 2007-10-20  Dan Williams  <dcbw@redhat.com>
7539
7540         * src/supplicant-manager/nm-supplicant-config.h
7541           src/supplicant-manager/nm-supplicant-config.c
7542                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7543                         table to store blobs
7544                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7545                         blob hash table
7546                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7547                 - (nm_supplicant_config_add_setting_wireless_security): handle
7548                         options that use certificates (ie, blobs)
7549
7550         * src/nm-device-802-11-wireless.c
7551                 - (build_supplicant_config): pass a UID (just use the connection path)
7552                         to the supplicant config as now required
7553
7554         * src/supplicant-manager/nm-supplicant-interface.c
7555                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7556                         there are any blobs to send to wpa_supplicant, send those first
7557                         before sending the network configuration
7558
7559 2007-10-19  Dan Williams  <dcbw@redhat.com>
7560
7561         Split the GetSecrets() call off to a separate D-Bus interface so that it
7562         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7563         should be able to call GetSecrets().
7564
7565         * include/NetworkManager.h
7566                 - Define the connection secrets D-Bus interface
7567
7568         * src/vpn-manager/nm-vpn-connection.c
7569                 - (clear_need_auth): get the right proxy object for the connection
7570                         secrets interface
7571                 - (get_connection_secrets): use the connection secrets proxy; send
7572                         empty hints in get secrets request
7573
7574         * src/nm-activation-request.c
7575                 - (nm_act_request_request_connection_secrets): use the connection
7576                         secrets proxy; send empty hints in get secrets request
7577
7578         * src/nm-manager.c
7579           src/nm-manager.h
7580                 - (connection_get_settings_cb): set the connection secrets proxy on
7581                         the connection object too
7582                 - (internal_new_connection_cb): create the connection secrets proxy
7583
7584         * introspection/nm-settings-connection.xml
7585                 - Define Connection.Secrets interface and move GetSecrets there
7586                 - Add a 'hints' argument to GetSecrets
7587
7588         * libnm-glib/nm-settings.c
7589           libnm-glib/nm-settings.h
7590                 - (impl_connection_settings_get_secrets): add 'hints' argument
7591
7592 2007-10-19  Dan Williams  <dcbw@redhat.com>
7593
7594         * src/nm-device.c
7595                 - (constructor): add message about what path a device is exported as
7596                         to help in debugging rh #339011
7597
7598 2007-10-17  Dan Williams  <dcbw@redhat.com>
7599
7600         * libnm-util/nm-utils.h
7601           libnm-util/nm-utils.c
7602                 - (nm_utils_security_valid): common function to help find the intersection
7603                         of capabilities of devices and (optionally) access points
7604
7605 2007-10-17  Dan Williams  <dcbw@redhat.com>
7606
7607         * src/nm-device-802-11-wireless.c
7608                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7609                         don't get erroneously cleared
7610
7611 2007-10-17  Dan Williams  <dcbw@redhat.com>
7612
7613         * src/nm-manager.h
7614           src/nm-manager.c
7615           src/nm-hal-manager.c
7616                 - (device_removed, finalize, nm_manager_remove_device,
7617                    nm_manager_sleep): add a 'deactivate' argument to 
7618                    nm_manager_remove_device() to fully deactivate devices when necessary
7619                    (ie, always except when waking up)
7620
7621 2007-10-16  Dan Williams  <dcbw@redhat.com>
7622
7623         * libnm-util/nm-setting.c
7624                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7625                         also isn't valid phase2 autheap method
7626
7627 2007-10-16  Dan Williams  <dcbw@redhat.com>
7628
7629         * libnm-glib/nm-client.c
7630                 - (update_wireless_status): consolidate updates of wireless status
7631                 - (constructor): use update_wireless_status()
7632                 - (manager_running): set wireless status off when NM goes away; requery
7633                         the wireless status when NM comes back
7634
7635 2007-10-16  Dan Williams  <dcbw@redhat.com>
7636
7637         * libnm-glib/nm-client.c
7638                 - (nm_client_activate_device): actually use the fixed-up specific
7639                         object path
7640
7641 2007-10-16  Dan Williams  <dcbw@redhat.com>
7642
7643         * src/nm-hal-manager.c
7644                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7645                         killswitch error messages once
7646
7647 2007-10-16  Dan Williams  <dcbw@redhat.com>
7648
7649         * src/nm-manager.c
7650                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7651                         if it's disabled in hardware; don't touch network devices while
7652                         NM is asleep
7653
7654 2007-10-16  Dan Williams  <dcbw@redhat.com>
7655
7656         * libnm-util/nm-client.c
7657                 - (nm_client_activate_device): convert NULL specific_object to "/",
7658                         which is used in place of NULL
7659
7660         * src/nm-manager.c
7661                 - (impl_manager_activate_device): convert "/" specific_object back into
7662                         NULL
7663
7664 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7665
7666         Implement a generic NMSetting creator from setting name.
7667         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7668         add a virtual function 'populate_fn'.
7669
7670         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7671         (register_default_creators): Register setting creators instead of functions
7672         that create and then populate.
7673         (parse_one_setting): Use the common setting creator and then setting specific
7674         poplulation function.
7675
7676         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7677         they all looked exactly the same.
7678         Add a 'populate_fn' virtual function to NMSetting.
7679         Use default virtual functions in case they are not overriden.
7680         (nm_setting_populate_from_hash): Implement.
7681
7682         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7683         name, use a defined string.
7684         (real_act_stage4_get_ip4_config): Ditto.
7685
7686 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7687
7688         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7689         HAL is int, not uint.
7690
7691 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7692
7693         Implement killswitch polling through HAL.
7694
7695         * src/nm-manager.c: Add wireless hardware status property. Add 
7696         'properties-changed' signal for changes in wireless and wireless hardware
7697         state changes.
7698
7699         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7700         and update NMManager's wireless hardware state when it has changed.
7701         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7702         already does that.
7703
7704         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7705         values of wireless state and wireless hardware state. Listen for the
7706         'properties-changed' signals, update the cached values and emit notify.
7707
7708         * include/NetworkManager.h: Fix a typo in a comment.
7709
7710 2007-10-14  Dan Williams  <dcbw@redhat.com>
7711
7712         * libnm-util/nm-setting.c
7713                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7714
7715 2007-10-13  Dan Williams  <dcbw@redhat.com>
7716
7717         * libnm-util/nm-setting.h
7718           libnm-util/nm-setting.c
7719           src/supplicant-manager/nm-supplicant-config.c
7720                 - Make the 'proto' field of the 802-11-wireless-security field a
7721                         string list
7722
7723 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7724
7725         Rework the "properties-changed" signal listening implementation.
7726         Add a generic implementation to NMObject class that listens for
7727         the signal and calls property setters of the target NMObject.
7728
7729         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7730
7731         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7732         code to the end of file so that all the static functions are available
7733         without extra declarations.
7734         Remove the "properties-changed" signal handling and use the framework from
7735         NMObject.
7736         Implement property setters for properties that change with 
7737         "properties-changed" signal.
7738
7739         * libnm-glib/nm-access-point.c: Ditto.
7740
7741 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7742
7743         Rework the "properties-changed" signal implementation.
7744         In classes that need to use it, just emit "GObject::notify" and the new
7745         framework takes care of the rest to make the signal available on dbus.
7746         The framework queues the notifications and tries to send as many together
7747         in one signal as possible.
7748
7749         * src/nm-properties-changed-signal.c:
7750         * src/nm-properties-changed-signal.h: Implement.
7751
7752         * src/Makefile.am: Add new files to build.
7753
7754         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7755         signal.
7756
7757         * src/nm-device-802-11-wireless.c: Ditto.
7758
7759 2007-10-10  Dan Williams  <dcbw@redhat.com>
7760
7761         * src/nm-manager.c
7762                 - (wait_for_connection_expired): ensure info is valid
7763                 - (connection_added_default_handler): Should only remove pending
7764                         connection info when the manager has the connection that it's
7765                         waiting for.  Fixes segfault in wait_for_connection_info().  
7766
7767 2007-10-10  Dan Williams  <dcbw@redhat.com>
7768
7769         * libnm-util/nm-setting.c
7770           libnm-util/nm-setting.h
7771                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7772                         can use if they choose.  Should be filled in by the settings service
7773                         on-the-fly with the currently logged in user's username
7774
7775 2007-10-10  Dan Williams  <dcbw@redhat.com>
7776
7777         * src/nm-device-802-11-wireless.c
7778                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7779                         as such, because even if the manager fills in the SSID, NM still
7780                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7781                         its SSID
7782
7783 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7784
7785         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7786         code that used NM's own version of dbus signal handling and custom dictionary
7787         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7788         and we get to maintain over 2000 lines less code.
7789
7790         * libnm-util/dbus-dict-helpers.c:
7791         * libnm-util/dbus-dict-helpers.h: Remove.
7792
7793         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7794
7795         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7796
7797         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7798         handlers.
7799
7800         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7801
7802         * configure.in: Remove test/libnm-util/Makefile creation.
7803
7804         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7805
7806         * test/libnm-util/: Remove the whole directory.
7807
7808 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7809
7810         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7811         device_state_changed_idle_id variable or it would contain some random value and the
7812         schedule_change_check calls would not do anything.
7813
7814 2007-10-09  Dan Williams  <dcbw@redhat.com>
7815
7816         * src/nm-device-802-11-wireless.c
7817                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7818                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7819                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7820                         merging of non-SSID-broadcasting APs
7821
7822 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7823
7824         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7825         "guint8 *" since it's usually used with GByteArray->data.
7826         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7827
7828 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7829
7830         * src/NetworkManagerUtils.c
7831         (nm_utils_is_empty_ssid):
7832         (nm_utils_escape_ssid):
7833         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7834         lot of places, so they belong to libnm-utils instead.
7835
7836         Now with 100% less compiler warnings:
7837
7838         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7839         (nm_dbus_unescape_object_path): Ditto.
7840         (nm_utils_ssid_to_utf8): Ditto.
7841         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7842         (nm_utils_escape_ssid): Ditto.
7843         (nm_utils_same_ssid): Ditto.
7844
7845         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7846         (add_one_connection_element): Remove an unused variable.
7847         (impl_manager_get_active_connections): Ditto.
7848
7849         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7850         variable.
7851
7852         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7853         from the previous commit.
7854
7855         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7856         (real_act_stage1_prepare): Ditto.
7857         (activation_success_handler): Ditto.
7858         (get_property): Ditto.
7859
7860         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7861         variable.
7862
7863         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7864         it's always set.
7865
7866         * src/supplicant-manager/nm-supplicant-config.c 
7867         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7868         to expected "char *".
7869         (nm_supplicant_config_add_setting_wireless): Ditto.
7870         (nm_supplicant_config_remove_option): Remove, not used.
7871
7872         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7873         not double.
7874         (test_wireless_enabled): Ifdef out unused function.
7875         (device_deactivate): Ditto.
7876         (device_state_changed): Ditto.
7877         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7878         (nm_utils_escape_ssid): Ditto.
7879
7880         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7881         (nm_utils_is_empty_ssid): Ditto.
7882
7883         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7884         unused variable.
7885
7886         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7887         (setting_vpn_properties_update_secrets): Ditto.
7888         (int_to_gvalue): Ifdef out for now, not used.
7889         (byte_to_gvalue): Ditto.
7890
7891         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7892         Unused, remove.
7893
7894 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7895
7896         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7897         about dbus manager, not named manager.
7898         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7899
7900         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7901         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7902         However, the same signal is emitted when we destroy it and there's 
7903         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7904
7905         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7906         releasing the DBusGConnection, since proxy needs a conneciton.
7907         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7908
7909 2007-10-08  Dan Williams  <dcbw@redhat.com>
7910
7911         * src/NetworkManager.c
7912                 - (main): error on unknown command-line options
7913
7914 2007-10-08  Dan Williams  <dcbw@redhat.com>
7915
7916         Reimplement the invalid connection list.  Don't try to re-activate a
7917         connection that just failed or was canceled.
7918
7919         * src/nm-device.c
7920                 - (connection_secrets_failed_cb): fail device activation, don't just
7921                         deactivate the device.  Listeners have to know about the failure.
7922
7923         * src/NetworkManagerPolicy.c
7924                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7925                         the connection list given to a device's get_best_connection()
7926                         method
7927                 - (device_state_changed): tag failed connections as invalid; clear the
7928                         tag from successful connections
7929
7930 2007-10-08  Dan Williams  <dcbw@redhat.com>
7931
7932         Fix problems with interrupted activation.  Previously, choosing an AP
7933         from the menu, then choosing another one before the first connection was
7934         successful wouldn't deactivate the device before starting the new connection
7935         on that same device.
7936
7937         * src/NetworkManagerPolicy.c
7938                 - (deactivate_old_device, device_state_changed, state_changed,
7939                    nm_policy_new): wrong place to deactivate old devices
7940
7941         * src/nm-manager.c
7942                 - (pending_connection_info_destroy, finalize,
7943                    wait_for_connection_expired): decouple destruction of the pending
7944                         connection info from the manager device
7945                 - (connection_added_default_handler): deactivate any active or
7946                         activating device before starting a new activation
7947                 - (impl_manager_activate_device): deactivate any active or activating
7948                         device before starting a new activation; be sure not to leak
7949                         pending connection info if a new activation request arrives but
7950                         there's already a pending one in-process
7951
7952 2007-10-08  Dan Williams  <dcbw@redhat.com>
7953
7954         * src/NetworkManagerAP.h
7955           src/NetworkManagerAP.c
7956                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7957                         should handle default SSIDs and whether or not to autoconnect
7958                         to them
7959
7960 2007-10-08  Dan Williams  <dcbw@redhat.com>
7961
7962         * src/NetworkManagerPolicy.c
7963                 - (nm_policy_device_change_check): print out connection name where
7964                         possible
7965
7966 2007-10-08  Dan Williams  <dcbw@redhat.com>
7967
7968         * src/nm-device-802-11-wireless.c
7969           src/nm-device-802-11-wireless.h
7970                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7971                         'hidden-ap-found' signal (for internal use only) that allows the
7972                         NMManager to fill in the AP's SSID if a connection has that AP's
7973                         BSSID in its seen-bssids list
7974
7975         * src/nm-manager.c
7976                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7977                         wireless device's hidden-ap-found signal and fill in the APs SSID
7978                         if possible
7979
7980 2007-10-07  Dan Williams  <dcbw@redhat.com>
7981
7982         * src/nm-manager.c
7983           src/nm-manager.h
7984                 - Add a 'connections-added' signal to batch together updates of large
7985                         numbers of connections, like when reading from a settings service
7986                         the first time.  Otherwise, the policy would just activate the first
7987                         suitable connection it saw rather than waiting for the full list
7988                         to arrive.
7989                 - (nm_manager_class_init): register new signal
7990                 - (get_type_for_proxy, connection_get_settings_cb,
7991                    get_connection_for_proxy): centralize places where a proxy's setting
7992                         service is determined
7993                 - (free_get_settings_info): if the call being freed is the last call
7994                         in a pending call group, fire off the connections-added signal
7995                 - (internal_new_connection_cb): add call to a pending call group if
7996                         requested
7997                 - (list_connections_cb): always create a call group here, because this
7998                         call results in a batch of new connections
7999                 - (initial_get_connections): start getting system connections first
8000                 - (nm_manager_connections_destroy, emit_removed): actually emit the
8001                         removed signal when destroying connections
8002
8003         * src/NetworkManagerPolicy.c
8004                 - (nm_policy_new, connections_added): handle connections-added signal
8005                         from the manager
8006
8007 2007-10-06  Dan Williams  <dcbw@redhat.com>
8008
8009         * src/nm-device-802-11-wireless.c
8010                 - (constructor): fix leaked socket
8011
8012 2007-10-06  Dan Williams  <dcbw@redhat.com>
8013
8014         * src/NetworkManagerPolicy.c
8015                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
8016                         connection in the list returned by nm_manager_get_connections() is
8017                         reffed, but they weren't getting unreffed before returning
8018
8019 2007-10-06  Dan Williams  <dcbw@redhat.com>
8020
8021         * src/nm-manager.c
8022                 - (connections_to_slist): sort connections first on autoconnect, then
8023                         on timestamp
8024
8025 2007-10-06  Dan Williams  <dcbw@redhat.com>
8026
8027         * libnm-util/nm-connection.c
8028                 - (gvalue_to_string): handle UINT64
8029
8030 2007-10-06  Dan Williams  <dcbw@redhat.com>
8031
8032         * src/NetworkManagerPolicy.c
8033                 - (connection_updated, nm_policy_new): recheck state when a connection
8034                         gets updated
8035
8036 2007-10-06  Dan Williams  <dcbw@redhat.com>
8037
8038         * src/nm-manager.c
8039           src/nm-manager.h
8040                 - (nm_manager_get_connection_dbus_path): make static
8041                 - (nm_manager_update_connections): remove; unused
8042                 - Add a connection-updated signal
8043                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8044                         handle connection object updates
8045
8046 2007-10-06  Dan Williams  <dcbw@redhat.com>
8047
8048         * src/NetworkManagerPolicy.c
8049                 - (connection_removed): deactivate removed connections
8050
8051 2007-10-06  Dan Williams  <dcbw@redhat.com>
8052
8053         * libnm-util/nm-connection.c
8054           libnm-util/nm-connection.h
8055                 - (nm_connection_replace_settings): new function
8056
8057 2007-10-06  Dan Williams  <dcbw@redhat.com>
8058
8059         * libnm-glib/nm-device-802-11-wireless.c
8060                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8061                         on error when getting the active access point over D-Bus from NM
8062
8063 2007-10-05  Dan Williams  <dcbw@redhat.com>
8064
8065         * libnm-util/nm-setting.c
8066                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8067                         to the NMSettingWireless table; it's now a string array not an array
8068                         of byte arrays
8069
8070 2007-10-05  Dan Williams  <dcbw@redhat.com>
8071
8072         * libnm-glib/nm-device-802-11-wireless.c
8073                 - Cache properties and update cached properties on D-Bus signals from NM
8074
8075 2007-10-05  Dan Williams  <dcbw@redhat.com>
8076
8077         * src/nm-device-802-11-wireless.c
8078                 - (set_current_ap): consolidate current_ap handling code into one place
8079                         to ensure that PropertiesChanged signals are emitted in all cases
8080                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8081                    nm_device_802_11_wireless_dispose): use set_current_ap()
8082
8083 2007-10-05  Dan Williams  <dcbw@redhat.com>
8084
8085         * libnm-glib/nm-access-point.c
8086           libnm-glib/nm-access-point.h
8087                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8088                         because the value is cached internally now.  Callers should not
8089                         free the internal value.
8090                 - Make signal name defines private
8091
8092         * test/nm-tool.c
8093           libnm-glib/libnm-glib-test.c
8094                 - Don't free value returned from nm_access_point_get_hw_address()
8095
8096 2007-10-04  Dan Williams  <dcbw@redhat.com>
8097
8098         * introspection/nm-device-802-11-wireless.xml
8099           src/nm-device-802-11-wireless.h
8100           src/nm-device-802-11-wireless.c
8101                 - Add a PropertiesChanged signal for wireless device
8102                 - Store currently associated access point
8103                 - (periodic_update): generalize; update rate here too and emit the
8104                         correct PropertiesChanged signal when stuff changes
8105                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8106                    real_activation_cancel_handler): clear current_ap when device is
8107                         deactivated
8108                 - (link_to_specific_ap, get_ap_blacklisted,
8109                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8110                         code
8111                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8112                         outside this file
8113                 - (real_set_hw_address): emit property changed signal if the card's
8114                         MAC address changes
8115                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8116                         the card is supposed to be connecting to
8117                 - (activation_success_handler): send out property updates on successful
8118                         activation
8119                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8120                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8121                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8122                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8123                         is now boxed; add PropertiesChanged signal
8124
8125 2007-10-04  Dan Williams  <dcbw@redhat.com>
8126
8127         * libnm-util/nm-connection.c
8128           libnm-util/nm-connection.h
8129                 - (nm_connection_verify): new function
8130
8131 2007-10-04  Dan Williams  <dcbw@redhat.com>
8132
8133         * libnm-util/nm-setting.c
8134                 - (nm_settings_verify): use #defines when possible rather than strings
8135                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8136                 - (setting_vpn_verify): tighter validity check on 'service_type'
8137
8138 2007-10-04  Dan Williams  <dcbw@redhat.com>
8139
8140         * libnm-glib/nm-settings.c
8141                 - (nm_connection_settings_class_init): provide correct type for argument
8142                         to the Updated signal so that dbus-glib knows how to marshal it
8143
8144 2007-10-03  Dan Williams  <dcbw@redhat.com>
8145
8146         * src/nm-device-802-3-ethernet.c
8147                 - (real_get_best_connection): don't create automatic connections
8148                         internally; clients should provide a setting that applies to
8149                         the device with 'autoconnect: True'.  Problem was that these
8150                         internally auto-created connections don't have a proxy or service
8151                         name becuase they weren't created by a settings daemon, and therefore
8152                         clients have no idea what to do with them.
8153
8154 2007-10-03  Dan Williams  <dcbw@redhat.com>
8155
8156         * src/nm-device-802-11-wireless.c
8157           src/nm-device-802-11-wireless.h
8158           introspection/nm-device-802-11-wireless.xml
8159                 - GetActiveNetworks -> GetAccessPoints
8160                 - ActiveNetwork -> ActiveAccessPoint
8161                 - NetworkAdded -> AccessPointAdded
8162                 - NetowrkRemoved -> AccessPointRemoved
8163
8164         * libnm-glib/nm-device-802-11-wireless.c
8165           libnm-glib/nm-device-802-11-wireless.h
8166                 - network-added signal -> access-point-added
8167                 - network-removed signal -> access-point-removed
8168                 - nm_device_802_11_wireless_get_active_network() ->
8169                         nm_device_802_11_wireless_get_active_access_point()
8170                 - nm_device_802_11_wireless_get_network_by_path() ->
8171                         nm_device_802_11_wireless_get_access_point_by_path()
8172                 - nm_device_802_11_wireless_get_networks() ->
8173                         nm_device_802_11_wireless_get_access_points()
8174
8175         * libnm-glib/libnm-glib-test.c
8176           test/nm-tool.c
8177           src/NetworkManagerPolicy.c
8178                 - Fixups for Network -> AccessPoint
8179
8180 2007-10-03  Dan Williams  <dcbw@redhat.com>
8181
8182         Add a GetActiveConnections() method on the Manager object.
8183
8184         * src/nm-manager.c
8185           src/nm-manager.h
8186           introspection/nm-manager.xml
8187                 - (connection_get_settings_cb): keep connection type around too
8188                 - (impl_manager_get_active_connections, add_one_connection_element):
8189                         implement; returns all active connections and what devices they
8190                         apply to
8191
8192         * libnm-glib/nm-client.c
8193           libnm-glib/nm-client.h
8194           introspection/nm-manager-client.xml
8195                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8196                         by the caller; free here to avoid memory leak
8197                 - (nm_client_get_active_connections): implement; return the list of
8198                         active connections
8199                 - (nm_client_free_active_connection_element): implement; free an element
8200                         of the GSList returned by nm_client_get_active_connections()
8201
8202 2007-10-03  Dan Williams  <dcbw@redhat.com>
8203
8204         * src/nm-device-802-11-wireless.c
8205                 - (nm_device_802_11_wireless_update_bssid): remove
8206                 - (get_active_ap): new function; find the AP in the scan list which
8207                         matches the current BSSID and SSID of the wireless device
8208                 - (nm_device_802_11_periodic_update): get current AP using
8209                         get_active_ap() and print AP roam messages
8210
8211 2007-10-01  Dan Williams  <dcbw@redhat.com>
8212
8213         * libnm-util/nm-setting.h
8214                 - Add a 'timestamp' option to NMSettingConnection
8215                 - Add a UINT64 type
8216
8217         * libnm-util/nm-setting.c
8218                 - (uint64_to_gvalue): new function
8219                 - (nm_setting_populate_from_hash, nm_setting_hash,
8220                    default_setting_clear_secrets): handle UINT64 type
8221                 - con_table: add 'timestamp' member
8222
8223 2007-10-01  Dan Williams  <dcbw@redhat.com>
8224
8225         * src/nm-manager.c
8226                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8227                         value when the connection can be activated immediately
8228
8229 2007-10-01  Dan Williams  <dcbw@redhat.com>
8230
8231         * libnm-glib/nm-device.c
8232                 - (nm_device_class_init): actually tell glib about the carrier-changed
8233                         signal
8234
8235 2007-10-01  Dan Williams  <dcbw@redhat.com>
8236
8237         * configure.in
8238           src/marshallers/Makefile.am
8239           src/marshallers/nm-marshal.list
8240           src/marshallers/nm-marshal-main.c
8241                 - Consolidate glib marshallers into one place
8242
8243         * src/dhcp-manager/Makefile.am
8244           src/dhcp-manager/nm-dhcp-manager.c
8245           src/supplicant-manager/Makefile.am
8246           src/supplicant-manager/nm-supplicant-manager.c
8247           src/supplicant-manager/nm-supplicant-interface.c
8248           src/ppp-manager/Makefile.am
8249           src/ppp-manager/nm-ppp-manager.c
8250           src/vpn-manager/Makefile.am
8251           src/vpn-manager/nm-vpn-connection.c
8252           src/Makefile.am
8253                 - Use consolidated marshallers
8254
8255         * src/dhcp-manager/nm-dhcp-marshal.list
8256           src/dhcp-manager/nm-dhcp-marshal-main.c
8257           src/supplicant-manager/nm-supplicant-marshal-main.c
8258           src/supplicant-manager/nm-supplicant-marshal.list
8259           src/nm-marshal-main.c
8260           src/nm-marshal.list
8261           src/ppp-manager/nm-ppp-marshal-main.c
8262           src/ppp-manager/nm-ppp-marshal.list
8263           src/vpn-manager/nm-vpn-marshal-main.c
8264           src/vpn-manager/nm-vpn-marshal.list
8265                 - Remove
8266
8267 2007-10-01  Dan Williams  <dcbw@redhat.com>
8268
8269         * include/NetworkManagerVPN.h
8270                 - define VPN connection state change reason codes
8271
8272         * src/vpn-manager/Makefile.am
8273           src/vpn-manager/nm-vpn-marshal.list
8274           src/vpn-manager/nm-vpn-marshal-main.c
8275                 - Add marshallers for StateChanged signal
8276
8277         * introspection/nm-vpn-connection.xml
8278                 - New Banner property
8279                 - StateChanged signal now includes a 'reason' argument
8280
8281         * src/vpn-manager/nm-vpn-connection.c
8282           src/vpn-manager/nm-vpn-connection.h
8283                 - Add a "Banner" property that contains the returned VPN server login
8284                         banner (if any); valid only in the ACTIVATED state
8285                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8286                         a 'reason' argument and emits that reason along with the
8287                         state-changed signal
8288                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8289                 - (nm_vpn_connection_ip4_config_get): save banner for later
8290                 - (nm_vpn_connection_get_banner, get_property,
8291                    nm_vpn_connection_class_init): implement Banner property
8292
8293         * src/vpn-manager/nm-vpn-service.c
8294                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8295                         connection list because elements may get added/removed from it
8296                         while iterating over the list
8297                 - (connection_state_changed): signal now includes the 'reason' argument
8298
8299         * libnm-glib/nm-vpn-connection.c
8300           libnm-glib/nm-vpn-connection.h
8301                 - (nm_vpn_connection_get_banner): new function
8302                 - (state_changed_proxy): handle reason argument
8303
8304 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8305
8306         * src/nm-manager.c:
8307         * src/nm-manager.h:
8308         Implement device activation through NMManager.
8309         Implement "pending device activation" here - If the connection isn't found,
8310         we try to wait for up to 5 seconds for the connection to be provided.
8311         Add NMConnectionType argument to "connection-added" and "connection-removed"
8312         signals.
8313         (nm_manager_get): Remove. Finally.
8314
8315         * src/nm-activation-request.c: 
8316         * src/nm-activation-request.h: 
8317         Remove all the deferred activation code.
8318
8319         * src/nm-device.c: Remove all the deferred activation code. Once the device
8320         activation is started, it's started. Update the activation virtual function
8321         signature.
8322
8323         * src/nm-device-interface.c:
8324         * src/nm-device-interface.h:
8325         Device activation now takes only NMActRequest argument.
8326         Don't expose device activation directly on dbus, it's supposed to go through
8327         NMManager now.
8328
8329         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8330         a bit more compact.
8331         Use the new device activation methods through NMManager.
8332
8333         * introspection/nm-manager-client.xml: 
8334         * introspection/nm-manager.xml: 
8335         * libnm-glib/nm-client.c:
8336         * libnm-glib/nm-client.h:
8337         Add device activation method.
8338         
8339         * libnm-glib/nm-device.c: 
8340         * libnm-glib/nm-device.h: 
8341         * introspection/nm-device.xml: 
8342         Remove device activation method. It's done through NMManager now.
8343
8344         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8345         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8346
8347 2007-09-28  Dan Williams  <dcbw@redhat.com>
8348
8349         * libnm-glib/nm-vpn-connection.c
8350                 - (nm_vpn_connection_get_state): try to update state if the current
8351                         state is UNKNOWN
8352
8353 2007-09-27  Dan Williams  <dcbw@redhat.com>
8354
8355         Patch from Bill Nottingham
8356
8357         * src/supplicant-manager/nm-supplicant-config.c
8358                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8359                         data to the supplicant
8360
8361 2007-09-27  Dan Williams  <dcbw@redhat.com>
8362
8363         * src/NetworkManagerSystem.c
8364                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8365                         and all address manipulation here should be happening on the
8366                         _VPN_ device, not the active device
8367
8368 2007-09-26  Dan Williams  <dcbw@redhat.com>
8369
8370         * src/nm-manager.c
8371           src/nm-manager.h
8372           src/nm-activation-request.c
8373           src/nm-activation-request.h
8374                 - Move the GetSecrets stuff out of the NMManager instance because it
8375                         doesn't really need to be there and complicates things
8376
8377         * src/nm-device.c
8378                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8379                         connection-secrets-failed signal and deactivate the device if
8380                         the GetSecrets call fails
8381
8382         * src/nm-device-802-11-wireless.c
8383                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8384                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8385                         secrets and give correct hints about whether new secrets should be
8386                         asked for by the client or not
8387
8388 2007-09-26  Dan Williams  <dcbw@redhat.com>
8389
8390         * src/vpn-manager/nm-vpn-connection.c
8391                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8392                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8393                         to the secrets-updated signal of the NMConnection since updating
8394                         the secrets is done within the scope of the NMVPNConnection object
8395                         already
8396                 - (get_connection_secrets): fix an uninialized variable usage error
8397
8398 2007-09-26  Dan Williams  <dcbw@redhat.com>
8399
8400         * libnm-util/nm-setting.c
8401                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8402                         actually get updated when the user enters them
8403
8404 2007-09-26  Dan Williams  <dcbw@redhat.com>
8405
8406         * libnm-glib/nm-vpn-plugin.c
8407                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8408
8409 2007-09-26  Dan Williams  <dcbw@redhat.com>
8410
8411         * include/NetworkManagerVPN.h
8412                 - Add a NEED_AUTH state
8413
8414         * src/vpn-manager/nm-vpn-connection.c
8415                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8416                         the connection needs secrets, and if so, then ask the settings
8417                         service to fill in the secrets.  Then start the connection.
8418
8419 2007-09-26  Dan Williams  <dcbw@redhat.com>
8420
8421         * src/vpn-manager/nm-vpn-manager.c
8422                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8423
8424 2007-09-26  Dan Williams  <dcbw@redhat.com>
8425
8426         * introspection/nm-vpn-plugin.xml
8427           libnm-glib/nm-vpn-plugin.c
8428           libnm-glib/nm-vpn-plugin.h
8429                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8430                         the name of the NMSetting in an NMConnection that may require
8431                         secrets specific to that VPN plugin
8432
8433 2007-09-26  Dan Williams  <dcbw@redhat.com>
8434
8435         * src/nm-manager.c
8436           src/nm-manager.h
8437                 - (nm_manager_get_connection_secrets): make static, unused outside
8438                         the file
8439                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8440
8441 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8442
8443         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8444         method.
8445         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8446         unreference the connection.
8447
8448         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8449         passing properties hash and routes string list, pass NMConnection (in hashed form).
8450
8451         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8452         as GSList, no need to copy stuff around anymore.
8453         (nm_vpn_connection_activate): Update the plugin activation method.
8454
8455         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8456         routes argument to GSList.
8457
8458 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8459
8460         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8461         state and try to get the secrets.
8462
8463         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8464         connections from NMManager and let the device to choose the best from the list.
8465         Since the connection list is sorted by system ones first and user ones later,
8466         the devices still prefer system connections like they did before.
8467         (deactivate_old_device): Implement. When a device starts activation, we have a
8468         policy (for now at least) to deactivate any other device that might be either
8469         active or still activating.
8470
8471         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8472         It's set on construction, there will be no other way to access it.
8473
8474         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8475         device events and drive the device, not the other way around.
8476
8477         * src/nm-device-802-3-ethernet.c: Ditto.
8478
8479         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8480         sent along, pass it on to virtual functions.
8481
8482         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8483         for now, but should really be public instead of nm_device_get_iface() since iface
8484         is a property of the DeviceInterface, not Device.
8485         (impl_device_activate): Don't touch NMManager!
8486
8487 2007-09-26  Jürg Billeter  <j@bitron.ch>
8488
8489         * initscript/paldo/NetworkManager.in:
8490         * initscript/paldo/NetworkManagerDispatcher.in:
8491         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8492         (nm_system_flush_loopback_routes): update paldo backend
8493
8494 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8495
8496         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8497         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8498         which means none of the devices get brought down properly, which in turn leaves
8499         DHCP client running.
8500
8501         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8502         (supplicant_connection_timeout_cb): Ditto.
8503
8504 2007-09-25  Dan Williams  <dcbw@redhat.com>
8505
8506         * src/nm-device.c
8507                 - (device_activation_go): small hack to work around race when
8508                         activating deferred connections; should solve this in a better way
8509
8510 2007-09-25  Dan Williams  <dcbw@redhat.com>
8511
8512         * introspection/nm-device.xml
8513           libnm-glib/nm-device.c
8514           libnm-glib/nm-device.h
8515                 - Add 'Carrier' property to exported NMDevice objects
8516
8517         * src/nm-device-interface.h
8518           src/nm-device-interface.c
8519           src/nm-device.c
8520                 - Add a 'carrier' property to internal NMDevice objects
8521
8522 2007-09-25  Dan Williams  <dcbw@redhat.com>
8523
8524         * src/nm-device-802-11-wireless.c
8525                 - (ap_auth_enforced): also return the encryption status of the AP so
8526                         that callers can differentiate easily between unencrypted APs
8527                         and encrypted ones, in addition to whether the AP has an
8528                         authenticator
8529                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8530                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8531                         previously would request secrets from unencrypted APs at times
8532
8533 2007-09-25  Dan Williams  <dcbw@redhat.com>
8534
8535         * src/nm-manager.c
8536                 - (nm_manager_update_state): new function; updates state and emits
8537                         appropriate signals ensuring a state-change signal for the same state
8538                         never gets emitted twice in a row.
8539                 - (manager_device_state_changed): handle more device state to get a
8540                         better picture of the overall NM state
8541
8542 2007-09-25  Dan Williams  <dcbw@redhat.com>
8543
8544         * libnm-glib/nm-settings.c
8545           libnm-glib/nm-settings.h
8546                 - (new_error -> nm_settings_new_error): make public so that subclasses
8547                         can use the same error domain.  Also pass a valid error code to
8548                         g_error_new_literal() so that libdbus doesn't assert when converting
8549                         the GError into a DBusError
8550                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8551                    impl_connection_settings_get_settings,
8552                    impl_connection_settings_get_secrets): use new error creator
8553                         function
8554
8555 2007-09-25  Dan Williams  <dcbw@redhat.com>
8556
8557         * src/NetworkManager.c
8558                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8559
8560 2007-09-25  Dan Williams  <dcbw@redhat.com>
8561
8562         * src/supplicant-manager/nm-supplicant-manager.c
8563                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8564                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8565                    nm_supplicant_manager_startup): when the supplicant isn't running,
8566                         try to start it periodically via system bus activation.  Fixes
8567                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8568                         for the supplicant to come back
8569
8570 2007-09-25  Dan Williams  <dcbw@redhat.com>
8571
8572         Ensure that old activation requests are forgotten about; previously
8573         hitting Cancel in the password dialog would deactivate whatever device
8574         that password was requested for, even if that wasn't the currently
8575         activating connection.
8576
8577         * src/nm-manager.c
8578           src/nm-manager.h
8579                 - (nm_manager_get_connection_secrets): track the pending call
8580                         object so it can be canceled later if needed
8581                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8582                         GetSecrets call for a particular connection
8583
8584         * src/nm-activation-request.c
8585                 - (dispose): cancel any outstanding GetSecrets calls on the
8586                         connection
8587
8588 2007-09-25  Dan Williams  <dcbw@redhat.com>
8589
8590         * src/NetworkManagerPolicy.c
8591                 - (nm_policy_device_change_check): handle devices that have a
8592                         deferred activation.  These devices are not really active _yet_,
8593                         but need to be treated as such here.  Don't interrupt them
8594                         automatically.
8595
8596         * src/nm-device-interface.c
8597                 - (impl_device_activate): handle devices that have a deferred activation
8598                         like activating or active devices.  When multiple active devices
8599                         get committed, the device shouldn't be deactivated until the
8600                         connection details are available to avoid DoS and such.  Currently,
8601                         any active, activating, or deferred activation device is deactivated
8602                         here before starting the new activation request.
8603
8604 2007-09-25  Dan Williams  <dcbw@redhat.com>
8605
8606         Properly re-query secrets from the settings daemon when stuff fails.
8607
8608         * src/nm-device-802-11-wireless.c
8609                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8610                         between Shared Key and Open System auth modes
8611                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8612                    real_act_stage4_ip_config_timeout): clear existing secrets and
8613                         request new ones when something fails due to a suspected wrong key
8614                 - (real_act_stage2_config): fix for new request_new argument to
8615                         nm_manager_get_connection_secrets()
8616
8617         * src/nm-manager.c
8618           src/nm-manager.h
8619                 - (nm_manager_get_connection_secrets): return error status; pass
8620                         new request_new argument on to the settings daemon
8621
8622         * introspection/nm-settings-connection.xml
8623                 - New 'request_new' argument to the GetSecrets call that hints to the
8624                         settings daemon to ask the user for completely new secrets
8625
8626         * libnm-glib/nm-settings.c
8627           libnm-glib/nm-settings.h
8628                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8629                         argument
8630
8631 2007-09-25  Dan Williams  <dcbw@redhat.com>
8632
8633         * libnm-util/nm-connection.c
8634           libnm-util/nm-connection.h
8635                 - (nm_connection_clear_secrets): new function; clear secrets out of
8636                         each NMSetting in an NMConnection
8637
8638         * libnm-util/nm-setting.h
8639           libnm-util/nm-setting.c
8640                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8641                         secrets out of an NMSetting
8642                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8643                    nm_setting_wired_new, nm_setting_wireless_new,
8644                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8645                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8646                         to default handler default_setting_clear_secrets()
8647
8648 2007-09-25  Dan Williams  <dcbw@redhat.com>
8649
8650         * src/nm-activation-request.c
8651           src/nm-activation-request.h
8652                 - (nm_act_request_is_deferred): new function
8653
8654 2007-09-24  Dan Williams  <dcbw@redhat.com>
8655
8656         * src/nm-device-802-11-wireless.c
8657                 - (activation_success_handler): update signal strength immediately
8658                         after activation
8659
8660 2007-09-24  Dan Williams  <dcbw@redhat.com>
8661
8662         * libnm-util/nm-setting.c
8663                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8664
8665 2007-09-24  Dan Williams  <dcbw@redhat.com>
8666
8667         * src/NetworkManagerPolicy.c
8668                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8669                         device by deactivating it because it doesn't have a "best connection".
8670                         Since autoconnect=False connections aren't automatically chosen,
8671                         NM would interrupt activation of such a connection because it
8672                         would never be "best" due to autoconnect=False.
8673
8674 2007-09-24  Dan Williams  <dcbw@redhat.com>
8675
8676         * src/nm-manager.c
8677                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8678                         actually has some time to enter a key before the GetSecrets call
8679                         times out
8680
8681 2007-09-24  Dan Williams  <dcbw@redhat.com>
8682
8683         * introspection/nm-manager.xml
8684           src/nm-manager.c
8685                 - (impl_manager_legacy_state): fix 'state' method call return value
8686
8687 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8688
8689         * test/Makefile.am: Install nm-tool
8690
8691 2007-09-24  Dan Williams  <dcbw@redhat.com>
8692
8693         Patch from Ross Burton <ross@burtonini.com>
8694
8695         * test/nm-tool.c
8696           callouts/nm-dhcp-client-action.c
8697           src/nm-netlink.c
8698           src/vpn-manager/nm-vpn-connection.c
8699           libnm-glib/libnm-glib-test.c
8700                 - warning fixes
8701
8702 2007-09-24  Dan Williams  <dcbw@redhat.com>
8703
8704         * libnm-util/nm-utils.h
8705           libnm-util/nm-utils.c
8706                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8707                         remove, unused
8708
8709 2007-09-23  Dan Williams  <dcbw@redhat.com>
8710
8711         * vpn-daemons/vpnc/properties/nm-vpnc.c
8712                 - Update for new VPN properties API bits; instead of passing around
8713                         a lot of random things, everything goes into the NMConnection
8714                         object.
8715
8716 2007-09-23  Dan Williams  <dcbw@redhat.com>
8717
8718         * libnm-util/nm-setting.c
8719                 - Correctly dispose of settings objects if creating them from a hash
8720                         table fails
8721
8722 2007-09-23  Dan Williams  <dcbw@redhat.com>
8723
8724         * libnm-util/nm-setting.c
8725                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8726                         the hash table in a standard manner.  Clients of libnm-util should
8727                         only call g_hash_table_remove_all(), never destroy the hash table
8728                         and recreate it.
8729
8730 2007-09-22  Dan Williams  <dcbw@redhat.com>
8731
8732         * src/nm-device-802-11-wireless.c
8733                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8734                         real reason to do it so often, and reduces wakeups for clients.
8735
8736 2007-09-21  Dan Williams  <dcbw@redhat.com>
8737
8738         * src/nm-device-802-11-wireless.c
8739                 - (build_supplicant_config): wpa_supplicant requires the option
8740                         key_mgmt=NONE for unencrypted networks
8741                 - (real_act_stage2_config): clarify log message on activation
8742
8743 2007-09-21  Dan Williams  <dcbw@redhat.com>
8744
8745         * test/nm-supplicant-test.c
8746           test/Makefile.am
8747                 - Remove supplicant test binary; no longer applicable
8748
8749 2007-09-21  Dan Williams  <dcbw@redhat.com>
8750
8751         * src/supplicant-manager/nm-supplicant-manager.c
8752                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8753                         activate it on the system bus
8754
8755 2007-09-20  Dan Williams  <dcbw@redhat.com>
8756
8757         * initscript/RedHat/NetworkManager.in
8758                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8759
8760 2007-09-20  Dan Williams  <dcbw@redhat.com>
8761
8762         * src/nm-device.c
8763                 - (nm_device_is_activating): work around a race between auto-activation
8764                         and the user activating the same device that is being auto-activated
8765
8766 2007-09-20  Dan Williams  <dcbw@redhat.com>
8767
8768         * src/nm-device-interface.c
8769                 - (impl_device_activate): until multiple active device support lands,
8770                         ensure only one device can be active at a time
8771
8772 2007-09-20  Dan Williams  <dcbw@redhat.com>
8773
8774         * src/supplicant-manager/nm-supplicant-config.c
8775           src/supplicant-manager/nm-supplicant-config.h
8776                 - (nm_supplicant_config_add_option): hide secrets from system logs
8777
8778 2007-09-20  Dan Williams  <dcbw@redhat.com>
8779
8780         * src/NetworkManagerPolicy.c
8781                 - (nm_policy_device_change_check): re-enable the wireless device change
8782                         checking code; insted of checking for SSIDs, check for the same
8783                         connection instead
8784
8785 2007-09-20  Dan Williams  <dcbw@redhat.com>
8786
8787         * src/nm-device-802-11-wireless.c
8788                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8789                         composite link state when determining when to start the disconnection
8790                         timer; that link state is already based on the supplicant interface's
8791                         status which is exactly what's already being examined, plus the link
8792                         state is a conglomeration of various things that we don't want here
8793
8794 2007-09-20  Dan Williams  <dcbw@redhat.com>
8795
8796         * libnm-glib/nm-access-point.c
8797                 - (handle_property_changed): strength is a UCHAR
8798
8799 2007-09-20  Dan Williams  <dcbw@redhat.com>
8800
8801         * src/supplicant-manager/nm-supplicant-config.c
8802                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8803                         string list keywords too since that's what wpa_supplicant wants
8804
8805 2007-09-20  Dan Williams  <dcbw@redhat.com>
8806
8807         * libnm-util/nm-setting.c
8808                 - (convert_strv_to_slist): dupe the values in the list because since
8809                         the list is a boxed value, it'll get destroyed when it's container
8810                         (like a hash table or whatever) gets destroyed
8811
8812 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8813
8814         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8815         GSList.
8816
8817         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8818
8819         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8820         just use (g_object_set_data_full).
8821
8822         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8823         that NMSettingVPN->routes is a GSList, convert it to char **.
8824         (nm_vpn_connection_ip4_config_get): Free routes when done.
8825         (nm_vpn_connection_activate): Ditto.
8826
8827         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8828         (real_act_stage2_config): Use defined setting names.
8829
8830 2007-09-20  Dan Williams  <dcbw@redhat.com>
8831
8832         * src/nm-device-802-11-wireless.c
8833           src/nm-manager.c
8834           src/nm-manager.h
8835                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8836                         so that the device can be deactivated if secrets are wrong
8837
8838 2007-09-20  Dan Williams  <dcbw@redhat.com>
8839
8840         * introspection/nm-settings-connection.xml
8841           libnm-glib/nm-settings.c
8842           libnm-glib/nm-settings.h
8843                 - Make GetSecrets asynchronous on the server side
8844
8845 2007-09-20  Dan Williams  <dcbw@redhat.com>
8846
8847         * src/nm-manager.h
8848           src/nm-device.c
8849                 - (nm_device_activate): actually check if a given connection
8850                         exists before assuming it doesn't
8851
8852 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8853
8854         * libnm-util/nm-connection.c (register_default_creators): Use defined
8855         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8856
8857         * libnm-util/nm-setting.c: Define property name strings, use them.
8858         Implement NMSettingVPN and NMSettingVPNProperties settings.
8859         Implement NM_S_TYPE_GVALUE_HASH.
8860         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8861         (setting_connection_verify): Rename 'devtype' property to 'type'.
8862
8863         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8864         properties.
8865
8866         * src/vpn-manager/nm-vpn-service.c: Ditto.
8867
8868         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8869
8870         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8871         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8872
8873         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8874         names. NMSettingConnection->devtype got renamed to 'type'.
8875
8876         * src/nm-device-802-3-ethernet.c (find_best_connection):
8877         (real_get_best_connection): Ditto.
8878
8879         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8880
8881         * libnm-glib/nm-vpn-manager.[ch]: Update.
8882
8883 2007-09-19  Dan Williams  <dcbw@redhat.com>
8884
8885         * src/NetworkManagerAP.c
8886           src/NetworkManagerAP.h
8887           introspection/nm-access-point.xml
8888                 - Change strength-changed signal into a properties-changed signal
8889                         for all properties, not just strength.  Export that signal over dbus
8890                         so listeners don't have to poll NM for changes.
8891                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8892                         get exported over D-Bus, so break up the logic and let other bits
8893                         decided when to export the AP
8894                 - (nm_ap_new_from_ap): remove, unused
8895
8896         * src/nm-device-802-11-wireless.c
8897                 - (merge_scanned_ap): only export APs that are actually on the device
8898                         list, not every AP created internally
8899
8900         * libnm-glib/nm-access-point.c
8901           libnm-glib/nm-access-point.h
8902                 - Cache properties internally and only hit DBus when needed.  Get
8903                         property updates from NM signals
8904
8905 2007-09-16  Dan Williams  <dcbw@redhat.com>
8906
8907         * libnm-util/nm-connection.c
8908           libnm-util/nm-connection.h
8909                 - (nm_connection_for_each_setting_value): new function; iterate over
8910                         each setting's value and call a user-provided function with details
8911                         about that value
8912
8913         * libnm-util/nm-setting.c
8914           libnm-util/nm-setting.h
8915                 - (nm_setting_enumerate_values): new function; enumerate the values
8916                         of a specific NMSetting subclass for a user-provided function with
8917                         details about that value
8918                 - Change wep_tx_keyidx to a uint32
8919                 - Create settings value tables for each setting defining their type,
8920                         key name, offset into the NMSetting subclass' structure, and whether
8921                         they are required and/or a secret
8922                 - (nm_setting_populate_from_hash): generic function to populate an
8923                         NMSetting from a GHash table, make all settings use it
8924                 - (nm_setting_hash): generic function to derive a GHashTable from
8925                         an NMSetting object, make all settings use it
8926
8927 2007-09-14  Dan Williams  <dcbw@redhat.com>
8928
8929         Remove unused stuff in libnm-util
8930
8931         * configure.in
8932           libnm-util/Makefile.am
8933           libnm-util/cipher-private.h
8934           libnm-util/cipher-wep-ascii.c
8935           libnm-util/cipher-wep-ascii.h
8936           libnm-util/cipher-wep-hex.c
8937           libnm-util/cipher-wep-hex.h
8938           libnm-util/cipher-wep-passphrase.c
8939           libnm-util/cipher-wep-passphrase.h
8940           libnm-util/cipher-wpa-psk-hex.c
8941           libnm-util/cipher-wpa-psk-hex.h
8942           libnm-util/cipher-wpa-psk-passphrase.c
8943           libnm-util/cipher-wpa-psk-passphrase.h
8944           libnm-util/cipher.c
8945           libnm-util/cipher.h
8946           libnm-util/dbus-helpers.c
8947           libnm-util/dbus-helpers.h
8948           libnm-util/gnome-keyring-md5.c
8949           libnm-util/gnome-keyring-md5.h
8950           libnm-util/sha1.c
8951           libnm-util/sha1.h
8952           src/nm-device-802-11-wireless.c
8953           test/libnm-util/Makefile.am
8954           test/libnm-util/test-ciphers.c
8955           test/libnm-util/test-dbus-helpers.c
8956           test/libnm-util/test-inputs.h
8957                 - Removed
8958
8959 2007-09-14  Dan Williams  <dcbw@redhat.com>
8960
8961         * libnm-util/dbus-method-dispatcher.c
8962           libnm-util/dbus-method-dispatcher.h
8963                 - Remove, unused
8964
8965 2007-09-14  Dan Williams  <dcbw@redhat.com>
8966
8967         Implement deferred activation support in the device class.
8968
8969         * src/nm-device-interface.c
8970           src/nm-device-interface.h
8971                 - (nm_device_interface_activate): take more arguments to support
8972                         deferred activation; callers must pass one of (connection) OR
8973                         (service_name, connection_path)
8974                 - (impl_device_activate): connection validation is punted to the device
8975                         to be able to handle deferred activation.  Yes, this means errors
8976                         don't get returned from the Activate() dbus call, and yes, that
8977                         should be fixed somehow later.
8978
8979         * src/nm-device.c
8980           src/nm-device.h
8981                 - (clear_act_request): clear additional deferred activation stuff too
8982                 - (deferred_activation_timeout_cb): new function; clean up when
8983                         deferred activation times out.
8984                 - (deferred_activation_start_cb): new function; when the connection
8985                         finally becomes available, start device activation
8986                 - (nm_device_activate): attach to the right signals of the activation
8987                         request if we need to defer activation until the connection is valid
8988
8989         * src/NetworkManagerPolicy.c
8990                 - (nm_policy_device_change_check): update for additional arguments
8991                         required for nm_device_interface_activate().  Pass NULL for these
8992                         though because this function already knows exactly which
8993                         NMConnection to use
8994
8995 2007-09-14  Dan Williams  <dcbw@redhat.com>
8996
8997         Implement deferred activation handling in the NMActRequest class.  When a
8998         client wants to activate a device but must create the NMConnection details
8999         on the fly, there likely hasn't been enough time yet for NM to receive the
9000         new connection signal and grab all the connection details.  So the
9001         activation is deferred (and bounded by a timer) for a while, and if the
9002         connection appears within the window, it is activated.
9003
9004         * src/nm-activation-request.c
9005           src/nm-activation-request.h
9006                 - (nm_act_request_class_init): two new signals to support deferred
9007                         activation, to allow the listener to handle both timeout and success
9008                 - (nm_act_request_new_deferred): new function, starts the deferred
9009                         activation timeout handler and listens to the NMManager for
9010                         new-connection signals to notice when the connection comes in
9011
9012 2007-09-14  Dan Williams  <dcbw@redhat.com>
9013
9014         * src/nm-manager.h
9015           src/nm-manager.c
9016                 - (nm_manager_get_connection_service_name,
9017                    nm_manager_get_connection_dbus_path): get details about a connection
9018                         known internally by the NMManager
9019                 - (nm_manager_class_init): fix connection add/remove signal marshalers
9020                         because NMConnection is now a GObject subclass
9021                 - Use constant for the gobject data tag used on NMConnection objects for
9022                         storing the associated DBusGProxy
9023
9024 2007-09-14  Dan Williams  <dcbw@redhat.com>
9025
9026         * utils/Makefile.am
9027           utils/nm-utils.c
9028           utils/nm-utils.h
9029           src/supplicant-manager/Makefile.am
9030           src/dhcp-manager/Makefile.am
9031           src/backends/Makefile.am
9032           src/named-manager/Makefile.am
9033           src/ppp-manager/Makefile.am
9034           src/vpn-manager/Makefile.am
9035           test/libnm-util/Makefile.am
9036           test/test-common/Makefile.am
9037                 - Remove utils/; it was unused
9038
9039 2007-09-13  Dan Williams  <dcbw@redhat.com>
9040
9041         * libnm-glib/nm-vpn-manager.h
9042           libnm-glib/nm-vpn-manager.c
9043                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9044
9045 2007-09-13  Dan Williams  <dcbw@redhat.com>
9046
9047         * src/nm-device-802-3-ethernet.c
9048                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9049                         netlink monitor carrier signals on dispose, not bring down.  The
9050                         carrier signals should be handled over the entire lifetime of the
9051                         device anyway, not created/destroyed on up or down.
9052
9053 2007-09-13  Dan Williams  <dcbw@redhat.com>
9054
9055         * libnm-glib/nm-device.c
9056           libnm-glib/nm-device.h
9057                 - (nm_device_activate): take a connection object path rather than an
9058                         NMConnection because NMConnection isn't exported over D-Bus and
9059                         therefore it dbus-glib can't automatically get an object path from it
9060
9061 2007-09-13  Dan Williams  <dcbw@redhat.com>
9062
9063         * libnm-util/nm-setting.c
9064                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9065
9066 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9067
9068         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9069
9070 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9071
9072         * src/vpn-manager/nm-vpn-connection.[ch]: 
9073         * src/vpn-manager/nm-vpn-manager.[ch]:
9074         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9075         dbus-glib, GObjects, signals etc.
9076
9077         * libnm-glib/nm-vpn-manager.[ch]: 
9078         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9079         so much, rewrite these too.
9080
9081         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9082         the new introspection files.
9083
9084         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9085
9086         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9087         the header with the same name from libnm-utils.
9088
9089         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9090
9091         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9092
9093         * introspection/nm-vpn-plugin.xml: Implement.
9094
9095         * introspection/nm-vpn-connection.xml: Implement.
9096
9097         * introspection/nm-vpn-manager.xml: Implement.
9098
9099         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9100         the named manager argument, it can just as easily get it as the caller.
9101         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9102
9103         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9104
9105         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9106
9107         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9108         libnm-utils.
9109
9110         * libnm-util/nm-connection.c: Ditto.
9111
9112         * src/NetworkManagerMain.h: Remove, it's finally empty.
9113
9114         * configure.in: Remove utils/ from build.
9115
9116         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9117         of hard-coded strings.
9118
9119         * utils/: Move it over to libnm-util.
9120
9121         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9122
9123         * dispatcher-daemon/Makefile.am: Ditto.
9124
9125         * src/Makefile.am: Ditto.
9126
9127 2007-09-12  Dan Williams  <dcbw@redhat.com>
9128
9129         Wireless connections can be made with config data from the applet now.
9130         
9131         Yay.
9132
9133         * src/supplicant-manager/nm-supplicant-config.h
9134           src/supplicant-manager/nm-supplicant-config.c
9135                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9136                 - (nm_supplicant_config_add_setting_wireless,
9137                    nm_supplicant_config_add_setting_wireless_security): new functions;
9138                         add key/value pairs from the settings objects to the supplicant
9139                         config
9140
9141         * src/nm-device-802-11-wireless.c
9142                 - (cull_scan_list): fix check to not prune currently associated AP
9143                 - (build_supplicant_config, real_act_stage2_config): call the functions
9144                         of the NMSupplicantConfig that parse settings objects rather than
9145                         doing it manually here
9146
9147 2007-09-12  Dan Williams  <dcbw@redhat.com>
9148
9149         * src/supplicant-manager/nm-supplicant-interface.c
9150           src/supplicant-manager/nm-supplicant-marshal.list
9151                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9152                         "connection-error" signal arguments should be STRING not CHAR
9153
9154 2007-09-12  Dan Williams  <dcbw@redhat.com>
9155
9156         * src/NetworkManagerUtils.c
9157           src/NetworkManagerUtils.h
9158                 - (nm_utils_hexstr2bin): new function
9159
9160 2007-09-11  Dan Williams  <dcbw@redhat.com>
9161
9162         * src/nm-manager.c
9163                 - (connection_get_settings_cb): emit connection-added signal
9164                 - (connection_removed_cb): uncomment bits for system settings service,
9165                         send connection-removed when appropriate
9166                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9167                         the stack by trying to g_object_set_data() on something that's
9168                         not a GObject; handle case where settings service returns
9169                         empty settings hash table
9170
9171 2007-09-11  Dan Williams  <dcbw@redhat.com>
9172
9173         * src/NetworkManagerPolicy.c
9174                 - (connection_added, connection_removed): trigger device change checks
9175                         on connection changes
9176
9177 2007-09-11  Dan Williams  <dcbw@redhat.com>
9178
9179         * src/nm-activation-request.c
9180                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9181
9182 2007-09-11  Dan Williams  <dcbw@redhat.com>
9183
9184         * src/nm-device-802-11-wireless.c
9185                 - (real_connection_secrets_updated): fix erroneous check
9186
9187 2007-09-11  Dan Williams  <dcbw@redhat.com>
9188
9189         * introspection/nm-device.xml
9190           libnm-glib/nm-device.c
9191           libnm-glib/nm-device.c
9192                 - Fix Activate call argument borkage; Activate takes 3 arguments
9193
9194 2007-09-11  Dan Williams  <dcbw@redhat.com>
9195
9196         * libnm-glib/nm-access-point.c
9197           libnm-glib/nm-access-point.c
9198                 - (nm_access_point_get_frequency): now returns guint32 to match
9199                         property change on 2007-09-10
9200
9201 2007-09-11  Dan Williams  <dcbw@redhat.com>
9202
9203         * src/nm-device-802-11-wireless.c
9204                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9205                         somewhere defines 'index' and I missed this one when I fixed the
9206                         shadow declaration errors earlier
9207
9208 2007-09-11  Dan Williams  <dcbw@redhat.com>
9209
9210         * libnm-util/nm-connection.c
9211                 - (nm_connection_update_secrets, need_secrets_check): move
9212                         802-11-wireless-security need_secrets checks to the setting object
9213                         itself, where it belongs
9214
9215         * libnm-util/nm-setting.c
9216           libnm-util/nm-setting.h
9217                 - (nm_setting_need_secrets): new function
9218                 - (setting_wireless_security_verify,
9219                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9220                 - (setting_wireless_security_need_secrets): mostly copy code over
9221                         from nm-connection.c
9222
9223 2007-09-11  Dan Williams  <dcbw@redhat.com>
9224
9225         * libnm-util/nm-setting.c
9226           libnm-util/nm-setting.h
9227                 - (nm_setting_update_secrets): new function; add a virtual function that
9228                         subclasses can implement to update their secrets
9229                 - (setting_wireless_security_update_secrets): implement that function
9230                         for the 802-11-wireless-security subclass
9231
9232         * libnm-util/nm-connection.c
9233           libnm-util/nm-connection.h
9234                 - (nm_connection_update_secrets): update secrets for a Setting and
9235                         emit a signal on success
9236
9237         * src/nm-manager.c
9238           src/nm-manager.h
9239           src/nm-marshal.list
9240                 - (connection_get_settings_cb): enable system settings bits
9241                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9242                         to request secrets from the settings dbus service and to
9243                         push those secrets to the NMConnection itself
9244
9245         * src/nm-activation-request.c
9246           src/nm-activation-request.h
9247                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9248                         currently being activated, and proxy that signal to other listeners.
9249                         Goes through the activation request because the activation request
9250                         is the thing that manages the lifetime of the NMConnection that's
9251                         being activated.
9252
9253         * src/nm-device-802-11-wireless.c
9254                 - (real_connection_secrets_updated): implement the connection secrets
9255                         updated notification and restart activation when secrets are
9256                         received
9257                 - (real_act_stage2_config): request secrets from the settings dbus
9258                         service if secrets are needed
9259
9260         * src/nm-device.c
9261           src/nm-device.h
9262                 - (clear_act_request, nm_device_activation_cancel,
9263                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9264                         where the activation request is cleared
9265                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9266                         updated secrets signal of activation request and add a function
9267                         that subclasses can override to handle it easily
9268
9269 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9270
9271         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9272         removal of NetworkManagerAPList.
9273
9274 2007-09-10  Dan Williams  <dcbw@redhat.com>
9275
9276         * src/NetworkManagerAP.c
9277           src/NetworkManagerAP.h
9278           introspection/nm-access-point.xml
9279                 - Change 'freq' property to a guint32 instead of a double since we
9280                         weren't using the floating point bits anyway
9281
9282 2007-09-10  Dan Williams  <dcbw@redhat.com>
9283
9284         * NetworkManagerAP.c
9285           NetworkManagerAP.h
9286           NetworkManagerPolicy.c
9287           NetworkManagerSystem.c
9288           NetworkManagerUtils.c
9289           NetworkManagerUtils.h
9290           nm-device-802-11-wireless.c
9291           nm-device-802-3-ethernet.c
9292           nm-hal-manager.c
9293           nm-manager.c
9294           vpn-manager/nm-dbus-vpn.c
9295                 - Warning fixes; casts and removal of unused variables
9296
9297 2007-09-10  Dan Williams  <dcbw@redhat.com>
9298
9299         * include/NetworkManager.h
9300                 - Kill NMNetworkType; AP types don't matter any more
9301
9302         * src/NetworkManagerAPList.c
9303           src/NetworkManagerAPList.h
9304           src/Makefile.am
9305                 - Kill; NMAccessPointList has outlived it's usefulness
9306
9307         * src/NetworkManagerAP.c
9308           src/NetworkManagerAP.h
9309                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9310                         functions; check if an NMConnection object is compatible with the
9311                         settings of this AP
9312                 - (freq_to_channel, channel_to_freq): utility functions for
9313                         channel <-> frequency conversion
9314
9315         * src/nm-device.c
9316           src/nm-device.h
9317                 - (nm_device_get_best_connection): pass the specific object around
9318                          (which might be the object path of a specific AP to connect to).
9319                          The get_best_connection() call should populate this on return
9320                          if needed (wireless does).
9321
9322         * src/nm-device-802-3-ethernet.c
9323                 - (real_get_best_connection): handle specific_object argument
9324
9325         * src/NetworkManager.c
9326           src/NetworkManagerMain.h
9327                 - Remove unused includes
9328
9329         * src/nm-device-802-11-wireless.c
9330           src/nm-device-802-11-wireless.h
9331                 - Convert the ap_list into a GSList from an NMAccessPointList
9332                 - No need for caching the 'activation_ap' since this is now determined
9333                         from the specific_object of the activation request, which is
9334                         populated from the get_best_connection() call or from a user request
9335                 - (nm_device_802_11_wireless_update_bssid): fix warning
9336                 - (get_wireless_capabilities): fix error message format arguments
9337                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9338                 - (find_best_connection, real_get_best_connection): implement
9339                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9340                         move here from NetworkManagerAPList
9341                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9342                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9343                         already verified earlier
9344                 - (real_act_stage2_config): use nm_connection_need_secrets()
9345
9346         * src/NetworkManagerPolicy.c
9347                 - (nm_policy_auto_get_best_device): handle specific objects
9348                 - (create_connection): remove; automatic connection creation functionality
9349                         is handled by the Connection objects
9350                 - (nm_policy_device_change_check): handle specific_object
9351
9352         * libnm-util/nm-connection.c
9353                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9354
9355 2007-09-10  Dan Williams  <dcbw@redhat.com>
9356
9357         * src/nm-manager.c
9358                 - (query_connections): fix uninitialized variable problem that caused
9359                         segfault
9360                 - (nm_manager_add_device): take devices down on startup so that we can
9361                         be assured that nm_device_is_up() won't short-circuit the init
9362                         process.  Hack until the is_up check gets split into two pieces
9363                         that aren't behaviorally confusing.
9364
9365 2007-09-09  Dan Williams  <dcbw@redhat.com>
9366
9367         * introspection/nm-device.xml
9368                 - The 'Activate' method now takes 3 arguments, a service name for the
9369                 settings service (user or system), the object path of the connection
9370                 to activate, and the specific object to activate, if any
9371
9372         * src/nm-device-interface.c
9373                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9374                 Add error bits
9375                 - (impl_device_activate): adapt to new Activate arguments; validate
9376                 the service name and get the Connection object from the NMManager
9377                 before starting to activate the device with the specified connection
9378
9379         * src/nm-device-802-3-ethernet.c
9380                 - (real_get_best_connection): find the best connection, or create a
9381                 default one if no existing connections can be used
9382
9383         * src/NetworkManagerPolicy.c
9384                 - (nm_policy_auto_get_best_device): Get the device's best connection
9385                 and only pick the device if it has one
9386                 - (nm_policy_device_change_check): disable wireless bits for now until
9387                 wireless get_best_connection() can be implemented (replacing "best_ap");
9388                 don't create a default connection here as the device subclass will do
9389                 that if needed
9390
9391         * src/nm-manager.h
9392           src/nm-manager.c
9393                 - (nm_manager_get): make NMManager a singleton and expose the getter
9394                 internally
9395                 - Rework internal NMManager connection handling to use the same
9396                 routines for both the system and user settings services.  Most calls
9397                 take a new NMConnectionType argument specifying either system or user
9398                 connections
9399                 - (nm_manager_get_connection_by_object_path): new function; get a
9400                 connection keyed on its object path
9401
9402         * src/NetworkManager.c
9403                 - (main): use nm_manager_get()
9404
9405 2007-09-09  Dan Williams  <dcbw@redhat.com>
9406
9407         * src/nm-device.h
9408           src/nm-device.c
9409                 - (nm_device_get_best_connection): new function; get best connection
9410                         for the device at that time
9411
9412 2007-09-09  Dan Williams  <dcbw@redhat.com>
9413
9414         * src/nm-device-interface.h
9415                 - Add NMDeviceInterfaceError with an UnknownConnection error
9416
9417 2007-09-09  Dan Williams  <dcbw@redhat.com>
9418
9419         Stupid mistake on my part; object path and interface for settings service
9420         and connection objects can be the same, only the service name must be
9421         different for the system and user settings services.
9422
9423         * include/NetworkManager.h
9424           src/nm-manager.c
9425           introspection/nm-settings-connection.xml
9426           introspection/nm-settings.xml
9427           libnm-glib/nm-settings.c
9428                 - (nm_connection_settings_init, query_user_connections,
9429                    new_connection_cb): Unify NetworkManagerSettings and Connection
9430                    interface name and object path
9431
9432 2007-09-06  Dan Williams  <dcbw@redhat.com>
9433
9434         * libnm-glib/nm-object.c
9435                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9436                    nm_object_get_int_property, nm_object_get_uint_property,
9437                    nm_object_get_boolean_property, nm_object_get_byte_property,
9438                    nm_object_get_double_property, nm_object_get_byte_array_property):
9439                         clear GValues after copying their contents, fixes memory leaks
9440                         after every property access because dbus-glib copies the values
9441                         from the DBusMessage into the GValue already.
9442
9443 2007-09-06  Dan Williams  <dcbw@redhat.com>
9444
9445         * introspection/nm-access-point.xml
9446                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9447                         them to be.  There's some magic property name parsing going on in
9448                         dbus-glib that breaks up property names based on studly-caps and
9449                         puts - between words.
9450
9451         * libnm-glib/nm-access-point.c
9452                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9453                         Fix property names
9454
9455 2007-09-06  Dan Williams  <dcbw@redhat.com>
9456
9457         * src/nm-manager.c
9458                 - (nm_manager_user_connections_destroy): clear the user connections hash
9459                         table, don't destroy it
9460                 - (finalize): only destroy the hash table on NMManager finalization
9461
9462 2007-09-02  Dan Williams  <dcbw@redhat.com>
9463
9464         * include/NetworkManager.h
9465           libnm-glib/nm-settings.c
9466                 - defines for the user settings daemon D-Bus bits
9467
9468         * src/NetworkManager.c
9469                 - Remove stuff that referred to the old NetworkManagerInfo service
9470
9471         * src/vpn-manager/nm-dbus-vpn.h
9472                 - Move old NMI defines to the only place they are used still
9473
9474         * libnm-util/nm-connection.c
9475           libnm-util/nm-connection.h
9476           src/nm-activation-request.c
9477                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9478
9479         * src/nm-manager.c
9480           src/nm-manager.h
9481                 - Get connections and their settings from the user settings daemon
9482                         at the appropriate times
9483
9484 2007-09-02  Dan Williams  <dcbw@redhat.com>
9485
9486         * libnm-util/nm-setting.c
9487                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9488                 - (setting_wireless_hash): set the right value on the item
9489
9490 2007-09-02  Dan Williams  <dcbw@redhat.com>
9491
9492         * test/Makefile.am
9493           test/nminfotest.c
9494                 - Remove, no longer useful
9495
9496 2007-08-30  Dan Williams  <dcbw@redhat.com>
9497
9498         * src/Makefile.am
9499           src/NetworkManagerDbus.c
9500           src/NetworkManagerDbus.h
9501           src/vpn-manager/nm-dbus-vpn.c
9502                 - Remove, no longer necessary.  Move last bits to the only place its
9503                 used, in nm-dbus-vpn.c
9504
9505         * src/NetworkManagerAPList.c
9506           src/nm-device.c
9507           src/NetworkManager.c
9508           src/nm-device-802-11-wireless.c
9509           src/vpn-manager/nm-vpn-manager.c
9510           src/vpn-manager/nm-vpn-service.c
9511           src/NetworkManagerPolicy.c
9512           src/nm-manager.c
9513                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9514                 that was message_is_error()
9515
9516 2007-08-30  Dan Williams  <dcbw@redhat.com>
9517
9518         * libnm-util/sha1.c
9519                 - Include config.h to get defines for endiannes (gnome.org #420216)
9520
9521 2007-08-30  Dan Williams  <dcbw@redhat.com>
9522
9523         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9524
9525         * src/ppp-manager/Makefile.am
9526                 - use -fPIC (gnome.org #471825)
9527
9528 2007-08-29  Dan Williams  <dcbw@redhat.com>
9529
9530         * include/NetworkManager.h
9531                 - Keep NMConnection object path in sync
9532
9533         * libnm-glib/nm-settings.c
9534           libnm-glib/nm-settings.h
9535                 - Break D-Bus object registration out of the init function, because
9536                 every object that's exported over D-Bus needs to use the _same_
9537                 DBusConnection.  Otherwise, each object would get a different object
9538                 path tree and wouldn't be callable.
9539
9540 2007-08-29  Dan Williams  <dcbw@redhat.com>
9541
9542         * libnm-util/nm-setting.h
9543           libnm-util/nm-setting.c
9544           libnm-util/nm-connection.c
9545           src/NetworkManagerPolicy.c
9546                 - 'info' settings object should be 'connection' says the spec
9547                 at NetworkManagerConfigurationSpecification
9548
9549 2007-08-29  Dan Williams  <dcbw@redhat.com>
9550
9551         * libnm-glib/nm-settings.c
9552           libnm-glib/nm-settings.h
9553                 - make the dbus path a property of the object, and autogenerate it.
9554                 It can't be composed of the 'id' field becuase that's not available
9555                 yet during the GObject creation in nm_connection_settings_init()
9556
9557 2007-08-29  Dan Williams  <dcbw@redhat.com>
9558
9559         * introspection/nm-settings-connection.xml
9560           introspection/nm-settings.xml
9561                 - Service name -> NetworkManagerUserSettings because two services
9562                 can't share part of the same path.  I'm not really sure how we'll use
9563                 the same code with the system-settings daemon...
9564
9565 2007-08-28  Dan Williams  <dcbw@redhat.com>
9566
9567         * src/nm-device-interface.c
9568           src/nm-device-interface.h
9569                 - Kill one more bit of NMData
9570
9571 2007-08-28  Dan Williams  <dcbw@redhat.com>
9572
9573         * src/NetworkManagerSystem.h
9574           src/nm-device.c
9575           src/nm-device.h
9576           src/nm-hal-manager.c
9577           src/NetworkManager.c
9578           src/nm-device-802-11-wireless.c
9579           src/nm-hal-manager.h
9580           src/nm-device-802-3-ethernet.c
9581           src/vpn-manager/nm-vpn-service.h
9582           src/vpn-manager/nm-vpn-manager.c
9583           src/vpn-manager/nm-vpn-manager.h
9584           src/vpn-manager/nm-vpn-service.c
9585           src/nm-device-802-11-wireless.h
9586           src/NetworkManagerMain.h
9587           src/nm-device-802-3-ethernet.h
9588           src/backends/NetworkManagerGentoo.c
9589           src/backends/NetworkManagerPaldo.c
9590           src/backends/NetworkManagerFrugalware.c
9591           src/backends/NetworkManagerRedHat.c
9592           src/backends/NetworkManagerSlackware.c
9593           src/backends/NetworkManagerGeneric.c
9594           src/backends/NetworkManagerArch.c
9595           src/backends/NetworkManagerSuSE.c
9596           src/backends/NetworkManagerGeneric.h
9597           src/backends/NetworkManagerDebian.c
9598                 - Kill NMData
9599
9600 2007-08-28  Dan Williams  <dcbw@redhat.com>
9601
9602         * src/NetworkManagerMain.h
9603           src/nm-device-802-11-wireless.c
9604           src/NetworkManager.c
9605                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9606                 for now we should set the 'invalid' property on individual APs, and when
9607                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9608                 that ESS
9609
9610 2007-08-28  Dan Williams  <dcbw@redhat.com>
9611
9612         * src/NetworkManagerAP.c
9613           src/NetworkManagerAP.h
9614                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9615                         'autoconnect' property instead
9616
9617         * src/NetworkManager.c
9618           src/NetworkManagerMain.h
9619           src/NetworkManagerPolicy.c
9620           src/NetworkManagerPolicy.h
9621                 - Remove the 'allowed_ap_list', which should be replaced by 
9622                         NMConnection/NMSettings instead, since _those_ are the allowed
9623                         things that NM can connect to
9624
9625         * src/nm-device-802-11-wireless.c
9626                 - Remove both allowed_ap_list usage and 'fallback' checking
9627
9628 2007-08-28  Dan Williams  <dcbw@redhat.com>
9629
9630         * src/nm-device.c
9631           src/named-manager/nm-named-manager.c
9632           src/named-manager/nm-named-manager.h
9633           src/NetworkManager.c
9634           src/vpn-manager/nm-vpn-manager.c
9635           src/NetworkManagerMain.h
9636           src/NetworkManagerSystem.c
9637                 - Remove the named-manager object from NMData structure in preparation
9638                 for NMData's timely death.  Make the NMNamedManager the singleton that
9639                 it really is
9640
9641 2007-08-28  Dan Williams  <dcbw@redhat.com>
9642
9643         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9644         each AP's capabilities, and by NMConnection/NMSettings objects for user
9645         defined connections.
9646
9647         * include/NetworkManager.h
9648                 - Redefine 802.11 security properties.  There are now device capabilities
9649                         and AP flags and AP security flags.  It was way to unclear before.
9650
9651         * src/Makefile.am
9652           src/nm-ap-security-leap.h
9653           src/nm-ap-security-leap.c
9654           src/nm-ap-security-wpa-eap.c
9655           src/nm-ap-security-wpa-eap.h
9656           src/nm-ap-security-private.h
9657           src/nm-ap-security-wpa-psk.c
9658           src/nm-ap-security-wpa-psk.h
9659           src/nm-ap-security-wep.c
9660           src/nm-ap-security-wep.h
9661           src/nm-ap-security.c
9662           src/nm-ap-security.h
9663                 - Removed, to be replaced with NMConnection/NMSettings objects
9664
9665         * src/nm-dbus-nmi.c
9666           src/nm-dbus-nmi.h
9667                 - Removed, to be replaced by code that talks to the new info daemon
9668                         interface and gets NMConnection/NMSettings objects
9669
9670         * src/backends/NetworkManagerSuSE.c
9671                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9672                         info-daemon that does the same thing but talks the new info-daemon
9673                         D-Bus interface
9674
9675         * src/NetworkManagerAP.h
9676           src/NetworkManagerAP.c
9677           src/NetworkManagerAPList.c
9678           libnm-glib/libnm-glib-test.c
9679                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9680                         WPA/RSN
9681
9682         * libnm-glib/nm-access-point.c
9683           libnm-glib/nm-access-point.h
9684           introspection/nm-access-point.xml
9685           test/nm-tool.c
9686                 - Adjust to new flags for AP security
9687
9688         * utils/nm-utils.c
9689           utils/nm-utils.h
9690           src/vpn-manager/nm-dbus-vpn.c
9691                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9692                         stuff which is the only place it's used
9693
9694         * src/nm-device-interface.c
9695           src/nm-device-interface.h
9696           introspection/nm-device.xml
9697           src/nm-activation-request.c
9698           src/nm-activation-request.h
9699           src/nm-device.c
9700                 - Add a new 'specific_object' argument that hints to NM what actual
9701                         AP or other device-specific thing the connection should apply to.
9702                         NMConnection objects can apply to more than one actual device/AP.
9703
9704         * libnm-util/nm-connection.c
9705         * libnm-util/nm-connection.h
9706                 - Add 'have_secrets" call stubs
9707
9708         * libnm-util/cipher.h
9709                 - Move NM_AUTH_TYPE_* defines here for now
9710
9711         * src/nm-device-802-11-wireless.c
9712                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9713                         NMSettings objects
9714
9715         * src/NetworkManagerDbus.c
9716         * src/NetworkManagerPolicy.c
9717                 - Remove usage of update_allowed_networks, should be pushing data in
9718                         a different manner
9719
9720 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9721
9722         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9723         dbus-glib frees it when the call is done.
9724
9725 2007-08-26  Dan Williams  <dcbw@redhat.com>
9726
9727         * introspection/nm-device.xml
9728                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9729
9730 2007-08-26  Dan Williams  <dcbw@redhat.com>
9731
9732         * src/nm-device-802-3-ethernet.c
9733                 - (constructor): move connection of interface-connected/disconnected
9734                         signals here from real_bring_up().  Should be listening to netlink
9735                         for carrier events no matter what the initial state of the device
9736                         is.
9737
9738 2007-08-26  Dan Williams  <dcbw@redhat.com>
9739
9740         * src/nm-netlink-monitor.c
9741                 - (nm_netlink_monitor_class_init): fix marshalling types for
9742                         interface-connected/interface-disconnected
9743                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9744                         check
9745
9746 2007-08-26  Dan Williams  <dcbw@redhat.com>
9747
9748         Convert to using interface indexes as the primary method of identifying
9749         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9750         be renamed at any time.  Device object paths now refer to the device
9751         index rather than the name, and you can map those two manually if you like
9752         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9753         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9754         to use interface indexes rather than names.
9755
9756 2007-08-26  Dan Williams  <dcbw@redhat.com>
9757
9758         * src/nm-netlink-monitor.h
9759                 - Remove one last bit of wireless-event signal
9760
9761 2007-08-26  Dan Williams  <dcbw@redhat.com>
9762
9763         * src/nm-netlink-monitor.c
9764                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9765                         don't need the 'wireless-event' signal anymore since that's all
9766                         handled by wpa_supplicant
9767
9768 2007-08-25  Dan Williams  <dcbw@redhat.com>
9769
9770         It's 2007. Remove support for drivers that don't support wireless scanning.
9771
9772         * test/nm-tool.c
9773           include/NetworkManager.h
9774           src/NetworkManagerUtils.c
9775           src/NetworkManagerPolicy.c
9776           src/nm-device-802-11-wireless.c
9777                 - Remove special handling for non-scanning devices and mark them
9778                         as unsupported/unhandled
9779
9780 2007-08-20  Dan Williams  <dcbw@redhat.com>
9781
9782         * src/nm-device-802-11-wireless.c
9783           src/nm-device-802-3-ethernet.c
9784                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9785                         because when the card is pulled or the module removed, the device
9786                         is already !IFF_UP and then device-specific cleanup (removing
9787                         the supplicant interface, periodic checks, etc) never gets done
9788
9789 2007-08-20  Dan Williams  <dcbw@redhat.com>
9790
9791         * src/nm-manager.c
9792                 - (nm_manager_remove_device): bring device down before disconnecting
9793                         signal handlers, so that the 'state' signal will get broadcast when
9794                         the device enters the DOWN state
9795                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9796                         of states that cause the NMManager to recheck its state
9797
9798 2007-08-20  Dan Williams  <dcbw@redhat.com>
9799
9800         * src/supplicant-manager/nm-supplicant-interface.c
9801                 - (interface_disconnect_done): don't try to dispose of the net proxy
9802                         when it may already have been disposed of
9803
9804 2007-08-20  Dan Williams  <dcbw@redhat.com>
9805
9806         * src/nm-device-802-11-wireless.c
9807                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9808                         the SSID isn't available; this can happen when the card is pulled
9809                         or the module unloaded, during the post-removal deactivation
9810                         paths, when the ioctl returns ENODEV
9811
9812 2007-08-20  Dan Williams  <dcbw@redhat.com>
9813
9814         * src/nm-device-802-11-wireless.c
9815                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9816                         frequency, and mode match.  Applets are now responsible for grouping
9817                         access points
9818
9819 2007-08-20  Dan Williams  <dcbw@redhat.com>
9820
9821         * src/NetworkManagerAP.c
9822         * src/NetworkManagerAP.h
9823                 - (nm_ap_print_self): new function
9824
9825         * src/NetworkManagerAPList.c
9826                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9827                         to do it all here
9828         
9829 2007-08-17  Dan Williams  <dcbw@redhat.com>
9830
9831         * src/nm-device-802-3-ethernet.c
9832                 - (real_bring_down): don't try to dispose of stuff that might not
9833                         exist
9834
9835 2007-08-17  Dan Williams  <dcbw@redhat.com>
9836
9837         * src/NetworkManagerAP.c
9838                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9839                         applet.  This ensures that the case between the seen-bssids and
9840                         the bssids reported by the driver match.
9841
9842 2007-08-17  Dan Williams  <dcbw@redhat.com>
9843
9844         * src/nm-device-802-11-wireless.c
9845                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9846                         we dispose of the interface proxy in NM
9847
9848 2007-08-16  Dan Williams  <dcbw@redhat.com>
9849
9850         * libnm-glib/nm-client.c
9851                 - (nm_client_init): create VPN connections hash table with key free
9852                         function
9853                 - (proxy_vpn_connection_added): VPN connections hash table key should
9854                         be a duplicated value, not the same memory address as the VPN
9855                         connection name.  This is because the VPN connection name could
9856                         potentially be freed and set to something else during the lifetime
9857                         of the NMVPNConnection object.
9858
9859 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9860
9861         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9862         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9863         with the file descriptors. Send a child setup function to change the pppd
9864         progress group.
9865
9866 2007-08-15  Dan Williams  <dcbw@redhat.com>
9867
9868         * src/supplicant-manager/nm-supplicant-interface.c
9869                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9870                         an interface
9871                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9872                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9873                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9874                         the interface internally
9875
9876 2007-08-15  Dan Williams  <dcbw@redhat.com>
9877
9878         * src/nm-device-802-11-wireless.c
9879                 - (real_bring_down): move most of this function into device_cleanup()
9880                         so that it can be called from elsewhere
9881                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9882                         and stuff on dispose.  These would normally get cleaned up when
9883                         the device is marked down and deactivated, but when the device is
9884                         hot-unplugged, it's already down and real_down() never gets run
9885
9886 2007-08-15  Dan Williams  <dcbw@redhat.com>
9887
9888         * src/nm-dbus-nmi.c
9889                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9890                         caused a reference leak on device for which NM requested a key
9891
9892 2007-08-15  Dan Williams  <dcbw@redhat.com>
9893
9894         * libnm-glib/nm-client.c
9895                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9896
9897 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9898
9899         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9900         nothing is using it at the moment, but it'll be all useful and stuff later on.
9901
9902         * libnm-util/nm-setting.h: Define NMSettingPPP.
9903
9904         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9905
9906         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9907
9908         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9909
9910         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9911
9912         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9913
9914 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9915
9916         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9917
9918         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9919         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9920         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9921         name and different arguments and it won't compile anymore. To fix this, we now have
9922         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9923         that is new API + compatibility API and used by the daemon. The other, 
9924         nm-manager-client.xml is only the new API without compatibility bits and is used
9925         by libnm-glib to make it compile.
9926
9927         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9928
9929         * src/nm-manager.c (impl_manager_legacy_sleep)
9930         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9931         interface functions for 0.6 branch.
9932
9933 2007-08-14  Dan Williams  <dcbw@redhat.com>
9934
9935         * src/NetworkManagerAP.c
9936                 - (nm_ap_new_from_properties): fix mistaken check of return value
9937                         from memcmp (should expect 0)
9938
9939 2007-08-14  Dan Williams  <dcbw@redhat.com>
9940
9941         (force-commit to fix wrong comment and partial commit of r2685; this
9942          commit actually applies to r2685)
9943
9944         * src/NetworkManagerUtils.c
9945                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9946                         ignores trailing nulls in the SSID to work around mismatches in
9947                         expectations between WEXT and what the info-daemon passes back.  The
9948                         info-daemon would pass back the correct length, but due to the
9949                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9950                         the device would always have an SSID + 1 depending on what versions
9951                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9952                         visible by just quitting the applet and relaunching, which caused
9953                         NM to reassociated to the same network over again when reloading
9954                         the save networks.
9955
9956         * src/NetworkManagerPolicy.c
9957           src/NetworkManagerUtils.h
9958           src/nm-device-802-11-wireless.c
9959                 - Update for new parameter to nm_utils_same_ssid()
9960
9961 2007-08-14  Dan Williams  <dcbw@redhat.com>
9962
9963         * src/NetworkManagerAP.c
9964                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9965                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9966                         setting the BSSID to all 0s.  That confused the heck out of NM,
9967                         plus it's useless and probably out-of-spec.
9968
9969 2007-08-14  Dan Williams  <dcbw@redhat.com>
9970
9971         * callouts/Makefile.am
9972           src/dhcp-manager/nm-dhcp-manager.c
9973           src/dhcp-manager/nm-dhcp-manager.h
9974           src/dhcp-manager/Makefile.am
9975                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9976
9977 2007-08-14  Dan Williams  <dcbw@redhat.com>
9978
9979         * src/dhcp-manager/nm-dhcp-manager.c
9980                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9981                         it's really needed, get rid of unused xtra_args parameter
9982
9983 2007-08-14  Dan Williams  <dcbw@redhat.com>
9984
9985         * include/NetworkManagerVPN.h
9986           src/vpn-manager/nm-dbus-vpn.c
9987           src/vpn-manager/nm-dbus-vpn.h
9988           src/vpn-manager/nm-vpn-act-request.c
9989           src/vpn-manager/nm-vpn-act-request.h
9990           src/vpn-manager/nm-vpn-service.c
9991           src/vpn-manager/nm-vpn-service.h
9992           libnm-glib/nm-vpn-connection.c
9993           libnm-glib/nm-vpn-connection.h
9994           libnm-glib/nm-client.h
9995                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9996                         NMVPNServiceState to clarify what they apply to
9997                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9998                         NMVPNActStage -> NMVPNConnectionState for the same reason
9999
10000         * libnm-glib/nm-client.c
10001                 - Constant + type renames from above
10002                 - Properly handle NameOwnerChanged/manager_running signals
10003                         for NM service; only emit when state really changes
10004                 - Use hash tables correctly so that the key (which was previously owned
10005                         by the D-Bus message) now has the same lifetime as the value, since
10006                         the key is now taken from the the NMVPNConnection itself.  This
10007                         really fixes the double-VPN names in the applet
10008
10009 2007-08-13  Dan Williams  <dcbw@redhat.com>
10010
10011         Patch from Michael Biebl <biebl@debian.org>
10012
10013         * po/POTFILES.in
10014           po/POTFILES.skip
10015                 - Update for vpn-properties move
10016
10017 2007-08-13  Dan Williams  <dcbw@redhat.com>
10018
10019         * libnm-glib/nm-client.c
10020                 - Convert internal VPN connection tracking from a list to a hash table
10021                         to easily avoid duplicates
10022                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10023                         must be freed by the caller, like nm_client_get_devices()
10024                 - (nm_client_remove_vpn_connection): don't let the removal signal
10025                         leak through for NMVPNConnection objects that aren't actually
10026                         tracked.
10027                 - (manager_running): throw away VPN connection list when NM goes away,
10028                         like with the device list
10029
10030 2007-08-13  Dan Williams  <dcbw@redhat.com>
10031
10032         * src/dhcp-manager/nm-dhcp-manager.c
10033                 - Stop any dhclient instance that might be already running for a
10034                         particular interface before starting an NM spawned dhclient.  Fixes
10035                         dhclient processes left over if NM crashes, stuff like that.
10036
10037 2007-08-13  Dan Williams  <dcbw@redhat.com>
10038
10039         * src/NetworkManagerAP.c
10040                 - (finalize): don't try to g_array_free (NULL, ...), which happened
10041                         when the AP wasn't broadcasting it's SSID
10042
10043 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
10044
10045         * include/NetworkManager.h: added DBus path for connection settings.
10046
10047         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10048         nm_connection_settings_signal_updated,
10049         nm_connection_settings_signal_removed): new functions to wrap the
10050         objects' signals.
10051         (nm_connection_settings_init): register GObject with DBus.
10052         (nm_connection_settings_get_dbus_object_path): new function.
10053
10054         * libnm-glib/Makefile.am: added libnmutil to link flags.
10055
10056 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10057
10058         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10059
10060         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10061         libnm_glib directory got merged with libnm-glib/.
10062
10063         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10064
10065         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10066         Rename the library from libnm-glib to libnm_glib to maintain the library API
10067         compatibility with 0.6 branch.
10068
10069         * Makefile.am: Remove gnome/ SUBDIR.
10070
10071         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10072
10073         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10074
10075         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10076
10077         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10078         anymore.
10079         Remove checks for wpa_supplicant binary, it's used over dbus.
10080         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10081
10082         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10083         Link the binaries with libnm_glib.la.
10084
10085 2007-08-12  Dan Williams  <dcbw@redhat.com>
10086
10087         * src/NetworkManagerPolicy.c
10088                 - (nm_policy_device_change_check): fix policy to deactivate old device
10089                         before activating new one, at least until the multiple active
10090                         device support lands
10091
10092 2007-08-12  Dan Williams  <dcbw@redhat.com>
10093
10094         * src/NetworkManagerPolicy.c
10095                 - (nm_policy_new): hook up to connection-added / connection-removed
10096                         signals instead of connections-changed
10097
10098 2007-08-12  Dan Williams  <dcbw@redhat.com>
10099
10100         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10101         Robert Frank <rfrank@redhat.com>
10102
10103         * src/dhcp-manager/nm-dhcp-manager.c
10104           src/dhcp-manager/nm-dhcp-manager.c
10105           src/nm-device.c
10106                 - Spawn and communicate with dhclient directly, through means of a
10107                 custom dhclient callout script.  Process callout D-Bus signals
10108                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10109                 sent via gobject signals rather than being driven by the dhcp manager
10110                 directly.
10111
10112 2007-08-12  Dan Williams  <dcbw@redhat.com>
10113
10114         * callouts/nm-dhcp-client-action.c
10115                 - (build_message): ignore non-DHCP-related environment variables
10116
10117 2007-08-12  Dan Williams  <dcbw@redhat.com>
10118
10119         * Makefile.am
10120           configure.in
10121           callouts/Makefile.am
10122           callouts/nm-dhcp-client-action.c
10123           callouts/nm-dhcp-client.conf
10124                 - Add dhclient-executed callout that takes the place of dhclient-script
10125                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10126                 NM then listens for
10127
10128 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10129
10130         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10131
10132         * libnm-glib/nm-client.h:
10133         * libnm-glib/nm-object.h:
10134         * libnm-glib/nm-vpn-connection.h:
10135         * libnm-glib/nm-settings.h:
10136         * libnm-glib/nm-device.h:
10137         * libnm-glib/nm-ip4-config.h:
10138         * libnm-glib/nm-access-point.h:
10139         * libnm-glib/nm-device-802-3-ethernet.h:
10140         * libnm-util/nm-setting.h: 
10141         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10142
10143         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10144
10145         * libnm-glib/nm-access-point.c: Strength has type char.
10146
10147         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10148         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10149
10150         * introspection/nm-access-point.xml: Strength property is char, not int.
10151
10152         * src/NetworkManagerAP.c (set_property): Set strength from char.
10153         (get_property): Handle hidden APs (with empty SSID).
10154         Get strength value from char.
10155         (nm_ap_class_init): Strength property has char type.
10156
10157 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10158
10159         * introspection/Makefile.am:
10160         * introspection/nm-settings.xml:
10161         * introspection/nm-settings-connection.xml: added Settings interfaces.
10162
10163         * libnm-glib/nm-settings.[ch]:
10164         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10165         containing the DBus implementation.
10166
10167 2007-07-26  Dan Williams  <dcbw@redhat.com>
10168
10169         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10170
10171         * src/NetworkManagerSystem.c
10172                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10173                         same subnet (#437396)
10174
10175 2007-07-26  Dan Williams  <dcbw@redhat.com>
10176
10177         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10178
10179         * gnome/vpn-properties/nm-vpn-properties.c
10180                 - Fix translatable strings (#445865)
10181
10182 2007-07-26  Dan Williams  <dcbw@redhat.com>
10183
10184         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10185
10186         * configure.in
10187                 - Remove useless junk (#412530)
10188
10189 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10190
10191         Patch from Robert Buchholz <rbu@gentoo.org>:
10192
10193         * configure.in:
10194         * Makefile.am:
10195         * introspection/Makefile.am:
10196         Make make distcheck work again.
10197
10198 2007-06-27  Dan Williams  <dcbw@redhat.com>
10199
10200         * Make SSIDs GByteArrays everywhere
10201         * Rename "essid" -> "ssid" everywhere that's appropriate
10202         * Refcount activation_ap member of the 802.11 wireless device class
10203
10204 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10205
10206         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10207
10208 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10209
10210         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10211         that we got a new AP when we just update existing AP properties.
10212
10213 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10214
10215         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10216
10217         * nm-utils.[ch]: Remove.
10218
10219         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10220         objects for easy property access and dbus connection handling.
10221
10222         * libnm-glib/nm-client.c: Derive from NMObject.
10223
10224         * libnm-glib/nm-device.c: Ditto.
10225
10226         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10227
10228         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10229
10230         * libnm-glib/nm-ip4-config.c: Ditto.
10231
10232         * libnm-glib/nm-access-point.c: Ditto.
10233
10234         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10235         comparision. Currently used by the device activation code to determine if the new
10236         activation is the same as the old one.
10237
10238         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10239         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10240         able to ask password for the AP.
10241
10242         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10243         up if the device is already connected, tear down it's connection (if it isn't the
10244         same as new one) and start the activation.
10245
10246         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10247
10248         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10249         the issue where all APs are always listed as encrypted.
10250
10251         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10252         their own registered paths.
10253
10254         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10255         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10256
10257 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10258
10259         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10260         (0 & 0 == 0, doh)
10261
10262         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10263         because the handling code will cause the next state change and signal listeners
10264         get the signals in wrong order.
10265
10266         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10267         correctly in case of pending activation.
10268
10269         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10270         Convert the essid byte array to string correctly, including the terminating NULL.
10271
10272         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10273         mode with correct types.
10274
10275         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10276         constructed info to dbus call instead of the activation request.
10277
10278 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10279
10280         Patch from Christian Persch <chpe@gnome.org>
10281
10282         * libnm-glib/Makefile.am:
10283         * dispatcher-daemon/Makefile.am:
10284         Use the correct variables, the correct paths, and correct ordering. (446315)
10285
10286 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10287
10288         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10289         argument. The activation request is easy to retrieve.
10290
10291         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10292         just to be a convenient location for devices to store random stuff.
10293
10294 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10295
10296         Patch from Alex Smith <alex@alex-smith.me.uk>
10297
10298         * src/backends/NetworkManagerFrugalware.c:
10299         Update the FrugalWare backend to fix a few segfaults. (#392642)
10300
10301 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10302
10303         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10304
10305         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10306         setting.
10307         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10308
10309 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10310
10311         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10312         automagically.
10313         Implement NMSettingIP4Config.
10314         Finish NMSettingWired by adding all known members.
10315         (setting_wired_verify): Implement.
10316         Finish NMSettingWireless by adding all known members.
10317         (setting_wireless_verify): Implement.
10318
10319         * libnm-util/nm-connection.c: Register "ipv4" setting.
10320         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10321         dump function, we can introspect the GHashTable which is used for sending connections
10322         over dbus.
10323
10324         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10325         Take GByteArray for essid, it's really not a string.
10326
10327         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10328         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10329         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10330         means overriding the values we got from DHCP.
10331         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10332         (nm_device_deactivate_quickly): Ditto.
10333
10334         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10335         for debugging.
10336
10337 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10338
10339         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10340         NMConnection.
10341
10342         * libnm-glib/nm-device-802-11-wireless.c:
10343         (nm_device_802_3_ethernet_activate): Remove.
10344
10345         * libnm-glib/nm-device-802-3-ethernet.c
10346         (nm_device_802_3_ethernet_activate): Remove.
10347
10348         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10349
10350         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10351         NMConnection.
10352
10353         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10354         activation has started.
10355         Implement the new activation using NMConnection.
10356
10357         * src/nm-activation-request.c: Store a generic connection object instead
10358         of a wireless-specific AP.
10359
10360         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10361         on device type, create a device specific connection object suitable for
10362         device activation.
10363
10364         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10365         specific check to validate the connection and on success start the
10366         activation.
10367
10368         * src/nm-device-interface.h: Add a activate virtual function to the
10369         interface definition.
10370
10371         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10372         (impl_device_activate): Implement.
10373
10374         * introspection/nm-device.xml: Add a generic device activation interface
10375         that accepts an abstract NMConnection structure that has device-specific
10376         information in it.
10377
10378         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10379         activation interface.
10380
10381         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10382         activation interface.
10383
10384         * libnm-util/nm-connection.c: 
10385         * libnm-util/nm-connection.h: 
10386         * libnm-util/nm-setting.c:
10387         * libnm-util/nm-setting.h: Add.
10388
10389         * libnm-util/Makefile.am: Build the added files.
10390
10391         * src/nm-dbus-manager.c
10392         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10393         DbusConnection argument from 'name-owner-changed' signal. The manager
10394         is already passed as a first argument to the signal and the connection
10395         is easy enough to get from it.
10396
10397         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10398         Update the signature of the function.
10399
10400         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10401         Ditto.
10402
10403         * src/NetworkManager.c: Ditto.
10404
10405         * src/named-manager/nm-named-manager.c
10406         (nm_named_manager_name_owner_changed): Ditto.
10407
10408         * src/supplicant-manager/nm-supplicant-manager.c
10409         (nm_supplicant_manager_name_owner_changed): Ditto.
10410
10411         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10412
10413         * src/dhcp-manager/nm-dhcp-manager.c
10414         (nm_dhcp_manager_name_owner_changed): Ditto.
10415
10416         * src/nm-hal-manager.c: Add a list of device detectors and creators
10417         to make it easier to add new devices. Each device type has it's own
10418         entry in the table so adding new device types is only a matter of
10419         implementing a couple of functions, one for device detection and the
10420         other for device creation.
10421
10422 2007-04-25  Dan Williams  <dcbw@redhat.com>
10423
10424         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10425                 (gnome.org #432401)
10426
10427 2007-03-30  Dan Williams  <dcbw@redhat.com>
10428
10429         * src/NetworkManagerSystem.c
10430                 - (nm_system_device_set_ip4_route): clean up and fix argument
10431                         to nm_dev_sock_open()
10432
10433 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10434
10435         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10436         data to correct types instead of always using string.
10437
10438         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10439         _not_ have NM_802_11_CAP_PROTO_NONE.
10440         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10441         is not set.
10442
10443 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10444
10445         * libnm-glib/Makefile.am: Fix the build issue.
10446
10447 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10448
10449         * libnm-glib/nm-vpn-connection.h: 
10450         * libnm-glib/nm-vpn-connection.c: Implement.
10451
10452         * libnm-glib/nm-client.c: Add VPN support.
10453
10454         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10455         handler for VPN.
10456
10457         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10458         on DBUS again.
10459
10460 2007-03-26  Dan Williams  <dcbw@redhat.com>
10461
10462         * src/NetworkManagerAPList.c
10463         * src/nm-device-802-11-wireless.c
10464         * src/NetworkManagerAP.c:
10465                 - Store last seen as glong instead of GTimeVal.
10466                 - Fix the upper bound of capabilities, it's a bitfield.
10467
10468 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10469
10470         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10471
10472         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10473         "manager-running" signal that notifies the appearance/disappearance of NM.
10474         (nm_client_sleep): Implement.
10475
10476         * libnm-glib/nm-device.c:
10477         * libnm-glib/nm-device-802-11-wireless.c: 
10478         * libnm-glib/nm-device-802-3-ethernet.c: 
10479
10480         Don't inherit from DBusGProxy, add a proxy to private
10481         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10482         for anything but their own dbus interface. DBusGProxy objects support only one
10483         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10484         interface. The nice side effect of this change is that we do not create a new
10485         DBusGProxy object for each property access.
10486
10487 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10488
10489         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10490         with zeroes before passing them to functions - the functions never do that and
10491         reading the values back may produce wrong values.
10492         (real_bring_up): Store the signal handler id ...
10493         (real_bring_down): ... So that it can be removed here.
10494         Disconnect the supplicant interface here as well.
10495         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10496         from the access point instead of old $device/Networks/$essid.
10497
10498         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10499         device state is connected (instead of just having link/carrier).
10500
10501         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10502         already easily accessible through the device.
10503
10504         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10505         store it within the object.
10506         (nm_ap_get_dbus_path): Export it to public as well.
10507
10508         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10509         of the singleton.
10510
10511 2007-03-12  Dan Williams  <dcbw@redhat.com>
10512
10513         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10514         for non-carrier-detect capable devices, and useless for carrier-detect
10515         devices since we get notifications from netlink about carrier status anyway.
10516
10517         * src/nm-device-802-3-ethernet.c
10518                 - remove 'link_source_id' member from private data
10519                 - (probe_link): remove and collapse into real_update_link()
10520                 - (nm_device_802_3_periodic_update): remove
10521                 - (real_is_up): check for sup_iface rather than link_source_id
10522                 - (real_bring_up): return gboolean for success/fail; require that
10523                         sup_iface be valid for device bringup to succeed
10524                 - (real_bring_down): zero out link signal ids
10525
10526         * src/nm-device.c
10527                 - (nm_device_activate_stage2_device_config): fail activation if device
10528                         bringup fails
10529                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10530                         fails
10531                 - (nm_device_bring_up): return success/fail
10532
10533         * src/nm-device.h
10534                 - bring_up now returns success/fail
10535
10536         * src/nm-device-802-11-wireless.c
10537                 - (real_bring_up): return success from bringup
10538
10539 2007-03-07  Dan Williams  <dcbw@redhat.com>
10540
10541         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10542         * src/nm-ap-security-wpa-psk.c
10543                 - (real_write_supplicant_config): work with PSKs that may contain
10544                         zeros in the binary format rather than treating it as a string
10545
10546 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10547
10548         * libnm-glib/nm-device-802-11-wireless.c
10549         (nm_device_802_11_wireless_get_capabilities): Implement.
10550
10551         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10552
10553         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10554
10555         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10556         reply only if it's not NULL. Not sure why this started happening right now.
10557
10558         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10559         code paths for when devices get removed on shutdown or when a device is just
10560         removed.
10561         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10562         gets freed so any signal from a device (disconnected for instance) would invoke
10563         NMState update which would crash.
10564         (nm_manager_remove_device): Bring the device down when it gets removed.
10565
10566         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10567         the unused dev_type.
10568
10569         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10570         reference to the added device, NMManager will own it (if it wants).
10571
10572         * test/nm-tool.c: Rewrite using libnm-glib.
10573
10574         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10575         We get signalled when it changes.
10576
10577         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10578         when it changes.
10579
10580         * libnm-glib/nm-device.c: Cache the device state property.
10581
10582         * libnm-glib/nm-access-point.c: Cache the strength property.
10583
10584         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10585         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10586         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10587         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10588         the device is down, activating, or activated (in case of A/B/G cards).
10589         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10590         it's all done through supplicant now.
10591
10592         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10593         counting issues with pending calls which caused leaks and crashes when
10594         interface was removed (now that the interface actually gets removed).
10595
10596         * src/nm-call-store.c: Make a copy of data before running a foreach
10597         with user callback on it - The most common usage pattern is to cancel
10598         (and thus remove) all pending calls with foreach which would modify
10599         the hash table we're iterating over.
10600
10601         * src/nm-manager.c: When a device is added, make sure it is "up". When
10602         it's removed or disabled due to disabling wireless or networking, bring
10603         it down.
10604
10605         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10606
10607         * src/nm-device-802-11-wireless.c: 
10608         * src/nm-device-802-3-ethernet.c: 
10609         * src/nm-device.c:
10610                 - Remove "init" virtual function, all gobjects have a place for that
10611                   already (constructor).
10612                 - Replace "start" virtual function with "bring_up", devices can be
10613                   brought up and down more than just on startup now.
10614                 - Add "is_up" virtual function.
10615                 - Implement one way to bring a device down instead of previous 4 different
10616                   ways, each of witch did something different.
10617
10618         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10619         all it needs is the device interface.
10620
10621         Get rid of NMData.dev_list (3 members to go).
10622         Get rif of NMData in a lot of places.
10623
10624         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10625
10626 2007-02-23  Dan Williams  <dcbw@redhat.com>
10627
10628         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10629
10630         * src/NetworkManagerAP.c
10631                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10632                         OR-ing rather than AND-ing
10633
10634 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10635
10636         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10637         "network-removed" signals.
10638
10639         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10640
10641         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10642         when receiving the signal from dbus.
10643
10644         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10645         property.
10646
10647         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10648         deactivation of the previously activated device working again.
10649
10650         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10651         and setter.
10652
10653         * src/nm-device.c (nm_device_is_activated): Remove.
10654         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10655
10656         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10657         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10658         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10659         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10660         Remove NMNetworkStatus and NMActStage enums.
10661
10662 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10663
10664         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10665         Handle device state changes and disconnect VPN if it's device deactivates.
10666
10667         * src/nm-dbus-nm.c: 
10668         * src/nm-dbus-nm.h: 
10669         * src/nm-dbus-device.c: 
10670         * src/nm-dbus-device.c: 
10671         * src/nm-dbus-net.c: 
10672         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10673
10674         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10675
10676         * src/nm-device.c (nm_device_get_by_udi):
10677         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10678         implemented in the correct location (NMManager).
10679         Rip out all the test_device stuff.
10680
10681         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10682         failure handlers, it's all done by NMDevice already.
10683
10684         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10685         Remove the iochannel hack to route the unix signals to the main thread since
10686         we're not threaded anymore.
10687
10688         * src/NetworkManagerAP.c: Implement HWAddress property.
10689
10690         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10691         automatically with dbus-glib.
10692
10693         * src/nm-netlink-monitor.c: 
10694         * src/nm-netlink-monitor.h:
10695                 - Move it low in the class hierarchy, don't reference any NM types.
10696                 - Remove private data from the header.
10697                 - Use type safe checks in public API methods.
10698                 - Make it a singleton so we don't have to pass the single reference around.
10699
10700 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10701
10702         * introspection/nm-ip4-config.xml: Implement.
10703
10704         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10705
10706         * libnm-glib/nm-ip4-config.c:
10707         * libnm-glib/nm-ip4-config.c: Implement.
10708
10709         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10710         securities. APs reference security.
10711
10712         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10713         be exported over DBUS.
10714
10715         * src/nm-device-802-3-ethernet.c: Ditto.
10716
10717         * src/NetworkManagerAP.c:
10718         * src/NetworkManagerAP.h:
10719                 - Convert to GObject, export over DBUS.
10720
10721         * src/nm-ip4-config.h:
10722         * src/nm-ip4-config.h:
10723                 - Convert to GObject, export over DBUS.
10724
10725 2007-02-12  Dan Williams  <dcbw@redhat.com>
10726
10727         Patch from Helmut Schaa <hschaa@suse.de>
10728
10729         * vpn-daemons/pptp/configure.in
10730           vpn-daemons/pptp/Makefile.am
10731           vpn-daemons/openvpn/configure.in
10732           vpn-daemons/openvpn/Makefile.am
10733           vpn-daemons/vpnc/configure.in
10734           vpn-daemons/vpnc/Makefile.am
10735                 - Add --without-gnome switch which disables building gnome bits
10736
10737 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10738
10739         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10740
10741         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10742
10743         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10744         'HwAddress'.
10745
10746         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10747
10748         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10749
10750         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10751
10752         * src/:
10753                 - Remove old low-level dbus interface implementations and replace them
10754                   with dbus-glib one.
10755
10756         * configure.in:
10757                 - Require dbus-glib >= 0.72.
10758                 - Plug in new sources to build.
10759
10760         * libnm-glib/:
10761                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10762                   to make it more convenient to use from GObject based programs.
10763
10764         * introspection/:
10765                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10766
10767 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10768
10769         * src/nm-device-802-11-wireless.c:
10770                 - Add "network-added" and "network-removed" signals.
10771                 - Use gobject boilerplate macros to define the GObject.
10772                 - Implement wireless device activation.
10773                 - Remove activation_failure_handler and activation_success_handler
10774                   and instead listen on state-changed signals and run the same code
10775                   from there.
10776
10777         * src/nm-device.c:
10778                 - Implment NMDeviceInterface::deactivate.
10779                 - Remove activation_failure_handler and activation_success_handler
10780                   virtual methods. Each device which is interested in these events
10781                   can just listen on it's state changed signals.
10782
10783         * src/NetworkManagerPolicy.c:
10784                 - Move a bit more NMData usage to NMManager.
10785                 - Remove activation scheduling bits.
10786                 - Add listeners for wireless device's "network-added" and
10787                   "network-removed" signals.
10788                 - Listen device changed signals and deactivate currently activated
10789                   device when another device start activating (for now).
10790                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10791                   for calling this, the policy code knows exactly when this should happen,
10792                   by listening on events from NMManager and NMDevices.
10793
10794         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10795         Implement.
10796
10797         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10798         method on the specific device instead of going to through policy code
10799         and determining the device type by passed in AP's existance.
10800
10801         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10802         abstract NMDevice deactivation.
10803
10804 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10805
10806         * src/NetworkManager.c:
10807                 - Set up all the shiny new managers.
10808
10809         * src/NetworkManagerPolicy.c:
10810                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10811                   classes to call into policy code, make the policy code kind of like
10812                   a supervisor that monitors what's going on and drives the whole NM.
10813
10814         * src/nm-hal-manager.c: 
10815         * src/nm-hal-manager.h:
10816                 - Collect all libhal code scattered around NM to this one class.
10817                 - Listen libhal and NMManager events and add/remove devices to
10818                   NMManager.
10819
10820         * src/nm-manager.c:
10821         * src/nm-manager.h:
10822                 - Implment a replacement for NMData. NMData is now officially
10823                 deprecated.
10824
10825 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10826
10827         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10828         * src/supplicant-manager/nm-supplicant-interface.h
10829         * src/supplicant-manager/nm-supplicant-interface.c
10830         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10831         argument to boolean from enum.
10832
10833         Make NMDevice abstract class, remove almost all references to it's
10834         subclasses (the last place gets removed with new policy manager). Add
10835         NMDeviceInterface (which NMDevice implements) so that when we have
10836         NMDevice exported over DBUS, there's a common NMDevice interface which
10837         all instances have, plus there's a device specific interface for each
10838         specific type.
10839         Remove functions (nm_device_is_802_3_ethernet) and
10840         (nm_device_is_802_11_wireless). There are already standard GObject macros
10841         for type safe checks.
10842         Use the updated supplican manager API.
10843
10844         * src/nm-device-interface.h: 
10845         * src/nm-device-interface.c: 
10846         * src/nm-call-store.h: 
10847         * src/nm-call-store.c: Implement.
10848
10849         * src/supplicant-manager/nm-supplicant-interface.c:
10850         * src/supplicant-manager/nm-supplicant-interface.h:
10851         * src/supplicant-manager/nm-supplicant-manager.c:
10852         * src/supplicant-manager/nm-supplicant-manager.h:
10853                 - Remove all private data type references from public header files.
10854                 - Remove all references to other NM classes, this class is just a
10855                   proxy between wpa_supplicant and NM so it doesn't have to know
10856                   any internals.
10857                 - Convert to dbus-glib bindings.
10858                 - Type safe checks for public methods' arguments.
10859                 - Store pending DBUS call ids to NMCallStore.
10860
10861         * src/supplicant-manager/nm-supplicant-config.c:
10862                 - Store config values in a GHashTable instead of GSList.
10863
10864         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10865
10866         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10867         singleton now.
10868
10869         * src/nm-device.c: Use the new DHCP manager API.
10870
10871         * src/nm-activation-request.c:
10872         * src/nm-activation-request.h:
10873                 - Remove all dhcp related properties and methods.
10874
10875         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10876
10877         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10878
10879         * src/dhcp-manager/nm-dhcp-manager.c:
10880         * src/dhcp-manager/nm-dhcp-manager.h:
10881                 - Convert it to GObject since we need to signal state changes.
10882                 - Remove all references to other NM classes, this class is one
10883                   of the lowest classes in our hierarchy.
10884                 - One less class to use NMActRequest.
10885                 - Make it singleton, one less user of NMData.
10886                 - Remove a couple of sleep() calls.
10887                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10888                   One less class to use the NM's custom tailored signal handlig.
10889
10890         * Makefile.am: Generate marshallers, add them to build.
10891
10892 2007-02-02  Dan Williams  <dcbw@redhat.com>
10893
10894         * configure.in
10895           gnome/Makefile.am
10896           nm-applet.desktop
10897           Makefile.am
10898                 - Remove last bits referencing gnome applet
10899
10900 2007-02-02  Dan Williams  <dcbw@redhat.com>
10901
10902         * src/vpn-manager/nm-vpn-service.c
10903                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10904                         and NBNS server addresses
10905
10906 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10907
10908         * src/nm-dbus-manager.c:
10909         * src/nm-dbus-manager.h:
10910                 - Convert all internal DBUS code to use dbus-glib bindings.
10911                 - Remove GObject properties, we don't need them here.
10912                 - Don't explicitly set things to NULL after freeing, glib is
10913                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10914                 - Make public API argument checks type safe.
10915                 - Remove unnecessary (and wrong) cast to GObject for the first
10916                   argument to g_signal_* calls - The first argument is a gpointer.
10917                 - Export DBusGConnection to other cool classes that (are going to)
10918                   use dbus-glib.
10919
10920 2007-01-26  Dan Williams  <dcbw@redhat.com>
10921
10922         * libnm-util/dbus-dict-helpers.c
10923           libnm-util/dbus-dict-helpers.h
10924                 - Coordinate style with wpa_supplicant version to minimize diff
10925                 - Add uint32 array support
10926                 - (nmu_dbus_dict_append_uint32_array): new function
10927                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10928                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10929                         version; allow adding string array elements individually
10930
10931         * test/libnm-util/test-dbus-dict-helpers.c
10932                 - Test uint32 arrays
10933
10934 2007-01-27  Jürg Billeter  <j@bitron.ch>
10935
10936         * src/backends/NetworkManagerPaldo.c
10937                 - (nm_system_update_dns): clear nscd hosts cache
10938
10939 2007-01-04  Dan Williams  <dcbw@redhat.com>
10940
10941         Threading removal related cleanups:
10942
10943         - Use the glib default main context.  Remove the device main context
10944                 member from NMDevice, and the main_context member from NMData.  Change
10945                 all the idle and timeout scheduler functions to use plain
10946                 g_idle_add() and g_timeout_add().
10947
10948         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10949                 takes an argument; fix that up too.
10950
10951         - Remove all locking, which is useless since we no longer use threads.  For
10952                 example, nm_get_device_by_iface_locked() has been removed.  The global
10953                 device list lock, the AP List lock, and all static locks in
10954                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10955                 in NetworkManagerUtils.c have also been removed.
10956
10957         - Other cleanups in spacing and code style
10958
10959 2007-01-01  Dan Williams  <dcbw@redhat.com>
10960
10961         Found by Bill Moss:
10962
10963         * src/supplicant-manager/nm-supplicant-interface.c
10964                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10965                         the supplicant interface wasn't already disconnected.  Always
10966                         call removeNetwork and disconnect unless the supplicant interface
10967                         is in the DISCONNECTED or INACTIVE state.
10968
10969 2006-12-28  Dan Williams  <dcbw@redhat.com>
10970
10971         Use a single thread for everything.  With the move to wpa_supplicant
10972         and communication over D-Bus, there's no reason for multiple threads.
10973         Almost all of the blocking code has been removed, with one exception in
10974         the DHCP manager and a few in the VPN manager.  This commit removes the
10975         per-device worker thread and fixes activation cancellation in the absence
10976         of threads.  Further removal of thread-related code would be removing
10977         any locking code (like the device list lock) and simplification of logic
10978         around areas of code or data structures that are currently locked.
10979
10980         * autoip.c
10981           dhcp-manager/nm-dhcp-manager.c 
10982           nm-device-802-11-wireless.c
10983           nm-device-802-3-ethernet.c
10984           nm-device.c
10985           nm-device.h
10986                 - Remove usage of multiple threads
10987
10988 2006-12-19  Dan Williams  <dcbw@redhat.com>
10989
10990         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10991         plus a few other patches from wpa_supplicant bugzilla.
10992
10993         * src/Makefile.am
10994           src/NetworkManagerPolicy.c
10995           src/NetworkManagerUtils.c
10996           src/NetworkManagerUtils.h
10997           src/nm-ap-security-leap.c
10998           src/nm-ap-security-wep.c
10999           src/nm-ap-security-wpa-eap.c
11000           src/nm-ap-security-wpa-psk.c
11001           src/nm-ap-security.c
11002           src/nm-ap-security.h
11003           src/nm-device-802-11-wireless.c
11004           src/nm-device-802-11-wireless.h
11005           src/supplicant-manager/nm-supplicant-config.c
11006           src/supplicant-manager/nm-supplicant-config.h
11007           src/supplicant-manager/nm-supplicant-interface.c
11008           src/supplicant-manager/nm-supplicant-interface.h
11009           src/supplicant-manager/nm-supplicant-marshal.list
11010           src/supplicant-manager/nm-supplicant-settings-verify.c
11011           src/supplicant-manager/nm-supplicant-settings-verify.h
11012                 - Move all connection management and association handling to
11013                         wpa_supplicant over dbus, rather than spawning a private copy
11014
11015 2006-12-19  Dan Williams  <dcbw@redhat.com>
11016
11017         * src/NetworkManagerPolicy.c
11018                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11019                         better locking of the device change check handler ID.  Incorrect
11020                         locking was causing lost device change requests
11021
11022 2006-12-18  Dan Williams  <dcbw@redhat.com>
11023
11024         * libnm-util/dbus-dict-helpers.c
11025                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11026                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
11027                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
11028
11029 2006-12-18  Dan Williams  <dcbw@redhat.com>
11030
11031         * gnome/libnm_glib/libnm_glib.c
11032                 - Change dbus_connection_close() -> dbus_connection_unref()
11033
11034 2006-12-11  Dan Williams  <dcbw@redhat.com>
11035
11036         * src/supplicant-manager/nm-supplicant-interface.c
11037                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11038                         wpa_supplicant interface state
11039                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11040                         state before transitioning to READY state
11041
11042 2006-12-04  Dan Williams  <dcbw@redhat.com>
11043
11044         * src/nm-device-802-11-wireless.c
11045                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11046                         odd length of ESSID returned from ieee80211 stack-based drivers
11047
11048 2006-12-04  Dan Williams  <dcbw@redhat.com>
11049
11050         * src/nm-device-802-11-wireless.c
11051                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11052                         IE handling blocks that cause mis-parsing of the IE
11053
11054 2006-12-04  Dan Williams  <dcbw@redhat.com>
11055
11056         * src/nm-device-802-11-wireless.c
11057                 - (init_supplicant_interface): new function; pull supplicant interface
11058                         setup code out into standalone function since it must be called from
11059                         two different places
11060                 - (real_init): sup_mgr is now in private object data; get and track
11061                         the supplicant manager object over the NMDevice subclass' lifetime
11062                         and register a signal handler for its state signals; only try to
11063                         initialize the supplicant interface if the supplicant manager is in
11064                         the IDLE state (and therefore is ready for requests)
11065                 - (request_wireless_scan): reschedule the scan request if (a) there is
11066                         no supplicant interface yet (meaning wpa_supplicant isn't running
11067                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11068                         for requests yet
11069                 - (supplicant_iface_connection_state_cb): new function; stub for
11070                         handling supplicant interface connection state signals
11071                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11072                         comes and goes
11073                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11074                         supplicant manager object that's being tracked starting with this
11075                         commit
11076
11077 2006-12-04  Dan Williams  <dcbw@redhat.com>
11078
11079         * src/supplicant-manager/nm-supplicant-interface.c
11080                 - (nm_supplicant_interface_set_property): track signal handler ID
11081                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11082
11083 2006-12-04  Dan Williams  <dcbw@redhat.com>
11084
11085         * src/supplicant-manager/nm-supplicant-interface.[ch]
11086                 - (nm_supplicant_interface_get_state): new function
11087
11088 2006-12-04  Dan Williams  <dcbw@redhat.com>
11089
11090         * src/supplicant-manager/nm-supplicant-interface.c
11091                 - (bssid_properties_cb): don't treat DBus errors as valid
11092                         scanned AP messages
11093
11094 2006-12-04  Dan Williams  <dcbw@redhat.com>
11095
11096         * src/supplicant-manager/nm-supplicant-interface.[ch]
11097                 - (nm_supplicant_interface_get_connection_state): new function
11098                 - define new supplicant connection states
11099                 - send a signal when the supplicant connection state changes
11100
11101 2006-12-03  Dan Williams  <dcbw@redhat.com>
11102
11103         * src/supplicant-manager/Makefile.am
11104           src/supplicant-manager/nm-supplicant-connection.h
11105           src/supplicant-manager/nm-supplicant-connection.c
11106           src/supplicant-manager/nm-supplicant-config.h
11107           src/supplicant-manager/nm-supplicant-config.c
11108           src/supplicant-manager/nm-supplicant-types.h
11109           src/supplicant-manager/nm-supplicant-interface.h
11110           src/supplicant-manager/nm-supplicant-interface.c
11111                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11112
11113 2006-12-03  Dan Williams  <dcbw@redhat.com>
11114
11115         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11116
11117         * po/POTFILES.in
11118           po/POTFILES.skip
11119                 - Move VPN-related translatables to .skip
11120
11121         * vpn-daemons/pptp/po/POTFILES.in
11122                 - Update with new translatables
11123
11124 2006-12-02  Dan Williams  <dcbw@redhat.com>
11125
11126         Patch from Christian Persch <chpe@gnome.org>
11127
11128         * gnome/applet/Makefile.am
11129           gnome/applet/applet-dbus-devices.c
11130           gnome/applet/applet-notifications.c
11131           gnome/applet/applet.c
11132           gnome/applet/applet.h
11133           gnome/applet/main.c
11134                 - Be a GtkStatusIcon on GTK+ >= 2.10
11135
11136 2006-12-02  Dan Williams  <dcbw@redhat.com>
11137
11138         * gnome/applet/applet.c
11139                 - (nma_update_info): fix two unecessary allocations
11140
11141 2006-12-02  Dan Williams  <dcbw@redhat.com>
11142
11143         Patch from Michael Biebl <biebl@teco.edu>
11144         * configure.in
11145           man/NetworkManager.1.in
11146           man/NetworkManagerDispatcher.1.in
11147           man/NetworkManager.8.in
11148           man/NetworkManagerDispatcher.8.in
11149                 - Add .SH NAME stanzas
11150                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11151
11152 2006-12-02  Dan Williams  <dcbw@redhat.com>
11153
11154         Patch from Christian Persch <chpe@gnome.org>
11155
11156         * configure.in
11157                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11158
11159 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11160
11161         Patch by Timo Hoenig <thoenig@suse.de>:
11162         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11163         DBUS-1.0.
11164
11165         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11166         we can't use the one from the main source directory.
11167
11168 2006-11-27  Dan Williams  <dcbw@redhat.com>
11169
11170         Patch from Christian Persch <chpe@gnome.org>
11171
11172         * gnome/applet/applet-dbus-devices.c
11173                 - (hal_info_product_cb): fix memleak; free duped string.
11174                         Gnome.org #379908
11175
11176 2006-11-27  Dan Williams  <dcbw@redhat.com>
11177
11178         Patch from Christian Persch <chpe@gnome.org>
11179
11180         * gnome/applet/menu-items.c
11181                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11182                         as gtk_progress_set_percentage is deprecated.  Should
11183                         work as far back as GTK+ 2.4.  Gnome.org #379780
11184
11185 2006-11-26  Dan Williams  <dcbw@redhat.com>
11186
11187         Scan using wpa_supplicant over DBus.
11188
11189         * src/nm-device-802-11-wireless.c
11190                 - remove wireless extensions netlink event handler bits
11191                         (wireless_event_helper, nm_device_802_11_wireless_event)
11192                 - remove wireless extensions scan event handler bits
11193                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11194                         hex2byte, hex2num, request_and_convert_scan_results,
11195                         free_process_scan_cb_data, scan_results_timeout,
11196                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11197                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11198                         and request scans from the supplicant interface rather than directly
11199                 - Move functionality of convert_scan_results() to cull_scan_list() and
11200                         supplicant_iface_scanned_ap_cb()
11201                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11202                         at the scan interval when the current scan has finished
11203                 - (supplicant_iface_state_cb): start scanning when the supplicant
11204                         interface enters the READY state, and stop scanning when it
11205                         enters the DOWN state
11206                 - (cull_scan_list): weed out old access points from the scan list
11207                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11208                         point into an NMAccessPoint and merge it into the device's scan list
11209
11210         * src/supplicant-manager/nm-supplicant-interface.c
11211           src/supplicant-manager/nm-supplicant-interface.h
11212                 - Add a new signal "scan-result" which is issued when the supplicant
11213                         notifies NM that a scan has completed
11214                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11215                         point found in the scan.  Called once for each access point that
11216                         the supplicant interface object receives from the supplicant as a
11217                         result of the "scanResults" method call
11218                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11219                         for the initial scan results
11220                 - (scan_request_cb): new function; send listeners the result
11221                         (success, error) of a wireless scan request
11222                 - (nm_supplicant_interface_request_scan): new function; ask the
11223                         supplicant to perform an immediate wireless scan
11224
11225 2006-11-25  Dan Williams  <dcbw@redhat.com>
11226
11227         * src/supplicant-manager/Makefile.am
11228                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11229                         add HAL cflags/includes and named-manager includes directory
11230
11231         * src/supplicant-manager/nm-supplicant-interface.h
11232                 - New state STARTING to handle transition from INIT to READY where
11233                         the addInterface pending call is still outstanding
11234
11235         * src/supplicant-manager/nm-supplicant-interface.c
11236                 - track pending calls differently since we may have more than one
11237                         going on at any given time
11238                 - request scan results from wpa_supplicant; but don't do it more often
11239                         than every 4 seconds.  Drivers that do background scanning
11240                         (like the 'ipw' drivers) send a continuous stream of scan completion
11241                         notifications, so we don't want to hammer the supplicant or dbus
11242                         with requests for all scan results every time we get a completion
11243                         notification.
11244
11245 2006-11-25  Dan Williams  <dcbw@redhat.com>
11246
11247         * src/supplicant-manager/nm-supplicant-types.h
11248                 - new file; move all supplicant manager object typedefs here for
11249                         #include sanity
11250
11251         * src/supplicant-manager/nm-supplicant-interface.c
11252           src/supplicant-manager/nm-supplicant-interface.h
11253                 - new file; an object that interfaces an NMDevice object to the
11254                         supplicant and handles signals from the supplicant.  This object
11255                         does all necessary DBus communication with wpa_supplicant.
11256
11257         * src/supplicant-manager/nm-supplicant-manager.c
11258           src/supplicant-manager/nm-supplicant-manager.h
11259                 - Actually do something.  Track the state of the wpa_supplicant service
11260                         and deal with its comings & goings.  Handle life events of
11261                         supplicant interfaces too.
11262                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11263
11264         * src/supplicant-manager/nm-supplicant-connection.h
11265                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11266
11267         * src/supplicant-manager/Makefile.am
11268                 - Add new files to build, and add libnm-util to includes
11269
11270         * src/nm-marshal.list
11271                 - New marshaler type: VOID:UINT,UINT
11272
11273         * src/nm-device-802-3-ethernet.c
11274                 - (real_init): grab a supplicant interface
11275                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11276                 - (supplicant_iface_state_cb): new function, stub for handling
11277                         supplicant interface state changes
11278
11279         * src/nm-device-802-11-wireless.c
11280                 - (real_init): grab a supplicant interface
11281                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11282                 - (supplicant_iface_state_cb): new function, stub for handling
11283                         supplicant interface state changes
11284
11285         * src/NetworkManager.c
11286                 - (main): create and keep the supplicant manager around for the lifetime
11287                         of NetworkManager
11288
11289         * src/Makefile.am
11290                 - Link to the supplicant manager sub-library and use the supplicant
11291                         manager includes
11292
11293 2006-11-25  Dan Williams  <dcbw@redhat.com>
11294
11295         Rework DBus manager signal handling to be more flexible.  Previously,
11296         only one signal handler could be registered for a particular interface.
11297         The DBus manager now reference counts DBus bus matches and allows multiple
11298         clients to register signal handlers for the same interface and sender.
11299
11300         * src/NetworkManager.c
11301                 - (main): track NMI signal handler ID and remove it when we quit
11302
11303         * src/NetworkManagerMain.h
11304                 - Keep track of NMI signal handler ID
11305
11306         * src/nm-dbus-manager.c
11307           src/nm-dbus-manager.h
11308                 - rework signal handling; each signal handler references one signal
11309                         match, but a signal match may be referenced by one or more
11310                         signal handlers.  Matches are refcounted and are destroyed when the
11311                         last signal handler that references the match is removed.  This is
11312                         necessary because two signal handlers may end up requiring the same
11313                         dbus bus match, so the match must live until the last signal handler
11314                         is destroyed (for example, with the wpa_supplicant network interface
11315                         dbus interface).
11316
11317         * src/dhcp-manager/nm-dhcp-manager.c
11318                 - (nm_dhcp_manager_new): track DHCP signal handler id
11319                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11320
11321         * src/vpn-manager/nm-vpn-service.c
11322                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11323                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11324
11325 2006-11-25  Dan Williams  <dcbw@redhat.com>
11326
11327         Suggested by Helmut Schaa <hschaa@suse.de>
11328
11329         * src/vpn-daemons/nm-vpn-service.c
11330                 - (supplicant_child_setup): new function
11331                 - (supplicant_exec): make child process use a new process group id
11332
11333         * src/nm-device-802-11-wireless.c
11334                 - (nm_vpn_service_child_setup): new function
11335                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11336                         process group id
11337
11338 2006-11-19  Dan Williams  <dcbw@redhat.com>
11339
11340         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11341         * gnome/vpn-properties/nm-vpn-properties.c
11342                 - clean up after renamed VPN connection
11343
11344 2006-11-19  Dan Williams  <dcbw@redhat.com>
11345
11346         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11347         * gnome/applet/applet-dbus-vpn.c
11348                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11349
11350         * gnome/vpn-properties/nm-vpn-properties.c
11351                 - (init_app): sort VPN connections
11352
11353 2006-11-09  Dan Williams  <dcbw@redhat.com>
11354
11355         * src/NetworkManagerAPList.c
11356                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11357                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11358                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11359                 broke hidden SSID matching.  Found by Bill Moss.
11360
11361 2006-10-25  Dan Williams  <dcbw@redhat.com>
11362
11363         * src/nm-dbus-nm.c
11364                 - (nm_dbus_nm_set_active_device): return an empty success message on
11365                         success, rather than falling through to the error case.
11366
11367 2006-10-25  Dan Williams  <dcbw@redhat.com>
11368
11369         * src/NetworkManagerUtils.c
11370                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11371                         "SCAN" command
11372
11373 2006-10-24  Dan Williams  <dcbw@redhat.com>
11374
11375         Reduce the number of times the Gnome applet wakes up, especially when
11376         it's doing absolutely nothing and is hidden.  Initial patch by
11377         Chris Aillon.
11378
11379         * gnome/applet/applet-dbus.c
11380                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11381                         kill the redraw timeout.  When NM starts up, start the redraw
11382                         timeout.  Also, if we get kicked off the bus for some reason,
11383                         start the reconnection timeout if one's not already running.
11384                 - (nma_dbus_init): better handling of error conditions, don't leak
11385                         a half-initialized dbus connection
11386                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11387                         the applet's data, just call nm_dbus_init_helper()
11388                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11389                         timeout that calls nma_dbus_connection_watcher()
11390                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11391                         reconnection timeout, and don't start the reconnection timeout
11392                         unconditionally anymore
11393
11394         * gnome/applet/applet-dbus.h
11395                 - Expose nma_start_dbus_connection_watch()
11396
11397         * gnome/applet/applet.c
11398                 - (nma_update_state): no longer static, called from applet-dbus.c for
11399                         immediate UI updates on certain events
11400                 - (nma_set_running): new function; take over setting applet->running,
11401                         when not running (ie, NM is not active), don't activate the redraw
11402                         timeout because we're not showing the applet anyway.  When we are
11403                         running (ie, NM is active), and only when we're running, start the
11404                         redraw timeout.
11405                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11406                         kill any reconnection timeout
11407                 - (nma_get_instance): move one-off dbus initialization code here since
11408                         nm_dbus_init_helper() gets called more than once, possibly by the
11409                         reconnection timeout function too.  And, when we start up, if we
11410                         can't get a connection to the bus, start the reconnection timeout.
11411                         But don't start the redraw timeout yet, only do that when we get
11412                         NM's state and find out if it's running or not.
11413
11414         * gnome/applet/applet.h
11415                 - Add the reconnection GSource ID
11416                 - Add prototypes for nma_set_running() and the no-longer-static
11417                         nma_update_state()
11418
11419 2006-10-24  Dan Williams  <dcbw@redhat.com>
11420
11421         * src/vpn-daemons/nm-dbus-vpnc.c
11422                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11423                         pending call tracker
11424                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11425                         pending call tracker; register one-vpn-connection update pending
11426                         call in pending call tracker
11427                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11428                         update pending call in pending call tracker
11429                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11430                         update pending call in pending call tracker; don't block waiting
11431                         for call to return
11432
11433 2006-10-19  Robert Love  <rml@novell.com>
11434
11435         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11436           refresh the cache.
11437
11438 2006-10-14  Dan Williams  <dcbw@redhat.com>
11439
11440         * src/dhcp-manager/nm-dhcp-manager.c
11441                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11442                 the dbus connection and the device object path rather than
11443                 constructing it inside both functions.  Saves a bit of memory
11444                 and clarifies a failure path.
11445                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11446                 and allocate device path here rather than each of the two
11447                 functions above.
11448
11449 2006-10-13  Dan Williams  <dcbw@redhat.com>
11450
11451         * src/NetworkManager.c
11452                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11453                 this somehow droppout in the refactor
11454
11455 2006-10-13  Dan Williams  <dcbw@redhat.com>
11456
11457         * Huge DBus refactor:
11458                 - Create a "DBus Manager" object which manages the connection and
11459                 sends signals on NameOwnerChanged and connection/disconnection events,
11460                 handles reconnection to the bus if NM gets kicked off, and abstracts
11461                 signal handling
11462                 - Remove DBusConnection members from places where they are no
11463                 longer needed due to the refactor, like the dbus-connection
11464                 property of the named manager, and from NMData
11465                 - Reformats a bunch of the code to gnome style
11466                 (8-space tabs, braces on same line as statement, 80-col width).
11467                 Consider it open season to reformat any bits to gnome style.
11468                 style that aren't already.
11469
11470 2006-10-13  Dan Williams  <dcbw@redhat.com>
11471
11472         * src/supplicant-manager/Makefile.am
11473                 - Add new files
11474
11475         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11476                 - Make it a minimal GObject
11477
11478         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11479                 - Verify settings destined for wpa_supplicant
11480
11481         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11482                 - Minimal GObject to track wpa_supplicant controlled device
11483                 connections
11484
11485 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11486
11487         * gnome/applet/applet.c: (nma_update_info),
11488         (nma_act_stage_to_pixbuf), (nma_update_state):
11489         Mark missing strings for translation. Fixes bug #343306.
11490
11491 2006-10-01  Dan Williams  <dcbw@redhat.com>
11492
11493         * src/vpn-manager/nm-vpn-manager.c
11494                 - (nm_vpn_manager_load_services): split and clean up
11495                 for readability and correctness.  Restrict VPN service
11496                 files to ending in ".name", as was meant from the
11497                 beginning (but not coded in).  Better error reporting.
11498
11499 2006-10-01  Dan Williams  <dcbw@redhat.com>
11500
11501         * utils/nm-utils.h
11502                 - Clean up formatting of debug/info/warning log messages
11503
11504 2006-09-27  Robert Love  <rml@novell.com>
11505
11506         Patch by Tambet Ingo <tambet@ximian.com>:
11507         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11508           actually work.
11509
11510 2006-09-07  Dan Williams <dcbw@redhat.com>
11511
11512         * test/Makefile.am
11513           test/libnm-util/Makefile.am
11514           test/nm-supplicant-test.c
11515                 - Add test program emulating the way NM drives wpa_supplicant
11516                 to help debug supplicant issues
11517
11518 2006-08-24  Dan Williams <dcbw@redhat.com>
11519
11520         * configure.in
11521           src/Makefile.am
11522           src/supplicant-manager/Makefile.am
11523           src/supplicant-manager/nm-supplicant-manager.c
11524           src/supplicant-manager/nm-supplicant-manager.h
11525                 - Add skeleton bits of the wpa_supplicant manager
11526
11527 2006-08-24  Dan Williams <dcbw@redhat.com>
11528
11529         Patch from Ed Catmur:
11530         * src/NetworkManagerUtils.c
11531                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11532                 if netmask is 0 (Gnome #352634)
11533
11534 2006-08-17  Robert Love  <rml@novell.com>
11535
11536         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11537           package is now DBUS-enabled and listens for the NM signals.
11538
11539 2006-08-14  Dan Williams  <dcbw@redhat.com>
11540
11541         * Patch from Christian Persch <chpe gnome org>
11542         * configure.in
11543           po/LINGUAS
11544           vpn-daemons/openvpn/po/LINGUAS
11545           vpn-daemons/openvpn/configure.in
11546           vpn-daemons/pptp/po/LINGUAS
11547           vpn-daemons/pptp/configure.in
11548           vpn-daemons/vpnc/po/LINGUAS
11549           vpn-daemons/vpnc/configure.in
11550                 - Convert to LINGUAS method so translators don't have to modify
11551                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11552                 0.35 or higher
11553
11554 2006-08-14  Dan Williams  <dcbw@redhat.com>
11555
11556         Patch from Alex Smith <alex.extreme2@gmail.com>
11557         * configure.in
11558           src/backends/Makefile.am
11559           src/backends/NetworkManagerFrugalware.c
11560                 - Add support for Frugalware
11561
11562 2006-08-13  Dan Williams  <dcbw@redhat.com>
11563
11564         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11565         * src/nm-device-802-11-wireless.c
11566                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11567                 Gnome #346875
11568
11569 2006-08-13  Dan Williams  <dcbw@redhat.com>
11570
11571         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11572         * src/nm-ap-security.c
11573           src/nm-ap-security.h
11574                 - Add authentication_required bits for subclasses to specify whether
11575                 or not real authentication is required for connections, i.e. whether
11576                 the AP rejects us when an encryption key is wrong or not.
11577
11578         * src/nm-ap-security-wep.c
11579           src/nm-ap-security-wpa-eap.c
11580           src/nm-ap-security-wpa-psk.c
11581           src/nm-ap-security-leap.c
11582                 - Implement authentication_required appropriately for each method
11583
11584         * src/nm-device-802-11-wireless.c
11585                 - Be smarter about when to request a key; for example, using a wrong key
11586                 in WEP shared key mode previously just timed out and did not request
11587                 a new key
11588
11589 2006-08-13  Dan Williams  <dcbw@redhat.com>
11590
11591         * gnome/libnm_glib/libnm_glib.c
11592                 - dbus_connection_disconnect() -> dbus_connection_close() for
11593                 dbus >= 0.90
11594
11595 2006-08-07  Dan Williams  <dcbw@redhat.com>
11596
11597         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11598         * src/NetworkManagerSystem.c
11599                 - Respect specified MTU.  Gnome #344967
11600
11601 2006-08-07  Dan Williams  <dcbw@redhat.com>
11602
11603         * src/vpn-manager/nm-vpn-service.c
11604                 - Simplify print_vpn_config() arguments
11605
11606         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11607         * src/vpn-manager/Makefile.am
11608           src/vpn-manager/nm-vpn-service.c
11609                 - Add new API for passing VPN config options as a dict. Gnome #344967
11610
11611 2006-08-06  Dan Williams  <dcbw@redhat.com>
11612
11613         * gnome/applet/applet-dbus-devices.c
11614           gnome/applet/applet-dbus-vpn.c
11615           gnome/applet/applet-dbus.c
11616           gnome/applet/applet-dbus.h
11617           src/nm-dbus-nmi.c
11618           utils/nm-utils.c
11619           utils/nm-utils.h
11620                 - Make pending call tracking code generic,
11621                 so we can use it in NM as well as the applet
11622
11623 2006-08-06  Dan Williams  <dcbw@redhat.com>
11624
11625         * src/nm-activation-request.c
11626                 - Refcount pending call objects
11627
11628 2006-08-06  Dan Williams  <dcbw@redhat.com>
11629
11630         Patch from Christan Chiesa <christanc@gmail.com>
11631         * configure.in
11632                 - Tell sha1.c to use bigendian mode on PPC
11633
11634 2006-08-04  Robert Love  <rml@novell.com>
11635
11636         Glib Memory Slices!
11637         * configure.in: Require glib 2.10 or later.
11638         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11639           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11640           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11641           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11642           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11643           Memory Slices are the greatest thing since bread slices.
11644         * src/NetworkManagerAP.c: Also, fix memory leak.
11645
11646 2006-08-01  Robert Love  <rml@novell.com>
11647
11648         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11649
11650 2006-07-31  Robert Love  <rml@novell.com>
11651
11652         * src/backends/interface_parser.c: Declarations must begin the block.
11653
11654 2006-07-24  Dan Williams  <dcbw@redhat.com>
11655
11656         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11657         * src/backends/Makefile.am
11658           src/backends/NetworkManagerArch.c
11659           src/backends/NetworkManagerDebian.c
11660           src/backends/NetworkManagerGeneric.c
11661           src/backends/NetworkManagerGeneric.h
11662           src/backends/NetworkManagerGentoo.c
11663           src/backends/NetworkManagerPaldo.c
11664           src/backends/NetworkManagerRedHat.c
11665           src/backends/NetworkManagerSlackware.c
11666           src/backends/NetworkManagerSuSE.c
11667                 - Genericize common backend functions
11668
11669 2006-07-18  Robert Love  <rml@novell.com>
11670
11671         * configure.in: Add "--with-notify" option to allow disabling of
11672           libnotify support.
11673
11674 2006-07-13  Dan Williams  <dcbw@redhat.com>
11675
11676         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11677         * gnome/applet/applet.glade
11678           gnome/applet/Makefile.am
11679           gnome/applet/nm-gconf-wso.c
11680           gnome/applet/nm-gconf-wso-leap.c
11681           gnome/applet/nm-gconf-wso-leap.h
11682           gnome/applet/wireless-security-manager.c
11683           gnome/applet/wso-leap.c
11684           gnome/applet/wso-leap.h
11685           include/NetworkManager.h
11686           libnm-util/dbus-helpers.c
11687           libnm-util/dbus-helpers.h
11688           src/Makefile.am
11689           src/NetworkManagerAP.c
11690           src/nm-ap-security.c
11691           src/nm-ap-security-leap.c
11692           src/nm-ap-security-leap.h
11693                 - Add LEAP authentication support
11694
11695 2006-07-13  Dan Williams  <dcbw@redhat.com>
11696
11697         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11698         * configure.in
11699           src/backends/NetworkManagerArch.c
11700           src/backends/NetworkManagerDebian.c
11701           src/backends/NetworkManagerGentoo.c
11702           src/backends/NetworkManagerPaldo.c
11703           src/backends/NetworkManagerRedHat.c
11704           src/backends/NetworkManagerSlackware.c
11705           src/backends/NetworkManagerSuSE.c
11706                 - Convert hardcoding of 'ip' path to configure-time
11707                         detected one
11708
11709 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11710
11711         * configure.in: added ru to ALL_LINGUAS
11712
11713 2006-07-10  Dan Williams  <dcbw@redhat.com>
11714
11715         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11716         * src/nm-device.c
11717                 - (real_act_stage3_ip_config_start): don't infinite loop when
11718                         dhcdbd isn't running (Gnome #346845)
11719
11720 2006-07-09  Dan Williams  <dcbw@redhat.com>
11721
11722         * gnome/applet/applet.c
11723                 - (nma_destroy): don't pass NULL to notify_notification_close
11724                         (RH #197917)
11725
11726 2006-07-09  Dan Williams  <dcbw@redhat.com>
11727
11728         * gnome/applet/applet.c
11729                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11730
11731 2006-07-04  Tor Krill  <tor@krill.nu>
11732
11733         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11734         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11735         (nm_system_restart_mdns_responder), (ArchReadConfig),
11736         (nm_system_device_get_system_config):
11737                 - Explicitly check for DHCP configuration
11738                 - Check if daemons are running before starting them
11739
11740 2006-06-25  Dan Williams  <dcbw@redhat.com>
11741
11742         * libnm-util/dbus-dict-helpers.[ch]
11743           test/libnm-util/test-dbus-dict-helpers.c
11744                 - Add string array support
11745
11746 2006-06-24  Dan Williams  <dcbw@redhat.com>
11747
11748         * src/dhcp-manager/nm-dhcp-manager.c
11749                 - (nm_dhcp_manager_process_signal): clean up spacing
11750
11751 2006-06-21  Dan Williams  <dcbw@redhat.com>
11752
11753         * src/nm-dbus-device.c
11754                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11755                         through dbus
11756
11757 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11758
11759         * configure.in: Added 'lv' to ALL_LINGUAS
11760
11761 2006-06-19  Dan Williams  <dcbw@redhat.com>
11762
11763         * src/NetworkManagerAP.c
11764                 - Clarify usage of user_created
11765
11766         * src/nm-ap-security-wep.c
11767           src/nm-ap-security-wpa-eap.c
11768           src/nm-ap-security-wpa-psk.c
11769           src/nm-ap-security.c
11770           src/nm-ap-security.h
11771                 - s/user_created/adhoc, because we really do mean adhoc
11772
11773         Patch from Bernard Blackham <bernard@blackham.com.au>
11774         * src/nm-device-802-11-wireless.c         
11775                 - (supplicant_send_network_config): instead of user_created,
11776                         use adhoc, and do AP_SCAN 2 for adhoc networks
11777
11778 2006-06-18  Robert Love  <rml@novell.com>
11779
11780         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11781           we have a value to set.  Gconf generates a warning if `val' is NULL.
11782         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11783           unless we actually received a valid private key file passphrase or
11784           password.  Otherwise, we don't know to later ask the applet to pull
11785           the key from the keyring.
11786
11787 2006-06-17  Dan Williams  <dcbw@redhat.com>
11788
11789         * libnm-util/dbus-dict-helpers.[ch]
11790           test/libnm-util/test-dbus-dict-helpers.c
11791                 - Fixes for zero-length byte arrays
11792                 - Replace return values of 0 with FALSE for clarity
11793                 - Test zero-length byte arrays
11794
11795 2006-06-17  Dan Williams  <dcbw@redhat.com>
11796
11797         * libnm-util/dbus-dict-helpers.[ch]
11798           test/libnm-util/test-dbus-dict-helpers.c
11799                 - Add helpers for byte arrays
11800                 - Rework bits of the testcase
11801
11802 2006-06-16  Dan Williams  <dcbw@redhat.com>
11803
11804         * libnm-util/Makefile.am
11805         * libnm-util/dbus-dict-helpers.[ch]
11806                 - Add some helpers to take the pain out of using dict types in
11807                         dbus.
11808
11809         * test/libnm-util/Makefile.am
11810         * test/libnm-util/test-dbus-dict-helpers.c
11811                 - Test cases for the dict helper functions
11812
11813 2006-06-15  Robert Love  <rml@novell.com>
11814
11815         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11816           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11817           if there is no key to pass.
11818         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11819           receiving a non-NULL key.
11820
11821 2006-06-14  Robert Love  <rml@novell.com>
11822
11823         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11824           copy the strings.
11825
11826
11827 2006-06-14  Dan Williams  <dcbw@redhat.com>
11828
11829         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11830         * src/nm-device-802-11-wireless.c
11831                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11832                         or ones where the driver is unknown
11833                 - (supplicant_exec): don't wait for supplicant startup here
11834                 - (supplicant_interface_init): finer grained polling for supplicant
11835                         startup
11836
11837 2006-06-13  Robert Love  <rml@novell.com>
11838
11839         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11840           if it is currently set to TRUE.  Otherwise, we will reset the value
11841           when we connect normally.
11842         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11843           the old BSSID is valid, too.  The recently added ESSID check may not be
11844           sufficient (we can remove it?).  What we really want to catch is the
11845           case of going from all-zeros to the BSSID of some other network, which
11846           happens on failure.
11847
11848 2006-06-09  Dan Williams  <dcbw@redhat.com>
11849
11850         * src/NetworkManagerSystem.[ch]
11851                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11852                         it was unused and pointless
11853                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11854                         fix for set_up_down_with_iface change
11855
11856         * src/vpn-manager/nm-vpn-connection.c
11857                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11858
11859         * src/backends/NetworkManagerPaldo.c
11860           src/backends/NetworkManagerRedHat.c
11861           src/backends/NetworkManagerSuSE.c
11862           src/backends/NetworkManagerArch.c
11863           src/backends/NetworkManagerDebian.c
11864           src/backends/NetworkManagerGentoo.c
11865                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11866                         appropriate
11867                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11868                         where appropriate
11869
11870 2006-06-09  Dan Williams  <dcbw@redhat.com>
11871
11872         Patch from Peter Jones:
11873         * src/nm-device-802-11-wireless.c
11874                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11875                         SSID hasn't changed from what we expect before automatically
11876                         updating the saved BSSID from a new AP
11877
11878 2006-06-08  Robert Love  <rml@novell.com>
11879
11880         Add 'fallback' support.  NetworkManager will attempt to brute-force
11881         connect to networks marked as fallback if there are no better wireless
11882         connections available.  This is useful as a method of last resort, to
11883         work around driver problems, and for use with hidden networks.
11884         * gnome/applet/applet-dbus-devices.c,
11885           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11886         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11887           pass it on via DBUS.
11888         * gnome/applet/applet.c: No fallback by default.
11889         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11890           Update other-network-dialog to add UI checkbox toggling fallback.
11891         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11892           propery from AP object.  Add "fallback" property to AP object.
11893         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11894         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11895         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11896           separate function.  Add get_best_fallback_ap() for returning an AP
11897           on which to attempt fallback.
11898         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11899         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11900
11901 2006-06-07  Robert Love  <rml@novell.com>
11902
11903         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11904           checked that the return type was GCONF_VALUE_STRING, not the correct
11905           GCONF_VALUE_BOOL, and thus it never worked.
11906         * src/NetworkManagerAPList.c: Before concluding that two networks are
11907           identical based on their BSSID, make sure that the BSSID in question
11908           is actually valid.  Specifically, an empty or all zero BSSID does not
11909           cut it.
11910         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11911           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11912           similar invariant clean up.
11913
11914 2006-06-02  Robert Love  <rml@novell.com>
11915
11916         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11917
11918 2006-05-28  Dan Williams  <dcbw@redhat.com>
11919
11920         * gnome/applet/applet.glade
11921           gnome/vpn-properties/nm-vpn-properties.glade
11922                 - Set window icons on dialogs  (Gnome.org #333420)
11923
11924 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11925
11926         * gnome/vpn-properties/nm-vpn-properties.glade:
11927         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11928         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11929         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11930                 - Make the VPN properties pages prettier and more HIG
11931                   compliant. Gnome Bug #336913.
11932
11933 2006-05-28  Dan Williams  <dcbw@redhat.com>
11934
11935         Patch from Christian Persch <chpe@gnome.org>
11936         * gnome/vpn-properties/nm-vpn-properties.c
11937         * gnome/vpn-properties/nm-vpn-properties.glade
11938                 - HIG-ification love  (Gnome.org #336846)
11939
11940 2006-05-28  Dan Williams  <dcbw@redhat.com>
11941
11942         Patch from Christian Persch <chpe@gnome.org>
11943         * configure.in
11944           gnome/vpn-properties/nm-vpn-properties.c
11945                 - (main): Fix option parsing.  Gnome.org #336847
11946
11947 2006-05-28  Dan Williams  <dcbw@redhat.com>
11948
11949         * gnome/vpn-properties/nm-vpn-properties.c
11950                 - (find_vpn_ui_by_service_name): protect against NULL service names
11951                 - (update_edit_del_sensitivity): protect against NULL service names
11952                         Gnome.org #341306
11953
11954 2006-05-28  Dan Williams  <dcbw@redhat.com>
11955
11956         Patch from Chris Fuller <crf@grandecom.net>:
11957         * src/nm-device-802-11-wireless.c
11958                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11959                         don't dispose of wireless-specific stuff unless it is actually
11960                         initialized.  Gnome.org #341263
11961
11962 2006-05-28  Dan Williams  <dcbw@redhat.com>
11963
11964         * src/NetworkManagerPolicy.c
11965                 - (nm_policy_device_change_check): don't switch devices if the "best"
11966                         AP is essentially the same as the current activation request, but
11967                         the current activation request isn't done activating yet.  Fixes
11968                         multiple requests for keyring password on startup for Gnome applet.
11969                         Gnome.org #341297
11970
11971 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11972
11973         * src/NetworkManager.c: use GOptions instead of getopt
11974         * configure.in: bump glib required version to >= 2.6 for GOption
11975           support
11976
11977 2006-05-25  Robert Love  <rml@novell.com>
11978
11979         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11980           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11981           instead of dumping ifdef's throughout the code.
11982         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11983           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11984           use nm_ioctl_info() in lieu.
11985
11986 2006-05-25  Robert Love  <rml@novell.com>
11987
11988         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11989         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11990           not using gcrypt.  Otherwise, we get a linker error.
11991
11992 2006-05-25  Robert Love  <rml@novell.com>
11993
11994         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11995         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11996           configure flag to disable building of the GNOME-based applet.
11997
11998 2006-05-25  Robert Love  <rml@novell.com>
11999
12000         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12001           parameter from link, because it shadows a global variable with some
12002           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
12003           should never have exported to the entire system a common four letter
12004           word.  But we here at NetworkManager are team players.  Fixes
12005           GNOME bug #336532.
12006
12007 2006-05-25  Arangel Angov <ufo@linux.net.mk>
12008
12009         * configure.in: Added mk.po, Macedonian translation.
12010
12011 2006-05-24  Robert Love  <rml@novell.com>
12012
12013         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12014           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12015           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12016
12017 2006-05-24  Robert Love  <rml@novell.com>
12018
12019         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12020           libnm-util/Makefile.am, src/Makefile.am,
12021           vpn-daemons/openvpn/auth-dialog/Makefile.am,
12022           vpn-daemons/openvpn/properties/Makefile.am,
12023           vpn-daemons/pptp/auth-dialog/Makefile.am,
12024           vpn-daemons/pptp/properties/Makefile.am,
12025           vpn-daemons/vpnc/auth-dialog/Makefile.am,
12026           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12027           user passed for --datadir, if anything, when setting the GNOME locale
12028           directory.  It should be a function of the specified datadir and not
12029           the prefix.
12030
12031 2006-05-24  Robert Love  <rml@novell.com>
12032
12033         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12034           src/NetworkManager.c: Take care to call bindtextdomain with the
12035           location of msgid files.
12036         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12037           files.
12038
12039 2006-05-22  Robert Love  <rml@novell.com>
12040
12041         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12042           stage4_timeout on failure unless the wireless network is Ad-Hoc.
12043           99% of the time there is a real problem with wireless, and a
12044           seemingly successful connection via Zeroconf just confuses the user.
12045           And that 1% of the time the network is probably Ad-Hoc, anyhow.
12046
12047 2006-05-22  Robert Love  <rml@novell.com>
12048
12049         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12050           autofs on interface up if NIS is configured.  On interface down, do
12051           nothing.
12052
12053 2006-05-22  Robert Love  <rml@novell.com>
12054
12055         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12056           to avoid calling g_object_unref() on stale pointers on error in
12057           nma_icons_free().  This happens because we short-circuit loaded the
12058           icons on the first failure but then free all icons.  Normally we have
12059           no issue because the icons were zero'ed out malloc, but we have stale
12060           pointer data after nma_icon_theme_changed().
12061         * gnome/applet/main.c: Return error code if nma_new() failed.
12062
12063 2060-05-21  Dan Williams  <dcbw@redhat.com>
12064
12065         * initscript/NetworkManager.in
12066                 - Ensure both dhcdbd and named are started before NM
12067
12068 2006-05-21  Dan Williams  <dcbw@redhat.com>
12069
12070         * configure.in
12071                 - Bump version to 0.7 to signify we are in 0.7 development
12072
12073 2006-05-21  Dan Williams  <dcbw@redhat.com>
12074
12075         Patch from Adam Schreiber <sadam@clemson.edu>
12076         * gnome/vpn-properties/nm-vpn-properties.c
12077                 - (main): correct Gnome program name  (gnome.org #342498)
12078
12079 2006-05-21  Dan Williams  <dcbw@redhat.com>
12080
12081         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12082
12083         * src/NetworkManagerDbus.[ch]
12084                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12085                         clarify that function's argument should be an escaped dbus object
12086                         path, and look for path segment end before returning a match
12087         * src/nm-dbus-nm.c:
12088                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12089
12090 2006-05-17  Robert Love  <rml@novell.com>
12091
12092         Functionality to differentiate Ad-Hoc networks from infrastructure
12093         networks in the applet, by displaying a special icon:
12094         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12095         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12096         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12097           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12098           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12099           networks, encrypted or not.
12100         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12101           accessor functions to get and set the mode of a given network,
12102           wireless_network_get_mode() and wireless_network_set_mode().
12103
12104 2006-05-17  Robert Love  <rml@novell.com>
12105
12106         Functionality to automatically add BSSIDs to the allowed-MAC list as
12107         one roams from access point to access point on a given network:
12108         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12109           helper function to compare two ether_addr structures and return TRUE
12110           if they contain the same MAC address.
12111         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12112           prototype.
12113         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12114           stored with the current AP.  If the BSSID has indeed changed, we
12115           send it out to the applet, allowing the allowed-MAC list to grow
12116           automatically in response to roaming.
12117
12118 2006-05-16  Robert Love  <rml@novell.com>
12119
12120         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12121           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12122
12123 2006-05-13  Dan Williams  <dcbw@redhat.com>
12124
12125         * src/nm-device-802-3-ethernet.c
12126                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12127                         carrier detect (Debian bug #366373)
12128
12129 2006-05-11  Dan Williams  <dcbw@redhat.com>
12130
12131         Patch from Michael Biebl <biebl@teco.edu>
12132         * src/backends/NetworkManagerDebian.c
12133                 - Debian backend fixups
12134
12135 2006-05-10  Robert Love  <rml@novell.com>
12136
12137         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12138
12139 2006-05-09  Robert Love  <rml@novell.com>
12140
12141         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12142           private certificate passphrase, if any, in the GNOME Keyring.
12143         * libnm-utils/dbus-helpers.c: Update.
12144
12145 2006-05-05  Dan Williams  <dcbw@redhat.com>
12146
12147         * src/nm-device-802-11-wireless.c
12148                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12149                         nm_device_802_11_wireless_disable_encryption() since that's all
12150                         we use it for anymore; we don't ever set WEP keys ourselves.
12151                 - (real_deactivate_quickly): reset SSID and encryption keys
12152                 - (real_deactivate): move SSID and encryption key reset to
12153                         real_deactivate_quickly(), which gets run before us anyway
12154
12155 2006-05-05  Robert Love  <rml@novell.com>
12156
12157         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12158           root has a wacky default of its own (or, more common, a user has a
12159           bad umask and uses su/sudo to restart NetworkManager).  Anything
12160           other than 0022 does not do what we want with, for example,
12161           resolv.conf.  This problem is amplified by our judicious use of
12162           fopen(), which uses mode 0666 -- implying that the only way to get
12163           the permissions we want is with a umask of 0022.
12164
12165 2006-05-05  Dan Williams  <dcbw@redhat.com>
12166
12167         * gnome/libnm_glib/libnm_glib.c
12168                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12169                         to reconnect; instead wait a bit more with each reconnect attempt
12170                         up to a max of one minute.
12171
12172 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12173
12174         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12175           the WirelessNetwork structure using the proper function instead of
12176           just casting it directly to (const char *) (gnome.org #336991)
12177
12178 2006-05-03  Robert Love  <rml@novell.com>
12179
12180         * src/backends/NetworkManagerSuSE.c: Respect the variable
12181           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12182           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12183           to dynamically update /etc/resolv.conf.
12184
12185 2006-05-02  Peter Jones  <pjones@redhat.com>
12186
12187         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12188
12189 2006-05-02  Robert Love  <rml@novell.com>
12190
12191         Patch by Timo Hoenig;
12192         * tests/nm-online.c: Print pretty status indicator as timeout winds
12193           down.  Also fix possible race between DBUS startup and failure
12194           return.
12195
12196 2006-05-01  Robert Love  <rml@novell.com>
12197
12198         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12199           empty, too.
12200
12201 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12202
12203         * src/nm-device.c (discover_device_type): Actually use the hal
12204         device type instead of ioctl poking
12205
12206 2006-04-26  Robert Love  <rml@novell.com>
12207
12208         * tests/nm-online.c: New file.  Simple utility that returns exit status
12209           noting whether the connection is offline or online.  If offline on
12210           start, it waits 30 seconds (or a command-line given value) for an
12211           online signal.  If it times out, it again returns offline.  This is
12212           useful for scripts that want to wait for network connections.
12213
12214 2006-04-25  Robert Love  <rml@novell.com>
12215
12216         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12217           key mode (the authentication algorithm), e.g. open or shared, when we
12218           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12219           only shared was broken.  If the user specified a shared key, set it
12220           explicitly, otherwise let wpa_supplicant go with the default.
12221
12222 2006-04-24  Dan Williams  <dcbw@redhat.com>
12223
12224         * src/nm-device-802-11-wireless.c
12225                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12226
12227 2006-04-24  Dan Williams  <dcbw@redhat.com>
12228
12229         Commit the async scanning patch
12230
12231         * src/nm-device-802-11-wireless.c
12232                 - get rid of scan_mutex
12233                 - (wireless_event_helper): act on wireless scan events
12234                 - (real_start): schedule a pending scan
12235                 - (link_to_specific_ap): fake the link to the AP during a scan
12236                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12237                         strength during scans
12238                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12239                         nm_device_set_bitrate): unused with new scanning code, disable
12240                 - (nm_device_wireless_schedule_scan): removed
12241                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12242                 - (request_and_convert_scan_results): new function; retrieve scan
12243                         results from the driver and schedule the processing function
12244                 - (scan_results_timeout): timeout triggered when card doesn't send
12245                         a scan results wireless event during a certain interval
12246                 - (schedule_scan_results_timeout): new function; schedule the scan
12247                         results timeout
12248                 - (cancel_scan_results_timeout): new function; cancel the scan
12249                         results timeout
12250                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12251                         to do the scanning.  Otherwise, just request a scan but don't
12252                         grab results here; instead schedule a timeout for scan results and
12253                         let netlink notify us of scan completion events
12254                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12255                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12256                 - (supplicant_status_cb): ignore disconnect events while scanning
12257                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12258                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12259                         timeouts
12260                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12261
12262 2006-04-24  Dan Williams  <dcbw@redhat.com>
12263
12264         * gnome/applet/applet-dbus.c
12265                 - Disable the pending call debug stuff, seems under control now
12266
12267 2006-04-20  Robert Love  <rml@novell.com>
12268
12269         Fix bug where hidden ESSID's would not show up in the applet, even
12270         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12271         because nm_policy_device_list_update_from_allowed_list() would merge
12272         the data, putting a name to the hidden networks, but never notify NMI
12273         of the changes.  Simple fix is to invoke the function
12274         nm_dbus_signal_wireless_network_change() if we make a mapping.
12275         * src/NetworkManagerAPList.c: Call the function
12276           nm_dbus_signal_wireless_network_change() if we made a successful
12277           BSSID to ESSID mapping, notifying the applet of the "new" network.
12278         * src/NetworkManagerAPList.h: Update the prototypes for both
12279           nm_ap_list_copy_essids_by_address() and
12280           nm_ap_list_copy_one_essid_by_address().
12281
12282 2006-04-20  Robert Love  <rml@novell.com>
12283
12284         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12285           not set.  Just return zero.
12286
12287 2006-04-20  Robert Love  <rml@novell.com>
12288
12289         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12290           only one copy of nm-vpn-properties is running at a time via the 'ol
12291           X selection trick.  This prevents the user from opening two "VPN
12292           Connections" windows from within the applet, which leads to mass
12293           hysteria.
12294         * clipboard.c: New file, implementing simple X selection logic.
12295         * clipboard.h: New file.
12296         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12297
12298 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12299
12300         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12301         * configure.in
12302           initscript/Gentoo/Makefile.am
12303           initscript/Gentoo/NetworkManagerDispatcher.in
12304                 - New script
12305         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12306           Gentopia
12307
12308 2006-04-16  Dan Williams  <dcbw@redhat.com>
12309
12310         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12311         * configure.in
12312           initscript/Slackware/Makefile.am
12313           initscript/Slackware/rc.networkmanager-dispatcher.in
12314           initscript/Slackware/rc.networkmanager.in
12315                 - Update slackware initscripts
12316
12317 2006-04-10  Robert Love  <rml@novell.com>
12318
12319         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12320           the "delete_event" signal on the druid's parent window and handle it
12321           our way, lest using the WM to close the druid results in a series of
12322           bloody and ultimately lethal errors.
12323
12324 2006-04-10  Robert Love  <rml@novell.com>
12325
12326         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12327           'Back' too or else the 'Forward' option is initially disabled despite
12328           valid input.
12329
12330 2006-04-06  Robert Love  <rml@novell.com>
12331
12332         Fix bad but simple bug where an active modem connection did not update
12333         NM's connection state, breaking any app that did online/offline:
12334         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12335           represented whether a dial up connection is active, or not.
12336         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12337           to modem activation and deactivation.
12338         * src/NetworkManagerDbus.c: When asked our state, do not return
12339           disconnected if the modem is active.
12340
12341 2006-04-04  Robert Love  <rml@novell.com>
12342
12343         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12344           applet.  It just confuses the crap out of people and does not make a
12345           lot of sense, as the daemon still runs.
12346
12347 2006-04-02  Tor Krill  <tor@krill.nu>
12348
12349         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12350           in start of service.
12351         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12352           get Archlinux backend up to date.
12353
12354 2006-03-29  Robert Love  <rml@novell.com>
12355
12356         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12357         to add support for per-route MSS and improve support for per-interface
12358         MTU:
12359         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12360           optionally take an MSS parameter and set it for the given route.
12361           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12362           NMIP4Config's stored MSS, if any.
12363         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12364           the interface's MTU and the route's MSS, respectively.  Add functions
12365           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12366           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12367           MSS.
12368         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12369           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12370           nm_ip4_config_set_mss.
12371         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12372           VPN daemon.
12373         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12374           Change the retval of nm_system_get_mtu to guint32.
12375         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12376           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12377           servers can specify MTU's, we should set it here if the MTU was not
12378           provided.
12379
12380 2006-03-27  Jürg Billeter  <j@bitron.ch>
12381
12382         * configure.in:
12383         * initscript/Makefile.am:
12384         * initscript/paldo/Makefile.am:
12385         * initscript/paldo/NetworkManager.in:
12386         * initscript/paldo/NetworkManagerDispatcher.in:
12387         * src/backends/Makefile.am:
12388         * src/backends/NetworkManagerPaldo.c:
12389                 - Add paldo support
12390
12391 2006-03-27  Dan Williams  <dcbw@redhat.com>
12392
12393         Patch from Christian Persch <chpe@gnome.org>
12394         * gnome/applet/applet.glade
12395                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12396
12397 2006-03-27  Dan Williams  <dcbw@redhat.com>
12398
12399         Patch from Diffe <diffie@blazebox.homeip.net>
12400         * src/backends/NetworkManagerSlackware.c
12401                 - Don't restart howl, since it's been replaced by Avahi
12402                         in most distributions
12403
12404 2006-03-27  Dan Williams  <dcbw@redhat.com>
12405
12406         Patch from Tor Krill <bugzilla@krill.nu>
12407         * configure.in
12408           initscript/Makefile.am
12409           src/backends/Makefile.am
12410           src/backends/NetworkManagerArch.c
12411           initscript/Arch/Makefile.am
12412           initscript/Arch/networkmanager-dispatcher.in
12413           initscript/Arch/networkmanager.in
12414                 - Add Arch Linux support, fixes gnome.org #335147
12415
12416 2006-03-27  Dan Williams  <dcbw@redhat.com>
12417
12418         Patch from Diffe <diffie@blazebox.homeip.net>
12419      * initscript/Slackware/rc.networkmanager
12420         - update, fixed gnome.org #333368
12421
12422 2006-03-27  Robert Love  <rml@novell.com>
12423
12424         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12425           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12426
12427 2006-03-27  Robert Love  <rml@novell.com>
12428
12429         Patch by Jürg Billeter <j@bitron.ch>:
12430         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12431           systems.
12432         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12433           as we prefer glibc over kernel headers, if possible.
12434
12435 2006-03-27  Robert Love  <rml@novell.com>
12436
12437         Patch by Jon Escombe <list@dresco.co.uk>:
12438         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12439         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12440           fail, don't bail out.  We don't expect all of the various WPA-EAP
12441           values to be present.
12442         * src/nm-ap-security.c: We need to match all capabilities for each
12443           encryption type, not any one of them.
12444
12445 2006-03-27  Robert Love  <rml@novell.com>
12446
12447         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12448           restart, not reload, ypbind.  Unfortunately there is no superior
12449           solution.
12450
12451 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12452
12453         * gnome/applet/applet-notifications.c:
12454         When displaying a notification, make sure to get rid of the
12455         previous notification so as to not have competing bubbles,
12456         and stop leaking the old one.
12457
12458         * gnome/applet/applet.c:
12459         * gnome/applet/applet.h:
12460         Add a new 'notification' member to the applet, and zero it out
12461         and free it appropriately.
12462
12463 2006-03-23  Robert Love  <rml@novell.com>
12464
12465         Patch by j <j@bootlab.org>:
12466         * gnome/applet/applet.glade: Don't set the invisible_char property,
12467           which simply overrides the GTK default.  By and by, this behavior
12468           ought to be fixed in Glade.
12469
12470 2006-03-22  Robert Love  <rml@novell.com>
12471
12472         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12473
12474 2006-03-22  Robert Love  <rml@novell.com>
12475
12476         Bug fix by Timo Hoenig <thoenig@suse.de>:
12477         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12478           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12479           and the applet going AWOL.
12480
12481 2006-03-22  Robert Love  <rml@novell.com>
12482
12483         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12484           preprocessor define and use it instead of open-coded the DHCP
12485           timeout, which is currently 25 seconds, everywhere.
12486
12487 2006-03-22  Robert Love  <rml@novell.com>
12488
12489         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12490         key exchange via WPA, ostensibly providing good security without
12491         requiring hardware that supports full WPA.  Also, add UI elements to
12492         allow the user to select the pairwise & group cipher for WPA Enterprise
12493         networks, too:
12494         * gnome/applet/applet.glade: Update glade file.
12495         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12496           key type, too, to and from gconf.
12497         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12498           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12499           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12500           the capabilities match.
12501         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12502           prototype.
12503         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12504           serialize from UI to DBUS.
12505         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12506           one element.
12507         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12508           nmu_security_serialize_wpa_eap_with_cipher(), and
12509           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12510           serialize/deserialize the key type via DBUS as the new third DBUS
12511           parameter.
12512         * libnm-util/dbus-helpers.h: Update prototypes.
12513         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12514           too.  If the key type is WEP104, do Dynamic WEP, which means
12515           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12516           pairwise and group ciphers (fixes a FIXME).
12517
12518 2006-03-21  Robert Love  <rml@novell.com>
12519
12520         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12521           nm_system_get_mtu(), which returns a user-provided or system-mandated
12522           MTU value for a given device, if any, or zero if no such value
12523           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12524           if we have a provided value.
12525         * src/nm-device.c: Set the MTU of devices.
12526         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12527         * src/backends/NetworkManagerDebian.c,
12528           src/backends/NetworkManagerGentoo.c,
12529           src/backends/NetworkManagerRedHat.c,
12530           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12531
12532 2006-03-21  Robert Love  <rml@novell.com>
12533
12534         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12535           configuration file.
12536
12537 2006-03-17  Robert Love  <rml@novell.com>
12538
12539         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12540           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12541           it, in case it is not running in the first place.  We just want its
12542           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12543
12544 2006-03-15  Robert Love  <rml@novell.com>
12545
12546         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12547           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12548           label "WEP 40/128-bit" is inconsistent because the physical key size
12549           is 40 or 104-bits, to which a 24-bit initialisation vector is
12550           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12551           to read "40/104" or "64/128".  I do not care much which, but most
12552           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12553           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12554           WEP passphrase support only handles 128-bit keys, and any future
12555           64-bit passphrase support will require a new option (no way to auto-
12556           detect the target key size), explicitly label our passphrase support
12557           "WEP 128-bit Passphrase".
12558
12559 2006-03-15  Robert Love  <rml@novell.com>
12560
12561         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12562           the system init scripts (or some other mechanism) starting it (or a
12563           compatible DBUS service) before NetworkManager runs.  This means that
12564           distributions might need to update their init scripts.  This fixes
12565           possible races and is quite a bit cleaner.
12566         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12567           starting the NetworkManager daemon.
12568
12569
12570 2006-03-14  Robert Love  <rml@novell.com>
12571
12572         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12573           before adding anything.
12574
12575 2006-03-13  Robert Love  <rml@novell.com>
12576
12577         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12578           widgets, too, if they exist, in case the user hit the back button.
12579           Fixes a bug where the details page contains the widgets of multiple
12580           VPN modules (Novell bug #157048).
12581
12582 2006-03-13  Robert Love  <rml@novell.com>
12583
12584         Patch by Timo Hoenig <thoenig@suse.de>:
12585         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12586           daemon survive DBUS restarts, too.
12587
12588 2006-03-10  Robert Love  <rml@novell.com>
12589
12590         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12591           passphrase or key.
12592         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12593           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12594           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12595           in response to "toggled" signal on new toggle.
12596
12597 2006-03-10  Robert Love  <rml@novell.com>
12598
12599         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12600           serialization if strings are NULL, lest DBUS get angry.
12601
12602 2006-03-10  Robert Love  <rml@novell.com>
12603
12604         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12605
12606 2006-03-09  Robert Love  <rml@novell.com>
12607
12608         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12609           configurations.
12610
12611 2006-03-09  Dan Williams  <dcbw@redhat.com>
12612
12613         Track pending call requests in the applet, and report how many are
12614         outstanding, and how long each completed one takes.
12615         
12616         * gnome/applet/applet-dbus-devices.c
12617           gnome/applet/applet-dbus-vpn.c
12618                 - Track pending calls
12619
12620         * gnome/applet/applet-dbus.[ch]
12621                 - Remove some unused enums
12622                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12623                         new functions to track dbus pending calls and spit out some
12624                         statistics about them
12625
12626 2006-03-09  Robert Love  <rml@novell.com>
12627
12628         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12629           nm_ap_set_timestamp() take the second and micro-second parameters as
12630           direct arguments, which avoids both a dynamic memory allocation and a
12631           structure-to-structure copy!  Add a new interface, the aptly named
12632           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12633           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12634           the return from nm_ap_get_timestamp().  New users should use the new
12635           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12636           the extreme benefit to performance.
12637         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12638           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12639
12640 2006-03-08  Robert Love  <rml@novell.com>
12641
12642         * gnome/applet/applet.glade: Hide the password entry text with
12643           asterisks.
12644
12645 2006-03-08  Robert Love  <rml@novell.com>
12646
12647         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12648           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12649           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12650           a second argument, NMData.
12651         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12652         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12653           config files as trusted.
12654
12655 2006-03-06  Robert Love  <rml@novell.com>
12656
12657         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12658         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12659           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12660           Rivera, detect if the applet was auto-started.  If so, ask the user
12661           if he or she would like to stop automatically running the applet on
12662           login.  If so, disable autostart.
12663
12664 2006-03-06  Robert Love  <rml@novell.com>
12665
12666         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12667           directory in CFLAGS so developers can actually use NetworkManager.h.
12668
12669 2006-03-06  Robert Love  <rml@novell.com>
12670
12671         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12672           open-coded integer constants.  Add state_to_string() to map a given
12673           state to a textual description, and provide that when notifying of
12674           state change.
12675         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12676           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12677           this header directly, but it is currently not installed on most
12678           systems.
12679
12680 2006-03-05  Dan Williams  <dcbw@redhat.com>
12681
12682         Process netlink messages in device subclasses rather than in
12683         NetworkManager.c.  Also add support for recognizing Wireless Events.
12684         
12685         * configure.in
12686                 - Find GLIB_GENMARSHAL
12687
12688         * src/Makefile.am
12689                 - Since we're marshalling custom types for wireless event signals,
12690                         we get to create our own marshallers using GLIB_GENMARSHAL
12691
12692         * src/NetworkManager.c
12693                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12694                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12695                         cut down somewhat.  We no longer process signals here.
12696                 - (nm_data_new): create the netlink monitor here, and remove a
12697                         useless call to nm_policy_schedule_device_change_check()
12698                 - (nm_data_free): get rid of the netlink monitor here
12699                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12700                 - (main): don't create the netlink monitor here, let nm_data_new
12701                         do that.  Call nm_policy_schedule_device_change_check() right
12702                         before we jump to the mainloop to figure out which device
12703                         to use first
12704
12705         * src/NetworkManagerSystem.[ch]
12706                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12707                         convert back and forth from interface names to interface
12708                         indexes
12709
12710         * src/nm-device-802-11-wireless.c
12711                 - (real_init): connect to wireless-event signals from the netlink
12712                         monitor object
12713                 - (nm_device_802_11_wireless_event): new function, schedule handler
12714                         for wireless event signals from the netlink monitor object.  We
12715                         want the handler to run in the device's context
12716                 - (wireless_event_helper): handle wireless-event signals from netlink
12717                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12718                         signal handler
12719
12720         * src/nm-device-802-11-wireless.h
12721                 - remove unused prototype for nm_device_802_11_wireless_new
12722
12723         * src/nm-device-802-3-ethernet.c
12724                 - (real_init): new function; set up signal handlers for link events
12725                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12726                         handler for netlink link activated events on device's main loop
12727                 - (link_activated_helper): when we get a link activated event, set
12728                         the device's link to be active
12729                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12730                         handler for netlink link deactivated events on device's main loop
12731                 - (link_deactivated_helper): when we get a link deactivated event, set
12732                         the device's link to be inactive
12733                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12734                         dispose
12735
12736         * src/nm-device-802-3-ethernet.h
12737                 - remove unused prototype for nm_device_802_3_ethernet_new
12738
12739         * src/nm-device.[ch]
12740                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12741                         but locks the device list
12742                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12743
12744         * src/nm-netlink-monitor.[ch]
12745                 - (nm_netlink_monitor_class_install_signals): New signal
12746                         "wireless-event"
12747                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12748                         at the device list
12749                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12750
12751         * src/nm-marshal-main.c
12752                 - Include generated nm-marshal.c and nm-marshal.h
12753
12754         * src/nm-marshal.list
12755                 - List of custom marshal functions
12756
12757 2006-03-05  Dan Williams  <dcbw@redhat.com>
12758
12759         * gnome/applet/applet-notifications.h
12760                 - Protect prototype of nma_send_event_notification() because it
12761                         includes libnotify-specific types
12762                 - Include libnotify/libnotify.h too, since we technically need it
12763
12764         * gnome/applet/applet.c
12765                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12766                 - (nma_show_vpn_login_banner_dialog): add some error checking
12767
12768 2006-03-04  Dan Williams  <dcbw@redhat.com>
12769
12770         Clean up activation cancellation.  Should be a lot faster now.  Observed
12771         an issue with wireless devices between stage 2 and 3 of activation, where
12772         activation would be cancelled, but the device thread wouldn't notice until
12773         the supplicant association timed out.  Reorganize activation such that
12774         a cancellation handler gets immediately scheduled in the device's thread,
12775         and devices have a chance to perform any custom cleanup too.
12776
12777         * src/nm-device.[ch]
12778                 - (activation_cancel_handler): new device-type-specific function
12779                         for cleaning up device-type-specific stuff on cancellation
12780                 - (cancel_activation): removed
12781                 - (nm_device_activation_cancel): subsume functionality of
12782                         real_cancel_activation, but instead of doing anything, punt
12783                         operation to a handler that's run in device-thread context
12784                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12785                         a warning message
12786                 - (activation_handle_cancel_helper): cancellation handler run in
12787                         device-thread context, calls device-type-specific cancelation,
12788                         then tears down the activation request
12789                 - (real_activation_cancel_handler): generic cancellation handler,
12790                         deals with cancelling any in-process DHCP request
12791                 - (nm_device_activate_stage1_device_prepare,
12792                    nm_device_activate_stage2_device_config,
12793                    nm_device_activate_stage3_ip_config_start,
12794                    nm_device_activate_stage4_ip_config_get,
12795                    nm_device_activate_stage4_ip_config_timeout,
12796                    nm_device_activate_stage5_ip_commit): don't call
12797                         nm_device_schedule_activation_handle_cancel() any more, since
12798                         cancellation will have been already scheduled for us by
12799                         nm_device_activation_cancel().  Just exit the function and
12800                         assume that the cancel handler will be called next.
12801
12802         * src/nm-device-802-3-ethernet.c
12803                 - (real_act_stage2_config): remove; didn't do anything anyway
12804
12805         * src/nm-device-802-11-wireless.c
12806                 - (supplicant_status_cb): ensure we don't do anything if the activation
12807                         got cancelled
12808                 - (real_activation_cancel_handler): implement; cancel user key request
12809                         on activation cancellation
12810
12811 2006-03-04  Dan Williams  <dcbw@redhat.com>
12812
12813         * src/nm-device-802-11-wireless.c
12814                 - (supplicant_send_network_config): assume that drivers that don't
12815                         support WPA pretty much suck, and can't handle NM scanning
12816                         along with wpa_supplicant.
12817
12818 2006-03-03  Robert Love  <rml@novell.com>
12819
12820         * configure.in: Bump version to 0.6.0.
12821         * NEWS: Update.
12822
12823 2006-03-03  Robert Love  <rml@novell.com>
12824
12825         * configure.in: Require DBUS 0.60 or later.
12826
12827 2006-03-03  Dan Williams  <dcbw@redhat.com>
12828
12829         Fix a crash if an "Other wireless network" was chosen, failed, then
12830         chosen again from the applet's menu.  If the other network wasn't
12831         noticed in a scan, it wouldn't have any capabilities, but would still
12832         be listed because the user forced the network.  To fix this, we set
12833         sensible capabilities on the forced network, which will get overwritten
12834         with the correct ones if the network shows up later in a scan.
12835         
12836         * src/nm-ap-security.h
12837                 - Add a new "get_default_capabilities_func" member to the
12838                         NMAPSecurity class
12839
12840         * src/nm-ap-security.c
12841                 - (nm_ap_security_get_default_capabilities): new function
12842
12843         * src/nm-ap-security.c
12844           src/nm-ap-security-wep.c
12845           src/nm-ap-security-wpa-psk.c
12846           src/nm-ap-security-wpa-eap.c
12847                 - Implement get_default_capabilities_func() for all, which
12848                         uses the information contained in a specific NMAPSecurity
12849                         object to determine default AP capabilites necessary
12850                         to support that object
12851
12852         As a secondary measure, we now prune artificial access points that fail
12853         to be activated right away.  The thing failed, and we have no scan data for
12854         it, so it's pretty much useless since security information is only saved
12855         in the applets when a connection is successful.
12856
12857         * src/NetworkManagerAPList.c
12858                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12859                         not artificial.  If we see it, it's no longer a figment of the
12860                         user's imagination :)
12861
12862         * src/NetworkManagerPolicy.c
12863                 - (nm_policy_activation_failed): send along the failed AP if we
12864                         have it
12865
12866         * src/nm-device-802-11-wireless.c
12867                 - (real_activation_failure_handler): remove artificial APs from
12868                         the device list, because activation failed
12869
12870 2006-03-02  Robert Love  <rml@novell.com>
12871
12872         Add support for retrieving both the per-device speed and the
12873         per-network maximum supported rate.  Then change the getProperties
12874         DBUS API for both networks and devices to report this informaiton.
12875         Finally, display the information via both nm-applet and nm-tool:
12876         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12877           and set it.
12878         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12879           Information' dialog.
12880         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12881         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12882           network_device_get_speed() and network_device_set_speed() for
12883           retrieving and setting, respectively, a network device's current
12884           speed.
12885         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12886         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12887           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12888           not matter (yet) what the units are, because we only feed it its own
12889           output.  Implement SIOCGIRATE and set the per-network maximum
12890           supported rate during scanning.
12891         * src/nm-device-802-11-wireless.h: Export the function
12892           nm_device_802_11_wireless_get_bitrate().
12893         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12894           function nm_device_802_3_ethernet_get_speed() for returning an
12895           802.3's current speed, in Mb/s.
12896         * test/nm-tool.c: Display the per-device current speed, if available,
12897           and the per-network maximum rate.
12898
12899 2006-03-02  Dan Williams  <dcbw@redhat.com>
12900
12901         * src/nm-device-802-11-wireless.c
12902                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12903                         card when it gets initialized.  Since devices don't get added to
12904                         the scan list until they are initialized, this function wasn't
12905                         setting the intitial scan interval correctly, and was leaving
12906                         it at 0.  This caused cards to get many scan requests in a short
12907                         amount of time when they were initialized
12908
12909 2006-03-02  Robert Love  <rml@novell.com>
12910
12911         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12912           active device.  But do not do what we used to do and override the
12913           state, which caused the dreaded icon race of '05.
12914
12915 2006-03-02  Robert Love  <rml@novell.com>
12916
12917         Commit Dan's update of my previous commit:
12918         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12919           set_mode() function itself does the check.  But do only set the
12920           frequency if in Ad-Hoc mode.
12921
12922 2006-03-02  Robert Love  <rml@novell.com>
12923
12924         Patch by Brian Magnuson <magnuson@rcn.com>:
12925         * src/nm-device-802-11-wireless.c: During scanning, only set the
12926           wireless mode to infrastructure if it is not currently in
12927           infrastructure mode.  For some driver, setting the mode is a costly
12928           operation, apparently.
12929
12930 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12931
12932         * Makefile.am: use the correct dir for autostart mechanism.
12933
12934 2006-02-28  Dan Williams  <dcbw@redhat.com>
12935
12936         Patch from Brian Magnuson <magnuson@rcn.com>
12937         * gnome/applet/applet.c
12938                 - (nma_show_vpn_failure_dialog): fix errors left over from
12939                         libnotify support changes
12940
12941 2006-02-28  Dan Williams  <dcbw@redhat.com>
12942
12943         * src/vpn-manager/nm-vpn-act-request.[ch]
12944                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12945                         just one value
12946                 - (nm_vpn_act_request_is_failed): new function; return whether or
12947                         not the vpn activation request has failed
12948
12949         * src/vpn-manager/nm-vpn-manager.c 
12950                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12951                         daemon to kill the connection when the activation request fails.
12952                         Fixes issue where NM would get confused if the VPN activation
12953                         request timed out, and would not allow further VPN connections
12954                         on that service.
12955
12956 2006-02-28  Dan Williams  <dcbw@redhat.com>
12957
12958         * gnome/applet/applet.c
12959                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12960                         overlapping connection requests, disable all VPN menu items
12961                         but the active VPN connection
12962
12963 2006-02-28  Dan Williams  <dcbw@redhat.com>
12964
12965         * src/vpn-manager/nm-vpn-connection.c
12966                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12967                         called g_object_unref() on the connection's parent device
12968                         when it should have been ref-ed instead.  Fixes crash with
12969                         repeated vpn connect requests
12970
12971 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12972
12973         * gnome/applet/applet.glade:
12974         Mark a few strings non-translatable, since they shouldn't be.
12975
12976 2006-02-28  Dan Williams  <dcbw@redhat.com>
12977
12978         * src/vpn-manager/nm-vpn-service.c
12979                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12980                         already running, don't blindly ask it to connect, but wait until
12981                         it's in the STOPPED state first.  Fixes an assertion when user
12982                         starts a second vpn connection without stopping the first.
12983                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12984                         dbus service exists before continuing with the connection
12985                         process, and reduce latency while waiting for it to become
12986                         available
12987                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12988                         waiting for the vpn service daemon to become available
12989                 - General log message cleanups; show progress via "Stage x of 4"
12990                         rather than not telling anyone how many stages there are
12991
12992 2006-02-28  Robert Love  <rml@novell.com>
12993
12994         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12995         * src/backends/NetworkManagerSuSE.c: Implement the interface
12996           nm_system_should_modify_resolv_conf() for SUSE.
12997         * src/backends/NetworkManagerDebian.c,
12998           src/backends/NetworkManagerGentoo.c,
12999           src/backends/NetworkManagerRedHat.c,
13000           src/backends/NetworkManagerSlackware.c: Add stub.
13001         * src/named-manager/Makefile.am: Grab includes from src.
13002         * src/named-manager/nm-named-manager.c: Allow backends to disable the
13003           automatic updating of resolv.conf.  This is useful for testing,
13004           broken static configurations, and administrator lock-down.
13005
13006 2006-02-28  Dan Williams  <dcbw@redhat.com>
13007
13008         * src/nm-device-802-11-wireless.c
13009                 - Move all the wpa_supplicant-related management stuff into its
13010                         own struct, just for oranization's sake
13011                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13012                         to a GIOChannel/GSource
13013                 - (supplicant_log_stdout): new function; grab output from the
13014                         wpa_supplicant stdout pipe and write it to our logs.
13015
13016 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13017
13018         * src/nm-device-802-11-wireless.c:
13019         Err, fix thinko in my previous commit.
13020
13021 2006-02-28  Robert Love  <rml@novell.com>
13022
13023         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13024
13025 2006-02-28  Robert Love  <rml@novell.com>
13026
13027         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13028           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13029           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13030           deserializers are responsible for freeing the returned DBUS strings.
13031
13032 2006-02-27  Christopher Aillon  <caillon@redhat.com>
13033
13034         * src/nm-device-802-11-wireless.c:
13035         The scan list is being pruned prematurely.  We should prune after
13036         the device has gone MIA for three scans, not one.  Split out the
13037         interval to realtime seconds function to better serve this.
13038
13039 2006-02-27  Robert Love  <rml@novell.com>
13040
13041         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13042           Open the pid file O_TRUNC, so if it already exists we truncate it to
13043           zero length.  Also, be more verbose about warnings generated during
13044           writing out the pid file.  Finally, always write out the pid file if
13045           in daemon mode.  Use "--pid-file" to override the default.
13046
13047 2006-02-27  Robert Love  <rml@novell.com>
13048
13049         Patch by R. Vinay <rvinay@novell.com>:
13050         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13051           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13052           Novell bug #153628).
13053           
13054 2006-02-27  Robert Love  <rml@novell.com>
13055
13056         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13057           entry so user can hit <ENTER> after entering passphrase (Novell bug
13058           #153738).
13059
13060 2006-02-27  Dan Williams  <dcbw@redhat.com>
13061
13062         * gnome/applet/*
13063                 - Mass search/replace of:
13064                         nmwa -> nma
13065                         NMWirelessApplet -> NMApplet
13066                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13067                    (it ain't just for wireless anymore, ma!)
13068                 - Fix duplicate function name printing when using nm_warning
13069                 - wireless-applet.glade -> applet.glade
13070
13071 2006-02-27  Dan Williams  <dcbw@redhat.com>
13072
13073         * dispatcher-daemon/NetworkManagerDispatcher.c
13074                 - Accept --pid-file with a path to a pidfile, write it out on
13075                         startup, and delete it on shutdown
13076
13077         * src/NetworkManager.c
13078                 - Accept --pid-file with a path to a pidfile, write it out on
13079                         startup, and delete it on shutdown
13080                 - Move nm_print_usage() lower
13081
13082         * initscripts/RedHat/NetworkManager.in
13083                 - Use new --pid-file option
13084                 - Fix service stopping to wait a bit for NM to quit
13085
13086         * initscripts/RedHat/NetworkManagerDispatcher.in
13087                 - Use new --pid-file option
13088
13089 2006-02-26  Dan Williams  <dcbw@redhat.com>
13090
13091         * src/Makefile.am
13092                 - make and install nm-crash-logger
13093
13094         * src/nm-logging.[ch]
13095                 - New files; consolidate logging and crash handling
13096
13097         * src/nm-crash-logger.c
13098           src/gdb-cmd
13099                 - Standalong crashlogger for NM, grab a backtrace
13100                         using GDB
13101
13102         * src/NetworkManager.[ch]
13103                 - Remove signal handling and put it into nm-logging.c
13104
13105 2006-02-26  Dan Williams  <dcbw@redhat.com>
13106
13107         * configure.in
13108           gnome/applet/Makefile.am
13109                 - Conditionalize all the notify stuff
13110
13111         Merge most of Chris Aillon's notification patch:
13112         
13113         * gnome/applet/applet-notifications.[ch]
13114                 - New files; show a notification
13115         
13116         * gnome/applet/applet-dbus-devices.[ch]
13117                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13118                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13119                         new functions, do the right thing when a device change occurs
13120
13121         * gnome/applet/applet-dbus.c
13122                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13123                         signals, so we can handle them specially
13124
13125         * gnome/applet/applet.[ch]
13126                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13127                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13128                 - (nmwa_notify_state): remove
13129                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13130                         notification work is now done when the appropriate dbus signals
13131                         are received.
13132                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13133                         defer execution of the notification/dialog stuff.  That was an
13134                         artifact of the previous multi-threaded nature of the applet
13135                         and is now pointless.
13136                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13137                         no longer needed.  Function folded into applet-notifications.c
13138
13139         * src/NetworkManagerPolicy.c
13140                 - (nm_policy_activation_finish): send the AP along with the device
13141                         status change signal, if the connection is wireless.  Should
13142                         fix the race where applet would show a connection to "unknown"
13143
13144 2006-02-25  Robert Love  <rml@novell.com>
13145
13146         Add WPA Enterprise support:
13147         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13148           nm-gconf-wso-wpa-eap.h.
13149         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13150           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13151           serialization and deserialization.
13152         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13153           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13154           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13155         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13156           settings related to WPA Enterprise.
13157         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13158           instantiate WPA Enterprise wireless-security-option.
13159         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13160           Implement WPA Enterprise wireless-security-option object.
13161         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13162           defines.  Cleanup.
13163         * libnm-util/cipher-wpa-psk-hex.c,
13164           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13165         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13166           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13167           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13168           including the cipher to DBUS method, and
13169           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13170           to output.
13171         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13172           nm-ap-security-wpa-eap.h
13173         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13174           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13175         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13176           files.  Implement NMAPSecurityWPA_EAP object.
13177         * src/nm-ap-security-wpa-psk.c: Cleanup.
13178         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13179           an NMAPSecurityWPA_EAP object via the method
13180           nm_ap_security_wpa_eap_new_deserialize().
13181         * src/nm-dbus-nm.c: Cleanup.
13182         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13183           WPA Enterprise support.
13184
13185 2006-02-24  Robert Love  <rml@novell.com>
13186
13187         Patch from Timo Hoenig <thoenig@suse.de>:
13188         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13189
13190 2006-02-24  Robert Love  <rml@novell.com>
13191
13192         Patch from Dan Winship <danw@novell.com>:
13193         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13194           area to transparent.
13195
13196 2006-02-21  Dan Williams  <dcbw@redhat.com>
13197
13198         * gnome/applet/applet.[ch]
13199           gnome/applet/applet-dbus.c
13200                 - Implement notification support for VPN messages too
13201
13202 2006-02-21  Dan Williams  <dcbw@redhat.com>
13203
13204         * gnome/applet/applet-dbus-info.c
13205                 - Clean up warning messages to not double-print the function
13206
13207 2006-02-21  Dan Williams  <dcbw@redhat.com>
13208
13209         * gnome/applet/applet-compat.c
13210                 - (convert_one_entry): accept entries without a key_type and
13211                         convert them to unencrypted networks
13212
13213 2006-02-21  Dan Williams  <dcbw@redhat.com>
13214
13215         * gnome/libnm_glib/libnm_glib.c
13216                 - Use __func__ everywhere we can
13217                 - Code cleanups
13218                 - Use dbus pending calls rather than blocking
13219                 - Reduce busywaits for our thread to start and stop
13220                         (gnome.org #330562)
13221                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13222                         stomp on others using the default shared dbus connection.
13223                         Fixes #rh177546# and gnome.org #326572
13224
13225 2006-02-21  Dan Williams  <dcbw@redhat.com>
13226
13227         Patch from Rodney Dawes <dobey@novell.com>
13228         * configure.in
13229           gnome/applet/Makefile.am
13230           gnome/applet/applet.c
13231                 - Add libnotify support if '--enable-notify=yes' is passed
13232                   at configure time
13233
13234 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13235
13236         * configure.in (ALL_LINGUAS): ko added. (Korean)
13237
13238 2006-02-15  Robert Love  <rml@novell.com>
13239
13240         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13241           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13242           and WPA_SUPPLICANT_CONTROL_SOCKET.
13243         
13244 2006-02-15  Robert Love  <rml@novell.com>
13245
13246         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13247           information about what connection stage we are at, provide the total
13248           number of stages, e.g. "Stage 2 of 5", so users know how far along
13249           they are if they experience problems.
13250
13251 2006-02-15  Robert Love  <rml@novell.com>
13252
13253         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13254           define to $sysconfdir.
13255         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13256           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13257           type of VPN and then editing another results in a mangled dialog
13258           box containing the widgets from both VPNs (fixes Novell #150854).
13259           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13260
13261 2006-02-14  Robert Love  <rml@novell.com>
13262
13263         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13264           syslog's file descriptor.
13265
13266 2006-02-14  Robert Love  <rml@novell.com>
13267
13268         Fix bug around since the change to "deal with APs changing settings on
13269         us," checked in on the fifth of February in the year of the dog, 
13270         wherein connecting to non-broadcast encrypted networks always fails
13271         because nm_ap_get_encrypted() always returns FALSE, even when the user
13272         provided a key, because the newly-created fake AP does not have any
13273         capabilities set, which is a sypmtom of security settings not matching
13274         capabilities (Novell bug #150784):
13275         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13276           nm_ap_add_capabilities_from_security(), which sets the given AP's
13277           capabilities off the given security settings.  Also improve our
13278           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13279           NM_AUTH_CIPHER_AUTO.
13280         * src/nm-device-802-11-wireless.c: Call the function
13281           nm_ap_add_capabilities_from_security() to ensure that capabilities
13282           match newly updated security settings.
13283
13284 2006-02-14  Robert Love  <rml@novell.com>
13285
13286         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13287           error as a string, not an integer, if possible; do not print the
13288           function name twice; always give the interface, if possible; misc.
13289           cleanup.
13290
13291 2006-02-12  Dan Williams  <dcbw@redhat.com>
13292
13293         Patch from Tom Parker <palfrey@tevp.net>
13294         * src/NetworkManagerSystem.h
13295                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13296                         no longer used
13297
13298         * src/backends/NetworkManagerDebian.c
13299                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13300                         unused variables
13301
13302 2006-02-12  Dan Williams  <dcbw@redhat.com>
13303
13304         * vpn-daemons/openvpn/intltool-extract.in
13305           vpn-daemons/openvpn/intltool-merge.in
13306           vpn-daemons/openvpn/intltool-update.in
13307           vpn-daemons/pptp/intltool-extract.in
13308           vpn-daemons/pptp/intltool-merge.in
13309           vpn-daemons/pptp/intltool-update.in
13310                 - Remove from CVS, they should get created by intltoolize,
13311                         shouldn't they?
13312
13313 2006-02-12  Dan Williams  <dcbw@redhat.com>
13314
13315         * vpn-daemons/pptp/src/pppd/patchlevel.h
13316         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13317                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13318                         Makefile-defined VERSION
13319
13320 2006-02-09  Dan Williams  <dcbw@redhat.com>
13321
13322         Patch from: Vinay A R <rvinay@novell.com>
13323         * src/vpn-manager/nm-vpn-act-request.[ch]
13324                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13325                         IPSec VPNs require them for std gateway.
13326                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13327                         and 'user_routes_count'
13328                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13329                         defined routes  from NMVPNActRequest object, returns the string
13330                         array of routes.
13331
13332         * src/vpn-manager/nm-vpn-manager.[ch]
13333                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13334                         for 'user_routes' and 'user_routes_count'
13335         
13336         * src/vpn-manager/nm-dbus-vpn.c
13337                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13338                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13339         
13340         * src/vpn-manager/nm-vpn-service.c
13341                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13342                         the vpn daemon
13343
13344         Modifications by Dan:
13345         * src/vpn-manager/nm-vpn-service.c
13346                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13347                         arrays into dbus
13348
13349         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13350         * vpn-daemons/pptp/src/nm-pptp-service.c
13351         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13352                 - Grab user routes from dbus message
13353                 - Free all string arrays we got from dbus
13354
13355 2006-02-07  Robert Love  <rml@novell.com>
13356
13357         Patch by Stefan Seyfried <seife@suse.de>:
13358         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13359
13360 2006-02-06  Robert Love  <rml@novell.com>
13361
13362         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13363
13364 2006-02-06  Robert Love  <rml@novell.com>
13365
13366         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13367           test ">=" is never false.  If no newline is found, we loop forever.
13368           We can just check for ">" because the following if() will see the
13369           zero-th argument if the while() gets that far.
13370
13371 2006-02-05  Dan Williams  <dcbw@redhat.com>
13372
13373         Refine handling of non-broadcast networks.
13374
13375         * src/NetworkManagerAPList.c
13376                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13377                         property from scanned AP to the AP from the device list
13378
13379         * src/nm-device-802-11-wireless.c
13380                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13381                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13382                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13383                         networks since those don't have APs.
13384                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13385                         AP as non-SSID-broadcasting
13386                 - (process_scan_results): don't handle non-SSID-broadcasting here
13387
13388 2006-02-05  Dan Williams  <dcbw@redhat.com>
13389
13390         * src/nm-device-802-11-wireless.c
13391                 - (get_supplicant_timeout): new function; return
13392                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13393                         14 channels.  These are likely a/b/g cards, like Atheros, and
13394                         slow as hell to scan.
13395                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13396                         get_supplicant_timeout()
13397
13398 2006-02-05  Dan Williams  <dcbw@redhat.com>
13399
13400         * src/dhcp-manager/nm-dhcp-manager.c
13401                 - Loose a commit race with Robert; make sure size check
13402                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13403
13404 2006-02-05  Robert Love  <rml@novell.com>
13405
13406         Patch by Christoph Brill <chrisbrill@gmx.net>:
13407         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13408           with DHCP_SERVICE_NAME.
13409
13410 2006-02-05  Dan Williams  <dcbw@redhat.com>
13411
13412         Remove anything having to do with device_setup_func from the
13413         AP security objects, since it's no longer used.
13414
13415         * src/nm-ap-security.h
13416                 - Kill device_setup_func and nm_ap_security_device_setup()
13417
13418         * src/nm-ap-security-wep.c
13419           src/nm-ap-security-wpa-psk.c
13420                 - (real_device_setup): remove
13421
13422         * src/nm-ap-security.c
13423                 - (real_device_setup): remove
13424                 - (nm_ap_security_device_setup): remove
13425
13426         * src/nm-device-802-11-wireless.[ch]
13427                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13428                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13429                         and done by wpa_supplicant now anyway
13430
13431 2006-02-05  Dan Williams  <dcbw@redhat.com>
13432
13433         * src/nm-device-802-11-wireless.c
13434                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13435                         settings on us.  Previously NM would loop asking for the
13436                         key but getting the same one back.  Now, if the NMI-supplied
13437                         cipher doesn't overlap with the scanned AP capabilities,
13438                         we request a completely new key from the user.
13439
13440 2006-02-05  Dan Williams  <dcbw@redhat.com>
13441
13442         * src/NetworkManagerUtils.c
13443                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13444                         Handle newline killing better
13445
13446 2006-02-05  Dan Williams  <dcbw@redhat.com>
13447
13448         * gnome/applet/nm-gconf-wso.c
13449                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13450                         of unencrypted access point security info.
13451
13452 2006-02-03  Robert Love  <rml@novell.com>
13453
13454         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13455           user's encryption key, so we print the err_msg_cmd not the command,
13456           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13457           sense.
13458
13459 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13460
13461         * initscript/RedHat/NetworkManagerDispatcher.in:
13462         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13463         Patch from Dan Walsh <dwalsh@redhat.com>
13464
13465 2006-02-03  Robert Love  <rml@novell.com>
13466
13467         * dispatcher-daemon/NetworkManagerDispatcher.c,
13468           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13469           but use the sysconfdir.
13470
13471 2006-02-03  Robert Love  <rml@novell.com>
13472
13473         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13474           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13475           'char *'.
13476         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13477           nm_ip4_config_get_hostname() and
13478           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13479         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13480           leak g_strdup() result.
13481
13482 2006-02-03  Robert Love  <rml@novell.com>
13483
13484         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13485           broadcast == TRUE.  Also, copy broadcast and artificial properties
13486           from source network to destination in nm_ap_copy().
13487         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13488           since we now default new networks to non-hidden.
13489
13490 2006-02-03  Dan Williams  <dcbw@redhat.com>
13491
13492         * gnome/applet/main.c
13493                 - (main): change the NEVER->ALWAYS so we start at the
13494                         beginning of the session, if being session-managed
13495
13496 2006-02-03  Dan Williams  <dcbw@redhat.com>
13497
13498         * gnome/applet/main.c
13499                 - (main): in a variation on Robert's patch, change
13500                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13501                         he wants.
13502
13503 2006-02-02  Robert Love  <rml@novell.com>
13504
13505         * src/Makefile.am: If we aren't going to create the run directory at,
13506           uh, run-time, create it during install.  Then users just doing
13507           'make install' are cool, too.  While we are here, create the
13508           dispatcher.d directory, too.
13509         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13510           the exact run directory.
13511         * Makefile.am: Install nm-applet.desktop.
13512
13513 2006-02-02  Robert Love  <rml@novell.com>
13514
13515         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13516           structure, which denotes whether or not the AP is hidden.  This is a
13517           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13518           can show up in the scan list.  Add nm_ap_get_broadcast() and
13519           nm_ap_set_broadcast() accessor interfaces.
13520         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13521           nm_ap_set_broadcast().
13522         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13523           "getProperties" method, which denotes whether or not the given
13524           network is hidden.
13525         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13526           an artificial network.  Set broadcast to TRUE when scanning returns
13527           an ESSID and FALSE when not.
13528         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13529           from "getProperties" method on a network.  Possible TODO is to
13530           somehow display this.
13531         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13532
13533 2006-02-02  Dan Williams  <dcbw@redhat.com>
13534
13535         * src/nm-device-802-11-wireless.c
13536                 - (supplicant_interface_init): don't try to create
13537                         /var/run/NetworkManager, since that should be done by
13538                         the distro package.  Causes problems for stuff like SELinux
13539
13540 2006-02-02  Robert Love  <rml@novell.com>
13541
13542         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13543         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13544           Check for and handle empty string for iface.
13545
13546 2006-02-01  Robert Love  <rml@novell.com>
13547
13548         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13549           manpage.
13550
13551 2006-01-31  Dan Williams  <dcbw@redhat.com>
13552
13553         * nm-applet.desktop
13554                 - Add --sm-disable to Exec arguments, presuming that when
13555                         using autostart, we don't want session management
13556
13557 2006-01-31  Robert Love  <rml@novell.com>
13558
13559         * src/NetworkManagerAP.c: Add two new manufacturer default network
13560           names: linksys-a and linksys-g.  These are found (at least) on the
13561           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13562           own ESSID.
13563
13564 2006-01-31  Robert Love  <rml@novell.com>
13565
13566         * src/NetworkManagerAP.c: Optimize the function
13567           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13568           machine code.  This is the first in a series of code tweaks aiming to
13569           generate better machine code and make NetworkManager all the better.
13570           Just kidding.  Who has time to go through the assembly generated for
13571           every function?  I certainly don't.  I have a wife, a kid, a job,
13572           a mortgage, a mistress.  But this function was so bad, I was called
13573           to arms.  Like the book.
13574
13575 2006-01-31  Robert Love  <rml@novell.com>
13576
13577         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13578           AP is not broadcasting, to scan with probe request frames.  Required
13579           for non-broadcast networks.
13580
13581 2006-01-31  Robert Love  <rml@novell.com>
13582
13583         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13584           preprocessor define (still 20s).  Fix message text in nm_info()
13585           s/too too/took too/.
13586
13587 2006-01-30  Dan Williams  <dcbw@redhat.com>
13588
13589         * src/nm-device-802-11-wireless.c
13590                 - (supplicant_monitor_start): increase connect/auth timeout to
13591                         20 seconds from 10 seconds
13592
13593 2006-01-30  Dan Williams  <dcbw@redhat.com>
13594
13595         * src/Makefile.am
13596                 - Define LOCALSTATEDIR
13597
13598         * src/nm-device-802-11-wireless.c
13599                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13600                         socket where we want it to
13601
13602         * src/wpa_ctrl.[ch]
13603                 - (wpa_ctrl_open): accept location to put local control socket
13604
13605 2006-01-30  Robert Love  <rml@novell.com>
13606
13607         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13608           get_ip4_string() for "domain_name".
13609
13610 2006-01-30  Robert Love  <rml@novell.com>
13611
13612         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13613           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13614           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13615           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13616           support for "Automatic" pairwise and group cipher configuration by
13617           letting wpa_supplicant handle the details.  Add UI elements, new
13618           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13619           charm.  Note this does more than add a nice feature, it fixes a bug.
13620           Apparently, some people have AP's where the pairwise cipher does not
13621           match the group cipher.  Insane, but true.
13622
13623 2006-01-30  Dan Williams  <dcbw@redhat.com>
13624
13625         * gnome/applet/applet-dbus-devices.c
13626                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13627                         functions, grab device driver name from NetworkManager
13628                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13629
13630         * gnome/applet/applet.c
13631                 - (nmwa_update_info): show driver name in Connection Information
13632                         dialog
13633
13634         * gnome/applet/nm-device.[ch]
13635                 - (network_device_get_driver, network_device_set_driver): add
13636                         accessors for driver name
13637
13638         * gnome/applet/wireless-applet.glade
13639                 - Add line for driver name to Connection Information dialog
13640
13641         * src/nm-dbus-device.c
13642                 - (nm_dbus_device_get_driver): new function to return driver name
13643                 - (nm_dbus_device_methods): hook up driver name function to dbus
13644
13645         * test/nm-tool.c
13646                 - (get_driver_name): new function
13647                 - (detail_device): grab and show driver name
13648
13649 2006-01-30  Robert Love  <rml@novell.com>
13650
13651         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13652           does not parse the markup if it is not part of the format.
13653
13654 2006-01-30  Robert Love  <rml@novell.com>
13655
13656         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13657           FALSE, we have no security options for this dialog, so we throw up
13658           an error dialog instead of a broken passphrase dialog.  Fixes
13659           Novell #138404.
13660         * gnome/applet/wireless-security-manager.c,
13661           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13662           does not add any security options, not even NONE, print a warning
13663           and return FALSE.  This let's functions constructing a dialog bail
13664           out if the device's capabilities and the network's requirements have
13665           zero overlap.
13666
13667 2006-01-27  Robert Love  <rml@novell.com>
13668
13669         * configure.in: Require wpa_supplicant.  Detect location of binary and
13670           use it.  Override with "--with-wpa_supplicant=foo".
13671         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13672           path to wpa_supplicant but use the auto-detected or user-provided
13673           value from configure.
13674
13675 2006-01-27  Robert Love  <rml@novell.com>
13676
13677         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13678           but the DHCP server did not return a hostname, try to look up our
13679           name via DNS and set the system hostname to that.
13680
13681 2006-01-27  Dan Williams  <dcbw@redhat.com>
13682
13683         * src/backends/NetworkManagerRedHat.c
13684                 - Add NM_CONTROLLED system network script support for RH/Fedora
13685
13686 2006-01-27  Dan Williams  <dcbw@redhat.com>
13687
13688         * src/backends/NetworkManagerGentoo.c
13689                 - (nm_system_device_get_disabled): add missing function.
13690                         Gnome BZ #328780
13691
13692 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13693
13694         * configure.in: Added vi in ALL_LINGUAS line.
13695         
13696 2006-01-26  Robert Love  <rml@novell.com>
13697
13698         * src/Makefile.am, src/kernel-types.h: Now that two different source
13699           files are feeling the crack-addled leakage of kernel types such as
13700           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13701           types in user-space -- define a header and include it as needed.
13702         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13703         * src/nm-device-802-3-ethernet.h: Remove defines.
13704         * src/wpa.c: Remove defines and include kernel-types.h.
13705
13706 2006-01-26  Robert Love  <rml@novell.com>
13707
13708         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13709           work.
13710
13711 2006-01-26  Robert Love  <rml@novell.com>
13712
13713         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13714         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13715           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13716           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13717           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13718           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13719           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13720           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13721           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13722           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13723           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13724           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13725           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13726           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13727           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13728           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13729           Kill unused variables, labels, and static functions.  Don't pass
13730           string literals as the format string for printf-like functions.
13731
13732 2006-01-25  Dan Williams  <dcbw@redhat.com>
13733
13734         * gnome/applet/wireless-applet.glade
13735                 - Remove WPA2 Checkbox
13736
13737         * gnome/applet/wireless-security-manager.c
13738                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13739                         This means the Wireless Security menu now has two WPA options,
13740                         one for "WPA Personal" and one for "WPA2 Personal"
13741
13742         * gnome/applet/wso-wpa-psk.[ch]
13743                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13744                         'wpa2' argument to determine WPA version to use
13745                 - (append_dbus_params_func): pass stored WPA version to cipher
13746                         rather than using the (removed) checkbox
13747
13748 2006-01-24  Robert Love  <rml@novell.com>
13749
13750         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13751           before we g_strdup(), not the ultimate string.
13752
13753 2006-01-23  Dan Williams  <dcbw@redhat.com>
13754
13755         * src/NetworkManagerAP.[ch]
13756                 - (nm_ap_new_from_ap): copy original essid too
13757                 - (nm_ap_unref): free original essid
13758                 - (nm_ap_get_orig_essid): new function
13759                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13760                         but keep original essid around too
13761
13762         * src/nm-device-802-11-wireless.c
13763                 - (supplicant_send_network_config): send wpa_supplicant the
13764                         _original_ essid, and not as a string, but in hex.  Should
13765                         allow us to connect to more APs that use wierd character
13766                         encodings for their essids
13767
13768         * utils/nm-utils.[ch]
13769                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13770                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13771                         use the current locale as a hint for what encoding the essid
13772                         might be in.  Obviously not 100% accurate, but the idea here is
13773                         that if a user's locale is ex. ja_JP, they are more likely than
13774                         not to be in Japan, where access points will likely be in some
13775                         Japanese encoding.
13776
13777 2006-01-23  Dan Williams  <dcbw@redhat.com>
13778
13779         * libnm-util/cipher-private.h
13780           libnm-util/cipher.c
13781           libnm-util/cipher.h
13782                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13783
13784 2006-01-23  Robert Love  <rml@novell.com>
13785
13786         Patch by Timo Hoenig <thoenig@suse.de>:
13787         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13788           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13789           by DHCP and pass it to the backends, allowing distribution-specific
13790           behavior with respect to the DHCP-supplied hostname (if nothing else,
13791           some distributions might not want to set the hostname).
13792         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13793           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13794           Also update our NIS behavior.
13795         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13796           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13797           Add stub functions.
13798
13799 2006-01-23  Robert Love  <rml@novell.com>
13800
13801         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13802           gnome-session does autostart.  TODO: We need to install this to
13803           $prefix/share/autostart/.
13804
13805 2006-01-22  Dan Williams  <dcbw@redhat.com>
13806
13807         * src/NetworkManagerAP.[ch]
13808           src/nm-dbus-nmi.c
13809           src/nm-device-802-11-wireless.c         
13810                 - Make nm_ap_get_essid return "const char *"
13811
13812 2006-01-22  Dan Williams  <dcbw@redhat.com>
13813
13814         * src/NetworkManagerAP.[ch]
13815                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13816
13817         * src/NetworkManagerAPList.[ch]
13818                 - (nm_ap_list_diff): removed
13819                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13820                         deal with access points changing essids on us
13821
13822         * src/nm-device-802-11-wireless.c
13823                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13824                         src/NetworkManagerAPList.c
13825                 - (real_can_interrupt_activation): new function; allow interruption
13826                         of device activation if we are waiting for a network key
13827
13828         * src/NetworkManagerPolicy.c
13829                 - (nm_policy_device_change_check): allow interruption of currently
13830                         activating devices if the device allows it.  Previous behavior
13831                         would refuse to activate a just-plugged wired device if a
13832                         wireless device was waiting for a key.
13833
13834         * src/nm-device.[ch]
13835                 - (nm_device_can_interrupt_activation): new function; ask devices
13836                         whether their activation can be interrupted
13837
13838 2006-01-20  Robert Love  <rml@novell.com>
13839
13840         * Makefile.am, configure.in: Add new man subdirectory.
13841         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13842           man/Makefile.am: Add man pages for NetworkManager and its
13843           crime-solving bumbling buddy, NetworkManagerDispatcher.
13844         * man/.cvsignore: Add.
13845         * initscript/Debian/NetworkManager,
13846           initscript/Gentoo/NetworkManager.in,
13847           initscript/RedHat/NetworkManager.in,
13848           initscript/RedHat/NetworkManagerDispatcher.in,
13849           initscript/SUSE/networkmanager-dispatcher.in,
13850           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13851
13852 2006-01-20  Robert Love  <rml@novell.com>
13853
13854         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13855           instead of queuing.  This prevents the running of multiple NM
13856           daemons concurrently, which does not work whatsoever and results in
13857           neither daemon working correctly.  Also, we don't handle queuing and
13858           name-owner-changes, anyhow.
13859
13860 2006-01-20  Robert Love  <rml@novell.com>
13861
13862         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13863         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13864           to sbin, not bin.
13865
13866 2006-01-19  Robert Love  <rml@novell.com>
13867
13868         * configure.in: Require hal 0.5.0 or later.
13869
13870 2006-01-18  Robert Love  <rml@novell.com>
13871
13872         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13873           Allow backends to flag a device (in whatever distro-dependent way
13874           they so desire) as disabled.  NM will ignore any such device.
13875         * src/backends/NetworkManagerDebian.c,
13876           src/backends/NetworkManagerRedHat.c,
13877           src/backends/NetworkManagerSlackware.c: Add stub function
13878           nm_system_device_get_disabled() that always returns FALSE (enabled).
13879         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13880           SUSE-specific configuration structure.  Fill it in from the
13881           NM_CONTROLLED variable in the system networking scripts.  If this var
13882           exists and is "no", we ignore the device.
13883
13884 2006-01-17  Robert Love  <rml@novell.com>
13885
13886         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13887           identical for NM.  For a full discussion, see the thread at
13888           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13889
13890 2006-01-17  Dan Williams  <dcbw@redhat.com>
13891
13892         * src/nm-device.c
13893                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13894                         function.  Fixes crash when wired DHCP fails.
13895
13896 2006-01-16  Robert Love  <rml@novell.com>
13897
13898         * src/Makefile.am: Don't install NMLoadModules
13899         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13900           from src/ to test/ as no one uses it anymore.  Note that I would be
13901           fine with removing it altogether.
13902
13903 2006-01-16  Robert Love  <rml@novell.com>
13904
13905         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13906           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13907           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13908           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13909           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13910           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13911           declarations, ever.
13912         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13913           NM_STATE_DISCONNECTED is zero).
13914
13915 2006-01-16  Robert Love  <rml@novell.com>
13916
13917         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13918           uninitialized parameter and buffer overflow.  Novell #143496.
13919
13920 2006-01-16  Dan Williams  <dcbw@redhat.com>
13921
13922         Apply the PtP Address bits of a patch from Tim Niemueller
13923
13924         * src/nm-ip4-config.[ch]
13925                 - Add ip4_ptp_address member to object
13926                 - (nm_ip4_config_copy): copy ptp address too
13927                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13928                         new functions
13929                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13930                         rather than local tunnel ip address
13931
13932         * src/vpn-manager/nm-vpn-service.c
13933                 - (print_vpn_config): update for PtP address
13934                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13935                         DBusMessageIters in preparation for getting routes from the VPN
13936                         service daemons too
13937
13938         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13939                 - (send_config_info): update for PtP address, clean up code
13940                 - (main): update for PtP address, clean up code, fix typo
13941
13942         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13943                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13944
13945         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13946                 - (pptp_ip_up): update for PtP address
13947
13948         * vpn-daemons/pptp/src/nm-pptp-service.c
13949                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13950
13951         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13952                 - (print_vpn_config): update for PtP address
13953                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13954
13955 2006-01-16  Dan Williams  <dcbw@redhat.com>
13956
13957         * gnome/applet/applet.c
13958                 - (nmwa_add_networks_helper): don't indicate an active network
13959                         if NM is disconnected or asleep
13960
13961 2006-01-16  Dan Williams  <dcbw@redhat.com>
13962
13963         * src/NetworkManagerPolicy.c
13964                 - (nm_policy_device_change_check): switch devices if we lose the link
13965                         on an ethernet device. 
13966
13967 2006-01-16  Dan Williams  <dcbw@redhat.com>
13968
13969         * gnome/applet/wso-wpa-psk-hex.[ch]
13970                 - Renamed -> wso-wpa-psk.[ch]
13971
13972         * gnome/applet/wso-wpa-psk.[ch]
13973                 - New files
13974
13975         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13976                 - Removed, rolled into wso-wpa-psk.[ch]
13977
13978         * gnome/applet/Makefile.am
13979                 - Updated for above changes
13980
13981         * gnome/applet/wireless-applet.glade
13982                 - Consolidate WPA-PSK options into one notebook
13983                         widget, and make dialogs invisible by default
13984                         to fix screen oddities
13985
13986         * gnome/applet/wireless-security-manager.c
13987                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13988                         than both the old hex & passphrase ones
13989
13990 2006-01-16  Dan Williams  <dcbw@redhat.com>
13991
13992         * gnome/applet/other-network-dialog.c
13993                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13994
13995 2006-01-16  Dan Williams  <dcbw@redhat.com>
13996
13997         * gnome/applet/applet.c
13998                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13999                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14000                         prevention to realize window before trying to get server
14001                         time
14002
14003         * gnome/applet/other-network-dialog.c
14004                 - (nmwa_other_network_dialog_run): fix up focus-stealing
14005                         prevention to realize window before trying to get server
14006                         time
14007
14008         * gnome/applet/passphrase-dialog.c
14009                 - (nmi_passphrase_dialog_new): fix up focus-stealing
14010                         prevention to realize window before trying to get server
14011                         time
14012
14013 2006-01-16  Robert Love  <rml@novell.com>
14014
14015         Patch from Timo Hoenig  <thoenig@suse.de:
14016         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14017           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14018           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14019           libnm-util/dbus-helpers.h: add checks whether headers are used
14020           within a C++ build.
14021
14022 2006-01-16  Dan Williams  <dcbw@redhat.com>
14023
14024         * gnome/applet/wireless-security-option.c
14025                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14026
14027 2006-01-16  Dan Williams  <dcbw@redhat.com>
14028
14029         * libnm-util/cipher-wpa-psk-passphrase.c
14030                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14031                         be 8 - 63 characters inclusive
14032
14033 2006-01-16  Dan Williams  <dcbw@redhat.com>
14034
14035         * src/nm-dbus-nm.c
14036                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14037
14038 2006-01-13  Robert Love  <rml@novell.com>
14039
14040         Patch by T Sureshkumar <tsureshkuman@novell.com>:
14041         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14042           modules that do not use an interface.
14043
14044 2006-01-13  Dan Williams  <dcbw@redhat.com>
14045
14046         * src/nm-device.c
14047           src/nm-device.h
14048                 - Allow subclasses to implement deactivate_quickly()
14049                 - (nm_device_deactivate_quickly): call subclass
14050                         deactivate_quickly() methods
14051                 - (nm_device_set_active_link): small cleanups, and don't
14052                         deactivate the device right away because we risk a deadlock
14053                         when called from device thread, waiting for the device
14054                         thread to cancel activation
14055
14056         * src/nm-device-802-11-wireless.c
14057                 - (real_deactivate_quickly): new function
14058                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14059                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14060                         so that we kill the supplicant when we sleep too
14061                 - (supplicant_interface_init): work around naive naming attempts of
14062                         wpa_ctrl when naming sockets
14063
14064 2006-01-13  Dan Williams  <dcbw@redhat.com>
14065
14066         * src/nm-device-802-11-wireless.c
14067                 - (supplicant_cleanup): delete old device control sockets too
14068                 - (supplicant_get_device_socket_path): new function to consolidate
14069                         locations that need a path to a device's control socket
14070
14071 2006-01-12  Robert Love  <rml@novell.com>
14072
14073         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14074           description so that the description is unique for each
14075           pair (device,provider).  Fixes Novell #142773.
14076
14077 2006-01-12  Dan Williams  <dcbw@redhat.com>
14078
14079         * src/nm-device-802-11-wireless.c
14080                 - (supplicant_exec): ensure GError is correctly initialized
14081                         Reported by Diego González (gnome.org #326708)
14082
14083 2006-01-11  Robert Love  <rml@novell.com>
14084
14085         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14086           define if_mii(), open code the same results, and do so without any
14087           type punning.
14088
14089 2006-01-11  Robert Love  <rml@novell.com>
14090
14091         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14092           that wso_foo_new() returned non-NULL.  Instead, only append the new
14093           wso to wsm->options if the wso is non-NULL.  The crux is that we
14094           assume that the relevant key types are implied by WEP and WPA as
14095           appropriate.  To be sure, they should be, but we should not expect
14096           drivers to not be oozing piles of wolf fecal matter.
14097
14098 2006-01-11  Robert Love  <rml@novell.com>
14099
14100         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14101         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14102           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14103           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14104           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14105           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14106           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14107         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14108           comparing values within DBL_EPSILON.  Also fix shadowed variable
14109           usage.
14110
14111 2006-01-11  Dan Williams  <dcbw@redhat.com>
14112
14113         Add options for WPA2 and WPA1+CCMP (AES).
14114
14115         * gnome/applet/wireless-applet.glade
14116                 - Add UI bits for WPA+CCMP
14117
14118         * gnome/applet/other-network-dialog.c
14119                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14120                         and don't allow creation of WPA2 Ad-Hoc networks since
14121                         wpa_supplicant doesn't support them
14122
14123         * gnome/applet/wireless-security-manager.c
14124                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14125                         on to the specific wireless security option being created
14126
14127         * gnome/applet/wireless-security-option.[ch]
14128                 - (wso_wpa_create_key_type_model): new utility function to create
14129                         the model required for WPA Key Type combo box
14130
14131         * gnome/applet/wso-private.h
14132           gnome/applet/wireless-security-option.h
14133                 - Move private function prototypes into wso-private.h
14134
14135         * gnome/applet/wso-wpa-psk-hex.[ch]
14136           gnome/applet/wso-wpa-psk-passphrase.[ch]
14137                 - (append_dbus_params_func): get WPA version from checkbox and pass
14138                         it to the dbus serialization helper
14139                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14140                         key type combo changes
14141                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14142                         model and options
14143
14144         * libnm-util/cipher-wpa-psk-hex.c
14145           libnm-util/cipher-wpa-psk-passphrase.c
14146                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14147                         new function; allow the cipher to be changed after object creation
14148
14149         * src/nm-ap-security-wpa-psk.c
14150                 - (set_description): Do WPA2 descriptions too
14151
14152         * src/nm-ap-security.c
14153                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14154
14155 2006-01-11  Robert Love  <rml@novell.com>
14156
14157         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14158           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14159           from the ifreq structure in lieu of an open coded solution.  Removes
14160           a life-threatening type-punning.
14161         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14162           types, ever, whatsoever, baby.
14163
14164 2006-01-11  Robert Love  <rml@novell.com>
14165
14166         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14167           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14168           assignments to applet->nm_state into a new nmwa_set_state() function
14169           for both cleanliness and to help debugging.
14170
14171 2006-01-10  Robert Love  <rml@novell.com>
14172
14173         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14174           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14175           seconds, exclusive.  That is, we want to sleep x seconds such that
14176           1 < x < 2.
14177
14178 2006-01-10  Robert Love  <rml@novell.com>
14179
14180         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14181           the attr fields according to the example in the email available at
14182           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14183           Conversely, we do have to free 'name', so we do so, fixing a leak.
14184
14185 2006-01-10  Robert Love  <rml@novell.com>
14186
14187         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14188           sure that we close the socket!
14189
14190 2006-01-10  Robert Love  <rml@novell.com>
14191
14192         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14193           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14194           src/nm-device.c: Fix a FIXME!  Reimplement the function
14195           nm_device_update_hw_address() in device subclass variants,
14196           nm_device_802_3_ethernet_set_address() and
14197           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14198           This fixes the existing bug where MAC addresses are all zeros.
14199
14200 2006-01-10  Robert Love  <rml@novell.com>
14201
14202         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14203           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14204           option to give users ability to globally disconnect and put NM to
14205           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14206           clean disconnect.
14207
14208 2006-01-09  Robert Love  <rml@novell.com>
14209
14210         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14211           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14212           User-space does not supply these types, so we have to define them
14213           ourselves.  The relevant kernel maintainer refused to accept a patch
14214           switching these headers to the proper C99 types.
14215
14216 2006-01-09  Dan Williams  <dcbw@redhat.com>
14217
14218         Apply Robert's 'tray icon redo' patch with fixes
14219         * gnome/applet/applet.c
14220           gnome/applet/applet.h
14221                 - Instead of using a menu bar + menu item, simulate menu
14222                         behavior using a popup menu.  Highlight the area around
14223                         the icon more like a menu too, by playing with the
14224                         applet's size requisition
14225
14226 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14227         * libnm-util/dbus-helpers.c
14228           libnm-util/dbus-helpers.h
14229                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14230                         to 'exception_namespace' (:namespace is a keyword in
14231                         C++)
14232
14233 2006-01-09  Dan Williams  <dcbw@redhat.com>
14234
14235         * src/NetworkManagerPolicy.c
14236                 - (nm_policy_device_change_check): don't autoswitch away from
14237                         Ad-Hoc networks, since there's really no concept of
14238                         "link"
14239
14240         * src/nm-dbus-nm.c
14241                 - (nm_dbus_nm_create_wireless_network): mark created networks
14242                         as Ad-Hoc networks
14243
14244         * src/nm-device-802-11-wireless.c
14245                 - (real_activation_success_handler): add user-created Ad-Hoc
14246                         networks to the device's scan list
14247
14248 2006-01-08  Dan Williams  <dcbw@redhat.com>
14249
14250         We now require a patch for wpa_supplicant to support Ad-Hoc
14251         networks:
14252           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14253
14254         * src/nm-device-802-11-wireless.c
14255                 - (supplicant_send_network_config): turn off wpa_supplicant's
14256                         scanning.  Fixes Ad-Hoc networks.
14257
14258 2006-01-08  Dan Williams  <dcbw@redhat.com>
14259
14260         * src/nm-ap-security.c
14261           src/nm-ap-security.h
14262                 - Add a user_created argument to the write_supplicant_config
14263                         functions
14264
14265         * src/nm-ap-security-wep.c
14266           src/nm-ap-security-wpa-psk.c
14267           src/nm-device-802-11-wireless.c
14268                 - Make Ad-Hoc mode somewhat work, at least write the
14269                         correct options to wpa_supplicant
14270
14271 2006-01-08  Dan Williams  <dcbw@redhat.com>
14272
14273         * src/nm-device-802-11-wireless.c
14274                 - Remove unused code from the old device activation path
14275
14276 2006-01-08  Dan Williams  <dcbw@redhat.com>
14277
14278         * libnm-util/dbus-helpers.c
14279                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14280                         dbus when key == NULL
14281
14282 2006-01-08  Dan Williams  <dcbw@redhat.com>
14283
14284         * gnome/applet/nm-gconf-wso-wpa-psk.c
14285                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14286                         correct arguments to nmu_security_deserialize_wpa_psk()
14287
14288         * src/nm-ap-security-wpa-psk.c
14289                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14290                         arguments to nmu_security_deserialize_wpa_psk()
14291
14292 2006-01-08  Dan Williams  <dcbw@redhat.com>
14293
14294         * gnome/applet/wso-wpa-psk-hex.c
14295           gnome/applet/wso-wpa-psk-passphrase.c
14296                 - Hook up the append_dbus_params_func() function
14297
14298 2006-01-08  Dan Williams  <dcbw@redhat.com>
14299
14300         * src/nm-device-802-11-wireless.c
14301                 - (get_wireless_capabilities): correctly detect driver WPA
14302                         capabilities
14303
14304 2006-01-08  Dan Williams  <dcbw@redhat.com>
14305
14306         * gnome/applet/Makefile.am
14307           gnome/applet/wso-wpa-psk-hex.c
14308           gnome/applet/wso-wpa-psk-hex.h
14309                 - New files, implement WPA-PSK Hex key input
14310
14311         * gnome/applet/wireless-applet.glade
14312                 - Change existing wpa-psk stuff to wpa-psk-hex
14313                 - Add new widgets for wpa-psk-passphrase
14314
14315         * gnome/applet/wireless-security-manager.c
14316                 - (wsm_set_capabilities): enable WPA options
14317
14318         * gnome/applet/wso-wpa-psk-passphrase.c
14319                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14320                         for WPA-PSK passphrase
14321
14322 2006-01-08  Dan Williams  <dcbw@redhat.com>
14323
14324         * include/NetworkManager.h
14325                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14326                         applet/info-daemons
14327
14328         * gnome/applet/passphrase-dialog.c
14329                 - Use the constant.  Fixes a bug where the arguments to
14330                         dbus_message_new_error() were incorrect
14331
14332         * src/nm-dbus-nmi.c
14333                 - Use the constant
14334
14335 2006-01-07  Dan Williams  <dcbw@redhat.com>
14336
14337         * src/nm-device-802-11-wireless.c
14338                 - Add a link timeout so we allow the supplicant time to
14339                         reassociate if it can, before we deactivate the card
14340                 - Fix up link status and link updating so things work better
14341
14342 2006-01-07  Dan Williams  <dcbw@redhat.com>
14343
14344         * src/nm-device-802-11-wireless.c
14345                 - Switch over to using wpa_supplicant
14346                 - Add a timeout of 10s for association of the supplicant
14347                 - Start the monitor callback of the supplicant
14348
14349 2006-01-07  Dan Williams  <dcbw@redhat.com>
14350
14351         * src/NetworkManagerUtils.c
14352                 - (nm_utils_supplicant_request,
14353                   nm_utils_supplicant_request_with_check):
14354                         pass correct buffer length to wpa_ctrl_request()
14355
14356 2006-01-07  Dan Williams  <dcbw@redhat.com>
14357
14358         * src/nm-device-private.h
14359           src/nm-device.c
14360                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14361                         this function available to subclasses
14362
14363 2006-01-06  Robert Love  <rml@novell.com>
14364
14365         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14366           user plugging in a network cable signals their preference for to
14367           switch, unless the user explicitly selected a wireless network and
14368           therefore signaled their preference for said wireless network over
14369           wired.  In other words, do exactly what makes sense.
14370
14371 2006-01-06  Robert Love  <rml@novell.com>
14372
14373         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14374           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14375           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14376           showing up in my greps.
14377
14378 2006-01-06  Robert Love  <rml@novell.com>
14379
14380         * gnome/applet/applet-dbus-devices.c,
14381           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14382           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14383           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14384           New Network' both failed in the non-encrypted case because we were
14385           not appending the security options to the DBUS message.  And
14386           'Connect to Other' was also failing in the encrypted case because
14387           we were not incrementing to the next DBUS parameter.  All fixed.
14388           Thanks to dcdw for some debugging help.
14389
14390 2006-01-06  Robert Love  <rml@novell.com>
14391
14392         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14393           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14394           hangup code and add per-device hangup.  Tie last commit into the
14395           GNOME applet.  TODO:  Save, understand, and respond to the state of
14396           each dialup device.
14397
14398 2006-01-06  Robert Love  <rml@novell.com>
14399
14400         Patch by Timo Hoenig <thoenig@suse.de>:
14401         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14402           hangup specific dialup devices.
14403         * src/backends/NetworkManagerDebian.c,
14404           src/backends/NetworkManagerGentoo.c,
14405           src/backends/NetworkManagerRedHat.c,
14406           src/backends/NetworkManagerSlackware.c: Add stub backend.
14407         * src/backends/NetworkManagerRedHat.c,
14408           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14409           hangup specific dialup devices.
14410
14411 2006-01-04  Robert Love  <rml@novell.com>
14412
14413         * gnome/applet/applet-dbus-devices.c,
14414           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14415           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14416           connections.
14417
14418 2006-01-04  Dan Williams  <dcbw@redhat.com>
14419
14420         First dump of wpa_supplicant-related code.  It's not hooked up to
14421         anything yet though.  Thanks to Kay Sievers for
14422         wpa_supplicant_wrapper.c, which formed the basis for this work,
14423         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14424
14425         * src/Makefile.am
14426           src/wpa_ctrl.[ch]
14427                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14428
14429         * src/NetworkManagerUtils.[ch]
14430                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14431                         Add convenience functions for talking to wpa_supplicant
14432
14433         * src/nm-ap-security.[ch]
14434           src/nm-ap-security-wep.c
14435           src/nm-ap-security-wpa-psk.[ch]
14436                 - Update and implement real_write_supplicant_config functions
14437                         in all security types
14438                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14439                         nm-ap-security-wpa-psk.c
14440
14441         * src/nm-device-802-11-wireless.c
14442                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14443                    wpa_supplicant_start, wpa_supplicant_interface_init,
14444                    wpa_supplicant_send_network_config): add functions to talk to
14445                         wpa_supplicant and write network config to it
14446
14447 2006-01-04  Robert Love  <rml@novell.com>
14448
14449         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14450           values so that distribution-backends can differentiate between the
14451           various types (modem, ISDN, et cetera) of dialup device that they
14452           support.
14453         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14454           needed.
14455
14456 2006-01-03  Dan Williams  <dcbw@redhat.com>
14457
14458         * src/NetworkManagerPolicy.c
14459           src/nm-device.[ch]
14460           src/nm-device-802-11-wireless.c
14461                 - Move wireless-specific activation failure and success code
14462                         into wireless device class
14463
14464 2006-01-03  Robert Love  <rml@novell.com>
14465
14466         Patch by Preggna S:
14467         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14468           IPsec does not require that a VPN client be bound to an interface,
14469           due to the use of the in-kernel IPSec bits.  So make the tunnel
14470           device optional.
14471
14472 2006-01-03  Dan Williams  <dcbw@redhat.com>
14473
14474         * src/NetworkManagerAP.c
14475                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14476                         the WPA IE specifies that WEP is supported
14477
14478         * src/nm-device-802-11-wireless.c
14479                 - (process_scan_results): don't mark an AP as supporting WEP
14480                         if there's already other encryption capability info
14481
14482 2006-01-03  Dan Williams  <dcbw@redhat.com>
14483
14484         * src/dhcp-manager/nm-dhcp-manager.c
14485                 - Recognize activation cancellation when waiting for DHCP
14486                         configuration from dhcdbd
14487                 - Ignore non-dhcdbd messages
14488
14489         * src/nm-device.c
14490                 - (real_act_stage3_ip_config_start): return to correct behavior
14491                         of letting the dhcp-manager notify us of failure or
14492                         success rather than incorrectly doing that ourselves
14493                 - (nm_device_activate_stage4_ip_config_get): deal with
14494                         activation cancellation a bit earlier
14495
14496 2006-01-03  Dan Williams  <dcbw@redhat.com>
14497
14498         * src/nm-device-802-11-wireless.c
14499           src/nm-device.[ch]
14500                 - Add hooks to subclasses for stage3_ip_config_start and
14501                         stage4_ip_config_timeout
14502
14503         * src/nm-device-802-3-ethernet.c
14504                 - (real_get_generic_capabilities): make devices NM-supported
14505                         by default
14506
14507 2006-01-03  Robert Love  <rml@novell.com>
14508
14509         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14510           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14511           latter cannot differentiate between error and the address -1; misc.
14512           clean up.
14513
14514 2006-01-03  Dan Williams  <dcbw@redhat.com>
14515
14516         * src/NetworkManager.c
14517                 - Move link-checking/probing into the device subclasses
14518                         themselves
14519
14520         * src/nm-device.[ch]
14521           src/nm-device-802-11-wireless.c
14522           src/nm-device-802-3-ethernet.c
14523                 - Do periodic link checking in device subclasses rather
14524                         than being triggered from NetworkManager.c
14525                 - discover_wireless_capabilities -> get_wireless_capabilities
14526                 - discover_generic_capabilities -> get_generic_capabilities
14527                 - Device subclass activation routines now return a value of type
14528                         NMActStageReturn to indicate what step to perform next
14529                 - Devices now override stage4_get_ip4_config if they choose
14530
14531 2006-01-01  Dan Williams  <dcbw@redhat.com>
14532
14533         * src/nm-device-802-11-wireless.c
14534                 - (real_init): don't chain up to parent init because we don't
14535                         need to do that anymore
14536
14537         * src/nm-device.c
14538                 - (discover_device_type): fix arguments to ioctl() to correctly
14539                         pass interface name
14540                 - (nm_device_new): consolidate generic device initialization into
14541                         nm_device_new()
14542                 - (real_init): remove, consolidated to nm_device_new()
14543                 - (nm_device_deactivate, real_deactivate): consolidate
14544
14545 2006-01-01  Dan Williams  <dcbw@redhat.com>
14546
14547         * src/nm-activation-request.c
14548                 - Change dhcp_state member of the NMActRequest structure
14549                         from guint8 to guint32
14550
14551         * src/dhcp-manager/nm-dhcp-manager.[ch]
14552                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14553                         than guint8 to match the dbus argument.  Turns out we were
14554                         overwriting memory since we were passing in only a guint8
14555
14556 2005-12-31  Dan Williams  <dcbw@redhat.com>
14557
14558         * refactor NMDevice into a GObject-based framework with separate
14559                 objects for wired and wireless.  The following files are no
14560                 longer used but should stick around for a bit so we don't
14561                 loose code through the cracks:
14562                         NetworkManagerDevice.c
14563                         NetworkManagerDevice.h
14564                         NetworkManagerWireless.c
14565                         NetworkManagerWireless.h
14566
14567         The intent here is to allow each device type to manage its own
14568         connection & activation life-cycle, ie to allow wireless devices
14569         to interface with wpa_supplicant, etc.  There's a fair bit of
14570         encapsulation breakage right now that should gradually get pulled
14571         back into each device, along with things like periodic property
14572         updates and link probing.
14573
14574 2005-12-29  Dan Williams  <dcbw@redhat.com>
14575
14576         * include/NetworkManager.h
14577                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14578                         between networks that don't have any encryption at all
14579
14580 2005-12-29  Dan Williams  <dcbw@redhat.com>
14581
14582         * test/test-common.c
14583           test/test-common.h
14584           test/Makefile.am
14585                 - Move to a test-common subdirectory
14586
14587         * test/libnm-util/test-ciphers.c
14588                 - Move test data to test-inputs.h
14589                 - Test WPA ciphers too
14590
14591         * test/libnm-util/test-dbus-helpers.c
14592                 - Test serialization/deserialization of ciphers
14593
14594 2005-12-29  Dan Williams  <dcbw@redhat.com>
14595
14596         * gnome/applet/applet-dbus-devices.c
14597                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14598                         in dbus calls to NM
14599                 - Set capabilities on WirelessNetwork objects
14600                 - Receive and save type-specific device capabilities too
14601
14602         * gnome/applet/applet-dbus-info.c
14603           gnome/applet/applet-dbus.c
14604                 - Passphrase dialog no longer a singleton; new instance gets created
14605                         on each request.  Updates to deal with that.
14606
14607         * gnome/applet/applet.c
14608                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14609                         than single 'encrypted' flag
14610                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14611                         menu items
14612                 - Passphrase dialog updates per above
14613
14614         * gnome/applet/menu-items.c
14615                 - (network_menu_item_update): use AP capabilities to determine
14616                         encryption
14617
14618         * gnome/applet/nm-device.[ch]
14619                 - Add accessors for type-specific device capabilities
14620
14621         * gnome/applet/other-network-dialog.c
14622                 - Rework to respect device capabilities.  i.e., if the device doesn't
14623                         support WPA, remove that option from the security dropdown
14624
14625         * gnome/applet/passphrase-dialog.c
14626                 - Massive rework so that a new instance is created each time
14627                         it's used, to support wireless network capabilities
14628
14629         * gnome/applet/wireless-network.[ch]
14630                 - Add accessors and members for wireless network capabilities
14631
14632         * gnome/applet/wireless-security-manager.[ch]
14633                 - (wsm_set_capabilities): called after creation to set which
14634                         security options get shown to the user
14635
14636 2005-12-29  Dan Williams  <dcbw@redhat.com>
14637
14638         * libnm-util/cipher-wpa-psk-passphrase.c
14639                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14640                         like other ciphers
14641
14642 2005-12-23  Dan Williams  <dcbw@redhat.com>
14643
14644         * gnome/applet/applet-dbus-info.c
14645                 - (nmi_dbus_get_key_for_network): if there's no entry in
14646                         GConf for a network, assume we want a new key
14647                 - (nmi_save_network_info): serialize wireless security info
14648                         into GConf so its saved
14649
14650         * src/nm-dbus-nm.c
14651                 - Fix warning as we may not be passed security info when
14652                         connecting to a wireless network
14653
14654 2005-12-23  Dan Williams  <dcbw@redhat.com>
14655
14656         * gnome/applet/applet-compat.c
14657                 - Fix bugs in GConf entry conversion
14658
14659         * gnome/applet/applet-dbus-info.c
14660                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14661                         list being zero-length
14662
14663         * libnm-util/cipher-*
14664           libnm-util/dbus-helpers.c
14665                 - All ciphers must now return hashed keys as UTF-8 valid
14666                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14667                         through dbus as strings too.
14668                 - Consolidate various functions that do bin->hex and hex->bin
14669                         conversion into cipher.c
14670
14671         * src/nm-ap-security-wep.c
14672           src/nm-ap-security-wpa-psk.c
14673                 - Handle NULL keys since we may not know keys right away
14674
14675         * src/nm-dbus-nmi.c
14676                 - (nm_dbus_get_network_data_cb): actually advance to the start
14677                         of the wireless security info before we try to deserialize it
14678
14679         * libnm-util/test-ciphers.c
14680                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14681
14682 2005-12-22  Dan Williams  <dcbw@redhat.com>
14683
14684         * gnome/applet/applet-compat.[ch]
14685                 - Convert old-format GConf and keyring entries
14686                         when the applet starts up.
14687
14688         * gnome/applet/applet.c
14689                 - (nmwa_get_instance): Call the conversion function
14690                         on startup before dbus is initialized
14691
14692 2005-12-22  Dan Williams  <dcbw@redhat.com>
14693
14694         * gnome/applet/applet-dbus-info.c
14695                 - Remove nmi_dbus_create_error_message() in favor of
14696                         nmu_create_dbus_error_message()
14697                 - (nmi_dbus_get_network_properties): Error message cleanups
14698                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14699                         gconf key rather than 'addresses', since they really are BSSIDs
14700                 - (nmi_dbus_get_network_properties): Dispose of the security
14701                         object when we're done with it
14702
14703 2005-12-21  Dan Williams  <dcbw@redhat.com>
14704
14705         * Consolidate the info-daemon's "updateNetworkInfo" and
14706                 "addNetworkAddress" calls into just "updateNetworkInfo"
14707
14708 2005-12-21  Dan Williams  <dcbw@redhat.com>
14709
14710         * Make connection after key retrieval work again
14711
14712 2005-12-21  Dan Williams  <dcbw@redhat.com>
14713
14714         * gnome/applet/nm-gconf-wso*
14715                 - Make the serialize functions return gboolean
14716                         rather than int
14717
14718         * gnome/applet/nm-gconf-wso.c
14719                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14720                         parent class handling so we don't segfault
14721
14722         * src/NetworkManagerAP.[ch]
14723                 - (nm_ap_get_capabilities): new function, return capabilities
14724                         now that something can use them
14725                 - (nm_ap_set_encrypted): assume that an access point supports
14726                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14727                         we even tell whether it just supports WEP40?
14728
14729         * src/NetworkManagerDevice.c
14730                 - (ap_need_key): resurrect and update for the New World Order
14731                 - (nm_device_wireless_get_activation_ap): if we're not given
14732                         security info to use, create some based on access point
14733                         capabilities
14734
14735         * src/nm-ap-security-wep.c
14736                 - (nm_ap_security_wep_new_from_ap): create a new object
14737                         based on a certain access point's capabilities
14738
14739         * src/nm-ap-security.c
14740                 - (nm_ap_security_new_from_ap): delegate creation of a new
14741                         object based on access point capabilities to a subclass
14742                 - (nm_ap_security_copy_properties): don't segfault if we
14743                         don't have a key yet
14744
14745         * src/nm-dbus-nm.c
14746                 - (nm_dbus_nm_set_active_device): provide more informative
14747                         output when errors occur.  Also construct security info
14748                         for a given access point if we weren't given any
14749
14750 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14751
14752         * configure.in: Added Lithuanian to ALL_LINGUAS.
14753
14754 2005-12-21  Dan Williams  <dcbw@redhat.com>
14755
14756         * test/libnm-util
14757                 - Add some testcases for WEP ciphers
14758
14759 2005-12-17  Dan Williams  <dcbw@redhat.com>
14760
14761         * Fix bugs
14762
14763 2005-12-17  Dan Williams  <dcbw@redhat.com>
14764
14765         * include/NetworkManager.h
14766                 - Finally kill NMEncKeyType
14767
14768         * gnome/applet/applet-dbus-info.c
14769                 - (nmi_save_network_info): convert to NMGConfWSO
14770
14771         * gnome/applet/nm-gconf-wso-*.c
14772                 - Implement gconf serialization functions
14773
14774         * src/NetworkManagerPolicy.c
14775                 - (nm_policy_activation_finish): fix up meaning of
14776                         automatic/user_requested
14777
14778 2005-12-17  Dan Williams  <dcbw@redhat.com>
14779
14780         * gnome/applet/*
14781                 - More applet cleanups
14782                 - Use the dbus-method-dispatcher
14783
14784         * libnm-util/dbus-method-dispatcher.[ch]
14785                 - Generalize the implementation from NM in
14786                         NetworkManagerUtils.c
14787
14788 2005-12-16  Dan Williams  <dcbw@redhat.com>
14789
14790         * gnome/applet/*
14791                 - Fix up the passphrase dialog to use all the
14792                         WirelessSecurityOption stuff (untested)
14793
14794 2005-12-16  Dan Williams  <dcbw@redhat.com>
14795
14796         * Move nm_gconf_get_*_helper() functions to separate files,
14797                 gconf-helpers.c & gconf-helpers.h
14798
14799         * New NMGConfWSO objects for managing the gconf side of things.
14800                 Eventually these should be merged with the
14801                 WirelessSecurityOption objects and a common base (that can
14802                 serialize/deserialize from dbus & gconf) should be
14803                 refactored out, but for now they are separate.
14804
14805 2005-12-16  Robert Love  <rml@novell.com>
14806
14807         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14808           binaries unless they exist (nm_spawn_process() emits a warning if
14809           asked to spawn a non-existant process).
14810
14811 2005-12-16  Dan Williams  <dcbw@redhat.com>
14812
14813         * gnome/applet/applet-dbus-info.c
14814                 - Clean up lots of gconf-related code
14815
14816 2005-12-16  Robert Love  <rml@novell.com>
14817
14818         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14819
14820 2005-12-16  Dan Williams  <dcbw@redhat.com>
14821
14822         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14823
14824         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14825                 bits still to be done)
14826
14827 2005-12-16  Dan Williams  <dcbw@redhat.com>
14828
14829         * Finally move info-daemon related stuff out of
14830                 NetworkManagerDbus.c to nm-dbus-nmi.c
14831
14832 2005-12-16  Dan Williams  <dcbw@redhat.com>
14833
14834         * Kill auth_method for access points, since that's now done
14835                 by NMAPSecurity objects
14836
14837         * Add a copy-constructor of sorts to NMAPSecurity
14838                 (how do you do this properly in glib???)
14839
14840 2005-12-15  Dan Williams  <dcbw@redhat.com>
14841
14842         * Exorcise encryption key hashing on APs
14843         * Use libnm-util's serialization/deserialization in both the
14844                 applet and NM
14845         * Random other stuff
14846
14847 2005-12-15  Robert Love  <rml@novell.com>
14848
14849         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14850           is being added to the icon naming spec, so let's use that (Tango CVS
14851           has the icon).  Because it is new, however, we fall back to the
14852           current "gnome-lockscreen" if the new icon is not around, thus
14853           behavior is the same.
14854         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14855           factory junk.
14856
14857 2005-12-15  Robert Love  <rml@novell.com>
14858
14859         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14860           well, help to give.  Couple other misc. bits.
14861
14862 2005-12-15  Dan Williams  <dcbw@redhat.com>
14863
14864         * libnm-util/dbus-helpers.[ch]
14865                 - Make this the one-stop-shop for serializing/deserializing
14866                         AP & connection security settings over dbus.  Both NM
14867                         and applets should use this to ensure consistent dbus
14868                         API going forwared.
14869
14870 2005-12-15  Robert Love  <rml@novell.com>
14871
14872         Patch by Timo Hoenig  <thoenig@suse.de>:
14873         * src/NetworkManagerDbus.c
14874                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14875                         if HAL jumps off the system bus.  Otherwise libdbus
14876                         (dbus_connection_dispatch) will try to run the filter
14877                         function of our libhal context which is already freed.
14878
14879 2005-12-15  Alexander Shopov  <ash@contact.bg>
14880
14881         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14882
14883 2005-12-14  Dan Williams  <dcbw@redhat.com>
14884
14885         * include/NetworkManager.h
14886           src/NetworkManagerWireless.c
14887                 - Rearrange 802.11 wireless-specific capabilities again
14888
14889         * src/Makefile.am
14890                 - Forgot to add wpa.c/wpa.h to the makefiles
14891
14892         * src/NetworkManagerAP.[ch]
14893                 - Implement access point capabilities and parse the
14894                         WPA/RSN IEs into the capability bitfield
14895                 - Switch the "encrypted" attribute to utilize the bitfield
14896                         and capabilities rather than being independent
14897
14898         * src/NetworkManagerDevice.c
14899                 - (nm_device_wireless_get_activation_ap): break it horribly
14900                         until we can push NMAPSecurity objects into access point
14901                         objects and through the activation chain
14902                 - Stuff WPA & RSN IEs into AP capabilities
14903
14904         * src/nm-dbus-nm.c
14905                 - Take a shot at actually making setActiveDevice work
14906
14907         * src/wpa.[ch]
14908                 - Make the API a bit saner
14909
14910 2005-12-14  Dan Williams  <dcbw@redhat.com>
14911
14912         * include/NetworkManager.h
14913                 - Add 802.11-specific capability for 802.1x key
14914                         management
14915
14916         * src/wpa.[ch]
14917                 - Pull in WPA IE and RSN IE parsing code from
14918                         wpa_supplicant so we can determine access point
14919                         capabilities
14920                 - Move WPA-related constants here from NetworkManagerAP.h
14921                         and NetworkManagerDevice.c
14922
14923         * src/NetworkManagerDevice.c
14924           src/NetworkManagerAP.[ch]
14925                 - Use WPA-related constants from wpa.h
14926
14927 2005-12-14  Dan Williams  <dcbw@redhat.com>
14928
14929         * include/NetworkManager.h
14930                 - Update and split 802.11 wireless-specific capabilities from
14931                         generic device capabilities
14932
14933         * src/NetworkManagerDevice.c
14934           src/NetworkManagerDevicePrivate.h
14935                 - (nm_device_wireless_discover_capabilities): Move 802.11
14936                         wireless-specific capability checks to
14937                         NetworkManagerWireless.c
14938                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14939                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14940
14941         * src/NetworkManagerWireless.[ch]
14942                 - (nm_802_11_wireless_discover_capabilities): Check extended
14943                         802.11 wireless-specific capabilities of the driver
14944
14945 2005-12-14  Robert Love  <rml@novell.com>
14946
14947         Patch from Stefan Scheler <sscheler@suse.de>:
14948         * src/NetworkManagerDevice.c: call backend code to activate and
14949           deactivate NIS.
14950         * src/NetworkManagerSystem.h: add new NIS interfaces.
14951         * src/backends/NetworkManagerDebian.c,
14952           src/backends/NetworkManagerGentoo.c,
14953           src/backends/NetworkManagerRedHat.c,
14954           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14955           support.
14956         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14957
14958 2005-12-14  Dan Williams  <dcbw@redhat.com>
14959
14960         * src/nm-ap-security*.[ch]
14961                 - Add AP security abstractions to NetworkManager
14962
14963         * src/nm-dbus-device.c
14964                 - Begin to parse new format dbus messages from the applet
14965                         and construct an AP security object from the message
14966
14967         * libnm-util/dbus-helpers.c
14968                 - Use message iters so we can append the key as a fixed
14969                         array of bytes, which actually works rather than
14970                         using dbus_message_append_args() as we were before
14971
14972 2005-12-14  Dan Williams  <dcbw@redhat.com>
14973
14974         * src/NetworkManagerDbus.c
14975           gnome/applet/applet-dbus.c
14976                 - Fix up dbus service replacement options.  The applet
14977                         should allow replacement, NM itself should not.
14978
14979 2005-12-13  Robert Love  <rml@novell.com>
14980
14981         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14982           Instead, fail silently if config is NULL by not asserting and not
14983           returning FALSE.  Also, make sure we always fclose() the file.
14984
14985 2005-12-13  Robert Love  <rml@novell.com>
14986
14987         Patch by Stefan Scheler <sscheler@suse.de>:
14988         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14989            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14990            via DHCP.  Still need the backends to commit the NIS domain name and
14991            and servers to yp.conf as needed.
14992
14993 2005-12-13  Robert Love  <rml@novell.com>
14994
14995         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14996           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14997
14998 2005-12-13  Robert Love  <rml@novell.com>
14999
15000         * src/named-manager/nm-named-manager.c: Don't unref the config until
15001           after we call rewrite_resolv_conf(), because get_last_default_domain()
15002           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
15003           `config != NULL' failed" assertion failures and "Could not commit DNS
15004           changes" warnings.
15005
15006 2005-12-12  Dan Williams  <dcbw@redhat.com>
15007
15008         * libnm-util/dbus-helpers.[ch]
15009           libnm-util/Makefile.am
15010                 - new helper calls to consolidate locations where
15011                         NM's setDevice method is called
15012
15013         * gnome/applet/applet-dbus-devices.c
15014           gnome/applet/wireless-security-option.c
15015           gnome/applet/wso-*
15016                 - Implement dbus message param append function for
15017                         all wireless security options
15018
15019 2005-12-12  Robert Love  <rml@novell.com>
15020
15021         * libnm-util/cipher-wep-passphrase.c,
15022           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15023           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15024           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15025           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15026           When handling keys, we don't care what the sign is.  The compiler
15027           guarantees us that we get our 8-bits, which is all we care about.
15028         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
15029
15030 2005-12-12  Dan Williams  <dcbw@redhat.com>
15031
15032         * gnome/applet/applet-dbus-devices.[ch]
15033           gnome/applet/applet.c
15034           gnome/applet/other-network-dialog.c
15035           gnome/applet/wireless-security-manager.[ch]
15036           gnome/applet/wireless-security-option.[ch]
15037           gnome/applet/wso-*
15038                 - Push the wireless security options further into the applet
15039
15040 2005-12-12  Robert Love  <rml@novell.com>
15041
15042         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15043           return any name servers.  That is perfectly valid.  (Novell #134369).
15044
15045 2005-12-11  Dan Williams  <dcbw@redhat.com>
15046
15047         * gnome/applet/wso-*
15048           gnome/applet/wireless-security-option.*
15049           gnome/applet/Makefile.am
15050                 - split each security option out so we can eventually
15051                         have each one build up their own dbus message
15052                         arguments to send to NM
15053
15054 2005-12-11  Dan Williams  <dcbw@redhat.com>
15055
15056         * Make validation of the key work correctly
15057
15058 2005-12-11  Dan Williams  <dcbw@redhat.com>
15059
15060         * Hook more bits of the Other Network Dialog up to the
15061                 wireless security manager stuff, and restructure
15062                 bits of the dialog so there's less code.
15063
15064 2005-12-10  Dan Williams  <dcbw@redhat.com>
15065
15066         * gnome/applet/Makefile.am
15067                 - Add libnm-util to includes
15068                 - Add libnm-util to link list
15069                 - Add wireless-security-common.* to compile list
15070
15071         * gnome/applet/other-network-dialog.c
15072                 - Convert to using the WirelessSecurityManager code and
15073                         widgets
15074
15075         * gnome/applet/passphrase-dialog.c
15076                 - Comment out references to stuff in the glade file that
15077                         cause runtime errors until it can be fixed up
15078                         to use the WirelessSecurityManager code
15079
15080         * gnome/applet/wireless-applet.glade
15081                 - Rename some widgets
15082                 - Add widgets for the WirelessSecurityManager code
15083                 - Remove passphrase-related stuff since that's now
15084                         handled by the WirelessSecurityManager code
15085
15086 2005-12-10  Dan Williams  <dcbw@redhat.com>
15087
15088         * gnome/applet/applet-dbus-devices.c
15089                 - Print out error message details for dbus pending call callbacks
15090                 - Move nmwa_dbus_update_devices() up
15091
15092         * gnome/applet/applet-dbus-vpn.c
15093                 - Print out error message details for dbus pending call callbacks
15094
15095 2005-12-10  Dan Williams  <dcbw@redhat.com>
15096
15097         * libnm-util/*
15098                 - More fixups
15099                 - Remove cipher-manager.* because we don't need it
15100                 - Forgot to add gnome-keyring-md5 files to compile list
15101
15102 2005-12-09  Dan Williams  <dcbw@redhat.com>
15103
15104         * libnm-util/*
15105           configure.in
15106           Makefile.am
15107                 - Add a utility library for clients of NetworkManager.  It's
15108                         only targetted at applets for the moment, and contains
15109                         a generalized 802.11 cipher framework for different
15110                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15111
15112 2005-12-09  Robert Love  <rml@novell.com>
15113
15114         * src/NetworkManagerDevice.c: handle error better in
15115           nm_device_set_mode().
15116
15117 2005-12-08  Robert Love  <rml@novell.com>
15118
15119         * include/NetworkManager.h: add WPA capabilities constants
15120         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15121           or WPA2 and add the capabilities bits as appropriate.
15122
15123 2005-12-08  Robert Love  <rml@novell.com>
15124
15125         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15126           NetworkManagerDispatcher.
15127         * configure.in, initscript/SUSE/.cvsignore,
15128           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15129           initscript.
15130
15131 2005-12-08  Robert Love  <rml@novell.com>
15132
15133         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15134
15135 2005-12-08  Robert Love  <rml@novell.com>
15136
15137         * src/NetworkManagerDevice.c: We want to fall back on and default to
15138           IW_MODE_AUTO, not -1, which is more in line with our previous
15139           behavior.  Otherwise, we try to set the wireless mode to -1 in
15140           nm_device_set_mode().
15141
15142 2005-12-07  Robert Love  <rml@novell.com>
15143
15144         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15145           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15146           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15147           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15148           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15149           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15150           zero.
15151
15152 2005-12-07  Robert Love  <rml@novell.com>
15153
15154         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15155           supplied IP is invalid, fall back to DHCP.
15156
15157 2005-12-07  Dan Williams  <dcbw@redhat.com>
15158
15159         * Convert NETWORK_MODE_* constants to IW_MODE_*
15160         * Make all the get_mode/set_mode functions take and return 'int'
15161         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15162
15163 2005-12-07  Robert Love  <rml@novell.com>
15164
15165         * src/NetworkManagerDevice.c: strncpy() buffer check.
15166         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15167
15168 2005-12-06  Dan Williams  <dcbw@redhat.com>
15169
15170         * gnome/applet/applet-dbus.c
15171                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15172
15173         * gnome/applet/applet-dbus-vpn.c
15174                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15175                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15176                         to TRUE here if stage was ACTIVATED
15177
15178 2005-12-06  Dan Williams  <dcbw@redhat.com>
15179
15180         * Change nm_device_is_* functions to better names:
15181                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15182                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15183
15184 2005-12-06  Dan Williams  <dcbw@redhat.com>
15185
15186         * Change naming of NMDeviceType to something more sensible:
15187                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15188                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15189                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15190
15191 2005-12-06  Dan Williams  <dcbw@redhat.com>
15192
15193         * Move NetworkManager.h -> include/NetworkManager.h
15194         * Split out VPN stuff into include/NetworkManagerVPN.h
15195         * Fix up makefiles to include new location
15196         * Fix up sources to include NetworkManagerVPN.h
15197
15198 2005-12-06  Dan Williams  <dcbw@redhat.com>
15199
15200         Various changes in the applet to move VPN connection "state" -> "stage",
15201         which it actually is.  I'd like to change the signal as well when we
15202         break compat in the near future.
15203
15204 2005-12-06  Dan Williams  <dcbw@redhat.com>
15205
15206         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15207         * initscript/Slackware/rc.networkmanager
15208                 - Cosmetic fix
15209
15210         * src/backends/NetworkManagerSlackware.c
15211                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15212                         interfaces
15213
15214 2005-12-05  Robert Love  <rml@novell.com>
15215
15216         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15217           to free, particularly here as it just barfs.
15218
15219 2005-12-05  Dan Williams  <dcbw@redhat.com>
15220
15221         * gnome/applet/applet-dbus.c
15222                 - Work with dbus 0.6 too
15223
15224 2005-12-03  Dan Williams  <dcbw@redhat.com>
15225
15226         * src/NetworkManagerUtils.[ch]
15227           src/nm-ip4-config.c
15228                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15229                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15230
15231 2005-12-01  Robert Love  <rml@novell.com>
15232
15233         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15234           need a NULL for the '...' parameter, too, to fill the so-called
15235           sentinel.
15236
15237 2005-12-01  Robert Love  <rml@novell.com>
15238
15239         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15240           interface is already gone, so don't call rtnl_link_change() to down
15241           it (which will segfault, anyhow).
15242
15243 2005-11-22  Robert Love  <rml@novell.com>
15244
15245         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15246           gateway is not set, just print a little note.  Configurations without
15247           gateways are valid.
15248
15249 2005-11-22  Robert Love  <rml@novell.com>
15250
15251         * README: update
15252
15253 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15254
15255         * configure.in: Added Finnish translation to ALL_LINGUAS
15256
15257 2005-11-14  Robert Love  <rml@novell.com>
15258
15259         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15260           Niemueller <tim@niemueller.de>.
15261
15262 2005-11-08  Dan Williams  <dcbw@redhat.com>
15263
15264         Patch from Bill Moss <bmoss@clemson.edu>
15265         * src/NetworkManagerDevice.c
15266                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15267                         of nm_policy_schedule_activation_finish() to prevent a
15268                         race condition that causes the link to be dropped
15269
15270 2005-11-08  Dan Williams  <dcbw@redhat.com>
15271
15272         Patch from Bill Moss <bmoss@clemson.edu>
15273         * src/NetworkManagerAPList.c
15274           src/NetworkManagerDevice.c
15275           src/NetworkManagerDbus.c
15276                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15277                         we get more readable ether/mac addresses
15278
15279 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15280
15281         * gnome/applet/main.c: Don't set the restart command.  This fixes
15282         the issue where the restart command was getting copies of all its
15283         arguments for each time the applet was restarted.
15284
15285 2005-11-02  Robert Love  <rml@novell.com>
15286
15287         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15288           if the widget state differs from our saved state.  This ensures we
15289           do not enter an endless loop of death and destruction.  Also, this
15290           guarantees us that we enforce the widget state.
15291
15292 2005-11-02  Robert Love  <rml@novell.com>
15293
15294         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15295         * gnome/applet/applet-dbus-devices.c: invoke the new function
15296           nmwa_enable_wireless_set_active() to ensure that the state of the
15297           'Enable Wireless' checkbox matches the daemon's state.  This is a
15298           concern because the daemon remembers the state.
15299
15300 2005-11-02  Robert Love  <rml@novell.com>
15301
15302         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15303           Enabled", as checkboxes should be actions/commands not positive
15304           statements, otherwise they are confusing in the unselected case.  See
15305           examples in GNOME HIG, Chapter 6.
15306
15307 2005-11-02  Robert Love  <rml@novell.com>
15308
15309         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15310           show a list of wireless networks or the wireless devices or the
15311           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15312           a bad bug: If wireless is disabled and the user picks a wireless
15313           network, NM will switch to the network, only to immediately switch
15314           back, as wireless is disabled.  This also reassures people that NM
15315           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15316
15317 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15318
15319         * gnome/applet/applet.c:
15320         * gnome/applet/applet.h:
15321         Partial backout of Dan's timeout animation patch.
15322         Timeout IDs cannot legally be 0, so revert the code in place to handle
15323         a timeout ID of 0 to denote the timeout isn't running.
15324
15325 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15326
15327         * src/NetworkManagerPolicy.c:
15328         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15329
15330 2005-10-28  Robert Love  <rml@novell.com>
15331
15332         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15333           "Import Saved Configuration..." to make it clear that importing is
15334           not the next step, but an option.  As an aside, a nice TODO would be
15335           to move Importing out of the vpn-specific dialog and into the main
15336           property editor, as Importing goes with Adding, but that will require
15337           some rearchitecting of the VPN stuff I suspect.
15338
15339 2005-10-27  Dan Williams  <dcbw@redhat.com>
15340
15341         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15342         we should replace most of the distro-specific backend code
15343         with libnl stuff.
15344
15345         Get it here:  http://people.suug.ch/~tgr/libnl/
15346
15347         * configure.in
15348           src/Makefile.am
15349                 - Add checks for libnl pkgconfig file
15350                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15351
15352         * src/NetworkManagerSystem.c
15353           src/nm-ip4-config.[ch]
15354                 - Use libnl rather than ioctl() for most things
15355                 - Remove unused functions
15356
15357 2005-10-27  Robert Love  <rml@novell.com>
15358
15359         * src/backends/NetworkManagerSuSE.c: fix warning message text
15360
15361 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15362
15363         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15364
15365 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15366
15367         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15368         project page <http://www.gnome.org/projects/NetworkManager/>
15369
15370 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15371
15372         * gnome/applet.c: Also use translator credits if we don't have
15373         the new GtkAboutDialog (older versions of GTK+)
15374
15375 2005-10-26  Robert Love  <rml@novell.com>
15376
15377         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15378           failure; correct usage text for "--no-daemon"
15379
15380 2005-10-25  Dan Williams  <dcbw@redhat.com>
15381
15382         * src/NetworkManagerDevice.c
15383                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15384                         no scan results
15385                 - (free_process_scan_cb_data): unref the device when freeing results
15386                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15387                         so we don't unref the device underneath ourselves
15388
15389 2005-10-25  Dan Williams  <dcbw@redhat.com>
15390
15391         * Back out 2005-10-24 commit from Tor Krill.  Patch
15392                 causes nameservers never to be removed from named.
15393
15394 2005-10-24  Dan Williams  <dcbw@redhat.com>
15395
15396         Clean up wireless scanning and wireless link probing.
15397
15398         * src/NetworkManagerDevice.c
15399                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15400                         just see if there's an activation request on the device, and check the
15401                         current link against the activation request access point's ESSID.
15402                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15403                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15404                         don't call process_scan_results() on zero-length data
15405                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15406                         15 seconds (from 10)
15407
15408 2005-10-24  Dan Williams  <dcbw@redhat.com>
15409
15410         Cleanup some applet stuff:
15411
15412         - Animation timeouts.  If NM died while the applet was animating,
15413                 the applet would not hide itself.  This is now fixed.
15414
15415         - Remove some dead code
15416
15417         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15418                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15419
15420         - Track animation timeout using a gboolean rather than the timeout's
15421                 ID, since timeout IDs can legally be 0.
15422
15423 2005-10-24  Dan Williams  <dcbw@redhat.com>
15424
15425         * src/backends/interface_parser.c
15426                 - Add void to function declarations that need it
15427                         to match patch from Engin AYDOGAN
15428
15429         * src/backends/interface_parser.h
15430                 - Remove unused prototype for ifparser_interfaces()
15431
15432         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15433         * src/backends/interface_parser.h:
15434                 - Compile fixes for gcc 4.0.2 (add void)
15435
15436 2005-10-24  Dan Williams  <dcbw@redhat.com>
15437
15438         Patch from Tor Krill <tor@krill.nu>
15439         * src/named-manager/nm-named-manager.c
15440                 - Write more than just the first nameserver to /etc/resolv.conf
15441                 - Write out valid /etc/resolv.conf on exit
15442
15443 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15444
15445         * gnome/applet/applet-dbus-vpn.c:
15446         Get rid of spurious newlines in debug console output
15447
15448 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15449
15450         * src/backends/NetworkManagerGentoo.c:
15451         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15452
15453 2005-10-20  Robert Love  <rml@novell.com>
15454
15455         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15456           direct comparison of floating point values, which is never correct.
15457           Also some misc. cleanup.
15458
15459 2005-10-19  Robert Love  <rml@novell.com>
15460
15461         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15462
15463 2005-10-19  Robert Love  <rml@novell.com>
15464
15465         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15466           sensitivity of the buttons.  Specificaly, do the right thing if
15467           there are no entries.
15468
15469 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15470
15471         * configure.in: Update check for adequate wireless-tools
15472         with an AC_TRY_COMPILE for the new symbols we use.
15473
15474 2005-10-19  Dan Williams  <dcbw@redhat.com>
15475
15476         * src/NetworkManagerDevice.c
15477                 - (process_scan_results): don't drop the last (or only)
15478                         access point we see
15479
15480 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15481
15482         * src/backends/NetworkManagerSlackware.c:
15483         Patch from Nico <lordllucifer@gmail.com>
15484                 - Update the Slackware backend.
15485
15486 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15487
15488         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15489         if we've got GLib 2.8.0
15490
15491 2005-10-18  Robert Love  <rml@novell.com>
15492
15493         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15494           function nm_schedule_state_change_signal_broadcast() when we
15495           deactivate a device, too.
15496
15497 2005-10-18  Robert Love  <rml@novell.com>
15498
15499         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15500           be used uninitialized.
15501
15502 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15503
15504         * test/libnm_glib_test.c: Test unregistering, too.
15505
15506 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15507
15508         * configure.in: Bump to 0.5.0
15509
15510 2005-10-17  Dan Williams  <dcbw@redhat.com>
15511
15512         * NetworkManager.h
15513                 - Remove WPA-related constants so they aren't part of the
15514                         upcoming release.
15515
15516 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15517
15518         * gnome/applet/applet.c:
15519         * gnome/applet/applet.h:
15520         Desensitize the 'Connection Information' menu item when there is
15521         no active connection.
15522
15523 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15524
15525         * gnome/libnm_glib/libnm_glib.c:
15526         Make libnm_glib_unregister_callback () actually unregister the callback
15527
15528 2005-10-17  Robert Love  <rml@novell.com>
15529
15530         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15531           two seconds -- tries is updated every 1/10 of a second, not every
15532           second..
15533
15534 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15535
15536         * gnome/applet/applet-dbus-info.c:
15537         Let D-BUS know that we haven't handled a message when we haven't.
15538
15539 2005-10-17  Robert Love  <rml@novell.com>
15540
15541         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15542           in order to remain 64-bit clean.
15543
15544 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15545
15546         * gnome/applet/applet-dbus-info.c:
15547         Find network encryption keys asynchronously
15548
15549 2005-10-17  Robert Love  <rml@novell.com>
15550
15551         * src/backends/NetworkManagerDebian.c,
15552           src/backends/NetworkManagerRedHat,
15553           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15554           comment delimiter.
15555
15556 2005-10-17  Robert Love  <rml@novell.com>
15557
15558         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15559           "/etc"
15560
15561 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15562
15563         * src/NetworkManagerDevice.c: (process_scan_results)
15564         Fix logic that checks to see whether we have an ESSID.
15565
15566 2005-10-15  Dan Williams  <dcbw@redhat.com>
15567
15568         Move scanning code into NetworkManager rather than use iwlib's
15569         iw_scan() function, so that we can figure out AP capabilities.
15570
15571         * NetworkManager.h
15572                 - Add AP capability bits
15573
15574         * src/NetworkManagerAP.[ch]
15575                 - Add capability field to NMAccessPoint structure
15576                 - Add WPA & RSN Information Element fields and accessor
15577                         functions to NMAccessPoint
15578
15579         * src/NetworkManagerDevice.c
15580                 - Remove usage of iw_scan
15581                 - Add scanning code to NetworkManager rather than use
15582                         iw_scan() from iwlib
15583
15584         * src/NetworkManagerUtils.[ch]
15585                 - (nm_dispose_scan_results): remove, unused
15586
15587 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15588
15589         * gnome/libnm_glib/libnm_glib.c:
15590         * gnome/libnm_glib/libnm_glib.h:
15591         Use guint instead of gint for callback IDs.
15592
15593 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15594
15595         * gnome/applet/applet.c:
15596         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15597         every 1000ms.  It will unconditionally call nmwa_update_state which
15598         kills the existing animation timeout and registers a new one with a
15599         callback to draw a new frame every 100ms.  There are 11 connecting
15600         icon frames, so the last 2 frames kept getting dropped.  Only reset
15601         the animation timeout if we aren't animating.
15602
15603 2005-10-11  Dan Williams  <dcbw@redhat.com>
15604
15605         * gnome/applet/applet-dbus-devices.c
15606                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15607                         We want to grab the product & vendor from net.physical_dev
15608                         rather than info.parent.
15609
15610 2005-10-11  Dan Williams  <dcbw@redhat.com>
15611
15612         * src/NetworkManagerDevice.c
15613                 - Use the driver's WE version for scanning rather than
15614                         the WE version NM was compiled with.  Fixes random
15615                         crashes in iw_scan () in iwlib.
15616
15617 2005-10-10  Dan Williams  <dcbw@redhat.com>
15618
15619         * Remove nm_system_load_device_modules() from backend files
15620                 and from NetworkManager.c
15621
15622 2005-10-10  Dan Williams  <dcbw@redhat.com>
15623
15624         * src/NetworkManagerPolicy.c
15625                 - Fix some bugs introduced by the capabilities patch
15626
15627 2005-10-10  Dan Williams  <dcbw@redhat.com>
15628
15629         * gnome/applet/applet-dbus-info.c
15630                 - (nmi_dbus_get_network_key): hide the menu when putting up
15631                         the keyring dialog.  (not sure if the code is right...)
15632
15633 2005-10-09  Dan Williams  <dcbw@redhat.com>
15634
15635         Patch from Bill Moss <bmoss@clemson.edu>
15636         * src/NetworkManagerDevice.c
15637                 - (nm_device_set_user_key_for_network): don't try to set auth
15638                         mode on the AP from the allowed list if it's NULL
15639
15640 2005-10-09  Dan Williams  <dcbw@redhat.com>
15641
15642         * Replace the "driver support level" stuff with capabilities.  The
15643                 capability field is a bitfield that is more flexible than the
15644                 old driver support level thing.  It's mostly so we can easily
15645                 figure out what supports WPA and what doesn't, but should be
15646                 quite useful later.
15647
15648 2005-10-09  Dan Williams  <dcbw@redhat.com>
15649
15650         * test/nmtest.c
15651                 - Removed
15652
15653         * test/nm-tool.c
15654           test/Makefile.am
15655                 - Added new "nm-tool" tool that gives quite a bit more
15656                         information
15657
15658 2005-10-07  Robert Love  <rml@novell.com>
15659
15660         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15661           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15662           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15663           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15664           appropriate
15665
15666 2005-10-07  Robert Love  <rml@novell.com>
15667
15668         * configure.in: Change our compile flags for the betterment of mankind.
15669           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15670           prototype is very bad on 64-bit platforms as types default to int but
15671           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15672           "-Wmissing-declarations" to warn if we define an exported function
15673           but fail to put it in a header.
15674
15675 2005-10-07  Robert Love  <rml@novell.com>
15676
15677         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15678           by the name nm_update_device_wireless_timeouts() and once tried,
15679           without success, to steal my pet turtle.
15680
15681 2005-10-07  Robert Love  <rml@novell.com>
15682
15683         * Cleanup prototypes: put some functions in header files and mark
15684           others as 'static' -- feel free to invert
15685         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15686           nm_vpn_manager_vpn_connection_list_copy()
15687         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15688           nm_vpn_service_get_dbus_connection()
15689         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15690           nm_vpn_manager_vpn_connection_list_copy()
15691         * src/vpn-manager/nm-vpn-service.c: make
15692           nm_vpn_service_act_request_failed() and
15693           nm_vpn_service_stage2_daemon_wait() static
15694         * src/vpn-manager/nm-vpn-service.h: add prototype for
15695           nm_vpn_service_get_dbus_connection()
15696
15697 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15698
15699         * gnome/applet/applet.c:
15700         * gnome/applet/applet.h:
15701         * gnome/applet/icons/Makefile.am:
15702         Convey information about the current connection stage in the
15703         icons themselves instead of creating a separate progress bar.
15704
15705 2005-10-04  Robert Love  <rml@novell.com>
15706
15707         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15708           convert an ether_addr structure's MAC into a string, because the
15709           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15710           versus 07:3B:04, while the former will not.
15711
15712 2005-10-04  Robert Love  <rml@novell.com>
15713
15714         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15715           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15716           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15717           default route in the 'Connection Information' dialog, send primary
15718           and secondary name servers in in "getProperties" DBUS method, add
15719           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15720           secondary domain name servers are crucial pieces of information
15721           that a user might need in debugging a network problem.
15722
15723 2005-10-04  Robert Love  <rml@novell.com>
15724
15725         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15726           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15727           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15728           default route in the 'Connection Information' dialog, send default
15729           route in "getProperties" DBUS method, add network_device_set_route(),
15730           and network_device_get_route().  The Gateway is a crucial piece of
15731           connection-related information that a user might need in debugging a
15732           network problem.
15733
15734 2005-10-03  Robert Love  <rml@novell.com>
15735
15736         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15737           NULL.
15738
15739 2005-10-02  Dan Williams  <dcbw@redhat.com>
15740
15741         * Shorten time taken to sleep by fastpathing bits of device deactivation
15742                 necessary for sleep.
15743
15744         * Fix issue where deactivating a device might deactivate the active
15745                 VPN connection, even if the VPN was not using the device.
15746
15747 2005-10-02  Dan Williams  <dcbw@redhat.com>
15748
15749         * gnome/applet/applet.c
15750                 - Adjust signal strength -> icon mapping values slightly
15751                         (so that 51% signal doesn't show a 75% icon) by adding
15752                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15753                         shows 50% icon, etc.
15754
15755 2005-09-29  Robert Love  <rml@novell.com>
15756
15757         * src/NetworkManager.c: removed unused variable.
15758
15759 2005-09-28  Dan Williams  <dcbw@redhat.com>
15760
15761         Support for named + DBus, using Red Hat DBus patches for named.  You
15762         can find those patches here, with "dbus" in the patch's filename:
15763
15764                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15765
15766         Don't forget the named dbus service file either.
15767
15768         Instead of writing a config file and spawing a named process, NM will
15769         use an already-running dbus-enabled named if it finds one.  NM will
15770         update named's forwarder configuration on the fly using dbus.
15771
15772         If there is no dbus-enabled named running, NM will automatically fall
15773         back to writing the most-recent DNS server information to /etc/resolv.conf
15774         and calling nm_system_update_dns() to kick the system's resolver.
15775
15776         Accordingly, all named-related configure-time options have been removed.
15777
15778 2005-09-26  Robert Love  <rml@novell.com>
15779
15780         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15781           ISDN support!
15782         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15783           bug in error path if "ASKPASSWORD" is "no".
15784
15785 2005-09-26  Robert Love  <rml@novell.com>
15786
15787         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15788           comment in /etc/resolv.conf -- ';' is not.
15789
15790 2005-09-19  Dan Williams  <dcbw@redhat.com>
15791
15792         * src/backends/NetworkManagerRedHat.c:
15793         * src/backends/NetworkManagerDebian.c:
15794         * src/backends/NetworkManagerSlackware.c:
15795         * src/backends/NetworkManagerGentoo.c:
15796         * src/backends/NetworkManagerSUSE.c:
15797         Fix invocations of "/sbin/ip address" to use short form instead
15798
15799 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15800
15801         * src/nm-dbus-device.c: Don't assert when getting
15802         addresses of a not yet connected interface.
15803
15804         * gnome/applet/applet.c: Free icons if loading fails.
15805         Use translator-credits so translators can make themselves known.
15806
15807 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15808
15809         * src/NetworkManagerAP.c:
15810         * src/NetworkManagerAP.h:
15811         * src/NetworkManagerDevice.c:
15812         Set a blacklist for certain common manufacturer default ESSIDs:
15813         APs with these ESSIDs are extremely likely to be completely
15814         different networks: connecting to one should not make NM
15815         auto-connect to every other AP with the same default ESSID.
15816
15817 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15818
15819         * gnome/applet/wireless-applet.glade:
15820         The passphrase entry should also activate the default
15821
15822         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15823
15824         * gnome/applet/applet-dbus-devices.c:
15825         * gnome/applet/applet.c:
15826         * gnome/applet/nm-device.c:
15827         * gnome/applet/nm-device.h:
15828         * src/NetworkManagerUtils.c:
15829         * src/NetworkManagerUtils.h:
15830         * src/nm-dbus-device.c:
15831         I've got a fever, and the only cure for it is less ioctl.
15832         Make NM push IP data rather than make the applet open a socket
15833         to the device.
15834
15835 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15836
15837         * gnome/applet/applet.c:
15838         * gnome/applet/applet-dbus-devices.c:
15839         * gnome/applet/applet-dbus-info.c:
15840         * gnome/applet/passphrase-dialog.c:
15841         * gnome/libnm_glib/libnm_glib.c:
15842         * gnome/vpn-properties/nm-vpn-properties.c:
15843         * src/autoip.c:
15844         * src/backends/NetworkManagerRedHat.c:
15845         * src/named-manager/nm-named-manager.c:
15846         * src/NetworkManagerAPList.c:
15847         * src/NetworkManager.c:
15848         * src/NetworkManagerDbus.c:
15849         * src/NetworkManagerDevice.c:
15850         * src/NetworkManagerPolicy.c:
15851         * src/NetworkManagerSystem.c:
15852         * src/nm-dbus-device.c:
15853         * src/nm-dbus-nm.c:
15854         * src/vpn-manager/nm-vpn-manager.c:
15855         * src/vpn-manager/nm-vpn-service.c:
15856         * test/libnm_glib_test.c:
15857         * test/nminfotest.c:
15858         * test/nmtestdevices.c:
15859         Fix a bunch of 'unused variable' compiler warnings
15860
15861         * NetworkManager.h:
15862         * gnome/applet/applet-dbus-info.c:
15863         * gnome/applet/applet-dbus-info.h:
15864         * gnome/applet/applet.c:
15865         * gnome/applet/applet.h:
15866         * src/NetworkManager.c:
15867         * src/NetworkManagerDbus.c:
15868         * src/NetworkManagerDbus.h:
15869         * src/NetworkManagerDevice.c:
15870         * src/NetworkManagerDevice.h:
15871         * src/NetworkManagerMain.h:
15872         * src/NetworkManagerWireless.c:
15873         * src/NetworkManagerWireless.h:
15874         * src/nm-dbus-nm.c:
15875         Make NetworkManager be smart about how frequently to scan
15876         based on its current state.  Remove the UI for choosing when
15877         to scan.  Scanning still may disabled completely by the user
15878         via the "Wireless Enabled" menu item.
15879
15880 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15881
15882         * gnome/applet/applet.c:
15883         Also overlay the vpn connecting icons onto the wired icon,
15884         when appropriate.
15885
15886         * gnome/vpn-properties/nm-vpn-properties.glade:
15887         Clean up a few strings to use better grammar and proper casing.
15888
15889 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15890
15891         * gnome/applet/vpn-connection.c:
15892         * gnome/applet/vpn-connection.h:
15893         Add nmwa_vpn_connection_is_activating ()
15894
15895         * gnome/applet/applet.c:
15896         * gnome/applet/applet.h:
15897         * gnome/applet/icons/nm-vpn-connecting*.png:
15898         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15899         the user know something's happening between clicking the VPN item and it
15900         actually being connected.
15901
15902 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15903
15904         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15905         failure case as well.
15906
15907 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15908
15909         * gnome/panel/eggtrayicon.[ch]:
15910         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15911
15912 2005-09-07  Dan Williams  <dcbw@redhat.com>
15913
15914         Patch from Bill Moss <bmoss@clemson.edu>
15915         * src/applet-dbus.c
15916                 - (nmwa_dbus_filter): strip whitespace from beginning
15917                         and end of VPN login banner
15918
15919 2005-09-07  Dan Williams  <dcbw@redhat.com>
15920
15921         * The great VPN Manager rewrite of 2005
15922
15923 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15924
15925         * gnome/applet/menu-items.c:
15926         * gnome/applet/nm-device.c:
15927         * gnome/applet/wireless-network.c:
15928         * gnome/libnm_glib/libnm_glib.c:
15929         * src/NetworkManagerDbusUtils.c:
15930         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15931         g_malloc0 doesn't return NULL
15932
15933 2005-09-06  Dan Williams  <dcbw@redhat.com>
15934
15935         Patch from Tomislav Vujec <tvujec@redhat.com>
15936         * src/NetworkManagerDevice.c
15937                 - (nm_get_device_by_udi): don't return a device when we
15938                         actually didn't find what we were looking for
15939
15940 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15941
15942         * gnome/applet/applet-dbus-devices.c:
15943         * gnome/applet/applet-dbus-devices.h:
15944         * gnome/applet/applet-dbus.c:
15945         * src/NetworkManagerDbus.c:
15946         * src/NetworkManagerDbus.h:
15947         * src/NetworkManagerDevice.c:
15948         * src/nm-dbus-device.c:
15949         Make NM push updates about active device strength when it changes,
15950         rather than having the applet poll every 2s.
15951
15952 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15953
15954         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15955         network_device_set_strength
15956
15957 2005-09-04  Dan Williams  <dcbw@redhat.com>
15958
15959         Patch from Bill Nottingham <notting@redhat.com>
15960         * src/NetworkManagerDevice.c
15961                 - (nm_device_activation_cancel): reset the quit_activation flag
15962
15963 2005-09-04  Dan Williams  <dcbw@redhat.com>
15964
15965         * src/nm-activation-request.c
15966                 - (nm_act_request_unref): actually free the structure,
15967                         which we didn't seem to be doing before
15968
15969 2005-09-04  Dan Williams  <dcbw@redhat.com>
15970
15971         Patch from John Palmieri <johnp@redhat.com>
15972         * gnome/applet/applet-dbus-devices.c
15973                 - Fix up unreffing of DBusMessage objects
15974
15975 2005-09-04  Dan Williams  <dcbw@redhat.com>
15976
15977         Patch from John Palmieri <johnp@redhat.com>
15978         * gnome/applet/nm-device.c
15979                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15980
15981 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15982
15983         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15984
15985 2005-09-02  Bill Nottingham  <notting@redhat.com>
15986
15987         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15988
15989 2005-09-01  Dan Williams  <dcbw@redhat.com>
15990
15991         * src/NetworkManager.c
15992                 - (nm_remove_device_from_list): rename to nm_remove_device
15993                 - (nm_hal_device_removed): call nm_remove_device()
15994
15995         * src/NetworkManagerDevice.c
15996                 - Change the NMWirelessScanCB member 'reschedule' which
15997                         wasn't used to 'force' to indicate that we need to
15998                         force a scan when adding a device
15999
16000         * src/nm-dbus-nm.c
16001                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16002                         from the device list
16003                 - (nm_dbus_nm_wake): Re-add all devices to the device list
16004
16005 2005-09-01  Robert Love  <rml@novell.com>
16006
16007         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16008           and the check "!iface" in the error case is probably never true.
16009
16010 2005-09-01  Dan Williams  <dcbw@redhat.com>
16011
16012         Patch from Bill Nottingham <notting@redhat.com>
16013         * src/backends/NetworkManagerRedHat.c
16014                 - Add initial dialup support to Red Hat/Fedora backend
16015
16016 2005-09-01  Dan Williams  <dcbw@redhat.com>
16017
16018         * gnome/applet/applet-dbus-devices.c
16019                 - Sort both wireless networks and devices again, which got
16020                         broken when removing threading
16021
16022 2005-09-01  Christopher Aillon  <caillon@redhat.com>
16023
16024         * gnome/applet/applet.c:
16025         Only show the "Stop/Start All Wireless Devices" menuitem
16026         if we actually have wireless devices.
16027
16028         * gnome/applet/applet-dbus-info.c:
16029         * gnome/applet/applet.c:
16030         * gnome/applet/other-network-dialog.c:
16031         * gnome/applet/vpn-password-dialog.c:
16032         Drop the gtk_dialog_run () calls in favor of connecting to
16033         "response" signals, needed now that the applet is not threaded.
16034
16035 2005-08-31  Dan Williams  <dcbw@redhat.com>
16036
16037         Patch from Bill Moss <bmoss@clemson.edu>
16038         * src/NetworkManagerDevice.c
16039                 - (nm_device_wireless_scan): fix scan timeout values
16040
16041 2005-08-30  Dan Williams  <dcbw@redhat.com>
16042
16043         * gnome/applet/wireless-applet.glade
16044                 - HIG-ify the Other Wireless Networks dialog a bit more
16045                 - Fix some potential segfaults in the info dialog
16046
16047 2005-08-30  Dan Williams  <dcbw@redhat.com>
16048
16049         * gnome/applet/applet-dbus-devices.c
16050                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16051
16052 2005-08-30  Dan Williams  <dcbw@redhat.com>
16053
16054         * gnome/applet/applet-dbus.[ch]
16055                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16056                         they weren't being used anyway
16057
16058 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16059
16060         * test/nmtestdevices.c: (print_usage), (main):
16061         Check the number of arguments, and fix a typo
16062
16063 2005-08-29  Dan Williams  <dcbw@redhat.com>
16064
16065         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16066         * gnome/applet/applet.c
16067                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16068
16069 2005-08-29  Dan Williams  <dcbw@redhat.com>
16070
16071         * gnome/applet/*
16072                 - Don't use threads any more.  Anything that blocks
16073                         (like gtk_dialog_run()) will  have to get fixed up which
16074                         should happen quickly.  We really only had threads to make
16075                         the animation smooth, and when everything got converted over
16076                         to DBus Pending Calls, the need for threads kind of went away
16077
16078 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16079
16080         * gnome/applet/applet.c: Draw VPN connections as radio items
16081         since we don't yet support multiple VPNs.
16082         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16083         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16084
16085 2005-08-29  Dan Williams  <dcbw@redhat.com>
16086
16087         Patch from j@bootlab.org
16088         - Make --without-named work
16089         - Make --with-dhcdbd work correctly
16090
16091 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16092
16093         * configure.in: Added "ca" to ALL_LINGUAS.
16094
16095 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16096
16097         * Fix up VPN state handling between the applet and NetworkManager,
16098                 so that the applet doesn't show a VPN as connected when one
16099                 really is not
16100                         - The applet no longer has a pointer to the active VPN's
16101                                 name, but tracks each VPNs state individually
16102                         - NM no longer has a "getActiveVPNConnection" method
16103                         - NM no longer broadcasts the "VPNConnectionChange" signal
16104                         - NM now broadcasts a "VPNConnectionStateChange" signal
16105                                 whenever the state of a VPN changes
16106
16107 2005-08-26  Dan Williams <dcbw@redhat.com>
16108
16109         * gnome/applet/applet-dbus-devices.c
16110           gnome/applet/applet-dbus-vpn.c
16111                 - Remove calls to dbus_pending_call_ref() because we already
16112                         "own" the pending call
16113                 - Remove calls to dbus_pending_call_get_completed() because
16114                         when we are in the callback, the pending call is completed
16115                         by definition
16116
16117 2005-08-22  Dan Williams <dcbw@redhat.com>
16118
16119         Patch by Bill Moss <bmoss@clemson.edu>
16120         * src/dhcp-manager/nm-dhcp-manager.c
16121                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16122                         some time to send out a RELEASE if they like
16123
16124 2005-08-22  Dan Williams <dcbw@redhat.com>
16125
16126         Noticed by Bill Moss <bmoss@clemson.edu>
16127         * src/NetworkManagerDbus.c
16128                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16129                         instead of just cancelling its activation
16130
16131         * src/NetworkManagerDevice.c
16132                 - (nm_device_deactivate): some small cleanups
16133                 - (nm_device_set_user_key_for_network): deactivate the device
16134                         instead of just cancelling its activation
16135
16136 2005-08-22  Dan Williams <dcbw@redhat.com>
16137
16138         Noticed by Bill Moss <bmoss@clemson.edu>
16139         * src/NetworkManagerDevice.c
16140                 - (nm_device_wireless_scan): fix scan timeout, we were
16141                         waiting way too long for scans to complete
16142
16143 2005-08-22  Dan Williams <dcbw@redhat.com>
16144
16145         Patch from j@bootlab.org:
16146         * src/backends/NetworkManagerDebian.c
16147                 - Make the Debian backend work for static IP again
16148
16149 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16150
16151         * gnome/applet/other-network-dialog.c:
16152         The "Create New Network" and "Connect to Other Network"
16153         dialogs share alot of code, but shouldn't share a window
16154         title.  Give them different ones.
16155
16156         * gnome/applet/wireless-applet.glade:
16157         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16158         Some more minor UI tweaks.
16159
16160 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16161
16162         * gnome/applet/other-network-dialog.c:
16163         * gnome/applet/wireless-applet.glade:
16164         Also need mnemonic widgets, and underline enabled.
16165
16166 2005-08-19  Dan Williams <dcbw@redhat.com>
16167
16168         * vpn-daemons/vpnc/nm-vpnc-service.c
16169                 - (vpnc_watch_cb): remove no-longer-relevant comment
16170                 - (write_config_option): new function, helper to write
16171                         config options to vpnc's stdin
16172                 - (nm_vpnc_config_write): use the new helper, make the
16173                         code shorter
16174
16175 2005-08-19  Christopher Aillon <caillon@redhat.com>
16176
16177         * gnome/applet/passphrase-dialog.c:
16178         * gnome/applet/wireless-applet.glade:
16179         Make the passphrase dialog response based, and treat
16180         responses other than OK (such as Esc, [X]) as a cancel.
16181
16182 2005-08-18  Christopher Aillon <caillon@redhat.com>
16183
16184         * initscript/Gentoo/NetworkManager:
16185         * initscript/RedHat/NetworkManager:
16186         * initscript/RedHat/NetworkManagerDispatcher:
16187         * initscript/SUSE/networkmanager:
16188         CVS remove these in place of .in replacements
16189
16190         * configure.in:
16191         * initscript/Gentoo/NetworkManager.in:
16192         * initscript/RedHat/NetworkManager.in:
16193         * initscript/RedHat/NetworkManagerDispatcher.in:
16194         * initscript/SUSE/networkmanager.in:
16195         These scripts now are generated so they work still when
16196         NM is built using a bindir other than /usr/bin
16197
16198 2005-08-18  Dan Williams <dcbw@redhat.com>
16199
16200         * gnome/applet/main.c
16201                 - Revert previous change for --no-session since
16202                         --sm-disable does the same thing
16203
16204 2005-08-18  Dan Williams <dcbw@redhat.com>
16205
16206         * gnome/applet/applet-dbus-info.c
16207                 - (nmi_dbus_create_error_message): new function
16208                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16209                         functions.  Also don't check for both device _and_ network before
16210                         asking for a user's key, because we may not have gotten all our
16211                         networks back from NM quite yet (due to the dbus pending calls
16212                         coming in later).  Fixes a hang in NM/nm-applet.
16213
16214         * src/NetworkManagerDbus.c
16215                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16216                         slightly more sane manner, even though we are still broken for
16217                         certain other error conditions.
16218                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16219                         to the info-daemon too
16220
16221         * src/NetworkManagerDevice.c
16222                 - Fix some debug messages to be info messages instead
16223
16224 2005-08-18  Dan Williams <dcbw@redhat.com>
16225
16226         * gnome/applet/main.c
16227                 - Add new "--no-session" parameter that disables applet
16228                         session management, ie for testing
16229
16230 2005-08-18  Christopher Aillon <caillon@redhat.com>
16231
16232         * gnome/applet/other-network-dialog.c:
16233         * gnome/applet/wireless-applet.glade: More mnemonics
16234
16235 2005-08-17  Robert Love  <rml@novell.com>
16236
16237         * initscript/SUSE/networkmanager: update
16238
16239 2005-08-17  Dan Williams  <dcbw@redhat.com>
16240
16241         * Tag NM_0_4_1_RELEASE
16242
16243 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16244
16245         * gnome/applet/applet.c: More translatable string cleanup
16246
16247
16248 2005-08-17  Dan Williams  <dcbw@redhat.com>
16249
16250         * gnome/applet/applet-dbus-info.c
16251                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16252                         from the dbus message, which tells us to unconditionally
16253                         ask the user for a new key.  Otherwise, we pull the key from
16254                         the keyring and return it.  If we fail to get the key from the
16255                         keyring, we ask the user for a new key.
16256                 - (nmi_dbus_get_network_key): new function to grab the key for
16257                         an essid from the keyring.
16258                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16259                         Also, don't return any key in the dbus message.
16260
16261         * src/NetworkManagerDbus.[ch]
16262                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16263                         indicate that we unconditionally want a new key.  This function
16264                         is now also used to get keys from the info-daemon which are
16265                         pre-stored, not just for asking the user for a new key.  The
16266                         "new_key" parameter indicates whether or not we wish to ask the
16267                         user for a new key.
16268                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16269                         info-daemon in the return message, so use NULL instead.  The
16270                         key will be filled in at connect time by calling
16271                         nm_dbus_get_user_key_for_network()
16272
16273         * src/NetworkManagerDevice.c
16274                 - (nm_device_wireless_configure): update for "new_key" param to
16275                         nm_dbus_get_user_key_for_network().  We initially set new_key
16276                         to FALSE to see if we have a stored key in the info-daemon, but
16277                         if the connection is unsuccessful at this stage we request a
16278                         new one
16279
16280 2005-08-17  Dan Williams  <dcbw@redhat.com>
16281
16282         * gnome/applet/icons/nm-no-connection.png
16283           gnome/applet/icons/nm-device-wired.png
16284                 - Use Diana's new RJ45 connector icons
16285
16286 2005-08-17  Dan Williams  <dcbw@redhat.com>
16287
16288         * src/NetworkManagerPolicy.c
16289                 - (nm_policy_device_change_check): clarify switching rules if
16290                         both new and old devices are valid; mainly, don't switch
16291                         away from user-requested wireless connection back to a wired
16292                         one
16293
16294 2005-08-17  Dan Williams  <dcbw@redhat.com>
16295
16296         * gnome/applet/Makefile.am
16297                 - Relocate the applet to /usr/bin since it is no longer
16298                         executed by anything, but directly by the user
16299
16300 2005-08-17  Dan Williams  <dcbw@redhat.com>
16301
16302         Patch from Bill Moss <bmoss@clemson.edu>
16303
16304         * gnome/applet/applet-dbus-info.[ch]
16305                 - (nmi_save_network_info): save timestamp for network if it
16306                         was a change requested by the user
16307                 - (nmi_dbus_update_network_info): get user_requested from dbus
16308                         message and pass to nmi_save_network_info()
16309
16310         * gnome/applet/applet.c
16311                 - (nmwa_update_network_timestamp): remove
16312                 - (nmwa_menu_item_activate): don't set timestamp on networks
16313                         here, only after a successful connect in nmi_save_network_info()
16314
16315         * src/NetworkManagerDbus.[ch]
16316                 - (nm_dbus_update_network_info): pass user_requested into the 
16317                         dbus message
16318
16319         * src/NetworkManagerPolicy.c
16320                 - (nm_policy_activation_finish): pass user_requested to
16321                         nm_dbus_update_network_info()
16322
16323 2005-08-16  Robert Love  <rml@novell.com>
16324
16325         * gnome/applet/applet.c: Better "Dial Up" menu item.
16326
16327 2005-08-16  Robert Love  <rml@novell.com>
16328
16329         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16330           "Connection Information" menu item.
16331
16332 2005-08-16  Dan Williams  <dcbw@redhat.com>
16333
16334         Patch from j@bootlab.org
16335         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16336
16337         * configure.in: allow specifying the path to dhcdbd
16338
16339 2005-08-16  Robert Love  <rml@novell.com>
16340
16341         Patch from j@bootlab.org
16342         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16343           src/backends/interface_parser.h: Debian dialup support.
16344
16345 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16346
16347         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16348         * gnome/applet/applet.c: Add some mnemonics for VPNC
16349
16350         * vpn-daemons/.cvsignore: fix this up a little bit
16351
16352 2005-08-16  Robert Love  <rml@novell.com>
16353
16354         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16355           support.
16356
16357 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16358
16359         * gnome/applet/applet.c: Split markup out of translatable strings
16360         and clean up logic a little bit.  (fixes #309012)
16361
16362 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16363
16364         * gnome/vpn-properties/nm-vpn-properties.c:
16365         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16366         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16367         Makeshift fix to remove newlines from translatable strings.
16368         Note that we now return an allocated string, so callers of
16369         get_confirmation_details () must now call g_free () on the
16370         result. (fixes #309033).
16371
16372 2005-08-12  Robert Love  <rml@novell.com>
16373
16374         * gnome/applet/applet-dbus.c: remove newlines from translatable
16375           strings--not needed here anyway. (fix b.g.o #309011)
16376         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16377
16378 2005-08-11  Robert Love  <rml@novell.com>
16379
16380         * gnome/applet/applet.c: mark string as translatable.
16381
16382 2005-08-11  Robert Love  <rml@novell.com>
16383
16384         * initscript/SUSE/networkmanager: update.
16385
16386 2005-08-11  Dan Williams  <dcbw@redhat.com>
16387
16388         * src/nm-dhcp-manager.c
16389                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16390                         an gateway returned from DHCP, try to use the address of the DHCP
16391                         server as the gateway instead.  Found by Ralf Ertzinger.
16392
16393 2005-08-10  Robert Love  <rml@novell.com>
16394
16395         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16396           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16397
16398 2005-08-10  Dan Williams  <dcbw@redhat.com>
16399
16400         Patch from Bill Moss <bmoss@clemson.edu>
16401         * Consolidate writes of access point information updates to the info daemon
16402                 so that we only do it when the connection to the access point was
16403                 successful.  Also consolidates updates to GConf in the Gnome applet.
16404
16405         * src/nm-netlink-monitor.c
16406                 - Silence compile warning when calling g_object_new()
16407
16408 2005-08-08  Dan Williams  <dcbw@redhat.com>
16409
16410         Patch from Steev <steev@steev.net>:
16411         * src/backends/NetworkManagerGentoo.c
16412                 - Stub new dialup backend functions
16413
16414 2005-08-08  Dan Williams  <dcbw@redhat.com>
16415
16416         Patch from Colin Slater:
16417         * src/backends/NetworkManagerGentoo.c
16418                 - (nm_system_update_dns): Fix exit status check for restarting
16419                         nscd
16420
16421 2005-08-05  Robert Love  <rml@novell.com>
16422
16423         * NetworkManager.h,
16424           gnome/applet/applet-dbus-devices.c,
16425           gnome/applet/applet-dbus-devices.h,
16426           gnome/applet/applet-dbus.c,
16427           gnome/applet/applet.c,
16428           gnome/applet/applet.h,
16429           src/NetworkManager.c,
16430           src/NetworkManagerMain.h,
16431           src/NetworkManagerSystem.h,
16432           src/backends/NetworkManagerRedHat.c,
16433           src/backends/NetworkManagerSuSE.c,
16434           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16435
16436 2005-08-05  Robert Love  <rml@novell.com>
16437
16438         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16439           machine's hostname to make adhoc creation idiot-proof.
16440
16441 2005-08-04  Robert Love  <rml@novell.com>
16442
16443         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16444           freed.
16445
16446 2005-08-04  Dan Williams  <dcbw@redhat.com>
16447
16448         * gnome/applet/applet-dbus-info.c
16449           gnome/applet/applet-dbus-info.h
16450                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16451                         to store key, key type, and auth method rather than just auth method
16452                 - (nmi_dbus_update_network_info): new function
16453                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16454
16455         * gnome/applet/passphrase-dialog.c
16456                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16457                         of saving the info ourselves
16458
16459         * gnome/libnm_glib/libnm_glib.c
16460                 - Remove the stupid version check for dbus
16461
16462         * src/NetworkManagerAP.c
16463           src/NetworkManagerAP.h
16464                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16465
16466         * src/NetworkManagerDbus.c
16467           src/NetworkManagerDbus.h
16468                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16469                         more than just the auth method
16470
16471         * src/NetworkManagerDevice.c
16472                 - Update network info at the appropriate times
16473
16474 2005-07-29  Ray Strode  <rstrode@redhat.com>
16475
16476         * src/NetworkManager.c (nm_info_handler): don't use input as format
16477         string (Spotted by Ian Jackson).
16478
16479 2005-07-27  Dan Williams  <dcbw@redhat.com>
16480
16481         * src/nm-dbus-nm.c
16482           src/nm-dbus-net.c
16483                 - Random cleanups of spacing
16484
16485         * gnome/applet/applet.h
16486           gnome/applet/other-network-dialog.c
16487           gnome/applet/passphrase-dialog.c
16488                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16489
16490         Patch from Bill Moss:
16491                 - Make Other Wireless Networks work again with encryption keys
16492
16493 2005-07-26  Dan Williams  <dcbw@redhat.com>
16494
16495         Patch from Steev <steev@steev.net>:
16496         * src/backends/NetworkManagerGentoo.c
16497           src/backends/Makefile.am
16498                 - Fix up Gentoo backend
16499
16500 2005-07-26  Robert Love  <rml@novell.com>
16501
16502         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16503
16504 2005-07-25  Robert Love  <rml@novell.com>
16505
16506         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16507           in the same group as the wireless networks, since they are all
16508           mutually exclusive.
16509
16510 2005-07-24  Ray Strode  <rstrode@redhat.com>
16511
16512         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16513         remove unneeded NULL arg from g_object_new().  Any
16514         warnings caused by not having the extra NULL are just a
16515         result of a bug in glib 2.7.0 - 2.7.2.
16516
16517 2005-07-22  Robert Love  <rml@novell.com>
16518
16519         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16520
16521 2005-07-22  Robert Love  <rml@novell.com>
16522
16523         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16524           parameters (gcc 4.0.2 warning fix).
16525
16526 2005-07-18  Robert Love  <rml@novell.com>
16527
16528         Suggested by Aaron Bockover (abockover@novell.com)
16529         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16530           s/Ascii/ASCII
16531         * gnome/applet/passphrase-dialog.c: ditto
16532         * gnome/applet/wireless-applet.glade: ditto
16533
16534 2005-07-13  Dan Williams  <dcbw@redhat.com>
16535
16536         Patch from Ray Strode <halfline@gmail.com>
16537         * vpn-daemons/vpnc/nm-vpnc-service.c
16538                 - Don't let vpnc daemonize, fixes some races with PID file reading
16539
16540 2005-07-13  Dan Williams  <dcbw@redhat.com>
16541
16542         Patch from Ray Strode <halfline@gmail.com>
16543         * Random cleanups for strict CFLAGS
16544
16545 2005-07-07  Dan Williams  <dcbw@redhat.com>
16546
16547         Patch from Derek Atkins <warlord@MIT.EDU>
16548         * src/nm-dbus-net.c:
16549                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16550
16551 2005-07-07  Dan Williams  <dcbw@redhat.com>
16552
16553         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16554         * src/backends/NetworkManagerGentoo.c
16555                 - Gentoo backend Static IP nameserver fixes
16556                 - General Gentoo backend goodness
16557
16558 2005-07-07  Dan Williams  <dcbw@redhat.com>
16559
16560         Patch from Bastien Nocera:
16561         * gnome/applet/applet.c
16562                 - Fix up error reporting when icons or glade files are missing
16563
16564 2005-07-07  Robert Love  <rml@novell.com>
16565
16566         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16567           are not any VPN connections above it.
16568
16569 2005-07-07  Robert Love  <rml@novell.com>
16570
16571         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16572
16573 2005-07-05  Robert Love  <rml@novell.com>
16574
16575         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16576           zero.
16577
16578 2005-07-05  Robert Love  <rml@novell.com>
16579
16580         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16581           on wired or unencrypted wireless.
16582
16583 2005-07-01  Robert Love  <rml@novell.com>
16584
16585         * src/NetworkManagerSystem.c: Print the error via strerror().
16586
16587 2005-06-30  Robert Love  <rml@novell.com>
16588
16589         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16590           then exit if the glade file is not found.  currently the application
16591           just hangs.
16592
16593 2005-06-30  Robert Love  <rml@novell.com>
16594
16595         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16596           explicitly up all interfaces on wake from sleep.
16597
16598 2005-06-30  Robert Love  <rml@novell.com>
16599
16600         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16601           with information about the currently active connection.
16602         * gnome/applet/applet.h: (ditto)
16603         * gnome/applet/wireless-applet.glade: (ditto), new file
16604
16605 2005-06-30  Robert Love  <rml@novell.com>
16606
16607         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16608         * src/nm-dbus-nm.c: print when we sleep and wake up.
16609         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16610         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16611           in /sbin unless D-BUS is, folks).
16612         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16613
16614 2005-06-27  Robert Love  <rml@novell.com>
16615
16616         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16617           case.
16618
16619 2005-06-27  Robert Love  <rml@novell.com>
16620
16621         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16622           items radios.
16623
16624 2005-06-26  Robert Love  <rml@novell.com>
16625
16626         * src/NetworkManagerDevice.c: be specific about which device in
16627           nm_info() message.
16628
16629 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16630
16631         * src/nm-netlink-monitor.c: correct spelling error.
16632
16633 2005-06-23  Robert Love  <rml@novell.com>
16634
16635         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16636         * gnome/applet/passphrase-dialog.c: more of that keyring!
16637
16638 2005-06-23  Robert Love  <rml@novell.com>
16639
16640         * configure.in: remove extraneous GNOMEKEYRING directives.
16641         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16642         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16643         * gnome/applet/passphrase-dialog.c: whitespace.
16644
16645 2005-06-23  Robert Love  <rml@novell.com>
16646
16647         * src/NetworkManagerDevice.c: division in assignment was flipped.
16648
16649 2005-06-23  David Zeuthen  <david@fubar.dk>
16650
16651         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16652         signal to the child to indicate that we got what we wanted when we
16653         see two new-lines right after each other.
16654         (nmwa_vpn_request_password): Pass a structure with several members
16655         instead of just the passwords
16656
16657 2005-06-23  Dan Williams <dcbw@redhat.com>
16658
16659         * src/NetworkManager.c
16660           src/NetworkManagerMain.h
16661                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16662                 - (nm_hal_init): new function, init libhal context then add devices
16663                 - (nm_hal_deinit): new function, clean up libhal context
16664                 - (nm_data_free): Move Hal cleanup here
16665                 - (main): check whether Hal is running, and if so, get a list of
16666                         network devices from it
16667
16668         * src/NetworkManagerDbus.c
16669                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16670                         and when it appears, get a list of network devices from it.  If
16671                         Hal goes away, clean up the libhal context
16672
16673 2005-06-22  Robert Love  <rml@novell.com>
16674
16675         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16676           permissions of scripts before executing.
16677
16678 2005-06-21  Robert Love  <rml@novell.com>
16679
16680         * initscript/SUSE/networkmanager: update.
16681         * src/backends/NetworkManagerSuSE.c: cleanup.
16682
16683 2005-06-21  Robert Love <rml@novell.com>
16684
16685         * gnome/applet/applet.c: use menu mnemonics.
16686         * gnome/applet/menu-items.c: (ditto)
16687
16688 2005-06-21  Robert Love  <rml@novell.com>
16689
16690         * applet/applet-dbus-devices.c: mark non-static functions static.
16691         * applet/applet-dbus-vpn.c: (ditto)
16692         * applet/applet.c: (ditto)
16693         * applet/nm-device.h: (ditto)
16694         * applet/other-network-dialog.c: (ditto)
16695         * applet/passphrase-dialog.c: (ditto)
16696         * NetworkManager.c: (ditto)
16697         * NetworkManagerDbus.c: (ditto)
16698         * NetworkManagerDevice.c: (ditto)
16699         * NetworkManagerPolicy.c: (ditto)
16700         * NetworkManagerUtils.c: (ditto)
16701         * NetworkManagerWireless.c: (ditto)
16702         * NetworkManagerWireless.h: (ditto)
16703         * nm-netlink-monitor.c: (ditto)
16704         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16705         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16706         * autoip.c: include autoip.h.
16707         * autoip.h: new file.  define get_autoip().
16708         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16709         * NetworkManagerDbus.h: remove duplicate definitions.
16710
16711 2005-06-20  Robert Love  <rml@novell.com>
16712
16713         * Makefile.am: Add missing intltool-foo.in generated files to
16714           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16715           with the start of stuff to cleanup on 'distclea'.
16716         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16717           stuff right and 'distcheck' works.
16718         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16719           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16720           Makefile.am for each.  And systray/Makefile needs to be redone.
16721
16722 2005-06-19  Dan Williams <dcbw@redhat.com>
16723
16724         * src/NetworkManagerDevice.c
16725         - (nm_device_wireless_process_scan_results): scan every 20s when
16726           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16727
16728 2005-06-19  Dan Williams <dcbw@redhat.com>
16729
16730         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16731
16732 2005-06-18  Ray Strode <rstrode@redhat.com>
16733
16734         * src/nm-netlink-monitor.c 
16735         (nm_netlink_monitor_event_handler): check for the presence
16736         of either error condition not both. 
16737         
16738         (nm_netlink_monitor_error_handler): emit error signal if
16739         error occurs.
16740
16741         (nm_netlink_monitor_event_handler),
16742         (nm_netlink_monitor_error_handler),
16743         (nm_netlink_monitor_disconnect_handler): if an 
16744         assertion fails disconnect the event handler to prevent 
16745         infinite loops.
16746
16747         * src/nm-netlink-monitor.h: add new error condition
16748         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16749
16750 2005-06-18  Ray Strode <rstrode@redhat.com>
16751
16752         * src/nm-netlink-monitor.c 
16753         (nm_netlink_monitor_event_handler): remove bogus < 0
16754         check on unsigned value and return early if the kernel
16755         didn't send any bytes.
16756
16757 2005-06-17  Robert Love  <rml@novell.com>
16758
16759         * initscript/SUSE/networkmanager: Change the Provides and default
16760         run levels
16761
16762 2005-06-16  Dan Williams <dcbw@redhat.com>
16763
16764         Patch from Robert Love:
16765         * gnome/applet/applet.c
16766                 - Beautify some applet menu item names
16767
16768 2005-06-17  David Zeuthen  <davidz@redhat.com>
16769
16770         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16771         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16772         Also add new methods can_export, import_file and export.
16773
16774         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16775         to the main UI
16776
16777         * gnome/vpn-properties/nm-vpn-properties.c:
16778         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16779         nm-vpn-ui-interface.h.
16780         (update_edit_del_sensitivity): Also update "Export" sensitivity
16781         (add_vpn_connection): Also add new SVC_NAME column
16782         (import_settings): New function
16783         (retrieve_data_from_selected_connection): New function
16784         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16785         this function
16786         (export_cb): New function
16787         (init_app): Also setup the "export" widget
16788         (main): Support the --import-service and --import-file commandline
16789         arguments
16790
16791         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16792         D-BUS 0.34
16793
16794 2005-06-16  Dan Williams <dcbw@redhat.com>
16795
16796         Patch from Robert Love:
16797         * gnome/applet/menu-items.c
16798                 - (network_menu_item_new): pass -1 as wireless network
16799                         menu items height size request rather than ascent / 2
16800
16801 2005-06-16  Dan Williams <dcbw@redhat.com>
16802
16803         * Clean up wording in Wireless Scan Methods menu items and constants
16804
16805 2005-06-16  Robert Love  <rml@novell.com>
16806
16807         * po/POTFILES.in
16808                 - remove gtkcell* files
16809
16810 2005-06-15  Dan Williams <dcbw@redhat.com>
16811
16812         Patch from Robert Love: make the applet stetic
16813
16814         * gnome/applet/Makefile.am
16815                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16816
16817         * gnome/applet/gtkcellview.h
16818           gnome/applet/gtkcellview.c
16819           gnome/applet/gtkcellrendererprogress.h
16820           gnome/applet/gtkcellrendererprogress.c
16821                 - Removed
16822
16823         * gnome/applet/menu-items.c
16824                 - Progress bars are 5:1 size ratio
16825                 - Use GTK progress bars rather than internal ones
16826
16827 2005-06-15  Dan Williams <dcbw@redhat.com>
16828
16829         Patch from Robert Love:
16830         * initscript/SUSE/networkmanager
16831                 - Fix typo
16832
16833 2005-06-15  Dan Williams <dcbw@redhat.com>
16834
16835         * src/backends/NetworkManagerSuSE.c
16836           src/backends/NetworkManagerRedHat.c
16837           src/backends/NetworkManagerDebian.c
16838                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16839
16840 2005-06-15  Dan Williams <dcbw@redhat.com>
16841
16842         * src/backends/NetworkManagerDebian.c
16843                 - Add nm_system_device_get_use_dhcp() to debian backend
16844
16845         Patch from Kay Sievers:
16846         * src/backends/NetworkManagerSuSE.c
16847                 - Update debian backend for static IP nameservers
16848
16849         * src/NetworkManagerDevice.c
16850                 - Actually set the device to use static IP or DHCP rather
16851                         than always DHCP
16852
16853 2005-06-15  Dan Williams <dcbw@redhat.com>
16854
16855         Patch from Thom May:
16856         * src/backends/NetworkManagerDebian.c
16857                 - Update debian backend for static IP nameservers
16858
16859 2005-06-15  Dan Williams <dcbw@redhat.com>
16860
16861         Patches from Robert Love:
16862         * gnome/applet/wireless-applet.glade
16863                 - Tighten up wording
16864
16865         * src/NetworkManagerDevice.c
16866                 - Remove misplaced ';'
16867
16868         * configure.in
16869           initscript/Makefile.am
16870           initscript/SUSE/Makefile.am
16871           initscript/SUSE/networkmanager
16872                 - Add SUSE initscript
16873
16874 2005-06-12  David Zeuthen  <davidz@redhat.com>
16875
16876         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16877
16878         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16879
16880         * gnome/vpn-properties/nm-vpn-properties.c: New file
16881
16882         * gnome/vpn-properties/Makefile.am: New file
16883
16884         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16885         array of passwords
16886
16887         * src/vpn-manager/nm-vpn-manager.c
16888         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16889         instead of just a single one
16890
16891         * src/vpn-manager/nm-dbus-vpn.c:
16892         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16893         here
16894         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16895
16896         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16897         Change the interface here to give a list of passwords. Also, don't
16898         require username, but do require service
16899
16900         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16901         the binary for the auth-dialog and use that instead of putting up a
16902         dialog asking for a single password
16903
16904         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16905         however do remember the service
16906
16907         * gnome/applet/main.c (main): Setup i18n
16908
16909         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16910         connection to '%s'" to the tooltip if we are connected using VPN
16911         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16912         key to determine whether we the auth-dialog needs to
16913         reprompt. Also cope with the fact that the auth-dialog now returns
16914         an array of passwords.
16915         (nmwa_menu_configure_vpn_item_activate): New handler for
16916         "Configure VPN..." menu item
16917         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16918         (is_vpn_available): New function to determine if we got any
16919         NM-compatible VPN software installed
16920         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16921         items only if we have NM-compatible VPN software installed
16922         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16923         logic for detecting when VPN connections are removed
16924
16925         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16926         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16927         since these are defined elsewhere
16928
16929         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16930         function used to keep track of whether the last attempt succeded
16931         (nmwa_dbus_filter): Update last_attempt according to whether the
16932         VPN connection could be established or not
16933
16934         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16935         Change prototype to take an array of passwords, not just a single
16936         password
16937
16938         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16939         update service, not user
16940         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16941         dbus_active_vpn_name is not NULL before using it
16942         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16943         string array instead of assuming a single password
16944
16945         * gnome/applet/applet-dbus-info.c:
16946         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16947         user name; don't read from gconf
16948
16949         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16950         VPN_NAME_FILES_DIR
16951
16952         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16953
16954         * configure.in: Add checks for gmodule-2.0.
16955         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16956         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16957         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16958         for details
16959
16960         * vpn-daemons/Makefile.am: Removed
16961
16962         * vpn-daemons/README: New file to describe extensions points for VPN
16963         software
16964
16965 2005-06-10  Dan Williams <dcbw@redhat.com>
16966
16967         * src/backends/NetworkManagerRedHat.c
16968                 - (get_current_profile_name): new function, grab current network profile name from
16969                         /etc/sysconfig/network
16970                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16971                         update an IP4 Config structure's settings from it
16972                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16973                         get DNS info from current network profile
16974
16975 2005-06-09  Dan Williams <dcbw@redhat.com>
16976
16977         Patch from Robert Love:
16978         * src/NetworkManagerDevice.c
16979           src/NetworkManagerUtils.c
16980                 - 64-bit build fixes
16981
16982 2005-06-09  Dan Williams <dcbw@redhat.com>
16983
16984         Patch from Kay Sievers and Robert Love:
16985         * configure.in
16986           src/backends/Makefile.am
16987           src/backends/NetworkManagerSuSE.c
16988                 - Add SuSE support
16989
16990 2005-06-09  Dan Williams <dcbw@redhat.com>
16991
16992         * NetworkManager.h
16993                 - Add NMWirelessScanMethod enum for scan methods
16994
16995         * gnome/applet/applet-dbus-devices.c
16996                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16997                 - (nmwa_dbus_update_scanning_enabled): remove
16998                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16999                         since it got removed
17000                 - (nmwa_dbus_enable_scanning): remove
17001
17002         * gnome/applet/applet-dbus-info.c
17003                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17004                         update the wireless scanning method from NMI
17005                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17006                         method value to NetworkManager
17007                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17008
17009         * gnome/applet/applet-dbus-info.h
17010                 - Add prototype for nmi_dbus_signal_update_scan_method
17011
17012         * gnome/applet/applet.c
17013                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17014                         Wireless Scanning menu based on current wireless scan method
17015                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17016                         signal for Wireless Scanning menu items, tell NetworkManager the new method
17017                         and update our menu items to make sure the right one is checked
17018                 - (nmwa_set_scanning_enabled_cb): remove
17019                 - (nmwa_context_menu_update): remove references to pause_scanning_item
17020                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17021                         Scanning menu item
17022                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17023                         from GConf
17024                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17025                         so we get notified of preference values too
17026                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17027
17028         * gnome/applet/applet.h
17029                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17030                 - Add wireless scan method member to applet data
17031                 - Remove pause_scanning_item, add Wireless Scanning submenu
17032
17033         * src/NetworkManager.c
17034                 - (nm_data_new): default to NM_SCAN_METHOD_ON
17035                 - (main): grab scanning method from NMI if we can
17036
17037         * src/NetworkManagerDbus.c
17038                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17039                         nm_dbus_update_wireless_scan_method()
17040                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17041                         from NMI
17042                 - (nm_dbus_nmi_is_running): redundant function, removed
17043                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17044                         when NMI comes back
17045
17046         * src/NetworkManagerDevice.c
17047                 - (nm_device_is_activated): return TRUE if the device is activated
17048                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17049                         and we are activated
17050
17051         * src/nm-dbus-nm.c
17052                 - (nm_dbus_nm_set_scanning_enabled): removed
17053                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17054                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17055
17056 2005-06-09  Dan Williams <dcbw@redhat.com>
17057
17058         * NetworkManager.h
17059           src/vpn-manager/nm-vpn-service.c
17060                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17061
17062 2005-05-27  Dan Williams <dcbw@redhat.com>
17063
17064         * vpn-daemons/vpnc/nm-vpnc-service.c
17065                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17066                         Should fix the bug where the VPN connection terminates the first time.
17067
17068 2005-05-20  Dan Williams <dcbw@redhat.com>
17069
17070         * NetworkManager.h
17071                 - Differentiate VPN config signals between bad VPN config options
17072                         and bad IP config
17073
17074         * gnome/applet/applet-dbus-info.h
17075                 - Add prototypes for wireless network and vpn connection update functions
17076
17077         * gnome/applet/applet-dbus.c
17078                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17079
17080         * gnome/applet/applet.c
17081                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17082                         error signals
17083                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17084                         propogation to NetworkManager
17085                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17086                         notify propogation to NetworkManager
17087
17088         * src/NetworkManagerDbus.c
17089                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17090                         are updating so a network can be removed from it if necessary
17091
17092         * src/vpn-manager/nm-vpn-manager.c
17093                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17094
17095         * vpn-daemons/vpnc/nm-vpnc-service.c
17096                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17097                 - (nm_vpnc_dbus_signal_launch_failed): remove
17098                 - (nm_vpnc_dbus_signal_connect_failed): remove
17099                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17100                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17101                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17102                         for new generalized error signal function, remove config file stuff
17103                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17104                         we can write configuration options to it
17105                 - (nm_vpnc_config_file_generate): removed
17106                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17107                 - (nm_vpnc_config_options_validate): validate the config options we receive
17108                         from NetworkManager to block potential exploits
17109                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17110                         starting vpnc
17111                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17112                         to NetworkManager
17113
17114 2005-05-16  Dan Williams  <dcbw@redhat.com>
17115
17116         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17117                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17118                         is not "connect"
17119
17120 2005-05-16  Dan Williams  <dcbw@redhat.com>
17121
17122         Patch from Tomislav Vujec <tvujec@redhat.com>
17123         * gnome/applet/applet-dbus-info.c
17124                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17125                         GConf and pass them to NetworkManager.  New key is 'routes' under
17126                         the VPN connection, and should be a string list
17127
17128         * src/NetworkManagerSystem.c
17129                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17130                         set them on the device when we set the rest of the VPN config.  Ensure
17131                         they are in the correct format since they are passed directly to the
17132                         command line.
17133
17134         * src/backends/NetworkManagerRedHat.c
17135           src/backends/NetworkManagerDebian.c
17136                 - (nm_system_device_add_route_via_device_with_iface): new function
17137
17138         * src/vpn-manager/nm-dbus-vpn.c
17139                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17140
17141         * src/vpn-manager/nm-vpn-manager.c
17142                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17143                         them into the IP4 config functions
17144
17145 2005-05-15  Dan Williams  <dcbw@redhat.com>
17146
17147         From Filip Miletic:
17148         * po/sr.po
17149           po/sr@Latn.po
17150           configure.in
17151                 - Serbian translation added
17152
17153 2005-05-15  Dan Williams  <dcbw@redhat.com>
17154
17155         * dispatcher-daemon/NetworkManagerDispatcher.c
17156                 - (main): sync arguments with NetworkManager and the applet, now use
17157                         "--no-daemon" rather than "daemon=no"
17158                 - (nmd_print_usage): Fix script path in usage message
17159
17160 2005-05-15  Dan Williams  <dcbw@redhat.com>
17161
17162         * src/NetworkManagerDevice.[ch]
17163           src/NetworkManagerPolicy.c
17164           src/NetworkManager.c
17165           src/nm-dbus-nm.c
17166                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17167                         longer send the DeviceNoLongerActive signal unconditionally, but only
17168                         when the device is actually active.
17169
17170         * dispatcher-daemon/NetworkManagerDispatcher.c
17171                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17172                         and simplify the logic
17173                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17174                         we free it later on
17175
17176         * initscript/RedHat/Makefile.am
17177           initscript/RedHat/NetworkManagerDispatcher
17178                 - Add initscript for NetworkManagerDispatcher
17179
17180
17181         Patch from Bill Moss:
17182         * dispatcher-daemon/NetworkManagerDispatcher.c
17183                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17184
17185         * src/NetworkManagerDbus.c
17186                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17187                         and DeviceNowActive gets signaled, then the device has a new IP address
17188                         anyway.  There's no need for a separate signal.
17189
17190         * src/NetworkManagerDevice.c
17191                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17192
17193         * src/NetworkManagerPolicy.c
17194                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17195                         activates successfully.  This kind of went missing when I reworked the
17196                         activation code.
17197
17198 2005-05-15  Dan Williams  <dcbw@redhat.com>
17199
17200         * configure.in
17201                 - Check for dhcdbd and error if its not found
17202
17203         * src/dhcp-manager/Makefile.am
17204           src/dhcp-manager/nm-dhcp-manager.c
17205                 - Use path to dhcdbd that configure found
17206
17207 2005-05-14  Dan Williams  <dcbw@redhat.com>
17208
17209         * gnome/applet/nm-device.c
17210                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17211                         sort wireless networks alphabetically
17212
17213         * gnome/applet/applet-dbus-devices.c
17214                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17215                         before copying them over to the GUI
17216
17217 2005-05-14  Dan Williams  <dcbw@redhat.com>
17218
17219         * src/NetworkManager.c
17220                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17221                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17222                         the device list, as does nm_get_active_device() which is called from
17223                         nm_vpn_manager_deactivate_vpn_connection().
17224
17225 2005-05-14  Dan Williams  <dcbw@redhat.com>
17226
17227         * NetworkManager.h
17228                 - Add signals for VPN Launch and Connect failures
17229
17230         * gnome/applet/applet-dbus.c
17231                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17232
17233         * gnome/applet/applet.c
17234                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17235                         function to handle all VPN failure messages
17236                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17237                         function to hanlde all VPN failure  messages
17238                 - (show_warning_dialog): work around focus-stealing prevention
17239
17240         * gnome/applet/other-network-dialog.c
17241           gnome/applet/passphrase-dialog.c
17242                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17243                         problem where it never enabled for ASCII Key and Hex Key types
17244
17245         * gnome/applet/wireless-applet.glade
17246                 - Add window title to Other Wireless Network Dialog
17247
17248         * src/vpn-manager/nm-dbus-vpn.c
17249                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17250                         function to handle all VPN failure messages
17251
17252         * src/vpn-manager/nm-vpn-manager.c
17253                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17254
17255         * vpn-daemons/vpnc/nm-vpnc-service.c
17256                 - (nm_vpnc_dbus_signal_launch_failed): new function
17257                 - (nm_vpnc_dbus_signal_connect_failed): new function
17258                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17259                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17260                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17261                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17262
17263 2005-05-11  Dan Williams  <dcbw@redhat.com>
17264
17265         * vpn-daemons/vpnc/nm-vpnc-service.c
17266                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17267                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17268                         file exists before trying to write it out.
17269
17270 2005-05-10  Dan Williams  <dcbw@redhat.com>
17271
17272     * gnome/applet/applet-dbus-device.c
17273         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17274             prevented just entering ESSID and leaving key and key type up to
17275             NetworkManager (which should have them already cached)
17276
17277 2005-05-08  Dan Williams  <dcbw@redhat.com>
17278
17279         * src/NetworkManagerPolicy.c
17280                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17281                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17282                         fix a situation where NM is told to terminate and the device stops activation,
17283                         but the main thread isn't aware of that because it would never have run
17284                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17285                         had already quit.
17286
17287         * src/NetworkManagerDevice.c
17288                 - (nm_device_probe_wired_link_state): cosmetic fixes
17289                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17290                         we've failed to activate or been canceled.
17291                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17292
17293 2005-05-08  Dan Williams  <dcbw@redhat.com>
17294
17295         * src/NetworkManagerWireless.c
17296                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17297                         value of WEXT quality structures, and add a debug message when we cannot
17298                         determine any quality % at all
17299
17300 2005-05-08  Dan Williams  <dcbw@redhat.com>
17301
17302         * src/dhcp-manager/nm-dhcp-manager.c
17303                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17304                         it goes down.
17305
17306 2005-05-06  Dan Williams  <dcbw@redhat.com>
17307
17308         * gnome/applet/applet-dbus-device.c
17309           gnome/applet/applet-dbus-info.c
17310           gnome/applet/applet-dbus.c
17311           gnome/applet/applet.c
17312           gnome/applet/applet.h
17313                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17314
17315         * gnome/applet/applet-dbus.c
17316                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17317                         so we notice when wired device's carriers come back on.  Should
17318                         fix issue with wired devices being grayed out even if the cable
17319                         is in, for devices that support carrier detection.
17320
17321         * gnome/applet/applet.c
17322                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17323                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17324                         tooltip message
17325                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17326                         Fix situation where applet wouldn't respond to menu selections
17327
17328         * src/NetworkManager.c
17329           src/NetworkManagerDevice.c
17330           src/NetworkManagerDbus.c
17331           src/NetworkManagerDbus.h
17332                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17333
17334         * src/NetworkManagerDbus.c
17335                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17336                         Remove, no longer used or relevant
17337                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17338                 - (nm_dbus_schedule_device_status_change_signal): add
17339
17340         * src/NetworkManagerDevice.c
17341                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17342                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17343                         ie don't deactivate them unless explicitly told to by the user.  Also send
17344                         CARRIER_OFF / CARRIER_ON signals when link changes
17345                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17346                         Don't print error message when device is no longer around
17347                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17348                         not just during activation
17349
17350         * src/NetworkManagerPolicy.c
17351                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17352                         auto-device-selection.
17353                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17354
17355         * src/NetworkManagerSystem.c
17356                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17357                         is no longer present (Bill Moss)
17358
17359         * src/backends/shvar.c
17360                 - (svOpenFile): Open read-only to make SELinux happy
17361
17362         * src/backends/NetworkManagerRedHat.c
17363                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17364                         the path to the ifcfg-* files
17365
17366 2005-05-05  Dan Williams  <dcbw@redhat.com>
17367
17368         * Expose activation stages to NetworkManager clients, like the applet
17369         * Add Diana's progress icons to the applet, cued off NM activation stage
17370         * Use more descriptive tooltips, cued off NM activation stage
17371
17372 2005-05-05  Ray Strode  <rstrode@redhat.com>
17373
17374         * src/nm-netlink-monitor.c:
17375                 - Use clear_event_source instead of g_nullify_pointer() again.
17376
17377 2005-05-05  Dan Williams  <dcbw@redhat.com>
17378
17379         * gnome/applet/main.c
17380                 - Fix session management so the applet is actually managed now
17381
17382         * gnome/applet/passphrase-dialog.c
17383                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17384
17385 2005-05-05  Dan Williams  <dcbw@redhat.com>
17386
17387         Patch from Bill Moss:
17388         * gnome/libnm_glib/libnm_glib.c
17389                 - Fix for dbus-0.33
17390
17391 2005-05-05  Dan Williams  <dcbw@redhat.com>
17392
17393         Suggestion from Bill Moss:
17394         * src/NetworkManagerSystem.c
17395                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17396
17397
17398         * src/NetworkManager.c
17399                 - (nm_data_free): move destruction of the various managers after
17400                         release of device list, because deactivating and freeing a device
17401                         requires at least the named manager
17402                 - (nm_poll_and_update_wireless_link_state):
17403                   (nm_device_link_activated):
17404                   (nm_device_link_deactivated):
17405                         don't grab the device list lock when actually updating device
17406                         link status or strength, since nm_device_set_link_active()
17407                         needs to call nm_get_active_device(), which also locks the device list.
17408
17409         * src/NetworkManagerDevice.c
17410                 - (nm_device_set_link_active): if a device's link switches from off->on,
17411                         and it's wired, and the active device is wireless (or there is no
17412                         active device), activate the new device whose link just came on
17413                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17414                         my only calling the link to the current ap "failed" when more than 2
17415                         consecutive link checks have failed
17416
17417 2005-05-04  Dan Williams  <dcbw@redhat.com>
17418
17419         * src/NetworkManagerDevice.c
17420                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17421                         but let link_to_specific_ap() do the locking where it needs
17422
17423         Patch from Bill Moss:
17424         * src/NetworkManagerSystem.c
17425                 - Set MTU of VPN devices to 1412
17426
17427 2005-05-04  Dan Williams  <dcbw@redhat.com>
17428
17429         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17430
17431         * Fix some holes in device activation and retaining the currently connected
17432                 access point
17433
17434 2005-05-03  Dan Williams  <dcbw@redhat.com>
17435
17436         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17437           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17438           means you need dhcdbd, which you can get here (get the latest one):
17439
17440                 http://people.redhat.com/jvdias/dhcdbd/
17441
17442           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17443           interface as dhcdbd.
17444
17445         * Rewrite device activation to facilitate the new DHCP infrastructure and
17446           future improvements.  Its now "activation request" based, ie there is a single
17447           activation request composed of the device, access point, and other info which
17448           follows the entire activation process.  There are 5 stages of the activation
17449           process which correspond to:
17450
17451                 1) Device preparation
17452                 2) Device configuration (bring it up, set ESSID/Key/etc)
17453                 3) IP Config Start (fire off DHCP if we're using it)
17454                 4) IP Config Get (grab config from DHCP or static config files)
17455                 5) IP Config Commit (set device's IP address, DNS, etc)
17456
17457           Note that there is no longer a "scanning" step, since the access point must
17458           be known _before_ activation starts.  If the access point drops out or does
17459           not exist for some reason, the entire activation process fails and must be
17460           restarted for a different access point or device.
17461
17462         Patch from Bill Moss:
17463         * gnome/applet/applet.c
17464                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17465
17466 2005-04-27  Dan Williams  <dcbw@redhat.com>
17467
17468         * gnome/applet/applet-dbus-vpn.c
17469           gnome/applet/applet.c
17470           gnome/applet/applet.h
17471                 - Fix up active VPN handling so that we reliably know when a VPN
17472                         connection has been deactivated
17473
17474         * src/vpn-manager/nm-vpn-manager.c
17475                 - Remove duplicate VPNConnectionChange signal
17476
17477 2005-04-27  Dan Williams  <dcbw@redhat.com>
17478
17479         Patch from Peter Jones:
17480         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17481
17482         Patch from Bill Moss:
17483         * src/NetworkManagerSystem.c
17484                 - Fix checking of return value from ioctl()
17485
17486 2005-04-27  Dan Williams  <dcbw@redhat.com>
17487
17488         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17489         * Warn and exit if icons cannot be found
17490
17491 2005-04-27  Dan Williams  <dcbw@redhat.com>
17492
17493         Patch from Tom Parker:
17494         * Update debian backend
17495
17496 2005-04-27  Dan Williams  <dcbw@redhat.com>
17497
17498         * Merge the applet and the info-daemon, and move the converged
17499                 applet under gnome/applet
17500         * Move libnm_glib to gnome/libnm_glib
17501         * Convert most dbus calls between the applet, info-daemon, and NM
17502                 into async calls
17503         * Fix a few things valgrind noticed
17504         * Make NM broadcast state more reliably
17505
17506 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17507
17508         * configure.in: Added ne in ALL_LINGUAS
17509
17510 2005-04-15  Dan Williams  <dcbw@redhat.com>
17511
17512         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17513                 code for dbus 0.2x versions
17514
17515 2005-04-15  Dan Williams  <dcbw@redhat.com>
17516
17517         Patches from Tom Parker:
17518         - Fix memleaks
17519         - Join with worker thread rather than polling for its exit
17520
17521         Patch from Bill Moss:
17522         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17523
17524 2005-04-15  Dan Williams  <dcbw@redhat.com>
17525
17526         - Fixes to pass 'make distcheck'
17527
17528 2005-04-15  Dan Williams  <dcbw@redhat.com>
17529
17530         Initial VPN Support
17531                 - supports 'vpnc'
17532                 - reworks device IP configuration, backend files have changed and will need
17533                         to be updated for all distributions.  I will try to do what I can for
17534                         them, but I cannot test them.
17535
17536         - Move named directory to src/named-manager
17537         - Make backends directory self-contained
17538
17539 2005-04-06  Dan Williams  <dcbw@redhat.com>
17540
17541         Add debug code for socket/file descriptor leaks.  We register every socket
17542         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17543         list of sockets that we forgot to close on shutdown.  This also consolidates
17544         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17545
17546 2005-04-06  Dan Williams  <dcbw@redhat.com>
17547
17548         * dhcpcd/dhcpcd.c
17549                 - (dhcp_interface_free): fix a file descriptor leak that may have
17550                         caused network drivers to not unload due to refcounts > 0
17551
17552 2005-04-04  Dan Williams  <dcbw@redhat.com>
17553
17554         * panel-applet/NMWirelessAppletDbus.c
17555                 - (nmwa_dbus_call_nm_method): remove some commented code
17556
17557         * src/NetworkManagerAPList.[ch]
17558                 - (nm_ap_list_remove_ap_by_essid): new function
17559
17560         * src/NetworkManagerDevice.c
17561                 - (nm_device_wireless_force_use): remove access points from the ignore list
17562                         when the user forces them
17563
17564         * src/nm-dbus-device.c
17565                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17566
17567 2005-04-04  Dan Williams  <dcbw@redhat.com>
17568
17569         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17570
17571 2005-04-04  Dan Williams  <dcbw@redhat.com>
17572
17573         * src/NetworkManagerDevice.c:
17574                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17575                         of only erroring after the second consecutive scan times out.  Also
17576                         don't exit when the card requires more time than we can give it, just
17577                         log the event and continue.
17578
17579 2005-04-01  Steve Murphy  <murf@e-tools.com>
17580
17581         * configure.in: Added "rw" to ALL_LINGUAS.
17582
17583 2005-04-01  Dan Williams <dcbw@redhat.com>
17584
17585         Perform scans during device activation, if needed.  Both activation 
17586         and scans run in the same GMainContext.  Therefore, if an access point
17587         is not found by the time the device starts activation, it will not
17588         be available until after activation.  We now try to scan during
17589         activation (in nm_wa_test) every 15s so that all available access
17590         points are more likely to be found and available for the activation
17591         procedure.
17592
17593         Also change nm_wireless_link_state_handle() to only update the "best"
17594         AP if we are not forcing a device and if we are not about to change
17595         state.  This attempts to work around a race when forcing a device,
17596         where the forced AP would get cleared out too soon by the link state
17597         checking timeout in the main thread, and the activation attempt with
17598         that AP would fail.
17599
17600 2005-04-01  Dan Williams <dcbw@redhat.com>
17601
17602         * po/POTFILES.in
17603                 - Update with new translatables
17604
17605 2005-03-31  Dan Williams <dcbw@redhat.com>
17606
17607         * panel-applet/NMWirelessAppletDbus.c
17608                 - Fix device names now that hal has changed device parenting for
17609                         network devices.
17610
17611 2005-03-31  Dan Williams <dcbw@redhat.com>
17612
17613         Tighten up handling of wireless devices that don't support wireless
17614         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17615         hadn't been doing pseudo-scanning for a while either and would just
17616         spin waiting for an access point.  They are now manual devices where
17617         the user must choose the access point from the menu every time.  All
17618         "allowed" access points are listed in the applet's menu regardless
17619         of whether or not they can be seen by the card, since it can't scan
17620         anyway.
17621
17622         * src/NetworkManager.c
17623                 - (nm_wireless_link_state_handle): new function, but only update
17624                         the "best" ap for non-scanning devices when its not activating,
17625                         and when no device is being forced on the card
17626                 - (nm_link_state_monitor): split wireless link state handling out
17627                         into separate function
17628
17629         * src/NetworkManagerDevice.c
17630                 - (nm_device_copy_allowed_to_dev_list): new function
17631                 - (nm_device_new): populate non-scanning cards' AP lists with
17632                         access points from the "allowed" list
17633                 - (nm_device_new): don't start a scanning timeout for devices that
17634                         can't scan
17635                 - (nm_device_activation_schedule_finish): new parameter, should be
17636                         the AP that failed to be connected to, pass it on to the
17637                         activation finish function in NetworkManagerPolicy.c
17638                 - (nm_device_activate_wireless): don't ever try to get a new AP
17639                         for non-scanning devices, just fail.  The user must choose
17640                         a new access point manually.
17641                 - (nm_device_activate): grab the AP that failed connection and
17642                         pass it on
17643                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17644                         a link to it, user must manually choose a new one
17645                 - (nm_device_do_pseudo_scan): remove function
17646                 - (nm_device_wireless_process_scan_results): remove bits for non-
17647                         scanning cards since they never get here
17648                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17649                         and fake the scan list for test devices a bit earlier
17650
17651         * src/NetworkManagerPolicy.c
17652                 - (nm_policy_activation_finish): use the failed_ap that we get
17653                         passed rather than getting the best_ap from the card, which
17654                         may have changed since we were scheduled
17655                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17656                         update their scan list directly from the allowed list when
17657                         we get updates to the allowed list from NetworkManagerInfo
17658
17659         * src/NetworkManagerPolicy.h
17660                 - New member for failed access point in NMActivationResult
17661
17662   -------------------------------------
17663
17664         Driver Notification patch: notifies the user when their driver
17665                 sucks.  Gives them the option to ignore further insertions
17666                 of the card that has the sucky driver.
17667
17668         * NetworkManager.h
17669                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17670                         enum and replace it with NO_CARRIER_DETECT and
17671                         NO_WIRELESS_SCAN
17672
17673         * panel-applet/NMWirelessApplet.[ch]
17674                 - Merge essid.glade -> wireless-applet.glade
17675                 - Implement the "Your driver sucks" notification dialog
17676
17677         * panel-applet/NMWirelessAppletDbus.c
17678                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17679                 - Grab hardware address for each device from NM too
17680                 - Check whether the driver for each device sucks or not whenever
17681                         a new device is noticed
17682
17683         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17684                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17685
17686         * src/NetworkManager.c
17687                 - Fix a double-unref on device removal
17688
17689         * src/NetworkManagerUtils.c
17690                 - Set appropriate driver support level on a device that doesn't
17691                         support scanning or carrier detection
17692
17693         * src/nm-dbus-device.c
17694                 - New "getHWAddress" dbus method on devices
17695                 - getSupportsCarrierDetect -> getDriverSupportLevel
17696
17697 2005-03-31  Dan Williams <dcbw@redhat.com>
17698
17699         * src/NetworkManagerDevice.c
17700                 - (nm_device_wireless_scan): Fix leak of scan results in some
17701                         instances
17702
17703 2005-03-29  Dan Williams <dcbw@redhat.com>
17704
17705         * src/NetworkManager.c
17706                 - (nm_poll_and_update_wireless_link_state): make code less indented
17707
17708         Patch from Bill Moss:
17709         * src/NetworkManager.c
17710                 - (nm_device_update_link_state): Update signal strength on wireless
17711                         devices every time we update link state too.
17712
17713 2005-03-29  Dan Williams <dcbw@redhat.com>
17714
17715         * src/NetworkManagerDevice.c
17716                 - (nm_device_set_essid): Work around Orinoco cards which need
17717                         extra time after setting the ESSID
17718
17719 2005-03-29  Dan Williams <dcbw@redhat.com>
17720
17721         * src/NetworkManagerDevice.c
17722                 - Merge one more bit of Peter Jones' completion patch
17723
17724 2005-03-29  Dan Williams <dcbw@redhat.com>
17725
17726         * src/NetworkManagerDevice.c
17727                 - (nm_device_force_use): Fix possible segfault
17728
17729 2005-03-29  Dan Williams <dcbw@redhat.com>
17730
17731         * src/NetworkManagerDevice.c
17732                 - Use iw_get_ext() where we should rather than iw_set_ext()
17733
17734 2005-03-29  Dan Williams <dcbw@redhat.com>
17735
17736         * src/NetworkManagerDevice.c
17737                 - (nm_device_set_up_down): remove check for unsupported devices
17738                         that caused NM to not bring devices up when they were
17739                         added to the device list.
17740
17741 2005-03-28  Dan Williams <dcbw@redhat.com>
17742
17743         * src/NetworkManagerDevice.c
17744                 - (mdio_read): Fix two bugs that caused all devices to fail
17745                         the MII carrier detection support checks
17746
17747 2005-03-26  Dan Williams <dcbw@redhat.com>
17748
17749         * src/NetworkManagerDevice.c
17750                 - (nm_device_wireless_scan): Remove duplicated scanning code
17751
17752 2005-03-25  Dan Williams <dcbw@redhat.com>
17753
17754         * panel-applet/NMWirelessApplet.c
17755                 - (nmwa_about_cb): Add some more contributors
17756                 - (nmwa_update_state): show the applet when there's no connection
17757                 - Enable the "Stop/Resume all wireless devices" option in the
17758                         context menu
17759                 - New "no connection" icon
17760
17761         * src/NetworkManager.c
17762                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17763                         wireless is disabled or we're asleep
17764
17765         * src/NetworkManagerDHCP.c
17766                 - Remove trailing "\n" on debug messages
17767
17768         * src/NetworkManagerDbus.c
17769                 - (nm_dbus_network_status_from_data): new state "asleep"
17770
17771         * src/NetworkManagerDevice.c
17772                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17773                         latency and wait times for most operations
17774                 - (nm_device_wireless_scan): Don't scan when asleep
17775
17776         * src/NetworkManagerPolicy.c
17777                 - (nm_policy_get_best_device): return no device when asleep
17778                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17779                         for all wireless devices on update, not just active device
17780
17781         * src/NetworkManagerUtils.c
17782                 - Merge Peter Jones' "completion" patch
17783
17784         * src/nm-dbus-nm.c
17785                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17786                         we're told to disable them
17787                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17788
17789         * utils/nm-utils.h
17790                 - New variants of the warn/info/error/debug print functions that can take
17791                         variables rather than static strings
17792
17793 2005-03-24  Dan Williams <dcbw@redhat.com>
17794
17795         * src/NetworkManagerUtils.c
17796                 - (nm_get_device_driver_name): driver names are now on the parents of
17797                         "Network Interface" objects, so look for them there
17798
17799 2005-03-24  Dan Williams <dcbw@redhat.com>
17800
17801         * test/nmtest.c
17802                 - Escape some forgotten object paths before we shove them through dbus
17803
17804 2005-03-24  Dan Williams <dcbw@redhat.com>
17805
17806         * dhcpcd/dhcpcd.[ch]
17807           src/NetworkManagerDHCP.c
17808                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17809                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17810
17811         * src/NetworkManagerDbus.c
17812                 - spacing cleanups
17813
17814         * src/nm-dbus-dhcp.c
17815                 - Make the API suck less.  There is now only 1 type of each function,
17816                         ie only "getInteger" and no longer also "getIntegerv".  All types
17817                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17818                         that will never have more than 1 element.  This should simplify
17819                         things greatly.
17820
17821         * test/nm-dhcp-opt-test.c
17822                 - Make the tool not segfault
17823                 - adapt to new DHCP Options API
17824
17825 2005-03-22  Dan Williams <dcbw@redhat.com>
17826
17827         * src/NetworkManager.c
17828                 - (nm_wired_link_deactivated): actually ignore netlink events from
17829                         wireless devices.
17830
17831 2005-03-22  Dan Williams <dcbw@redhat.com>
17832
17833         * src/NetworkManager.c
17834                 - (nm_wired_link_activated): actually ignore netlink events from
17835                         wireless devices.
17836
17837 2005-03-17  Dan Williams <dcbw@redhat.com>
17838
17839         Patch from Tom Parker:
17840         * src/nm-netlink-monitor.c
17841                 - Include unistd.h
17842         * info-daemon/NetworkManagerInfoDbus.c
17843                 - (nmi_dbus_update_network_auth_method): free GConf values
17844
17845         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17846         * src/NetworkManagerDevice.c
17847                 - (nm_device_set_wireless_config): wait for successful
17848                         association longer for some cards (Atheros a/b/g)
17849
17850 2005-03-15  Ray Strode  <rstrode@redhat.com>
17851
17852         * src/NetworkManager.c:
17853         (sigterm_pipe_handler):
17854         remove bogus FIXME
17855
17856 2005-03-15  Ray Strode  <rstrode@redhat.com>
17857
17858         * src/NetworkManagerDbus.c:
17859         Fix some sign weirdness that gcc4 doesn't like,
17860         and add a header file so PPC can hopefully find
17861         SIGTRAP
17862
17863 2005-03-14  Ray Strode  <rstrode@redhat.com>
17864         
17865         Fourth (probably working) cut at porting to
17866         dbus 0.30 api and new hal. This cut adds
17867         some new logging macros to make debugging
17868         easier.
17869
17870         * dispatcher-daemon/NetworkManagerDispatcher.c:
17871         * info-daemon/NetworkmanagerInfo.c:
17872         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17873         * info-daemon/NetworkManagerInfoVPN.c:
17874         * src/NetworkManager.c:
17875         * src/NetworkManagerAP.c:
17876         * src/NetworkManagerAPList.c:
17877         * src/NetworkManagerDHCP.c:
17878         * src/NetworkManagerDbus.c:
17879         * src/NetworkManagerDevice.c:
17880         * src/NetworkManagerPolicy.c:
17881         * src/NetworkManagerSystem.c:
17882         * src/NetworkManagerUtils.c:
17883         * src/NetworkManagerWireless.c:
17884         * src/autoip.c:
17885         * src/nm-dbus-nm.c:
17886         * src/backends/NetworkManagerDebian.c:
17887         * src/backends/NetworkManagerGentoo.c:
17888         * src/backends/NetworkManagerRedHat.c:
17889         * src/backends/NetworkManagerSlackware.c:
17890         use new logging macros.
17891
17892         * dispatcher-daemon/NetworkManagerDispatcher.c:
17893         (nmd_dbus_filter): s/dbus_free/g_free/
17894
17895         * info-daemon/Makefile.am: link in utils library.
17896         * info-daemon/NetworkmanagerInfo.c: use new logging 
17897         macros.
17898         (nmi_dbus_get_network): don't assume enumerations
17899         are 32-bit.
17900         (nmi_dbus_nmi_message_handler): don't free what 
17901         doesn't belong to us.
17902
17903         * libnm_glib/libnm_glib.c:
17904         (libnm_glib_get_nm_status): 
17905         (libnm_glib_init): don't free what doesn't
17906         belong to us.
17907         (libnm_glib_dbus): strdup result, so it doesn't get
17908         lost when message is unref'd.
17909
17910         * panel-applet/NMWirelessAppletDbus.c:
17911         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17912
17913         * src/NetworkManager.c:
17914         (nm_monitor_wired_link_state): request initial status 
17915         dump of all cards when we start up, instead of relying
17916         on /sys/.../carrier.
17917         (nm_info_handler), (nm_set_up_log_handlers): 
17918         log handlers to specify what syslog priorites 
17919         the logging macros default to.
17920
17921         * src/NetworkManagerAPList.c: 
17922         (nm_ap_list_populate_from_nmi):
17923         s/dbus_free_string_array/g_strfreev/
17924
17925         * src/NetworkManagerDbus.c:
17926         (nm_dbus_get_network_object):
17927         validate d-bus message argument types.
17928         Advance message iterator after reading argument,
17929         prepend instead of append to GSList.
17930
17931         * src/NetworkManagerDevice.c:
17932         (nm_device_probe_wired_link_status):
17933         remove redundant /sys in /sys path. remove wrong
17934         contents == NULL means has carrier assumption.
17935
17936         * src/nm-netlink-monitor.c 
17937         (nm_netlink_monitor_request_status): implement
17938         function to ask kernel to dump interface link
17939         status over netlink socket.
17940
17941         * test/*.c: s/dbus_free/g_free/
17942
17943         * utils/nm-utils.h:
17944         (nm_print_backtrace): new macro to print backtrace.
17945         (nm_get_timestamp): new macro to get sub-second precise
17946         unix timestamp.
17947         (nm_info), (nm_debug), (nm_warning), (nm_error):
17948         new logging functions. nm_info just prints,
17949         nm_debug includes timestamp and function,
17950         nm_warning includes function, nm_error includes
17951         backtrace and sigtrap.
17952
17953 2005-03-11  Ray Strode  <rstrode@redhat.com>
17954
17955         Third (unfinished, partially working) cut at porting to 
17956         dbus 0.30 api and new hal.
17957
17958         * info-daemon/NetworkManagerInfoDbus.c:
17959                 don't free null arrays.
17960
17961         * panel-applet/NMWirelessAppletDbus.c: 
17962         * src/nm-dbus-device.c:
17963         * src/nm-dbus-net.c: 
17964         * src/NetworkManagerDbus.c: more 
17965         STRING -> OBJECT_PATH fun
17966         * src/NetworkManagerDevice.c:
17967         * src/NetworkManagerDevice.h:
17968         (rename nm_device_get_link_active): rename to 
17969         nm_device_has_active_link
17970         (nm_device_wireless_link_active): rename to
17971         nm_device_probe_wireless_link_state
17972         (nm_device_wired_link_active): rename to
17973         nm_device_probe_wired_link_state.  Rewrite to
17974         use carrier file since hal doesn't maintain
17975         link state anymore.
17976         (nm_device_update_link_active): rename to
17977         nm_device_update_link_state
17978         * src/NetworkManagerPolicy.c 
17979           (nm_policy_activation_finish): check for NULL
17980           MAC address.
17981
17982         * src/Makefile.am:
17983         * src/NetworkManagerMain.h: 
17984         * src/NetworkManager.c:
17985         * src/nm-netlink-monitor.c:
17986         * src/nm-netlink-monitor.h: New class to support
17987         monitoring wired ethernet link status, since HAL
17988         doesn't export that information anymore.
17989
17990 2005-03-09  Ray Strode  <rstrode@redhat.com>
17991
17992         Second (unfinished, unworking) cut at porting to 
17993         dbus 0.30 api.
17994
17995         * dispatcher-daemon/NetworkManagerDispatcher.c:
17996         * info-daemon/NetworkManagerInfoDbus.c:
17997         * panel-applet/NMWirelessAppletDbus.c:
17998         * src/NetworkManagerDbusUtils.c:
17999         * src/NetworkManagerDbusUtils.h:
18000         * src/nm-dbus-device.c:
18001         * src/nm-dbus-nm.c:
18002         * test/nmtest.c: support dbus "object path" type
18003
18004         * configure.in: 
18005         * Makefile.am:
18006         * info-daemon/Makefile.am:
18007         * libnm_glib/Makefile.am:
18008         * panel-applet/Makefile.am:
18009         * dispatcher-daemon/Makefile.am
18010         * src/Makefile.am:
18011         * test/Makefile.am:
18012         * utils/Makefile.am: 
18013         * utils/nm-utils.c: 
18014         * utils/nm-utils.h: new utils static lib
18015
18016 2005-03-07  Ray Strode  <rstrode@redhat.com>
18017
18018         * info-daemon/NetworkManagerInfoDbus.c:
18019         * libnm_glib/libnm_glib.c:
18020         * panel-applet/NMWirelessAppletDbus.c:
18021         * src/NetworkManager.c:
18022         * src/NetworkManagerDbus.c:
18023         * src/NetworkManagerDevice.c:
18024         * src/NetworkManagerUtils.c:
18025         * src/nm-dbus-device.c:
18026         * src/nm-dbus-dhcp.c:
18027         * src/nm-dbus-net.c:
18028         * src/nm-dbus-nm.c:
18029         * test/nminfotest.c:
18030         First (unfinished, unworking) cut at porting to dbus 0.30 api.
18031
18032 2005-03-04  Dan Williams  <dcbw@redhat.com>
18033
18034         * configure.in
18035                 - Mark HEAD as 0.4
18036
18037 2005-03-04  Dan Williams  <dcbw@redhat.com>
18038
18039         Patch from Peter Jones:
18040         - Make stuff work with gcc 4.0
18041
18042 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
18043
18044         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18045
18046 2005-02-27  Jim Huang  <jserv@kaffe.org>
18047
18048         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18049
18050 2005-02-27  Dan Williams  <dcbw@redhat.com>
18051
18052         Patch from Bill Moss:
18053         * panel-applet/NMWirelessAppletDbus.c
18054                 - Make sure strength for current access point is up-to-date when we
18055                         update the gui data model
18056
18057 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18058
18059         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18060
18061 2005-02-27  Dan Williams  <dcbw@redhat.com>
18062
18063         * src/backends/NetworkManagerRedHat.c
18064                 - (nm_system_init): Kill any dhclient processes lying around as well
18065                         as stopping 'nifd' if its already been started.  NetworkManager
18066                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18067
18068 2005-02-27  Dan Williams  <dcbw@redhat.com>
18069
18070         * panel-applet/NMWirelessApplet.c
18071                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18072                         dbus data model, not the GUI data model twice.
18073
18074 2005-02-27  Dan Williams  <dcbw@redhat.com>
18075
18076         * panel-applet/NMWirelessApplet.[ch]
18077           panel-applet/NMWirelessAppletDbus.[ch]
18078                 - Move to incremental network updates.  Instead of blowing away our list
18079                         of devices every time we get a signal from NetworkManager, we now
18080                         incrementally add/remove networks when NetworkManager notifies us that
18081                         a new network has appeared or disappered.  Strength updates now happen
18082                         on-the-fly for each access point as well.  There are now two copies of
18083                         data from NetworkManager: one for the dbus side, and one for the gui side.
18084                         When the dbus side data is modified, it is copied over to the gui side
18085                         so we don't have to hold the data_mutex for long periods of time (and
18086                         therefore block animation of the applet's icon).
18087                 - Clean up some memleaks too
18088
18089         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18090                 - Minor code beautification
18091
18092         * src/NetworkManagerAPList.c
18093                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18094                         completely new and whether or not an existing one's strength was updated.
18095                         Try to fix multiple access points and signal strength by using the highest
18096                         signal strength in each scan for any given ESSID.
18097
18098         * src/NetworkManagerDbus.[ch]
18099                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18100                         wireless networks; now we have only WirelessNetworkUpdate which includes
18101                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18102                 - Kill usage of DbusMessageIter
18103
18104         * src/NetworkManagerDevice.c
18105                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18106                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18107                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18108                         currently associated with from the network list.
18109                 - Update for new signals during scan, send out Appeared, Disappeared, or
18110                         StrengthChanged when necessary.
18111
18112 2005-02-25  Dan Williams  <dcbw@redhat.com>
18113
18114         * README
18115                 - Line break the README
18116
18117 2005-02-25  Dan Williams  <dcbw@redhat.com>
18118
18119         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18120                 - Remove usage of gtk_window_set_default_size()
18121
18122         * panel-applet/essid.glade
18123                 - Stick default size here
18124                 - Add in random crap that current glade wants to add in now
18125
18126 2005-02-25  Dan Williams  <dcbw@redhat.com>
18127
18128         * src/backends/NetworkManagerRedHat.c
18129                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18130                         and that we actually tell nscd to reload the hosts cache when it changes
18131
18132 2005-02-25  Dan Williams  <dcbw@redhat.com>
18133
18134         * info-daemon/NetworkManagerInfoDbus.c
18135                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18136
18137         * test/nminfotest.c
18138                 - Whack usage of DbusMessageIter
18139                 - Clean up DbusError and DbusMessage handling and freeing
18140                 - Remove unused unregister handler
18141
18142         * test/nmtest.c
18143                 - Whack usage of DbusMessageIter
18144
18145         * test/nmtestdevices.c
18146                 - Whack usage of DbusMessageIter
18147
18148 2005-02-25  Dan Williams  <dcbw@redhat.com>
18149
18150         * NetworkManager.h
18151                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18152                         signal
18153
18154 2005-02-25  Dan Williams  <dcbw@redhat.com>
18155
18156         * named/nm-named-manager.c
18157                 - Ensure that pid and watch variables for child named process get cleared out
18158                         when the child goes away.
18159
18160 2005-02-22  Dan Williams  <dcbw@redhat.com>
18161
18162         * src/NetworkManagerPolicy.c
18163                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18164                         and NULL out data->active_device so that we have to choose another one.
18165                         This may make NetworkManager keep attempting to connect to a wired network
18166                         if it fails, but if it keeps failing the wired network has more problems than
18167                         just NetworkManager.
18168
18169         * src/backends/NetworkManagerRedHat.c
18170                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18171                         is already running
18172
18173         * named/nm-named-manager.c
18174                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18175                         named so that the distro can flush whatever name service caching
18176                         daemon it uses
18177
18178 2005-02-21  Dan Williams  <dcbw@redhat.com>
18179
18180         * src/NetworkManagerDHCP.[ch]
18181                 - (nm_device_dhcp_remove_timeouts): new function
18182
18183         * src/NetworkManagerDevice.c
18184                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18185                         remove the DHCP timeouts.
18186
18187 2005-02-21  Dan Williams  <dcbw@redhat.com>
18188
18189         * panel-applet/NMWirelessApplet.[ch]
18190           panel-applet/menu-info.[ch]
18191                 - Give the panel applet some major love: menu items are no longer
18192                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18193                         This allows the applet to actually reflect theme changes correctly,
18194                         since themeing of subclassed items in GTK _sucks_.
18195
18196 2005-02-18  Dan Williams  <dcbw@redhat.com>
18197
18198         * libnm_glib/libnm_glib.[ch]
18199           test/libnm_glib_test.c
18200                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18201                         and its data, and doesn't have to free the callback data anymore
18202
18203 2005-02-18  Dan Williams  <dcbw@redhat.com>
18204
18205         * panel-applet/NMWirelessApplet.c
18206                 - Revert 2005-02-18 William Jon McCann fix for standard
18207                         copyright string until it passes 'make distcheck'.
18208                         With standard copyright string, xgettext complains
18209                         about "Non-ASCII string at ...".
18210
18211 2005-02-18  Dan Williams  <dcbw@redhat.com>
18212
18213         * panel-applet/essid.glade
18214           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18215                 - Correct spelling of "adaptor"->"adapter"
18216
18217 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18218
18219         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18220         (nmwa_about_cb): Use standard copyright string.  Update comment
18221         text to reflect that it is a notification area applet.  Remove
18222         leading newline in authors list.
18223         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18224         instead of on parent menu item activation.  Fixes #167550.
18225
18226 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18227
18228         * panel-applet/essid.glade: Capitalize items as per HIG.
18229           Fixes #167632
18230
18231 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18232
18233         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18234         files for GTK 2.4 or lower, since now public in GTK 2.6.
18235
18236         * panel-applet/essid.glade: Don't specify window size.
18237         
18238 2005-02-17  Dan Williams  <dcbw@redhat.com>
18239
18240         Caught by Bill Moss:
18241         * dhcpcd/client.c
18242                 - Time remaining for DHCP transaction calculation was incorrectly
18243                         inside a #ifdef DEBUG
18244
18245 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18246
18247         * configure.in: Added fr (French) to ALL_LINGUAS.
18248
18249 2005-02-14  Dan Williams  <dcbw@redhat.com>
18250
18251         * src/NetworkManagerDHCP.c
18252                 - (set_domain_searches): Fix free of invalid pointer
18253
18254 2005-02-14  Dan Williams  <dcbw@redhat.com>
18255
18256         Patch from Peter Jones:
18257         * dhcpcd/client.c
18258                 - Ensure we return RET_DHCP_CEASED everywhere we should
18259         * dhcpcd/udpipgen.c
18260                 - Use faster TOS for IP packets
18261                 - Don't set ip_id since we're UDP
18262
18263         Patch from Tomislav Vujec:
18264         * src/nm-dbus-dhcp.c
18265           test/nm-dhcp-opt-test.c
18266                 - Clean up warnings to enable cvs tree compilation.
18267
18268 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18269
18270         * configure.in
18271           po/hr.po
18272                 - Add the Croatian locale.
18273
18274 2005-02-14  Colin Walters  <walters@verbum.org>
18275
18276         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18277         list of domains to search.
18278         
18279         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18280
18281 2005-02-13  Dan Williams  <dcbw@redhat.com>
18282
18283         * dhcpcd/client.c
18284                 - Debug output cleanups of DHCP option printing and parsing.
18285
18286 2005-02-13  Dan Williams  <dcbw@redhat.com>
18287
18288         Patch from Dan Reed:  DHCP options D-BUS API
18289                 Exposes the DHCP options that a device receives to clients over D-BUS.
18290
18291         * configure.in
18292                 - A few cleanups
18293
18294         * dhcpcd/client.h
18295                 - Correct names, option length, and types for DHCP options
18296
18297         * dhcpcd/dhcpcd.[ch]
18298                 - Clarify function names that access DHCP options & data
18299
18300         * src/NetworkManagerDHCP.c
18301                 - Use new DHCP data access functions
18302
18303         * src/NetworkManagerDbus.c
18304                 - Message handler for DHCP functions
18305
18306         * src/nm-dbus-dhcp.[ch] (new)
18307                 - DHCP dbus methods
18308
18309         * test/nm-dhcp-opt-test.c
18310                 - Test DHCP D-BUS API and return all present DHCP options
18311
18312 2005-02-12  Dan Williams  <dcbw@redhat.com>
18313
18314         * test/Makefile.am
18315           test/nmclienttest.c
18316           test/nmtest.c
18317                 - Move nmclienttest.c -> nmtest.c
18318
18319 2005-02-12  Dan Williams  <dcbw@redhat.com>
18320
18321         * dhcpcd/buildmsg.c
18322                 - Pad DHCP packets until they are at least 300 bytes in size.
18323
18324 2005-02-11  Dan Williams  <dcbw@redhat.com>
18325
18326         * dhcpcd/client.c
18327                 - (dhcp_init): only print out client ID and class ID if they are specified
18328
18329         * src/NetworkManagerDbus.[ch]
18330           src/nm-dbus-nm.[ch]
18331           src/nm-dbus-device.[ch]
18332           src/nm-dbus-net.[ch]
18333                 - Move NM, Device, and Net functions to separate files and use the
18334                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18335                         method dispatching
18336
18337         * src/NetworkManagerDbusUtils.c
18338                 - Add new validate_method called before each dispatch (if present)
18339                         that can validate the method call
18340
18341         * src/NetworkManagerWireless.c
18342                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18343                         levels never to be evaluated
18344
18345         Patch from j@bootlab.org
18346         * src/NetworkManagerDevice.c
18347                 - Add typedef for "u64"
18348
18349         * src/backends/NetworkManagerDebian.c
18350                 - Copy in Dave Woodhouse's fixes for IPv6
18351
18352 2005-02-11  Dan Williams  <dcbw@redhat.com>
18353
18354         Patch from Dave Woodhouse for IPv6:
18355         * src/NetworkManagerUtils.c
18356                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18357                         and multicast addresses
18358
18359         * src/NetworkManagerDevice.c
18360                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18361                         after bringing up a card.
18362
18363 2005-02-10  Dan Williams  <dcbw@redhat.com>
18364
18365         Patch from Dave Woodhouse:
18366         * src/NetworkManagerSystem.h
18367           src/backends/NetworkManagerDebian.c
18368           src/backends/NetworkManagerGentoo.c
18369           src/backends/NetworkManagerSlackware.c
18370                 - New nm_system_device_add_ip6_link_address() function to add link-local
18371                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18372
18373         * src/backends/NetworkManagerRedHat.c
18374                 - (nm_system_device_add_ip6_link_address): implement
18375                 - (nm_system_device_flush_addresses): revert to previous behavior of
18376                         flushing all addresses
18377
18378 2005-02-10  Dan Williams  <dcbw@redhat.com>
18379
18380         Patch from Tom Parker:
18381         * src/NetworkManagerDevice.c
18382                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18383                         mii.h headers are broken, and instead use our own typedefs
18384
18385 2005-02-10  Dan Williams  <dcbw@redhat.com>
18386
18387         * dhcpcd/buildmsg.c
18388                 - (fill_host_and_class_id): only fill in client and class IDs if
18389                         they are set by callers.
18390
18391         * dhcpcd/client.c
18392                 - (class_id_setup): don't autogenerate a class ID, only use one
18393                         we're given, if any.
18394                 - (client_id_setup): don't autogenerate a client ID, only use one
18395                         we're given, if any.
18396
18397         * dhcpcd/dhcpcd.c
18398                 - (dhcp_interface_init): ensure that client options are correctly
18399                         NULL terminated
18400
18401         * src/NetworkManagerDHCP.c
18402                 - (nm_device_dhcp_request): pass hostname to dhcp library
18403
18404 2005-02-10  Dan Williams  <dcbw@redhat.com>
18405
18406         * dhcpcd/client.c
18407                 - #rh147661# Don't send kernel version in DHCP requests
18408
18409         * src/NetworkManagerSystem.h
18410           src/backends/NetworkManagerDebian.c
18411           src/backends/NetworkManagerGentoo.c
18412           src/backends/NetworkManagerRedHat.c
18413           src/backends/NetworkManagerSlackware.c
18414                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18415                         functions, they are no longer used anyway
18416
18417         * src/backends/NetworkManagerRedHat.c
18418                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18419                         addresses in an attempt to keep IPv6 local-scope addresses around
18420
18421 2005-02-10  Dan Williams  <dcbw@redhat.com>
18422
18423         * src/NetworkManager.c
18424                 - (nm_create_device_and_add_to_list): change the add message slightly
18425
18426         * src/NetworkManagerUtils.c
18427                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18428                         Return driver name to calling function
18429                 - (nm_get_driver_support_level): print out the driver a device is using
18430                         during the support check
18431
18432         Patch from Dave Woodhouse:
18433         * dhcpcd/udpipgen.c
18434                 - (in_cksum): copy last byte of odd-sized packets into a
18435                         'u_short' rather than a 'u_char', should fix wrong checksums
18436                         on big-endian platforms
18437
18438 2005-02-09  Dan Williams  <dcbw@redhat.com>
18439
18440         * Clean up usage of GSList objects and looping through their members
18441         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18442                 now.
18443         * Fix problem where even if scanning was turned off, card would still
18444                 cycle through frequencies.
18445
18446 2005-02-08  Dan Williams  <dcbw@redhat.com>
18447
18448         * panel-applet/NMWirelessApplet.c
18449                 - Fix for gtk 2.4
18450
18451 2005-02-08  Dan Williams  <dcbw@redhat.com>
18452
18453         Patch from Bill Moss
18454         * panel-applet/NMWirelessApplet.c
18455                 - Restore correct ESSID in tooltips
18456
18457 2005-02-07  Dan Williams  <dcbw@redhat.com>
18458
18459         * panel-applet/NMWirelessApplet.[ch]
18460                 - Add a context menu that contains:
18461                         Pause/Resume Wireless Scanning
18462                         Stop/Start All Wireless Devices
18463                         About...
18464                 - Grab active device strength off active device,
18465                         not its network
18466
18467         * panel-applet/NMWirelessAppletDbus.[ch]
18468                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18469                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18470                 - Update active device strength every 2 seconds, not every 1 second
18471
18472         * panel-applet/menu-info.c
18473                 - Only disable wired devices in the menu when they support carrier detection,
18474                         and don't currently have a link.  Non-carrier-detect devices will always
18475                         remain choosable
18476
18477         * src/Makefile.am
18478           src/NetworkManagerDbusUtils.[ch]
18479                 - Add new new dbus utils sources
18480
18481         * src/NetworkManager.c
18482                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18483                         with the boolean parameter
18484                 - Set scanning_enabled & wireless_enabled to TRUE
18485
18486         * src/NetworkManagerDbus.c
18487                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18488                 - Implement scanning & wireless enable/disable calls
18489                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18490
18491         * src/NetworkManagerDevice.c
18492                 - New link detection stuff again...
18493                         o  Create device's mainloop earlier (but don't run it earlier)
18494                         o  Hook up new carrier-detect support stuff
18495                         o  Add in the ethtool & mii support detection code
18496                 - Don't scan if scanning is disabled
18497
18498         * src/NetworkManagerPolicy.c
18499                 - Never automatically choose a device that doesn't support carrier detection
18500                 - Don't automatically choose a wireless device if wireless is disabled
18501
18502 2005-02-07  Dan Williams  <dcbw@redhat.com>
18503
18504         * libnm_glib/libnm_glib.c
18505                 - Small cleanup in element list iteration
18506
18507 2005-02-07  Dan Williams  <dcbw@redhat.com>
18508
18509         * src/NetworkManagerWireless.c
18510                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18511                         to be in line with the WEXT quality specification
18512
18513 2005-02-02  Dan Williams  <dcbw@redhat.com>
18514
18515         Patch from Nathan Fredrickson <nathan@silverorange.com>
18516         * Fix up compile for deprecation of libgnomeui
18517                 - Switch to <glib/gi18n.h> from <libintl.h>
18518                 - Remove <libgnomeui/libgnomeui.h> includes
18519                 - Use gtk_window_set_default_icon_from_file() rather than
18520                         gnome_window_set_default_icon_from_file()
18521
18522         * named/nm-named-manager.c
18523                 - (generate_named_conf): Fix return-nothing in non-void
18524                         function
18525
18526 2005-02-02  Dan Williams  <dcbw@redhat.com>
18527
18528         * Clean up unused variables and the like
18529
18530 2005-02-02  Dan Williams  <dcbw@redhat.com>
18531
18532         * src/NetworkManagerAPList.c
18533                 - (nm_ap_list_merge_scanned_ap): merge strength too
18534
18535         * src/NetworkManagerUtils.c
18536                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18537                         of locking issues by printing out prettier information than g_mutex_lock
18538                 - Print out names of mutexes registered with nm_register_mutex_desc()
18539                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18540                         us to seemingly block here for too long
18541
18542         * src/NetworkManager.c
18543           src/NetworkManagerAPList.c
18544           src/NetworkManagerDevice.c
18545                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18546                         so we get better debug information printed
18547
18548         * src/NetworkManagerDbus.c
18549                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18550                         since it sometimes has locking side effects
18551                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18552                         from 10s
18553                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18554                         we don't need a switch.  This gets called often enough that we can't block
18555                         until the scan mutex is acquired, because we'll block on device activation
18556                         and a few other things, which hangs main thread for too long.
18557
18558         * src/NetworkManagerPolicy.c
18559                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18560                         nm_device_need_ap_switch() will be called               
18561
18562 2005-02-02  Dan Williams  <dcbw@redhat.com>
18563
18564         * panel-applet/NMWirelessApplet.c
18565                 - Display name of wireless network we are connecting to or connected to
18566                         in the tooltip of the applet
18567
18568 2005-02-02  Dan Williams  <dcbw@redhat.com>
18569
18570         * src/NetworkManagerDHCP.c
18571                 - Hopefully fix double-default-route problem by cleaning up the default
18572                         route added by DHCP code right before the DHCP transaction begins
18573
18574 2005-02-02  Dan Williams  <dcbw@redhat.com>
18575
18576         * named/nm-named-manager.c
18577                 - Write out valid resolv.conf when we exit
18578
18579 2005-02-01  Dan Williams  <dcbw@redhat.com>
18580
18581         Patch from Colin Walters:
18582         * named/nm-named-manager.c
18583                 - Make multi-domain search options work
18584
18585 2005-01-31  Dan Williams  <dcbw@redhat.com>
18586
18587         * info-daemon/NetworkManagerInfoDbus.c
18588                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18589
18590         * src/NetworkManagerDevice.c
18591                 - (nm_device_new): Don't store the entire range struct, use only what we need
18592                         (which is currently avg_quality, max_quality, and frequencies).  Also
18593                         zero device structure when we've free'd it to maybe expose errors down
18594                         the line.
18595                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18596                         quality data from the card since quality will be useless during a scan.
18597                         Call updated wireless qual-to-percent function with values stored in
18598                         nm_device_new() earlier.
18599                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18600                         nm_device_get_bad_crypt_packets())
18601                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18602                         nm_device_new()
18603                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18604                         list if available.  Problem was this: when the WEP key is wrong, NM will
18605                         try OS then SK modes, and then get stuck in SK mode after that.  This
18606                         should reset it.
18607                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18608                         function
18609
18610         * src/NetworkManagerWireless.c
18611                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18612                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18613                         if that's all present, otherwise fall back to signal-to-noise ratios.
18614
18615 2005-01-29  Dan Williams  <dcbw@redhat.com>
18616
18617         * initscript/RedHat/NetworkManager
18618                 - Don't spit out sysctl stuff to console
18619
18620         * libnm_glib/libnm_glib.c
18621                 - (libnm_glib_init): call dbus_g_thread_init()
18622
18623         * panel-applet/NMWirelessAppletDbus.c
18624                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18625
18626         * src/NetworkManager.c
18627                 - (main): call dbus_g_thread_init()
18628
18629         * src/NetworkManagerAPList.c
18630                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18631                         so we can actually see what's there in a normal syslog
18632
18633         * src/NetworkManagerDevice.c
18634                 - (nm_device_activate_wireless): print out the "waiting for access point"
18635                         message only once, then say what access point we actually got after
18636                         the wait.
18637                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18638                         function, wait until the scan is done.  Scans may change the ESSID of
18639                         the card, making this function think we need to switch access points
18640                 - (nm_device_wireless_process_scan_results): for artificial access points
18641                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18642                         prevents collisions with the scanning code, which may change the card's
18643                         ESSID and cause the access point to get dropped from the device's AP
18644                         list.  Also increase the keep-around time to 2m from 60s since the max
18645                         scan interval could be 60s in some cases.
18646
18647         * src/NetworkManagerPolicy.c
18648                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18649                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18650                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18651                         between NM and NMI.
18652
18653 2005-01-27  Dan Williams  <dcbw@redhat.com>
18654
18655         * info-daemon/NetworkManagerInfoDbus.c
18656                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18657                         GConf, make a minimal entry for it (essid & timestamp)
18658
18659         * src/NetworkManagerAPList.c
18660                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18661                         NetworkManagerInfo isn't running
18662
18663         * src/NetworkManagerDbus.[ch]
18664                 - (nm_dbus_nmi_is_running): new function
18665
18666         * src/NetworkManagerDevice.c
18667                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18668                         address to garbage.
18669
18670         * src/NetworkManagerPolicy.c
18671                 - (nm_policy_activation_finish): On successful activation, make sure
18672                         the "best" AP has a MAC address, and don't tell NMI to add the
18673                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18674                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18675                         access point after refreshing our allowed list if it doesn't already
18676                         have a "best" access point.
18677
18678 2005-01-25  Dan Williams  <dcbw@redhat.com>
18679
18680         * panel-applet/NMWirelessAppletDbus.c
18681                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18682                         so we check for NM_DBUS_SERVICE rather than not for it
18683
18684         * libnm_glib/libnm_glib.c
18685                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18686                         ServiceOwnerChanged signal
18687
18688 2005-01-25  Dan Williams  <dcbw@redhat.com>
18689
18690         * configure.in
18691                 - Check DBUS version in configure, and set the C macros
18692                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18693
18694         * info-daemon/NetworkManagerInfoDbus.c
18695                 - Remove #if 0-d section of code that quit NMI if NM went away.
18696
18697         * panel-applet/NMWirelessAppletDbus.c
18698                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18699
18700         * src/NetworkManager.c
18701           src/NetworkManagerMain.h
18702           src/NetworkManagerDbus.c
18703                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18704                 - Make updating of our Allowed Wireless Network lists from NMI
18705                         an idle function in the main thread now, with a high priority.
18706
18707 2005-01-24  Dan Williams  <dcbw@redhat.com>
18708
18709         * panel-applet/gtkcellview.[ch]
18710           panel-applet/menu-info.c
18711                 - Fix GTK version checks to be <= rather than <
18712
18713         * test/Makefile.am
18714                 - Include the libtool archive of libnm_glib rather than
18715                         trying to pull in the .so
18716
18717 2005-01-24  Dan Williams  <dcbw@redhat.com>
18718
18719         * src/NetworkManagerDevice.c
18720           src/NetworkManagerDevicePrivate.h
18721                 - Block nm_device_new() until our device's worker thread has had a
18722                         chance to start up.  Fixes a race between main thread and worker
18723                         thread starting that caused activation requests to get lost.
18724
18725 2005-01-24  Dan Williams  <dcbw@redhat.com>
18726
18727         * initscript/RedHat/NetworkManager
18728                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18729                         to add the NM startup script at priority 50, which was
18730                         way too early
18731
18732 2005-01-24  Colin Walters  <walters@redhat.com>
18733
18734         * named/named.conf: Use any port for query source instead of
18735         restricting to port 53.
18736
18737 2005-01-24  Dan Williams  <dcbw@redhat.com>
18738
18739         * initscript/RedHat/NetworkManager
18740                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18741                         to add the NM startup script at priority 50, which was
18742                         way too early
18743
18744 2005-01-24  Dan Williams  <dcbw@redhat.com>
18745
18746         Patch from Tom Parker <palfrey@tevp.net>
18747         * Fix up compile warnings & errors in the wireless applet
18748
18749 2005-01-24  Dan Williams  <dcbw@redhat.com>
18750
18751         * panel-applet/NMWirelessApplet.c
18752                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18753
18754 2005-01-24  Dan Williams  <dcbw@redhat.com>
18755
18756         * panel-applet/gtkcellview.[ch]
18757                 - Only compile these files for GTK 2.4 or lower, since 
18758                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18759                         when choosing "Other Wireless Networks" from the panel
18760                         applet menu
18761
18762 2005-01-21  Dan Williams  <dcbw@redhat.com>
18763
18764         * src/NetworkManager.c
18765                 - Daemonize earlier so that glib doesn't get confused (?)
18766
18767 2005-01-21  Dan Williams  <dcbw@redhat.com>
18768
18769         * panel-applet/NMWirelessApplet.[ch]
18770           panel-applet/NMWirelessAppletDbus.c
18771           panel-applet/menu-info.c
18772           src/NetworkManagerDevice.c
18773                 - Disable wired devices in the menu when they have no link.
18774
18775 2005-01-21  Dan Williams  <dcbw@redhat.com>
18776
18777         * Cache last-known-good wireless authentication method in
18778                 NetworkManagerInfo, and use that method first during
18779                 wireless device activation.  Should speed up devices that
18780                 need Shared Key authentication method since Open System is
18781                 now the default.
18782
18783         * Remove the hack to not do full activation on wired connections
18784                 that are active when we launch, it causes too many problems
18785                 with name resolution and was a hack in the first place.
18786
18787         * Re-work wireless device activation again somewhat to have a
18788                 clearer chain of events and to use last-known-good
18789                 authentication method of the access point.  Also provide
18790                 better status throughout activation to ensure the applet
18791                 can tell the user exactly what's going on.
18792
18793         * Remove the "find wireless network" code and now simply attempt
18794                 to activate with that access point.  This reduces the delay
18795                 between selecting "Other wireless Network" and actually
18796                 connecting to that network.
18797
18798         * Correctly stop the device's worker thread when its removed.
18799
18800 2005-01-21  Dan Williams  <dcbw@redhat.com>
18801
18802         * dhcpcd/client.c
18803                 - Clean up some of the debug messages
18804
18805 2005-01-21  Dan Williams  <dcbw@redhat.com>
18806
18807         * Add new icons, more frames of animation
18808         * Remove some hacks to get the panel applet to display correct
18809                 status, an NM update will soon follow that will fix the
18810                 real issue.
18811
18812 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18813
18814         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18815         the first include for working i18n. Also, don't include it in .h files
18816         * panel-applet/NMWirelessApplet.h: Same
18817         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18818         * panel-applet/menu-info.c: Same
18819
18820 2005-01-18  Dan Williams <dcbw@redhat.com>
18821
18822         * dhcpcd/client.c
18823                 - Remove some debug messages
18824                 - Wrap others in #ifdef DEBUG/#endif
18825
18826         * src/NetworkManager.c
18827                 - Remove some debug messages
18828                 - Clarify some debug messages
18829                 - Remove code related to old single-thread wireless scanning
18830
18831         * src/NetworkManagerAP.[ch]
18832                 - New AP property "last_seen" to track how recently an AP was
18833                         found in a scan
18834                 - Start using 'const' more in function arguments
18835
18836         * src/NetworkManagerAPList.[ch]
18837                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18838                         of an AP found in an AP list from a source AP, or if not found
18839                         in the list add the source AP
18840                 - (nm_ap_list_combine): remove, no longer needed
18841
18842         * src/NetworkManagerDevice.c
18843                 - Each device now has a "worker" thread from start to end of its life.
18844                         Scanning for wireless devices now happens in that thread,
18845                         not in a single "wireless scanning thread" for all devices as
18846                         previously.  Activation consists of adding an idle handler to the
18847                         thread's main loop/context, which gets run at the next available
18848                         opportunity.
18849                 - Wireless scanning is also simplified, there is now only one list of
18850                         access points per wireless device, and APs older than 60s are
18851                         removed from the list.  Previously, we kept results for the last
18852                         3 scans and merged whole lists, which was complicated.
18853                 - Cleaned up activation debug messages.
18854                 - Wireless activation and access-point search routines now use Open System
18855                         authentication before trying Shared Key.
18856                 - Removed some code in nm_device_update_best_ap() that could cause cards
18857                         to loose their link to the access point.
18858                 - Scanning now uses a backoff algorithm, where the inverval becomes
18859                         progressively longer between scans when the list of scanned access
18860                         points doesn't change.  A change will revert to the shortest scan
18861                         interval (20s).
18862
18863         * src/NetworkManagerWireless.[ch]
18864                 - Remove code related to old single-thread wireless scanning
18865
18866 2005-01-18  Colin Walters  <walters@redhat.com>
18867
18868         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18869         of older nameservers.
18870
18871 2005-01-18  Colin Walters  <walters@redhat.com>
18872
18873         * named/nm-named-manager.c (generate_named_conf): Many fixes
18874         to config file generation.
18875         (safer_kill): Remove, was too much trouble for little gain.
18876         (nm_named_manager_start): Run named as NM_NAMED_USER.
18877
18878         * configure.in: Add option --with-named-user.
18879
18880 2005-01-14  Colin Walters  <walters@redhat.com>
18881
18882         Patch from ed@catmur.co.uk (Ed Catmur)
18883
18884         * named/nm-named-manager.c: Add "context" property.
18885         Use it to add child watch source in specific GMainContext.
18886
18887         * src/NetworkManager.c (nm_data_new): Initialize
18888         named with correct main context.  Start named only
18889         after forking.
18890
18891 2005-01-14  Colin Walters  <walters@redhat.com>
18892
18893         * named/nm-named-manager.c (generate_named_conf): Write config
18894         and pid files into NM_NAMED_DATA_DIR; this allows things to
18895         work better with FC3 named SELinux policy.  Also fix up silly
18896         format error.
18897
18898         * configure.in: Add --with-named-dir option.
18899
18900 2005-01-14  Colin Walters  <walters@redhat.com>
18901
18902         * configure.in: Make named support require passing --with-named.
18903
18904         * named/nm-named-manager.c: Support writing resolv.conf directly
18905         without running named.
18906
18907 2005-01-13  Dan Williams <dcbw@redhat.com>
18908
18909         * named/nm-named-manager.c
18910                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18911
18912         * src/NetworkManagerDevice.c
18913                 - Rework wireless link detection code to be more reliable
18914
18915 2005-01-12  Dan Williams <dcbw@redhat.com>
18916
18917         * initscripts/RedHat/NetworkManager
18918                 - Change initial level to "-" rather than "345" so that
18919                         we don't activate ourselves by default on install
18920
18921 2005-01-12  Dan Williams <dcbw@redhat.com>
18922
18923         * libnm_glib/
18924                 - Client library for applications using glib
18925
18926         * configure.in
18927           various Makefiles
18928                 - Split NM_CFLAGS and NM_LIBS into separate variables
18929                         like DBUS_*, HAL_* and GLIB_*
18930
18931         * src/NetworkManager.c
18932           src/NetworkManagerMain.h
18933                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18934                         broadcast a status changed signal over DBUS from the main thread.
18935                         Still unused anywhere for the moment.
18936
18937         Patch from j@bootlab.org
18938         * panel_applet/NMWirelessAppletDbus.c
18939           src/NetworkManagerDbus.c
18940                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18941                         for the "getMode" method call
18942
18943 2005-01-10  Dan Williams <dcbw@redhat.com>
18944
18945         * src/NetworkManagerDevice.c
18946                 - Minor fixups & corrections to "auto" frequency mode, make it
18947                         less chatty with syslog
18948
18949 2005-01-10  Dan Williams <dcbw@redhat.com>
18950
18951         * src/NetworkManagerDevice.c
18952                 - Implement "auto" frequency/channel support, since cards like Atheros
18953                         can't use other frequencies at all when you've told it to use a
18954                         specific one, even for scanning.
18955                 - Grab the scan mutex around places where we can't tolerate wireless
18956                         settings changing underneath us, like nm_device_wireless_network_exists()
18957                         and nm_device_activate_wireless()
18958
18959         * src/NetworkManagerWireless.c
18960                 - Back scan interval off to 20s instead of 14s
18961
18962 2005-01-09  Dan Williams <dcbw@redhat.com>
18963
18964         * src/NetworkManagerDevice.c
18965                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18966                         already set.  Stops some drivers like Atmel from continually
18967                         reloading the firmware, which they do upon every configuration
18968                         change.
18969
18970 2005-01-09  Dan Williams <dcbw@redhat.com>
18971
18972         * dhcpcd/client.c
18973                 - Use correct timeout value
18974
18975         * info-daemon/NetworkManagerInfoDbus.c
18976           src/NetworkManagerDbus.c
18977                 - Consolidate communication between NM and NMI by doing only 1 dbus
18978                         method call to get Wireless Network info from NMI instead of 6
18979
18980         * src/NetworkManager.c
18981                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18982                         when we didn't have an AP to use, we'd wait for one forever without
18983                         quitting
18984
18985         * src/NetworkManagerDevice.c
18986                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18987                         activation, dhcp might not have started yet but we don't quit activation
18988                         before starting it, so the quit signal gets lost
18989
18990 2005-01-07  Dan Williams <dcbw@redhat.com>
18991
18992         * dhcpcd/client.c
18993                 - Rework the DHCP client code to be much less chatty when
18994                         it receives non-DHCP UDP packets during the DHCP run
18995                         (reported by and preliminary patches from Bill Moss)
18996
18997         * Move wireless scanning to a separate thread.  This thread forwards the
18998                 results to the main thread when done where they are integrated into
18999                 the device's access point lists.  This keeps the main thread (which
19000                 does all the DBUS communication) from being blocked for long periods
19001                 of time by wireless scanning.
19002
19003         * Make state modification an idle routine in the main loop, and trigger
19004                 state changes rather than polling for them.
19005
19006         * src/backends/NetworkManagerGentoo.c
19007                 - Fix up invalid C90 code (reported by Christoph Ruessler)
19008
19009         * src/NetworkManagerDevice.c
19010                 - Revert IPv6 patch for wired devices from 2004-12-22 for
19011                         router advertisements, causing problems and infinite loop
19012                         during "best" device determination due to link going up/down
19013                         (reported by Bill Moss)
19014
19015         Apply patch from Peter Jones
19016         * src/NetworkManagerDevice.c
19017                 - Shortcut for link-checking for ipw2x00 cards
19018                 - Split out association check into separate routine
19019
19020 2004-01-05  Colin Walters  <walters@redhat.com>
19021
19022         * named/named.conf: Add PID_FILE.
19023
19024         * named/nm-named-manager.c: Always generate a pid
19025         file, since older BIND versions don't support
19026         "pid-file none".
19027
19028 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
19029
19030         * configure.in (ALL_LINGUAS): Added ja (Japanese).
19031
19032 2004-12-22  Dan Williams <dcbw@redhat.com>
19033
19034         * src/NetworkManagerDevice.c
19035                 - Silently fail when setting bitrate doesn't work
19036
19037
19038         Patches from j@bootlab.org:
19039         * src/backends/NetworkManagerDebian
19040                 - Update backend to match functionality in RedHat backend
19041         * src/NetworkManagerDevice.c
19042                 - Take down then bring up wired devices after connection so
19043                 they send out ipv6 router advertisements
19044
19045 2004-12-21  Colin Walters  <walters@verbum.org>
19046
19047         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19048         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19049
19050 2004-12-21  Colin Walters  <walters@redhat.com>
19051
19052         * configure.in: Correct named detection.
19053
19054 2004-12-21  Colin Walters  <walters@redhat.com>
19055
19056         * src/NetworkManager.c (nm_data_new): Initialize named.
19057         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19058         the mainloop when these signals are received.
19059         (nm_data_free): Unref named.
19060         (sigterm_handler, sigterm_pipe_handler): New functions for
19061         exiting mainloop.
19062         
19063         * src/NetworkManagerMain.h (NMData): Add signal handling and
19064         nameserver bits.
19065
19066         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19067         unref.
19068
19069         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19070         set nameservers from DHCP response data.
19071         (set_domain_search): Set domain search from DHCP response.
19072         (nm_device_dhcp_configure): Invoke them.
19073
19074         * src/NetworkManagerSystem.c
19075         (nm_system_device_update_resolv_conf): Delete.  Deleting
19076         code is totally sweet.
19077
19078         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19079
19080         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19081         implements an object which controls a nameserver.  Currently
19082         uses bind 9.
19083
19084         * configure.in: Check for named.
19085
19086         * Makefile.am (SUBDIRS): Add named dir.
19087
19088         * named/named.conf: New template config file.
19089
19090 2004-12-20  Colin Walters  <walters@redhat.com>
19091
19092         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19093         instead of '='.
19094
19095 2004-12-17  Dan Williams  <dcbw@redhat.com>
19096
19097         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19098                 link-local addresses instead of doing DHCP.
19099
19100         * In the panel applet, there's a new "Create new Wireless Network..." item
19101
19102         * The panel applet also sticks around now even if NetworkManager dies, but
19103                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19104                 a bug, I'll fix that later.
19105
19106         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19107                 lookups after a switch rather than actually doing them.
19108
19109         * Clean up some of those warnings in nm_ap_list_* functions
19110
19111         * Delay between scans changed to 15s instead of 10s
19112
19113 2004-12-15  Dan Williams  <dcbw@redhat.com>
19114
19115         Patch from Tom Parker
19116         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19117                 address
19118
19119         * Longer pause after setting ESSID on cards that support a larger number
19120                 of channels to give the card time to find the right channel
19121
19122         * Add system hook to restart mDNSResponder (or whatever the local implementation
19123                 of Multicast DNS is) when we activate interfaces
19124
19125 2004-12-15  Dan Williams  <dcbw@redhat.com>
19126
19127         * Rework the DHCP code again to revert to sending full ethernet frames
19128                 rather then relying on the kernel to do the right thing with our
19129                 packets.
19130
19131 2004-12-06  Dan Williams  <dcbw@redhat.com>
19132
19133         * dhcpcd/client.c
19134                 - Fix some minor errors in dhcp_handle_transaction() that caused
19135                         unexpected early timeouts of DHCP transactions
19136
19137         * dhcpcd/client.h
19138                 - DHCP retransmit time from 4s -> 5s
19139
19140 2004-12-05  Dan Williams  <dcbw@redhat.com>
19141
19142         * Major rework of the DHCP code, taking some cues from pump.  We don't
19143                 write raw Ethernet packets anymore, which simplifies the code quite
19144                 a bit.  The new code should be more robust, not hang in recvfrom()
19145                 as much, and generally work better.  This also means that we need
19146                 to force HAL/dbus to use a created GMainContext rather than the
19147                 default context, since having the DHCP renew/rebind thread using
19148                 its own GMainContext seemed to give dbus a fit.  There is also more
19149                 debugging information printed from the DHCP loop to help with future
19150                 problems.
19151
19152         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19153                 assume that the default gateway should be the DHCP server.
19154
19155         Patch from Matthew Schick <matt oss-institute org>
19156         * src/backends/NetworkManagerGentoo.c
19157                 - Fix compilation error due to missing "ip4_broadcast"
19158
19159 2004-12-03  Dan Williams  <dcbw@redhat.com>
19160
19161         * initscript/Makefile.am
19162         * initscript/Debian/NetworkManager
19163         * initscript/Gentoo/NetworkManager
19164         * initscript/RedHat/NetworkManager
19165         * initscript/NMLaunchHelper.c
19166                 - Remove NMLaunchHelper, if you need to wait until the network
19167                         comes up, use the dead code from CVS.
19168
19169 2004-12-01  Colin Walters  <walters@redhat.com>
19170         
19171         * configure.in: Suck in gcc warnings code from Rhythmbox,
19172         but use fewer default flags, and in particular add -Wno-unused,
19173         since the codebase has a lot of unused variables.
19174
19175         * test/nmtestdevices.c (create_device): 
19176         * test/nminfotest.c (get_network_string_property) 
19177         (get_networks_of_type): 
19178         * test/nmclienttest.c (main): 
19179         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19180         * initscript/NMLaunchHelper.c (get_nm_status): 
19181         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19182         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19183         Fix declarations after statements.
19184
19185 2004-12-01  Colin Walters  <walters@redhat.com>
19186
19187         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19188         (nmi_dbus_get_vpn_userpass): New method.
19189         (nmi_dbus_nmi_message_handler): Invoke it.
19190
19191         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19192
19193         * info-daemon/NetworkManagerInfoVPN.h,
19194         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19195         to requests for VPN passwords.
19196
19197         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19198
19199 2004-12-01  Colin Walters  <walters@redhat.com>
19200
19201         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19202         includes.
19203
19204 2004-12-01  Colin Walters  <walters@redhat.com>
19205
19206         * panel-applet/NMWirelessAppletDbus.c
19207         (nmwa_dbus_update_active_device_strength): Fix missing
19208         return value.
19209
19210 2004-12-01  Colin Walters  <walters@redhat.com>
19211
19212         * panel-applet/NMWirelessApplet.c: Add missing include.
19213
19214 2004-12-01  Colin Walters  <walters@redhat.com>
19215
19216         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19217         Remove useless CLAMP (); the value is unsigned, and the case tests
19218         qual->qual < 100, so the value must always be between 0 and 100.
19219
19220 2004-12-01  Colin Walters  <walters@redhat.com>
19221
19222         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19223
19224 2004-11-22  Colin Walters  <walters@verbum.org>
19225
19226         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19227         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19228         which is essentially a noop since nscd caches hosts on disk too.
19229         
19230 2004-11-22  Colin Walters  <walters@redhat.com>
19231
19232         * src/Makefile.am (NetworkManager_SOURCES): Add
19233         NetworkManagerDevicePrivate.h.
19234
19235 2004-11-22  Dan Williams <dcbw@redhat.com>
19236
19237         * src/NetworkManagerDevicePrivate.h
19238                 - Split out the NMDevice struct to a different file so that stuff like
19239                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19240
19241         * dhcpcd/client.c
19242                 - fprintf->syslog
19243                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19244                         need to cancel the dhcp request during the send and recv
19245
19246         * dhcpcd/client.h
19247                 - Move the DHCP option enum to dhcpcd.h
19248
19249         * src/NetworkManagerDHCP.c
19250                 - Split out the actual IP/netmask/etc setting code
19251                 - New Renew/Rebind functions
19252                 - New timer setup function for renew/rebind operations
19253
19254         * src/NetworkManagerDevice.c
19255                 - For device activation, if we are using DHCP then keep the activation thread
19256                         alive until device deactivation.  We need to renew/rebind the DHCP address
19257                         after the T1 (renew) and T2 (rebind) times have expired.
19258                 - Increase some timeouts after bringing wireless cards up/down
19259
19260 2004-11-17  Dan Williams <dcbw@redhat.com>
19261
19262         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19263                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19264                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19265                 show known access points that don't broadcast their ESSID in the menus without
19266                 any user intervention whatsoever.
19267
19268         * info-daemon/NetworkManagerInfoDbus.c
19269                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19270                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19271
19272         * src/NetworkManagerAP.[ch]
19273                 - Add a "user_addresses" data member to the NMAccessPoint structure
19274                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19275                         the user_addresses data member
19276
19277         * src/NetworkManagerAPList.c
19278                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19279                         the AP's reported address
19280                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19281
19282         * src/NetworkManagerDHCP.c
19283                 - Increase DHCP timeout from 25s -> 30s
19284
19285         * src/NetworkManagerDbus.[ch]
19286                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19287                         user addresses
19288
19289         * src/NetworkManagerDevice.c
19290                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19291                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19292                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19293                         So, we take the card down to clear it out.
19294                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19295                         too, since that's where the user_addresses are
19296
19297         * src/NetworkManagerPolicy.c
19298                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19299                         that wireless networks' user_addresses list upon successful activation
19300
19301 2004-11-16  Dan Williams <dcbw@redhat.com>
19302
19303         * src/NetworkManagerDevice.[ch]
19304                 - (nm_device_clear_activation_fail): new function
19305
19306         * src/NetworkManagerPolicy.c
19307                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19308                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19309
19310 2004-11-16  Dan Williams <dcbw@redhat.com>
19311
19312         * src/NetworkManagerDevice.c
19313                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19314                         leak the structure, better updating of now_scanning status
19315                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19316
19317 2004-11-15  Dan Williams <dcbw@redhat.com>
19318
19319         Major rework of link detection code.  We now use DHCP
19320         as part of the link detection which proves to be much more robust,
19321         and also supports Open System authentication for wireless networks.
19322
19323         We no longer use external DHCP client programs.  Instead, we use 
19324         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19325         which was written by:
19326                 Yoichi Hariguchi <yoichi@fore.com>
19327                 Sergei Viznyuk <sv@phystech.com>
19328                 http://www.phystech.com/download/
19329         It resides in the "dhcpcd" directory and was refactored into a general
19330         purpose DHCP client library by me.
19331
19332         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19333         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19334
19335 2004-11-15  Dan Williams <dcbw@redhat.com>
19336
19337         Patch from Tom Parker <palfrey@tevp.net>:
19338
19339         * src/NetworkManagerDevice.c
19340                 - Less output to console when no access
19341                         points are found during a scan
19342
19343 2004-11-15  Dan Williams <dcbw@redhat.com>
19344
19345         Patch from Tom Parker <palfrey@tevp.net>:
19346
19347         * src/backends/interface_parser.c
19348                 - Use g_strdup ()
19349                 - Check for inp == NULL
19350                 - use syslog ()
19351
19352 2004-11-13  Colin Walters  <walters@redhat.com>
19353
19354         Patch from Tom Parker <palfrey@tevp.net>:
19355
19356         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19357         
19358         * src/backends/NetworkManagerRedHat.c: Switch to
19359         including shvar.h instead of shvar.c.
19360
19361         * src/backends/NetworkManagerDebian.c: Don't include
19362         interface_parser.c in source file.
19363
19364         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19365         and interface_parser.[ch].
19366         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19367         Include shvar.c and shvar.h here.
19368         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19369         interface_parser.c and interface_parser.h here.
19370
19371 2004-11-12  Colin Walters  <walters@redhat.com>
19372
19373         * configure.in: Strip out TARGET_DISTRO and
19374         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19375         conditionals.
19376
19377         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19378         (libnmbackend_la_SOURCES): Use Automake conditionals
19379         to add distro-specific files.
19380
19381         * initscript/Makefile.am (SUBDIRS): Update to
19382         use conditionals.
19383
19384 2004-11-12  Colin Walters  <walters@redhat.com>
19385
19386         Patches from j bootlab org
19387
19388         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19389         Add interface_parser.[ch].
19390
19391         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19392         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19393
19394 2004-11-12  Colin Walters  <walters@redhat.com>
19395
19396         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19397         call to nmi_dbus_is_running too, not necessary anymore.
19398         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19399         pick up exit().
19400
19401 2004-11-11  Colin Walters  <walters@verbum.org>
19402
19403         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19404         Delete.
19405         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19406         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19407         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19408         This avoids a race condition that made it pretty easily
19409         possible to get two NetworkManagerInfo daemons running.
19410
19411 2004-11-11  Colin Walters  <walters@verbum.org>
19412         
19413         * src/NetworkManager.c (main): Use daemon(3).
19414
19415         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19416
19417         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19418
19419 2004-11-10 Dan Williams <dcbw@redhat.com>
19420
19421         Patches from j bootlab org
19422         * src/NetworkManagerDevice.c
19423                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19424                         whether the card has a link or not, some cards are slow
19425                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19426
19427         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19428                 - Disable the "Login" button on the passphrase dialog until the user
19429                         enters a valid passphrase or key
19430
19431         Patches from Tom Parker <palfrey tevp net>
19432         * src/backends/NetworkManagerDebian.c
19433                 - Add static IP support to the debian backend
19434
19435         * src/backends/interface_parser.[ch]
19436                 - Parse debian interface config files
19437
19438 2004-11-08 Dan Williams <dcbw@redhat.com>
19439
19440         * src/NetworkManagerDevice.c
19441                 - Some random fprintf->syslog conversions
19442                 - (nm_device_wireless_network_exists): double-check for network
19443                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19444
19445         * src/NetworkManagerWireless.[ch]
19446                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19447                         so that the binary->ascii conversion works (if unsigned, the bitshift
19448                         will fill with zeros, which is what's required).  Also mask bitshift
19449                         result with 0xF for futher assurance.
19450
19451 2004-11-06 Dan Williams <dcbw@redhat.com>
19452
19453         * src/NetworkManagerUtils.c
19454                 - (nm_get_wireless_driver_support_level): default to
19455                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19456                         flip this when changing from whitelist->blacklist of
19457                         wireless drivers
19458
19459 2004-11-05 Dan Williams <dcbw@redhat.com>
19460
19461         Patch from Robert Paskowitz:
19462         * src/backends/NetworkManagerGentoo.c
19463                 - Update static IP config code
19464
19465 2004-11-05 Dan Williams <dcbw@redhat.com>
19466
19467         * info-daemon/NetworkManagerInfoDbus.c
19468           src/NetworkManagerDbus.[ch]
19469           src/NetworkManagerDevice.c
19470                 - Keep track of the # of attempts to get the WEP key
19471                         from the user and pass that along to the info daemon
19472
19473 2004-11-05 Dan Williams <dcbw@redhat.com>
19474
19475         * src/NetworkManagerUtils.c
19476                 - Blacklist wireless cards rather than whitelisting them.
19477                 - Grab driver name from HAL rather than trying to find it
19478                         ourselves.
19479
19480 2004-11-03 Dan Williams <dcbw@redhat.com>
19481
19482         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19483                 - Disable OK button until valid data is entered
19484                         for encryption stuff too
19485
19486         * panel-applet/NMWirelessApplet.c
19487                 - Report card strength for current AP if the card
19488                         doesn't report strength data for scanned access
19489                         points
19490
19491         * src/NetworkManagerDevice.c
19492                 - Smooth out cards reported quality, Atmel card was
19493                         intermittently reporting no quality data but soon
19494                         recovers
19495
19496         * src/NetworkManagerWireless.c
19497                 - Better quality data percentage calculation.  Atmel
19498                         cards (mine at least) seem to report the quality
19499                         in percentage format already, so honor that
19500
19501         Patch from <j@bootlab.org>
19502         * NetworkManager.h
19503           info-daemon/NetworkManagerInfoPassphraseDialog.c
19504           info-daemon/passphrase.glade
19505           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19506           panel-applet/essid.glade
19507           src/NetworkManagerAP.c
19508           src/NetworkManagerDevice.c
19509           src/NetworkManagerWireless.[ch]
19510                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19511
19512 2004-11-03 Dan Williams <dcbw@redhat.com>
19513
19514         * src/NetworkManagerDevice.[ch]
19515                 - (nm_device_set_enc_key): Add parameter to set Authentication
19516                         Mode (Open System, Shared Key, or None).  We're still using
19517                         Shared Key for now though.
19518
19519 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19520
19521         * panel-applet/menu-info.c: change from bold text to light
19522         colored, may cause problems with some themes, i've tested a lot
19523         and they seem fine. 
19524
19525         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19526
19527 2004-11-01  Colin Walters  <walters@verbum.org>
19528
19529         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19530         (nm_wireless_128bit_key_from_passphrase): Add const.
19531
19532         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19533         (nm_ap_set_enc_key_source): Add const.
19534         
19535 2004-11-01  Colin Walters  <walters@verbum.org>
19536
19537         * .cvsignore: Update.
19538
19539 2004-10-29 Dan Williams <dcbw@redhat.com>
19540
19541         * src/NetworkManagerDevice.c
19542                 - (nm_device_wireless_network_exists): Actually use the encryption
19543                         key we got from the applet when attempting to find a wireless network
19544                 - Don't bring devices down so much since on some cards it triggers
19545                         firmware hotplugs each time
19546
19547         * src/NetworkManagerDbus.c
19548                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19549                         from the caller
19550
19551 2004-10-29 Dan Williams <dcbw@redhat.com>
19552
19553         * src/NetworkManager.c
19554                 - (nm_hal_device_property_modified): unlock a locked active
19555                         wireless device when a wired connection gets a link.
19556                         (Means you'll switch to wired whenever you plug in no
19557                         matter what).
19558
19559 2004-10-29 Dan Williams <dcbw@redhat.com>
19560
19561         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19562                 - New files, implement the "Other wireless network" dialog
19563
19564         * panel-applet/NMWirelessApplet.c
19565                 - Move "other wireless network" dialog to separate file
19566
19567         * panel-applet/NMWirelessAppletDbus.[ch]
19568                 - Take key and key_type paramaters for the set_device function
19569
19570         * panel-applet/essid.glade
19571                 - Add UI bits for encryption settings
19572
19573         * src/NetworkManagerDbus.c
19574                 - Retrieve key and key_type params for "setActiveDevice" method call
19575                         and pass them on
19576                 - unref AP returned from nm_device_get_best_ap() when needed
19577
19578         * src/NetworkManagerDevice.c
19579                 - (nm_device_get_best_ap): ref the ap before returning it
19580                 - unref AP returned from nm_device_get_best_ap() when needed
19581                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19582                         need to call nm_device_get_best_ap() here, it was pretty much
19583                         redundant anyway
19584                 - (AP_NEED_KEY): break second link check condition out into separate
19585                         function, and fix segfault when ap->enc_key_source was NULL
19586                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19587                         pass them along to nm_device_wireless_network_exists().  If the
19588                         network does exist, set the passed-in key+key_type on the AP
19589
19590         * src/NetworkManagerPolicy.c
19591                 - unref AP returned from nm_device_get_best_ap() when needed
19592
19593 2004-10-28 Dan Williams <dcbw@redhat.com>
19594
19595         * src/NetworkManagerUtils.c
19596                 - (nm_spawn_process): Fix a potential dereference of NULL
19597
19598         Patches from Peter Jones:
19599
19600         * src/NetworkManagerDevice.c
19601                 - (nm_device_test_wireless_extensions): Better check for
19602                         wireless devices
19603
19604         * src/NetworkManagerUtils.c
19605                 - (nm_spawn_process): Pass in valid stdout and stderr so
19606                         executed programs don't randomly SIGPIPE and fail
19607                 - (nm_get_wired_driver_support_level): quash hal warning
19608                         when checking for USB ethernet device
19609
19610 2004-10-27 Dan Williams <dcbw@redhat.com>
19611
19612         * info-daemon/NetworkManagerInfo.c
19613           info-daemon/NetworkManagerInfoDbus.c
19614           info-daemon/NetworkManagerInfoPassphraseDialog.c
19615           panel-applet/NMWirelessApplet.c
19616                 - Properly escape gconf keys
19617
19618         * src/NetworkManager.c
19619                 - remove unused variables
19620
19621         * src/NetworkManagerAP.c
19622                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19623                         refcount since it got set in nm_ap_new()
19624
19625         * src/NetworkManagerAPList.c
19626                 - (nm_ap_list_combine): Give up ownership of newly created
19627                         access points to the ap list, fixes memleak
19628
19629         * src/NetworkManagerDevice.c
19630                 - Remove cached_ap_list4 member since its not really needed
19631                 - (nm_device_wireless_network_exists): Try to get correct
19632                         encryption status of a found AP if its already in our
19633                         device list
19634                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19635                         memory allocs/deallocs a bit clearer and shorter-lived
19636
19637 2004-10-26 Ray Strode <rstrode@redhat.com>
19638
19639         * panel-applet/NMWirelessApplet.c:
19640           (custom_essid_item_selected):  kill some compiler
19641         warnings 
19642
19643 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19644
19645         * info-daemon/NetworkManagerInfoDbus.c
19646                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19647                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19648
19649 2004-10-23 Dan Williams <dcbw@redhat.com>
19650
19651         * info-daemon/NetworkManagerInfoDbus.c
19652                 - Trap the "DeviceActivationFailed" signal
19653
19654         * docs/NetworkManager DBUS API.txt
19655                 - Add "DeviceActivationFailed" signal
19656
19657         * panel-applet/NMWirelessAppletDbus.c
19658                 - Quash the "NetworkManager service not available" message
19659
19660         * src/NetworkManagerDbus.[ch]
19661                 - Add the "DeviceActivationFailed" signal
19662
19663         * src/NetworkManagerDevice.c
19664                 - Add support for activation_failed flag
19665                 - Fix deadlock where activation thread didn't clean itself up, making
19666                         main thread still believe it was alive forever (didn't reset activation
19667                         flags like activating, just_activated, etc when IP configuration
19668                         failed)
19669
19670         * src/NetworkManagerPolicy.c
19671                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19672                         for wireless networks, try to fall back to some other access point
19673
19674 2004-10-23 Dan Williams <dcbw@redhat.com>
19675
19676         * panel-applet/NMWirelessApplet.[ch]
19677                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19678                         to the applet object, so we can get tooltips
19679                 - Add tooltips (RH #136866)
19680
19681         * src/NetworkManagerDevice.c
19682                 - When trying to find a wireless network, try to connect with encryption
19683                         turned on first, so that we can more accurately detect whether or not
19684                         we need to use encryption for the actual association later on
19685
19686 2004-10-21 Dan Williams <dcbw@redhat.com>
19687
19688         * Add some support for telling NetworkManagerInfo to tell the user
19689                 that they are using a device that's not fully supported
19690
19691         * Fix some assertions in debug messages due to null access point args
19692
19693 2004-10-21 Dan Williams <dcbw@redhat.com>
19694
19695         * src/NetworkManagerDevice.c
19696                 - Don't try to activate/bring up/down unsupported
19697                         devices
19698
19699         * src/NetworkManagerUtils.c
19700                 - Fix case of PCI ID checks for driver support levels
19701
19702 2004-10-21 Dan Williams <dcbw@redhat.com>
19703
19704         * NetworkManager.h
19705                 - New file, now contains commonly used structures and bits
19706                         for the dbus API of NetworkManager
19707
19708         * Makefile.am
19709                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19710
19711         * src/NetworkManager.h
19712                 - Rename -> src/NetworkManagerMain.c
19713
19714         * Various fixups all around to use NetworkManager.h and new
19715                 src/NetworkManagerMain.h, remove redundant bits that got
19716                 moved into NetworkManager.h
19717
19718         * src/NetworkManagerDevice.[ch]
19719           src/NetworkManagerUtils.[ch]
19720           src/NetworkManagerPolicy.c
19721           src/NetworkManagerDbus.c
19722                 - Whitelist wireless drivers, and blacklist some wired
19723                         drivers.  Also blacklist cipsec and ethernet-over-usb
19724                         devices at this time (RH #135722, RH #135648)
19725                 - Don't leak unsupported devices out over dbus, or allow
19726                         them to be set as the active device.  Skip over them
19727                         during automatic device picking
19728
19729         * test/nmclienttest.c
19730                 - Clean up the dbus code a lot
19731
19732 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19733
19734         * configure.in: post release bump.
19735
19736 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19737
19738         * configure.in:
19739         * NEWS: Released NetworkManager-0.3.1
19740
19741 2004-10-18 Dan Williams <dcbw@redhat.com>
19742
19743         Patches from Thom May:
19744         * test/nmtestdevices.c
19745                 - Include <string.h>
19746         * src/backends/NetworkManagerDebian.c:
19747                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19748                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19749                         Move to using g_strdup_printf rather than arbitrary buffers
19750                 - (nm_system_device_setup_static_ip4_config) Implement function.
19751                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19752
19753 2004-10-17 Dan Williams <dcbw@redhat.com>
19754
19755         * info-daemon/NetworkManagerInfoDbus.c
19756                 - Display name of network in the "network not found" dialog
19757
19758         * panel-applet/NMWirelessAppletDbus.c
19759                 - (nmwa_dbus_call_nm_method): new function replaces all other
19760                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19761                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19762                         consolidated into nmwa_dbus_get_object_name()
19763
19764 2004-10-15 Dan Williams <dcbw@redhat.com>
19765
19766         * src/NetworkManagerDbus.c
19767           info-daemon/NetworkManagerInfoDbus.c
19768                 - Display an error dialog when the user tries to use an
19769                         "Other wireless network" that's not found.
19770
19771 2004-10-15 Dan Williams <dcbw@redhat.com>
19772
19773         * panel-applet/NMWirelessApplet.[ch]
19774                 - Fix up corner cases in applet state, making it
19775                         look more responsive.  Change state to "connecting" when
19776                         the user is forcing a device too.
19777
19778 2004-10-15 Dan Williams <dcbw@redhat.com>
19779
19780         * src/NetworkManagerAPList.c
19781                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19782
19783         * src/NetworkManagerDbus.c
19784                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19785
19786         * src/NetworkManagerDevice.c
19787                 - Disown APs after the device's AP list takes ownership
19788
19789 2004-10-15 Dan Williams <dcbw@redhat.com>
19790
19791         * panel-applet/NMWirelessApplet.c
19792                 - Update our applet state from the GUI thread
19793
19794         * panel-applet/NMWirelessAppletDbus.c
19795                 - Greatly simplify the locking to make the GUI thread
19796                         smoother.  Update a private copy of the device list
19797                         and active device and only when done talking to
19798                         NetworkManager turn it over to the GUI thread.
19799
19800 2004-10-15 Dan Williams <dcbw@redhat.com>
19801
19802         * src/NetworkManagerAP.[ch]
19803                 - Add "artificial" get/set functions, set for APs that
19804                         aren't discovered as part of a scan but instead
19805                         discovered by force-setting the ESSID
19806
19807         * src/NetworkManagerDevice.[ch]
19808                 - (nm_device_wireless_network_exists): pass back whether
19809                         or not the discovered AP was encrypted.  Also, try
19810                         falling back to encrypted mode on the card if unencrypted
19811                         association doesn't work
19812                 - (nm_device_find_and_use_essid): If the network requested
19813                         did in fact exists, but it wasn't in our scan list, add
19814                         an "artificial" entry for it.  Some Cisco cards don't
19815                         see non-ESSID-broadcasting APs in their scan but can still
19816                         associate with them if you know the ESSID, this works around
19817                         that behavior
19818                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19819                         to scan if the card is currently associated with that AP
19820
19821 2004-10-15 Dan Williams <dcbw@redhat.com>
19822
19823         ---- We have a website ----
19824         http://people.redhat.com/dcbw/NetworkManager
19825
19826         Patch from Robert Paskowitz:
19827         * src/NetworkManager.c
19828                 - (main): Make sure we are run as root
19829         * src/NetworkManagerDevice.c
19830                 - Fix type in ad-hoc setting function
19831
19832         Patch from Thom May:
19833         * src/backends/NetworkManagerDebian.c
19834                 - Make Debian backend compile again
19835
19836 2004-10-14 Dan Williams <dcbw@redhat.com>
19837
19838         * Tagged NetworkManager-0_3
19839
19840 2004-10-14 Dan Williams <dcbw@redhat.com>
19841
19842         Patch from Robert Paskowitz:
19843         * NEWS
19844           src/NetworkManagerDevice.[ch]
19845           src/backends/NetworkManagerDebian.c
19846           src/backends/NetworkManagerGentoo.c
19847           src/backends/NetworkManagerRedHat.c
19848           src/backends/NetworkManagerSlackware.c
19849                 - Add support for grabbing and using a broadcast address
19850                         from system config files
19851                 - Some Gentoo backend fixes for grabbing network config
19852                 - Fix LOG_WARN->LOG_WARNING
19853
19854 2004-10-14 Dan Williams <dcbw@redhat.com>
19855
19856         * NEWS: a few small fixes in the credits
19857
19858 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19859
19860         * NEWS: prep for release.
19861
19862 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19863
19864         * panel-applet/NMWirelessAppletDbus.c
19865         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19866
19867 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19868
19869         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19870         applet->state == APPLET_STATE_NO_NM animation.
19871
19872         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19873         set the text correctly.
19874
19875 2004-10-14 Dan Williams <dcbw@redhat.com>
19876
19877         * src/NetworkManager.c
19878                 - Only accept and manager 802.3 and 802.11 devices
19879
19880         * src/NetworkManagerDbus.[ch]
19881                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19882                         logic into NetworkManagerDevice.c
19883                 - (nm_dbus_network_status_from_data): new function
19884                 - (nm_dbus_signal_network_status_change): new function, unused for now
19885                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19886
19887         * src/NetworkManagerDevice.[ch]
19888                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19889                         a random ESSID.
19890
19891 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19892
19893         * info-daemon/NetworkManagerInfo.c 
19894                 - (main): Added session management
19895
19896 2004-10-14 Dan Williams <dcbw@redhat.com>
19897
19898         * panel-applet/NMWirelessAppletDbus.[ch]
19899                 - Expose network_device_[un]ref()
19900                 - Expose wireless_network_[un]ref()
19901                 - (wireless_network_new_with_essid): new function, create and return
19902                         a wireless network with a particular essid
19903
19904         * panel-applet/NMWirelessApplet.c
19905                 - Hook up the "other network" dialog to do something
19906
19907 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19908
19909         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19910         doesn't work yet, but it looks okay.
19911
19912         * panel-applet/icons/*png: Resize to 22x22 and install in the
19913         right place.
19914
19915 2004-10-13 Dan Williams <dcbw@redhat.com>
19916
19917         * panel-applet/NMWirelessApplet.c
19918                 - Add function to print out applet_state in a readable
19919                         manner
19920
19921         * src/NetworkManager.c
19922                 - (main): Don't segfault when nm_dbus_init() fails, we had
19923                         a left-over call to hal_shutdown() into which we passed NULL
19924
19925         * src/NetworkManagerAP.c
19926                 - (nm_ap_set_essid): Allow NULL essids
19927
19928         * src/NetworkManagerAPList.[ch]
19929                 - More use of nm_ap_list_[un]lock ()
19930                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19931                         network/essid, just return nothing.  Also skip over NULL
19932                         essid access points in the list when searching
19933                 - (nm_ap_list_get_ap_by_address): new function
19934                 - (nm_ap_list_update_network): set the access point's key source to
19935                         NULL when the key returned from NetworkManagerInfo is NULL or
19936                         of 0 length
19937                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19938                         copy timestamp over too
19939                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19940                         find the correct ESSID for a blank-essid access point by searching
19941                         through another list and matching access point MAC addresses
19942                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19943
19944         * src/NetworkManagerDbus.c
19945                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19946                         may specify.  This is mainly for access points that don't
19947                         broadcast their essid.  So if the user tells us to associate with
19948                         some random ESSID that's not in our access point list, we find
19949                         out if the access point does in fact exist (by attempting association
19950                         and then matching that access point's MAC address with the essid the
19951                         user gave us) and then we switch to it.
19952                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19953                         to the returned list of networks for the "getNetworks" method
19954
19955         * src/NetworkManagerDevice.[ch]
19956                 - Extra debugging info for link detection
19957                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19958                         based on MAC address
19959                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19960                 - (nm_device_wireless_network_exists): new function, find out whether
19961                         a random ESSID exists by attempting to associate with it
19962                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19963                         device list as long as they have an AP MAC address we can use.
19964                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19965                         devices too.  Lets the applet update more frequently.
19966
19967         * src/backends/NetworkManagerGentoo.c
19968                 - Patch from: Robert Paskowitz
19969                         - Update backend code for Gentoo
19970                         - Implement nm_system_device_update_config_info ()
19971
19972         * test/nmclienttest.c
19973                 - (set_network_device): new function, takes a command-line argument
19974                         and tells NetworkManager to use that wireless network
19975
19976 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19977
19978         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19979         if the notification icon crashes 5 times within 5 seconds of each respawn 
19980
19981 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19982
19983         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19984         g_print.
19985
19986 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19987
19988         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19989
19990         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19991         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19992         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19993         Change the name of the icons.
19994
19995         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19996         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19997         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19998         (nm_menu_wireless_expose_event): Really bad hack to get the style
19999         to draw in the right color.
20000
20001 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20002
20003         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
20004         Notification if it crashes
20005
20006 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
20007
20008         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
20009         (nmwa_dbus_get_string): remove unused functions
20010
20011         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20012         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20013         remove unused functions
20014
20015         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20016
20017 2004-10-12 Dan Williams <dcbw@redhat.com>
20018
20019         * panel-applet/NMWirelessAppletDbus.c
20020                 - New functions:
20021                         wireless_network_new
20022                         wireless_network_copy
20023                         network_device_new
20024                         network_device_copy
20025
20026         * src/NetworkManagerDevice.[ch]
20027                 - New functions:
20028                         nm_device_set_mode_managed
20029                         nm_device_set_mode_adhoc
20030                 - Use these functions where appropriate
20031                 - When creating a new wireless device, force the card
20032                         to managed/Infrastructure mode as soon as possible
20033
20034 2004-10-12 Dan Williams <dcbw@redhat.com>
20035
20036         * src/NetworkManagerDevice.c
20037                 - Force wireless cards into Infrastructure mode before we use them
20038
20039 2004-10-12 Dan Williams <dcbw@redhat.com>
20040
20041         * TODO
20042                 - Remove bit about static IP address support
20043
20044         * src/NetworkManagerUtils.c
20045                 - (nm_spawn_process): Add some error reporting
20046
20047         * src/NetworkManagerDevice.c
20048                 - (nm_device_activation_configure_ip): hook up to the static config
20049                         routines in the backends
20050
20051         * src/backends/NetworkManagerRedHat.c
20052                 - (nm_system_device_update_config_info): use shvar.c routines to
20053                         parse the config file iformation, not our own
20054                 - (nm_system_device_setup_static_ip4_config): new function, based
20055                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20056                         with a static IP address and gateway
20057
20058         * src/backends/shvar.[ch]
20059                 - Parser (filched from initscripts package) for ifcfg-* files
20060
20061         * src/backends/NetworkManagerSystem.h
20062           src/backends/NetworkManagerGentoo.c
20063           src/backends/NetworkManagerDebian.c
20064           src/backends/NetworkManagerSlackware.c
20065                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20066
20067 2004-10-11 Dan Williams <dcbw@redhat.com>
20068
20069         * TODO
20070                 - Remove bit about more robust AP diffing since I just implemented it
20071
20072 2004-10-11 Dan Williams <dcbw@redhat.com>
20073
20074         * src/NetworkManagerAP.c
20075                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20076                         enough RAM to allocate new AP structures, but return NULL instead
20077
20078         * src/NetworkManagerAPList.[ch]
20079                 - (nm_ap_list_is_empty): new function
20080                 - (nm_ap_list_combine): new function, combine two access point lists
20081                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20082                         into another
20083
20084         * src/NetworkManagerDevice.[ch]
20085                 - Rename some functions to be clearer:
20086                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20087                         nm_device_just_activated     -> nm_device_is_just_activated
20088                         nm_device_activating         -> nm_device_is_activating
20089                         nm_device_now_scanning       -> nm_device_is_scanning
20090                 - Cache the last 4 scans so that the access point list is more stable.
20091                         We combine the lastest two scans and use that as the AP list,
20092                         and diff that combined list against the combination of the earliest
20093                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20094
20095 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20096
20097         * info-daemon/NWManagerInfo.h
20098                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20099
20100         * info-daemon/NWManagerInfoDbus.c
20101                 - (shutdown_callback): new function
20102                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20103                         if NetworkManager goes away.  Kill the timeout
20104                         if NetworkManager restarts before the 30 seconds
20105                         are up.
20106                 - (nmi_dbus_service_init): 
20107                         - call gtk_main_quit if NetworkManager is not running
20108                         - add filters to monitor dbus service creations and
20109                                 deletions
20110         
20111 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20112
20113         * panel-applet/NMWirelessApplet.c
20114                 - (nmwa_update_state): Hide notification icon if we are only
20115                         showing one wired card and no wireless interfaces 
20116                         (Red Hat Bug #134895)
20117
20118         * panel-applet/NMWirelessAppletDbus.c
20119                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20120
20121         * info-daemon/NWManagerInfo.c
20122                 - (main): Terminated the notification_icon_cmd array with a NULL
20123
20124 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20125
20126         * configure.in (ALL_LINGUAS): Added de (German).
20127
20128 2004-10-08 Dan Williams <dcbw@redaht.com>
20129
20130         * src/NetworkManagerDevice.c
20131                 - Be a bit more robust about link checking, ie make sure that
20132                         the WEP key we were given actually has some data in it
20133
20134 2004-10-08 Dan Williams <dcbw@redhat.com>
20135
20136         * info-daemon/NetworkManagerInfo.c (main):
20137                 - Initialize GError object to NULL
20138
20139 2004-10-08 Dan Williams <dcbw@redhat.com>
20140
20141         * panel-applet/NMWirelessAppletDbus.c
20142                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20143
20144 2004-10-08 Dan Williams <dcbw@redhat.com>
20145
20146         * info-daemon/NetworkManagerInfo.[ch]
20147           info-dameon/NetworkManagerInfoDbus.[ch]
20148           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20149                 - Preserve original label text in the passphrase dialog so that
20150                         it actually gets updated with the new network name the next
20151                         time around.  Previously, we were overwriting it so you'd get
20152                         the wrong network name to enter a key for
20153                 - Add a "Key Type" combo to the passphrase dialog, user selects
20154                         encryption key type now, type is stored in GConf too
20155                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20156
20157         * src/NetworkManagerAP.[ch]
20158                 - Remove all the encyption method magic.  It's now set by the user
20159                         and NetworkManager retrieves the type of encryption key from
20160                         NetworkManagerInfo
20161
20162         * src/NetworkManagerAPList.[ch]
20163           src/NetworkManagerDbus.[ch]
20164                 - Adjust to new way of setting encryption key and method
20165                 - Pull encryption method down from NMI along with key
20166
20167         * src/NetworkManagerDevice.[ch]
20168                 - Removed encryption method fallback magic as the method is now
20169                         determined by the user.  This greatly simplifies the connection
20170                         logic.
20171                 - More robust connection/link logic.  Besides removing the encryption
20172                         method fallback magic, check whether or not the card is receiving
20173                         invalidly encrypted packets, which usually indicates that we have
20174                         a bad WEP key set.
20175                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20176
20177         * test/nminfotest.c
20178                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20179
20180 2004-10-07 Dan Williams <dcbw@redhat.com>
20181
20182         * info-daemon/NetworkManagerInfo.conf
20183                 - Allow root user to run NMI too
20184
20185 2004-10-06 Dan Williams <dcbw@redhat.com>
20186
20187         * src/NetworkManagerDevice.[ch]
20188           src/NetworkManagerDbus.c
20189           doc/NetworkManager DBUS API.txt
20190                 - Add a new status tag "scanning", which is set when there
20191                         is no active network connection, but NetworkManager is
20192                         looking for an access point to associate with
20193
20194         * panel-applet/main.c
20195                 - Cast the applet appropriately for gtk_widget_show_all ()
20196
20197 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20198
20199         * panel-applet/eggtrayicon.[ch]:
20200         * panel-applet/main.c: Add missing file
20201
20202 2004-10-04 Dan Williams <dcbw@redhat.com>
20203
20204         * src/NetworkManagerDevice.[ch]
20205                 - Add a slightly more robust method of determining if the WEP key
20206                         is correct or not, by checking the WEP-discarded packet count
20207                         on the card
20208
20209         * info-daemon/NetworkManagerInfo.c
20210                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20211                         un-escape values we pull out rather than escaping them
20212
20213 2004-10-03  Marcel Telka  <marcel@telka.sk>
20214
20215         * configure.in (ALL_LINGUAS): Added sk.
20216
20217 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20218
20219         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20220         and feel.  We should be back to working, and have a good, clean
20221         look.
20222
20223 2004-09-30 Dan Williams <dcbw@redhat.com>
20224
20225         * info-daemon/NetworkManagerInfo.c
20226           info-daemon/NetworkManagerInfoDbus.c
20227           test/nminfotest.c
20228                 - Escape ESSIDs in gconf
20229
20230         * src/NetworkManagerDevice.c
20231                 - Fix pseudo-scanning to use netowrk list from info daemon
20232
20233 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20234
20235         * configure.in: Add a temporary --enable-notification-icon.  This
20236         will prolly go away.
20237
20238         * info-daemon/Makefile.am:
20239         * info-daemon/NetworkManagerInfo.c:
20240         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20241
20242         * panel-applet/Makefile.am:
20243         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20244         * panel-applet/NMWirelessApplet.h:
20245
20246 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20247
20248         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20249         before 'select custom ESSID'.
20250
20251         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20252         fully complete, but syncing in prep for merge.
20253
20254         * panel-applet/icons/*png: New images
20255
20256 2004-09-28 Dan Williams <dcbw@redhat.com>
20257
20258         * src/NetworkManager.c
20259           src/NetworkManagerDevice.c
20260           src/NetworkManagerPolicy.c
20261                 - Don't blow away an active wired connection on startup
20262
20263 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20264
20265         Changes from J5
20266         
20267         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20268
20269         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20270         syslog output
20271
20272 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20273
20274         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20275         have a wireless card.
20276
20277 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20278
20279         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20280         Also, get the right device strings.
20281
20282 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20283
20284         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20285         the logic to make this right.
20286
20287         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20288         devices so that wired networks are always first.
20289
20290 2004-09-22    <clarkbw@cvs.gnome.org>
20291
20292         * initscript/Debian/.cvsignore:
20293         * initscript/Slackware/.cvsignore:
20294         Added new cvsignores for Makefile, Makefile.in
20295         
20296         * test/.cvsignore:
20297         Added nmtestdevices
20298         
20299         * src/NetworkManagerDevice.c: 
20300         * src/NetworkManager.c: 
20301         Updated the wireless/wired HAL device strings from net.ethernet to
20302         net.80203 or net.80211 depending on wired or wireless respectively
20303         
20304         * examples/python/NetworkManager.py: 
20305         s/Quality/Strength/
20306
20307         * examples/python/systray/network_tray.py:
20308         Lots of little changes and fixes.  been rotting for a while so I
20309         figured I'd finally sync them all with CVS
20310
20311 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20312
20313         * configure.in: Add graphics
20314
20315         * panel-applet/Makefile.am: Add graphics
20316
20317         * panel-applet/icons/*: Add graphics
20318
20319         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20320         the icons fully lined up.
20321
20322         * panel-applet/menu-info.c: 
20323         * panel-applet/menu-info.h: Add another menu type.
20324
20325 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20326
20327         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20328
20329         * panel-applet/menu-item.[ch]: Wireless menu item.
20330
20331 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20332
20333         * info-daemon/NetworkManagerInfo.conf
20334                 - Created a more robust security policy for the DBus service
20335                         - everything is denied by default
20336                         - root can own and send to the service
20337                         - users logged in at the console can send to the service
20338
20339 2004-09-13  Dan Williams <dcbw@redhat.com>
20340
20341         * src/NetworkManagerDevice.c
20342                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20343                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20344                         the latter
20345
20346 2004-09-13  Dan Williams <dcbw@redhat.com>
20347
20348         * TODO: fix typo
20349
20350         * docs/NetworkManager DBUS API.txt
20351                 - Update for new signal strength changes
20352
20353         * panel-applet/NMWirelessApplet.c
20354                 - Make panel icon show strength of the current connection
20355                 - Cleanups and memleak fixes
20356
20357         * panel-applet/NMWirelessApplet.h
20358                 - Add data members for signal strength on devices and networks
20359
20360         * panel-applet/NMWirelessAppletDbus.c
20361                 - Free more DBusErrors
20362                 - Update for new signal strength changes
20363                 - Make devices and networks more like real objects, use ref/unref methods
20364                 - Actually unlock the mutex when updating the active device
20365
20366         * src/NetworkManagerAP.c
20367                 - Change AP functions and data members from "quality"->"strength"
20368
20369         * src/NetworkManagerDbus.c
20370                 - Kill "getMaxQuality" and "getQuality" methods
20371                 - Add "getStrength" methods for Networks and Devices
20372
20373         * src/NetworkManagerDevice.[ch]
20374                 - Add accessors for device strength
20375                 - Add functions to update strength for a device.  Note that not all drivers
20376                         actually support signal strength for scanned access points (Atmel drivers
20377                         being one)
20378                 - Calculate signal strength for each AP during scan
20379
20380         * src/NetworkManagerWireless.[ch]
20381                 - Add function to return signal strength % from a device and a raw quality struct
20382
20383         * test/nmclienttest.c
20384                 - Update for new signal strength changes
20385
20386 2004-09-11  Dan Williams <dcbw@redhat.com>
20387
20388         * src/NetworkManager.c
20389                 - Fix race condition between initscripts and NM on card insertion
20390                         which could cause a card to keep an IP address and routes around
20391                         even when it was not the active device
20392
20393         * src/NetworkManagerDbus.c
20394                 - Fix compile errors, free more DBusErrors
20395
20396 2004-09-11  Dan Williams <dcbw@redhat.com>
20397
20398         * docs/NetworkManager DBUS API.txt
20399                 - Add an explanation of NM's API
20400
20401         * src/NetworkManagerDbus.c
20402                 - Free some more DBusErrors if needed
20403
20404 2004-09-11  Dan Williams <dcbw@redhat.com>
20405
20406         * panel-applet/NMWirelessApplet.c
20407           panel-applet/NMWirelessAppletDbus.c
20408                 - Start using NetworkDevice/WirelessNetwork structures in more places
20409                 - Update for unified device/network forcing in NetworkManager
20410
20411         * src/NetworkManager.c
20412                 - some code consolidation
20413
20414         * src/NetworkManagerDbus.c
20415                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20416                         or two arguments:  the first is the NM ID of the device to switch to,
20417                         and the second (optional) argument is the ESSID of a wireless network
20418                         to use as well.
20419                 - Get rid of "setNetwork" method due to above change
20420
20421         * src/NetworkManagerDevice.c
20422                 - (nm_device_new): perform scan and update best AP on device creation
20423                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20424                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20425                         spin waiting for cancellation to finish before returning
20426
20427         * src/NetworkManagerPolicy.c
20428                 - Changes here clarify the situations in which a device switch occurs, and 
20429                         make sure to keep using a forced device and network if the user gives
20430                         us one
20431                 - Remove old unused code
20432
20433 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20434
20435         * configure.in: Added Danish (da) to ALL_LINGUAS.
20436
20437 2004-09-09  Dan Williams <dcbw@redhat.com>
20438
20439         * panel-applet/NMWirelessAppletDbus.c
20440                 - Pull fresh devices and networks from NM when wireless networks
20441                         change.  Provides faster feedback of a forced wireless network
20442
20443         * src/NetworkManagerDbus.c
20444                 - Return error when "getMaxQuality" is called on a wired device
20445                 - Make best_ap freezing actually work again, and signal cancellation
20446                         of activation if there's already a device activation when the user
20447                         freezes the best_ap
20448
20449         * src/NetworkManagerDevice.c
20450                 - Don't clear out the best_ap for wireless devices when the link goes
20451                         down, that's done elsewhere
20452                 - Kill any dhcp daemons when cancelling device activation since they
20453                         may be stuck waiting for a DHCP address, and since we're cancelling
20454                         activation we don't care about that anymore
20455
20456         * src/NetworkManagerPolicy.c
20457                 - Make sure to unref the device we ref earlier (we refed it to make sure
20458                         it stuck around during device activation and such)
20459                 - If we were going to change the best device, but its activating currently
20460                         (and therefore the change didn't occur due to the check earlier)
20461                         we mark the state changed to we come back to it later when device
20462                         activation has canceled and its no longer activating
20463
20464         * src/backends/NetworkManagerRedHat.c
20465                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20466
20467 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20468
20469         * info-daemon/passphrase.glade: 
20470         set passphrase input to activates_default : True
20471
20472         * examples/python/systray/network_tray.py
20473         (network_tray.sort_networks):
20474
20475         Added support for having wireless always scanning
20476
20477 2004-09-09  Dan Williams <dcbw@redhat.com>
20478
20479         NOTE: this commit changes the behavior of wireless devices in
20480         NetworkManager.  They are now up all the time, scanning all
20481         the time.  Only the active device has an IP address and routing
20482         information set up however.  Also, NetworkManager will no longer
20483         opportunistically switch wireless networks when a better one
20484         comes in range, it will remain associated with one wireless network
20485         until that one drops out.
20486
20487         * panel-applet/NMWirelessApplet.c
20488           panel-applet/NMWirelessAppletDbus.c
20489                 - List all wireless cards and their respective networks
20490
20491         * src/NMLoadModules
20492                 - Use full path to /sbin/ip
20493
20494         * src/NetworkManager.c
20495                 - Keep wireless devices up all the time so they can scan
20496
20497         * src/NetworkManagerDbus.c
20498                 - On a WirelessNetworkUpdate signal from NMI, don't update
20499                         the "best" AP
20500
20501         * src/NetworkManagerDevice.c
20502                 - (nm_device_set_link_active): clear out the best ap for
20503                         wireless devices when the link is set to FALSE
20504                 - Scan on all wireless cards, all the time
20505                 - (nm_device_activation_worker): split out the wireless card
20506                         link-waiting code to a separate function
20507                 - Keep wireless cards up even if device activation fails
20508                 - Don't update the "best" ap as much
20509
20510         * src/NetworkManagerPolicy.c
20511                 - Don't update the best ap when checking if its frozen,
20512                         let link checking clear out a frozen best ap for us
20513
20514         * src/NetworkManagerWireless.c
20515                 - Scan on all wireless cards, all the time
20516
20517 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20518
20519         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20520
20521 2004-09-09  Ankit Patel <ankit@redhat.com>
20522
20523         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20524
20525 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20526
20527         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20528
20529 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20530
20531         * examples/python/NetworkManager.py: 
20532         added CONNECTED, CONNECTING, and DISCONNECTED states
20533         added methods to return number of devices of a single type
20534
20535         * examples/python/systray/network_tray.py: 
20536         did some tweaks to get the menu looking near what it is supposed
20537         to look like.  Also did a Airo card hack to make it show the
20538         correct AP quality
20539
20540 2004-09-08  Dan Williams <dcbw@redhat.com>
20541
20542         * panel-applet/no-networkmanager.png
20543           panel-applet/Makefile.am
20544           panel-applet/NMWirelessApplet.c
20545                 - Add a "NetworkManager not running" icon and use it
20546                 - Use new consolidated GConf keys rather than Preferred/Trusted
20547
20548         * TODO: update
20549
20550         * info-daemon/NetworkManagerInfo.c
20551           info-daemon/NetworkManagerInfoDbus.[ch]
20552           info-daemon/NetworkManagerInfoPassphraseDialog.c
20553                 - There are now no longer two separate lists of wireless networks,
20554                         but one list where each network is "trusted" or not trusted
20555                 - Add a "getNetworkTrusted" dbus method
20556                 - "WirelessNetworkUpdate" signal now sent rather than
20557                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20558                 - Start freeing some dbus errors (not completed yet)
20559
20560         * info-daemon/passphrase.glade
20561                 - Remove the "don't show" hints for pager and taskbar
20562                 - Add a title since its going to be in the taskbar
20563
20564         * src/NetworkManager.[ch]
20565           src/NetworkManagerAPList.[ch]
20566                 - There are now no longer two separate lists of wireless networks,
20567                         but one list where each network is "trusted" or not trusted
20568
20569         * src/NetworkManagerAP.[ch]
20570                 - Add get/set "trusted" accessors and data bit
20571
20572         * src/NetworkManagerDbus.[ch]
20573                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20574                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20575
20576         * src/NetworkManagerDevice.[ch]
20577                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20578                 - (nm_device_new): Get device config from backend when initializing devices
20579                 - (nm_device_activation_worker): Split out device configuration on
20580                         activation to deal with static/dynamic IP differences, and try encryption
20581                         fallbacks on a device if the encryption method for the best AP is not good
20582                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20583                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20584
20585         * src/NetworkManagerWireless.c
20586                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20587
20588         * src/backends/NetworkManagerRedHat.c
20589           src/backends/NetworkManagerSystem.h
20590                 - (nm_system_device_update_config_info): Add function to get device configuration
20591                         from system data in ifcfg-* files
20592
20593         * src/backends/NetworkManagerDebian.c
20594           src/backends/NetworkManagerGentoo.c
20595           src/backends/NetworkManagerSlackware.c
20596                 - Add stub functions for getting device configuration
20597
20598 2004-09-07  Dan Williams <dcbw@redhat.com>
20599
20600         * src/backends/NetworkManagerRedhat.c
20601           src/backends/NetworkManagerSlackware.c
20602                 - Use full path to /sbin/ip everywhere
20603
20604 2004-09-07  Dan Williams <dcbw@redhat.com>
20605
20606         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20607
20608         * configure.in
20609           initscript/Makefile.am
20610           initscript/Slackware/Makfile.am
20611           initscript/Slackware/rc.networkmanager
20612           src/Makefile.am
20613           src/backends/NetworkManagerSlackware.c
20614                 - Add Slackware support
20615
20616 2004-09-07  Dan Williams <dcbw@redhat.com>
20617
20618         Patches below from:
20619                 <j@bootlab.org>
20620                 Mark Roach <mrroach@okmaybe.com>
20621                 Thom May <thom@debian.org>
20622
20623         * configure.in
20624           initscript/Debian/NetworkManager
20625           initscript/Debian/Makefile.am
20626                 - Initscript for Debian
20627
20628         * src/backends/NetworkManagerDebian.c
20629                 - Add missing system init function to allow compilation
20630                         on Debian
20631
20632 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20633
20634         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20635
20636 2004-09-03  Akagic Amila <bono@linux.org.ba>
20637
20638         * configure.in: Added 'bs' to ALL_LINGUAS.
20639
20640 2004-09-02  Colin Walters  <walters@verbum.org>
20641
20642         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20643         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20644         g_strdup_printf instead of arbitrarily sized buffers.
20645
20646 2004-09-01  Colin Walters  <walters@verbum.org>
20647
20648         * NetworkManager.pc.in: New file.
20649
20650         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20651
20652 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20653         
20654         * configure.in: Punjabi(pa) is added to po/.
20655
20656 2004-08-31  Dan Williams <dcbw@redhat.com>
20657
20658         * Remove 'debug' extern global from all files since we now
20659                 use syslog()
20660
20661         * src/NetworkManager.[ch]
20662                 - Break out routine that get the net.interface property from HAL,
20663                         removing that logic from nm_create_device_and_add_to_list()
20664                 - (nm_create_device_and_add_to_list): make this a bit more general so
20665                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20666                         the create of test devices.
20667                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20668                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20669                         which makes NetworkManager listen for dbus commands to create test
20670                         devices, which have no backing hardware.  Use when you're on a plane
20671                         for example, and/or forgot your wireless card at home.  Test devices
20672                         _cannot_ be created unless NM is started with --enable-test-devices.
20673
20674         * src/NetworkManagerDbus.[ch]
20675                 - New "getLinkActive" method for devices
20676                 - New "setLinkActive" method for devices (only works on test devices)
20677                 - New "createTestDevice" method on NetworkManager object to create a test
20678                         device of a specified type (ie wired, wireless).  UDI is created from
20679                         scratch, as is the interface name.  Only works when NM is started with
20680                         --enable-test-devices switch.
20681                 - New "removeTestDevice" method on NetworkManager object which removes a
20682                         test device.  Only works when NM is started with --enable-test-devices
20683
20684         * src/NetworkManagerDevice.[ch]
20685                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20686                         whether a device is a test device or not, and what its link status is.
20687                 - Deal with test devices in most functions.  For those that work directly on hardware
20688                         special-case test devices.
20689                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20690                         command-line.
20691                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20692                         checking to separate functions to facilitate test device link checking.
20693                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20694                         don't make a distinction between System Authentication and Encryption
20695                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20696                         on the card.  We don't deal with Shared Key auth yet.
20697                 - (nm_device_activation_worker): split the activation cancel check logic out into
20698                         a separate routine nm_device_activation_cancel_if_needed()
20699                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20700                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20701                         a list of fake access points that they can "see"
20702                 - (nm_device_is_test_device): return whether or not a device is a test device
20703
20704         * src/NetworkManagerPolicy.c
20705                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20706                         previously if you "locked"/forced NM to use a wireless device but then
20707                         selected a wireless network for NM to use, it would switch to a wired device.
20708                         So, if the active device is wireless and it has a "forced" best AP, use it
20709                         if the "forced" best AP is still valid
20710                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20711                         there were no usable network devices, or the last one was removed
20712
20713         * src/backends/NetworkManager*.c
20714                 - Deal with test devices, mostly just return success for operations like getting
20715                         a DHCP address
20716
20717         * test/nmtestdevices.c
20718                 - Test tool to create/remove/link-switch test devices
20719
20720 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20721
20722         * examples/python/NetworkManager.py: 
20723         added convience functions has_wired_device and has_wireless_device
20724
20725         * examples/python/systray/network_tray.py: 
20726         cleaned up a bunch of cruft, added support for listing wireless
20727         networks just like the real applet.  This is probably all I'm
20728         going to work on this applet from now on.
20729         TODO: add support for actually changing networks and devices
20730
20731         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20732         changed "nm.networks" into a dict from a list so I can store all
20733         the cool information about networks in there
20734
20735         * examples/python/systray/network_tray.py: 
20736         Added nice message when you try to run without running make first
20737
20738         * examples/python/NetworkManager.py: 
20739         Bug fixes to the code so we get all the device information
20740         that we need in get_device()
20741         
20742         * examples/python/NMTester.py: 
20743         Fixed _print_device_list to print_device_list
20744
20745 2004-08-29  Seth Nickell  <seth@gnome.org>
20746
20747         * configure.in:
20748
20749         Actually properly setup the Debian backend in configure.
20750         
20751 2004-08-29  Colin Walters  <walters@verbum.org>
20752
20753         * test/nminfotest.c: Include string.h and stdlib.h.
20754         (get_network_string_property, get_networks_of_type): Return NULL.
20755
20756         * test/nmclienttest.c (get_device_name, get_active_device): Return
20757         NULL.
20758
20759         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20760         use strlen, fgets always NULL-terminates the string.
20761
20762         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20763         dbus_message_get_member): Remove /* in comment.
20764
20765         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20766
20767         * src/NetworkManager.c (quit): Unused, delete.
20768         (nm_data_free): Cast arg to GFunc.
20769
20770         * panel-applet/NMWirelessAppletDbus.c: Need to include
20771         string.h, and dbus-glib-lowlevel.h (the latter is needed
20772         for dbus_connection_setup_with_g_main at present).
20773         (nmwa_dbus_update_wireless_network_list): Parenthesize
20774         assignment in conditional.
20775         (nmwa_dbus_worker): Return NULL.
20776
20777         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20778         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20779         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20780         (nmwa_populate_menu): Return NULL on failure, instead of just
20781         return;
20782
20783         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20784
20785         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20786         variables.
20787
20788         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20789         delete.
20790         
20791 2004-08-29  Colin Walters  <walters@verbum.org>
20792
20793         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20794         a GTimeVal instead of time_t.  This is easier to work with,
20795         since time_t may be a long or double, we don't know.
20796
20797         * src/NetworkManagerDbus.h: Update prototype.
20798         
20799         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20800         instead of time_t.
20801         (nm_ap_get_timestamp): Update to return GTimeVal.
20802         (nm_ap_set_timestamp): Update to take GTimeVal.
20803         
20804         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20805         to handle GTimeVal.
20806
20807         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20808         GTimeVal change.
20809         (nm_ap_list_print_members): Fix warnings in printf format.
20810
20811 2004-08-29  Colin Walters  <walters@verbum.org>
20812         
20813         * panel-applet/NMWirelessApplet.c: Include config.h.
20814
20815 2004-08-29  Colin Walters  <walters@verbum.org>
20816
20817         * configure.in: Generate config.h.
20818
20819         * configure.in: Dump dependency on OpenSSL; we can't
20820         use it since this package is GPL:
20821         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20822         Instead, check for libgcrypt, use it if available,
20823         otherwise use included MD5 code.
20824
20825         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20826         Suck in from gnome-keyring, munge a bit.
20827         
20828         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20829         gnome-keyring-md5.h gnome-keyring-md5.c.
20830         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20831
20832         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20833         libgcrypt or included gnome-keyring md5 bits.
20834         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20835
20836 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20837
20838         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20839
20840 2004-08-27  Bryan Clark  <bclark@redhat.com>
20841
20842         * examples/python/systray/Makefile: 
20843
20844         Updated the clean section
20845         
20846         * examples/python/systray/trayiconmodule.c: 
20847         * examples/python/systray/trayicon.override: 
20848         * examples/python/systray/network_tray.py: 
20849         * examples/python/systray/eggtrayicon.h: 
20850         * examples/python/systray/eggtrayicon.c: 
20851         * examples/python/systray/Makefile: 
20852         * examples/python/README: 
20853         * examples/python/NetworkManager.py: 
20854         * examples/python/NMTester.py: 
20855
20856         Initial commit of these python example files
20857
20858 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20859
20860         * panel-applet/NMWirelessApplet.c
20861                 - Make current device bold
20862                 - Show more user-friendly device name if we got one from hal
20863
20864         * panel-applet/NMWirelessAppletDbus.c
20865                 - Grab "info.product" key from hal for network devices
20866                 - Cache the current active device
20867
20868 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20869
20870         * configure.in: Added en_CA to ALL_LINGUAS.
20871
20872 2004-08-27  Christian Rose  <menthos@menthos.com>
20873
20874         * configure.in: Added "sv" to ALL_LINGUAS.
20875
20876 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20877
20878         * Tag NetworkManager-0.2
20879
20880 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20881
20882         * initscripts/Makefile.am
20883         * configure.in: Make pass distcheck
20884
20885         * po/ChangeLog: added
20886
20887 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20888
20889         * panel-applet/NMWirelessApplet.c
20890                 - Remove debugging code
20891                 - Enable device switching from menus
20892
20893         * panel-applet/NMWirelessAppletDbus.[ch]
20894                 - Method for asking NM to switch devices
20895
20896         * src/NetworkManagerDevice.c
20897                 - Set dev->activating earlier, avoids race between
20898                         the dbus signal of "DeviceActivating" and setting
20899                         dev->activating (which is what NM's "status" method call
20900                         looks at)
20901
20902 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20903
20904         * panel-applet/NMWirelessApplet.[ch]
20905                 - Rework menu code to add devices to menu, and to show
20906                         signal strength for each access point.  Code cleanups
20907                         too.
20908
20909         * panel-applet/NMWirelessAppletDbus.c
20910                 - Grab network devices from NetworkManager too
20911                 - Grab quality information from NM for wireless networks
20912
20913         * src/NetworkManagerDbus.[ch]
20914                 - Add dbus methods for getting the HAL UDI from a device and
20915                         for getting its base quality, if its wireless
20916                 - Consolidate some functions (wireless network notifications,
20917                         device notifications)
20918                 - Add method for requesting NM to use a particular device
20919
20920         * src/NetworkManager.c
20921                 - Change for function consolidations from NetworkManagerDbus.c
20922                 - Implement active device locking and user-requested devices
20923                         (ie, tell NM to use a particular device instead of the one
20924                         it autochose)
20925
20926         * src/NetworkManagerDevice.c
20927                 - Add method for getting the base quality of a device, if its
20928                         wireless
20929                 - Grab device base quailty info from iwlib during scans
20930
20931         * src/NetworkManagerPolicy.c
20932                 - Use a user-requested device rather than the auto-chosen device
20933                         if we are told to
20934
20935 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20936
20937         * Makefile.am: add po as a supdir
20938
20939         * autogen.sh: use gnome-autogen.sh
20940
20941         * initscript/Gentoo/.cvsignore:
20942         * initscript/RedHat/.cvsignore: Shut up cvs
20943
20944         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20945
20946         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20947         (nmwa_fill): Use gettext.
20948
20949         * configure.in: add gettext support
20950         * po/.cvsignore:
20951         * po/NetworkManager.pot:
20952         * po/POTFILES.in:
20953
20954 2004-08-26  Seth Nickell  <seth@gnome.org>
20955
20956         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20957         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20958         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20959         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20960         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20961         * panel-applet/NMWirelessApplet.h:
20962
20963         Use a menu bar instead of a button for the main clickable
20964         thingy.
20965         
20966 2004-08-25  Dan Williams <dcbw@redhat.com>
20967
20968         * src/NetworkManagerDevice.c
20969                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20970                         turning encryption off, because the Cisco driver doesn't associate
20971                         with WEP-enabled access points unless we are in "open"
20972
20973 2004-08-25  Dan Williams <dcbw@redhat.com>
20974
20975         * src/NetworkManagerWireless.c
20976                 - Don't try to defererence blank passphrases
20977
20978 2004-08-25  Dan Williams <dcbw@redhat.com>
20979
20980         * panel-applet/NMWirelessApplet.c
20981                 - Rebuild the menu whenever a user clicks
20982
20983 2004-08-25  Dan Williams <dcbw@redhat.com>
20984
20985         * panel-applet/NMWirelessApplet.c
20986                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20987                         when NM isn't around or when its not connected
20988
20989         * src/NetworkManagerDevice.c
20990                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20991                         canceled.
20992
20993 2004-08-25  Dan Williams <dcbw@redhat.com>
20994
20995         * panel-applet/NMWirelessAppletDbus.c
20996                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20997                         for getting encryption, and don't stop on "val" once we've gotten it
20998                         from NetworkManager.  Short form:  encryption should now show up.
20999
21000 2004-08-25  Dan Williams <dcbw@redhat.com>
21001
21002         * panel-applet/NMWirelessApplet.c
21003                 - Set ESSID on a gconf trusted network too when force-setting the wireless
21004                         network to associate with
21005
21006 2004-08-25  Dan Williams <dcbw@redhat.com>
21007
21008         * panel-applet/*
21009                 - Rework the panel applet to do all DBUS communication in a separate
21010                         thread
21011
21012 2004-08-25  Dan Williams <dcbw@redhat.com>
21013
21014         * info-daemon/NetworkManagerInfo.[ch]
21015                 - Remove "get_next_priority" function
21016
21017         * info-daemon/NetworkManagerInfoDbus.[ch]
21018                 - Convert "priority" functions to "timestamp"
21019
21020 2004-08-25  Dan Williams <dcbw@redhat.com>
21021
21022         * src/NetworkManagerAP.[ch]
21023                 - Add a "enc_method_good" member and accessors to an Access Point
21024                         to signal when we've found the correct encryption method
21025                         for an access point
21026                 - Add a "timestamp" member and accessors, remove "priority" member
21027                         and accessors (use timestamps instead)
21028                 - Rename "wep_key"->"enc_key"
21029                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21030                         for a specified encryption method using the access points
21031                         source encryption key/passphrase
21032
21033         * src/NetworkManagerAPList.c
21034                 - When updating a network with dbus, grab timestamp now instead of
21035                         priority
21036
21037         * src/NetworkManagerDBus.[ch]
21038                 - Add signal for "DeviceActivating"
21039                 - Switch priority->timestamp
21040
21041         * src/NetworkManagerDevice.c
21042                 - Change references of "wep_key" -> "enc_key" or "key"
21043                 - Signal DeviceActivating when starting activation
21044                 - When activating a wireless device, if the access point we are connecting
21045                         to is encrypted, and we have a source key, try to generate a mangled
21046                         key and use that (ie, generate real WEP key from a passphrase)
21047                 - Rework device activation to fallback to other encryption methods if
21048                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21049                         first, then if that doesn't work fall back to direct hex key).
21050                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21051                         priority.  We now prefer the latest access point used, rather than using
21052                         a priority scheme
21053                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21054                         points we've just discovered, and merge in correct info from the global
21055                         access point lists
21056
21057 2004-08-25  Seth Nickell  <seth@gnome.org>
21058
21059         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21060         Debian support.
21061         
21062         * src/Makefile.am:
21063         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21064         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21065         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21066         (nm_system_delete_default_route),
21067         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21068         (nm_system_load_device_modules):
21069
21070 2004-08-24  Dan Willemsen <dan@willemsen.us>
21071
21072         * src/NetworkManager.c
21073           src/backends/NetworkManagerGentoo.c
21074           src/backends/NetworkManagerRedHat.c
21075           src/backends/NetworkManagerSystem.h
21076                 - Implement preliminary Gentoo support, adding a
21077                         nm_system_init function to the backend specification
21078
21079         * configure.in
21080                 - Distribution auto-detection, lowercase any user-fed
21081                         distribution names
21082
21083         * initscript/.cvsignore
21084           initscript/Makefile.am
21085           initscript/RedHat/Makefile.am
21086           initscript/RedHat/NetworkManager
21087           initscript/Gentoo/Makefile.am
21088           initscript/Gentoo/NetworkManager
21089                 - Refactored initscript code separately for each
21090                         distribution
21091
21092 2004-08-23  Dan Williams <dcbw@redhat.com>
21093
21094         * configure.in
21095           src/Makefile.am
21096           src/NetworkManagerDevice.c
21097           src/NetworkManager.c
21098           src/NetworkManagerUtils.[ch]
21099           src/backends/NetworkManagerSystem.h
21100           src/backends/NetworkManagerRedHat.c
21101           src/backends/NetworkManagerGentoo.c
21102                 - Refactor system-specific code into separate backends for
21103                         each distribution
21104
21105 2004-08-23  Dan Willemsen <dan@willemsen.us>
21106
21107         * dispatcher-daemon/NetworkManagerDispatcher.c
21108           info-daemon/NetworkManagerInfo.[ch]
21109           info-daemon/NetworkManagerInfoDbus.c
21110           info-daemon/NetworkManagerInfoPassphraseDialog.c
21111           src/NetworkManager.c
21112           src/NetworkManagerAP.c
21113           src/NetworkManagerAPList.c
21114           src/NetworkManagerDbus.c
21115           src/NetworkManagerDevice.c
21116           src/NetworkManagerPolicy.c
21117           src/NetworkManagerUtils.[ch]
21118           src/NetworkManagerWireless.c
21119                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21120
21121         * src/NetworkManager.c
21122                 - Fixed usage wording for --no-daemon
21123
21124 2004-08-23  Dan Williams <dcbw@redhat.com>
21125
21126         * panel-applet/NMWirelessApplet.c
21127                 - Update our state every second to get more responsive panel icon
21128                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21129                         was causing our marching ants status blips to never move when
21130                         looking for a wireless network
21131
21132         * src/NetworkManagerDevice.c
21133                 - (nm_device_activation_begin): return if activation has already begun
21134                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21135                         trusted/preferred network into the device's access point when the
21136                         scan list is processed
21137
21138 2004-08-23  Dan Williams <dcbw@redhat.com>
21139
21140         * initscript/NetworkManager
21141                 - Use NMLaunchHelper rather than sleeping
21142
21143         * initscript/NMLaunchHelper.c
21144           Makefile.am
21145                 - Add helper program that exits only when NM activates a device,
21146                         or 10 seconds have passed, whichever happens first.  This
21147                         stops the boot processes until we have a network connection,
21148                         which NM can't do because it daemonizes and brings the connection
21149                         up in the background.  Allows stuff like NFS to not die.
21150
21151 2004-08-20  Dan Williams <dcbw@redhat.com>
21152
21153         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21154                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21155                         for a network, set the essid as well since it may not exist yet
21156                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21157                         since WEP keys/passphrases are long and prone to entry-error
21158
21159         * panel-applet/Makefile.am
21160           panel-applet/wired.png
21161                 - Add (pulled from system-config-network temporarily)
21162
21163         * panel-applet/NMWirelessApplet.[ch]
21164                 - Show wired picture when a wired connection is used
21165                 - Rename wireless icon enums, adding WIRELESS
21166
21167         * src/NetworkManagerDevice.c
21168                 - (nm_device_activate_wireless): unset encryption before bringing
21169                         down the card and setting the essid
21170                 - (nm_device_activatin_worker): request a key from the user if the
21171                         AP we are connecting to is encrypted but we don't have a key
21172                         for it yet
21173                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21174                         strcmp() that prevented a user-entered key from actually getting
21175                         used
21176
21177 2004-08-16  Dan Williams <dcbw@redhat.com>
21178
21179         * initscript/NetworkManager
21180                 - Check for /sbin/ip
21181                 - Do sysctl magic that network service does
21182                 - sleep 4s after start to allow network time to come up [hack]
21183
21184         * src/Makefile.am
21185           src/NMLoadModules
21186                 - Load all network device kernel modules (hal doesn't know devices
21187                         are ethernet until the module is loaded, and therefore we don't know)
21188
21189         * src/NetworkManager.c
21190                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21191                         network devices, and bring up the loopback device explicitly
21192
21193         * src/NetworkManagerUtils.[ch]
21194                 - (nm_enable_loopback): new function
21195
21196 2004-08-13  Dan Williams <dcbw@redhat.com>
21197
21198         * configure.in
21199           panel-applet/Makefile.am
21200                 - Fix up cleanfiles and server_DATA/server_in_files
21201
21202         * README
21203                 - Update with some comments on theory of operation
21204
21205         * CONTRIBUTING
21206           Makefile.am
21207                 - Add CONTRIBUTING
21208
21209 2004-08-12  Dan Williams <dcbw@redhat.com>
21210
21211         * info-daemon/passphrase.glade
21212                 - Set window title to " "
21213
21214         * panel-applet/Makefile.am
21215           panel-applet/keyring.png
21216                 - Deliver to correct place
21217
21218         * panel-applet/NMWirelessApplet.[ch]
21219                 - Add comments
21220                 - Remove applet->have_active_device as its no longer used
21221                 - (nmwa_load_theme): load keyring.png too
21222                 - (error_dialog): remove
21223                 - (show_warning_dialog): subsume functionality of error dialog too
21224                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21225                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21226                         the networks menu
21227                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21228                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21229                         and when we get broadcasts of changed wireless access points only, not when the
21230                         user clicks on the button to display the menu (too long of a wait)
21231                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21232                         networks that are encrypted
21233                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21234                         menu item with g_object_set_data()
21235
21236         * panel-applet/NMWirelessAppletDbus.[ch]
21237                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21238                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21239                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21240                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21241                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21242                         activation/deactivation signals and rebuild the menu when they happen
21243
21244         * src/NetworkManager.c
21245                 - (main): use new nm_spawn_process() rather than system()
21246
21247         * src/NetworkManagerDbus.c
21248                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21249                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21250                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21251                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21252                         to freeze the best_ap.
21253
21254         * src/NetworkManagerDevice.[ch]
21255                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21256                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21257                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21258                         ap list
21259
21260         * src/NetworkManagerUtils.[ch]
21261                 - (nm_spawn_process): add replacement for system() usage
21262
21263 2004-08-11  Dan Williams <dcbw@redhat.com>
21264
21265         * panel-applet/NMWirelessApplet.[ch]
21266                 - Fix up copyright and credits to include Bastien and Eskil,
21267                         who created the gnome-applets wireless applet, from whose
21268                         skeleton this one was created
21269                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21270                         pixmap to draw is computed during nmwa_update_state()
21271                 - Applet now shows itself all the time due to panel packing issues
21272                         which caused the applet to previously never come back after hiding.
21273                         When a wired device is the active device, the applet shows "not connected"
21274
21275         * panel-applet/NMWirelessAppletDbus.[ch]
21276                 - Clean up error messages and show what function they are from
21277                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21278                 - Add new device type getters, and a status getter
21279
21280         * src/NetworkManagerDbus.c
21281                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21282                         network is actually in the device's ap list
21283                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21284
21285         * src/NetworkManagerDevice.c
21286                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21287                         card
21288
21289         * test/nmclienttest.c
21290                 - Report status of NetworkManager too
21291
21292 2004-08-11  Dan Williams <dcbw@redhat.com>
21293
21294         * info-daemon/NetworkManagerInfo.c:
21295                 - (main): clean up Seth's code style
21296
21297         * info-daemon/NetworkManagerInfoDbus.c:
21298                 - Use the more aptly-named path/service/interface constants from NetworkManager
21299                 - Don't return empty strings ("") as object paths ever, instead return errors
21300
21301         * panel-applet/NMWirelessApplet.c:
21302                 - Clean up Seth's code style
21303
21304         * src/NetworkManager.[ch]
21305                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21306                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21307
21308         * src/NetworkManagerAPList.[ch]
21309                 - Move Iter struct right above the iter functions to preserve opacity
21310                 - (nm_ap_list_remove_ap): implement
21311                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21312                         remove AP if NetworkManagerInfo doesn't know anything about it
21313                 - (nm_ap_list_diff): user NMAPList iterators
21314                 - (nm_ap_list_print_members): implement debugging function
21315
21316         * src/NetworkManagerDbus.[ch]
21317                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21318                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21319                         and move the actual key setting stuff into NetworkManagerDevice.c
21320                 - (nm_dbus_get_network_priority): return -1 now on errors
21321                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21322                         get lost, and force the active device to update its "best" ap when AP lists change
21323                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21324                         method call due to pending_device member removal
21325
21326         * src/NetworkManagerDevice.[ch]
21327                 - Move NMDevice structure to the top
21328                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21329                 - Remove Pending Action stuff from everywhere
21330                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21331                         activation for us.  This thread blocks until all conditions for activation have
21332                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21333                         then setup up the interface and runs dhclient.  We have to do this because there
21334                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21335                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21336                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21337                         can tell nm_device_activation_worker() that we've got a key
21338                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21339                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21340                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21341                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21342
21343         * src/NetworkManagerPolicy.c
21344                 - Remove anything to do with pending_device
21345                 - Adjust device activation to deal with activation-in-worker-thread
21346
21347         * src/NetworkManagerUtils.c
21348                 - Clean up locking debugging a bit
21349
21350         * src/NetworkManagerWireless.[ch]
21351                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21352                         was badly named and is better as a device function
21353
21354         * panel-applet/.cvsignore: add
21355
21356 2004-08-09  Seth Nickell  <seth@gnome.org>
21357
21358         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21359         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21360         (nmwa_new):
21361         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21362
21363         Don't load the menus until clicked on (also removes a call outside
21364         normal code paths at first load).
21365
21366         Hide applet when NM is not present.
21367         
21368         Improve printf debugging stuff.
21369         
21370 2004-08-09  Dan Williams <dcbw@redhat.com>
21371
21372         * dispatcher-daemon/NetworkManagerDispatcher.c:
21373                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21374                 - Use constants for NetworkManager interface, service, and path
21375
21376 2004-08-09  Dan Williams <dcbw@redhat.com>
21377
21378         * src/NetworkManagerDbus.c:
21379                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21380                         instead return an error message
21381                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21382                         on a wired device.  Also never return an empty object path, instead return an error message
21383
21384 2004-08-06  Seth Nickell  <seth@gnome.org>
21385
21386         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21387
21388         Check the error code when getting a connection.
21389         
21390         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21391
21392         Check if the NM service exists when initializing (rather than
21393         assuming it does not).
21394         
21395         * src/NetworkManagerDbus.c: (nm_dbus_init):
21396
21397         Don't acquire the well-known service name until we have
21398         registered object/path handlers and can actually receive
21399         calls.
21400         
21401 2004-08-06  Dan Williams <dcbw@redhat.com>
21402
21403         * panel-applet/*
21404                 - Add panel applet
21405
21406         * src/NetworkManagerPolicy.c
21407           src/NetworkManager.c
21408                 - Get access point lists from NetworkManagerInfo on-demand,
21409                         and look for ServiceCreate/ServiceDeleted signals to see when
21410                         we should query NMI for lists
21411         * src/NetworkManagerAPList.c
21412                 - Make sure to init the list's mutex
21413                 - Convert traversals of the list over to the list iter functions
21414
21415         * src/NetworkManagerDbus.[ch]
21416                 - Use more aptly-named path/service/interface constants
21417                 - Treat both active and pending devices the same for "getActiveDevice"
21418                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21419
21420         * src/NetworkManagerDevice.c
21421                 - Honor "ignored" network list when picking best ap to use
21422
21423 2004-08-06  Seth Nickell  <seth@gnome.org>
21424
21425         * aclocal.m4:
21426
21427         Autogenerated, remove from CVS.
21428         
21429         * autogen.sh:
21430
21431         Don't hardcode automake version.
21432         
21433         * configure.in:
21434         * info-daemon/Makefile.am:
21435         * info-daemon/NetworkManagerInfo.c: (main):
21436
21437         Use GnomeProgram et al. for doing session management.
21438         Use popt stuff for argument parsing rather than doing
21439         it manugally.
21440         
21441 2004-08-05  Dan Williams <dcbw@redhat.com>
21442
21443         * test/nminfotest.c
21444                 - Update to new NMI dbus API, check different network types
21445
21446         * info-daemon/NetworkManagerInfoDbus.c
21447                 - Update to new NM dbus API, ie network type sent in query message
21448
21449 2004-08-05  Dan Williams <dcbw@redhat.com>
21450
21451         * An assload of changes
21452
21453 2004-08-02  Dan Williams <dcbw@redhat.com>
21454
21455         * TODO
21456                 - new task: proper logging support
21457
21458         * info-daemon/NetworkManagerInfo.c
21459                 - Correct spelling of "canceled"
21460                 - Correct casting of objects for g_signal_connect()
21461
21462         * info-daemon/NetworkManagerInfoDbus.c
21463                 - Add defines for NetworkManager namespace and object path, and use them
21464                 - Add filter function to trap new signals from NetworkManager:
21465                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21466
21467         * info-daemon/passphrase.glade
21468                 - Change name of "ok" button to "Login to Network..."
21469                 - Mark invisible
21470
21471         * src/NetworkManager.c
21472                 - Code and debug message cleanups
21473                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21474                 - (nm_add_initial_devices) Check returned string array of devices
21475                         and don't try to add devices if array is NULL
21476                 - (main) Initialize libhal a bit later, make code a bit clearer
21477
21478         * src/NetworkManagerAP.[ch]
21479                 - New accessor and data member "matched": used to speed up AP list
21480                         diffing
21481                 - New accessor and data member "enc_method": will be used during key
21482                         fallback to cache which passphrase->key conversion actually works
21483                         so we don't have to do it every time
21484
21485         * src/NetworkManagerAPList.[ch]
21486                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21487                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21488                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21489                         dbus in response to those differences
21490
21491         * src/NetworkManagerDbus.[ch]
21492                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21493                         make an object path for that access point (NOTE that we don't yet check to
21494                         make sure that access point is actually in the device's AP list yet)
21495                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21496                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21497                         New: signal appearance/disappearance of wireless networks
21498                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21499                         key entry
21500
21501         * src/NetworkManagerDevice.[ch]
21502                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21503                 - (nm_device_ap_list_get) New: return the AP list (static function)
21504                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21505                         new one resulting from the scan with the old one
21506
21507         * src/NetworkManagerWireless.c
21508                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21509
21510         * test/nminfotest.c
21511                 - #define object paths and namespaces and use the #defines rather than static strings
21512                 - Test out user-key functionality of NetworkManagerInfo too
21513
21514 2004-07-29  Dan Williams <dcbw@redhat.com>
21515
21516         * info-daemon/NetworkManagerInfoDbus.c
21517           src/NetworkManagerDbus.c
21518                 - Update to current DBus (ie don't use decomposed paths when registering
21519                         object paths/fallbacks)
21520
21521 2004-07-27  Dan Williams <dcbw@redhat.com>
21522
21523         * Remove various Makefile.in files
21524
21525         * TODO
21526                 - Add some more items
21527
21528         * configure.in
21529                 - Add checks for OpenSSL/md5 headers and libs
21530
21531         * src/Makefile.am
21532                 - Use OpenSSL CFLAGS
21533
21534         * src/NetworkManagerAP.[ch]
21535                 - Remove 'stamp' functions, replace with 'invalid' functions
21536                         to support user cancelling WEP key entry
21537
21538         * src/NetworkManagerDbus.c
21539                 - Remove 'stamp' return functions
21540                 - Treat returned user key as a passphrase and convert to a WEP key,
21541                         but don't actually use the WEP key yet.  We use the returned user
21542                         key as a hexadecimal WEP key until we can figure out a UI for
21543                         passphrase-vs-hex key
21544
21545         * src/NetworkManagerWireless.[ch]
21546                 - Add passphrase-to-128bit-key function
21547
21548 2004-07-27  Dan Williams <dcbw@redhat.com>
21549
21550         * TODO
21551                 - Add a couple of items
21552
21553 2004-07-27  Dan Williams <dcbw@redhat.com>
21554
21555         * info-daemon/NetworkManagerInfo.c
21556                 - Update allowed network's GConf key when user enters a WEP key explicitly
21557
21558         * info-daemon/NetworkManagerDbus.c
21559                 - Fix some comments
21560                 - nmi_dbus_get_allowed_networks(): kill warning
21561
21562 2004-07-27  Dan Williams <dcbw@redhat.com>
21563
21564         * initscript/Makefile.in
21565                 - Remove
21566
21567         * initscript/Makefile.am
21568                 - Add correct rules to install the init.d initscript
21569
21570         * info-daemon/NetworkManagerInfoDbus.c
21571                 - Remove debug fprintf
21572
21573         * src/NetworkManagerDbus.[ch]
21574                 - Remove debug fprintfs
21575                 - Add macros for NetworkManagerInfo object path/namespace
21576                 - Use said macros instead of constant strings
21577
21578 2004-07-27  Dan Williams <dcbw@redhat.com>
21579
21580         * initscript/.cvsignore
21581                 - Add
21582
21583         * info-daemon/Makefile.am
21584                 - Install .glade files and keyring.png
21585                 - Fix stupid omission of a \ that caused half the flags not to be
21586                         passed to gcc
21587
21588         * info-daemon/NetworkManagerInfo.c
21589                 - gtk_signal_connect->g_signal_connect
21590                 - Alert NetworkManagerInfo to new glade file location
21591
21592 2004-07-27  Dan Williams <dcbw@redhat.com>
21593
21594         * test/nmclienttest.c
21595           test/nminfotest.c
21596                 - Add missing <dbus/dbus.h> headers
21597                 - Add GPL message at top
21598
21599 2004-07-27  Dan Williams <dcbw@redhat.com>
21600
21601         * src/NetworkManagerAPList.[ch]
21602           src/Makefile.am
21603                 - Add.  Deal with allowed network list additions, deletions, and updates
21604
21605         * dispatcher-daemon/NetworkManagerDispatcher.c
21606                 - Add missing <dbus/dbus.h> header
21607
21608         * info-daemon/NetworkManagerInfo.[ch]
21609                 - Add missing <dbus/dbus.h> header
21610                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21611                         network change
21612                 - Better error checking
21613
21614         * info-daemon/NetworkManagerInfoDbus.[ch]
21615                 - Add missing <dbus/dbus.h> header
21616                 - Convert to using dbus_message_append_args/dbus_message_get_args
21617                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21618                         that an allowed network changed.  We don't want to signal on individual
21619                         keys _inside_ an allowed network really, just want NM to query the info
21620                         daemon for updated info on all keys.
21621                 - Better error checking
21622
21623         * src/NetworkManager.[ch]
21624                 - Add missing <dbus/dbus.h> header
21625                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21626                 - Zero out NMData structure on free
21627                 - No longer use a thread for allowed_ap_list updating, instead its now done
21628                         through dbus queries against NetworkManagerInfo
21629                 - Populate allowed_ap_list initially before adding existing network devices
21630                         to the device list, so wireless devices can get their "best" AP
21631
21632         * src/NetworkManagerDbus.[ch]
21633                 - Convert to using dbus_message_append_args/dbus_message_get_args
21634                 - Better error checking
21635                 - Implement Allowed Network info functions to request allowed network
21636                         info from NetworkManagerInfo
21637                 - Implement the filter function to process signals from NetworkManagerInfo
21638                         about changing allowed networks
21639
21640         * src/NetworkManagerDevice.c
21641                 - Fix file descriptor leak in nm_device_update_ip4_address()
21642
21643 2004-07-27  Dan Williams <dcbw@redhat.com>
21644
21645         * .cvsignore
21646           src/.cvsignore
21647           test/.cvsignore
21648           dispatcher-daemon/.cvsignore
21649           info-daemon/.cvsignore
21650                 - Add .cvsignore files to reduce noise when diffing
21651
21652 2004-07-24  Dan Williams <dcbw@redhat.com>
21653
21654         * src/NetworkManager.[ch]
21655           src/NetworkManagerDbus.[ch]
21656           src/NetworkManagerDevice.[ch]
21657           src/NetworkManagerPolicy.c
21658           src/NetworkManagerWireless.[ch]
21659                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21660                 - Pass the NMData application data structure through all calls
21661                         that need it so we can get rid of nm_get_global_data()
21662                 - Change deallocation of the allowed_ap_list GSList in preparation
21663                         for not completely clearing it every time we get an update,
21664                         but instead getting incremental updates via GConf/dbus
21665
21666 2004-07-22  Dan Williams <dcbw@redhat.com>
21667
21668         * configure.in
21669                 - Add checks for GConf libs & headers & flags
21670
21671         * info-daemon/Makefile.am
21672                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21673
21674         * info-daemon/NetworkManagerInfo.[ch]
21675                 - Don't use gquarks for data storage, just use normal data storage
21676                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21677
21678         * info-daemon/NetworkManagerDbus.[ch]
21679                 - Add method call for getting allowed networks
21680                 - Add method calls for getting an allowed network's essid, priority, and key
21681                 - Hook the method calls up to GConf
21682                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21683                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21684                 
21685         * src/NetworkManagerDbus.[ch]
21686                 - Switch for enumeration of networks to using essid instead
21687
21688         * test/Makefile.am
21689           test/nminfotest.c
21690                 - Add test program for NetworkManagerInfo
21691
21692 2004-07-19  Dan Williams <dcbw@redhat.com>
21693
21694         * src/NetworkManagerDbus.c
21695                 - Switch from indexed device paths to names.  Less code, more efficient.
21696                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21697
21698 2004-07-19  Dan Williams <dcbw@redhat.com>
21699
21700         * dispatcher-daemon/NetworkManagerDispatcher.c
21701                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21702
21703 2004-07-19  Dan Williams <dcbw@redhat.com>
21704
21705         * Makefile.am
21706                 - Add info-daemon directory
21707
21708         * configure.in
21709                 - Check for glade libs and headers
21710                 - Add info-daemon directory
21711
21712         * src/NetworkManagerAP.c
21713                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21714                         copied over to the new AP.
21715
21716         * src/NetworkManagerDbus.c
21717           src/NetworkManagerDbus.h
21718                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21719                 - Remove nm_dbus_signal_need_key_for_network()
21720                 - Add disabled code for asynchronous user wep key callbacks
21721                 - Add functions for getting, setting, and cancelling user key operations
21722                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21723                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21724
21725         * src/NetworkManagerDevice.c
21726           src/NetworkManagerDevice.h
21727                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21728                         logic is in device activation now
21729                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21730                         key is wrong) trigger get-user-key pending action
21731                 - Implement get-user-key pending action stuff, tie to dbus messages
21732                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21733                 - Add nm_device_ap_list_get_ap_by_essid()
21734                 - Instead of copying "best" access points, ref them instead so that the key we set
21735                         sticks around
21736
21737         * src/NetworkManagerPolicy.c
21738                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21739                 - Don't cancel pending actions on a device if its the same device as last iteration
21740                 - Only promote pending_device->active_device if activation was successfull
21741
21742         * src/Makefile.am
21743                 - Rename nmclienttest->nmtest
21744
21745         * info-daemon/Makefile.am
21746           info-daemon/NetworkManagerInfo.c
21747           info-daemon/NetworkManagerInfo.h
21748           info-daemon/NetworkManagerInfoDbus.c
21749           info-daemon/NetworkManagerInfoDbus.h
21750           info-daemon/passphrase.glade
21751           info-daemon/NetworkManagerInfo.conf
21752           info-daemon/keyring.png
21753                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21754                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21755                         lists to NetworkManager by proxying user's GConf
21756           
21757
21758 2004-07-15  Dan Williams <dcbw@redhat.com>
21759
21760         * src/Makefile.am
21761                 - Turn on warnings
21762
21763         * src/NetworkManager.c
21764                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21765                         that doing the deactivation ourselves
21766                 - Cancel an pending actions on a device if its being removed
21767                 - Break up link state checking a bit, make non-active wireless cards
21768                         deactivated to save power
21769                 - Remove unused variables
21770
21771         * src/NetworkManager.h
21772                 - Add support for "pending" device
21773
21774         * src/NetworkManagerAP.h
21775           src/NetworkManagerAP.c
21776                 - Add support for determining whether and AP has encryption enabled or not
21777                 - AP address is now "struct ether_addr" rather than a string
21778
21779         * src/NetworkManagerDbus.h
21780           src/NetworkManagerDbus.c
21781                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21782                 - Changes for AP address from struct ether_addr->string
21783
21784         * src/NetworkManagerDevice.h
21785           src/NetworkManagerDevice.c
21786                 - Remove unused variables, fix warnings
21787                 - Add support for Pending Actions (things that block a device from being "active"
21788                         until they are completed).
21789                 - First pending action:  Get a WEP key from the user
21790                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21791                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21792                 - Update wireless link checking to try to determine if the AP we are associated
21793                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21794                         trigger the GetUserKey pending action on the device
21795                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21796                         up in that case, otherwise we can't scan or link-check on it
21797                 - Add IP address change notifications at appropriate points (still needs some work)
21798                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21799
21800         * src/NetworkManagerPolicy.h
21801           src/NetworkManagerPolicy.c
21802                 - Split out "best" access point determiniation into separate function
21803                 - Make device activation 2-stage:  first the device is pending, then
21804                         in the next iteration through it becomes "active" unless it has
21805                         pending actions
21806
21807         * src/NetworkManagerUtils.h
21808           src/NetworkManagerUtils.c
21809                 - Clean up unused variables and warnings
21810                 - Wrap our debug macros in {} to prevent possible confusion
21811
21812         * src/NetworkManagerWireless.c
21813                 - Forgot to return current best priority, which lead to last available AP always
21814                         being chosen no matter what its priority was.  Corrected.
21815
21816 2004-07-15  Dan Williams <dcbw@redhat.com>
21817
21818         * dispatcher-daemon/Makefile.am
21819                 - Turn on warnings
21820
21821         * dispatcher-daemon/NetworkManagerDispatcher.c
21822                 - Remove unused variables due to warnings
21823                 - Fix some comments
21824                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21825
21826 2004-07-06  Dan Williams <dcbw@redhat.com>
21827
21828         * src/NetworkManager.c
21829                 - Add IPv4 address update for active device during link state check
21830                 - Don't allow wireless cards to be powered up when they are not the
21831                         active device
21832
21833         * src/NetworkManagerDbus.c
21834           src/NetworkManagerDbus.h
21835                 - Add DBUS IPv4 address change signal
21836                 - Add DBUS IPv4 address get method for devices
21837
21838         * src/NetworkManagerDevice.c
21839                 - Make setting the WEP key actually work
21840                 - Move IP address get/set/update stuff here, per-device
21841                 - Power down/bring down wireless device when deactivated
21842                 - For scanning wireless devices, if first scan returned ENODATA, try again
21843
21844         * src/NetworkManagerPolicy.c
21845                 - Only set the WEP key for an allowed access point if there is one.
21846                         We were setting it to be blank if one wasn't specified.
21847
21848         * src/NetworkManagerUtils.h
21849           src/NetworkManagerUtils.c
21850                 - Move the IP address stuff to NetworkManagerDevice.c
21851
21852         * dispatcher-daemon/NetworkManagerDispatcher.c
21853                 - Add device IPv4 address change notification stuff
21854
21855 2004-07-05  Dan Williams <dcbw@redhat.com>
21856
21857         * dispatcher-daemon/NetworkManagerDispatcher.c
21858                 - A bit more descriptive state message
21859                 - Don't segfault when reading directory
21860
21861         * src/NetworkManager.h
21862                 - Remove NMData desired_ap member, its now
21863                         per-device rather than global
21864
21865         * src/NetworkManager.c
21866                 - Remove references to desired_ap
21867                 - Move the allowed AP list refresh stuff into a thread
21868
21869         * src/NetworkManagerDevice.c
21870           src/NetworkManagerDevice.h
21871                 - Each wireless device now has a "best ap"
21872                 - Make device activate/deactivate functions per-device
21873                 - Make wireless scanning per-device
21874                 - Add IPv4 address discover functions, stub IPv6 ones
21875                 - Move ethernet address validation functions to NetworkManagerUtils.c
21876                 - Add wireless access point accessor function
21877                 - Get/Set functions for "best ap"
21878
21879         * src/NetworkManagerPolicy.c
21880                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21881                 - Deal with per-device "best ap" rather than data->desired_apa
21882                 - Implement allowed access point worker thread
21883                 - Add nm_policy_essid_is_allowed() function
21884
21885         * src/NetworkManagerUtils.c
21886           src/NetworkManagerUtils.h
21887                 - Add nm_ethernet_address_is_valid() function
21888                 - Add IPv4/IPv6 address get functions
21889
21890         * src/NetworkManagerWireless.c
21891           src/NetworkManagerWireless.h
21892                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21893
21894 2004-06-29  Dan Williams <dcbw@redhat.com>
21895
21896         * dispatcher-daemon/NetworkManagerDispatcher.c
21897                 - Implement script callout functionality
21898
21899 2004-06-24  Dan Williams <dcbw@redhat.com>
21900
21901         * NetworkManager.c
21902             - Spacing cleanups
21903             - Flush device routes and ip addresses when added to the device list
21904
21905         * NetworkManagerDbus.c
21906             - Spacing cleanups
21907             - Add missing returns in the two signal functions
21908         
21909         * NetworkManagerPolicy.c
21910             - Spacing and variable cleanups
21911
21912 2004-06-24  Dan Williams <dcbw@redhat.com>
21913
21914         * Makefile.am
21915           Makefile.in
21916           configure.in
21917           dispatcher-daemon/Makefile.am
21918           dispatcher-daemon/Makefile.in
21919           dispatcher-daemon/NetworkManagerDispatcher.c
21920             - Add a daemon that receives signals from NetworkManager
21921                         and will (eventually) call scripts in /etc/somewhere
21922                         when devices go up or down.
21923         
21924         * NetworkManager.c
21925             - Spacing cleanups
21926             - Flush device routes and ip addresses when added to the device list
21927
21928         * NetworkManagerDbus.c
21929             - Spacing cleanups
21930             - Add missing returns in the two signal functions
21931         
21932         * NetworkManagerPolicy.c
21933             - Spacing and variable cleanups
21934             - Rename nm_policy_switch_interface->nm_policy_switch_device
21935             - nm_policy_switch_device():
21936                                 Use kill (pid) instead of system ("kill <pid>")
21937             - nm_state_modification_monitor():
21938                                 Add wireless essid to output of debug statements
21939                                 Correct typo in device compare to switch or not (should be !=)
21940                                 Don't sleep after sending "no longer active" signal, was useless
21941
21942 2004-06-24  Dan Williams <dcbw@redhat.com>
21943
21944         * Initial import